Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on Multiple Graders using ngshare? #135

Open
mdweisner opened this issue Sep 8, 2020 · 4 comments
Open

Documentation on Multiple Graders using ngshare? #135

mdweisner opened this issue Sep 8, 2020 · 4 comments

Comments

@mdweisner
Copy link

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
Copy link
Contributor

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
Copy link
Author

Thanks Lawrence!

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

Best,

Michael

@JBRhoads
Copy link

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
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants