FAILURE MAP
← Case archive

FA-26021 / Filter interfaces / Open access

Only the matching apply acknowledgment settles the in-flight revision · case 01

Only the matching apply acknowledgment settles the in-flight revision is violated by the widget projection.

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

ROOT CAUSE

The ack-match decision uses `d['ack']>=d['sent']` instead of the stipulated apply-queue projection.

THE FAILURE

The ack-match decision uses `d['ack']>=d['sent']` instead of the stipulated apply-queue projection.

Unsuccessful approach: The attempted correction `d['ack']<=d['sent']` still violates the explicit contract fixtures.

Case contract

A filter apply queue coalesces only unsent drafts, preserves the in-flight snapshot, and acknowledges exactly the sent revision before promoting a queued draft. This example checks: Only the matching apply acknowledgment settles the in-flight revision.

Why this case matters

Filter-widget state and serialization must preserve user constraints while the view changes.

1 / The failure

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

N = 1
observations = []
def solve(d):
    return {'inflight-preserve':(d['inflight']), 'queued-replace':(d['latest'] if d['busy'] else None), 'ack-match':(d['ack']>=d['sent']), 'promote-queued':(d['queued'] if d['ack']==d['sent'] and d['queued'] is not None else None), 'failed-retain':(d['inflight'] if d['failed'] else None), 'send-now':(d['latest'] if not d['busy'] and d['valid'] else None)}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = {1: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']})], 2: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 3, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 1, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 2, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 3, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None})], 3: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 1, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 3, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 2, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 1, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 2, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 3, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 1, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 2, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']})], 4: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 1, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 2, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 2, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 1, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 2, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 1, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None})], 5: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None})]}
for index, (data, expected) in enumerate(fixtures[N]):
    check("contract fixture " + str(index), solve(data), expected)
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
contract fixture 0{'ack-match': True, 'failed-retain': None, 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': None}{'ack-match': False, 'failed-retain': None, 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': None}Failed
contract fixture 1{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Passed
contract fixture 2{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Passed
contract fixture 3{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Failed
contract fixture 4{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}Passed
contract fixture 5{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}Passed
contract fixture 6{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}Failed
contract fixture 7{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Passed
contract fixture 8{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': ['c'], 'queued-replace': None, 'send-now': ['b']}{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': ['c'], 'queued-replace': None, 'send-now': ['b']}Passed
contract fixture 9{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Failed

SHA-256 / 35f77220a2533b5ed47b94335714181c781eb2a55a1d02fff6c6d56ebcf23d2f

2 / The unsuccessful fix

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

N = 1
observations = []
def solve(d):
    return {'inflight-preserve':(d['inflight']), 'queued-replace':(d['latest'] if d['busy'] else None), 'ack-match':(d['ack']<=d['sent']), 'promote-queued':(d['queued'] if d['ack']==d['sent'] and d['queued'] is not None else None), 'failed-retain':(d['inflight'] if d['failed'] else None), 'send-now':(d['latest'] if not d['busy'] and d['valid'] else None)}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = {1: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']})], 2: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 3, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 1, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 2, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 3, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None})], 3: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 1, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 3, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 2, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 1, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 2, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 3, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 1, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 2, 'sent': 2, 'failed': False, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': None, 'failed-retain': None, 'send-now': ['b']})], 4: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 1, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 2, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 2, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 1, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 2, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 1, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None})], 5: [({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 3, 'sent': 2, 'failed': False, 'valid': False}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': None, 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': ['c'], 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': ['c'], 'busy': True, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': False, 'ack': 3, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': None, 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': ['b']}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 1, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': False, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None}), ({'inflight': ['a'], 'latest': ['b'], 'queued': None, 'busy': True, 'ack': 2, 'sent': 2, 'failed': True, 'valid': True}, {'inflight-preserve': ['a'], 'queued-replace': ['b'], 'ack-match': True, 'promote-queued': None, 'failed-retain': ['a'], 'send-now': None})]}
for index, (data, expected) in enumerate(fixtures[N]):
    check("contract fixture " + str(index), solve(data), expected)
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
contract fixture 0{'ack-match': False, 'failed-retain': None, 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': None}{'ack-match': False, 'failed-retain': None, 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': None}Passed
contract fixture 1{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Failed
contract fixture 2{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Passed
contract fixture 3{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Passed
contract fixture 4{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}Failed
contract fixture 5{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}Passed
contract fixture 6{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': ['b'], 'send-now': None}Passed
contract fixture 7{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Failed
contract fixture 8{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': ['c'], 'queued-replace': None, 'send-now': ['b']}{'ack-match': True, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': ['c'], 'queued-replace': None, 'send-now': ['b']}Passed
contract fixture 9{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}{'ack-match': False, 'failed-retain': ['a'], 'inflight-preserve': ['a'], 'promote-queued': None, 'queued-replace': None, 'send-now': ['b']}Passed

SHA-256 / 83cb264d6851550e56fe7fce809371a9ac3d7cdafd1c8a663b98290505d24c82

HELD IN THE MEMBER ARCHIVE

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

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

Deterministic bounded UI-state model only; no browser, query engine, network, or production-standard conformance is claimed. 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:41:12.160281+00:00.

Case digest / d1a8605e83de81ed49d3dbc2836ee986bfa5562b38a745583f82b2da6ddd303a