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
Copy file name to clipboardExpand all lines: paper.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,13 +53,13 @@ The package facilitates the creation of interactive exercises and demonstrations
53
53
Students are asked to provide pedagogically meaningful contributions in terms of theoretical understanding, coding ability, and analytical skills.
54
54
The library provides the tools to connect custom pre- and post-processing of students' code, which runs seamlessly "behind the scenes", with the ability to test and verify the solution, as well as to convert it into live interactive visualizations driven by Jupyter widgets.
55
55
56
-
# Statement of Need
56
+
# Statement of need
57
57
58
58
This work introduces scicode-widgets, an open-source Python library that transforms Jupyter notebooks into interactive, self-contained learning applications. By hiding boilerplate code behind a clean widget interface, it allows students to focus on core physics concepts, algorithms, and data analysis with instant visual feedback. The widget configuration is fully implemented in Python, enabling flexible creation of diverse teaching exercises—particularly valuable for the research community, given Python’s widespread use in academic, educational, and research settings.
59
59
60
60
We demonstrate its educational value through a ridge regression exercise that combines interactive code input, real-time controls, and automated visual feedback supported by a color-coded cue system. Used in one undergraduate course at EPFL (MSE-305), the tool has already supported nearly 100 students and received highly positive feedback.
61
61
62
-
# Introduction
62
+
# State of the field
63
63
64
64
Jupyter notebooks [@jupyter] have been used extensively for the creation
65
65
of educational contents, with applications in
@@ -286,7 +286,7 @@ corresponding plot provides students with direct feedback (and the
286
286
instructor can further hint at certain relationships in subsequent
287
287
questions).
288
288
289
-
# Technical challenges and solutions
289
+
# Software design
290
290
291
291
`scicode-widgets` depends on several external libraries that implement
292
292
the widgets used as components in the applications. In addition to the
@@ -376,7 +376,7 @@ extensively within a unit test framework, using the package
376
376
interactions (e.g. typing on the keyboard or clicking with the mouse)
377
377
via the web browser, and test the graphical output of the application.
378
378
379
-
# Conclusion
379
+
# Research impact statement
380
380
381
381
In this work, we presented how an interactive widget application that
382
382
combines a coding environment and visualization can be used to provide
@@ -405,6 +405,11 @@ figure is available on Zenodo [@supplementary-code]. The notebooks used
405
405
in the MSE-305 course are distributed in a dedicated
406
406
repository [@iam-notebooks].
407
407
408
+
# AI usage disclosure
409
+
410
+
No AI tools were used for the development of the package `scicode-widgets`
411
+
or to write this manuscript.
412
+
408
413
# Acknowledgements
409
414
410
415
We acknowledge financial support from the EPFL Open Science Fund via the
0 commit comments