{"abstract":"Absent tears score 1 and decreased tears score 2.","category":"Clinical triage scoring","checks":9,"contract":"Input {appearance (normal|thirsty_restless|drowsy_limp), eyes (normal|slightly_sunken|very_sunken), mucous (moist|sticky|dry), tears (present|decreased|absent), weight_loss_pct (or null)}. Items score 0/1/2 in the listed order. Category: 0 NONE, 1-4 SOME, 5-8 MODERATE_SEVERE. A measured weight loss >= 10% forces MODERATE_SEVERE; >= 3% raises NONE to SOME but never lowers a category. Return {score, category}.","evaluation_group":"w2-triage-dehydration-scale","failed_approach":"Reversing the whole list scores normal tears as the worst finding.","family":"w2-triage-dehydration-scale-tears-item-order","id":"FA-64796","implementations":{"attempt":{"sha256":"e3ffff1b51ed913f58939d1f8150a9ca1d84e8588ae4c1bc6bb71398dfbb1ad8","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(x):\n    items = [('appearance', ['normal', 'thirsty_restless', 'drowsy_limp']), ('eyes', ['normal', 'slightly_sunken', 'very_sunken']),\n             ('mucous', ['moist', 'sticky', 'dry']), ('tears', ['absent', 'decreased', 'present'])]\n    s = sum(opts.index(x[k]) for k, opts in items)\n    cat = 'NONE' if s == 0 else 'SOME' if s <= 4 else 'MODERATE_SEVERE'\n    w = x['weight_loss_pct']\n    if w is not None:\n        w = Fraction(str(w))\n        if w >= 10:\n            cat = 'MODERATE_SEVERE'\n        elif w >= 3 and cat == 'NONE':\n            cat = 'SOME'\n    return {'score': s, 'category': cat}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '1'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '11'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.1'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.1'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '2'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 1, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '12'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.2'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.2'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '0'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '13'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.3'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.3'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '1'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 1, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '14'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.4'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.4'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '2'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '15'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.5'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.5'},\n   {'score': 0, 'category': 'SOME'})]]\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":"4bc7acbc6f21c686c8ff1b9e6220007c743dae98393725495001c3696e0e597d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(x):\n    items = [('appearance', ['normal', 'thirsty_restless', 'drowsy_limp']), ('eyes', ['normal', 'slightly_sunken', 'very_sunken']),\n             ('mucous', ['moist', 'sticky', 'dry']), ('tears', ['present', 'absent', 'decreased'])]\n    s = sum(opts.index(x[k]) for k, opts in items)\n    cat = 'NONE' if s == 0 else 'SOME' if s <= 4 else 'MODERATE_SEVERE'\n    w = x['weight_loss_pct']\n    if w is not None:\n        w = Fraction(str(w))\n        if w >= 10:\n            cat = 'MODERATE_SEVERE'\n        elif w >= 3 and cat == 'NONE':\n            cat = 'SOME'\n    return {'score': s, 'category': cat}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '1'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '11'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.1'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.1'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '2'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 1, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '12'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.2'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.2'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '0'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '13'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.3'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.3'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '1'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 1, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '14'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.4'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.4'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '2'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '15'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.5'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.5'},\n   {'score': 0, 'category': 'SOME'})]]\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":"1880cae4ca4f1062d9b63d120776b05d5b0021de4a1d5a87aafa62cf161d50b5","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(x):\n    items = [('appearance', ['normal', 'thirsty_restless', 'drowsy_limp']), ('eyes', ['normal', 'slightly_sunken', 'very_sunken']),\n             ('mucous', ['moist', 'sticky', 'dry']), ('tears', ['present', 'decreased', 'absent'])]\n    s = sum(opts.index(x[k]) for k, opts in items)\n    cat = 'NONE' if s == 0 else 'SOME' if s <= 4 else 'MODERATE_SEVERE'\n    w = x['weight_loss_pct']\n    if w is not None:\n        w = Fraction(str(w))\n        if w >= 10:\n            cat = 'MODERATE_SEVERE'\n        elif w >= 3 and cat == 'NONE':\n            cat = 'SOME'\n    return {'score': s, 'category': cat}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '1'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '11'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.1'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.1'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '2'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 1, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '12'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.2'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.2'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '0'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '13'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.3'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.3'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '1'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 1, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '14'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.4'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.4'},\n   {'score': 0, 'category': 'SOME'})],\n [('well child',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '2'},\n   {'score': 0, 'category': 'NONE'}),\n  ('score exactly 4',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 4, 'category': 'SOME'}),\n  ('score exactly 5',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'slightly_sunken',\n    'mucous': 'sticky',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 5, 'category': 'MODERATE_SEVERE'}),\n  ('tears absent only',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'sticky', 'tears': 'absent', 'weight_loss_pct': None},\n   {'score': 3, 'category': 'SOME'}),\n  ('tears decreased only',\n   {'appearance': 'normal',\n    'eyes': 'slightly_sunken',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': None},\n   {'score': 2, 'category': 'SOME'}),\n  ('weight loss exactly 10 percent',\n   {'appearance': 'thirsty_restless',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'decreased',\n    'weight_loss_pct': '10'},\n   {'score': 2, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 10 percent no signs',\n   {'appearance': 'normal', 'eyes': 'normal', 'mucous': 'moist', 'tears': 'present', 'weight_loss_pct': '15'},\n   {'score': 0, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 4 percent with severe signs',\n   {'appearance': 'drowsy_limp',\n    'eyes': 'very_sunken',\n    'mucous': 'dry',\n    'tears': 'absent',\n    'weight_loss_pct': '4.5'},\n   {'score': 8, 'category': 'MODERATE_SEVERE'}),\n  ('weight loss 3 percent without signs',\n   {'appearance': 'normal',\n    'eyes': 'normal',\n    'mucous': 'moist',\n    'tears': 'present',\n    'weight_loss_pct': '3.5'},\n   {'score': 0, 'category': 'SOME'})]]\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-dehydration-scale-tears-item-order","generated_at":"2026-09-29T14:47:28.130696+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Ordinal clinical scales combined with an objective override can fail in item mapping, band edges and override direction.","repair":"Order tears as present (0), decreased (1), absent (2).","root_cause":"The tears option list has the decreased and absent entries swapped.","sha256":"8c16b55ee4f66824f011aaca88f9f7bdf7212ed3d4661abd20f600073e5b8483","title":"Four-item dehydration scale with weight-loss override: tears item order · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.693,"exit_code":1,"observations":[{"actual":{"category":"SOME","score":2},"check":"well child","expected":{"category":"NONE","score":0},"passed":false},{"actual":{"category":"SOME","score":4},"check":"score exactly 4","expected":{"category":"SOME","score":4},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":5},"check":"score exactly 5","expected":{"category":"MODERATE_SEVERE","score":5},"passed":true},{"actual":{"category":"SOME","score":1},"check":"tears absent only","expected":{"category":"SOME","score":3},"passed":false},{"actual":{"category":"SOME","score":2},"check":"tears decreased only","expected":{"category":"SOME","score":2},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":2},"check":"weight loss exactly 10 percent","expected":{"category":"MODERATE_SEVERE","score":2},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":2},"check":"weight loss 10 percent no signs","expected":{"category":"MODERATE_SEVERE","score":0},"passed":false},{"actual":{"category":"MODERATE_SEVERE","score":6},"check":"weight loss 4 percent with severe signs","expected":{"category":"MODERATE_SEVERE","score":8},"passed":false},{"actual":{"category":"SOME","score":2},"check":"weight loss 3 percent without signs","expected":{"category":"SOME","score":0},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"well child\", \"actual\": {\"score\": 2, \"category\": \"SOME\"}, \"expected\": {\"score\": 0, \"category\": \"NONE\"}, \"passed\": false}, {\"check\": \"score exactly 4\", \"actual\": {\"score\": 4, \"category\": \"SOME\"}, \"expected\": {\"score\": 4, \"category\": \"SOME\"}, \"passed\": true}, {\"check\": \"score exactly 5\", \"actual\": {\"score\": 5, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 5, \"category\": \"MODERATE_SEVERE\"}, \"passed\": true}, {\"check\": \"tears absent only\", \"actual\": {\"score\": 1, \"category\": \"SOME\"}, \"expected\": {\"score\": 3, \"category\": \"SOME\"}, \"passed\": false}, {\"check\": \"tears decreased only\", \"actual\": {\"score\": 2, \"category\": \"SOME\"}, \"expected\": {\"score\": 2, \"category\": \"SOME\"}, \"passed\": true}, {\"check\": \"weight loss exactly 10 percent\", \"actual\": {\"score\": 2, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 2, \"category\": \"MODERATE_SEVERE\"}, \"passed\": true}, {\"check\": \"weight loss 10 percent no signs\", \"actual\": {\"score\": 2, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 0, \"category\": \"MODERATE_SEVERE\"}, \"passed\": false}, {\"check\": \"weight loss 4 percent with severe signs\", \"actual\": {\"score\": 6, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 8, \"category\": \"MODERATE_SEVERE\"}, \"passed\": false}, {\"check\": \"weight loss 3 percent without signs\", \"actual\": {\"score\": 2, \"category\": \"SOME\"}, \"expected\": {\"score\": 0, \"category\": \"SOME\"}, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":45.496,"exit_code":1,"observations":[{"actual":{"category":"NONE","score":0},"check":"well child","expected":{"category":"NONE","score":0},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":5},"check":"score exactly 4","expected":{"category":"SOME","score":4},"passed":false},{"actual":{"category":"MODERATE_SEVERE","score":6},"check":"score exactly 5","expected":{"category":"MODERATE_SEVERE","score":5},"passed":false},{"actual":{"category":"SOME","score":2},"check":"tears absent only","expected":{"category":"SOME","score":3},"passed":false},{"actual":{"category":"SOME","score":3},"check":"tears decreased only","expected":{"category":"SOME","score":2},"passed":false},{"actual":{"category":"MODERATE_SEVERE","score":3},"check":"weight loss exactly 10 percent","expected":{"category":"MODERATE_SEVERE","score":2},"passed":false},{"actual":{"category":"MODERATE_SEVERE","score":0},"check":"weight loss 10 percent no signs","expected":{"category":"MODERATE_SEVERE","score":0},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":7},"check":"weight loss 4 percent with severe signs","expected":{"category":"MODERATE_SEVERE","score":8},"passed":false},{"actual":{"category":"SOME","score":0},"check":"weight loss 3 percent without signs","expected":{"category":"SOME","score":0},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"well child\", \"actual\": {\"score\": 0, \"category\": \"NONE\"}, \"expected\": {\"score\": 0, \"category\": \"NONE\"}, \"passed\": true}, {\"check\": \"score exactly 4\", \"actual\": {\"score\": 5, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 4, \"category\": \"SOME\"}, \"passed\": false}, {\"check\": \"score exactly 5\", \"actual\": {\"score\": 6, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 5, \"category\": \"MODERATE_SEVERE\"}, \"passed\": false}, {\"check\": \"tears absent only\", \"actual\": {\"score\": 2, \"category\": \"SOME\"}, \"expected\": {\"score\": 3, \"category\": \"SOME\"}, \"passed\": false}, {\"check\": \"tears decreased only\", \"actual\": {\"score\": 3, \"category\": \"SOME\"}, \"expected\": {\"score\": 2, \"category\": \"SOME\"}, \"passed\": false}, {\"check\": \"weight loss exactly 10 percent\", \"actual\": {\"score\": 3, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 2, \"category\": \"MODERATE_SEVERE\"}, \"passed\": false}, {\"check\": \"weight loss 10 percent no signs\", \"actual\": {\"score\": 0, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 0, \"category\": \"MODERATE_SEVERE\"}, \"passed\": true}, {\"check\": \"weight loss 4 percent with severe signs\", \"actual\": {\"score\": 7, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 8, \"category\": \"MODERATE_SEVERE\"}, \"passed\": false}, {\"check\": \"weight loss 3 percent without signs\", \"actual\": {\"score\": 0, \"category\": \"SOME\"}, \"expected\": {\"score\": 0, \"category\": \"SOME\"}, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":43.491,"exit_code":0,"observations":[{"actual":{"category":"NONE","score":0},"check":"well child","expected":{"category":"NONE","score":0},"passed":true},{"actual":{"category":"SOME","score":4},"check":"score exactly 4","expected":{"category":"SOME","score":4},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":5},"check":"score exactly 5","expected":{"category":"MODERATE_SEVERE","score":5},"passed":true},{"actual":{"category":"SOME","score":3},"check":"tears absent only","expected":{"category":"SOME","score":3},"passed":true},{"actual":{"category":"SOME","score":2},"check":"tears decreased only","expected":{"category":"SOME","score":2},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":2},"check":"weight loss exactly 10 percent","expected":{"category":"MODERATE_SEVERE","score":2},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":0},"check":"weight loss 10 percent no signs","expected":{"category":"MODERATE_SEVERE","score":0},"passed":true},{"actual":{"category":"MODERATE_SEVERE","score":8},"check":"weight loss 4 percent with severe signs","expected":{"category":"MODERATE_SEVERE","score":8},"passed":true},{"actual":{"category":"SOME","score":0},"check":"weight loss 3 percent without signs","expected":{"category":"SOME","score":0},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"well child\", \"actual\": {\"score\": 0, \"category\": \"NONE\"}, \"expected\": {\"score\": 0, \"category\": \"NONE\"}, \"passed\": true}, {\"check\": \"score exactly 4\", \"actual\": {\"score\": 4, \"category\": \"SOME\"}, \"expected\": {\"score\": 4, \"category\": \"SOME\"}, \"passed\": true}, {\"check\": \"score exactly 5\", \"actual\": {\"score\": 5, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 5, \"category\": \"MODERATE_SEVERE\"}, \"passed\": true}, {\"check\": \"tears absent only\", \"actual\": {\"score\": 3, \"category\": \"SOME\"}, \"expected\": {\"score\": 3, \"category\": \"SOME\"}, \"passed\": true}, {\"check\": \"tears decreased only\", \"actual\": {\"score\": 2, \"category\": \"SOME\"}, \"expected\": {\"score\": 2, \"category\": \"SOME\"}, \"passed\": true}, {\"check\": \"weight loss exactly 10 percent\", \"actual\": {\"score\": 2, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 2, \"category\": \"MODERATE_SEVERE\"}, \"passed\": true}, {\"check\": \"weight loss 10 percent no signs\", \"actual\": {\"score\": 0, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 0, \"category\": \"MODERATE_SEVERE\"}, \"passed\": true}, {\"check\": \"weight loss 4 percent with severe signs\", \"actual\": {\"score\": 8, \"category\": \"MODERATE_SEVERE\"}, \"expected\": {\"score\": 8, \"category\": \"MODERATE_SEVERE\"}, \"passed\": true}, {\"check\": \"weight loss 3 percent without signs\", \"actual\": {\"score\": 0, \"category\": \"SOME\"}, \"expected\": {\"score\": 0, \"category\": \"SOME\"}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}