Feedback template using Python + ipywidgets

Feedback template using Python + ipywidgets#

Background

In some courses I give students feedback on their reports. The task usually contains criteria that can be clearly expressed as individual criteria, e.g., Figures are introduced in text and have captions or There is no unused code in your program. These are then complemented with individual feedback.

I find it convenient to have an interactive form that can automatically generate the general feedback for each submission. I created one with Python notebooks and interact function.

In the following you see a Jupyter environment embedded in a frame. You can change the notebook below and then download your notebook by right-clicking on the file in the file browser and selecting Download.

If the view below is too small, then open it standalone: Right click on an empty part of this frame, e.g., just right of the Help menu button, to open a browser page option menu and then find the action to open it in a new window. For example in Firefox This Frame -> Show only this frame.

The notebook below uses JupyterLite which runs Python locally using Javascript instead of running on a remote server. My website serves only JupyterLite and the code is run on your browser.

If you want to use JupyterLite in future, then I recommend you to bookmark https://jupyter.org/try-jupyter/lab/, which will probably more up-to-date. Hosting JupyterLite on my website provides the following advantages:

  • the user can try my notebook on the same page.

  • I can prepare an environment which ships the libraries that are not available in the standard library.