possee-org / genai-numpy

MIT License
4 stars 6 forks source link

BUG: Example Checker won't accept multiline inputs. But neither does refguide_check.py --doctests #42

Closed bmwoodruff closed 2 weeks ago

bmwoodruff commented 2 weeks ago

The current version of example-checker.ipynb does not allow multi-line inputs for code. It currently parses commands one line at a time and does not support a command that needed to be put on two lines. This is a bug.

However, while running python tools/refguide_check.py --doctests, I found out that this doesn't matter much, as the doctest checker has the same issue. So if you decide to fix the bug in the example checker, I'm guessing a similar fix could improve tools/refguide_check.py. The developers are planning to move to a new doctest tool soon.