FA-8011 / Form validation / Open access
Validation message disclosure: Validation in progress presents stale results as final · case 01
Validation in progress presents stale results as final.
ROOT CAUSE
The pending operation uses `if pending: return error` where the contract requires `if pending: return 'checking'`.
THE FAILURE
The pending operation uses `if pending: return error` where the contract requires `if pending: return 'checking'`.
Unsuccessful approach: Pending cannot be reported as verified success.
Case contract
Disabled fields hide errors; pending takes precedence; None alone means valid; errors become visible on touch or submit.
Why this case matters
A deterministic model of validation message disclosure; this isolates one interface invariant without requiring a browser.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(error, touched, submitted, disabled, pending):
if disabled: return 'hidden'
if pending: return error
if error is None: return 'valid'
if touched or submitted: return error
return 'hidden'
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('disabled', solve('required', True, True, True, False), 'hidden')
check('pending', solve('stale', True, True, False, True), 'checking')
check('empty error', solve('', True, False, False, False), '')
check('submit', solve('required', False, True, False, False), 'required')
check('touched', solve('required', True, False, False, False), 'required')
check('pristine', solve('required', False, False, False, False), 'hidden')
check('valid', solve(None, True, True, False, False), 'valid')
check('parameterized error', solve('error'+str(N), False, True, False, False), 'error'+str(N))
for repetition in range(N):
check('repeat valid', solve(None, True, True, False, False), 'valid')
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| disabled | hidden | hidden | Passed |
| pending | stale | checking | Failed |
| empty error | | | Passed |
| submit | required | required | Passed |
| touched | required | required | Passed |
| pristine | hidden | hidden | Passed |
| valid | valid | valid | Passed |
| parameterized error | error1 | error1 | Passed |
| repeat valid | valid | valid | Passed |
SHA-256 / 5d9f77ab7b52dad3262988514c084d8d8fe396ed805d62e402c6213a5cce156b
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(error, touched, submitted, disabled, pending):
if disabled: return 'hidden'
if pending: return 'valid'
if error is None: return 'valid'
if touched or submitted: return error
return 'hidden'
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('disabled', solve('required', True, True, True, False), 'hidden')
check('pending', solve('stale', True, True, False, True), 'checking')
check('empty error', solve('', True, False, False, False), '')
check('submit', solve('required', False, True, False, False), 'required')
check('touched', solve('required', True, False, False, False), 'required')
check('pristine', solve('required', False, False, False, False), 'hidden')
check('valid', solve(None, True, True, False, False), 'valid')
check('parameterized error', solve('error'+str(N), False, True, False, False), 'error'+str(N))
for repetition in range(N):
check('repeat valid', solve(None, True, True, False, False), 'valid')
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| disabled | hidden | hidden | Passed |
| pending | valid | checking | Failed |
| empty error | | | Passed |
| submit | required | required | Passed |
| touched | required | required | Passed |
| pristine | hidden | hidden | Passed |
| valid | valid | valid | Passed |
| parameterized error | error1 | error1 | Passed |
| repeat valid | valid | valid | Passed |
SHA-256 / 1adac5cbd2b4832a8bab76d85686a8a27a07f8188b7c4e748e20ce2d48a1b72a
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 9 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.
Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.
Member access is invitation-based. Sign in with your invited account to inspect the repair.
Sign in to the archive ↗Verification & scope
This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.
Observations recorded using Python 3.12.14 at 2026-09-29T14:38:17.478517+00:00.
Case digest / 50f51b3ee0058ec4b7d9d6afccc1a8dc64b84c183e9e262b9b47b6d5d4eafb2b