Repository navigation
feat(build): warn when the blank notebook scores points - #88
Merged
Merged
Conversation
[Medium impact] The PR appears safe to merge. SummaryThe build now checks whether the blank student notebook earns points.
No actionable issues were found. Acknowledged intent:
Reviews (1) · Last reviewed commit: "feat(build): warn when the blank noteboo..." · Reviewed by Greptile |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #87: the first two commits are #87's. After #87 merges, this diff shows only the two commits below.
check_solutionand the new blank check runpython -m mogs.selfcheck --bundlethrough one helper,run_selfcheck, which returns the outcomes, a timeout or a failed run. A test of the bundle with no result from selfcheck now fails the solved check, naming the test ("no result"); before, a missing result passed.mogs buildruns every test, public and hidden, on the student notebook as students get it, with the data files beside it and the samebudget. Each question that already scores is a warning in the report:Question 1 gets 5 / 10 with the blank student notebook: test_q1_a passes.Scores use the grader's formula (points × passed / total, rounded to 4 digits). A blank run that times out or crashes is a warning too; the blank check never fails the build. The instructors guide says so in the Build section.