This idea comes from rustlings, a tutorial with many small exercises that are corrected by pre-made tests.
Our exercises could also be made such that the code the student writes needs to produce a certain output that passes a test rather than the student themselves checking the result against a piece of text.
This would require writing tests for all exercises and integrating them into the notebooks in some nice way.
How would this work for session 3? How does one test for plots? The only way I have seen so far is to test that a plot has been made, but that is not what we need.
This idea comes from rustlings, a tutorial with many small exercises that are corrected by pre-made tests. Our exercises could also be made such that the code the student writes needs to produce a certain output that passes a test rather than the student themselves checking the result against a piece of text.
This would require writing tests for all exercises and integrating them into the notebooks in some nice way.