Bad example task
Is incorrect because a + b won't necessarily raise a ValueError just because the input wasn't int. str + str for example wouldn't raise.
Add isinstance checks.
The sample task should also not be limited to the function but include the Dynexite instantiation logic in the file docstring.