FAILURE MAP
← Case archive

FA-68251 / Traffic signal timing plans / Open access

Loop detector count and occupancy binning: the no-activity limit is compared with the bin count · case 01

Loop detector count and occupancy binning returns a wrong result when the no-activity limit is compared with the bin count.

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

ROOT CAUSE

A silent period exactly equal to the limit is not flagged.

THE FAILURE

A silent period exactly equal to the limit is not flagged.

Unsuccessful approach: Comparing a bin count against seconds almost never flags silence.

Case contract

Input {interval s, bins, events: [[on, off]] seconds relative to period start (on may be negative), max_presence, no_activity}. A vehicle is counted in the bin of its on time if inside the period; occupied time is split across bins by overlap; occupancy percent is floor(occupied*100/interval). Status is 'stuck-on' if any presence lasts >= max_presence, 'no-activity' if there are no events and the period (bins*interval) is >= no_activity, else 'ok'. Return {counts, occ_pct, status}.

Why this case matters

Signal timing arithmetic is exact and integer or rational; a wrong rule silently produces unsafe or inefficient timing plans.

1 / The failure

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

N = 1
observations = []
def solve(x):
    I = x['interval']
    B = x['bins']
    counts = [0] * B
    occ = [0] * B
    status = 'ok'
    for on, off in sorted(x['events']):
        b = on // I
        if 0 <= b < B:
            counts[b] += 1
        if off - on >= x['max_presence']:
            status = 'stuck-on'
        for k in range(B):
            lo, hi = k * I, (k + 1) * I
            occ[k] += max(0, min(off, hi) - max(on, lo))
    if not x['events'] and B * I > x['no_activity']:
        status = 'no-activity'
    return {'counts': counts, 'occ_pct': [o * 100 // I for o in occ], 'status': status}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[({'interval': 60, 'bins': 3, 'events': [[-14, -11], [-3, 37], [69, 71]], 'max_presence': 180, 'no_activity': 600}, {'counts': [0, 1, 0], 'occ_pct': [61, 3, 0], 'status': 'ok'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 30, 'bins': 2, 'events': [], 'max_presence': 240, 'no_activity': 60}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 240, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}), ({'interval': 120, 'bins': 4, 'events': [], 'max_presence': 100, 'no_activity': 120}, {'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [[3, 11], [30, 38], [70, 110]], 'max_presence': 240, 'no_activity': 120}, {'counts': [2, 1], 'occ_pct': [26, 66], 'status': 'ok'})], [({'interval': 120, 'bins': 4, 'events': [[5, 8], [18, 26], [35, 36]], 'max_presence': 180, 'no_activity': 60}, {'counts': [3, 0, 0, 0], 'occ_pct': [10, 0, 0, 0], 'status': 'ok'}), ({'interval': 120, 'bins': 5, 'events': [], 'max_presence': 240, 'no_activity': 120}, {'counts': [0, 0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0, 0], 'status': 'no-activity'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}), ({'interval': 60, 'bins': 2, 'events': [[-3, 37]], 'max_presence': 100, 'no_activity': 60}, {'counts': [0, 0], 'occ_pct': [61, 0], 'status': 'ok'}), ({'interval': 60, 'bins': 4, 'events': [], 'max_presence': 240, 'no_activity': 240}, {'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'})], [({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}), ({'interval': 30, 'bins': 4, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 120, 'bins': 4, 'events': [[1, 3], [39, 41], [60, 100], [103, 108], [113, 115], [145, 148], [166, 206]], 'max_presence': 180, 'no_activity': 600}, {'counts': [5, 2, 0, 0], 'occ_pct': [42, 35, 0, 0], 'status': 'ok'}), ({'interval': 120, 'bins': 4, 'events': [[-13, 27], [39, 42], [62, 67], [86, 91], [99, 139]], 'max_presence': 100, 'no_activity': 240}, {'counts': [4, 0, 0, 0], 'occ_pct': [50, 15, 0, 0], 'status': 'ok'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 100, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 120, 'bins': 4, 'events': [], 'max_presence': 100, 'no_activity': 120}, {'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'})], [({'interval': 120, 'bins': 2, 'events': [[47, 48], [125, 133], [10, 18], [-1, 4], [65, 105]], 'max_presence': 100, 'no_activity': 600}, {'counts': [3, 1], 'occ_pct': [44, 6], 'status': 'ok'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 4, 'events': [[-5, -4], [13, 16], [43, 48]], 'max_presence': 240, 'no_activity': 600}, {'counts': [2, 0, 0, 0], 'occ_pct': [13, 0, 0, 0], 'status': 'ok'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 240, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 120, 'bins': 4, 'events': [[-17, -15], [-6, -4], [15, 55], [93, 452], [482, 490], [491, 531]], 'max_presence': 240, 'no_activity': 120}, {'counts': [2, 0, 0, 0], 'occ_pct': [55, 100, 100, 76], 'status': 'stuck-on'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 100, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'})], [({'interval': 60, 'bins': 5, 'events': [[-3, 385], [401, 554], [578, 618], [631, 671], [675, 677], [694, 702]], 'max_presence': 240, 'no_activity': 120}, {'counts': [0, 0, 0, 0, 0], 'occ_pct': [100, 100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 240, 'no_activity': 60}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 100, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 60, 'bins': 3, 'events': [[-15, -7], [33, 35], [38, 41]], 'max_presence': 100, 'no_activity': 240}, {'counts': [2, 0, 0], 'occ_pct': [8, 0, 0], 'status': 'ok'}), ({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'})]]
for i, (args, expected) in enumerate(fixtures[N-1]):
    check('timing oracle' + ' %d' % i, solve(args), 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
timing oracle 0{'counts': [0, 1, 0], 'occ_pct': [61, 3, 0], 'status': 'ok'}{'counts': [0, 1, 0], 'occ_pct': [61, 3, 0], 'status': 'ok'}Passed
timing oracle 1{'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}{'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}Passed
timing oracle 2{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'ok'}{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}Failed
timing oracle 3{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'ok'}{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}Failed
timing oracle 4{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'ok'}{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}Failed
timing oracle 5{'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}{'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}Passed
timing oracle 6{'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}{'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}Passed
timing oracle 7{'counts': [2, 1], 'occ_pct': [26, 66], 'status': 'ok'}{'counts': [2, 1], 'occ_pct': [26, 66], 'status': 'ok'}Passed

SHA-256 / b66a6335d37cb3f561e8e693ad72321bb86cf020a0d6159c5cb3798bed798e59

2 / The unsuccessful fix

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

N = 1
observations = []
def solve(x):
    I = x['interval']
    B = x['bins']
    counts = [0] * B
    occ = [0] * B
    status = 'ok'
    for on, off in sorted(x['events']):
        b = on // I
        if 0 <= b < B:
            counts[b] += 1
        if off - on >= x['max_presence']:
            status = 'stuck-on'
        for k in range(B):
            lo, hi = k * I, (k + 1) * I
            occ[k] += max(0, min(off, hi) - max(on, lo))
    if not x['events'] and B >= x['no_activity']:
        status = 'no-activity'
    return {'counts': counts, 'occ_pct': [o * 100 // I for o in occ], 'status': status}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[({'interval': 60, 'bins': 3, 'events': [[-14, -11], [-3, 37], [69, 71]], 'max_presence': 180, 'no_activity': 600}, {'counts': [0, 1, 0], 'occ_pct': [61, 3, 0], 'status': 'ok'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 30, 'bins': 2, 'events': [], 'max_presence': 240, 'no_activity': 60}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 240, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}), ({'interval': 120, 'bins': 4, 'events': [], 'max_presence': 100, 'no_activity': 120}, {'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [[3, 11], [30, 38], [70, 110]], 'max_presence': 240, 'no_activity': 120}, {'counts': [2, 1], 'occ_pct': [26, 66], 'status': 'ok'})], [({'interval': 120, 'bins': 4, 'events': [[5, 8], [18, 26], [35, 36]], 'max_presence': 180, 'no_activity': 60}, {'counts': [3, 0, 0, 0], 'occ_pct': [10, 0, 0, 0], 'status': 'ok'}), ({'interval': 120, 'bins': 5, 'events': [], 'max_presence': 240, 'no_activity': 120}, {'counts': [0, 0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0, 0], 'status': 'no-activity'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}), ({'interval': 60, 'bins': 2, 'events': [[-3, 37]], 'max_presence': 100, 'no_activity': 60}, {'counts': [0, 0], 'occ_pct': [61, 0], 'status': 'ok'}), ({'interval': 60, 'bins': 4, 'events': [], 'max_presence': 240, 'no_activity': 240}, {'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'})], [({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}), ({'interval': 30, 'bins': 4, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 120, 'bins': 4, 'events': [[1, 3], [39, 41], [60, 100], [103, 108], [113, 115], [145, 148], [166, 206]], 'max_presence': 180, 'no_activity': 600}, {'counts': [5, 2, 0, 0], 'occ_pct': [42, 35, 0, 0], 'status': 'ok'}), ({'interval': 120, 'bins': 4, 'events': [[-13, 27], [39, 42], [62, 67], [86, 91], [99, 139]], 'max_presence': 100, 'no_activity': 240}, {'counts': [4, 0, 0, 0], 'occ_pct': [50, 15, 0, 0], 'status': 'ok'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 100, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 120, 'bins': 4, 'events': [], 'max_presence': 100, 'no_activity': 120}, {'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'})], [({'interval': 120, 'bins': 2, 'events': [[47, 48], [125, 133], [10, 18], [-1, 4], [65, 105]], 'max_presence': 100, 'no_activity': 600}, {'counts': [3, 1], 'occ_pct': [44, 6], 'status': 'ok'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 4, 'events': [[-5, -4], [13, 16], [43, 48]], 'max_presence': 240, 'no_activity': 600}, {'counts': [2, 0, 0, 0], 'occ_pct': [13, 0, 0, 0], 'status': 'ok'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 240, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 120, 'bins': 4, 'events': [[-17, -15], [-6, -4], [15, 55], [93, 452], [482, 490], [491, 531]], 'max_presence': 240, 'no_activity': 120}, {'counts': [2, 0, 0, 0], 'occ_pct': [55, 100, 100, 76], 'status': 'stuck-on'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 100, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'})], [({'interval': 60, 'bins': 5, 'events': [[-3, 385], [401, 554], [578, 618], [631, 671], [675, 677], [694, 702]], 'max_presence': 240, 'no_activity': 120}, {'counts': [0, 0, 0, 0, 0], 'occ_pct': [100, 100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 240, 'no_activity': 60}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 100, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 30, 'bins': 4, 'events': [[0, 180]], 'max_presence': 180, 'no_activity': 60}, {'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}), ({'interval': 60, 'bins': 3, 'events': [[-15, -7], [33, 35], [38, 41]], 'max_presence': 100, 'no_activity': 240}, {'counts': [2, 0, 0], 'occ_pct': [8, 0, 0], 'status': 'ok'}), ({'interval': 60, 'bins': 2, 'events': [[-5, 3], [58, 63], [70, 71]], 'max_presence': 180, 'no_activity': 120}, {'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}), ({'interval': 120, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 240}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}), ({'interval': 60, 'bins': 2, 'events': [], 'max_presence': 180, 'no_activity': 120}, {'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'})]]
for i, (args, expected) in enumerate(fixtures[N-1]):
    check('timing oracle' + ' %d' % i, solve(args), 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
timing oracle 0{'counts': [0, 1, 0], 'occ_pct': [61, 3, 0], 'status': 'ok'}{'counts': [0, 1, 0], 'occ_pct': [61, 3, 0], 'status': 'ok'}Passed
timing oracle 1{'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}{'counts': [1, 0, 0, 0], 'occ_pct': [100, 100, 100, 100], 'status': 'stuck-on'}Passed
timing oracle 2{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'ok'}{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}Failed
timing oracle 3{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'ok'}{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}Failed
timing oracle 4{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'ok'}{'counts': [0, 0], 'occ_pct': [0, 0], 'status': 'no-activity'}Failed
timing oracle 5{'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}{'counts': [1, 1], 'occ_pct': [8, 6], 'status': 'ok'}Passed
timing oracle 6{'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'ok'}{'counts': [0, 0, 0, 0], 'occ_pct': [0, 0, 0, 0], 'status': 'no-activity'}Failed
timing oracle 7{'counts': [2, 1], 'occ_pct': [26, 66], 'status': 'ok'}{'counts': [2, 1], 'occ_pct': [26, 66], 'status': 'ok'}Passed

SHA-256 / 10593c80eef6feef5dc89350f2c5bf13427f8e920767da498babbeb92ae3fca8

HELD IN THE MEMBER ARCHIVE

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

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

A deterministic, bounded toy model with a stipulated contract; it makes no claim of conformance to any agency manual or standard. 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:48:00.500119+00:00.

Case digest / 4c32651ae28f3367317169cf3ee0318684271a3cfa70e0aac42b6638439e23e5