{"abstract":"A later-listed booking that starts earlier and overlaps is missed.","category":"Exam timetabling constraints","checks":8,"contract":"bookings [room, exam, start, end, setup minutes]; each booking occupies [start - setup, end + cleanup). Two bookings in the same room conflict if their occupied intervals overlap (touching is fine). Return sorted [room, exam, exam] rows with the exam pair sorted.","contract_signature":"bookings, cleanup","evaluation_group":"w2-exam-timetabling-constraints-room-booking-buffers","failed_approach":"Allowing equal starts still misses bookings listed in the other order.","family":"w2-exam-timetabling-constraints-room-booking-buffers-containment-overlap","id":"FA-94641","implementations":{"attempt":{"sha256":"a5336639d49054a7290d2615b488bc070b1b88aa440246416e487c9561dada4d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(bookings, cleanup):\n    by = {}\n    for r, ex, s, e, setup in bookings:\n        by.setdefault(r, []).append((s - setup, e + cleanup, ex))\n    out = []\n    for r in sorted(by):\n        bs = by[r]\n        for i in range(len(bs)):\n            for j in range(i + 1, len(bs)):\n                a, b = bs[i], bs[j]\n                if a[0] <= b[0] < a[1]:\n                    out.append([r] + sorted([a[2], b[2]]))\n    return sorted(out)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: containment overlap 1',\n   [[['R2', 'LAW', 660, 780, 45], ['R1', 'CS', 780, 870, 0], ['R2', 'MED', 660, 750, 45]], 10],\n   [['R2', 'LAW', 'MED']]),\n  ('regression variant: containment overlap 2',\n   [[['R1', 'PHYS', 600, 720, 30], ['R1', 'ENG', 540, 630, 30], ['R2', 'ART', 720, 780, 15]], 10],\n   [['R1', 'ENG', 'PHYS']]),\n  ('partial repair guard 3', [[['R1', 'ART', 720, 840, 45], ['R1', 'CS', 660, 780, 15]], 30],\n   [['R1', 'ART', 'CS']]),\n  ('boundary control 4', [[['R1', 'B', 540, 600, 15], ['R2', 'A', 540, 600, 15]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 700, 15], ['R1', 'A', 600, 620, 15]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6',\n   [[['R2', 'GEO', 600, 720, 45], ['R2', 'LAW', 660, 780, 45], ['R1', 'ART', 780, 900, 45]], 10],\n   [['R2', 'GEO', 'LAW']]),\n  ('normal control 7',\n   [[['R2', 'PHYS', 780, 840, 30], ['R2', 'ENG', 660, 780, 15], ['R2', 'MED', 600, 720, 45],\n     ['R2', 'GEO', 720, 810, 15]],\n    10],\n   [['R2', 'ENG', 'GEO'], ['R2', 'ENG', 'MED'], ['R2', 'ENG', 'PHYS'], ['R2', 'GEO', 'MED'],\n    ['R2', 'GEO', 'PHYS']]),\n  ('normal control 8', [[['R2', 'LAW', 720, 840, 30], ['R1', 'ENG', 720, 840, 15]], 10], [])],\n [('regression: containment overlap 1',\n   [[['R1', 'ENG', 660, 750, 15], ['R2', 'LAW', 660, 750, 0], ['R2', 'PHYS', 780, 900, 0],\n     ['R1', 'ART', 540, 660, 15]],\n    10],\n   [['R1', 'ART', 'ENG']]),\n  ('regression variant: containment overlap 2',\n   [[['R2', 'LAW', 720, 840, 15], ['R2', 'MED', 660, 780, 30], ['R2', 'GEO', 660, 780, 0],\n     ['R2', 'CS', 840, 930, 30], ['R2', 'PHYS', 840, 930, 0]],\n    10],\n   [['R2', 'CS', 'LAW'], ['R2', 'CS', 'PHYS'], ['R2', 'GEO', 'LAW'], ['R2', 'GEO', 'MED'],\n    ['R2', 'LAW', 'MED'], ['R2', 'LAW', 'PHYS']]),\n  ('partial repair guard 3',\n   [[['R1', 'ART', 660, 750, 45], ['R1', 'CS', 840, 900, 30], ['R2', 'ENG', 540, 600, 30],\n     ['R2', 'GEO', 600, 660, 45], ['R2', 'LAW', 540, 630, 45]],\n    15],\n   [['R2', 'ENG', 'GEO'], ['R2', 'ENG', 'LAW'], ['R2', 'GEO', 'LAW']]),\n  ('boundary control 4', [[['R1', 'A', 540, 600, 30], ['R1', 'B', 645, 700, 30]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 600, 45], ['R1', 'A', 610, 700, 0]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6', [[['R1', 'LAW', 600, 720, 45], ['R2', 'ART', 780, 900, 0]], 15], []),\n  ('normal control 7',\n   [[['R2', 'ART', 840, 930, 45], ['R1', 'GEO', 600, 660, 45], ['R1', 'CS', 720, 810, 15],\n     ['R1', 'MED', 720, 840, 15], ['R2', 'ENG', 840, 960, 15]],\n    10],\n   [['R1', 'CS', 'MED'], ['R2', 'ART', 'ENG']]),\n  ('normal control 8',\n   [[['R1', 'MED', 720, 780, 0], ['R2', 'ART', 780, 900, 15], ['R1', 'PHYS', 720, 780, 15],\n     ['R1', 'LAW', 540, 630, 30]],\n    15],\n   [['R1', 'MED', 'PHYS']])],\n [('regression: containment overlap 1',\n   [[['R2', 'CS', 840, 930, 15], ['R2', 'PHYS', 720, 780, 15], ['R2', 'GEO', 660, 720, 15],\n     ['R1', 'ENG', 780, 900, 45], ['R2', 'LAW', 840, 900, 30]],\n    15],\n   [['R2', 'CS', 'LAW'], ['R2', 'GEO', 'PHYS']]),\n  ('regression variant: containment overlap 2',\n   [[['R2', 'PHYS', 720, 810, 15], ['R1', 'MED', 840, 930, 15], ['R1', 'ART', 780, 870, 0],\n     ['R1', 'CS', 840, 960, 15], ['R1', 'ENG', 540, 630, 0]],\n    15],\n   [['R1', 'ART', 'CS'], ['R1', 'ART', 'MED'], ['R1', 'CS', 'MED']]),\n  ('partial repair guard 3',\n   [[['R2', 'ART', 720, 840, 15], ['R2', 'ENG', 600, 660, 30], ['R1', 'MED', 780, 870, 45],\n     ['R1', 'LAW', 720, 840, 45], ['R1', 'PHYS', 660, 720, 30]],\n    30],\n   [['R1', 'LAW', 'MED'], ['R1', 'LAW', 'PHYS'], ['R1', 'MED', 'PHYS']]),\n  ('boundary control 4', [[['R1', 'B', 540, 600, 15], ['R2', 'A', 540, 600, 15]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 700, 15], ['R1', 'A', 600, 620, 15]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6',\n   [[['R1', 'GEO', 540, 660, 15], ['R1', 'PHYS', 600, 660, 15], ['R2', 'LAW', 600, 720, 45],\n     ['R2', 'CS', 660, 720, 0]],\n    30],\n   [['R1', 'GEO', 'PHYS'], ['R2', 'CS', 'LAW']]),\n  ('normal control 7', [[['R2', 'PHYS', 720, 780, 15], ['R2', 'LAW', 540, 630, 30]], 30], []),\n  ('normal control 8',\n   [[['R1', 'MED', 720, 780, 0], ['R2', 'ART', 780, 900, 15], ['R1', 'PHYS', 720, 780, 15],\n     ['R1', 'LAW', 540, 630, 30]],\n    15],\n   [['R1', 'MED', 'PHYS']])],\n [('regression: containment overlap 1',\n   [[['R1', 'CS', 840, 960, 0], ['R2', 'PHYS', 540, 600, 45], ['R2', 'GEO', 720, 780, 0],\n     ['R2', 'ART', 600, 690, 0], ['R2', 'MED', 720, 810, 15]],\n    10],\n   [['R2', 'ART', 'PHYS'], ['R2', 'GEO', 'MED']]),\n  ('regression variant: containment overlap 2',\n   [[['R2', 'ART', 540, 600, 0], ['R2', 'ENG', 840, 900, 45], ['R2', 'GEO', 720, 810, 15]], 30],\n   [['R2', 'ENG', 'GEO']]),\n  ('partial repair guard 3', [[['R2', 'CS', 720, 810, 0], ['R2', 'LAW', 720, 810, 15]], 30],\n   [['R2', 'CS', 'LAW']]),\n  ('boundary control 4', [[['R1', 'A', 540, 600, 30], ['R1', 'B', 645, 700, 30]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 600, 45], ['R1', 'A', 610, 700, 0]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6',\n   [[['R1', 'GEO', 540, 630, 15], ['R1', 'ART', 540, 630, 30], ['R2', 'PHYS', 840, 960, 0],\n     ['R1', 'ENG', 840, 960, 15], ['R2', 'MED', 780, 900, 45]],\n    15],\n   [['R1', 'ART', 'GEO'], ['R2', 'MED', 'PHYS']]),\n  ('normal control 7',\n   [[['R2', 'LAW', 660, 720, 30], ['R1', 'PHYS', 840, 930, 45], ['R2', 'ENG', 780, 870, 45],\n     ['R1', 'GEO', 660, 720, 30]],\n    10],\n   []),\n  ('normal control 8',\n   [[['R2', 'CS', 600, 660, 15], ['R2', 'ART', 720, 810, 45], ['R1', 'GEO', 600, 720, 30],\n     ['R2', 'PHYS', 660, 780, 45], ['R2', 'MED', 600, 660, 0]],\n    10],\n   [['R2', 'ART', 'PHYS'], ['R2', 'CS', 'MED'], ['R2', 'CS', 'PHYS'], ['R2', 'MED', 'PHYS']])],\n [('regression: containment overlap 1',\n   [[['R2', 'CS', 840, 930, 30], ['R1', 'ART', 600, 690, 15], ['R2', 'GEO', 840, 960, 0],\n     ['R2', 'PHYS', 840, 960, 45]],\n    30],\n   [['R2', 'CS', 'GEO'], ['R2', 'CS', 'PHYS'], ['R2', 'GEO', 'PHYS']]),\n  ('regression variant: containment overlap 2',\n   [[['R2', 'ART', 720, 780, 45], ['R1', 'LAW', 660, 750, 0], ['R1', 'CS', 720, 840, 0],\n     ['R1', 'MED', 720, 810, 45]],\n    30],\n   [['R1', 'CS', 'LAW'], ['R1', 'CS', 'MED'], ['R1', 'LAW', 'MED']]),\n  ('partial repair guard 3',\n   [[['R1', 'PHYS', 840, 960, 15], ['R1', 'LAW', 780, 840, 30], ['R2', 'MED', 540, 660, 45],\n     ['R2', 'GEO', 840, 900, 30], ['R2', 'ENG', 720, 840, 0]],\n    30],\n   [['R1', 'LAW', 'PHYS'], ['R2', 'ENG', 'GEO']]),\n  ('boundary control 4', [[['R1', 'B', 540, 600, 15], ['R2', 'A', 540, 600, 15]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 700, 15], ['R1', 'A', 600, 620, 15]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6',\n   [[['R2', 'ART', 540, 600, 0], ['R2', 'ENG', 840, 900, 45], ['R2', 'GEO', 720, 810, 15]], 30],\n   [['R2', 'ENG', 'GEO']]),\n  ('normal control 7', [[['R1', 'PHYS', 720, 840, 45], ['R1', 'ART', 840, 960, 30]], 15],\n   [['R1', 'ART', 'PHYS']]),\n  ('normal control 8', [[['R1', 'ENG', 720, 840, 30], ['R2', 'MED', 780, 840, 45]], 30], [])]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"da90d51110ddd4b8f82a7ea7aefd0f111c3c56ed1330a3964ca894bd3ff8929d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(bookings, cleanup):\n    by = {}\n    for r, ex, s, e, setup in bookings:\n        by.setdefault(r, []).append((s - setup, e + cleanup, ex))\n    out = []\n    for r in sorted(by):\n        bs = by[r]\n        for i in range(len(bs)):\n            for j in range(i + 1, len(bs)):\n                a, b = bs[i], bs[j]\n                if a[0] < b[0] < a[1]:\n                    out.append([r] + sorted([a[2], b[2]]))\n    return sorted(out)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: containment overlap 1',\n   [[['R2', 'LAW', 660, 780, 45], ['R1', 'CS', 780, 870, 0], ['R2', 'MED', 660, 750, 45]], 10],\n   [['R2', 'LAW', 'MED']]),\n  ('regression variant: containment overlap 2',\n   [[['R1', 'PHYS', 600, 720, 30], ['R1', 'ENG', 540, 630, 30], ['R2', 'ART', 720, 780, 15]], 10],\n   [['R1', 'ENG', 'PHYS']]),\n  ('partial repair guard 3', [[['R1', 'ART', 720, 840, 45], ['R1', 'CS', 660, 780, 15]], 30],\n   [['R1', 'ART', 'CS']]),\n  ('boundary control 4', [[['R1', 'B', 540, 600, 15], ['R2', 'A', 540, 600, 15]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 700, 15], ['R1', 'A', 600, 620, 15]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6',\n   [[['R2', 'GEO', 600, 720, 45], ['R2', 'LAW', 660, 780, 45], ['R1', 'ART', 780, 900, 45]], 10],\n   [['R2', 'GEO', 'LAW']]),\n  ('normal control 7',\n   [[['R2', 'PHYS', 780, 840, 30], ['R2', 'ENG', 660, 780, 15], ['R2', 'MED', 600, 720, 45],\n     ['R2', 'GEO', 720, 810, 15]],\n    10],\n   [['R2', 'ENG', 'GEO'], ['R2', 'ENG', 'MED'], ['R2', 'ENG', 'PHYS'], ['R2', 'GEO', 'MED'],\n    ['R2', 'GEO', 'PHYS']]),\n  ('normal control 8', [[['R2', 'LAW', 720, 840, 30], ['R1', 'ENG', 720, 840, 15]], 10], [])],\n [('regression: containment overlap 1',\n   [[['R1', 'ENG', 660, 750, 15], ['R2', 'LAW', 660, 750, 0], ['R2', 'PHYS', 780, 900, 0],\n     ['R1', 'ART', 540, 660, 15]],\n    10],\n   [['R1', 'ART', 'ENG']]),\n  ('regression variant: containment overlap 2',\n   [[['R2', 'LAW', 720, 840, 15], ['R2', 'MED', 660, 780, 30], ['R2', 'GEO', 660, 780, 0],\n     ['R2', 'CS', 840, 930, 30], ['R2', 'PHYS', 840, 930, 0]],\n    10],\n   [['R2', 'CS', 'LAW'], ['R2', 'CS', 'PHYS'], ['R2', 'GEO', 'LAW'], ['R2', 'GEO', 'MED'],\n    ['R2', 'LAW', 'MED'], ['R2', 'LAW', 'PHYS']]),\n  ('partial repair guard 3',\n   [[['R1', 'ART', 660, 750, 45], ['R1', 'CS', 840, 900, 30], ['R2', 'ENG', 540, 600, 30],\n     ['R2', 'GEO', 600, 660, 45], ['R2', 'LAW', 540, 630, 45]],\n    15],\n   [['R2', 'ENG', 'GEO'], ['R2', 'ENG', 'LAW'], ['R2', 'GEO', 'LAW']]),\n  ('boundary control 4', [[['R1', 'A', 540, 600, 30], ['R1', 'B', 645, 700, 30]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 600, 45], ['R1', 'A', 610, 700, 0]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6', [[['R1', 'LAW', 600, 720, 45], ['R2', 'ART', 780, 900, 0]], 15], []),\n  ('normal control 7',\n   [[['R2', 'ART', 840, 930, 45], ['R1', 'GEO', 600, 660, 45], ['R1', 'CS', 720, 810, 15],\n     ['R1', 'MED', 720, 840, 15], ['R2', 'ENG', 840, 960, 15]],\n    10],\n   [['R1', 'CS', 'MED'], ['R2', 'ART', 'ENG']]),\n  ('normal control 8',\n   [[['R1', 'MED', 720, 780, 0], ['R2', 'ART', 780, 900, 15], ['R1', 'PHYS', 720, 780, 15],\n     ['R1', 'LAW', 540, 630, 30]],\n    15],\n   [['R1', 'MED', 'PHYS']])],\n [('regression: containment overlap 1',\n   [[['R2', 'CS', 840, 930, 15], ['R2', 'PHYS', 720, 780, 15], ['R2', 'GEO', 660, 720, 15],\n     ['R1', 'ENG', 780, 900, 45], ['R2', 'LAW', 840, 900, 30]],\n    15],\n   [['R2', 'CS', 'LAW'], ['R2', 'GEO', 'PHYS']]),\n  ('regression variant: containment overlap 2',\n   [[['R2', 'PHYS', 720, 810, 15], ['R1', 'MED', 840, 930, 15], ['R1', 'ART', 780, 870, 0],\n     ['R1', 'CS', 840, 960, 15], ['R1', 'ENG', 540, 630, 0]],\n    15],\n   [['R1', 'ART', 'CS'], ['R1', 'ART', 'MED'], ['R1', 'CS', 'MED']]),\n  ('partial repair guard 3',\n   [[['R2', 'ART', 720, 840, 15], ['R2', 'ENG', 600, 660, 30], ['R1', 'MED', 780, 870, 45],\n     ['R1', 'LAW', 720, 840, 45], ['R1', 'PHYS', 660, 720, 30]],\n    30],\n   [['R1', 'LAW', 'MED'], ['R1', 'LAW', 'PHYS'], ['R1', 'MED', 'PHYS']]),\n  ('boundary control 4', [[['R1', 'B', 540, 600, 15], ['R2', 'A', 540, 600, 15]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 700, 15], ['R1', 'A', 600, 620, 15]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6',\n   [[['R1', 'GEO', 540, 660, 15], ['R1', 'PHYS', 600, 660, 15], ['R2', 'LAW', 600, 720, 45],\n     ['R2', 'CS', 660, 720, 0]],\n    30],\n   [['R1', 'GEO', 'PHYS'], ['R2', 'CS', 'LAW']]),\n  ('normal control 7', [[['R2', 'PHYS', 720, 780, 15], ['R2', 'LAW', 540, 630, 30]], 30], []),\n  ('normal control 8',\n   [[['R1', 'MED', 720, 780, 0], ['R2', 'ART', 780, 900, 15], ['R1', 'PHYS', 720, 780, 15],\n     ['R1', 'LAW', 540, 630, 30]],\n    15],\n   [['R1', 'MED', 'PHYS']])],\n [('regression: containment overlap 1',\n   [[['R1', 'CS', 840, 960, 0], ['R2', 'PHYS', 540, 600, 45], ['R2', 'GEO', 720, 780, 0],\n     ['R2', 'ART', 600, 690, 0], ['R2', 'MED', 720, 810, 15]],\n    10],\n   [['R2', 'ART', 'PHYS'], ['R2', 'GEO', 'MED']]),\n  ('regression variant: containment overlap 2',\n   [[['R2', 'ART', 540, 600, 0], ['R2', 'ENG', 840, 900, 45], ['R2', 'GEO', 720, 810, 15]], 30],\n   [['R2', 'ENG', 'GEO']]),\n  ('partial repair guard 3', [[['R2', 'CS', 720, 810, 0], ['R2', 'LAW', 720, 810, 15]], 30],\n   [['R2', 'CS', 'LAW']]),\n  ('boundary control 4', [[['R1', 'A', 540, 600, 30], ['R1', 'B', 645, 700, 30]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 600, 45], ['R1', 'A', 610, 700, 0]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6',\n   [[['R1', 'GEO', 540, 630, 15], ['R1', 'ART', 540, 630, 30], ['R2', 'PHYS', 840, 960, 0],\n     ['R1', 'ENG', 840, 960, 15], ['R2', 'MED', 780, 900, 45]],\n    15],\n   [['R1', 'ART', 'GEO'], ['R2', 'MED', 'PHYS']]),\n  ('normal control 7',\n   [[['R2', 'LAW', 660, 720, 30], ['R1', 'PHYS', 840, 930, 45], ['R2', 'ENG', 780, 870, 45],\n     ['R1', 'GEO', 660, 720, 30]],\n    10],\n   []),\n  ('normal control 8',\n   [[['R2', 'CS', 600, 660, 15], ['R2', 'ART', 720, 810, 45], ['R1', 'GEO', 600, 720, 30],\n     ['R2', 'PHYS', 660, 780, 45], ['R2', 'MED', 600, 660, 0]],\n    10],\n   [['R2', 'ART', 'PHYS'], ['R2', 'CS', 'MED'], ['R2', 'CS', 'PHYS'], ['R2', 'MED', 'PHYS']])],\n [('regression: containment overlap 1',\n   [[['R2', 'CS', 840, 930, 30], ['R1', 'ART', 600, 690, 15], ['R2', 'GEO', 840, 960, 0],\n     ['R2', 'PHYS', 840, 960, 45]],\n    30],\n   [['R2', 'CS', 'GEO'], ['R2', 'CS', 'PHYS'], ['R2', 'GEO', 'PHYS']]),\n  ('regression variant: containment overlap 2',\n   [[['R2', 'ART', 720, 780, 45], ['R1', 'LAW', 660, 750, 0], ['R1', 'CS', 720, 840, 0],\n     ['R1', 'MED', 720, 810, 45]],\n    30],\n   [['R1', 'CS', 'LAW'], ['R1', 'CS', 'MED'], ['R1', 'LAW', 'MED']]),\n  ('partial repair guard 3',\n   [[['R1', 'PHYS', 840, 960, 15], ['R1', 'LAW', 780, 840, 30], ['R2', 'MED', 540, 660, 45],\n     ['R2', 'GEO', 840, 900, 30], ['R2', 'ENG', 720, 840, 0]],\n    30],\n   [['R1', 'LAW', 'PHYS'], ['R2', 'ENG', 'GEO']]),\n  ('boundary control 4', [[['R1', 'B', 540, 600, 15], ['R2', 'A', 540, 600, 15]], 15], []),\n  ('boundary control 5', [[['R1', 'B', 540, 700, 15], ['R1', 'A', 600, 620, 15]], 15], [['R1', 'A', 'B']]),\n  ('normal control 6',\n   [[['R2', 'ART', 540, 600, 0], ['R2', 'ENG', 840, 900, 45], ['R2', 'GEO', 720, 810, 15]], 30],\n   [['R2', 'ENG', 'GEO']]),\n  ('normal control 7', [[['R1', 'PHYS', 720, 840, 45], ['R1', 'ART', 840, 960, 30]], 15],\n   [['R1', 'ART', 'PHYS']]),\n  ('normal control 8', [[['R1', 'ENG', 720, 840, 30], ['R2', 'MED', 780, 840, 45]], 30], [])]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"Stipulated toy exam-timetabling rule set for a bounded model; it does not claim conformance with any institution's regulations or a benchmark specification, and it performs no search or optimisation. 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.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"w2-exam-timetabling-constraints-room-booking-buffers-containment-overlap","generated_at":"2026-09-29T14:52:06.298988+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Exam rooms need setup and clearance time; conflicts must account for both buffers.","root_cause":"The overlap test checks only whether b starts inside a.","sha256":"24867fd3ba0c3920f5822098af16321f78069bd097168faaf29d05aa7c51cba9","title":"Overlap detected only when the second booking starts inside the first · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":41.458,"exit_code":1,"observations":[{"actual":[["R2","LAW","MED"]],"check":"regression: containment overlap 1","expected":[["R2","LAW","MED"]],"passed":true},{"actual":[],"check":"regression variant: containment overlap 2","expected":[["R1","ENG","PHYS"]],"passed":false},{"actual":[],"check":"partial repair guard 3","expected":[["R1","ART","CS"]],"passed":false},{"actual":[],"check":"boundary control 4","expected":[],"passed":true},{"actual":[["R1","A","B"]],"check":"boundary control 5","expected":[["R1","A","B"]],"passed":true},{"actual":[["R2","GEO","LAW"]],"check":"normal control 6","expected":[["R2","GEO","LAW"]],"passed":true},{"actual":[["R2","ENG","GEO"],["R2","GEO","MED"]],"check":"normal control 7","expected":[["R2","ENG","GEO"],["R2","ENG","MED"],["R2","ENG","PHYS"],["R2","GEO","MED"],["R2","GEO","PHYS"]],"passed":false},{"actual":[],"check":"normal control 8","expected":[],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: containment overlap 1\", \"actual\": [[\"R2\", \"LAW\", \"MED\"]], \"expected\": [[\"R2\", \"LAW\", \"MED\"]], \"passed\": true}, {\"check\": \"regression variant: containment overlap 2\", \"actual\": [], \"expected\": [[\"R1\", \"ENG\", \"PHYS\"]], \"passed\": false}, {\"check\": \"partial repair guard 3\", \"actual\": [], \"expected\": [[\"R1\", \"ART\", \"CS\"]], \"passed\": false}, {\"check\": \"boundary control 4\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"boundary control 5\", \"actual\": [[\"R1\", \"A\", \"B\"]], \"expected\": [[\"R1\", \"A\", \"B\"]], \"passed\": true}, {\"check\": \"normal control 6\", \"actual\": [[\"R2\", \"GEO\", \"LAW\"]], \"expected\": [[\"R2\", \"GEO\", \"LAW\"]], \"passed\": true}, {\"check\": \"normal control 7\", \"actual\": [[\"R2\", \"ENG\", \"GEO\"], [\"R2\", \"GEO\", \"MED\"]], \"expected\": [[\"R2\", \"ENG\", \"GEO\"], [\"R2\", \"ENG\", \"MED\"], [\"R2\", \"ENG\", \"PHYS\"], [\"R2\", \"GEO\", \"MED\"], [\"R2\", \"GEO\", \"PHYS\"]], \"passed\": false}, {\"check\": \"normal control 8\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.119,"exit_code":1,"observations":[{"actual":[],"check":"regression: containment overlap 1","expected":[["R2","LAW","MED"]],"passed":false},{"actual":[],"check":"regression variant: containment overlap 2","expected":[["R1","ENG","PHYS"]],"passed":false},{"actual":[],"check":"partial repair guard 3","expected":[["R1","ART","CS"]],"passed":false},{"actual":[],"check":"boundary control 4","expected":[],"passed":true},{"actual":[["R1","A","B"]],"check":"boundary control 5","expected":[["R1","A","B"]],"passed":true},{"actual":[["R2","GEO","LAW"]],"check":"normal control 6","expected":[["R2","GEO","LAW"]],"passed":true},{"actual":[["R2","ENG","GEO"],["R2","GEO","MED"]],"check":"normal control 7","expected":[["R2","ENG","GEO"],["R2","ENG","MED"],["R2","ENG","PHYS"],["R2","GEO","MED"],["R2","GEO","PHYS"]],"passed":false},{"actual":[],"check":"normal control 8","expected":[],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: containment overlap 1\", \"actual\": [], \"expected\": [[\"R2\", \"LAW\", \"MED\"]], \"passed\": false}, {\"check\": \"regression variant: containment overlap 2\", \"actual\": [], \"expected\": [[\"R1\", \"ENG\", \"PHYS\"]], \"passed\": false}, {\"check\": \"partial repair guard 3\", \"actual\": [], \"expected\": [[\"R1\", \"ART\", \"CS\"]], \"passed\": false}, {\"check\": \"boundary control 4\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"boundary control 5\", \"actual\": [[\"R1\", \"A\", \"B\"]], \"expected\": [[\"R1\", \"A\", \"B\"]], \"passed\": true}, {\"check\": \"normal control 6\", \"actual\": [[\"R2\", \"GEO\", \"LAW\"]], \"expected\": [[\"R2\", \"GEO\", \"LAW\"]], \"passed\": true}, {\"check\": \"normal control 7\", \"actual\": [[\"R2\", \"ENG\", \"GEO\"], [\"R2\", \"GEO\", \"MED\"]], \"expected\": [[\"R2\", \"ENG\", \"GEO\"], [\"R2\", \"ENG\", \"MED\"], [\"R2\", \"ENG\", \"PHYS\"], [\"R2\", \"GEO\", \"MED\"], [\"R2\", \"GEO\", \"PHYS\"]], \"passed\": false}, {\"check\": \"normal control 8\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}