Repository navigation
Response area tests - #100
Merged
Merged
Conversation
Each response area takes accept, responses that must be marked correct, and reject, responses that must be marked incorrect; both are written as tests after the answer. MultipleChoice adds a failing test for each wrong option alone and, with several correct options, for one correct option and for all options. A response both accepted and rejected is refused. The converter takes every area's tests from _all_tests and no longer builds them itself. Whether a test passes is left to the evaluation function, through the platform's teacher tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JnCY3kcqP1vQ7UixMtuRep
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JnCY3kcqP1vQ7UixMtuRep
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JnCY3kcqP1vQ7UixMtuRep
Covers unique image names in the shared media folder, cropping figures that are not embedded images, what skill means and who sets it, units and labels in pre_text and post_text, data that appears only in the solutions, and reporting failed teacher tests to the author. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JnCY3kcqP1vQ7UixMtuRep
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #100 +/- ##
==========================================
+ Coverage 90.55% 91.61% +1.05%
==========================================
Files 15 15
Lines 720 811 +91
==========================================
+ Hits 652 743 +91
Misses 68 68
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
peterbjohnson
marked this pull request as ready for review
November 8, 2026 06:19
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.
No description provided.