-
Notifications
You must be signed in to change notification settings - Fork 56
Create endpoint for retrieval of all assessment submissions #1210
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
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ | |
| # Cadet.Repo.insert!(%Cadet.Settings.Sublanguage{chapter: 1, variant: "default"}) | ||
|
|
||
| if Cadet.Env.env() == :dev do | ||
| number_of_students = 100_000 | ||
| number_of_students = 100 | ||
|
||
| number_of_assessments = 5 | ||
| number_of_questions = 13 | ||
|
|
||
|
|
@@ -84,7 +84,7 @@ | |
| # Users | ||
| Enum.each(groups_and_courses, fn {group, course} -> | ||
| students = | ||
| for i <- 1..number_of_students do | ||
| student = insert(:user, %{latest_viewed_course: course}) | ||
|
|
||
| student_cr = | ||
|
|
@@ -118,7 +118,7 @@ | |
| }) | ||
| end) | ||
|
|
||
| for i <- 1..number_of_assessments do | ||
| assessment = | ||
| insert(:assessment, %{ | ||
| is_published: true, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha sure, maybe in the future we can filter by assessment name (it's a use case for the PA because we export the grades to Canvas separately).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh yes, that would be a good future change to generalize the export function!