{"abstract":"The same conflict appears under different pair orders.","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":"Descending order is not the contract order.","family":"w2-exam-timetabling-constraints-room-booking-buffers-pair-normalisation","id":"FA-94646","implementations":{"attempt":{"sha256":"01bb8734cb40b3110e70d1a1b95f91bea979448fd2b2af8ece37b3e51b90749a","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[1] and b[0] < a[1]:\n                    out.append([r] + sorted([a[2], b[2]], reverse=True))\n    return sorted(out)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: pair normalisation 1', [[['R1', 'B', 540, 700, 15], ['R1', 'A', 600, 620, 15]], 15],\n   [['R1', 'A', 'B']]),\n  ('regression variant: pair normalisation 2',\n   [[['R2', 'PHYS', 720, 780, 15], ['R2', 'GEO', 720, 810, 30], ['R2', 'CS', 540, 630, 30]], 15],\n   [['R2', 'GEO', 'PHYS']]),\n  ('partial repair guard 3',\n   [[['R1', 'ART', 600, 660, 45], ['R1', 'GEO', 840, 930, 15], ['R2', 'MED', 840, 900, 30],\n     ['R1', 'LAW', 600, 720, 0]],\n    15],\n   [['R1', 'ART', 'LAW']]),\n  ('boundary control 4', [[['R1', 'B', 540, 600, 15], ['R2', 'A', 540, 600, 15]], 15], []),\n  ('normal control 5',\n   [[['R2', 'PHYS', 840, 930, 45], ['R1', 'ART', 780, 870, 15], ['R1', 'CS', 840, 960, 0]], 15],\n   [['R1', 'ART', 'CS']]),\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   [[['R1', 'ENG', 660, 720, 15], ['R2', 'GEO', 720, 780, 15], ['R2', 'MED', 780, 870, 45]], 15],\n   [['R2', 'GEO', 'MED']]),\n  ('normal control 8',\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 [('regression: pair normalisation 1', [[['R1', 'B', 540, 600, 45], ['R1', 'A', 610, 700, 0]], 15],\n   [['R1', 'A', 'B']]),\n  ('regression variant: pair normalisation 2',\n   [[['R2', 'PHYS', 540, 630, 0], ['R1', 'CS', 600, 720, 45], ['R2', 'ENG', 600, 720, 0]], 30],\n   [['R2', 'ENG', 'PHYS']]),\n  ('partial repair guard 3',\n   [[['R2', 'GEO', 720, 780, 45], ['R1', 'MED', 660, 720, 30], ['R2', 'CS', 780, 840, 15],\n     ['R2', 'LAW', 780, 900, 30]],\n    10],\n   [['R2', 'CS', 'GEO'], ['R2', 'CS', 'LAW'], ['R2', 'GEO', 'LAW']]),\n  ('boundary control 4', [[['R1', 'A', 540, 600, 30], ['R1', 'B', 645, 700, 30]], 15], []),\n  ('normal control 5', [[['R2', 'PHYS', 720, 780, 30], ['R2', 'GEO', 600, 690, 0]], 30],\n   [['R2', 'GEO', 'PHYS']]),\n  ('normal control 6',\n   [[['R2', 'GEO', 540, 630, 0], ['R1', 'ART', 660, 780, 45], ['R2', 'PHYS', 840, 900, 0],\n     ['R1', 'ENG', 720, 780, 0]],\n    30],\n   [['R1', 'ART', 'ENG']]),\n  ('normal control 7',\n   [[['R2', 'CS', 540, 630, 45], ['R1', 'LAW', 600, 660, 45], ['R2', 'MED', 540, 600, 0],\n     ['R2', 'ENG', 780, 900, 30]],\n    15],\n   [['R2', 'CS', 'MED']]),\n  ('normal control 8',\n   [[['R2', 'GEO', 840, 900, 15], ['R1', 'MED', 780, 900, 30], ['R1', 'CS', 540, 630, 15],\n     ['R2', 'ENG', 540, 600, 45], ['R2', 'ART', 840, 900, 15]],\n    30],\n   [['R2', 'ART', 'GEO']])],\n [('regression: pair normalisation 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: pair normalisation 2',\n   [[['R2', 'ART', 540, 660, 0], ['R1', 'PHYS', 660, 720, 0], ['R1', 'ENG', 600, 720, 30],\n     ['R2', 'GEO', 540, 600, 30]],\n    15],\n   [['R1', 'ENG', 'PHYS'], ['R2', 'ART', 'GEO']]),\n  ('partial repair guard 3',\n   [[['R2', 'PHYS', 720, 780, 15], ['R2', 'GEO', 720, 810, 30], ['R2', 'CS', 540, 630, 30]], 15],\n   [['R2', 'GEO', '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   [[['R2', 'LAW', 780, 900, 15], ['R2', 'CS', 540, 630, 15], ['R1', 'GEO', 840, 960, 45],\n     ['R1', 'ART', 780, 840, 45]],\n    10],\n   [['R1', 'ART', 'GEO']]),\n  ('normal control 7',\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  ('normal control 8',\n   [[['R1', 'CS', 780, 900, 15], ['R2', 'ENG', 720, 780, 15], ['R2', 'GEO', 600, 660, 45],\n     ['R2', 'MED', 600, 720, 15], ['R1', 'PHYS', 600, 690, 30]],\n    10],\n   [['R2', 'ENG', 'MED'], ['R2', 'GEO', 'MED']])],\n [('regression: pair normalisation 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: pair normalisation 2',\n   [[['R2', 'GEO', 540, 600, 45], ['R2', 'ENG', 660, 780, 15], ['R1', 'PHYS', 780, 870, 0],\n     ['R2', 'CS', 600, 660, 0], ['R1', 'ART', 660, 750, 30]],\n    30],\n   [['R2', 'CS', 'ENG'], ['R2', 'CS', 'GEO']]),\n  ('partial repair guard 3',\n   [[['R1', 'GEO', 540, 600, 45], ['R1', 'MED', 540, 600, 45], ['R2', 'LAW', 780, 900, 45]], 30],\n   [['R1', 'GEO', 'MED']]),\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', 'PHYS', 840, 930, 0], ['R2', 'ENG', 600, 720, 30], ['R2', 'CS', 600, 720, 15]], 15],\n   [['R2', 'CS', 'ENG']]),\n  ('normal control 7',\n   [[['R2', 'GEO', 720, 840, 0], ['R1', 'LAW', 840, 930, 0], ['R2', 'PHYS', 540, 660, 0],\n     ['R1', 'ART', 540, 630, 30]],\n    15],\n   []),\n  ('normal control 8',\n   [[['R2', 'CS', 840, 900, 30], ['R1', 'LAW', 840, 960, 30], ['R2', 'ART', 660, 780, 45]], 10], [])],\n [('regression: pair normalisation 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: pair normalisation 2',\n   [[['R2', 'ART', 840, 900, 30], ['R1', 'ENG', 840, 900, 0], ['R2', 'PHYS', 840, 930, 0],\n     ['R1', 'MED', 540, 630, 30], ['R2', 'LAW', 840, 900, 15]],\n    10],\n   [['R2', 'ART', 'LAW'], ['R2', 'ART', 'PHYS'], ['R2', 'LAW', 'PHYS']]),\n  ('partial repair guard 3',\n   [[['R2', 'ART', 660, 720, 45], ['R2', 'PHYS', 720, 840, 30], ['R1', 'ENG', 840, 930, 0],\n     ['R1', 'GEO', 780, 900, 0], ['R1', 'CS', 720, 780, 45]],\n    10],\n   [['R1', 'CS', 'GEO'], ['R1', 'ENG', 'GEO'], ['R2', 'ART', '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', [[['R2', 'MED', 540, 630, 0], ['R1', 'GEO', 660, 750, 45]], 15], []),\n  ('normal control 7',\n   [[['R2', 'ENG', 720, 810, 15], ['R2', 'CS', 780, 900, 0], ['R2', 'GEO', 540, 630, 45],\n     ['R1', 'PHYS', 600, 660, 30], ['R1', 'LAW', 600, 720, 0]],\n    30],\n   [['R1', 'LAW', 'PHYS'], ['R2', 'CS', 'ENG']]),\n  ('normal control 8', [[['R1', 'LAW', 600, 660, 30], ['R1', 'PHYS', 600, 660, 45]], 30],\n   [['R1', 'LAW', 'PHYS']])]]\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":"a3a5c34d8489b00cd2efc827fb5b78e40ba40f36622fb24976b552684e334a31","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[1] and b[0] < a[1]:\n                    out.append([r, 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: pair normalisation 1', [[['R1', 'B', 540, 700, 15], ['R1', 'A', 600, 620, 15]], 15],\n   [['R1', 'A', 'B']]),\n  ('regression variant: pair normalisation 2',\n   [[['R2', 'PHYS', 720, 780, 15], ['R2', 'GEO', 720, 810, 30], ['R2', 'CS', 540, 630, 30]], 15],\n   [['R2', 'GEO', 'PHYS']]),\n  ('partial repair guard 3',\n   [[['R1', 'ART', 600, 660, 45], ['R1', 'GEO', 840, 930, 15], ['R2', 'MED', 840, 900, 30],\n     ['R1', 'LAW', 600, 720, 0]],\n    15],\n   [['R1', 'ART', 'LAW']]),\n  ('boundary control 4', [[['R1', 'B', 540, 600, 15], ['R2', 'A', 540, 600, 15]], 15], []),\n  ('normal control 5',\n   [[['R2', 'PHYS', 840, 930, 45], ['R1', 'ART', 780, 870, 15], ['R1', 'CS', 840, 960, 0]], 15],\n   [['R1', 'ART', 'CS']]),\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   [[['R1', 'ENG', 660, 720, 15], ['R2', 'GEO', 720, 780, 15], ['R2', 'MED', 780, 870, 45]], 15],\n   [['R2', 'GEO', 'MED']]),\n  ('normal control 8',\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 [('regression: pair normalisation 1', [[['R1', 'B', 540, 600, 45], ['R1', 'A', 610, 700, 0]], 15],\n   [['R1', 'A', 'B']]),\n  ('regression variant: pair normalisation 2',\n   [[['R2', 'PHYS', 540, 630, 0], ['R1', 'CS', 600, 720, 45], ['R2', 'ENG', 600, 720, 0]], 30],\n   [['R2', 'ENG', 'PHYS']]),\n  ('partial repair guard 3',\n   [[['R2', 'GEO', 720, 780, 45], ['R1', 'MED', 660, 720, 30], ['R2', 'CS', 780, 840, 15],\n     ['R2', 'LAW', 780, 900, 30]],\n    10],\n   [['R2', 'CS', 'GEO'], ['R2', 'CS', 'LAW'], ['R2', 'GEO', 'LAW']]),\n  ('boundary control 4', [[['R1', 'A', 540, 600, 30], ['R1', 'B', 645, 700, 30]], 15], []),\n  ('normal control 5', [[['R2', 'PHYS', 720, 780, 30], ['R2', 'GEO', 600, 690, 0]], 30],\n   [['R2', 'GEO', 'PHYS']]),\n  ('normal control 6',\n   [[['R2', 'GEO', 540, 630, 0], ['R1', 'ART', 660, 780, 45], ['R2', 'PHYS', 840, 900, 0],\n     ['R1', 'ENG', 720, 780, 0]],\n    30],\n   [['R1', 'ART', 'ENG']]),\n  ('normal control 7',\n   [[['R2', 'CS', 540, 630, 45], ['R1', 'LAW', 600, 660, 45], ['R2', 'MED', 540, 600, 0],\n     ['R2', 'ENG', 780, 900, 30]],\n    15],\n   [['R2', 'CS', 'MED']]),\n  ('normal control 8',\n   [[['R2', 'GEO', 840, 900, 15], ['R1', 'MED', 780, 900, 30], ['R1', 'CS', 540, 630, 15],\n     ['R2', 'ENG', 540, 600, 45], ['R2', 'ART', 840, 900, 15]],\n    30],\n   [['R2', 'ART', 'GEO']])],\n [('regression: pair normalisation 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: pair normalisation 2',\n   [[['R2', 'ART', 540, 660, 0], ['R1', 'PHYS', 660, 720, 0], ['R1', 'ENG', 600, 720, 30],\n     ['R2', 'GEO', 540, 600, 30]],\n    15],\n   [['R1', 'ENG', 'PHYS'], ['R2', 'ART', 'GEO']]),\n  ('partial repair guard 3',\n   [[['R2', 'PHYS', 720, 780, 15], ['R2', 'GEO', 720, 810, 30], ['R2', 'CS', 540, 630, 30]], 15],\n   [['R2', 'GEO', '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   [[['R2', 'LAW', 780, 900, 15], ['R2', 'CS', 540, 630, 15], ['R1', 'GEO', 840, 960, 45],\n     ['R1', 'ART', 780, 840, 45]],\n    10],\n   [['R1', 'ART', 'GEO']]),\n  ('normal control 7',\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  ('normal control 8',\n   [[['R1', 'CS', 780, 900, 15], ['R2', 'ENG', 720, 780, 15], ['R2', 'GEO', 600, 660, 45],\n     ['R2', 'MED', 600, 720, 15], ['R1', 'PHYS', 600, 690, 30]],\n    10],\n   [['R2', 'ENG', 'MED'], ['R2', 'GEO', 'MED']])],\n [('regression: pair normalisation 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: pair normalisation 2',\n   [[['R2', 'GEO', 540, 600, 45], ['R2', 'ENG', 660, 780, 15], ['R1', 'PHYS', 780, 870, 0],\n     ['R2', 'CS', 600, 660, 0], ['R1', 'ART', 660, 750, 30]],\n    30],\n   [['R2', 'CS', 'ENG'], ['R2', 'CS', 'GEO']]),\n  ('partial repair guard 3',\n   [[['R1', 'GEO', 540, 600, 45], ['R1', 'MED', 540, 600, 45], ['R2', 'LAW', 780, 900, 45]], 30],\n   [['R1', 'GEO', 'MED']]),\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', 'PHYS', 840, 930, 0], ['R2', 'ENG', 600, 720, 30], ['R2', 'CS', 600, 720, 15]], 15],\n   [['R2', 'CS', 'ENG']]),\n  ('normal control 7',\n   [[['R2', 'GEO', 720, 840, 0], ['R1', 'LAW', 840, 930, 0], ['R2', 'PHYS', 540, 660, 0],\n     ['R1', 'ART', 540, 630, 30]],\n    15],\n   []),\n  ('normal control 8',\n   [[['R2', 'CS', 840, 900, 30], ['R1', 'LAW', 840, 960, 30], ['R2', 'ART', 660, 780, 45]], 10], [])],\n [('regression: pair normalisation 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: pair normalisation 2',\n   [[['R2', 'ART', 840, 900, 30], ['R1', 'ENG', 840, 900, 0], ['R2', 'PHYS', 840, 930, 0],\n     ['R1', 'MED', 540, 630, 30], ['R2', 'LAW', 840, 900, 15]],\n    10],\n   [['R2', 'ART', 'LAW'], ['R2', 'ART', 'PHYS'], ['R2', 'LAW', 'PHYS']]),\n  ('partial repair guard 3',\n   [[['R2', 'ART', 660, 720, 45], ['R2', 'PHYS', 720, 840, 30], ['R1', 'ENG', 840, 930, 0],\n     ['R1', 'GEO', 780, 900, 0], ['R1', 'CS', 720, 780, 45]],\n    10],\n   [['R1', 'CS', 'GEO'], ['R1', 'ENG', 'GEO'], ['R2', 'ART', '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', [[['R2', 'MED', 540, 630, 0], ['R1', 'GEO', 660, 750, 45]], 15], []),\n  ('normal control 7',\n   [[['R2', 'ENG', 720, 810, 15], ['R2', 'CS', 780, 900, 0], ['R2', 'GEO', 540, 630, 45],\n     ['R1', 'PHYS', 600, 660, 30], ['R1', 'LAW', 600, 720, 0]],\n    30],\n   [['R1', 'LAW', 'PHYS'], ['R2', 'CS', 'ENG']]),\n  ('normal control 8', [[['R1', 'LAW', 600, 660, 30], ['R1', 'PHYS', 600, 660, 45]], 30],\n   [['R1', 'LAW', 'PHYS']])]]\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-pair-normalisation","generated_at":"2026-09-29T14:52:06.301730+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":"Exam pairs are not normalised.","sha256":"2b453c06644d92a5d3c7bff169df371a0c5082d2d09189385cad66f2272a4c0b","title":"Conflict pair reported in booking order · 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":40.286,"exit_code":1,"observations":[{"actual":[["R1","B","A"]],"check":"regression: pair normalisation 1","expected":[["R1","A","B"]],"passed":false},{"actual":[["R2","PHYS","GEO"]],"check":"regression variant: pair normalisation 2","expected":[["R2","GEO","PHYS"]],"passed":false},{"actual":[["R1","LAW","ART"]],"check":"partial repair guard 3","expected":[["R1","ART","LAW"]],"passed":false},{"actual":[],"check":"boundary control 4","expected":[],"passed":true},{"actual":[["R1","CS","ART"]],"check":"normal control 5","expected":[["R1","ART","CS"]],"passed":false},{"actual":[["R2","LAW","GEO"]],"check":"normal control 6","expected":[["R2","GEO","LAW"]],"passed":false},{"actual":[["R2","MED","GEO"]],"check":"normal control 7","expected":[["R2","GEO","MED"]],"passed":false},{"actual":[["R1","LAW","CS"],["R1","MED","CS"],["R1","MED","LAW"]],"check":"normal control 8","expected":[["R1","CS","LAW"],["R1","CS","MED"],["R1","LAW","MED"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: pair normalisation 1\", \"actual\": [[\"R1\", \"B\", \"A\"]], \"expected\": [[\"R1\", \"A\", \"B\"]], \"passed\": false}, {\"check\": \"regression variant: pair normalisation 2\", \"actual\": [[\"R2\", \"PHYS\", \"GEO\"]], \"expected\": [[\"R2\", \"GEO\", \"PHYS\"]], \"passed\": false}, {\"check\": \"partial repair guard 3\", \"actual\": [[\"R1\", \"LAW\", \"ART\"]], \"expected\": [[\"R1\", \"ART\", \"LAW\"]], \"passed\": false}, {\"check\": \"boundary control 4\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"normal control 5\", \"actual\": [[\"R1\", \"CS\", \"ART\"]], \"expected\": [[\"R1\", \"ART\", \"CS\"]], \"passed\": false}, {\"check\": \"normal control 6\", \"actual\": [[\"R2\", \"LAW\", \"GEO\"]], \"expected\": [[\"R2\", \"GEO\", \"LAW\"]], \"passed\": false}, {\"check\": \"normal control 7\", \"actual\": [[\"R2\", \"MED\", \"GEO\"]], \"expected\": [[\"R2\", \"GEO\", \"MED\"]], \"passed\": false}, {\"check\": \"normal control 8\", \"actual\": [[\"R1\", \"LAW\", \"CS\"], [\"R1\", \"MED\", \"CS\"], [\"R1\", \"MED\", \"LAW\"]], \"expected\": [[\"R1\", \"CS\", \"LAW\"], [\"R1\", \"CS\", \"MED\"], [\"R1\", \"LAW\", \"MED\"]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.692,"exit_code":1,"observations":[{"actual":[["R1","B","A"]],"check":"regression: pair normalisation 1","expected":[["R1","A","B"]],"passed":false},{"actual":[["R2","PHYS","GEO"]],"check":"regression variant: pair normalisation 2","expected":[["R2","GEO","PHYS"]],"passed":false},{"actual":[["R1","ART","LAW"]],"check":"partial repair guard 3","expected":[["R1","ART","LAW"]],"passed":true},{"actual":[],"check":"boundary control 4","expected":[],"passed":true},{"actual":[["R1","ART","CS"]],"check":"normal control 5","expected":[["R1","ART","CS"]],"passed":true},{"actual":[["R2","GEO","LAW"]],"check":"normal control 6","expected":[["R2","GEO","LAW"]],"passed":true},{"actual":[["R2","GEO","MED"]],"check":"normal control 7","expected":[["R2","GEO","MED"]],"passed":true},{"actual":[["R1","CS","MED"],["R1","LAW","CS"],["R1","LAW","MED"]],"check":"normal control 8","expected":[["R1","CS","LAW"],["R1","CS","MED"],["R1","LAW","MED"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: pair normalisation 1\", \"actual\": [[\"R1\", \"B\", \"A\"]], \"expected\": [[\"R1\", \"A\", \"B\"]], \"passed\": false}, {\"check\": \"regression variant: pair normalisation 2\", \"actual\": [[\"R2\", \"PHYS\", \"GEO\"]], \"expected\": [[\"R2\", \"GEO\", \"PHYS\"]], \"passed\": false}, {\"check\": \"partial repair guard 3\", \"actual\": [[\"R1\", \"ART\", \"LAW\"]], \"expected\": [[\"R1\", \"ART\", \"LAW\"]], \"passed\": true}, {\"check\": \"boundary control 4\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"normal control 5\", \"actual\": [[\"R1\", \"ART\", \"CS\"]], \"expected\": [[\"R1\", \"ART\", \"CS\"]], \"passed\": true}, {\"check\": \"normal control 6\", \"actual\": [[\"R2\", \"GEO\", \"LAW\"]], \"expected\": [[\"R2\", \"GEO\", \"LAW\"]], \"passed\": true}, {\"check\": \"normal control 7\", \"actual\": [[\"R2\", \"GEO\", \"MED\"]], \"expected\": [[\"R2\", \"GEO\", \"MED\"]], \"passed\": true}, {\"check\": \"normal control 8\", \"actual\": [[\"R1\", \"CS\", \"MED\"], [\"R1\", \"LAW\", \"CS\"], [\"R1\", \"LAW\", \"MED\"]], \"expected\": [[\"R1\", \"CS\", \"LAW\"], [\"R1\", \"CS\", \"MED\"], [\"R1\", \"LAW\", \"MED\"]], \"passed\": false}], \"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."}}