DEBUG EVIDENCE KIT · SKILLROVE · FICTIONAL EXAMPLE

Numeric price ordering: a reproducible fix

A reproducible debugging case with command outcomes, source hashes, hypotheses and a precise proof boundary.

Passing checkCase status
8/8Proof comparisons
1Before exit
0After exit

Case & proof

observed

Reported symptom

Symptom
Prices such as 20, 3 and 100 are returned in string order.
Expected behavior
Return numbers in ascending numeric order, retaining duplicates and negative values.
Declared root cause
The supplied helper converts each number to a string in its sort key, making digit text determine ordering.
Implemented change
Remove the string key so numeric values use their natural ordering; preserve the original regression tests.
pass

Concrete failing reproduction

Comparison
Baseline completed with nonzero exit and the specified failure marker
pass

Fresh passing check

Comparison
Post-change command completed with zero exit and no specified marker
pass

Same reproduction command

Comparison
Exact argv and working directory match
pass

Observation order

Comparison
Post-change capture started after baseline finished
pass

Stable inputs during each run

Comparison
Watched sources stayed unchanged while each command ran
pass

Bounded complete log capture

Comparison
Neither captured stream was truncated
pass

Same watched scope with a source change

Comparison
The same paths were watched, with at least one declared source hash changed
pass

Preserved reproduction inputs

Comparison
Declared regression tests and reproduction inputs have identical before/after hashes
Case evidenceFix handoff

The observed reproduction passes after a source change only when all evidence comparisons pass. Other behavior stays unverified.