AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Cal coderunner3/15/2023 One of the things that concerns me about CodeRunner is what happens if we want to assess students on code that requires packages (either python packages, or operating system packages they call on) that are preinstalled as part of the computing environment we give students? I don’t know if CodeRunner can be tweaked to run against such kernels, or otherwise patched to become a Jupyter client? I think I’d originally hassled for this to be installed in a demo server when Tim Hunt had originally mentioned it to me, though part of me wishes I hadn’t! The plugin adds simple code testing to Moodle quizzes, so students can enter code which is then executed and checked against a test.Īs to why I don’t like it: I think that because we have Moodle CodeRunner installed, it will act as a blocker to exploring any ways in which we might look at code runners that run using Jupyter protocols against Jupyter kernels. One other code related thing we have running in Moodle is Moodle CodeRunner. That was blocked, presumably on grounds of complexity, available project time/resource and maybe also security… ipynb to be uploaded and then rendered back to users of OpenStudio using nbviewer. The original proposal was for an OpenStudio plugin architecture that would allow. A crude notebook extension provides a toolbar button to create the `.nbk` package that uses `nbconvert html_embed` filter to generate the html. The OpenStudio plugin requires users to upload a zip file with an `.nbk` suffix that contains the notebook `.ipynb` file and an HTML export view of it (the html view can be a bit ropey eg if the notebook has run output cells that originally contained IFrames). OpenDesign Studio, which allows students to upload and comment on media objects, has a plugin that allows students to upload and view Jupyter notebooks as a media asset. I was reminded of another weak integration we have with OU learning environments and Jupyter notebooks in a reply posting to the Moodle forums by Mark Johnson on Moodle integration with Jupyter notebooks. This uses some sort of Moodle plugin for adding the secret token, I think? (Note to self: find out how this works and what the Moodle plugin is! Rod….?!) We have an auth hack for running temporary notebooks via Jupyterhub in which students who are logged in to the Moodle VLE are presented with a URL containing a secret than can be used to log them in to a notebook launching Jupyterhub server running on Azure/Kubernetes. ![]() ![]() The comment also prompted me to look around for other Moodle’n’Jupyter integrations. So now I’m wondering – might the SageCell filter for Moodle provide a basis for a Thebelab filter for Moodle? It also strikes me that ScriptedForms provide another possible way of accessing Jupyter/python executable code from a frame embed. as described in Using ThebeLab to Run Python Code Embedded in HTML Via A Jupyter Kernel), which will connect all the cells in a web page to the same Jupyter kernel, and as such allow state to be shared between them. This contrasts with approaches such as Thebelab (e.g. Via a comment, Ger Tielemans alerted me to the SageCell filter for Moodle that lets you embed an executable code cell powered by Sage Cell Server, which was also new to me, in a Moodle content page.įrom what I can tell, Sage Cell Server provides a stateless was of executing SageMath, R or Python code.
0 Comments
Read More
Leave a Reply. |