{"abstract":"A game tied after nine full innings is reported as final.","category":"Sports scoring and tiebreakers","checks":9,"contract":"Game status from a line score. away and home list runs per inning; home has either the same number of entries as away or one fewer (bottom half not yet played), otherwise return \"invalid\". When home is one short: if at least scheduled innings have started and home leads, the game is final (home wins without batting); otherwise in progress. When equal length: if at least scheduled innings are complete and the score is not tied, the game is final; ties continue into extra innings. Return [\"final\", \"home\"/\"away\", innings] or [\"in progress\", None, None].","evaluation_group":"w2-sports-scoring-baseball-game-status","failed_approach":"Declaring the tie a draw with no winner still ends a game that must continue.","family":"w2-sports-scoring-baseball-game-status-tie-continuation","id":"FA-84146","implementations":{"attempt":{"sha256":"9d2307b3eef9a21070b10ad712b3e7e0ec7e77d85cc4bb9bc27df454ccac7e16","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(away, home, scheduled):\n    A = sum(away)\n    H = sum(home)\n    na, nh = len(away), len(home)\n    if nh not in (na, na - 1):\n        return 'invalid'\n    if nh == na - 1:\n        if na >= scheduled and H > A:\n            return ['final', 'home', na]\n        return ['in progress', None, None]\n    if na >= scheduled:\n        return ['final', 'home' if H > A else ('away' if A > H else None), na]\n    return ['in progress', None, None]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ndef run(args):\n    try:\n        return solve(*args)\n    except Exception as exc:\n        return 'raised ' + type(exc).__name__\ncases = [[('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([3, 0, 2, 0, 3, 2, 1, 0, 0, 1, 0, 0], [1, 1, 1, 1, 1, 0, 1, 2, 0, 0, 1, 3], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 0, 0, 1, 3, 1], [0, 3, 0, 3, 1], 7), ['in progress', None, None]),\n  ('variant scenario 2',\n   ([0, 0, 0, 3, 0, 1, 2, 0], [1, 1, 0, 2, 3, 2, 2, 3], 7),\n   ['final', 'home', 8])],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([1, 3, 1, 1, 0, 1, 3, 0, 2], [0, 1, 1, 0, 2, 3, 3, 0, 2], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1',\n   ([0, 0, 1, 3, 0, 1, 1, 0, 2, 0, 0, 3], [0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 12]),\n  ('variant scenario 2', ([0, 0, 0, 2, 2, 0, 0], [2, 0, 2, 2, 0], 7), 'invalid')],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([0, 0, 3, 2, 0, 1, 0, 2], [1, 1, 0, 0, 3, 1, 0, 2], 7),\n   ['in progress', None, None]),\n  ('variant scenario 1',\n   ([1, 0, 1, 1, 1, 0, 0, 1, 2], [1, 0, 0, 1, 0, 3, 0, 0], 7),\n   ['in progress', None, None]),\n  ('variant scenario 2', ([1, 0, 1, 3], [0, 0, 2, 2, 1], 7), 'invalid')],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([1, 0, 1, 1, 1, 2, 1, 2, 3, 0, 3], [1, 1, 0, 1, 1, 3, 1, 3, 1, 1, 2], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 1, 2, 0, 1, 0], [2, 0, 3, 0, 0], 9), ['in progress', None, None]),\n  ('variant scenario 2',\n   ([0, 0, 0, 1, 1, 1, 0, 3, 1], [2, 0, 0, 3, 1, 3, 1, 1, 2], 7),\n   ['final', 'home', 9])],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([0, 0, 0, 0, 0, 3, 3, 1, 0, 0], [2, 1, 1, 0, 0, 1, 2, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 0, 1, 0, 1, 1], [3, 2, 3, 0, 0], 9), ['in progress', None, None]),\n  ('variant scenario 2', ([0, 3, 0, 0, 1, 0], [1, 1, 1, 0, 1, 2], 7), ['in progress', None, None])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, run(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":"60535e5b0d441ee49a260c4960b3aa3b764f30b9d3bfc762d4db1f12c3c9cd06","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(away, home, scheduled):\n    A = sum(away)\n    H = sum(home)\n    na, nh = len(away), len(home)\n    if nh not in (na, na - 1):\n        return 'invalid'\n    if nh == na - 1:\n        if na >= scheduled and H > A:\n            return ['final', 'home', na]\n        return ['in progress', None, None]\n    if na >= scheduled:\n        return ['final', 'home' if H > A else 'away', na]\n    return ['in progress', None, None]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ndef run(args):\n    try:\n        return solve(*args)\n    except Exception as exc:\n        return 'raised ' + type(exc).__name__\ncases = [[('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([3, 0, 2, 0, 3, 2, 1, 0, 0, 1, 0, 0], [1, 1, 1, 1, 1, 0, 1, 2, 0, 0, 1, 3], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 0, 0, 1, 3, 1], [0, 3, 0, 3, 1], 7), ['in progress', None, None]),\n  ('variant scenario 2',\n   ([0, 0, 0, 3, 0, 1, 2, 0], [1, 1, 0, 2, 3, 2, 2, 3], 7),\n   ['final', 'home', 8])],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([1, 3, 1, 1, 0, 1, 3, 0, 2], [0, 1, 1, 0, 2, 3, 3, 0, 2], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1',\n   ([0, 0, 1, 3, 0, 1, 1, 0, 2, 0, 0, 3], [0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 12]),\n  ('variant scenario 2', ([0, 0, 0, 2, 2, 0, 0], [2, 0, 2, 2, 0], 7), 'invalid')],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([0, 0, 3, 2, 0, 1, 0, 2], [1, 1, 0, 0, 3, 1, 0, 2], 7),\n   ['in progress', None, None]),\n  ('variant scenario 1',\n   ([1, 0, 1, 1, 1, 0, 0, 1, 2], [1, 0, 0, 1, 0, 3, 0, 0], 7),\n   ['in progress', None, None]),\n  ('variant scenario 2', ([1, 0, 1, 3], [0, 0, 2, 2, 1], 7), 'invalid')],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([1, 0, 1, 1, 1, 2, 1, 2, 3, 0, 3], [1, 1, 0, 1, 1, 3, 1, 3, 1, 1, 2], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 1, 2, 0, 1, 0], [2, 0, 3, 0, 0], 9), ['in progress', None, None]),\n  ('variant scenario 2',\n   ([0, 0, 0, 1, 1, 1, 0, 3, 1], [2, 0, 0, 3, 1, 3, 1, 1, 2], 7),\n   ['final', 'home', 9])],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([0, 0, 0, 0, 0, 3, 3, 1, 0, 0], [2, 1, 1, 0, 0, 1, 2, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 0, 1, 0, 1, 1], [3, 2, 3, 0, 0], 9), ['in progress', None, None]),\n  ('variant scenario 2', ([0, 3, 0, 0, 1, 0], [1, 1, 1, 0, 1, 2], 7), ['in progress', None, None])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, run(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":"c7f42d076a70fc8d3d4583ccc4460d7de6abb714b34877c2a7ca3cdf64edad78","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(away, home, scheduled):\n    A = sum(away)\n    H = sum(home)\n    na, nh = len(away), len(home)\n    if nh not in (na, na - 1):\n        return 'invalid'\n    if nh == na - 1:\n        if na >= scheduled and H > A:\n            return ['final', 'home', na]\n        return ['in progress', None, None]\n    if na >= scheduled and A != H:\n        return ['final', 'home' if H > A else 'away', na]\n    return ['in progress', None, None]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ndef run(args):\n    try:\n        return solve(*args)\n    except Exception as exc:\n        return 'raised ' + type(exc).__name__\ncases = [[('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([3, 0, 2, 0, 3, 2, 1, 0, 0, 1, 0, 0], [1, 1, 1, 1, 1, 0, 1, 2, 0, 0, 1, 3], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 0, 0, 1, 3, 1], [0, 3, 0, 3, 1], 7), ['in progress', None, None]),\n  ('variant scenario 2',\n   ([0, 0, 0, 3, 0, 1, 2, 0], [1, 1, 0, 2, 3, 2, 2, 3], 7),\n   ['final', 'home', 8])],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([1, 3, 1, 1, 0, 1, 3, 0, 2], [0, 1, 1, 0, 2, 3, 3, 0, 2], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1',\n   ([0, 0, 1, 3, 0, 1, 1, 0, 2, 0, 0, 3], [0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 12]),\n  ('variant scenario 2', ([0, 0, 0, 2, 2, 0, 0], [2, 0, 2, 2, 0], 7), 'invalid')],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([0, 0, 3, 2, 0, 1, 0, 2], [1, 1, 0, 0, 3, 1, 0, 2], 7),\n   ['in progress', None, None]),\n  ('variant scenario 1',\n   ([1, 0, 1, 1, 1, 0, 0, 1, 2], [1, 0, 0, 1, 0, 3, 0, 0], 7),\n   ['in progress', None, None]),\n  ('variant scenario 2', ([1, 0, 1, 3], [0, 0, 2, 2, 1], 7), 'invalid')],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([1, 0, 1, 1, 1, 2, 1, 2, 3, 0, 3], [1, 1, 0, 1, 1, 3, 1, 3, 1, 1, 2], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 1, 2, 0, 1, 0], [2, 0, 3, 0, 0], 9), ['in progress', None, None]),\n  ('variant scenario 2',\n   ([0, 0, 0, 1, 1, 1, 0, 3, 1], [2, 0, 0, 3, 1, 3, 1, 1, 2], 7),\n   ['final', 'home', 9])],\n [('control home leads skip bottom ninth',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 1], [2, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'home', 9]),\n  ('boundary tied after nine',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control away wins in ten',\n   ([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['final', 'away', 10]),\n  ('boundary mid-game', ([1, 0, 0], [0, 0], 9), ['in progress', None, None]),\n  ('boundary home trails before bottom ninth',\n   ([1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('control malformed line', ([1, 0], [0, 0, 0], 9), 'invalid'),\n  ('regression: tie continuation',\n   ([0, 0, 0, 0, 0, 3, 3, 1, 0, 0], [2, 1, 1, 0, 0, 1, 2, 0, 0, 0], 9),\n   ['in progress', None, None]),\n  ('variant scenario 1', ([0, 0, 1, 0, 1, 1], [3, 2, 3, 0, 0], 9), ['in progress', None, None]),\n  ('variant scenario 2', ([0, 3, 0, 0, 1, 0], [1, 1, 1, 0, 1, 2], 7), ['in progress', None, None])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, run(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, bounded toy contract stated in the contract field; not a claim of conformance with any governing body rulebook or operator house rules. 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-sports-scoring-baseball-game-status-tie-continuation","generated_at":"2026-09-29T14:50:28.127369+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Scoreboards and settlement engines decide when a baseball game is official and who won.","repair":"Continue into extra innings while tied.","root_cause":"The completion test does not require the score to differ.","sha256":"496be5aff535dfa0200c9e03d294fb2c8f763ccd263561af35435bdcd0d27525","title":"Tied regulation game finalized · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":39.296,"exit_code":1,"observations":[{"actual":["final","home",9],"check":"control home leads skip bottom ninth","expected":["final","home",9],"passed":true},{"actual":["final",null,9],"check":"boundary tied after nine","expected":["in progress",null,null],"passed":false},{"actual":["final","away",10],"check":"control away wins in ten","expected":["final","away",10],"passed":true},{"actual":["in progress",null,null],"check":"boundary mid-game","expected":["in progress",null,null],"passed":true},{"actual":["in progress",null,null],"check":"boundary home trails before bottom ninth","expected":["in progress",null,null],"passed":true},{"actual":"invalid","check":"control malformed line","expected":"invalid","passed":true},{"actual":["final",null,12],"check":"regression: tie continuation","expected":["in progress",null,null],"passed":false},{"actual":["in progress",null,null],"check":"variant scenario 1","expected":["in progress",null,null],"passed":true},{"actual":["final","home",8],"check":"variant scenario 2","expected":["final","home",8],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"control home leads skip bottom ninth\", \"actual\": [\"final\", \"home\", 9], \"expected\": [\"final\", \"home\", 9], \"passed\": true}, {\"check\": \"boundary tied after nine\", \"actual\": [\"final\", null, 9], \"expected\": [\"in progress\", null, null], \"passed\": false}, {\"check\": \"control away wins in ten\", \"actual\": [\"final\", \"away\", 10], \"expected\": [\"final\", \"away\", 10], \"passed\": true}, {\"check\": \"boundary mid-game\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"boundary home trails before bottom ninth\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"control malformed line\", \"actual\": \"invalid\", \"expected\": \"invalid\", \"passed\": true}, {\"check\": \"regression: tie continuation\", \"actual\": [\"final\", null, 12], \"expected\": [\"in progress\", null, null], \"passed\": false}, {\"check\": \"variant scenario 1\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"variant scenario 2\", \"actual\": [\"final\", \"home\", 8], \"expected\": [\"final\", \"home\", 8], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.554,"exit_code":1,"observations":[{"actual":["final","home",9],"check":"control home leads skip bottom ninth","expected":["final","home",9],"passed":true},{"actual":["final","away",9],"check":"boundary tied after nine","expected":["in progress",null,null],"passed":false},{"actual":["final","away",10],"check":"control away wins in ten","expected":["final","away",10],"passed":true},{"actual":["in progress",null,null],"check":"boundary mid-game","expected":["in progress",null,null],"passed":true},{"actual":["in progress",null,null],"check":"boundary home trails before bottom ninth","expected":["in progress",null,null],"passed":true},{"actual":"invalid","check":"control malformed line","expected":"invalid","passed":true},{"actual":["final","away",12],"check":"regression: tie continuation","expected":["in progress",null,null],"passed":false},{"actual":["in progress",null,null],"check":"variant scenario 1","expected":["in progress",null,null],"passed":true},{"actual":["final","home",8],"check":"variant scenario 2","expected":["final","home",8],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"control home leads skip bottom ninth\", \"actual\": [\"final\", \"home\", 9], \"expected\": [\"final\", \"home\", 9], \"passed\": true}, {\"check\": \"boundary tied after nine\", \"actual\": [\"final\", \"away\", 9], \"expected\": [\"in progress\", null, null], \"passed\": false}, {\"check\": \"control away wins in ten\", \"actual\": [\"final\", \"away\", 10], \"expected\": [\"final\", \"away\", 10], \"passed\": true}, {\"check\": \"boundary mid-game\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"boundary home trails before bottom ninth\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"control malformed line\", \"actual\": \"invalid\", \"expected\": \"invalid\", \"passed\": true}, {\"check\": \"regression: tie continuation\", \"actual\": [\"final\", \"away\", 12], \"expected\": [\"in progress\", null, null], \"passed\": false}, {\"check\": \"variant scenario 1\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"variant scenario 2\", \"actual\": [\"final\", \"home\", 8], \"expected\": [\"final\", \"home\", 8], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.33,"exit_code":0,"observations":[{"actual":["final","home",9],"check":"control home leads skip bottom ninth","expected":["final","home",9],"passed":true},{"actual":["in progress",null,null],"check":"boundary tied after nine","expected":["in progress",null,null],"passed":true},{"actual":["final","away",10],"check":"control away wins in ten","expected":["final","away",10],"passed":true},{"actual":["in progress",null,null],"check":"boundary mid-game","expected":["in progress",null,null],"passed":true},{"actual":["in progress",null,null],"check":"boundary home trails before bottom ninth","expected":["in progress",null,null],"passed":true},{"actual":"invalid","check":"control malformed line","expected":"invalid","passed":true},{"actual":["in progress",null,null],"check":"regression: tie continuation","expected":["in progress",null,null],"passed":true},{"actual":["in progress",null,null],"check":"variant scenario 1","expected":["in progress",null,null],"passed":true},{"actual":["final","home",8],"check":"variant scenario 2","expected":["final","home",8],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"control home leads skip bottom ninth\", \"actual\": [\"final\", \"home\", 9], \"expected\": [\"final\", \"home\", 9], \"passed\": true}, {\"check\": \"boundary tied after nine\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"control away wins in ten\", \"actual\": [\"final\", \"away\", 10], \"expected\": [\"final\", \"away\", 10], \"passed\": true}, {\"check\": \"boundary mid-game\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"boundary home trails before bottom ninth\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"control malformed line\", \"actual\": \"invalid\", \"expected\": \"invalid\", \"passed\": true}, {\"check\": \"regression: tie continuation\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"variant scenario 1\", \"actual\": [\"in progress\", null, null], \"expected\": [\"in progress\", null, null], \"passed\": true}, {\"check\": \"variant scenario 2\", \"actual\": [\"final\", \"home\", 8], \"expected\": [\"final\", \"home\", 8], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}