{"abstract":"A ten-year-old is charted with child proportions.","category":"Clinical triage scoring","checks":8,"contract":"Input {age_years (int), weight_kg, regions {name: fraction burned}, hours_since_burn}. Toy rule of nines: arms 9, trunk front 18, trunk back 18, perineum 1; age >= 10 head 9 and each leg 18; age < 10 head 18-age and each leg (27+age)/2. TBSA = sum(region % x fraction). Major burn when TBSA >= 20 (age >= 10) or >= 10 (age < 10); minor burns return total_ml 0 and no rate. Major: total = 4 mL x kg x TBSA; half is given over the remainder of the first 8 hours measured from the burn; rate is null once 8 hours have passed. Return {tbsa (1 dp), major, total_ml, first_rate_ml_h (1 dp)}.","contract_signature":"x","evaluation_group":"w2-triage-burn-extent","failed_approach":"Restricting the child chart to infants mischarts toddlers and school-age children.","family":"w2-triage-burn-extent-paediatric-proportion-age-cutoff","id":"FA-64571","implementations":{"attempt":{"sha256":"ab055b833d3c75c4aa1d93bd739b0f735a90f6f5f26e0564e06bbba1fadb1075","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(x):\n    a = x['age_years']\n    if a < 1:\n        head, leg = Fraction(18 - a), Fraction(27 + a, 2)\n    else:\n        head, leg = Fraction(9), Fraction(18)\n    pct = {'head': head, 'arm_l': 9, 'arm_r': 9, 'leg_l': leg, 'leg_r': leg, 'trunk_front': 18, 'trunk_back': 18, 'perineum': 1}\n    tbsa = sum(pct[k] * Fraction(str(v)) for k, v in x['regions'].items())\n    major = tbsa >= (10 if a < 10 else 20)\n    if not major:\n        return {'tbsa': round(float(tbsa), 1), 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}\n    total = 4 * Fraction(str(x['weight_kg'])) * tbsa\n    h = Fraction(str(x['hours_since_burn']))\n    rate = round(float(total / 2 / (8 - h)), 1) if h < 8 else None\n    return {'tbsa': round(float(tbsa), 1), 'major': True, 'total_ml': round(float(total)), 'first_rate_ml_h': rate}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 65, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 3, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 22.5, 'major': True, 'total_ml': 1350, 'first_rate_ml_h': 112.5}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '1'},\n    'hours_since_burn': '2'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 3780, 'first_rate_ml_h': 315.0}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 72,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 5760, 'first_rate_ml_h': 480.0}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.3'}, 'hours_since_burn': '2'},\n   {'tbsa': 11.7, 'major': True, 'total_ml': 842, 'first_rate_ml_h': 70.2}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.5'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 7560.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '9'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.1'},\n    'hours_since_burn': '2'},\n   {'tbsa': 10.8, 'major': True, 'total_ml': 346, 'first_rate_ml_h': 28.8})],\n [('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 4, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 23.2, 'major': True, 'total_ml': 1395, 'first_rate_ml_h': 116.2}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '0'},\n    'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 74,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 5920, 'first_rate_ml_h': 493.3}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.4'}, 'hours_since_burn': '2'},\n   {'tbsa': 12.6, 'major': True, 'total_ml': 907, 'first_rate_ml_h': 75.6}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.25'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 5040.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '10'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 12.6, 'major': True, 'total_ml': 403, 'first_rate_ml_h': 33.6})],\n [('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 75, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 5, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 24.0, 'major': True, 'total_ml': 1440, 'first_rate_ml_h': 120.0}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '1'},\n    'hours_since_burn': '2'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 3780, 'first_rate_ml_h': 315.0}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 76,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 6080, 'first_rate_ml_h': 506.7}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 13.5, 'major': True, 'total_ml': 972, 'first_rate_ml_h': 81.0}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.75'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 15120.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '11'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.3'},\n    'hours_since_burn': '2'},\n   {'tbsa': 14.4, 'major': True, 'total_ml': 461, 'first_rate_ml_h': 38.4})],\n [('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 80, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 6, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 24.8, 'major': True, 'total_ml': 1485, 'first_rate_ml_h': 123.8}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '0'},\n    'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 78,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 6240, 'first_rate_ml_h': 520.0}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.6'}, 'hours_since_burn': '2'},\n   {'tbsa': 14.4, 'major': True, 'total_ml': 1037, 'first_rate_ml_h': 86.4}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.2'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 4725.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '12'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.4'},\n    'hours_since_burn': '2'},\n   {'tbsa': 16.2, 'major': True, 'total_ml': 518, 'first_rate_ml_h': 43.2})],\n [('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 85, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 7, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 25.5, 'major': True, 'total_ml': 1530, 'first_rate_ml_h': 127.5}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '1'},\n    'hours_since_burn': '2'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 3780, 'first_rate_ml_h': 315.0}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 80,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 6400, 'first_rate_ml_h': 533.3}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.7'}, 'hours_since_burn': '2'},\n   {'tbsa': 15.3, 'major': True, 'total_ml': 1102, 'first_rate_ml_h': 91.8}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.6'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 9450.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '13'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.5'},\n    'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': True, 'total_ml': 576, 'first_rate_ml_h': 48.0})]]\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":"6510f78c1da8c5ca56cebddf3581ccc8253a15078bff05ed7f8ad35573fcc21f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(x):\n    a = x['age_years']\n    if a <= 10:\n        head, leg = Fraction(18 - a), Fraction(27 + a, 2)\n    else:\n        head, leg = Fraction(9), Fraction(18)\n    pct = {'head': head, 'arm_l': 9, 'arm_r': 9, 'leg_l': leg, 'leg_r': leg, 'trunk_front': 18, 'trunk_back': 18, 'perineum': 1}\n    tbsa = sum(pct[k] * Fraction(str(v)) for k, v in x['regions'].items())\n    major = tbsa >= (10 if a < 10 else 20)\n    if not major:\n        return {'tbsa': round(float(tbsa), 1), 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}\n    total = 4 * Fraction(str(x['weight_kg'])) * tbsa\n    h = Fraction(str(x['hours_since_burn']))\n    rate = round(float(total / 2 / (8 - h)), 1) if h < 8 else None\n    return {'tbsa': round(float(tbsa), 1), 'major': True, 'total_ml': round(float(total)), 'first_rate_ml_h': rate}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 65, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 3, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 22.5, 'major': True, 'total_ml': 1350, 'first_rate_ml_h': 112.5}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '1'},\n    'hours_since_burn': '2'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 3780, 'first_rate_ml_h': 315.0}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 72,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 5760, 'first_rate_ml_h': 480.0}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.3'}, 'hours_since_burn': '2'},\n   {'tbsa': 11.7, 'major': True, 'total_ml': 842, 'first_rate_ml_h': 70.2}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.5'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 7560.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '9'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.1'},\n    'hours_since_burn': '2'},\n   {'tbsa': 10.8, 'major': True, 'total_ml': 346, 'first_rate_ml_h': 28.8})],\n [('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 4, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 23.2, 'major': True, 'total_ml': 1395, 'first_rate_ml_h': 116.2}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '0'},\n    'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 74,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 5920, 'first_rate_ml_h': 493.3}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.4'}, 'hours_since_burn': '2'},\n   {'tbsa': 12.6, 'major': True, 'total_ml': 907, 'first_rate_ml_h': 75.6}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.25'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 5040.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '10'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 12.6, 'major': True, 'total_ml': 403, 'first_rate_ml_h': 33.6})],\n [('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 75, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 5, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 24.0, 'major': True, 'total_ml': 1440, 'first_rate_ml_h': 120.0}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '1'},\n    'hours_since_burn': '2'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 3780, 'first_rate_ml_h': 315.0}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 76,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 6080, 'first_rate_ml_h': 506.7}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 13.5, 'major': True, 'total_ml': 972, 'first_rate_ml_h': 81.0}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.75'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 15120.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '11'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.3'},\n    'hours_since_burn': '2'},\n   {'tbsa': 14.4, 'major': True, 'total_ml': 461, 'first_rate_ml_h': 38.4})],\n [('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 80, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 6, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 24.8, 'major': True, 'total_ml': 1485, 'first_rate_ml_h': 123.8}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '0'},\n    'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 78,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 6240, 'first_rate_ml_h': 520.0}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.6'}, 'hours_since_burn': '2'},\n   {'tbsa': 14.4, 'major': True, 'total_ml': 1037, 'first_rate_ml_h': 86.4}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.2'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 4725.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '12'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.4'},\n    'hours_since_burn': '2'},\n   {'tbsa': 16.2, 'major': True, 'total_ml': 518, 'first_rate_ml_h': 43.2})],\n [('adult anterior trunk',\n   {'age_years': 30, 'weight_kg': 85, 'regions': {'trunk_front': '1'}, 'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': False, 'total_ml': 0, 'first_rate_ml_h': None}),\n  ('child legs use adjusted proportion',\n   {'age_years': 7, 'weight_kg': 15, 'regions': {'leg_l': '1', 'leg_r': '0.5'}, 'hours_since_burn': '2'},\n   {'tbsa': 25.5, 'major': True, 'total_ml': 1530, 'first_rate_ml_h': 127.5}),\n  ('ten-year-old uses adult proportions',\n   {'age_years': 10,\n    'weight_kg': 35,\n    'regions': {'head': '1', 'leg_l': '0.5', 'arm_l': '1'},\n    'hours_since_burn': '2'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 3780, 'first_rate_ml_h': 315.0}),\n  ('adult exactly 20 percent',\n   {'age_years': 30,\n    'weight_kg': 80,\n    'regions': {'trunk_front': '0.5', 'head': '1', 'arm_l': '0.2', 'perineum': '0.2'},\n    'hours_since_burn': '2'},\n   {'tbsa': 20.0, 'major': True, 'total_ml': 6400, 'first_rate_ml_h': 533.3}),\n  ('child 12 percent is major',\n   {'age_years': 4, 'weight_kg': 18, 'regions': {'arm_l': '1', 'arm_r': '0.7'}, 'hours_since_burn': '2'},\n   {'tbsa': 15.3, 'major': True, 'total_ml': 1102, 'first_rate_ml_h': 91.8}),\n  ('late arrival shortens first window',\n   {'age_years': 30,\n    'weight_kg': 70,\n    'regions': {'trunk_front': '1', 'leg_l': '0.5'},\n    'hours_since_burn': '7.6'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': 9450.0}),\n  ('beyond eight hours',\n   {'age_years': 30, 'weight_kg': 70, 'regions': {'trunk_back': '1', 'arm_l': '1'}, 'hours_since_burn': '13'},\n   {'tbsa': 27.0, 'major': True, 'total_ml': 7560, 'first_rate_ml_h': None}),\n  ('infant head burn',\n   {'age_years': 0,\n    'weight_kg': 8,\n    'regions': {'head': '0.5', 'trunk_front': '0.5'},\n    'hours_since_burn': '2'},\n   {'tbsa': 18.0, 'major': True, 'total_ml': 576, 'first_rate_ml_h': 48.0})]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"A deterministic toy software model with explicitly stipulated thresholds and formulas; it is not clinical guidance, not a validated medical calculator, and makes no claim of conformance to any published protocol. Numbered variants vary patient and order inputs. 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-triage-burn-extent-paediatric-proportion-age-cutoff","generated_at":"2026-09-29T14:47:26.023924+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Burn triage depends on age-adjusted body proportions and on timing fluids from the injury rather than arrival.","root_cause":"The paediatric chart applies through age 10 inclusive.","sha256":"127f44cee9d69defc955467bc1fb238c0fc65d0e4c49d35802a8cd23de4235e1","title":"Burn surface area estimate and first-window fluid rate: paediatric proportion age cutoff · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":43.257,"exit_code":1,"observations":[{"actual":{"first_rate_ml_h":null,"major":false,"tbsa":18.0,"total_ml":0},"check":"adult anterior trunk","expected":{"first_rate_ml_h":null,"major":false,"tbsa":18.0,"total_ml":0},"passed":true},{"actual":{"first_rate_ml_h":135.0,"major":true,"tbsa":27.0,"total_ml":1620},"check":"child legs use adjusted proportion","expected":{"first_rate_ml_h":112.5,"major":true,"tbsa":22.5,"total_ml":1350},"passed":false},{"actual":{"first_rate_ml_h":315.0,"major":true,"tbsa":27.0,"total_ml":3780},"check":"ten-year-old uses adult proportions","expected":{"first_rate_ml_h":315.0,"major":true,"tbsa":27.0,"total_ml":3780},"passed":true},{"actual":{"first_rate_ml_h":480.0,"major":true,"tbsa":20.0,"total_ml":5760},"check":"adult exactly 20 percent","expected":{"first_rate_ml_h":480.0,"major":true,"tbsa":20.0,"total_ml":5760},"passed":true},{"actual":{"first_rate_ml_h":70.2,"major":true,"tbsa":11.7,"total_ml":842},"check":"child 12 percent is major","expected":{"first_rate_ml_h":70.2,"major":true,"tbsa":11.7,"total_ml":842},"passed":true},{"actual":{"first_rate_ml_h":7560.0,"major":true,"tbsa":27.0,"total_ml":7560},"check":"late arrival shortens first window","expected":{"first_rate_ml_h":7560.0,"major":true,"tbsa":27.0,"total_ml":7560},"passed":true},{"actual":{"first_rate_ml_h":null,"major":true,"tbsa":27.0,"total_ml":7560},"check":"beyond eight hours","expected":{"first_rate_ml_h":null,"major":true,"tbsa":27.0,"total_ml":7560},"passed":true},{"actual":{"first_rate_ml_h":28.8,"major":true,"tbsa":10.8,"total_ml":346},"check":"infant head burn","expected":{"first_rate_ml_h":28.8,"major":true,"tbsa":10.8,"total_ml":346},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"adult anterior trunk\", \"actual\": {\"tbsa\": 18.0, \"major\": false, \"total_ml\": 0, \"first_rate_ml_h\": null}, \"expected\": {\"tbsa\": 18.0, \"major\": false, \"total_ml\": 0, \"first_rate_ml_h\": null}, \"passed\": true}, {\"check\": \"child legs use adjusted proportion\", \"actual\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 1620, \"first_rate_ml_h\": 135.0}, \"expected\": {\"tbsa\": 22.5, \"major\": true, \"total_ml\": 1350, \"first_rate_ml_h\": 112.5}, \"passed\": false}, {\"check\": \"ten-year-old uses adult proportions\", \"actual\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 3780, \"first_rate_ml_h\": 315.0}, \"expected\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 3780, \"first_rate_ml_h\": 315.0}, \"passed\": true}, {\"check\": \"adult exactly 20 percent\", \"actual\": {\"tbsa\": 20.0, \"major\": true, \"total_ml\": 5760, \"first_rate_ml_h\": 480.0}, \"expected\": {\"tbsa\": 20.0, \"major\": true, \"total_ml\": 5760, \"first_rate_ml_h\": 480.0}, \"passed\": true}, {\"check\": \"child 12 percent is major\", \"actual\": {\"tbsa\": 11.7, \"major\": true, \"total_ml\": 842, \"first_rate_ml_h\": 70.2}, \"expected\": {\"tbsa\": 11.7, \"major\": true, \"total_ml\": 842, \"first_rate_ml_h\": 70.2}, \"passed\": true}, {\"check\": \"late arrival shortens first window\", \"actual\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 7560, \"first_rate_ml_h\": 7560.0}, \"expected\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 7560, \"first_rate_ml_h\": 7560.0}, \"passed\": true}, {\"check\": \"beyond eight hours\", \"actual\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 7560, \"first_rate_ml_h\": null}, \"expected\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 7560, \"first_rate_ml_h\": null}, \"passed\": true}, {\"check\": \"infant head burn\", \"actual\": {\"tbsa\": 10.8, \"major\": true, \"total_ml\": 346, \"first_rate_ml_h\": 28.8}, \"expected\": {\"tbsa\": 10.8, \"major\": true, \"total_ml\": 346, \"first_rate_ml_h\": 28.8}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":45.231,"exit_code":1,"observations":[{"actual":{"first_rate_ml_h":null,"major":false,"tbsa":18.0,"total_ml":0},"check":"adult anterior trunk","expected":{"first_rate_ml_h":null,"major":false,"tbsa":18.0,"total_ml":0},"passed":true},{"actual":{"first_rate_ml_h":112.5,"major":true,"tbsa":22.5,"total_ml":1350},"check":"child legs use adjusted proportion","expected":{"first_rate_ml_h":112.5,"major":true,"tbsa":22.5,"total_ml":1350},"passed":true},{"actual":{"first_rate_ml_h":306.2,"major":true,"tbsa":26.2,"total_ml":3675},"check":"ten-year-old uses adult proportions","expected":{"first_rate_ml_h":315.0,"major":true,"tbsa":27.0,"total_ml":3780},"passed":false},{"actual":{"first_rate_ml_h":480.0,"major":true,"tbsa":20.0,"total_ml":5760},"check":"adult exactly 20 percent","expected":{"first_rate_ml_h":480.0,"major":true,"tbsa":20.0,"total_ml":5760},"passed":true},{"actual":{"first_rate_ml_h":70.2,"major":true,"tbsa":11.7,"total_ml":842},"check":"child 12 percent is major","expected":{"first_rate_ml_h":70.2,"major":true,"tbsa":11.7,"total_ml":842},"passed":true},{"actual":{"first_rate_ml_h":7560.0,"major":true,"tbsa":27.0,"total_ml":7560},"check":"late arrival shortens first window","expected":{"first_rate_ml_h":7560.0,"major":true,"tbsa":27.0,"total_ml":7560},"passed":true},{"actual":{"first_rate_ml_h":null,"major":true,"tbsa":27.0,"total_ml":7560},"check":"beyond eight hours","expected":{"first_rate_ml_h":null,"major":true,"tbsa":27.0,"total_ml":7560},"passed":true},{"actual":{"first_rate_ml_h":28.8,"major":true,"tbsa":10.8,"total_ml":346},"check":"infant head burn","expected":{"first_rate_ml_h":28.8,"major":true,"tbsa":10.8,"total_ml":346},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"adult anterior trunk\", \"actual\": {\"tbsa\": 18.0, \"major\": false, \"total_ml\": 0, \"first_rate_ml_h\": null}, \"expected\": {\"tbsa\": 18.0, \"major\": false, \"total_ml\": 0, \"first_rate_ml_h\": null}, \"passed\": true}, {\"check\": \"child legs use adjusted proportion\", \"actual\": {\"tbsa\": 22.5, \"major\": true, \"total_ml\": 1350, \"first_rate_ml_h\": 112.5}, \"expected\": {\"tbsa\": 22.5, \"major\": true, \"total_ml\": 1350, \"first_rate_ml_h\": 112.5}, \"passed\": true}, {\"check\": \"ten-year-old uses adult proportions\", \"actual\": {\"tbsa\": 26.2, \"major\": true, \"total_ml\": 3675, \"first_rate_ml_h\": 306.2}, \"expected\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 3780, \"first_rate_ml_h\": 315.0}, \"passed\": false}, {\"check\": \"adult exactly 20 percent\", \"actual\": {\"tbsa\": 20.0, \"major\": true, \"total_ml\": 5760, \"first_rate_ml_h\": 480.0}, \"expected\": {\"tbsa\": 20.0, \"major\": true, \"total_ml\": 5760, \"first_rate_ml_h\": 480.0}, \"passed\": true}, {\"check\": \"child 12 percent is major\", \"actual\": {\"tbsa\": 11.7, \"major\": true, \"total_ml\": 842, \"first_rate_ml_h\": 70.2}, \"expected\": {\"tbsa\": 11.7, \"major\": true, \"total_ml\": 842, \"first_rate_ml_h\": 70.2}, \"passed\": true}, {\"check\": \"late arrival shortens first window\", \"actual\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 7560, \"first_rate_ml_h\": 7560.0}, \"expected\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 7560, \"first_rate_ml_h\": 7560.0}, \"passed\": true}, {\"check\": \"beyond eight hours\", \"actual\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 7560, \"first_rate_ml_h\": null}, \"expected\": {\"tbsa\": 27.0, \"major\": true, \"total_ml\": 7560, \"first_rate_ml_h\": null}, \"passed\": true}, {\"check\": \"infant head burn\", \"actual\": {\"tbsa\": 10.8, \"major\": true, \"total_ml\": 346, \"first_rate_ml_h\": 28.8}, \"expected\": {\"tbsa\": 10.8, \"major\": true, \"total_ml\": 346, \"first_rate_ml_h\": 28.8}, \"passed\": true}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}