learningequality / learningequality/studio

[QTI] Numeric question type doesn't have the same results for inline errors vs headless validation

Open
#6,150 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

The text 1 incomplete question was displayed even after all the questions were filled out. It went away once I removed the numeric answer "21.0" but since decimals are allowed, I wonder if the issue is specific to decimals that end in 0?

https://github.com/user-attachments/assets/623d1f6b-1566-4fc0-9538-2c369df8bc82

Originally posted by @LianaHarris360 in https://github.com/learningequality/studio/issues/6095#issuecomment-5731908094

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the discrepancy with a numeric answer of 21.0, comparing inline-error behavior with headless validation. Trace the numeric question validation path and compare both results; done when decimal values ending in zero produce consistent validation and completion status.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.