I have a jupyterhub with nbgrader. I want to implement a timer addon that automatically…
- User
I have a jupyterhub with nbgrader. I want to implement a timer addon that automatically submits an assignment at a specific time
Assistant
Here is one way to implement an auto-submit timer for nbgrader on JupyterHub:
- Create a bash script that uses the
nbgrader autogradeandnbgrader feedbackcommands to autograde assignments and give feedback at a specific time. For example:
bash#!/bin/bash # Autograde and give feedback at 2PM every day while sleep 86400; do currtime=$(date +%H%M) if [ "$currtime" == "1400" ]; then nbgrader autograde --create nbgrader feedback students fi done- Create a bash script that uses the
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.