Grading in Codebench
Getting an assignment to work on
To fetch a copy of your assignment- If you don't already have Jupyterhub open, click on the "Jupyter" or "Code" button in the main Codebench web page.
- Pull down the "Nbgrader" menu from the menu bar at the top left of the Jupyterhub window.
- Choose "Assignment list"
- You'll now see screen that lists assignments, with several sections
- In "Released assignments", find the assignment you want to work on
- Click on the "Fetch" button to the far right of the assignment name
- The assignment will now show in the section "Downloaded assignments."
- Click on the name in Downloaded assignments.
- You'll see one or more notebook files
- Click on a notebook file to open it
- You can now work on that notebook. Follow the instructions there
If you mess up an assignment and want a fresh copy, see Fetching a new copy, below.
To submit an assignment
When you have finished the assignment, you'll submit the notebooks included with it. The work you submit will be items you've filled in in the notebook, with possible additional files.- If you don't already have Jupyterhub open, click on the "Jupyter" or "Code" button in the main Codebench web page.
- Pull down the "Nbgrader" menu from the menu bar at the top left of the Jupyterhub window
- Choose "Assignment list"
- You'll now see screen that lists assignments, with several sections
- In "Downloaded assignments", find the assignment you want to submit.
- Click the "Submit" button to the far right of the assignment name.
- It should now show in the section "Submitted assignments".
- There will be a delay, during which the "Submit" button will change to "Submitting." During this time, it is uploading your assignment to codepost.io for grading.
- If the submission fails, you'll get a popup giving a reason. If codepost.io is temporarily unavailable your submissino will be queued. The system will retry automatically. It will send you email when your submission is finally accepted or rejected. (This email only happens if the original submission couldn't be done because codepost.io was unavailable.)
You can submit more than once. The most recent submission will be sent to codepost and graded.
You can check your submission by looking at the file browser in the left section of the page. There should be a folder named submissions. Inside it you'll see a folder named by your course name, e.g. "cs439." Inside it is a list of assignments. This will show your most recent submission for that assignment. The submission won't show here until it has actually been accepted by codepost.
Fetching a new copy
If you mess up your assignment, you can get a new copy. But first you'll have to get the old copy of the way.
The easiest approch is to rename it:
- In the pane on the left of your Jupyterhub window there's a file browser. Normally it will show csXXX and shared , although csXXX may be missing if you haven't fetched an assignment yet.
- Click on csXXX to open that folder. You should now see the assignment you want to get again.
- Use the right mouse on the assignment to bring up a menu. Select "rename"
- In the rename dialog give the assignment a different name
- Now you can fetch your assignment again, following the normal instructions.