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
Older-Kolibri Perseus export of a QTI Text entry item answered 1_000 or ٥ has no answers #6281
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Target branch: unstable
Observed behavior
perseus_derive._accepted_values keeps any answer Python float() reads as finite. float() also reads forms that are not xsd:double:
digit separators: 1_000, 1_0E3
non-ASCII digits: ٥, 5
extract_value rejects these, so PerseusExerciseGenerator._process_input_answers drops them. The derived Perseus item ships "answers": [].
Errors and logs
None. No warning is logged.
Expected behavior
_accepted_values accepts only xsd:double values (ASCII digits, no _), so an item whose only answers are these forms is answerless and publishes in neither archive.
User-facing consequences
Learners on older Kolibri get an input question that marks every answer wrong.
Drafted by Claude Code during review of #6224. Reproduced on unstable with a script calling derive_perseus_item, _process_input_answers and the template.
Activity