Skip to content

feat(build): warn when the blank notebook scores points - #88

Merged
wiseodd merged 4 commits into
mainfrom
feat/blank-notebook-warning
Nov 28, 2026
Merged

wiseodd merged 4 commits into
mainfrom
feat/blank-notebook-warning

Conversation

@wiseodd

@wiseodd wiseodd commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Stacked on #87: the first two commits are #87's. After #87 merges, this diff shows only the two commits below.

  • refactor(build): share the selfcheck run. check_solution and the new blank check run python -m mogs.selfcheck --bundle through 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.
  • feat(build): warn when the blank notebook scores points. After the solved copy gets full marks, mogs build runs every test, public and hidden, on the student notebook as students get it, with the data files beside it and the same budget. 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.

@greptile-apps

greptile-apps Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

The build now checks whether the blank student notebook earns points.

  • Builds warn when the blank student notebook earns points.
  • Solved builds fail when a bundle test has no result.
  • Typo suggestions leave the hidden autograde command out.
  • Autograde stops early when its source folder is missing.

No actionable issues were found.

Acknowledged intent:

Reviews (1) · Last reviewed commit: "feat(build): warn when the blank noteboo..." · Reviewed by Greptile

@wiseodd
wiseodd merged commit 33dfab0 into main Nov 28, 2026
16 checks passed
@wiseodd
wiseodd deleted the feat/blank-notebook-warning branch November 28, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant