Repository navigation
Tell QTI answers apart by their formulas and images - #6302
Open
rtibblesbot wants to merge 1 commit into
Open
rtibblesbot wants to merge 1 commit into
rtibblesbot wants to merge 1 commit into
Conversation
rtibblesbot
marked this pull request as ready for review
October 7, 2026 21:23
Answers differing only in a formula or image no longer merge in match/associate or flag as duplicates. Closes learningequality#6301 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rtibblesbot
force-pushed
the
issue-6301-3fcad5
branch
from
October 7, 2026 21:51
0837154 to
c908560
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
References
Fixes #6301. Reported in: #6297 (review comment).
Reviewer guidance
Questions:
src,alt,width,heightand alignment the right rule, or shouldsrcalone decide?x² solveandsolve x²count as different answers, as they do now?Manual QA — regression most likely in Match questions, where a save can merge answers.
Requires: an editable channel, a new exercise on its Questions tab, and two different images.
x^2 is itandy^3 is it.is it x^2. Close and open the exercise again.Solve x^2 for xandSolve y^3 for x. No error shows.y^3tox^2. Both options show "Duplicate answer options are not allowed".x^2 solveandsolve x^2. No error shows. Is it correct that these are different answers?Look out for:
Evidence
Single choice options with formulas
s1-duplicate-formula-toggle.webm
Multiple choice options with images
Markup and formula position
Ordering items with formulas
Match answers that differ by formula
Match rows sharing one answer
More captures (17)
AI usage
Used Claude Code to write the fix and its tests from the issue. Verified with the QTIEditor and TipTapEditor Jest suites and pre-commit.
Written by rtibblesbot, an LLM-based coding agent.
🟡 Waiting for feedback
Last updated: 2026-10-07 21:51 UTC