{"abstract":"Pairs with the later exam first produce negative distances and are ignored.","category":"Exam timetabling constraints","checks":8,"contract":"Periods are numbered consecutively with spd slots per day (day = p // spd). For each student and each pair of their distinct exams: same day and adjacent periods counts two-in-a-row; same day and further apart counts two-in-a-day (same-period clashes count neither); periods 1..spread apart count period spread regardless of day. w = [row weight, day weight, spread]. Return [row, day, spread count, weighted total].","evaluation_group":"w2-exam-timetabling-constraints-same-day-proximity-counts","failed_approach":"Descending order makes every distance negative.","family":"w2-exam-timetabling-constraints-same-day-proximity-counts-period-sort","id":"FA-94381","implementations":{"attempt":{"sha256":"92b7f661773ba6342600566921c64324aeb1ccad0ac52a9084d11adde01e482d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(enrol, period, spd, w):\n    wr, wd, spread = w\n    by = {}\n    for st, ex in enrol:\n        by.setdefault(st, set()).add(ex)\n    row = day = spr = 0\n    for st in by:\n        ps = sorted((period[e] for e in by[st]), reverse=True)\n        for i in range(len(ps)):\n            for j in range(i + 1, len(ps)):\n                a, b = ps[i], ps[j]\n                if a // spd == b // spd:\n                    if b - a == 1:\n                        row += 1\n                    elif b - a > 1:\n                        day += 1\n                if 0 < b - a <= spread:\n                    spr += 1\n    return [row, day, spr, row * wr + day * wd + spr]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: period sort 1',\n   [[['s1', 'ECON150'], ['s2', 'MATH101'], ['s2', 'PHYS110'], ['s3', 'CHEM120'], ['s2', 'HIST140'],\n     ['s1', 'ECON150'], ['s2', 'BIO130']],\n    {'MATH101': 4, 'MATH101H': 0, 'PHYS110': 3, 'CHEM120': 4, 'BIO130': 3, 'HIST140': 1, 'ECON150': 2}, 2,\n    [10, 3, 2]],\n   [0, 0, 4, 4]),\n  ('regression variant: period sort 2',\n   [[['s1', 'CHEM120'], ['s1', 'MATH101']],\n    {'MATH101': 6, 'MATH101H': 1, 'PHYS110': 5, 'CHEM120': 7, 'BIO130': 5, 'HIST140': 7, 'ECON150': 8}, 3,\n    [10, 1, 1]],\n   [1, 0, 1, 11]),\n  ('partial repair guard 3',\n   [[['s5', 'BIO130'], ['s1', 'HIST140'], ['s5', 'PHYS110'], ['s1', 'BIO130'], ['s1', 'HIST140'],\n     ['s5', 'ECON150']],\n    {'MATH101': 5, 'MATH101H': 3, 'PHYS110': 4, 'CHEM120': 2, 'BIO130': 0, 'HIST140': 0, 'ECON150': 3}, 2,\n    [10, 3, 1]],\n   [0, 0, 1, 1]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 0, 'PHYS110': 2}, 3, [10, 2, 2]], [0, 1, 1, 3]),\n  ('normal control 5',\n   [[['s4', 'MATH101H'], ['s4', 'MATH101'], ['s5', 'MATH101'], ['s4', 'ECON150'], ['s4', 'PHYS110']],\n    {'MATH101': 7, 'MATH101H': 4, 'PHYS110': 7, 'CHEM120': 3, 'BIO130': 7, 'HIST140': 2, 'ECON150': 3}, 3,\n    [10, 2, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 6',\n   [[['s2', 'CHEM120'], ['s2', 'PHYS110'], ['s2', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'MATH101'],\n     ['s3', 'PHYS110']],\n    {'MATH101': 1, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 5, 'BIO130': 2, 'HIST140': 6, 'ECON150': 5}, 4,\n    [5, 1, 2]],\n   [2, 0, 2, 12]),\n  ('normal control 7',\n   [[['s2', 'HIST140'], ['s4', 'MATH101'], ['s2', 'HIST140'], ['s2', 'MATH101H'], ['s2', 'PHYS110'],\n     ['s4', 'CHEM120'], ['s2', 'ECON150']],\n    {'MATH101': 2, 'MATH101H': 1, 'PHYS110': 3, 'CHEM120': 2, 'BIO130': 0, 'HIST140': 5, 'ECON150': 3}, 2,\n    [10, 2, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 8',\n   [[['s5', 'ECON150']],\n    {'MATH101': 5, 'MATH101H': 1, 'PHYS110': 2, 'CHEM120': 3, 'BIO130': 2, 'HIST140': 0, 'ECON150': 5}, 2,\n    [10, 3, 1]],\n   [0, 0, 0, 0])],\n [('regression: period sort 1',\n   [[['s2', 'HIST140'], ['s1', 'PHYS110'], ['s1', 'BIO130'], ['s2', 'BIO130'], ['s1', 'HIST140'],\n     ['s2', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'BIO130']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 6, 'CHEM120': 4, 'BIO130': 1, 'HIST140': 7, 'ECON150': 8}, 3,\n    [5, 2, 4]],\n   [2, 0, 2, 12]),\n  ('regression variant: period sort 2',\n   [[['s4', 'MATH101'], ['s2', 'HIST140'], ['s1', 'PHYS110'], ['s3', 'PHYS110'], ['s4', 'CHEM120'],\n     ['s3', 'ECON150'], ['s3', 'BIO130'], ['s1', 'MATH101H'], ['s2', 'PHYS110'], ['s3', 'PHYS110'],\n     ['s5', 'HIST140'], ['s1', 'CHEM120'], ['s1', 'ECON150'], ['s4', 'MATH101H'], ['s3', 'MATH101'],\n     ['s4', 'PHYS110']],\n    {'MATH101': 9, 'MATH101H': 7, 'PHYS110': 11, 'CHEM120': 8, 'BIO130': 0, 'HIST140': 7, 'ECON150': 0}, 4,\n    [10, 1, 2]],\n   [1, 4, 6, 20]),\n  ('partial repair guard 3',\n   [[['s5', 'MATH101H'], ['s1', 'CHEM120'], ['s4', 'MATH101'], ['s5', 'HIST140'], ['s1', 'ECON150'],\n     ['s4', 'BIO130'], ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 0, 'BIO130': 4, 'HIST140': 7, 'ECON150': 5}, 3,\n    [10, 3, 4]],\n   [2, 0, 3, 23]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 2, 'PHYS110': 3}, 4, [10, 2, 2]], [1, 0, 1, 11]),\n  ('normal control 5',\n   [[['s2', 'HIST140'], ['s2', 'HIST140']],\n    {'MATH101': 3, 'MATH101H': 5, 'PHYS110': 3, 'CHEM120': 8, 'BIO130': 5, 'HIST140': 4, 'ECON150': 3}, 3,\n    [5, 3, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 6',\n   [[['s4', 'PHYS110'], ['s5', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'PHYS110'], ['s4', 'MATH101'],\n     ['s4', 'MATH101'], ['s2', 'HIST140']],\n    {'MATH101': 5, 'MATH101H': 4, 'PHYS110': 4, 'CHEM120': 5, 'BIO130': 4, 'HIST140': 4, 'ECON150': 2}, 2,\n    [5, 2, 2]],\n   [3, 0, 3, 18]),\n  ('normal control 7',\n   [[['s1', 'ECON150'], ['s4', 'HIST140'], ['s1', 'PHYS110'], ['s1', 'MATH101'], ['s5', 'MATH101'],\n     ['s1', 'BIO130'], ['s5', 'MATH101H']],\n    {'MATH101': 7, 'MATH101H': 6, 'PHYS110': 2, 'CHEM120': 2, 'BIO130': 4, 'HIST140': 6, 'ECON150': 0}, 4,\n    [5, 2, 4]],\n   [1, 2, 5, 14]),\n  ('normal control 8',\n   [[['s3', 'HIST140'], ['s5', 'CHEM120'], ['s5', 'MATH101H'], ['s5', 'MATH101'], ['s4', 'CHEM120'],\n     ['s5', 'CHEM120'], ['s4', 'BIO130'], ['s5', 'BIO130']],\n    {'MATH101': 0, 'MATH101H': 7, 'PHYS110': 3, 'CHEM120': 2, 'BIO130': 3, 'HIST140': 7, 'ECON150': 4}, 3,\n    [10, 2, 2]],\n   [0, 1, 3, 5])],\n [('regression: period sort 1',\n   [[['s3', 'HIST140'], ['s5', 'BIO130'], ['s3', 'BIO130'], ['s3', 'ECON150'], ['s3', 'PHYS110'],\n     ['s4', 'ECON150'], ['s4', 'CHEM120']],\n    {'MATH101': 9, 'MATH101H': 6, 'PHYS110': 0, 'CHEM120': 4, 'BIO130': 8, 'HIST140': 1, 'ECON150': 10}, 4,\n    [5, 3, 2]],\n   [1, 1, 2, 10]),\n  ('regression variant: period sort 2',\n   [[['s2', 'ECON150'], ['s2', 'ECON150'], ['s2', 'MATH101H'], ['s4', 'PHYS110'], ['s4', 'HIST140'],\n     ['s2', 'BIO130'], ['s2', 'CHEM120']],\n    {'MATH101': 11, 'MATH101H': 1, 'PHYS110': 4, 'CHEM120': 11, 'BIO130': 1, 'HIST140': 10, 'ECON150': 9}, 4,\n    [5, 3, 1]],\n   [0, 1, 0, 3]),\n  ('partial repair guard 3',\n   [[['s5', 'HIST140'], ['s5', 'ECON150'], ['s5', 'BIO130'], ['s5', 'BIO130'], ['s1', 'MATH101H']],\n    {'MATH101': 6, 'MATH101H': 11, 'PHYS110': 0, 'CHEM120': 2, 'BIO130': 1, 'HIST140': 11, 'ECON150': 3}, 4,\n    [5, 3, 1]],\n   [0, 1, 0, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 0, 'PHYS110': 4}, 3, [10, 2, 4]], [0, 0, 1, 1]),\n  ('normal control 5',\n   [[['s2', 'HIST140'], ['s1', 'CHEM120'], ['s1', 'ECON150'], ['s1', 'MATH101'], ['s2', 'ECON150'],\n     ['s4', 'BIO130'], ['s4', 'PHYS110'], ['s4', 'MATH101'], ['s4', 'ECON150'], ['s1', 'MATH101H'],\n     ['s3', 'PHYS110']],\n    {'MATH101': 8, 'MATH101H': 7, 'PHYS110': 6, 'CHEM120': 3, 'BIO130': 8, 'HIST140': 1, 'ECON150': 1}, 3,\n    [10, 1, 2]],\n   [1, 2, 4, 16]),\n  ('normal control 6',\n   [[['s4', 'CHEM120'], ['s4', 'PHYS110'], ['s4', 'BIO130'], ['s4', 'MATH101'], ['s1', 'BIO130']],\n    {'MATH101': 8, 'MATH101H': 3, 'PHYS110': 6, 'CHEM120': 9, 'BIO130': 6, 'HIST140': 9, 'ECON150': 1}, 4,\n    [10, 1, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 7',\n   [[['s3', 'ECON150'], ['s1', 'BIO130'], ['s3', 'MATH101H'], ['s3', 'PHYS110'], ['s2', 'BIO130'],\n     ['s2', 'PHYS110'], ['s3', 'PHYS110'], ['s2', 'HIST140']],\n    {'MATH101': 11, 'MATH101H': 3, 'PHYS110': 8, 'CHEM120': 8, 'BIO130': 8, 'HIST140': 1, 'ECON150': 7}, 4,\n    [10, 3, 1]],\n   [0, 0, 1, 1]),\n  ('normal control 8',\n   [[['s4', 'PHYS110'], ['s5', 'CHEM120'], ['s1', 'PHYS110'], ['s5', 'BIO130'], ['s3', 'CHEM120'],\n     ['s5', 'ECON150'], ['s4', 'ECON150'], ['s4', 'MATH101H'], ['s5', 'MATH101'], ['s1', 'ECON150']],\n    {'MATH101': 4, 'MATH101H': 0, 'PHYS110': 5, 'CHEM120': 1, 'BIO130': 5, 'HIST140': 1, 'ECON150': 4}, 2,\n    [10, 3, 1]],\n   [4, 0, 4, 44])],\n [('regression: period sort 1',\n   [[['s5', 'CHEM120'], ['s1', 'ECON150'], ['s5', 'BIO130'], ['s5', 'HIST140'], ['s1', 'PHYS110'],\n     ['s4', 'PHYS110'], ['s5', 'MATH101H'], ['s2', 'MATH101H'], ['s3', 'CHEM120'], ['s5', 'BIO130'],\n     ['s3', 'BIO130'], ['s3', 'MATH101H'], ['s4', 'HIST140'], ['s2', 'BIO130'], ['s4', 'MATH101'],\n     ['s3', 'MATH101'], ['s2', 'PHYS110']],\n    {'MATH101': 0, 'MATH101H': 2, 'PHYS110': 0, 'CHEM120': 5, 'BIO130': 1, 'HIST140': 3, 'ECON150': 5}, 2,\n    [10, 3, 4]],\n   [3, 0, 16, 46]),\n  ('regression variant: period sort 2',\n   [[['s4', 'HIST140'], ['s5', 'ECON150'], ['s3', 'ECON150'], ['s4', 'BIO130'], ['s1', 'HIST140'],\n     ['s2', 'MATH101H'], ['s5', 'HIST140'], ['s1', 'PHYS110'], ['s4', 'ECON150'], ['s2', 'BIO130'],\n     ['s5', 'PHYS110'], ['s1', 'BIO130'], ['s2', 'PHYS110'], ['s4', 'MATH101'], ['s2', 'HIST140'],\n     ['s5', 'BIO130']],\n    {'MATH101': 1, 'MATH101H': 1, 'PHYS110': 5, 'CHEM120': 1, 'BIO130': 1, 'HIST140': 3, 'ECON150': 0}, 2,\n    [10, 3, 1]],\n   [3, 0, 3, 33]),\n  ('partial repair guard 3',\n   [[['s3', 'HIST140'], ['s3', 'BIO130'], ['s3', 'HIST140'], ['s3', 'ECON150'], ['s5', 'ECON150'],\n     ['s5', 'BIO130']],\n    {'MATH101': 10, 'MATH101H': 7, 'PHYS110': 0, 'CHEM120': 0, 'BIO130': 3, 'HIST140': 11, 'ECON150': 8}, 4,\n    [10, 3, 1]],\n   [0, 1, 0, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 1, 'PHYS110': 1}, 3, [10, 2, 2]], [0, 0, 0, 0]),\n  ('normal control 5',\n   [[['s1', 'HIST140'], ['s1', 'HIST140'], ['s3', 'CHEM120'], ['s3', 'MATH101H'], ['s1', 'MATH101'],\n     ['s3', 'BIO130'], ['s3', 'HIST140']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 2, 'CHEM120': 6, 'BIO130': 0, 'HIST140': 4, 'ECON150': 2}, 3,\n    [10, 3, 2]],\n   [1, 0, 3, 13]),\n  ('normal control 6',\n   [[['s1', 'HIST140'], ['s1', 'MATH101'], ['s1', 'HIST140']],\n    {'MATH101': 2, 'MATH101H': 6, 'PHYS110': 7, 'CHEM120': 6, 'BIO130': 0, 'HIST140': 0, 'ECON150': 4}, 3,\n    [5, 1, 4]],\n   [0, 1, 1, 2]),\n  ('normal control 7',\n   [[['s3', 'ECON150'], ['s2', 'ECON150'], ['s3', 'MATH101'], ['s4', 'PHYS110'], ['s2', 'MATH101'],\n     ['s3', 'HIST140'], ['s2', 'CHEM120']],\n    {'MATH101': 4, 'MATH101H': 5, 'PHYS110': 4, 'CHEM120': 3, 'BIO130': 3, 'HIST140': 2, 'ECON150': 2}, 2,\n    [10, 3, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 8',\n   [[['s1', 'CHEM120'], ['s2', 'BIO130'], ['s3', 'MATH101H'], ['s3', 'CHEM120'], ['s5', 'MATH101'],\n     ['s5', 'HIST140'], ['s3', 'ECON150'], ['s2', 'HIST140'], ['s3', 'MATH101'], ['s4', 'ECON150']],\n    {'MATH101': 9, 'MATH101H': 8, 'PHYS110': 4, 'CHEM120': 6, 'BIO130': 1, 'HIST140': 7, 'ECON150': 5}, 4,\n    [5, 1, 2]],\n   [2, 0, 4, 14])],\n [('regression: period sort 1',\n   [[['s5', 'MATH101H'], ['s1', 'CHEM120'], ['s4', 'MATH101'], ['s5', 'HIST140'], ['s1', 'ECON150'],\n     ['s4', 'BIO130'], ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 0, 'BIO130': 4, 'HIST140': 7, 'ECON150': 5}, 3,\n    [10, 3, 4]],\n   [2, 0, 3, 23]),\n  ('regression variant: period sort 2',\n   [[['s1', 'BIO130'], ['s2', 'MATH101'], ['s3', 'PHYS110'], ['s3', 'HIST140'], ['s1', 'MATH101H'],\n     ['s2', 'BIO130'], ['s3', 'MATH101H'], ['s1', 'CHEM120'], ['s3', 'CHEM120'], ['s2', 'MATH101H'],\n     ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 1, 'PHYS110': 0, 'CHEM120': 1, 'BIO130': 2, 'HIST140': 4, 'ECON150': 0}, 2,\n    [5, 1, 4]],\n   [4, 0, 13, 33]),\n  ('partial repair guard 3',\n   [[['s3', 'CHEM120'], ['s1', 'MATH101'], ['s3', 'HIST140'], ['s1', 'BIO130'], ['s1', 'PHYS110'],\n     ['s2', 'BIO130'], ['s4', 'BIO130'], ['s3', 'PHYS110'], ['s1', 'CHEM120'], ['s2', 'HIST140']],\n    {'MATH101': 3, 'MATH101H': 11, 'PHYS110': 3, 'CHEM120': 3, 'BIO130': 8, 'HIST140': 5, 'ECON150': 0}, 4,\n    [10, 3, 4]],\n   [0, 0, 3, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 2, 'PHYS110': 3}, 3, [10, 2, 2]], [0, 0, 1, 1]),\n  ('normal control 5',\n   [[['s2', 'BIO130'], ['s1', 'PHYS110'], ['s4', 'ECON150'], ['s5', 'ECON150'], ['s5', 'BIO130'],\n     ['s5', 'MATH101'], ['s2', 'CHEM120'], ['s4', 'MATH101'], ['s2', 'HIST140'], ['s1', 'BIO130'],\n     ['s5', 'CHEM120'], ['s4', 'HIST140'], ['s1', 'HIST140'], ['s1', 'MATH101']],\n    {'MATH101': 9, 'MATH101H': 11, 'PHYS110': 11, 'CHEM120': 9, 'BIO130': 1, 'HIST140': 5, 'ECON150': 11}, 4,\n    [10, 1, 4]],\n   [0, 4, 9, 13]),\n  ('normal control 6',\n   [[['s3', 'MATH101'], ['s4', 'HIST140'], ['s1', 'HIST140'], ['s3', 'PHYS110'], ['s4', 'MATH101H'],\n     ['s1', 'BIO130'], ['s2', 'MATH101H'], ['s2', 'BIO130']],\n    {'MATH101': 0, 'MATH101H': 6, 'PHYS110': 4, 'CHEM120': 0, 'BIO130': 7, 'HIST140': 1, 'ECON150': 5}, 3,\n    [5, 3, 2]],\n   [1, 0, 1, 6]),\n  ('normal control 7',\n   [[['s1', 'HIST140'], ['s1', 'MATH101']],\n    {'MATH101': 0, 'MATH101H': 1, 'PHYS110': 7, 'CHEM120': 1, 'BIO130': 1, 'HIST140': 3, 'ECON150': 8}, 3,\n    [10, 2, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 8',\n   [[['s5', 'CHEM120'], ['s5', 'PHYS110'], ['s3', 'PHYS110'], ['s1', 'MATH101H'], ['s3', 'ECON150'],\n     ['s1', 'HIST140'], ['s5', 'ECON150'], ['s5', 'MATH101H'], ['s1', 'ECON150']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 7, 'CHEM120': 4, 'BIO130': 3, 'HIST140': 9, 'ECON150': 6}, 4,\n    [5, 1, 1]],\n   [4, 3, 4, 27])]]\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":"8ef8dbfd9c9b5f893dbaf3c1813aa4bcd759f9f17d4ffe66e370db24215d7054","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(enrol, period, spd, w):\n    wr, wd, spread = w\n    by = {}\n    for st, ex in enrol:\n        by.setdefault(st, set()).add(ex)\n    row = day = spr = 0\n    for st in by:\n        ps = [period[e] for e in sorted(by[st])]\n        for i in range(len(ps)):\n            for j in range(i + 1, len(ps)):\n                a, b = ps[i], ps[j]\n                if a // spd == b // spd:\n                    if b - a == 1:\n                        row += 1\n                    elif b - a > 1:\n                        day += 1\n                if 0 < b - a <= spread:\n                    spr += 1\n    return [row, day, spr, row * wr + day * wd + spr]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: period sort 1',\n   [[['s1', 'ECON150'], ['s2', 'MATH101'], ['s2', 'PHYS110'], ['s3', 'CHEM120'], ['s2', 'HIST140'],\n     ['s1', 'ECON150'], ['s2', 'BIO130']],\n    {'MATH101': 4, 'MATH101H': 0, 'PHYS110': 3, 'CHEM120': 4, 'BIO130': 3, 'HIST140': 1, 'ECON150': 2}, 2,\n    [10, 3, 2]],\n   [0, 0, 4, 4]),\n  ('regression variant: period sort 2',\n   [[['s1', 'CHEM120'], ['s1', 'MATH101']],\n    {'MATH101': 6, 'MATH101H': 1, 'PHYS110': 5, 'CHEM120': 7, 'BIO130': 5, 'HIST140': 7, 'ECON150': 8}, 3,\n    [10, 1, 1]],\n   [1, 0, 1, 11]),\n  ('partial repair guard 3',\n   [[['s5', 'BIO130'], ['s1', 'HIST140'], ['s5', 'PHYS110'], ['s1', 'BIO130'], ['s1', 'HIST140'],\n     ['s5', 'ECON150']],\n    {'MATH101': 5, 'MATH101H': 3, 'PHYS110': 4, 'CHEM120': 2, 'BIO130': 0, 'HIST140': 0, 'ECON150': 3}, 2,\n    [10, 3, 1]],\n   [0, 0, 1, 1]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 0, 'PHYS110': 2}, 3, [10, 2, 2]], [0, 1, 1, 3]),\n  ('normal control 5',\n   [[['s4', 'MATH101H'], ['s4', 'MATH101'], ['s5', 'MATH101'], ['s4', 'ECON150'], ['s4', 'PHYS110']],\n    {'MATH101': 7, 'MATH101H': 4, 'PHYS110': 7, 'CHEM120': 3, 'BIO130': 7, 'HIST140': 2, 'ECON150': 3}, 3,\n    [10, 2, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 6',\n   [[['s2', 'CHEM120'], ['s2', 'PHYS110'], ['s2', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'MATH101'],\n     ['s3', 'PHYS110']],\n    {'MATH101': 1, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 5, 'BIO130': 2, 'HIST140': 6, 'ECON150': 5}, 4,\n    [5, 1, 2]],\n   [2, 0, 2, 12]),\n  ('normal control 7',\n   [[['s2', 'HIST140'], ['s4', 'MATH101'], ['s2', 'HIST140'], ['s2', 'MATH101H'], ['s2', 'PHYS110'],\n     ['s4', 'CHEM120'], ['s2', 'ECON150']],\n    {'MATH101': 2, 'MATH101H': 1, 'PHYS110': 3, 'CHEM120': 2, 'BIO130': 0, 'HIST140': 5, 'ECON150': 3}, 2,\n    [10, 2, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 8',\n   [[['s5', 'ECON150']],\n    {'MATH101': 5, 'MATH101H': 1, 'PHYS110': 2, 'CHEM120': 3, 'BIO130': 2, 'HIST140': 0, 'ECON150': 5}, 2,\n    [10, 3, 1]],\n   [0, 0, 0, 0])],\n [('regression: period sort 1',\n   [[['s2', 'HIST140'], ['s1', 'PHYS110'], ['s1', 'BIO130'], ['s2', 'BIO130'], ['s1', 'HIST140'],\n     ['s2', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'BIO130']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 6, 'CHEM120': 4, 'BIO130': 1, 'HIST140': 7, 'ECON150': 8}, 3,\n    [5, 2, 4]],\n   [2, 0, 2, 12]),\n  ('regression variant: period sort 2',\n   [[['s4', 'MATH101'], ['s2', 'HIST140'], ['s1', 'PHYS110'], ['s3', 'PHYS110'], ['s4', 'CHEM120'],\n     ['s3', 'ECON150'], ['s3', 'BIO130'], ['s1', 'MATH101H'], ['s2', 'PHYS110'], ['s3', 'PHYS110'],\n     ['s5', 'HIST140'], ['s1', 'CHEM120'], ['s1', 'ECON150'], ['s4', 'MATH101H'], ['s3', 'MATH101'],\n     ['s4', 'PHYS110']],\n    {'MATH101': 9, 'MATH101H': 7, 'PHYS110': 11, 'CHEM120': 8, 'BIO130': 0, 'HIST140': 7, 'ECON150': 0}, 4,\n    [10, 1, 2]],\n   [1, 4, 6, 20]),\n  ('partial repair guard 3',\n   [[['s5', 'MATH101H'], ['s1', 'CHEM120'], ['s4', 'MATH101'], ['s5', 'HIST140'], ['s1', 'ECON150'],\n     ['s4', 'BIO130'], ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 0, 'BIO130': 4, 'HIST140': 7, 'ECON150': 5}, 3,\n    [10, 3, 4]],\n   [2, 0, 3, 23]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 2, 'PHYS110': 3}, 4, [10, 2, 2]], [1, 0, 1, 11]),\n  ('normal control 5',\n   [[['s2', 'HIST140'], ['s2', 'HIST140']],\n    {'MATH101': 3, 'MATH101H': 5, 'PHYS110': 3, 'CHEM120': 8, 'BIO130': 5, 'HIST140': 4, 'ECON150': 3}, 3,\n    [5, 3, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 6',\n   [[['s4', 'PHYS110'], ['s5', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'PHYS110'], ['s4', 'MATH101'],\n     ['s4', 'MATH101'], ['s2', 'HIST140']],\n    {'MATH101': 5, 'MATH101H': 4, 'PHYS110': 4, 'CHEM120': 5, 'BIO130': 4, 'HIST140': 4, 'ECON150': 2}, 2,\n    [5, 2, 2]],\n   [3, 0, 3, 18]),\n  ('normal control 7',\n   [[['s1', 'ECON150'], ['s4', 'HIST140'], ['s1', 'PHYS110'], ['s1', 'MATH101'], ['s5', 'MATH101'],\n     ['s1', 'BIO130'], ['s5', 'MATH101H']],\n    {'MATH101': 7, 'MATH101H': 6, 'PHYS110': 2, 'CHEM120': 2, 'BIO130': 4, 'HIST140': 6, 'ECON150': 0}, 4,\n    [5, 2, 4]],\n   [1, 2, 5, 14]),\n  ('normal control 8',\n   [[['s3', 'HIST140'], ['s5', 'CHEM120'], ['s5', 'MATH101H'], ['s5', 'MATH101'], ['s4', 'CHEM120'],\n     ['s5', 'CHEM120'], ['s4', 'BIO130'], ['s5', 'BIO130']],\n    {'MATH101': 0, 'MATH101H': 7, 'PHYS110': 3, 'CHEM120': 2, 'BIO130': 3, 'HIST140': 7, 'ECON150': 4}, 3,\n    [10, 2, 2]],\n   [0, 1, 3, 5])],\n [('regression: period sort 1',\n   [[['s3', 'HIST140'], ['s5', 'BIO130'], ['s3', 'BIO130'], ['s3', 'ECON150'], ['s3', 'PHYS110'],\n     ['s4', 'ECON150'], ['s4', 'CHEM120']],\n    {'MATH101': 9, 'MATH101H': 6, 'PHYS110': 0, 'CHEM120': 4, 'BIO130': 8, 'HIST140': 1, 'ECON150': 10}, 4,\n    [5, 3, 2]],\n   [1, 1, 2, 10]),\n  ('regression variant: period sort 2',\n   [[['s2', 'ECON150'], ['s2', 'ECON150'], ['s2', 'MATH101H'], ['s4', 'PHYS110'], ['s4', 'HIST140'],\n     ['s2', 'BIO130'], ['s2', 'CHEM120']],\n    {'MATH101': 11, 'MATH101H': 1, 'PHYS110': 4, 'CHEM120': 11, 'BIO130': 1, 'HIST140': 10, 'ECON150': 9}, 4,\n    [5, 3, 1]],\n   [0, 1, 0, 3]),\n  ('partial repair guard 3',\n   [[['s5', 'HIST140'], ['s5', 'ECON150'], ['s5', 'BIO130'], ['s5', 'BIO130'], ['s1', 'MATH101H']],\n    {'MATH101': 6, 'MATH101H': 11, 'PHYS110': 0, 'CHEM120': 2, 'BIO130': 1, 'HIST140': 11, 'ECON150': 3}, 4,\n    [5, 3, 1]],\n   [0, 1, 0, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 0, 'PHYS110': 4}, 3, [10, 2, 4]], [0, 0, 1, 1]),\n  ('normal control 5',\n   [[['s2', 'HIST140'], ['s1', 'CHEM120'], ['s1', 'ECON150'], ['s1', 'MATH101'], ['s2', 'ECON150'],\n     ['s4', 'BIO130'], ['s4', 'PHYS110'], ['s4', 'MATH101'], ['s4', 'ECON150'], ['s1', 'MATH101H'],\n     ['s3', 'PHYS110']],\n    {'MATH101': 8, 'MATH101H': 7, 'PHYS110': 6, 'CHEM120': 3, 'BIO130': 8, 'HIST140': 1, 'ECON150': 1}, 3,\n    [10, 1, 2]],\n   [1, 2, 4, 16]),\n  ('normal control 6',\n   [[['s4', 'CHEM120'], ['s4', 'PHYS110'], ['s4', 'BIO130'], ['s4', 'MATH101'], ['s1', 'BIO130']],\n    {'MATH101': 8, 'MATH101H': 3, 'PHYS110': 6, 'CHEM120': 9, 'BIO130': 6, 'HIST140': 9, 'ECON150': 1}, 4,\n    [10, 1, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 7',\n   [[['s3', 'ECON150'], ['s1', 'BIO130'], ['s3', 'MATH101H'], ['s3', 'PHYS110'], ['s2', 'BIO130'],\n     ['s2', 'PHYS110'], ['s3', 'PHYS110'], ['s2', 'HIST140']],\n    {'MATH101': 11, 'MATH101H': 3, 'PHYS110': 8, 'CHEM120': 8, 'BIO130': 8, 'HIST140': 1, 'ECON150': 7}, 4,\n    [10, 3, 1]],\n   [0, 0, 1, 1]),\n  ('normal control 8',\n   [[['s4', 'PHYS110'], ['s5', 'CHEM120'], ['s1', 'PHYS110'], ['s5', 'BIO130'], ['s3', 'CHEM120'],\n     ['s5', 'ECON150'], ['s4', 'ECON150'], ['s4', 'MATH101H'], ['s5', 'MATH101'], ['s1', 'ECON150']],\n    {'MATH101': 4, 'MATH101H': 0, 'PHYS110': 5, 'CHEM120': 1, 'BIO130': 5, 'HIST140': 1, 'ECON150': 4}, 2,\n    [10, 3, 1]],\n   [4, 0, 4, 44])],\n [('regression: period sort 1',\n   [[['s5', 'CHEM120'], ['s1', 'ECON150'], ['s5', 'BIO130'], ['s5', 'HIST140'], ['s1', 'PHYS110'],\n     ['s4', 'PHYS110'], ['s5', 'MATH101H'], ['s2', 'MATH101H'], ['s3', 'CHEM120'], ['s5', 'BIO130'],\n     ['s3', 'BIO130'], ['s3', 'MATH101H'], ['s4', 'HIST140'], ['s2', 'BIO130'], ['s4', 'MATH101'],\n     ['s3', 'MATH101'], ['s2', 'PHYS110']],\n    {'MATH101': 0, 'MATH101H': 2, 'PHYS110': 0, 'CHEM120': 5, 'BIO130': 1, 'HIST140': 3, 'ECON150': 5}, 2,\n    [10, 3, 4]],\n   [3, 0, 16, 46]),\n  ('regression variant: period sort 2',\n   [[['s4', 'HIST140'], ['s5', 'ECON150'], ['s3', 'ECON150'], ['s4', 'BIO130'], ['s1', 'HIST140'],\n     ['s2', 'MATH101H'], ['s5', 'HIST140'], ['s1', 'PHYS110'], ['s4', 'ECON150'], ['s2', 'BIO130'],\n     ['s5', 'PHYS110'], ['s1', 'BIO130'], ['s2', 'PHYS110'], ['s4', 'MATH101'], ['s2', 'HIST140'],\n     ['s5', 'BIO130']],\n    {'MATH101': 1, 'MATH101H': 1, 'PHYS110': 5, 'CHEM120': 1, 'BIO130': 1, 'HIST140': 3, 'ECON150': 0}, 2,\n    [10, 3, 1]],\n   [3, 0, 3, 33]),\n  ('partial repair guard 3',\n   [[['s3', 'HIST140'], ['s3', 'BIO130'], ['s3', 'HIST140'], ['s3', 'ECON150'], ['s5', 'ECON150'],\n     ['s5', 'BIO130']],\n    {'MATH101': 10, 'MATH101H': 7, 'PHYS110': 0, 'CHEM120': 0, 'BIO130': 3, 'HIST140': 11, 'ECON150': 8}, 4,\n    [10, 3, 1]],\n   [0, 1, 0, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 1, 'PHYS110': 1}, 3, [10, 2, 2]], [0, 0, 0, 0]),\n  ('normal control 5',\n   [[['s1', 'HIST140'], ['s1', 'HIST140'], ['s3', 'CHEM120'], ['s3', 'MATH101H'], ['s1', 'MATH101'],\n     ['s3', 'BIO130'], ['s3', 'HIST140']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 2, 'CHEM120': 6, 'BIO130': 0, 'HIST140': 4, 'ECON150': 2}, 3,\n    [10, 3, 2]],\n   [1, 0, 3, 13]),\n  ('normal control 6',\n   [[['s1', 'HIST140'], ['s1', 'MATH101'], ['s1', 'HIST140']],\n    {'MATH101': 2, 'MATH101H': 6, 'PHYS110': 7, 'CHEM120': 6, 'BIO130': 0, 'HIST140': 0, 'ECON150': 4}, 3,\n    [5, 1, 4]],\n   [0, 1, 1, 2]),\n  ('normal control 7',\n   [[['s3', 'ECON150'], ['s2', 'ECON150'], ['s3', 'MATH101'], ['s4', 'PHYS110'], ['s2', 'MATH101'],\n     ['s3', 'HIST140'], ['s2', 'CHEM120']],\n    {'MATH101': 4, 'MATH101H': 5, 'PHYS110': 4, 'CHEM120': 3, 'BIO130': 3, 'HIST140': 2, 'ECON150': 2}, 2,\n    [10, 3, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 8',\n   [[['s1', 'CHEM120'], ['s2', 'BIO130'], ['s3', 'MATH101H'], ['s3', 'CHEM120'], ['s5', 'MATH101'],\n     ['s5', 'HIST140'], ['s3', 'ECON150'], ['s2', 'HIST140'], ['s3', 'MATH101'], ['s4', 'ECON150']],\n    {'MATH101': 9, 'MATH101H': 8, 'PHYS110': 4, 'CHEM120': 6, 'BIO130': 1, 'HIST140': 7, 'ECON150': 5}, 4,\n    [5, 1, 2]],\n   [2, 0, 4, 14])],\n [('regression: period sort 1',\n   [[['s5', 'MATH101H'], ['s1', 'CHEM120'], ['s4', 'MATH101'], ['s5', 'HIST140'], ['s1', 'ECON150'],\n     ['s4', 'BIO130'], ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 0, 'BIO130': 4, 'HIST140': 7, 'ECON150': 5}, 3,\n    [10, 3, 4]],\n   [2, 0, 3, 23]),\n  ('regression variant: period sort 2',\n   [[['s1', 'BIO130'], ['s2', 'MATH101'], ['s3', 'PHYS110'], ['s3', 'HIST140'], ['s1', 'MATH101H'],\n     ['s2', 'BIO130'], ['s3', 'MATH101H'], ['s1', 'CHEM120'], ['s3', 'CHEM120'], ['s2', 'MATH101H'],\n     ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 1, 'PHYS110': 0, 'CHEM120': 1, 'BIO130': 2, 'HIST140': 4, 'ECON150': 0}, 2,\n    [5, 1, 4]],\n   [4, 0, 13, 33]),\n  ('partial repair guard 3',\n   [[['s3', 'CHEM120'], ['s1', 'MATH101'], ['s3', 'HIST140'], ['s1', 'BIO130'], ['s1', 'PHYS110'],\n     ['s2', 'BIO130'], ['s4', 'BIO130'], ['s3', 'PHYS110'], ['s1', 'CHEM120'], ['s2', 'HIST140']],\n    {'MATH101': 3, 'MATH101H': 11, 'PHYS110': 3, 'CHEM120': 3, 'BIO130': 8, 'HIST140': 5, 'ECON150': 0}, 4,\n    [10, 3, 4]],\n   [0, 0, 3, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 2, 'PHYS110': 3}, 3, [10, 2, 2]], [0, 0, 1, 1]),\n  ('normal control 5',\n   [[['s2', 'BIO130'], ['s1', 'PHYS110'], ['s4', 'ECON150'], ['s5', 'ECON150'], ['s5', 'BIO130'],\n     ['s5', 'MATH101'], ['s2', 'CHEM120'], ['s4', 'MATH101'], ['s2', 'HIST140'], ['s1', 'BIO130'],\n     ['s5', 'CHEM120'], ['s4', 'HIST140'], ['s1', 'HIST140'], ['s1', 'MATH101']],\n    {'MATH101': 9, 'MATH101H': 11, 'PHYS110': 11, 'CHEM120': 9, 'BIO130': 1, 'HIST140': 5, 'ECON150': 11}, 4,\n    [10, 1, 4]],\n   [0, 4, 9, 13]),\n  ('normal control 6',\n   [[['s3', 'MATH101'], ['s4', 'HIST140'], ['s1', 'HIST140'], ['s3', 'PHYS110'], ['s4', 'MATH101H'],\n     ['s1', 'BIO130'], ['s2', 'MATH101H'], ['s2', 'BIO130']],\n    {'MATH101': 0, 'MATH101H': 6, 'PHYS110': 4, 'CHEM120': 0, 'BIO130': 7, 'HIST140': 1, 'ECON150': 5}, 3,\n    [5, 3, 2]],\n   [1, 0, 1, 6]),\n  ('normal control 7',\n   [[['s1', 'HIST140'], ['s1', 'MATH101']],\n    {'MATH101': 0, 'MATH101H': 1, 'PHYS110': 7, 'CHEM120': 1, 'BIO130': 1, 'HIST140': 3, 'ECON150': 8}, 3,\n    [10, 2, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 8',\n   [[['s5', 'CHEM120'], ['s5', 'PHYS110'], ['s3', 'PHYS110'], ['s1', 'MATH101H'], ['s3', 'ECON150'],\n     ['s1', 'HIST140'], ['s5', 'ECON150'], ['s5', 'MATH101H'], ['s1', 'ECON150']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 7, 'CHEM120': 4, 'BIO130': 3, 'HIST140': 9, 'ECON150': 6}, 4,\n    [5, 1, 1]],\n   [4, 3, 4, 27])]]\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"},"fixed":{"sha256":"c69c35c872efaa4db3010550f536cafce2648123184dcec472ea0a0f7706a9b7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(enrol, period, spd, w):\n    wr, wd, spread = w\n    by = {}\n    for st, ex in enrol:\n        by.setdefault(st, set()).add(ex)\n    row = day = spr = 0\n    for st in by:\n        ps = sorted(period[e] for e in by[st])\n        for i in range(len(ps)):\n            for j in range(i + 1, len(ps)):\n                a, b = ps[i], ps[j]\n                if a // spd == b // spd:\n                    if b - a == 1:\n                        row += 1\n                    elif b - a > 1:\n                        day += 1\n                if 0 < b - a <= spread:\n                    spr += 1\n    return [row, day, spr, row * wr + day * wd + spr]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: period sort 1',\n   [[['s1', 'ECON150'], ['s2', 'MATH101'], ['s2', 'PHYS110'], ['s3', 'CHEM120'], ['s2', 'HIST140'],\n     ['s1', 'ECON150'], ['s2', 'BIO130']],\n    {'MATH101': 4, 'MATH101H': 0, 'PHYS110': 3, 'CHEM120': 4, 'BIO130': 3, 'HIST140': 1, 'ECON150': 2}, 2,\n    [10, 3, 2]],\n   [0, 0, 4, 4]),\n  ('regression variant: period sort 2',\n   [[['s1', 'CHEM120'], ['s1', 'MATH101']],\n    {'MATH101': 6, 'MATH101H': 1, 'PHYS110': 5, 'CHEM120': 7, 'BIO130': 5, 'HIST140': 7, 'ECON150': 8}, 3,\n    [10, 1, 1]],\n   [1, 0, 1, 11]),\n  ('partial repair guard 3',\n   [[['s5', 'BIO130'], ['s1', 'HIST140'], ['s5', 'PHYS110'], ['s1', 'BIO130'], ['s1', 'HIST140'],\n     ['s5', 'ECON150']],\n    {'MATH101': 5, 'MATH101H': 3, 'PHYS110': 4, 'CHEM120': 2, 'BIO130': 0, 'HIST140': 0, 'ECON150': 3}, 2,\n    [10, 3, 1]],\n   [0, 0, 1, 1]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 0, 'PHYS110': 2}, 3, [10, 2, 2]], [0, 1, 1, 3]),\n  ('normal control 5',\n   [[['s4', 'MATH101H'], ['s4', 'MATH101'], ['s5', 'MATH101'], ['s4', 'ECON150'], ['s4', 'PHYS110']],\n    {'MATH101': 7, 'MATH101H': 4, 'PHYS110': 7, 'CHEM120': 3, 'BIO130': 7, 'HIST140': 2, 'ECON150': 3}, 3,\n    [10, 2, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 6',\n   [[['s2', 'CHEM120'], ['s2', 'PHYS110'], ['s2', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'MATH101'],\n     ['s3', 'PHYS110']],\n    {'MATH101': 1, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 5, 'BIO130': 2, 'HIST140': 6, 'ECON150': 5}, 4,\n    [5, 1, 2]],\n   [2, 0, 2, 12]),\n  ('normal control 7',\n   [[['s2', 'HIST140'], ['s4', 'MATH101'], ['s2', 'HIST140'], ['s2', 'MATH101H'], ['s2', 'PHYS110'],\n     ['s4', 'CHEM120'], ['s2', 'ECON150']],\n    {'MATH101': 2, 'MATH101H': 1, 'PHYS110': 3, 'CHEM120': 2, 'BIO130': 0, 'HIST140': 5, 'ECON150': 3}, 2,\n    [10, 2, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 8',\n   [[['s5', 'ECON150']],\n    {'MATH101': 5, 'MATH101H': 1, 'PHYS110': 2, 'CHEM120': 3, 'BIO130': 2, 'HIST140': 0, 'ECON150': 5}, 2,\n    [10, 3, 1]],\n   [0, 0, 0, 0])],\n [('regression: period sort 1',\n   [[['s2', 'HIST140'], ['s1', 'PHYS110'], ['s1', 'BIO130'], ['s2', 'BIO130'], ['s1', 'HIST140'],\n     ['s2', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'BIO130']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 6, 'CHEM120': 4, 'BIO130': 1, 'HIST140': 7, 'ECON150': 8}, 3,\n    [5, 2, 4]],\n   [2, 0, 2, 12]),\n  ('regression variant: period sort 2',\n   [[['s4', 'MATH101'], ['s2', 'HIST140'], ['s1', 'PHYS110'], ['s3', 'PHYS110'], ['s4', 'CHEM120'],\n     ['s3', 'ECON150'], ['s3', 'BIO130'], ['s1', 'MATH101H'], ['s2', 'PHYS110'], ['s3', 'PHYS110'],\n     ['s5', 'HIST140'], ['s1', 'CHEM120'], ['s1', 'ECON150'], ['s4', 'MATH101H'], ['s3', 'MATH101'],\n     ['s4', 'PHYS110']],\n    {'MATH101': 9, 'MATH101H': 7, 'PHYS110': 11, 'CHEM120': 8, 'BIO130': 0, 'HIST140': 7, 'ECON150': 0}, 4,\n    [10, 1, 2]],\n   [1, 4, 6, 20]),\n  ('partial repair guard 3',\n   [[['s5', 'MATH101H'], ['s1', 'CHEM120'], ['s4', 'MATH101'], ['s5', 'HIST140'], ['s1', 'ECON150'],\n     ['s4', 'BIO130'], ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 0, 'BIO130': 4, 'HIST140': 7, 'ECON150': 5}, 3,\n    [10, 3, 4]],\n   [2, 0, 3, 23]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 2, 'PHYS110': 3}, 4, [10, 2, 2]], [1, 0, 1, 11]),\n  ('normal control 5',\n   [[['s2', 'HIST140'], ['s2', 'HIST140']],\n    {'MATH101': 3, 'MATH101H': 5, 'PHYS110': 3, 'CHEM120': 8, 'BIO130': 5, 'HIST140': 4, 'ECON150': 3}, 3,\n    [5, 3, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 6',\n   [[['s4', 'PHYS110'], ['s5', 'MATH101H'], ['s2', 'MATH101'], ['s2', 'PHYS110'], ['s4', 'MATH101'],\n     ['s4', 'MATH101'], ['s2', 'HIST140']],\n    {'MATH101': 5, 'MATH101H': 4, 'PHYS110': 4, 'CHEM120': 5, 'BIO130': 4, 'HIST140': 4, 'ECON150': 2}, 2,\n    [5, 2, 2]],\n   [3, 0, 3, 18]),\n  ('normal control 7',\n   [[['s1', 'ECON150'], ['s4', 'HIST140'], ['s1', 'PHYS110'], ['s1', 'MATH101'], ['s5', 'MATH101'],\n     ['s1', 'BIO130'], ['s5', 'MATH101H']],\n    {'MATH101': 7, 'MATH101H': 6, 'PHYS110': 2, 'CHEM120': 2, 'BIO130': 4, 'HIST140': 6, 'ECON150': 0}, 4,\n    [5, 2, 4]],\n   [1, 2, 5, 14]),\n  ('normal control 8',\n   [[['s3', 'HIST140'], ['s5', 'CHEM120'], ['s5', 'MATH101H'], ['s5', 'MATH101'], ['s4', 'CHEM120'],\n     ['s5', 'CHEM120'], ['s4', 'BIO130'], ['s5', 'BIO130']],\n    {'MATH101': 0, 'MATH101H': 7, 'PHYS110': 3, 'CHEM120': 2, 'BIO130': 3, 'HIST140': 7, 'ECON150': 4}, 3,\n    [10, 2, 2]],\n   [0, 1, 3, 5])],\n [('regression: period sort 1',\n   [[['s3', 'HIST140'], ['s5', 'BIO130'], ['s3', 'BIO130'], ['s3', 'ECON150'], ['s3', 'PHYS110'],\n     ['s4', 'ECON150'], ['s4', 'CHEM120']],\n    {'MATH101': 9, 'MATH101H': 6, 'PHYS110': 0, 'CHEM120': 4, 'BIO130': 8, 'HIST140': 1, 'ECON150': 10}, 4,\n    [5, 3, 2]],\n   [1, 1, 2, 10]),\n  ('regression variant: period sort 2',\n   [[['s2', 'ECON150'], ['s2', 'ECON150'], ['s2', 'MATH101H'], ['s4', 'PHYS110'], ['s4', 'HIST140'],\n     ['s2', 'BIO130'], ['s2', 'CHEM120']],\n    {'MATH101': 11, 'MATH101H': 1, 'PHYS110': 4, 'CHEM120': 11, 'BIO130': 1, 'HIST140': 10, 'ECON150': 9}, 4,\n    [5, 3, 1]],\n   [0, 1, 0, 3]),\n  ('partial repair guard 3',\n   [[['s5', 'HIST140'], ['s5', 'ECON150'], ['s5', 'BIO130'], ['s5', 'BIO130'], ['s1', 'MATH101H']],\n    {'MATH101': 6, 'MATH101H': 11, 'PHYS110': 0, 'CHEM120': 2, 'BIO130': 1, 'HIST140': 11, 'ECON150': 3}, 4,\n    [5, 3, 1]],\n   [0, 1, 0, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 0, 'PHYS110': 4}, 3, [10, 2, 4]], [0, 0, 1, 1]),\n  ('normal control 5',\n   [[['s2', 'HIST140'], ['s1', 'CHEM120'], ['s1', 'ECON150'], ['s1', 'MATH101'], ['s2', 'ECON150'],\n     ['s4', 'BIO130'], ['s4', 'PHYS110'], ['s4', 'MATH101'], ['s4', 'ECON150'], ['s1', 'MATH101H'],\n     ['s3', 'PHYS110']],\n    {'MATH101': 8, 'MATH101H': 7, 'PHYS110': 6, 'CHEM120': 3, 'BIO130': 8, 'HIST140': 1, 'ECON150': 1}, 3,\n    [10, 1, 2]],\n   [1, 2, 4, 16]),\n  ('normal control 6',\n   [[['s4', 'CHEM120'], ['s4', 'PHYS110'], ['s4', 'BIO130'], ['s4', 'MATH101'], ['s1', 'BIO130']],\n    {'MATH101': 8, 'MATH101H': 3, 'PHYS110': 6, 'CHEM120': 9, 'BIO130': 6, 'HIST140': 9, 'ECON150': 1}, 4,\n    [10, 1, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 7',\n   [[['s3', 'ECON150'], ['s1', 'BIO130'], ['s3', 'MATH101H'], ['s3', 'PHYS110'], ['s2', 'BIO130'],\n     ['s2', 'PHYS110'], ['s3', 'PHYS110'], ['s2', 'HIST140']],\n    {'MATH101': 11, 'MATH101H': 3, 'PHYS110': 8, 'CHEM120': 8, 'BIO130': 8, 'HIST140': 1, 'ECON150': 7}, 4,\n    [10, 3, 1]],\n   [0, 0, 1, 1]),\n  ('normal control 8',\n   [[['s4', 'PHYS110'], ['s5', 'CHEM120'], ['s1', 'PHYS110'], ['s5', 'BIO130'], ['s3', 'CHEM120'],\n     ['s5', 'ECON150'], ['s4', 'ECON150'], ['s4', 'MATH101H'], ['s5', 'MATH101'], ['s1', 'ECON150']],\n    {'MATH101': 4, 'MATH101H': 0, 'PHYS110': 5, 'CHEM120': 1, 'BIO130': 5, 'HIST140': 1, 'ECON150': 4}, 2,\n    [10, 3, 1]],\n   [4, 0, 4, 44])],\n [('regression: period sort 1',\n   [[['s5', 'CHEM120'], ['s1', 'ECON150'], ['s5', 'BIO130'], ['s5', 'HIST140'], ['s1', 'PHYS110'],\n     ['s4', 'PHYS110'], ['s5', 'MATH101H'], ['s2', 'MATH101H'], ['s3', 'CHEM120'], ['s5', 'BIO130'],\n     ['s3', 'BIO130'], ['s3', 'MATH101H'], ['s4', 'HIST140'], ['s2', 'BIO130'], ['s4', 'MATH101'],\n     ['s3', 'MATH101'], ['s2', 'PHYS110']],\n    {'MATH101': 0, 'MATH101H': 2, 'PHYS110': 0, 'CHEM120': 5, 'BIO130': 1, 'HIST140': 3, 'ECON150': 5}, 2,\n    [10, 3, 4]],\n   [3, 0, 16, 46]),\n  ('regression variant: period sort 2',\n   [[['s4', 'HIST140'], ['s5', 'ECON150'], ['s3', 'ECON150'], ['s4', 'BIO130'], ['s1', 'HIST140'],\n     ['s2', 'MATH101H'], ['s5', 'HIST140'], ['s1', 'PHYS110'], ['s4', 'ECON150'], ['s2', 'BIO130'],\n     ['s5', 'PHYS110'], ['s1', 'BIO130'], ['s2', 'PHYS110'], ['s4', 'MATH101'], ['s2', 'HIST140'],\n     ['s5', 'BIO130']],\n    {'MATH101': 1, 'MATH101H': 1, 'PHYS110': 5, 'CHEM120': 1, 'BIO130': 1, 'HIST140': 3, 'ECON150': 0}, 2,\n    [10, 3, 1]],\n   [3, 0, 3, 33]),\n  ('partial repair guard 3',\n   [[['s3', 'HIST140'], ['s3', 'BIO130'], ['s3', 'HIST140'], ['s3', 'ECON150'], ['s5', 'ECON150'],\n     ['s5', 'BIO130']],\n    {'MATH101': 10, 'MATH101H': 7, 'PHYS110': 0, 'CHEM120': 0, 'BIO130': 3, 'HIST140': 11, 'ECON150': 8}, 4,\n    [10, 3, 1]],\n   [0, 1, 0, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 1, 'PHYS110': 1}, 3, [10, 2, 2]], [0, 0, 0, 0]),\n  ('normal control 5',\n   [[['s1', 'HIST140'], ['s1', 'HIST140'], ['s3', 'CHEM120'], ['s3', 'MATH101H'], ['s1', 'MATH101'],\n     ['s3', 'BIO130'], ['s3', 'HIST140']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 2, 'CHEM120': 6, 'BIO130': 0, 'HIST140': 4, 'ECON150': 2}, 3,\n    [10, 3, 2]],\n   [1, 0, 3, 13]),\n  ('normal control 6',\n   [[['s1', 'HIST140'], ['s1', 'MATH101'], ['s1', 'HIST140']],\n    {'MATH101': 2, 'MATH101H': 6, 'PHYS110': 7, 'CHEM120': 6, 'BIO130': 0, 'HIST140': 0, 'ECON150': 4}, 3,\n    [5, 1, 4]],\n   [0, 1, 1, 2]),\n  ('normal control 7',\n   [[['s3', 'ECON150'], ['s2', 'ECON150'], ['s3', 'MATH101'], ['s4', 'PHYS110'], ['s2', 'MATH101'],\n     ['s3', 'HIST140'], ['s2', 'CHEM120']],\n    {'MATH101': 4, 'MATH101H': 5, 'PHYS110': 4, 'CHEM120': 3, 'BIO130': 3, 'HIST140': 2, 'ECON150': 2}, 2,\n    [10, 3, 4]],\n   [1, 0, 5, 15]),\n  ('normal control 8',\n   [[['s1', 'CHEM120'], ['s2', 'BIO130'], ['s3', 'MATH101H'], ['s3', 'CHEM120'], ['s5', 'MATH101'],\n     ['s5', 'HIST140'], ['s3', 'ECON150'], ['s2', 'HIST140'], ['s3', 'MATH101'], ['s4', 'ECON150']],\n    {'MATH101': 9, 'MATH101H': 8, 'PHYS110': 4, 'CHEM120': 6, 'BIO130': 1, 'HIST140': 7, 'ECON150': 5}, 4,\n    [5, 1, 2]],\n   [2, 0, 4, 14])],\n [('regression: period sort 1',\n   [[['s5', 'MATH101H'], ['s1', 'CHEM120'], ['s4', 'MATH101'], ['s5', 'HIST140'], ['s1', 'ECON150'],\n     ['s4', 'BIO130'], ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 6, 'PHYS110': 6, 'CHEM120': 0, 'BIO130': 4, 'HIST140': 7, 'ECON150': 5}, 3,\n    [10, 3, 4]],\n   [2, 0, 3, 23]),\n  ('regression variant: period sort 2',\n   [[['s1', 'BIO130'], ['s2', 'MATH101'], ['s3', 'PHYS110'], ['s3', 'HIST140'], ['s1', 'MATH101H'],\n     ['s2', 'BIO130'], ['s3', 'MATH101H'], ['s1', 'CHEM120'], ['s3', 'CHEM120'], ['s2', 'MATH101H'],\n     ['s1', 'PHYS110']],\n    {'MATH101': 5, 'MATH101H': 1, 'PHYS110': 0, 'CHEM120': 1, 'BIO130': 2, 'HIST140': 4, 'ECON150': 0}, 2,\n    [5, 1, 4]],\n   [4, 0, 13, 33]),\n  ('partial repair guard 3',\n   [[['s3', 'CHEM120'], ['s1', 'MATH101'], ['s3', 'HIST140'], ['s1', 'BIO130'], ['s1', 'PHYS110'],\n     ['s2', 'BIO130'], ['s4', 'BIO130'], ['s3', 'PHYS110'], ['s1', 'CHEM120'], ['s2', 'HIST140']],\n    {'MATH101': 3, 'MATH101H': 11, 'PHYS110': 3, 'CHEM120': 3, 'BIO130': 8, 'HIST140': 5, 'ECON150': 0}, 4,\n    [10, 3, 4]],\n   [0, 0, 3, 3]),\n  ('boundary control 4',\n   [[['s1', 'MATH101'], ['s1', 'PHYS110']], {'MATH101': 2, 'PHYS110': 3}, 3, [10, 2, 2]], [0, 0, 1, 1]),\n  ('normal control 5',\n   [[['s2', 'BIO130'], ['s1', 'PHYS110'], ['s4', 'ECON150'], ['s5', 'ECON150'], ['s5', 'BIO130'],\n     ['s5', 'MATH101'], ['s2', 'CHEM120'], ['s4', 'MATH101'], ['s2', 'HIST140'], ['s1', 'BIO130'],\n     ['s5', 'CHEM120'], ['s4', 'HIST140'], ['s1', 'HIST140'], ['s1', 'MATH101']],\n    {'MATH101': 9, 'MATH101H': 11, 'PHYS110': 11, 'CHEM120': 9, 'BIO130': 1, 'HIST140': 5, 'ECON150': 11}, 4,\n    [10, 1, 4]],\n   [0, 4, 9, 13]),\n  ('normal control 6',\n   [[['s3', 'MATH101'], ['s4', 'HIST140'], ['s1', 'HIST140'], ['s3', 'PHYS110'], ['s4', 'MATH101H'],\n     ['s1', 'BIO130'], ['s2', 'MATH101H'], ['s2', 'BIO130']],\n    {'MATH101': 0, 'MATH101H': 6, 'PHYS110': 4, 'CHEM120': 0, 'BIO130': 7, 'HIST140': 1, 'ECON150': 5}, 3,\n    [5, 3, 2]],\n   [1, 0, 1, 6]),\n  ('normal control 7',\n   [[['s1', 'HIST140'], ['s1', 'MATH101']],\n    {'MATH101': 0, 'MATH101H': 1, 'PHYS110': 7, 'CHEM120': 1, 'BIO130': 1, 'HIST140': 3, 'ECON150': 8}, 3,\n    [10, 2, 1]],\n   [0, 0, 0, 0]),\n  ('normal control 8',\n   [[['s5', 'CHEM120'], ['s5', 'PHYS110'], ['s3', 'PHYS110'], ['s1', 'MATH101H'], ['s3', 'ECON150'],\n     ['s1', 'HIST140'], ['s5', 'ECON150'], ['s5', 'MATH101H'], ['s1', 'ECON150']],\n    {'MATH101': 2, 'MATH101H': 7, 'PHYS110': 7, 'CHEM120': 4, 'BIO130': 3, 'HIST140': 9, 'ECON150': 6}, 4,\n    [5, 1, 1]],\n   [4, 3, 4, 27])]]\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-same-day-proximity-counts-period-sort","generated_at":"2026-09-29T14:52:03.878335+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Proximity soft constraints are what exam timetabling quality is judged on; each counter has its own boundary.","repair":"Sort each student's periods ascending before taking differences.","root_cause":"Periods are ordered by exam id rather than chronologically.","sha256":"5818e2667253840c7159564a6be0b20f95f19c303016829b1dd49297e1b52024","title":"Student periods listed in exam-code order before differencing · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.007,"exit_code":1,"observations":[{"actual":[0,0,0,0],"check":"regression: period sort 1","expected":[0,0,4,4],"passed":false},{"actual":[0,0,0,0],"check":"regression variant: period sort 2","expected":[1,0,1,11],"passed":false},{"actual":[0,0,0,0],"check":"partial repair guard 3","expected":[0,0,1,1],"passed":false},{"actual":[0,0,0,0],"check":"boundary control 4","expected":[0,1,1,3],"passed":false},{"actual":[0,0,0,0],"check":"normal control 5","expected":[1,0,5,15],"passed":false},{"actual":[0,0,0,0],"check":"normal control 6","expected":[2,0,2,12],"passed":false},{"actual":[0,0,0,0],"check":"normal control 7","expected":[0,0,0,0],"passed":true},{"actual":[0,0,0,0],"check":"normal control 8","expected":[0,0,0,0],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: period sort 1\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 0, 4, 4], \"passed\": false}, {\"check\": \"regression variant: period sort 2\", \"actual\": [0, 0, 0, 0], \"expected\": [1, 0, 1, 11], \"passed\": false}, {\"check\": \"partial repair guard 3\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 0, 1, 1], \"passed\": false}, {\"check\": \"boundary control 4\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 1, 1, 3], \"passed\": false}, {\"check\": \"normal control 5\", \"actual\": [0, 0, 0, 0], \"expected\": [1, 0, 5, 15], \"passed\": false}, {\"check\": \"normal control 6\", \"actual\": [0, 0, 0, 0], \"expected\": [2, 0, 2, 12], \"passed\": false}, {\"check\": \"normal control 7\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 0, 0, 0], \"passed\": true}, {\"check\": \"normal control 8\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 0, 0, 0], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":48.324,"exit_code":1,"observations":[{"actual":[0,0,2,2],"check":"regression: period sort 1","expected":[0,0,4,4],"passed":false},{"actual":[0,0,0,0],"check":"regression variant: period sort 2","expected":[1,0,1,11],"passed":false},{"actual":[0,0,1,1],"check":"partial repair guard 3","expected":[0,0,1,1],"passed":true},{"actual":[0,1,1,3],"check":"boundary control 4","expected":[0,1,1,3],"passed":true},{"actual":[1,0,4,14],"check":"normal control 5","expected":[1,0,5,15],"passed":false},{"actual":[2,0,2,12],"check":"normal control 6","expected":[2,0,2,12],"passed":true},{"actual":[0,0,0,0],"check":"normal control 7","expected":[0,0,0,0],"passed":true},{"actual":[0,0,0,0],"check":"normal control 8","expected":[0,0,0,0],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: period sort 1\", \"actual\": [0, 0, 2, 2], \"expected\": [0, 0, 4, 4], \"passed\": false}, {\"check\": \"regression variant: period sort 2\", \"actual\": [0, 0, 0, 0], \"expected\": [1, 0, 1, 11], \"passed\": false}, {\"check\": \"partial repair guard 3\", \"actual\": [0, 0, 1, 1], \"expected\": [0, 0, 1, 1], \"passed\": true}, {\"check\": \"boundary control 4\", \"actual\": [0, 1, 1, 3], \"expected\": [0, 1, 1, 3], \"passed\": true}, {\"check\": \"normal control 5\", \"actual\": [1, 0, 4, 14], \"expected\": [1, 0, 5, 15], \"passed\": false}, {\"check\": \"normal control 6\", \"actual\": [2, 0, 2, 12], \"expected\": [2, 0, 2, 12], \"passed\": true}, {\"check\": \"normal control 7\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 0, 0, 0], \"passed\": true}, {\"check\": \"normal control 8\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 0, 0, 0], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":41.267,"exit_code":0,"observations":[{"actual":[0,0,4,4],"check":"regression: period sort 1","expected":[0,0,4,4],"passed":true},{"actual":[1,0,1,11],"check":"regression variant: period sort 2","expected":[1,0,1,11],"passed":true},{"actual":[0,0,1,1],"check":"partial repair guard 3","expected":[0,0,1,1],"passed":true},{"actual":[0,1,1,3],"check":"boundary control 4","expected":[0,1,1,3],"passed":true},{"actual":[1,0,5,15],"check":"normal control 5","expected":[1,0,5,15],"passed":true},{"actual":[2,0,2,12],"check":"normal control 6","expected":[2,0,2,12],"passed":true},{"actual":[0,0,0,0],"check":"normal control 7","expected":[0,0,0,0],"passed":true},{"actual":[0,0,0,0],"check":"normal control 8","expected":[0,0,0,0],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: period sort 1\", \"actual\": [0, 0, 4, 4], \"expected\": [0, 0, 4, 4], \"passed\": true}, {\"check\": \"regression variant: period sort 2\", \"actual\": [1, 0, 1, 11], \"expected\": [1, 0, 1, 11], \"passed\": true}, {\"check\": \"partial repair guard 3\", \"actual\": [0, 0, 1, 1], \"expected\": [0, 0, 1, 1], \"passed\": true}, {\"check\": \"boundary control 4\", \"actual\": [0, 1, 1, 3], \"expected\": [0, 1, 1, 3], \"passed\": true}, {\"check\": \"normal control 5\", \"actual\": [1, 0, 5, 15], \"expected\": [1, 0, 5, 15], \"passed\": true}, {\"check\": \"normal control 6\", \"actual\": [2, 0, 2, 12], \"expected\": [2, 0, 2, 12], \"passed\": true}, {\"check\": \"normal control 7\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 0, 0, 0], \"passed\": true}, {\"check\": \"normal control 8\", \"actual\": [0, 0, 0, 0], \"expected\": [0, 0, 0, 0], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}