{"abstract":"An appeal deadline landing on a holiday is not extended.","category":"Legal deadline computation","checks":8,"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 `d in hol` extends for holidays but not weekends.","family":"w2-legal-deadline-computation-appeal-tolling-motions-roll-holidays","id":"FA-77526","implementations":{"attempt":{"sha256":"c25292a6f352606cf329898fa6bc916c1aef9a9672e171ee316f802016c9314d","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 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  ('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 [('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 [('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":"9cfbc378b86153d23b56c084da4b33360c4446ddcd535fb220a5adb2e85acc57","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:\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  ('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 [('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 [('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":"0a0c0aee082a0fa7944c0bc48adc4339ee2e0ec8945b4e074f2afab6b7db6541","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  ('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 [('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 [('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-roll-holidays","generated_at":"2026-09-29T14:49:26.420431+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 roll holidays decision use `d.weekday() >= 5 or d in hol`, leaving the other decision sites of the model unchanged.","root_cause":"Only weekends extend the deadline.","sha256":"316729bdb8a0a32d9e26451dd6198a11dd5e7ac2b649ba547cbb514a59f2146a","title":"Notice-of-appeal deadline with tolling post-judgment motions: roll holidays · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.104,"exit_code":1,"observations":[{"actual":"2024-04-30","check":"regression: agency party","expected":"2024-04-30","passed":true},{"actual":"2024-03-31","check":"private parties","expected":"2024-04-01","passed":false},{"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-03-31","check":"motion on day 29","expected":"2024-04-01","passed":false},{"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},{"actual":"2024-07-05","check":"lands on holiday","expected":"2024-07-05","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-03-31\", \"expected\": \"2024-04-01\", \"passed\": false}, {\"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-03-31\", \"expected\": \"2024-04-01\", \"passed\": false}, {\"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}, {\"check\": \"lands on holiday\", \"actual\": \"2024-07-05\", \"expected\": \"2024-07-05\", \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.582,"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-31","check":"out of order dispositions","expected":"2024-05-31","passed":true},{"actual":"pending","check":"pending after disposed","expected":"pending","passed":true},{"actual":"2024-07-04","check":"lands on holiday","expected":"2024-07-05","passed":false}],"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-31\", \"expected\": \"2024-05-31\", \"passed\": true}, {\"check\": \"pending after disposed\", \"actual\": \"pending\", \"expected\": \"pending\", \"passed\": true}, {\"check\": \"lands on holiday\", \"actual\": \"2024-07-04\", \"expected\": \"2024-07-05\", \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.954,"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},{"actual":"2024-07-05","check":"lands on holiday","expected":"2024-07-05","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}, {\"check\": \"lands on holiday\", \"actual\": \"2024-07-05\", \"expected\": \"2024-07-05\", \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}