question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Assignment List extension does not support multiple classes

See original GitHub issue

I have a lot of students this year in multiple courses attempting to use nbgrader on jupyterhub (between Physics, Biology, and Computer Science). It appears that every time a student wants to see the Assignments tab for a particular course, they have to edit their nbgrader_config.py file:

c = get_config()
c.NbGrader.course_id = "cs245"
c.TransferApp.exchange_directory = "/opt/nbgrader/exchange/"

This is really a pain, and I’d rather not have students even know about such things, let alone have to edit the file.

Suggestion: make the system know what students are in a course, and show the students all courses that they are enrolled in.

Complication: because there is only one course now (course_id) how will the system know what ID to use for fetch/submission. The UI should know.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:21 (20 by maintainers)

github_iconTop GitHub Comments

5reactions
zoncacommented, Mar 25, 2017

@jhamrick UCSD is deploying JupyterHub with nbgrader, we really need to do access control for multiple courses in the assignments list extension, we might be able to contribute some code, could you give us some hints on how to implement that?

3reactions
jhamrickcommented, May 30, 2017

No problem! I might have some time to work on this soon, and just wanted to make sure I wasn’t going to reinvent anything you’d already done 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple instructors, multiple courses, and multiple solutions
Add a new "Course List" extension that will allow instructors to view which courses they have access to for grading. This is meant...
Read more >
c# - Extension methods for multiple types - Stack Overflow
Product inherits from Microsoft.CommerceServer.Catalog.CatalogItem, Variant does not inherit from CatalogItem or any other common base class.
Read more >
Extension Methods - C# Programming Guide - Microsoft Learn
Extension methods in C# enable you to add methods to existing types without creating a new derived type, recompiling, or otherwise modifying ...
Read more >
Set Per-Category Extension Policies - WebAssign
Tip To allow extensions only for one or a few assignment categories, you might set the Class Default extension policy to No Extensions...
Read more >
How to satisfy the requirements for a multiple-class application ...
If a product or service is not included in the manual, list it under the most relevant class and provide a specific, detailed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found