FAILURE MAP
← Case archive

FA-12371 / Manufacturing workflow integrity / Open access

Tool qualification for one operation authorizes another · case 01

Tool qualification for one operation authorizes another.

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

ROOT CAUSE

Dispatch checks only whether the fixture has any qualification.

THE FAILURE

Dispatch checks only whether the fixture has any qualification.

Unsuccessful approach: Matching operation and time but not revision admits obsolete process qualifications.

Case contract

Qualifications are (fixture, operation, recipe revision, valid until). Dispatch time must be strictly less than valid until.

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(records, fixture, operation, revision, time):
    return any(f == fixture for f, o, r, end in records)
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
q = [('jig', 'drill', N, 10*N)]
check('qualified dispatch', solve(q, 'jig', 'drill', N, 10*N-1), True)
check('expiration instant', solve(q, 'jig', 'drill', N, 10*N), False)
check('obsolete recipe', solve(q, 'jig', 'drill', N+1, 0), False)
check('wrong operation', solve(q, 'jig', 'mill', N, 0), False)
check('wrong fixture', solve(q, 'other', 'drill', N, 0), False)
check('empty records', solve([], 'jig', 'drill', N, 0), False)
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
qualified dispatchTrueTruePassed
expiration instantTrueFalseFailed
obsolete recipeTrueFalseFailed
wrong operationTrueFalseFailed
wrong fixtureFalseFalsePassed
empty recordsFalseFalsePassed

SHA-256 / 7bbb4fa63d80ea76b6d9a30da0cf198f6c20f8a048c28ca0cfaf438756e2a1d6

2 / The unsuccessful fix

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

N = 1
observations = []
def solve(records, fixture, operation, revision, time):
    return any(f == fixture and o == operation and time < end for f, o, r, end in records)
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
q = [('jig', 'drill', N, 10*N)]
check('qualified dispatch', solve(q, 'jig', 'drill', N, 10*N-1), True)
check('expiration instant', solve(q, 'jig', 'drill', N, 10*N), False)
check('obsolete recipe', solve(q, 'jig', 'drill', N+1, 0), False)
check('wrong operation', solve(q, 'jig', 'mill', N, 0), False)
check('wrong fixture', solve(q, 'other', 'drill', N, 0), False)
check('empty records', solve([], 'jig', 'drill', N, 0), False)
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
qualified dispatchTrueTruePassed
expiration instantFalseFalsePassed
obsolete recipeTrueFalseFailed
wrong operationFalseFalsePassed
wrong fixtureFalseFalsePassed
empty recordsFalseFalsePassed

SHA-256 / 01af35ed681e17df061a83495d83d933ea7c5e5302575e73c562b3a448b4a875

HELD IN THE MEMBER ARCHIVE

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

This mechanism has 6 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.219277+00:00.

Case digest / 01cdf1a0a0ec209cb54e1a9c75fe4ff5ce89e1c8c294c19176f50a5cb0b7aac0