Skip to content

Bad example task

https://git-ce.rwth-aachen.de/maurice.herne/dynx-template/-/blob/master/src/dynx_template/addition.py?ref_type=heads#L8

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.