-
Notifications
You must be signed in to change notification settings - Fork 83
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
List students that have submissions but are unenrolled #1070
Comments
We should be careful to not include staff members in the result (i.e. don't filter by |
Sorry for the title changes. Should it be backups or only submissions? We also don't want to spend resources composition grading if a student is not officially taking the course. |
Backups - the idea here is to be a spot check for course staff to make sure they haven't forgotten to enroll some people. 184 asked for this like so:
Re Composition: I agree that we should not be auto enrolling users (and then giving composition feedback). This job is just about giving some visibility to the fact that there are students working on the assignment who might not be enrolled - those users are hidden otherwise to course staff. |
Hi, I've been working on this issue but am getting stuck at combining the "un-enrolled but submitting" student data with the enrolled student data. I'm working in server/controllers/admin.py in assignment_stats(). Using your code as a guideline I've got the following so far:
The last 2 lines there are just printing out the users that are un-enrolled but have submitted the assignment. I'm able to get those users successfully. I've successfully got the details from their submitted assignments using Assignment.user_status() and passing in the user object. Could you point me in the right direction as to what function/model to edit to include these un-enrolled users? |
@wrobe0709 If I understood correctly you'd like to know where to display this info? I'd suggest either using the job interface or making a brand new view (I'd prefer creating a new view in admin.py) I think all you need to display is the user's email. Steps:
|
@Sumukh Yes, I'm wondering where to display the info. Ok, you're steps make sense. Would this then be another option on the sidebar of the assignment that says something like "Un-enrolled Submissions"? Basically, where would the staff member see this information? |
Yeah. If you don't mind expanding the scope slightly, I actually think this makes more sense on a course level instead of a per assignment (since instructors would want to see this at once instead of checking each assignment) You'd have to change the submission query to look more like this:
If you do decide to do that - you could add a link under the course dashboard actions (just like the assignment actions you referenced) (and the route could be something like |
Ok. I think that makes more sense too. I'll start on that. Thanks for the info. |
It's useful to see if you forgot to enroll someone - since otherwise they don't appear in the course stats
Here's some rough code that does what this going for
The text was updated successfully, but these errors were encountered: