{"abstract":"An output driven by two rungs stays on when the last rung writing it is false.","category":"PLC ladder logic scan cycles","checks":8,"contract":"Ladder program scan. rungs is a list of [coil, branches]; a branch is a series list of [XIC|XIO, tag] contacts and the rung is true if any branch is fully true. Each scan item is [start_changes, mid_changes]: start_changes [[tag, value]] update physical inputs before the input scan; the input image is then frozen for the program scan. mid_changes [[rung_index, tag, value]] change physical inputs just before that rung executes and are only seen by the next input scan. Non-input tags are read from the data table, where earlier rungs of the same scan have already written their coils (last OTE wins). Missing tags read false. Return the sorted energized O: tags after each scan.","evaluation_group":"w2-plc-ladder-logic-scan-cycles-rung-scan-image","failed_approach":"Letting the first writing rung win still ignores the later rung's decision.","family":"w2-plc-ladder-logic-scan-cycles-rung-scan-image-duplicate-coil","id":"FA-91971","implementations":{"attempt":{"sha256":"d68bc4952b7209399bf22183d44bd05e8d906c95631b5c78f347125b7c2150c4","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rungs, scans):\n    phys = {}\n    table = {}\n    out = []\n    for start, mid in scans:\n        for tag, val in start:\n            phys[tag] = bool(val)\n        image = dict(phys)\n        written = set()\n        for i, (coil, branches) in enumerate(rungs):\n            for at, tag, val in mid:\n                if at == i:\n                    phys[tag] = bool(val)\n            def read(tag):\n                if tag.startswith('I:'):\n                    return image.get(tag, False)\n                return table.get(tag, False)\n            power = any(all(read(t) if k == 'XIC' else not read(t) for k, t in br) for br in branches)\n            if coil not in written:\n                table[coil] = power\n            written.add(coil)\n        out.append(sorted(t for t, v in table.items() if v and t.startswith('O:')))\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]],\n  ['regression: scenario 3',\n   [[['O:0', [[['XIO', 'B:0'], ['XIC', 'B:0']]]],\n     ['B:0', [[['XIO', 'I:1'], ['XIO', 'O:2'], ['XIC', 'B:1']]]],\n     ['O:2', [[['XIO', 'B:0'], ['XIC', 'O:2']], [['XIC', 'B:1']]]],\n     ['O:2', [[['XIC', 'O:2']]]],\n     ['O:0', [[['XIO', 'I:0'], ['XIO', 'O:2']]]]],\n    [[[['I:0', True], ['I:1', False]], [[2, 'I:1', False], [0, 'I:0', True]]],\n     [[], []],\n     [[['I:2', False]], [[0, 'I:2', False]]],\n     [[['I:0', True], ['I:1', False], ['I:2', False]], [[4, 'I:0', False], [3, 'I:0', False]]],\n     [[['I:0', False], ['I:1', True]], [[1, 'I:1', False], [4, 'I:2', True]]]]],\n   [[], [], [], [], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: scenario 1',\n   [[['O:0', [[['XIC', 'I:1'], ['XIC', 'O:0'], ['XIC', 'I:1']], [['XIO', 'O:0']]]],\n     ['B:0', [[['XIO', 'I:0'], ['XIO', 'B:1'], ['XIC', 'O:0']], [['XIC', 'I:2'], ['XIC', 'I:2']]]],\n     ['O:1', [[['XIC', 'O:2'], ['XIC', 'I:0'], ['XIC', 'O:0']]]],\n     ['O:1',\n      [[['XIO', 'O:1'], ['XIC', 'B:0'], ['XIC', 'B:0']], [['XIC', 'O:1'], ['XIC', 'B:0'], ['XIC', 'O:2']]]],\n     ['O:1',\n      [[['XIC', 'I:0'], ['XIO', 'I:0'], ['XIO', 'O:0']], [['XIC', 'O:2'], ['XIC', 'I:1'], ['XIO', 'B:0']]]]],\n    [[[['I:0', True], ['I:1', False]], [[1, 'I:2', True]]],\n     [[['I:2', True]], []],\n     [[['I:2', True]], [[0, 'I:2', True]]],\n     [[['I:0', True], ['I:2', False]], [[4, 'I:2', False], [4, 'I:2', True]]]]],\n   [['O:0'], [], ['O:0'], []]]],\n [['regression: scenario 5',\n   [[['B:0', [[['XIC', 'I:1'], ['XIC', 'I:0']], [['XIO', 'O:2']]]],\n     ['B:0', [[['XIC', 'O:2']], [['XIO', 'I:1'], ['XIC', 'B:0'], ['XIC', 'O:2']]]],\n     ['O:1', [[['XIC', 'O:2']]]],\n     ['O:2', [[['XIO', 'I:1'], ['XIO', 'B:1']], [['XIO', 'B:0']]]],\n     ['B:1', [[['XIO', 'O:2']]]]],\n    [[[['I:0', False], ['I:1', True], ['I:2', False]], [[3, 'I:0', True], [0, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], [[3, 'I:2', False], [1, 'I:1', True]]],\n     [[['I:0', True], ['I:1', False]], [[4, 'I:0', False]]],\n     [[['I:0', True]], []],\n     [[['I:0', False]], [[1, 'I:1', False]]]]],\n   [['O:2'], ['O:1'], ['O:2'], ['O:1', 'O:2'], ['O:1', 'O:2']]],\n  ['regression: scenario 1',\n   [[['B:0', [[['XIO', 'I:1'], ['XIC', 'O:0'], ['XIC', 'O:2']]]],\n     ['O:1', [[['XIC', 'O:1'], ['XIO', 'B:0'], ['XIO', 'B:0']]]],\n     ['O:2', [[['XIC', 'O:2'], ['XIC', 'I:2'], ['XIC', 'I:1']], [['XIC', 'O:2'], ['XIC', 'O:0']]]],\n     ['O:1', [[['XIC', 'I:0']], [['XIC', 'I:2'], ['XIO', 'I:0']]]]],\n    [[[['I:2', False]], []],\n     [[['I:0', False], ['I:2', False]], [[0, 'I:1', True]]],\n     [[['I:0', False], ['I:1', True]], [[3, 'I:0', True], [0, 'I:0', True]]],\n     [[['I:0', False]], [[3, 'I:0', False], [2, 'I:2', False]]],\n     [[['I:0', True], ['I:1', True], ['I:2', False]], [[3, 'I:0', True]]],\n     [[['I:2', True]], []]]],\n   [[], [], [], [], ['O:1'], ['O:1']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 9',\n   [[['O:1', [[['XIO', 'I:0'], ['XIC', 'O:1']], [['XIC', 'B:1']]]],\n     ['B:1', [[['XIO', 'O:2']]]],\n     ['B:0',\n      [[['XIC', 'O:2'], ['XIO', 'O:1'], ['XIO', 'B:1']], [['XIO', 'O:2'], ['XIO', 'B:0'], ['XIO', 'O:0']]]],\n     ['O:2', [[['XIC', 'B:0'], ['XIO', 'I:0'], ['XIC', 'I:1']], [['XIO', 'B:1'], ['XIC', 'I:2']]]],\n     ['O:1', [[['XIO', 'O:2'], ['XIC', 'I:1']], [['XIO', 'B:0'], ['XIC', 'B:1']]]]],\n    [[[['I:1', False]], [[1, 'I:0', True], [4, 'I:1', False]]],\n     [[['I:1', True], ['I:2', True]], []],\n     [[['I:1', False], ['I:2', True]], [[4, 'I:0', True], [2, 'I:0', True]]],\n     [[['I:0', True], ['I:1', True], ['I:2', False]], [[2, 'I:1', True], [4, 'I:2', True]]]]],\n   [[], ['O:1'], [], ['O:1']]],\n  ['regression: scenario 3',\n   [[['B:0', [[['XIC', 'O:0'], ['XIC', 'O:1']], [['XIO', 'I:1'], ['XIC', 'I:1']]]],\n     ['O:0', [[['XIC', 'I:2']]]],\n     ['O:0', [[['XIO', 'B:1'], ['XIC', 'I:1']], [['XIO', 'I:0'], ['XIC', 'O:2'], ['XIO', 'B:0']]]]],\n    [[[], [[0, 'I:0', True]]],\n     [[['I:1', True]], [[2, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], [[2, 'I:2', False]]],\n     [[['I:1', True]], []],\n     [[['I:0', True], ['I:1', False], ['I:2', False]], [[2, 'I:0', True], [2, 'I:0', False]]],\n     [[['I:1', True]], []]]],\n   [[], ['O:0'], ['O:0'], ['O:0'], [], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 10',\n   [[['B:1', [[['XIC', 'I:2'], ['XIC', 'B:1'], ['XIO', 'B:1']], [['XIO', 'B:1']]]],\n     ['B:0', [[['XIC', 'I:1'], ['XIC', 'B:1'], ['XIC', 'O:2']], [['XIC', 'I:1'], ['XIO', 'O:1']]]],\n     ['O:2', [[['XIC', 'B:1']]]],\n     ['B:1', [[['XIC', 'B:1'], ['XIO', 'B:0']], [['XIC', 'I:0'], ['XIC', 'I:0']]]],\n     ['B:0', [[['XIC', 'O:0']], [['XIC', 'I:1'], ['XIO', 'O:0']]]]],\n    [[[['I:1', True]], [[1, 'I:1', False]]],\n     [[['I:1', False], ['I:2', False]], [[4, 'I:0', False]]],\n     [[['I:0', True], ['I:1', True], ['I:2', True]], [[0, 'I:1', True], [4, 'I:0', True]]],\n     [[['I:0', True]], [[3, 'I:1', True]]],\n     [[['I:0', True], ['I:2', False]], [[3, 'I:0', True], [2, 'I:1', False]]]]],\n   [['O:2'], ['O:2'], [], [], []]],\n  ['regression: scenario 8',\n   [[['O:1', [[['XIC', 'I:2'], ['XIC', 'O:2']]]],\n     ['O:2', [[['XIC', 'I:1']], [['XIO', 'O:0'], ['XIC', 'B:1'], ['XIC', 'B:0']]]],\n     ['O:1', [[['XIC', 'B:1']]]],\n     ['B:0', [[['XIC', 'O:1'], ['XIC', 'O:0'], ['XIC', 'O:1']], [['XIC', 'I:2'], ['XIO', 'O:0']]]],\n     ['O:0', [[['XIO', 'O:1']]]]],\n    [[[['I:0', True], ['I:1', True], ['I:2', True]], [[0, 'I:2', True], [1, 'I:1', False]]],\n     [[['I:1', True], ['I:2', True]], [[2, 'I:1', False]]],\n     [[['I:1', False]], [[0, 'I:0', True]]],\n     [[['I:0', False], ['I:2', True]], [[2, 'I:1', True]]],\n     [[['I:0', True], ['I:1', False], ['I:2', True]], [[3, 'I:0', True], [3, 'I:1', False]]]]],\n   [['O:0', 'O:2'], ['O:0', 'O:2'], ['O:0'], ['O:0'], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 20',\n   [[['O:2', [[['XIO', 'I:1']]]],\n     ['O:2', [[['XIC', 'O:0'], ['XIC', 'B:1']]]],\n     ['B:0', [[['XIC', 'O:0']]]],\n     ['B:0', [[['XIO', 'O:0'], ['XIO', 'I:0']], [['XIO', 'I:0'], ['XIC', 'O:1']]]],\n     ['O:2', [[['XIC', 'B:1']], [['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[0, 'I:2', False], [3, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], []],\n     [[['I:2', True]], [[2, 'I:0', False], [3, 'I:1', False]]],\n     [[['I:2', False]], []]]],\n   [[], [], [], []]],\n  ['regression: scenario 9',\n   [[['B:0', [[['XIO', 'O:0'], ['XIC', 'O:2'], ['XIC', 'O:1']]]],\n     ['O:2', [[['XIO', 'B:0'], ['XIC', 'I:1']], [['XIC', 'I:1'], ['XIC', 'O:2']]]],\n     ['O:2', [[['XIC', 'B:0'], ['XIC', 'I:1']], [['XIC', 'O:2']]]],\n     ['B:0', [[['XIO', 'B:0'], ['XIC', 'B:0']]]],\n     ['O:2', [[['XIC', 'B:1'], ['XIO', 'I:2']], [['XIO', 'I:1']]]]],\n    [[[['I:1', False]], [[4, 'I:2', False], [2, 'I:2', True]]],\n     [[['I:0', False], ['I:1', True], ['I:2', False]], [[1, 'I:2', True]]],\n     [[['I:1', False], ['I:2', False]], [[3, 'I:2', False]]],\n     [[], [[3, 'I:0', True], [2, 'I:1', True]]]]],\n   [['O:2'], [], ['O:2'], ['O:2']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]]]\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":"54d9b115927c8fd5db4bc220ab007ab4dd960c2503b3ca42da847b186693af2c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rungs, scans):\n    phys = {}\n    table = {}\n    out = []\n    for start, mid in scans:\n        for tag, val in start:\n            phys[tag] = bool(val)\n        image = dict(phys)\n        written = set()\n        for i, (coil, branches) in enumerate(rungs):\n            for at, tag, val in mid:\n                if at == i:\n                    phys[tag] = bool(val)\n            def read(tag):\n                if tag.startswith('I:'):\n                    return image.get(tag, False)\n                return table.get(tag, False)\n            power = any(all(read(t) if k == 'XIC' else not read(t) for k, t in br) for br in branches)\n            table[coil] = power or (coil in written and table[coil])\n            written.add(coil)\n        out.append(sorted(t for t, v in table.items() if v and t.startswith('O:')))\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]],\n  ['regression: scenario 3',\n   [[['O:0', [[['XIO', 'B:0'], ['XIC', 'B:0']]]],\n     ['B:0', [[['XIO', 'I:1'], ['XIO', 'O:2'], ['XIC', 'B:1']]]],\n     ['O:2', [[['XIO', 'B:0'], ['XIC', 'O:2']], [['XIC', 'B:1']]]],\n     ['O:2', [[['XIC', 'O:2']]]],\n     ['O:0', [[['XIO', 'I:0'], ['XIO', 'O:2']]]]],\n    [[[['I:0', True], ['I:1', False]], [[2, 'I:1', False], [0, 'I:0', True]]],\n     [[], []],\n     [[['I:2', False]], [[0, 'I:2', False]]],\n     [[['I:0', True], ['I:1', False], ['I:2', False]], [[4, 'I:0', False], [3, 'I:0', False]]],\n     [[['I:0', False], ['I:1', True]], [[1, 'I:1', False], [4, 'I:2', True]]]]],\n   [[], [], [], [], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: scenario 1',\n   [[['O:0', [[['XIC', 'I:1'], ['XIC', 'O:0'], ['XIC', 'I:1']], [['XIO', 'O:0']]]],\n     ['B:0', [[['XIO', 'I:0'], ['XIO', 'B:1'], ['XIC', 'O:0']], [['XIC', 'I:2'], ['XIC', 'I:2']]]],\n     ['O:1', [[['XIC', 'O:2'], ['XIC', 'I:0'], ['XIC', 'O:0']]]],\n     ['O:1',\n      [[['XIO', 'O:1'], ['XIC', 'B:0'], ['XIC', 'B:0']], [['XIC', 'O:1'], ['XIC', 'B:0'], ['XIC', 'O:2']]]],\n     ['O:1',\n      [[['XIC', 'I:0'], ['XIO', 'I:0'], ['XIO', 'O:0']], [['XIC', 'O:2'], ['XIC', 'I:1'], ['XIO', 'B:0']]]]],\n    [[[['I:0', True], ['I:1', False]], [[1, 'I:2', True]]],\n     [[['I:2', True]], []],\n     [[['I:2', True]], [[0, 'I:2', True]]],\n     [[['I:0', True], ['I:2', False]], [[4, 'I:2', False], [4, 'I:2', True]]]]],\n   [['O:0'], [], ['O:0'], []]]],\n [['regression: scenario 5',\n   [[['B:0', [[['XIC', 'I:1'], ['XIC', 'I:0']], [['XIO', 'O:2']]]],\n     ['B:0', [[['XIC', 'O:2']], [['XIO', 'I:1'], ['XIC', 'B:0'], ['XIC', 'O:2']]]],\n     ['O:1', [[['XIC', 'O:2']]]],\n     ['O:2', [[['XIO', 'I:1'], ['XIO', 'B:1']], [['XIO', 'B:0']]]],\n     ['B:1', [[['XIO', 'O:2']]]]],\n    [[[['I:0', False], ['I:1', True], ['I:2', False]], [[3, 'I:0', True], [0, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], [[3, 'I:2', False], [1, 'I:1', True]]],\n     [[['I:0', True], ['I:1', False]], [[4, 'I:0', False]]],\n     [[['I:0', True]], []],\n     [[['I:0', False]], [[1, 'I:1', False]]]]],\n   [['O:2'], ['O:1'], ['O:2'], ['O:1', 'O:2'], ['O:1', 'O:2']]],\n  ['regression: scenario 1',\n   [[['B:0', [[['XIO', 'I:1'], ['XIC', 'O:0'], ['XIC', 'O:2']]]],\n     ['O:1', [[['XIC', 'O:1'], ['XIO', 'B:0'], ['XIO', 'B:0']]]],\n     ['O:2', [[['XIC', 'O:2'], ['XIC', 'I:2'], ['XIC', 'I:1']], [['XIC', 'O:2'], ['XIC', 'O:0']]]],\n     ['O:1', [[['XIC', 'I:0']], [['XIC', 'I:2'], ['XIO', 'I:0']]]]],\n    [[[['I:2', False]], []],\n     [[['I:0', False], ['I:2', False]], [[0, 'I:1', True]]],\n     [[['I:0', False], ['I:1', True]], [[3, 'I:0', True], [0, 'I:0', True]]],\n     [[['I:0', False]], [[3, 'I:0', False], [2, 'I:2', False]]],\n     [[['I:0', True], ['I:1', True], ['I:2', False]], [[3, 'I:0', True]]],\n     [[['I:2', True]], []]]],\n   [[], [], [], [], ['O:1'], ['O:1']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 9',\n   [[['O:1', [[['XIO', 'I:0'], ['XIC', 'O:1']], [['XIC', 'B:1']]]],\n     ['B:1', [[['XIO', 'O:2']]]],\n     ['B:0',\n      [[['XIC', 'O:2'], ['XIO', 'O:1'], ['XIO', 'B:1']], [['XIO', 'O:2'], ['XIO', 'B:0'], ['XIO', 'O:0']]]],\n     ['O:2', [[['XIC', 'B:0'], ['XIO', 'I:0'], ['XIC', 'I:1']], [['XIO', 'B:1'], ['XIC', 'I:2']]]],\n     ['O:1', [[['XIO', 'O:2'], ['XIC', 'I:1']], [['XIO', 'B:0'], ['XIC', 'B:1']]]]],\n    [[[['I:1', False]], [[1, 'I:0', True], [4, 'I:1', False]]],\n     [[['I:1', True], ['I:2', True]], []],\n     [[['I:1', False], ['I:2', True]], [[4, 'I:0', True], [2, 'I:0', True]]],\n     [[['I:0', True], ['I:1', True], ['I:2', False]], [[2, 'I:1', True], [4, 'I:2', True]]]]],\n   [[], ['O:1'], [], ['O:1']]],\n  ['regression: scenario 3',\n   [[['B:0', [[['XIC', 'O:0'], ['XIC', 'O:1']], [['XIO', 'I:1'], ['XIC', 'I:1']]]],\n     ['O:0', [[['XIC', 'I:2']]]],\n     ['O:0', [[['XIO', 'B:1'], ['XIC', 'I:1']], [['XIO', 'I:0'], ['XIC', 'O:2'], ['XIO', 'B:0']]]]],\n    [[[], [[0, 'I:0', True]]],\n     [[['I:1', True]], [[2, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], [[2, 'I:2', False]]],\n     [[['I:1', True]], []],\n     [[['I:0', True], ['I:1', False], ['I:2', False]], [[2, 'I:0', True], [2, 'I:0', False]]],\n     [[['I:1', True]], []]]],\n   [[], ['O:0'], ['O:0'], ['O:0'], [], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 10',\n   [[['B:1', [[['XIC', 'I:2'], ['XIC', 'B:1'], ['XIO', 'B:1']], [['XIO', 'B:1']]]],\n     ['B:0', [[['XIC', 'I:1'], ['XIC', 'B:1'], ['XIC', 'O:2']], [['XIC', 'I:1'], ['XIO', 'O:1']]]],\n     ['O:2', [[['XIC', 'B:1']]]],\n     ['B:1', [[['XIC', 'B:1'], ['XIO', 'B:0']], [['XIC', 'I:0'], ['XIC', 'I:0']]]],\n     ['B:0', [[['XIC', 'O:0']], [['XIC', 'I:1'], ['XIO', 'O:0']]]]],\n    [[[['I:1', True]], [[1, 'I:1', False]]],\n     [[['I:1', False], ['I:2', False]], [[4, 'I:0', False]]],\n     [[['I:0', True], ['I:1', True], ['I:2', True]], [[0, 'I:1', True], [4, 'I:0', True]]],\n     [[['I:0', True]], [[3, 'I:1', True]]],\n     [[['I:0', True], ['I:2', False]], [[3, 'I:0', True], [2, 'I:1', False]]]]],\n   [['O:2'], ['O:2'], [], [], []]],\n  ['regression: scenario 8',\n   [[['O:1', [[['XIC', 'I:2'], ['XIC', 'O:2']]]],\n     ['O:2', [[['XIC', 'I:1']], [['XIO', 'O:0'], ['XIC', 'B:1'], ['XIC', 'B:0']]]],\n     ['O:1', [[['XIC', 'B:1']]]],\n     ['B:0', [[['XIC', 'O:1'], ['XIC', 'O:0'], ['XIC', 'O:1']], [['XIC', 'I:2'], ['XIO', 'O:0']]]],\n     ['O:0', [[['XIO', 'O:1']]]]],\n    [[[['I:0', True], ['I:1', True], ['I:2', True]], [[0, 'I:2', True], [1, 'I:1', False]]],\n     [[['I:1', True], ['I:2', True]], [[2, 'I:1', False]]],\n     [[['I:1', False]], [[0, 'I:0', True]]],\n     [[['I:0', False], ['I:2', True]], [[2, 'I:1', True]]],\n     [[['I:0', True], ['I:1', False], ['I:2', True]], [[3, 'I:0', True], [3, 'I:1', False]]]]],\n   [['O:0', 'O:2'], ['O:0', 'O:2'], ['O:0'], ['O:0'], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 20',\n   [[['O:2', [[['XIO', 'I:1']]]],\n     ['O:2', [[['XIC', 'O:0'], ['XIC', 'B:1']]]],\n     ['B:0', [[['XIC', 'O:0']]]],\n     ['B:0', [[['XIO', 'O:0'], ['XIO', 'I:0']], [['XIO', 'I:0'], ['XIC', 'O:1']]]],\n     ['O:2', [[['XIC', 'B:1']], [['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[0, 'I:2', False], [3, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], []],\n     [[['I:2', True]], [[2, 'I:0', False], [3, 'I:1', False]]],\n     [[['I:2', False]], []]]],\n   [[], [], [], []]],\n  ['regression: scenario 9',\n   [[['B:0', [[['XIO', 'O:0'], ['XIC', 'O:2'], ['XIC', 'O:1']]]],\n     ['O:2', [[['XIO', 'B:0'], ['XIC', 'I:1']], [['XIC', 'I:1'], ['XIC', 'O:2']]]],\n     ['O:2', [[['XIC', 'B:0'], ['XIC', 'I:1']], [['XIC', 'O:2']]]],\n     ['B:0', [[['XIO', 'B:0'], ['XIC', 'B:0']]]],\n     ['O:2', [[['XIC', 'B:1'], ['XIO', 'I:2']], [['XIO', 'I:1']]]]],\n    [[[['I:1', False]], [[4, 'I:2', False], [2, 'I:2', True]]],\n     [[['I:0', False], ['I:1', True], ['I:2', False]], [[1, 'I:2', True]]],\n     [[['I:1', False], ['I:2', False]], [[3, 'I:2', False]]],\n     [[], [[3, 'I:0', True], [2, 'I:1', True]]]]],\n   [['O:2'], [], ['O:2'], ['O:2']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]]]\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":"385a4f0c17857b789654229dbaa0bd798b966771623988a30fa9ba61ebf9827d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rungs, scans):\n    phys = {}\n    table = {}\n    out = []\n    for start, mid in scans:\n        for tag, val in start:\n            phys[tag] = bool(val)\n        image = dict(phys)\n        for i, (coil, branches) in enumerate(rungs):\n            for at, tag, val in mid:\n                if at == i:\n                    phys[tag] = bool(val)\n            def read(tag):\n                if tag.startswith('I:'):\n                    return image.get(tag, False)\n                return table.get(tag, False)\n            power = any(all(read(t) if k == 'XIC' else not read(t) for k, t in br) for br in branches)\n            table[coil] = power\n        out.append(sorted(t for t, v in table.items() if v and t.startswith('O:')))\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]],\n  ['regression: scenario 3',\n   [[['O:0', [[['XIO', 'B:0'], ['XIC', 'B:0']]]],\n     ['B:0', [[['XIO', 'I:1'], ['XIO', 'O:2'], ['XIC', 'B:1']]]],\n     ['O:2', [[['XIO', 'B:0'], ['XIC', 'O:2']], [['XIC', 'B:1']]]],\n     ['O:2', [[['XIC', 'O:2']]]],\n     ['O:0', [[['XIO', 'I:0'], ['XIO', 'O:2']]]]],\n    [[[['I:0', True], ['I:1', False]], [[2, 'I:1', False], [0, 'I:0', True]]],\n     [[], []],\n     [[['I:2', False]], [[0, 'I:2', False]]],\n     [[['I:0', True], ['I:1', False], ['I:2', False]], [[4, 'I:0', False], [3, 'I:0', False]]],\n     [[['I:0', False], ['I:1', True]], [[1, 'I:1', False], [4, 'I:2', True]]]]],\n   [[], [], [], [], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: scenario 1',\n   [[['O:0', [[['XIC', 'I:1'], ['XIC', 'O:0'], ['XIC', 'I:1']], [['XIO', 'O:0']]]],\n     ['B:0', [[['XIO', 'I:0'], ['XIO', 'B:1'], ['XIC', 'O:0']], [['XIC', 'I:2'], ['XIC', 'I:2']]]],\n     ['O:1', [[['XIC', 'O:2'], ['XIC', 'I:0'], ['XIC', 'O:0']]]],\n     ['O:1',\n      [[['XIO', 'O:1'], ['XIC', 'B:0'], ['XIC', 'B:0']], [['XIC', 'O:1'], ['XIC', 'B:0'], ['XIC', 'O:2']]]],\n     ['O:1',\n      [[['XIC', 'I:0'], ['XIO', 'I:0'], ['XIO', 'O:0']], [['XIC', 'O:2'], ['XIC', 'I:1'], ['XIO', 'B:0']]]]],\n    [[[['I:0', True], ['I:1', False]], [[1, 'I:2', True]]],\n     [[['I:2', True]], []],\n     [[['I:2', True]], [[0, 'I:2', True]]],\n     [[['I:0', True], ['I:2', False]], [[4, 'I:2', False], [4, 'I:2', True]]]]],\n   [['O:0'], [], ['O:0'], []]]],\n [['regression: scenario 5',\n   [[['B:0', [[['XIC', 'I:1'], ['XIC', 'I:0']], [['XIO', 'O:2']]]],\n     ['B:0', [[['XIC', 'O:2']], [['XIO', 'I:1'], ['XIC', 'B:0'], ['XIC', 'O:2']]]],\n     ['O:1', [[['XIC', 'O:2']]]],\n     ['O:2', [[['XIO', 'I:1'], ['XIO', 'B:1']], [['XIO', 'B:0']]]],\n     ['B:1', [[['XIO', 'O:2']]]]],\n    [[[['I:0', False], ['I:1', True], ['I:2', False]], [[3, 'I:0', True], [0, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], [[3, 'I:2', False], [1, 'I:1', True]]],\n     [[['I:0', True], ['I:1', False]], [[4, 'I:0', False]]],\n     [[['I:0', True]], []],\n     [[['I:0', False]], [[1, 'I:1', False]]]]],\n   [['O:2'], ['O:1'], ['O:2'], ['O:1', 'O:2'], ['O:1', 'O:2']]],\n  ['regression: scenario 1',\n   [[['B:0', [[['XIO', 'I:1'], ['XIC', 'O:0'], ['XIC', 'O:2']]]],\n     ['O:1', [[['XIC', 'O:1'], ['XIO', 'B:0'], ['XIO', 'B:0']]]],\n     ['O:2', [[['XIC', 'O:2'], ['XIC', 'I:2'], ['XIC', 'I:1']], [['XIC', 'O:2'], ['XIC', 'O:0']]]],\n     ['O:1', [[['XIC', 'I:0']], [['XIC', 'I:2'], ['XIO', 'I:0']]]]],\n    [[[['I:2', False]], []],\n     [[['I:0', False], ['I:2', False]], [[0, 'I:1', True]]],\n     [[['I:0', False], ['I:1', True]], [[3, 'I:0', True], [0, 'I:0', True]]],\n     [[['I:0', False]], [[3, 'I:0', False], [2, 'I:2', False]]],\n     [[['I:0', True], ['I:1', True], ['I:2', False]], [[3, 'I:0', True]]],\n     [[['I:2', True]], []]]],\n   [[], [], [], [], ['O:1'], ['O:1']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 9',\n   [[['O:1', [[['XIO', 'I:0'], ['XIC', 'O:1']], [['XIC', 'B:1']]]],\n     ['B:1', [[['XIO', 'O:2']]]],\n     ['B:0',\n      [[['XIC', 'O:2'], ['XIO', 'O:1'], ['XIO', 'B:1']], [['XIO', 'O:2'], ['XIO', 'B:0'], ['XIO', 'O:0']]]],\n     ['O:2', [[['XIC', 'B:0'], ['XIO', 'I:0'], ['XIC', 'I:1']], [['XIO', 'B:1'], ['XIC', 'I:2']]]],\n     ['O:1', [[['XIO', 'O:2'], ['XIC', 'I:1']], [['XIO', 'B:0'], ['XIC', 'B:1']]]]],\n    [[[['I:1', False]], [[1, 'I:0', True], [4, 'I:1', False]]],\n     [[['I:1', True], ['I:2', True]], []],\n     [[['I:1', False], ['I:2', True]], [[4, 'I:0', True], [2, 'I:0', True]]],\n     [[['I:0', True], ['I:1', True], ['I:2', False]], [[2, 'I:1', True], [4, 'I:2', True]]]]],\n   [[], ['O:1'], [], ['O:1']]],\n  ['regression: scenario 3',\n   [[['B:0', [[['XIC', 'O:0'], ['XIC', 'O:1']], [['XIO', 'I:1'], ['XIC', 'I:1']]]],\n     ['O:0', [[['XIC', 'I:2']]]],\n     ['O:0', [[['XIO', 'B:1'], ['XIC', 'I:1']], [['XIO', 'I:0'], ['XIC', 'O:2'], ['XIO', 'B:0']]]]],\n    [[[], [[0, 'I:0', True]]],\n     [[['I:1', True]], [[2, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], [[2, 'I:2', False]]],\n     [[['I:1', True]], []],\n     [[['I:0', True], ['I:1', False], ['I:2', False]], [[2, 'I:0', True], [2, 'I:0', False]]],\n     [[['I:1', True]], []]]],\n   [[], ['O:0'], ['O:0'], ['O:0'], [], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 10',\n   [[['B:1', [[['XIC', 'I:2'], ['XIC', 'B:1'], ['XIO', 'B:1']], [['XIO', 'B:1']]]],\n     ['B:0', [[['XIC', 'I:1'], ['XIC', 'B:1'], ['XIC', 'O:2']], [['XIC', 'I:1'], ['XIO', 'O:1']]]],\n     ['O:2', [[['XIC', 'B:1']]]],\n     ['B:1', [[['XIC', 'B:1'], ['XIO', 'B:0']], [['XIC', 'I:0'], ['XIC', 'I:0']]]],\n     ['B:0', [[['XIC', 'O:0']], [['XIC', 'I:1'], ['XIO', 'O:0']]]]],\n    [[[['I:1', True]], [[1, 'I:1', False]]],\n     [[['I:1', False], ['I:2', False]], [[4, 'I:0', False]]],\n     [[['I:0', True], ['I:1', True], ['I:2', True]], [[0, 'I:1', True], [4, 'I:0', True]]],\n     [[['I:0', True]], [[3, 'I:1', True]]],\n     [[['I:0', True], ['I:2', False]], [[3, 'I:0', True], [2, 'I:1', False]]]]],\n   [['O:2'], ['O:2'], [], [], []]],\n  ['regression: scenario 8',\n   [[['O:1', [[['XIC', 'I:2'], ['XIC', 'O:2']]]],\n     ['O:2', [[['XIC', 'I:1']], [['XIO', 'O:0'], ['XIC', 'B:1'], ['XIC', 'B:0']]]],\n     ['O:1', [[['XIC', 'B:1']]]],\n     ['B:0', [[['XIC', 'O:1'], ['XIC', 'O:0'], ['XIC', 'O:1']], [['XIC', 'I:2'], ['XIO', 'O:0']]]],\n     ['O:0', [[['XIO', 'O:1']]]]],\n    [[[['I:0', True], ['I:1', True], ['I:2', True]], [[0, 'I:2', True], [1, 'I:1', False]]],\n     [[['I:1', True], ['I:2', True]], [[2, 'I:1', False]]],\n     [[['I:1', False]], [[0, 'I:0', True]]],\n     [[['I:0', False], ['I:2', True]], [[2, 'I:1', True]]],\n     [[['I:0', True], ['I:1', False], ['I:2', True]], [[3, 'I:0', True], [3, 'I:1', False]]]]],\n   [['O:0', 'O:2'], ['O:0', 'O:2'], ['O:0'], ['O:0'], ['O:0']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]],\n [['regression: scenario 20',\n   [[['O:2', [[['XIO', 'I:1']]]],\n     ['O:2', [[['XIC', 'O:0'], ['XIC', 'B:1']]]],\n     ['B:0', [[['XIC', 'O:0']]]],\n     ['B:0', [[['XIO', 'O:0'], ['XIO', 'I:0']], [['XIO', 'I:0'], ['XIC', 'O:1']]]],\n     ['O:2', [[['XIC', 'B:1']], [['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[0, 'I:2', False], [3, 'I:0', False]]],\n     [[['I:1', True], ['I:2', True]], []],\n     [[['I:2', True]], [[2, 'I:0', False], [3, 'I:1', False]]],\n     [[['I:2', False]], []]]],\n   [[], [], [], []]],\n  ['regression: scenario 9',\n   [[['B:0', [[['XIO', 'O:0'], ['XIC', 'O:2'], ['XIC', 'O:1']]]],\n     ['O:2', [[['XIO', 'B:0'], ['XIC', 'I:1']], [['XIC', 'I:1'], ['XIC', 'O:2']]]],\n     ['O:2', [[['XIC', 'B:0'], ['XIC', 'I:1']], [['XIC', 'O:2']]]],\n     ['B:0', [[['XIO', 'B:0'], ['XIC', 'B:0']]]],\n     ['O:2', [[['XIC', 'B:1'], ['XIO', 'I:2']], [['XIO', 'I:1']]]]],\n    [[[['I:1', False]], [[4, 'I:2', False], [2, 'I:2', True]]],\n     [[['I:0', False], ['I:1', True], ['I:2', False]], [[1, 'I:2', True]]],\n     [[['I:1', False], ['I:2', False]], [[3, 'I:2', False]]],\n     [[], [[3, 'I:0', True], [2, 'I:1', True]]]]],\n   [['O:2'], [], ['O:2'], ['O:2']]],\n  ['control: input changes mid scan',\n   [[['O:0', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:0']]]]],\n    [[[['I:0', False]], [[1, 'I:0', True]]], [[], []]]],\n   [[], ['O:0', 'O:1']]],\n  ['control: later rung uses earlier coil',\n   [[['B:0', [[['XIC', 'I:1']]]], ['O:0', [[['XIC', 'B:0']]]]],\n    [[[['I:1', True]], []], [[['I:1', False]], []]]],\n   [['O:0'], []]],\n  ['control: earlier rung uses later coil',\n   [[['O:0', [[['XIC', 'B:1']]]], ['B:1', [[['XIC', 'I:1']]]]],\n    [[[['I:1', True]], []], [[], []], [[['I:1', False]], []]]],\n   [[], ['O:0'], ['O:0']]],\n  ['control: xio of unwritten tag',\n   [[['O:2', [[['XIO', 'B:1']]]], ['O:1', [[['XIO', 'I:2']]]]], [[[], []], [[['I:2', True]], []]]],\n   [['O:1', 'O:2'], ['O:2']]],\n  ['control: parallel branch',\n   [[['O:0', [[['XIC', 'I:0']], [['XIC', 'I:1'], ['XIO', 'I:2']]]]],\n    [[[['I:0', False], ['I:1', True]], []], [[['I:0', True], ['I:1', False]], []]]],\n   [['O:0'], ['O:0']]],\n  ['regression: duplicate coil',\n   [[['O:1', [[['XIC', 'I:0']]]], ['O:1', [[['XIC', 'I:1']]]]],\n    [[[['I:0', True], ['I:1', False]], []], [[['I:0', False], ['I:1', True]], []]]],\n   [[], ['O:1']]]]]\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":"A deterministic bounded teaching model of one PLC instruction or rung pattern evaluated scan by scan. The stated contract is a stipulated toy convention, not a claim of conformance to any vendor controller or IEC 61131-3 runtime. 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-plc-ladder-logic-scan-cycles-rung-scan-image-duplicate-coil","generated_at":"2026-09-29T14:51:41.214634+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Ladder programs are executed as repeated scans; each defect here changes what a rung, timer, counter or data-table instruction reports on a particular scan, which is how commissioning and field faults are actually observed.","repair":"Each OTE overwrites the bit; the last rung to write it in the scan wins.","root_cause":"A later OTE write keeps the bit on if an earlier rung in the same scan set it.","sha256":"112fde473df7eb91493688825f1fe7a1914afe58f3441877f889ab1e2f4edf54","title":"Duplicate OTE coils are ORed within a scan · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.286,"exit_code":1,"observations":[{"actual":[["O:1"],[]],"check":"regression: duplicate coil","expected":[[],["O:1"]],"passed":false},{"actual":[[],[],[],[],[]],"check":"regression: scenario 3","expected":[[],[],[],[],["O:0"]],"passed":false},{"actual":[[],["O:0","O:1"]],"check":"control: input changes mid scan","expected":[[],["O:0","O:1"]],"passed":true},{"actual":[["O:0"],[]],"check":"control: later rung uses earlier coil","expected":[["O:0"],[]],"passed":true},{"actual":[[],["O:0"],["O:0"]],"check":"control: earlier rung uses later coil","expected":[[],["O:0"],["O:0"]],"passed":true},{"actual":[["O:1","O:2"],["O:2"]],"check":"control: xio of unwritten tag","expected":[["O:1","O:2"],["O:2"]],"passed":true},{"actual":[["O:0"],["O:0"]],"check":"control: parallel branch","expected":[["O:0"],["O:0"]],"passed":true},{"actual":[["O:0"],[],["O:0"],[]],"check":"regression: scenario 1","expected":[["O:0"],[],["O:0"],[]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: duplicate coil\", \"actual\": [[\"O:1\"], []], \"expected\": [[], [\"O:1\"]], \"passed\": false}, {\"check\": \"regression: scenario 3\", \"actual\": [[], [], [], [], []], \"expected\": [[], [], [], [], [\"O:0\"]], \"passed\": false}, {\"check\": \"control: input changes mid scan\", \"actual\": [[], [\"O:0\", \"O:1\"]], \"expected\": [[], [\"O:0\", \"O:1\"]], \"passed\": true}, {\"check\": \"control: later rung uses earlier coil\", \"actual\": [[\"O:0\"], []], \"expected\": [[\"O:0\"], []], \"passed\": true}, {\"check\": \"control: earlier rung uses later coil\", \"actual\": [[], [\"O:0\"], [\"O:0\"]], \"expected\": [[], [\"O:0\"], [\"O:0\"]], \"passed\": true}, {\"check\": \"control: xio of unwritten tag\", \"actual\": [[\"O:1\", \"O:2\"], [\"O:2\"]], \"expected\": [[\"O:1\", \"O:2\"], [\"O:2\"]], \"passed\": true}, {\"check\": \"control: parallel branch\", \"actual\": [[\"O:0\"], [\"O:0\"]], \"expected\": [[\"O:0\"], [\"O:0\"]], \"passed\": true}, {\"check\": \"regression: scenario 1\", \"actual\": [[\"O:0\"], [], [\"O:0\"], []], \"expected\": [[\"O:0\"], [], [\"O:0\"], []], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.116,"exit_code":1,"observations":[{"actual":[["O:1"],["O:1"]],"check":"regression: duplicate coil","expected":[[],["O:1"]],"passed":false},{"actual":[[],[],[],[],["O:0"]],"check":"regression: scenario 3","expected":[[],[],[],[],["O:0"]],"passed":true},{"actual":[[],["O:0","O:1"]],"check":"control: input changes mid scan","expected":[[],["O:0","O:1"]],"passed":true},{"actual":[["O:0"],[]],"check":"control: later rung uses earlier coil","expected":[["O:0"],[]],"passed":true},{"actual":[[],["O:0"],["O:0"]],"check":"control: earlier rung uses later coil","expected":[[],["O:0"],["O:0"]],"passed":true},{"actual":[["O:1","O:2"],["O:2"]],"check":"control: xio of unwritten tag","expected":[["O:1","O:2"],["O:2"]],"passed":true},{"actual":[["O:0"],["O:0"]],"check":"control: parallel branch","expected":[["O:0"],["O:0"]],"passed":true},{"actual":[["O:0"],["O:1"],["O:0","O:1"],[]],"check":"regression: scenario 1","expected":[["O:0"],[],["O:0"],[]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: duplicate coil\", \"actual\": [[\"O:1\"], [\"O:1\"]], \"expected\": [[], [\"O:1\"]], \"passed\": false}, {\"check\": \"regression: scenario 3\", \"actual\": [[], [], [], [], [\"O:0\"]], \"expected\": [[], [], [], [], [\"O:0\"]], \"passed\": true}, {\"check\": \"control: input changes mid scan\", \"actual\": [[], [\"O:0\", \"O:1\"]], \"expected\": [[], [\"O:0\", \"O:1\"]], \"passed\": true}, {\"check\": \"control: later rung uses earlier coil\", \"actual\": [[\"O:0\"], []], \"expected\": [[\"O:0\"], []], \"passed\": true}, {\"check\": \"control: earlier rung uses later coil\", \"actual\": [[], [\"O:0\"], [\"O:0\"]], \"expected\": [[], [\"O:0\"], [\"O:0\"]], \"passed\": true}, {\"check\": \"control: xio of unwritten tag\", \"actual\": [[\"O:1\", \"O:2\"], [\"O:2\"]], \"expected\": [[\"O:1\", \"O:2\"], [\"O:2\"]], \"passed\": true}, {\"check\": \"control: parallel branch\", \"actual\": [[\"O:0\"], [\"O:0\"]], \"expected\": [[\"O:0\"], [\"O:0\"]], \"passed\": true}, {\"check\": \"regression: scenario 1\", \"actual\": [[\"O:0\"], [\"O:1\"], [\"O:0\", \"O:1\"], []], \"expected\": [[\"O:0\"], [], [\"O:0\"], []], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":45.966,"exit_code":0,"observations":[{"actual":[[],["O:1"]],"check":"regression: duplicate coil","expected":[[],["O:1"]],"passed":true},{"actual":[[],[],[],[],["O:0"]],"check":"regression: scenario 3","expected":[[],[],[],[],["O:0"]],"passed":true},{"actual":[[],["O:0","O:1"]],"check":"control: input changes mid scan","expected":[[],["O:0","O:1"]],"passed":true},{"actual":[["O:0"],[]],"check":"control: later rung uses earlier coil","expected":[["O:0"],[]],"passed":true},{"actual":[[],["O:0"],["O:0"]],"check":"control: earlier rung uses later coil","expected":[[],["O:0"],["O:0"]],"passed":true},{"actual":[["O:1","O:2"],["O:2"]],"check":"control: xio of unwritten tag","expected":[["O:1","O:2"],["O:2"]],"passed":true},{"actual":[["O:0"],["O:0"]],"check":"control: parallel branch","expected":[["O:0"],["O:0"]],"passed":true},{"actual":[["O:0"],[],["O:0"],[]],"check":"regression: scenario 1","expected":[["O:0"],[],["O:0"],[]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: duplicate coil\", \"actual\": [[], [\"O:1\"]], \"expected\": [[], [\"O:1\"]], \"passed\": true}, {\"check\": \"regression: scenario 3\", \"actual\": [[], [], [], [], [\"O:0\"]], \"expected\": [[], [], [], [], [\"O:0\"]], \"passed\": true}, {\"check\": \"control: input changes mid scan\", \"actual\": [[], [\"O:0\", \"O:1\"]], \"expected\": [[], [\"O:0\", \"O:1\"]], \"passed\": true}, {\"check\": \"control: later rung uses earlier coil\", \"actual\": [[\"O:0\"], []], \"expected\": [[\"O:0\"], []], \"passed\": true}, {\"check\": \"control: earlier rung uses later coil\", \"actual\": [[], [\"O:0\"], [\"O:0\"]], \"expected\": [[], [\"O:0\"], [\"O:0\"]], \"passed\": true}, {\"check\": \"control: xio of unwritten tag\", \"actual\": [[\"O:1\", \"O:2\"], [\"O:2\"]], \"expected\": [[\"O:1\", \"O:2\"], [\"O:2\"]], \"passed\": true}, {\"check\": \"control: parallel branch\", \"actual\": [[\"O:0\"], [\"O:0\"]], \"expected\": [[\"O:0\"], [\"O:0\"]], \"passed\": true}, {\"check\": \"regression: scenario 1\", \"actual\": [[\"O:0\"], [], [\"O:0\"], []], \"expected\": [[\"O:0\"], [], [\"O:0\"], []], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}