FAILURE MAP
← Case archive

FA-12346 / Manufacturing workflow integrity / Open access

Inspection evidence survives a rework cycle incorrectly · case 01

Inspection evidence survives a rework cycle incorrectly.

Verified by executionVariant 1 · 7 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

Release checks any historic pass after rework invalidates prior inspections.

THE FAILURE

Release checks any historic pass after rework invalidates prior inspections.

Unsuccessful approach: Filtering to the current cycle but accepting any pass ignores a later failed inspection.

Case contract

Records are chronological (cycle, outcome) pairs. Release iff the last record matching the current cycle is pass.

Why this case matters

A deterministic manufacturing record model isolates this workflow defect before equipment or enterprise integration.

1 / The failure

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(cycle, records):
    return any(outcome == 'pass' for c, outcome in records)
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('old pass invalidated', solve(N, [(N-1, 'pass')]), False)
check('current pass', solve(N, [(N, 'pass')]), True)
check('later failure controls', solve(N, [(N, 'pass'), (N, 'fail')]), False)
check('later passing retest', solve(N, [(N, 'fail'), (N, 'pass')]), True)
check('future evidence ignored', solve(N, [(N+1, 'pass')]), False)
check('no evidence', solve(N, []), False)
check('old failure does not block', solve(N, [(N-1, 'fail'), (N, 'pass')]), True)
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 fixtureActualExpectedOutcome
old pass invalidatedTrueFalseFailed
current passTrueTruePassed
later failure controlsTrueFalseFailed
later passing retestTrueTruePassed
future evidence ignoredTrueFalseFailed
no evidenceFalseFalsePassed
old failure does not blockTrueTruePassed

SHA-256 / 24b53fce354092d968cbad1b07467f02575d382bf53b0d7cf83985ac3a390e88

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(cycle, records):
    return any(c == cycle and outcome == 'pass' for c, outcome in records)
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('old pass invalidated', solve(N, [(N-1, 'pass')]), False)
check('current pass', solve(N, [(N, 'pass')]), True)
check('later failure controls', solve(N, [(N, 'pass'), (N, 'fail')]), False)
check('later passing retest', solve(N, [(N, 'fail'), (N, 'pass')]), True)
check('future evidence ignored', solve(N, [(N+1, 'pass')]), False)
check('no evidence', solve(N, []), False)
check('old failure does not block', solve(N, [(N-1, 'fail'), (N, 'pass')]), True)
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 fixtureActualExpectedOutcome
old pass invalidatedFalseFalsePassed
current passTrueTruePassed
later failure controlsTrueFalseFailed
later passing retestTrueTruePassed
future evidence ignoredFalseFalsePassed
no evidenceFalseFalsePassed
old failure does not blockTrueTruePassed

SHA-256 / 6a95e5c95f28920daac7957cffd8e13aff7ea6a0caac7b65038abc6fd81fe95b

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 7 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

Offline policy model only; no physical equipment, regulatory certification, or concurrent transaction claims. 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:56.143689+00:00.

Case digest / 3bc30b9c73016751f868bee31eecd0cf0db1a0571f71ba13685581abddacec2c