{"abstract":"When motions are listed out of order, the period runs from an earlier disposition.","category":"Legal deadline computation","checks":7,"contract":"Stipulated: the period is 30 days after entry of judgment, or 60 days if any party is the united-states, an agency or an officer. A motion filed within 28 days after entry (inclusive) tolls the period, which then runs from the latest disposition of such motions; if any tolling motion is undisposed the result is \"pending\". Untimely motions have no effect. A deadline on a Saturday, Sunday or listed holiday moves to the next open day.","evaluation_group":"w2-legal-deadline-computation-appeal-tolling-motions","failed_approach":"The partial repair `max(e, dt.date.fromisoformat(disposed))` only guards against dispositions before entry, still taking the last listed one.","family":"w2-legal-deadline-computation-appeal-tolling-motions-latest-disposition","id":"FA-77516","implementations":{"attempt":{"sha256":"fd4246ede9a6da8f5530e9cc467bbdeedbfd4d03e9d4fcccd9b747ac8a6e2af6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport datetime as dt\nimport calendar\nN = 1\nobservations = []\ndef solve(entry, parties, motions, holidays):\n    e = dt.date.fromisoformat(entry)\n    hol = {dt.date.fromisoformat(x) for x in holidays}\n    period = 60 if any(p in ('united-states', 'agency', 'officer') for p in parties) else 30\n    start = e\n    pending = False\n    for filed, disposed in motions:\n        f = dt.date.fromisoformat(filed)\n        if (f - e).days <= 28:\n            if disposed is None:\n                pending = True\n            else:\n                start = max(e, dt.date.fromisoformat(disposed))\n    if pending:\n        return 'pending'\n    d = start + dt.timedelta(days=period)\n    while d.weekday() >= 5 or d in hol:\n        d += dt.timedelta(days=1)\n    return d.isoformat()\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('private parties',\n   ['2024-03-01',\n    ['smith', 'jones'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('motion on day 28',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-29', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-15'),\n  ('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending')],\n [('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('motion on day 28',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-29', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-15'),\n  ('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05')],\n [('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11')],\n [('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11'),\n  ('memorial day landing',\n   ['2024-04-27',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-28'),\n  ('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31')],\n [('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11'),\n  ('memorial day landing',\n   ['2024-04-27',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-28'),\n  ('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('private parties',\n   ['2024-03-01',\n    ['smith', 'jones'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31')]]\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":"e8a6ec33ac06b310dc43ba03a916dac89cb679805cb347b4182274af07ce8709","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport datetime as dt\nimport calendar\nN = 1\nobservations = []\ndef solve(entry, parties, motions, holidays):\n    e = dt.date.fromisoformat(entry)\n    hol = {dt.date.fromisoformat(x) for x in holidays}\n    period = 60 if any(p in ('united-states', 'agency', 'officer') for p in parties) else 30\n    start = e\n    pending = False\n    for filed, disposed in motions:\n        f = dt.date.fromisoformat(filed)\n        if (f - e).days <= 28:\n            if disposed is None:\n                pending = True\n            else:\n                start = dt.date.fromisoformat(disposed)\n    if pending:\n        return 'pending'\n    d = start + dt.timedelta(days=period)\n    while d.weekday() >= 5 or d in hol:\n        d += dt.timedelta(days=1)\n    return d.isoformat()\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('private parties',\n   ['2024-03-01',\n    ['smith', 'jones'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('motion on day 28',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-29', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-15'),\n  ('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending')],\n [('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('motion on day 28',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-29', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-15'),\n  ('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05')],\n [('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11')],\n [('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11'),\n  ('memorial day landing',\n   ['2024-04-27',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-28'),\n  ('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31')],\n [('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11'),\n  ('memorial day landing',\n   ['2024-04-27',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-28'),\n  ('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('private parties',\n   ['2024-03-01',\n    ['smith', 'jones'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31')]]\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":"34fe4305b04b45a8fb0babc33477296e326b0dcdf52e31192bcfcadf8d6da209","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport datetime as dt\nimport calendar\nN = 1\nobservations = []\ndef solve(entry, parties, motions, holidays):\n    e = dt.date.fromisoformat(entry)\n    hol = {dt.date.fromisoformat(x) for x in holidays}\n    period = 60 if any(p in ('united-states', 'agency', 'officer') for p in parties) else 30\n    start = e\n    pending = False\n    for filed, disposed in motions:\n        f = dt.date.fromisoformat(filed)\n        if (f - e).days <= 28:\n            if disposed is None:\n                pending = True\n            else:\n                start = max(start, dt.date.fromisoformat(disposed))\n    if pending:\n        return 'pending'\n    d = start + dt.timedelta(days=period)\n    while d.weekday() >= 5 or d in hol:\n        d += dt.timedelta(days=1)\n    return d.isoformat()\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('private parties',\n   ['2024-03-01',\n    ['smith', 'jones'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('motion on day 28',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-29', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-15'),\n  ('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending')],\n [('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('motion on day 28',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-29', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-15'),\n  ('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05')],\n [('motion on day 29',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-30', '2024-04-15']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31'),\n  ('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11')],\n [('pending after disposed',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-04-01'], ['2024-03-12', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('single pending',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   'pending'),\n  ('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11'),\n  ('memorial day landing',\n   ['2024-04-27',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-28'),\n  ('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31')],\n [('lands on holiday',\n   ['2024-06-04',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-07-05'),\n  ('lands on weekend',\n   ['2024-02-05',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-06'),\n  ('untimely pending ignored',\n   ['2024-01-10',\n    ['united-states'],\n    [['2024-02-20', None]],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-03-11'),\n  ('memorial day landing',\n   ['2024-04-27',\n    ['smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-28'),\n  ('regression: agency party',\n   ['2024-03-01',\n    ['agency', 'smith'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('private parties',\n   ['2024-03-01',\n    ['smith', 'jones'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-01'),\n  ('government second',\n   ['2024-03-01',\n    ['smith', 'officer'],\n    [],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-04-30'),\n  ('out of order dispositions',\n   ['2024-03-01',\n    ['smith'],\n    [['2024-03-10', '2024-05-01'], ['2024-03-12', '2024-04-10']],\n    ['2024-01-01',\n     '2024-01-15',\n     '2024-02-19',\n     '2024-05-27',\n     '2024-06-19',\n     '2024-07-04',\n     '2024-09-02',\n     '2024-10-14',\n     '2024-11-11',\n     '2024-11-28',\n     '2024-12-25']],\n   '2024-05-31')]]\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 deadline rules evaluated offline on explicit fixtures. The contract is inspired by common court-rule structures but is not legal advice and makes no claim to reproduce any jurisdiction's 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-legal-deadline-computation-appeal-tolling-motions-latest-disposition","generated_at":"2026-09-29T14:49:26.378987+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Docketing systems compute filing and response deadlines from trigger events; a wrong date can forfeit a right.","repair":"At the latest disposition decision use `max(start, dt.date.fromisoformat(disposed))`, leaving the other decision sites of the model unchanged.","root_cause":"The period restarts from the last listed disposition rather than the latest one.","sha256":"4d32380b61e4cfda22b4768af3ce37fe9e2686732b4f174f55170095f4148cc2","title":"Notice-of-appeal deadline with tolling post-judgment motions: latest disposition · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.162,"exit_code":1,"observations":[{"actual":"2024-04-30","check":"regression: agency party","expected":"2024-04-30","passed":true},{"actual":"2024-04-01","check":"private parties","expected":"2024-04-01","passed":true},{"actual":"2024-04-30","check":"government second","expected":"2024-04-30","passed":true},{"actual":"2024-05-15","check":"motion on day 28","expected":"2024-05-15","passed":true},{"actual":"2024-04-01","check":"motion on day 29","expected":"2024-04-01","passed":true},{"actual":"2024-05-10","check":"out of order dispositions","expected":"2024-05-31","passed":false},{"actual":"pending","check":"pending after disposed","expected":"pending","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: agency party\", \"actual\": \"2024-04-30\", \"expected\": \"2024-04-30\", \"passed\": true}, {\"check\": \"private parties\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-01\", \"passed\": true}, {\"check\": \"government second\", \"actual\": \"2024-04-30\", \"expected\": \"2024-04-30\", \"passed\": true}, {\"check\": \"motion on day 28\", \"actual\": \"2024-05-15\", \"expected\": \"2024-05-15\", \"passed\": true}, {\"check\": \"motion on day 29\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-01\", \"passed\": true}, {\"check\": \"out of order dispositions\", \"actual\": \"2024-05-10\", \"expected\": \"2024-05-31\", \"passed\": false}, {\"check\": \"pending after disposed\", \"actual\": \"pending\", \"expected\": \"pending\", \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.296,"exit_code":1,"observations":[{"actual":"2024-04-30","check":"regression: agency party","expected":"2024-04-30","passed":true},{"actual":"2024-04-01","check":"private parties","expected":"2024-04-01","passed":true},{"actual":"2024-04-30","check":"government second","expected":"2024-04-30","passed":true},{"actual":"2024-05-15","check":"motion on day 28","expected":"2024-05-15","passed":true},{"actual":"2024-04-01","check":"motion on day 29","expected":"2024-04-01","passed":true},{"actual":"2024-05-10","check":"out of order dispositions","expected":"2024-05-31","passed":false},{"actual":"pending","check":"pending after disposed","expected":"pending","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: agency party\", \"actual\": \"2024-04-30\", \"expected\": \"2024-04-30\", \"passed\": true}, {\"check\": \"private parties\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-01\", \"passed\": true}, {\"check\": \"government second\", \"actual\": \"2024-04-30\", \"expected\": \"2024-04-30\", \"passed\": true}, {\"check\": \"motion on day 28\", \"actual\": \"2024-05-15\", \"expected\": \"2024-05-15\", \"passed\": true}, {\"check\": \"motion on day 29\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-01\", \"passed\": true}, {\"check\": \"out of order dispositions\", \"actual\": \"2024-05-10\", \"expected\": \"2024-05-31\", \"passed\": false}, {\"check\": \"pending after disposed\", \"actual\": \"pending\", \"expected\": \"pending\", \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":42.491,"exit_code":0,"observations":[{"actual":"2024-04-30","check":"regression: agency party","expected":"2024-04-30","passed":true},{"actual":"2024-04-01","check":"private parties","expected":"2024-04-01","passed":true},{"actual":"2024-04-30","check":"government second","expected":"2024-04-30","passed":true},{"actual":"2024-05-15","check":"motion on day 28","expected":"2024-05-15","passed":true},{"actual":"2024-04-01","check":"motion on day 29","expected":"2024-04-01","passed":true},{"actual":"2024-05-31","check":"out of order dispositions","expected":"2024-05-31","passed":true},{"actual":"pending","check":"pending after disposed","expected":"pending","passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: agency party\", \"actual\": \"2024-04-30\", \"expected\": \"2024-04-30\", \"passed\": true}, {\"check\": \"private parties\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-01\", \"passed\": true}, {\"check\": \"government second\", \"actual\": \"2024-04-30\", \"expected\": \"2024-04-30\", \"passed\": true}, {\"check\": \"motion on day 28\", \"actual\": \"2024-05-15\", \"expected\": \"2024-05-15\", \"passed\": true}, {\"check\": \"motion on day 29\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-01\", \"passed\": true}, {\"check\": \"out of order dispositions\", \"actual\": \"2024-05-31\", \"expected\": \"2024-05-31\", \"passed\": true}, {\"check\": \"pending after disposed\", \"actual\": \"pending\", \"expected\": \"pending\", \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}