Worked test reports

Regression report for a decimal input interpreted differently by locale

The saved amount is 125 minor units for either supported decimal separator. Compare two versions of a small, runnable fixture. The inputs, expected values and recorded results are public.

Does a comma decimal separator change the value saved by the API?

The original implementation failed the “French decimal input” check. Expected 125 and observed 100. The corrected implementation met both expectations on the same inputs.

What the control case missed

A dot-separated amount hides the parser assumption. The comma form 1,25 is accepted as a prefix of 1 by the faulty parser, silently lowering the saved amount from 125 minor units to 100.

Observed values from the two implementations
CheckExpectedOriginalCorrected
English decimal input125125125
French decimal input125100125

What to check before merging

Define accepted locales and reject ambiguous input before persisting. The correction handles the two simple decimals in this fixture. Grouping separators, negatives and currency precision need their own product rules.

Reproduce the recorded result

Download the Node.js fixture and run node run.mjs locale-decimal-input with Node.js 24. Compare the printed JSON with the recorded results. This is a locally executed model of the regression, using synthetic inputs. It covers the rule shown here. Hosted runs, browser behaviour and customer PRs require their own evidence.

Primary documentation

Your next release starts here

Keep building.
Put testing to work.

Give Cue April your next testing challenge. Let your AI quality lead coordinate the checks, so your team can focus on what comes next.

Create account

Create your account, connect a repository and review your proposed setup before approving a run.