-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trust information from the launch instead of the DB for is_gradable
We use assignment.is_gradable for record keeping but ultimately the source of truth should be the current launch. If we don't have the necessary parameters to call the grading APIs, it's not a gradable launch. The discrepancy of both method for `is_gradable` comes (as far as we know) from SpeedGrader launches which are always not gradable (!?) and confuse the course and assignment parameters. After 387ec0a we stopped recording that bogus data in the DB. As a result of that assignment are correctly marked as gradable in the DB but launches by students in the "submission details" view (which used SpeedGrader launches) fail because they are in fact, not gradable launches.
- Loading branch information
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters