The example-checker.ipynb has problems supressing type information. Instead of displaying 0.0, it will display np.float64(0.0). Part of the issue was to format arrays properly, but in doing so we now get all kinds of extra type information being displayed.
It would be nice if the example checker could automate supressing type information, while still maintaining a nice clean format for arrays. One option might be array2string, which I tried with little success when first creating the checker. It needs more work. For now, you have to remove the extra type information, which is a bit better than trying to properly format output and smashing the space bar.
The
example-checker.ipynbhas problems supressing type information. Instead of displaying0.0, it will displaynp.float64(0.0). Part of the issue was to format arrays properly, but in doing so we now get all kinds of extra type information being displayed.It would be nice if the example checker could automate supressing type information, while still maintaining a nice clean format for arrays. One option might be
array2string, which I tried with little success when first creating the checker. It needs more work. For now, you have to remove the extra type information, which is a bit better than trying to properly format output and smashing the space bar.