{"abstract":"A case involving a federal agency gets only 30 days.","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 `60 if parties and parties[0] in ('united-states', 'agency', 'officer') else 30` only inspects the first listed party.","family":"w2-legal-deadline-computation-appeal-tolling-motions-party-period","id":"FA-77506","implementations":{"attempt":{"sha256":"4a9c40b14d5b4fdd5e17c552e5c7fc435184f3ac7e62a4dfa26458d9df9bef3a","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 parties and parties[0] in ('united-states', 'agency', 'officer') 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  ('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  ('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 [('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  ('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 [('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')]]\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":"4a1542b9de0c23608f5e77a40ed48cc2e00e9d9470a3944272909564428b4fcc","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 'united-states' 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  ('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  ('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 [('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  ('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 [('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')]]\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":"f3a78910e969af25c2d69fac8db733eb6d4abf7ecd116d272244faab19c2fc75","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  ('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  ('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 [('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  ('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 [('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')]]\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-party-period","generated_at":"2026-09-29T14:49:26.339105+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 party period decision use `60 if any(p in ('united-states', 'agency', 'officer') for p in parties) else 30`, leaving the other decision sites of the model unchanged.","root_cause":"Only the United States itself triggers the 60-day period.","sha256":"5bd94303f03e1f8c80267bbe0322ea70a52fdcb48700ffb97bf915c7f1264d00","title":"Notice-of-appeal deadline with tolling post-judgment motions: party period · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.345,"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-01","check":"government second","expected":"2024-04-30","passed":false},{"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":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-01\", \"expected\": \"2024-04-30\", \"passed\": false}, {\"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\": false}\n"},"broken":{"elapsed_ms":40.638,"exit_code":1,"observations":[{"actual":"2024-04-01","check":"regression: agency party","expected":"2024-04-30","passed":false},{"actual":"2024-04-01","check":"private parties","expected":"2024-04-01","passed":true},{"actual":"2024-04-01","check":"government second","expected":"2024-04-30","passed":false},{"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":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: agency party\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-30\", \"passed\": false}, {\"check\": \"private parties\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-01\", \"passed\": true}, {\"check\": \"government second\", \"actual\": \"2024-04-01\", \"expected\": \"2024-04-30\", \"passed\": false}, {\"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\": false}\n"},"fixed":{"elapsed_ms":40.402,"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"}