You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[QTI] A Text entry answer of NULL reopens empty and makes the question incomplete #6272
Plan: A Text entry answer NULL reopens as NULL and passes validateQtiItem.
Read Text entry answers as authored
Self-review the produced code
Assumptions — the issue did not settle these; say so if one is wrong.
Kolibri scoring is out of scope; Kolibri coerces both the correct response and the learner's NULL to null (responseProcessing.js:47), so the answer never scores — if Studio must block it instead, AC 2 flips to an error.
Padded string map-keys are now read trimmed, like the numeric path; if an untrimmed hand-authored key must stay a separate answer, the helper keeps string keys untrimmed.
Repeated string <qti-value>s now survive reopen and fail validation, as numeric ones do; no test pins the old collapse.
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
How was this generated?
Implemented code following the pre-approved plan using test-driven development (red-green-refactor)
Ran the project's full test suite and linter before committing
For UI changes: captured live screenshots to verify rendering
For backend changes: verified with example API/CLI output
Activity
rtibblesbot commentedon Oct 4, 2026
Plan: A Text entry answer
NULLreopens asNULLand passesvalidateQtiItem.Assumptions — the issue did not settle these; say so if one is wrong.
NULLto null (responseProcessing.js:47), so the answer never scores — if Studio must block it instead, AC 2 flips to an error.<qti-value>s now survive reopen and fail validation, as numeric ones do; no test pins the old collapse.@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
How was this generated?
fix: reopen a Text entry answer of NULL as authored
fix: stop reading the QTI value NULL as null