LibreTexts / ngshare

nbgrader sharing service
https://ngshare.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
16 stars 16 forks source link

Documentation on Multiple Graders using ngshare? #135

Open mdweisner opened 4 years ago

mdweisner commented 4 years ago

Hello again!

ngshare seems to be up and running but we have a bit of confusion with using nbgrader with ngshare that would be great to clarify. The main question is how to manage a class with multiple graders.

There is some discussion in the nbgrader documentation as an example for One Class, Multiple Graders. The question is whether there is anything different in the configuration if we want to have the same model in ngshare.

The default model using Juypterhub with a shared directory, which allows instructors to access a shared nbgrader_config.py file for each class, but I don't think this is possible with ngshare, correct?

So our two main questions are:

  1. How do we configure a class for formgrader using ngshare/nbgrader to allow for multiple graders in a single class?
  2. Are there any issues of contention with multiple graders working on the same gradebook?

Thanks for the help!

Lawrence37 commented 4 years ago

Hi!

ngshare lacks gradebook management at the moment, so the procedure for a multiple graders setup is almost the same as in vanilla nbgrader. The recommended setup is to have a dedicated formgrader user account which all instructor accounts have access to (described here). The formgrader account should be added as an instructor in ngshare. Since all grading is done through the formgrader account, there should not be any issues with multiple graders.

I hope this answers your questions.

mdweisner commented 4 years ago

Thanks Lawrence!

I'll test this out, I appreciate the assistance!

Best,

Michael

JBRhoads commented 1 year ago

How should this be set up with z2jh? It seems that there needs to be way to force to kube-spawner to pre-spawn a notebook as a certain user, then config it as a service? Or perhaps just have a PVC that only mounts for certain users instead?

References: https://z2jh.jupyter.org/en/stable/administrator/services.html https://github.com/jupyterhub/jupyterhub/tree/main/examples/service-notebook

TimStewartJ commented 1 year ago

It seems the simplest way would be to set up the shared notebook as a managed service. Do you have any particular reason why you can't take that approach?