Publish mixed exercises QTI only when Perseus can't read a legacy input answer - #6273
Open
rtibblesbot wants to merge 3 commits into
Open
rtibblesbot wants to merge 3 commits into
rtibblesbot wants to merge 3 commits into
Conversation
Contributor
Author
|
Outside this PR's scope — tracked under #5998:
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly How was this generated?
|
rtibblesbot
force-pushed
the
issue-6208-c38516
branch
from
October 2, 2026 05:55
87f94c1 to
0caa761
Compare
rtibblesbot
force-pushed
the
issue-6208-c38516
branch
from
October 2, 2026 19:24
0caa761 to
35c730d
Compare
Exercises only; units keep them, as their pre/post test lists every id. Assessment metadata drops them too when there is no QTI package. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- JSON-number answers (4, 0, 4.5) were published as answers: [] - Answers marked "correct": false were published as correct Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… input A legacy input answer such as "Sphere", "+3" or "1e400" left the derived Perseus numeric-input with no answers; such nodes now skip the Perseus archive. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
rtibblesbot
force-pushed
the
issue-6208-c38516
branch
from
October 2, 2026 20:03
35c730d to
97bcf22
Compare
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.
Summary
numeric-inputs; they now publish QTI only when a legacy input answer is unreadable by Perseus: text,+3, or non-finite.4,0) and published"correct": falseanswers as correct; every Perseus archive now reads input answers as Perseus renders them.References
Closes #6208. Refs #6266. Refs #6268. Refs #6232. Supersedes #6255.
Stacked on #6262; merge that first.
Not covered: native text entries answered
+3/1E3(#6224, #6259).Reviewer guidance
extract_value, not QTI's_format_number, which also reads+3and1E3. Is it right that these answers make a node QTI only?AI usage
Used Claude Code to reproduce the bug with a scratch publish test, write the fix and its tests, and draft this description. Verified with the export channel, exercise creation and QTI test suites, and pre-commit.
🤖 Generated with Claude Code
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
How was this generated?
🟡 Waiting for feedback
Last updated: 2026-10-02 20:04 UTC