You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am interested in creating coding exercises as part of a text book and I'm trying to explore if jupyterlite can be used for this purpose. The criteria I have in mind are the following:
Can run some type of tests on the submitted code, whether that is a full autograder package like otter or just hidden assert statements from a file
Can provide/display feedback based on what is wrong in the code (ie which test fails) and the correct solution
I'm imagining something like this:
That screenshot is from https://github.com/ines/course-starter-python which seems to not be actively maintained any longer, and I would prefer to use a more established framework such as Jupyter Book or Quarto together with something like JupyterLite for the textbook.
To what extent is something like this currently achievable with JupyterLite (e.g. can I show a REPL and have tests run each time click a submit button) and would this type of component be considered in scope for the project and likely to see development in the future or is it something that needs to happen more on the JupyterBook/Quarto side of things?
The text was updated successfully, but these errors were encountered:
joelostblom
changed the title
Support testing code and displaying feedback or interactive coding exercises
Support testing code and displaying feedback for interactive coding exercises
Mar 1, 2024
Currently there is no mention of thebe in the documentation. But having a guide for showing how to do this (or linking to the thebe repo) would be a great addition.
Thanks @jtpio ! I opened executablebooks/thebe#736 suggesting that an example of this is added to the thebe-light docs. I'm a bit unsure where to get started myself at this ponit
Currently there is no mention of thebe in the documentation. But having a guide for showing how to do this (or linking to the thebe repo) would be a great addition.
I meant there is no mention in the JupyterLite documentation. But the thebe docs might have some pointers.
I am interested in creating coding exercises as part of a text book and I'm trying to explore if jupyterlite can be used for this purpose. The criteria I have in mind are the following:
I'm imagining something like this:
That screenshot is from https://github.com/ines/course-starter-python which seems to not be actively maintained any longer, and I would prefer to use a more established framework such as Jupyter Book or Quarto together with something like JupyterLite for the textbook.
To what extent is something like this currently achievable with JupyterLite (e.g. can I show a REPL and have tests run each time click a submit button) and would this type of component be considered in scope for the project and likely to see development in the future or is it something that needs to happen more on the JupyterBook/Quarto side of things?
The text was updated successfully, but these errors were encountered: