{"abstract":"A 47.5 kcal serving prints 50 but 42.5 kcal prints 40, and 142.5 mg sodium flips between bands.","category":"Recipe scaling and nutrition","checks":8,"contract":"Round a panel dict to displayed strings (toy label rules, half-up): calories <5 -> 0, <=50 -> nearest 5, else nearest 10; fat g <0.5 -> 0, <5 -> nearest 0.5, else nearest 1; sodium mg <5 -> 0, <=140 -> nearest 5, else nearest 10; cholesterol mg <2 -> \"0 mg\", <5 -> \"less than 5 mg\", else nearest 5; carbs g <0.5 -> \"0 g\", <1 -> \"less than 1 g\", else nearest 1. Absent keys are omitted. Values print with %g formatting.","contract_signature":"panel","evaluation_group":"w2-recipe_scaling_and_nutrition-label-rounding","failed_approach":"Ceiling of x/step - 1/2 rounds every tie down, which is half-down, not half-up.","family":"w2-recipe_scaling_and_nutrition-label-rounding-half-up-tie-rounding","id":"FA-96896","implementations":{"attempt":{"sha256":"e4a1d025c29d8b038a59414a1e43e35602523226e8996ba74e75580afa8e7b12","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(panel):\n    def near(x, step):\n        return math.ceil(x / step - Fraction(1, 2)) * step\n    def show(v, unit):\n        t = format(float(v), 'g')\n        return t + ' ' + unit if unit else t\n    out = {}\n    if 'calories' in panel:\n        c = Fraction(str(panel['calories']))\n        out['calories'] = show(0 if c < 5 else near(c, 5) if c <= 50 else near(c, 10), '')\n    if 'fat' in panel:\n        x = Fraction(str(panel['fat']))\n        out['fat'] = show(0 if x < Fraction(1, 2) else near(x, Fraction(1, 2)) if x < 5 else near(x, 1), 'g')\n    if 'sodium' in panel:\n        x = Fraction(str(panel['sodium']))\n        out['sodium'] = show(0 if x < 5 else near(x, 5) if x <= 140 else near(x, 10), 'mg')\n    if 'cholesterol' in panel:\n        x = Fraction(str(panel['cholesterol']))\n        out['cholesterol'] = '0 mg' if x < 2 else 'less than 5 mg' if x < 5 else show(near(x, 5), 'mg')\n    if 'carbs' in panel:\n        x = Fraction(str(panel['carbs']))\n        out['carbs'] = '0 g' if x < Fraction(1, 2) else 'less than 1 g' if x < 1 else show(near(x, 1), 'g')\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['empty panel', [{}], {}],\n  ['insignificant calories', [{'calories': 4.9, 'fat': 0.4}], {'calories': '0', 'fat': '0 g'}],\n  ['mid-band sodium', [{'carbs': 0.9, 'sodium': 137.5}], {'carbs': 'less than 1 g', 'sodium': '140 mg'}],\n  ['regression: half-up tie rounding', [{'calories': 161, 'carbs': 0.5, 'fat': 1.25, 'sodium': 7.5}],\n   {'calories': '160', 'carbs': 'less than 1 g', 'fat': '1.5 g', 'sodium': '10 mg'}],\n  ['repair check: half-up tie rounding',\n   [{'calories': 57.75, 'cholesterol': 5, 'fat': 1.25, 'sodium': 137.5}],\n   {'calories': '60', 'cholesterol': '5 mg', 'fat': '1.5 g', 'sodium': '140 mg'}],\n  ['generated control 1', [{'carbs': 30.4, 'sodium': 0.75}], {'carbs': '30 g', 'sodium': '0 mg'}],\n  ['generated control 2', [{'calories': 2.5, 'cholesterol': 22.5, 'fat': 1.25, 'sodium': 7.25}],\n   {'calories': '0', 'cholesterol': '25 mg', 'fat': '1.5 g', 'sodium': '5 mg'}],\n  ['generated control 3', [{'calories': 8.25, 'carbs': 0.9, 'fat': 2.75, 'sodium': 1.75}],\n   {'calories': '10', 'carbs': 'less than 1 g', 'fat': '3 g', 'sodium': '0 mg'}]],\n [['insignificant calories', [{'calories': 4.9, 'fat': 0.4}], {'calories': '0', 'fat': '0 g'}],\n  ['mid-band sodium', [{'carbs': 0.9, 'sodium': 137.5}], {'carbs': 'less than 1 g', 'sodium': '140 mg'}],\n  ['large values', [{'calories': 245, 'cholesterol': 22.5, 'fat': 12.5, 'sodium': 455}],\n   {'calories': '250', 'cholesterol': '25 mg', 'fat': '13 g', 'sodium': '460 mg'}],\n  ['regression: half-up tie rounding', [{'carbs': 0.9, 'cholesterol': 12, 'fat': 4.5, 'sodium': 145}],\n   {'carbs': 'less than 1 g', 'cholesterol': '10 mg', 'fat': '4.5 g', 'sodium': '150 mg'}],\n  ['repair check: half-up tie rounding',\n   [{'calories': 129, 'carbs': 1.5, 'cholesterol': 7.5, 'fat': 5.75, 'sodium': 142.5}],\n   {'calories': '130', 'carbs': '2 g', 'cholesterol': '10 mg', 'fat': '6 g', 'sodium': '140 mg'}],\n  ['generated control 1', [{'calories': 66.5, 'carbs': 0.2, 'fat': 1.75, 'sodium': 12.5}],\n   {'calories': '70', 'carbs': '0 g', 'fat': '2 g', 'sodium': '15 mg'}],\n  ['generated control 2', [{'calories': 217.5, 'cholesterol': 1.5, 'fat': 2.75, 'sodium': 145}],\n   {'calories': '220', 'cholesterol': '0 mg', 'fat': '3 g', 'sodium': '150 mg'}],\n  ['generated control 3', [{'carbs': 0.5, 'fat': 15.25}], {'carbs': 'less than 1 g', 'fat': '15 g'}]],\n [['mid-band sodium', [{'carbs': 0.9, 'sodium': 137.5}], {'carbs': 'less than 1 g', 'sodium': '140 mg'}],\n  ['large values', [{'calories': 245, 'cholesterol': 22.5, 'fat': 12.5, 'sodium': 455}],\n   {'calories': '250', 'cholesterol': '25 mg', 'fat': '13 g', 'sodium': '460 mg'}],\n  ['small cholesterol', [{'carbs': 12.5, 'cholesterol': 3}],\n   {'carbs': '13 g', 'cholesterol': 'less than 5 mg'}],\n  ['regression: half-up tie rounding', [{'calories': 12.25, 'carbs': 1, 'fat': 10.5, 'sodium': 137.5}],\n   {'calories': '10', 'carbs': '1 g', 'fat': '11 g', 'sodium': '140 mg'}],\n  ['repair check: half-up tie rounding',\n   [{'calories': 200, 'carbs': 1, 'cholesterol': 1.5, 'fat': 2.75, 'sodium': 134}],\n   {'calories': '200', 'carbs': '1 g', 'cholesterol': '0 mg', 'fat': '3 g', 'sodium': '135 mg'}],\n  ['generated control 1', [{'calories': 184.5, 'sodium': 5}], {'calories': '180', 'sodium': '5 mg'}],\n  ['generated control 2', [{'calories': 96.5, 'carbs': 1.5, 'fat': 3.5, 'sodium': 7.5}],\n   {'calories': '100', 'carbs': '2 g', 'fat': '3.5 g', 'sodium': '10 mg'}],\n  ['generated control 3', [{'calories': 1.25, 'cholesterol': 4.9, 'sodium': 142.5}],\n   {'calories': '0', 'cholesterol': 'less than 5 mg', 'sodium': '140 mg'}]],\n [['large values', [{'calories': 245, 'cholesterol': 22.5, 'fat': 12.5, 'sodium': 455}],\n   {'calories': '250', 'cholesterol': '25 mg', 'fat': '13 g', 'sodium': '460 mg'}],\n  ['small cholesterol', [{'carbs': 12.5, 'cholesterol': 3}],\n   {'carbs': '13 g', 'cholesterol': 'less than 5 mg'}],\n  ['empty panel', [{}], {}],\n  ['regression: half-up tie rounding', [{'calories': 4.6, 'cholesterol': 1.5, 'fat': 0, 'sodium': 12.5}],\n   {'calories': '0', 'cholesterol': '0 mg', 'fat': '0 g', 'sodium': '15 mg'}],\n  ['repair check: half-up tie rounding', [{'calories': 41, 'cholesterol': 7.5}],\n   {'calories': '40', 'cholesterol': '10 mg'}],\n  ['generated control 1', [{'calories': 2.5, 'carbs': 0.9, 'fat': 6, 'sodium': 137.5}],\n   {'calories': '0', 'carbs': 'less than 1 g', 'fat': '6 g', 'sodium': '140 mg'}],\n  ['generated control 2', [{'fat': 0, 'sodium': 137}], {'fat': '0 g', 'sodium': '135 mg'}],\n  ['generated control 3', [{'calories': 105, 'carbs': 0.2, 'cholesterol': 7.5, 'fat': 0.25, 'sodium': 2.75}],\n   {'calories': '110', 'carbs': '0 g', 'cholesterol': '10 mg', 'fat': '0 g', 'sodium': '0 mg'}]],\n [['small cholesterol', [{'carbs': 12.5, 'cholesterol': 3}],\n   {'carbs': '13 g', 'cholesterol': 'less than 5 mg'}],\n  ['empty panel', [{}], {}],\n  ['insignificant calories', [{'calories': 4.9, 'fat': 0.4}], {'calories': '0', 'fat': '0 g'}],\n  ['regression: half-up tie rounding', [{'calories': 89.5, 'fat': 1.25, 'sodium': 137.5}],\n   {'calories': '90', 'fat': '1.5 g', 'sodium': '140 mg'}],\n  ['repair check: half-up tie rounding', [{'fat': 4.75, 'sodium': 7.5}], {'fat': '5 g', 'sodium': '10 mg'}],\n  ['generated control 1', [{'calories': 89.5, 'carbs': 30.4, 'cholesterol': 5, 'fat': 15.5, 'sodium': 12.5}],\n   {'calories': '90', 'carbs': '30 g', 'cholesterol': '5 mg', 'fat': '16 g', 'sodium': '15 mg'}],\n  ['generated control 2', [{'calories': 40.25, 'cholesterol': 2.2, 'fat': 7.5}],\n   {'calories': '40', 'cholesterol': 'less than 5 mg', 'fat': '8 g'}],\n  ['generated control 3', [{'calories': 42.5, 'fat': 6.25, 'sodium': 142.5}],\n   {'calories': '45', 'fat': '6 g', 'sodium': '140 mg'}]]]\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":"1f2ea026b22764cf43b220b51927ef49da4b9dc50a2f43b3f3ccdc9f2d270351","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(panel):\n    def near(x, step):\n        return round(x / step) * step\n    def show(v, unit):\n        t = format(float(v), 'g')\n        return t + ' ' + unit if unit else t\n    out = {}\n    if 'calories' in panel:\n        c = Fraction(str(panel['calories']))\n        out['calories'] = show(0 if c < 5 else near(c, 5) if c <= 50 else near(c, 10), '')\n    if 'fat' in panel:\n        x = Fraction(str(panel['fat']))\n        out['fat'] = show(0 if x < Fraction(1, 2) else near(x, Fraction(1, 2)) if x < 5 else near(x, 1), 'g')\n    if 'sodium' in panel:\n        x = Fraction(str(panel['sodium']))\n        out['sodium'] = show(0 if x < 5 else near(x, 5) if x <= 140 else near(x, 10), 'mg')\n    if 'cholesterol' in panel:\n        x = Fraction(str(panel['cholesterol']))\n        out['cholesterol'] = '0 mg' if x < 2 else 'less than 5 mg' if x < 5 else show(near(x, 5), 'mg')\n    if 'carbs' in panel:\n        x = Fraction(str(panel['carbs']))\n        out['carbs'] = '0 g' if x < Fraction(1, 2) else 'less than 1 g' if x < 1 else show(near(x, 1), 'g')\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['empty panel', [{}], {}],\n  ['insignificant calories', [{'calories': 4.9, 'fat': 0.4}], {'calories': '0', 'fat': '0 g'}],\n  ['mid-band sodium', [{'carbs': 0.9, 'sodium': 137.5}], {'carbs': 'less than 1 g', 'sodium': '140 mg'}],\n  ['regression: half-up tie rounding', [{'calories': 161, 'carbs': 0.5, 'fat': 1.25, 'sodium': 7.5}],\n   {'calories': '160', 'carbs': 'less than 1 g', 'fat': '1.5 g', 'sodium': '10 mg'}],\n  ['repair check: half-up tie rounding',\n   [{'calories': 57.75, 'cholesterol': 5, 'fat': 1.25, 'sodium': 137.5}],\n   {'calories': '60', 'cholesterol': '5 mg', 'fat': '1.5 g', 'sodium': '140 mg'}],\n  ['generated control 1', [{'carbs': 30.4, 'sodium': 0.75}], {'carbs': '30 g', 'sodium': '0 mg'}],\n  ['generated control 2', [{'calories': 2.5, 'cholesterol': 22.5, 'fat': 1.25, 'sodium': 7.25}],\n   {'calories': '0', 'cholesterol': '25 mg', 'fat': '1.5 g', 'sodium': '5 mg'}],\n  ['generated control 3', [{'calories': 8.25, 'carbs': 0.9, 'fat': 2.75, 'sodium': 1.75}],\n   {'calories': '10', 'carbs': 'less than 1 g', 'fat': '3 g', 'sodium': '0 mg'}]],\n [['insignificant calories', [{'calories': 4.9, 'fat': 0.4}], {'calories': '0', 'fat': '0 g'}],\n  ['mid-band sodium', [{'carbs': 0.9, 'sodium': 137.5}], {'carbs': 'less than 1 g', 'sodium': '140 mg'}],\n  ['large values', [{'calories': 245, 'cholesterol': 22.5, 'fat': 12.5, 'sodium': 455}],\n   {'calories': '250', 'cholesterol': '25 mg', 'fat': '13 g', 'sodium': '460 mg'}],\n  ['regression: half-up tie rounding', [{'carbs': 0.9, 'cholesterol': 12, 'fat': 4.5, 'sodium': 145}],\n   {'carbs': 'less than 1 g', 'cholesterol': '10 mg', 'fat': '4.5 g', 'sodium': '150 mg'}],\n  ['repair check: half-up tie rounding',\n   [{'calories': 129, 'carbs': 1.5, 'cholesterol': 7.5, 'fat': 5.75, 'sodium': 142.5}],\n   {'calories': '130', 'carbs': '2 g', 'cholesterol': '10 mg', 'fat': '6 g', 'sodium': '140 mg'}],\n  ['generated control 1', [{'calories': 66.5, 'carbs': 0.2, 'fat': 1.75, 'sodium': 12.5}],\n   {'calories': '70', 'carbs': '0 g', 'fat': '2 g', 'sodium': '15 mg'}],\n  ['generated control 2', [{'calories': 217.5, 'cholesterol': 1.5, 'fat': 2.75, 'sodium': 145}],\n   {'calories': '220', 'cholesterol': '0 mg', 'fat': '3 g', 'sodium': '150 mg'}],\n  ['generated control 3', [{'carbs': 0.5, 'fat': 15.25}], {'carbs': 'less than 1 g', 'fat': '15 g'}]],\n [['mid-band sodium', [{'carbs': 0.9, 'sodium': 137.5}], {'carbs': 'less than 1 g', 'sodium': '140 mg'}],\n  ['large values', [{'calories': 245, 'cholesterol': 22.5, 'fat': 12.5, 'sodium': 455}],\n   {'calories': '250', 'cholesterol': '25 mg', 'fat': '13 g', 'sodium': '460 mg'}],\n  ['small cholesterol', [{'carbs': 12.5, 'cholesterol': 3}],\n   {'carbs': '13 g', 'cholesterol': 'less than 5 mg'}],\n  ['regression: half-up tie rounding', [{'calories': 12.25, 'carbs': 1, 'fat': 10.5, 'sodium': 137.5}],\n   {'calories': '10', 'carbs': '1 g', 'fat': '11 g', 'sodium': '140 mg'}],\n  ['repair check: half-up tie rounding',\n   [{'calories': 200, 'carbs': 1, 'cholesterol': 1.5, 'fat': 2.75, 'sodium': 134}],\n   {'calories': '200', 'carbs': '1 g', 'cholesterol': '0 mg', 'fat': '3 g', 'sodium': '135 mg'}],\n  ['generated control 1', [{'calories': 184.5, 'sodium': 5}], {'calories': '180', 'sodium': '5 mg'}],\n  ['generated control 2', [{'calories': 96.5, 'carbs': 1.5, 'fat': 3.5, 'sodium': 7.5}],\n   {'calories': '100', 'carbs': '2 g', 'fat': '3.5 g', 'sodium': '10 mg'}],\n  ['generated control 3', [{'calories': 1.25, 'cholesterol': 4.9, 'sodium': 142.5}],\n   {'calories': '0', 'cholesterol': 'less than 5 mg', 'sodium': '140 mg'}]],\n [['large values', [{'calories': 245, 'cholesterol': 22.5, 'fat': 12.5, 'sodium': 455}],\n   {'calories': '250', 'cholesterol': '25 mg', 'fat': '13 g', 'sodium': '460 mg'}],\n  ['small cholesterol', [{'carbs': 12.5, 'cholesterol': 3}],\n   {'carbs': '13 g', 'cholesterol': 'less than 5 mg'}],\n  ['empty panel', [{}], {}],\n  ['regression: half-up tie rounding', [{'calories': 4.6, 'cholesterol': 1.5, 'fat': 0, 'sodium': 12.5}],\n   {'calories': '0', 'cholesterol': '0 mg', 'fat': '0 g', 'sodium': '15 mg'}],\n  ['repair check: half-up tie rounding', [{'calories': 41, 'cholesterol': 7.5}],\n   {'calories': '40', 'cholesterol': '10 mg'}],\n  ['generated control 1', [{'calories': 2.5, 'carbs': 0.9, 'fat': 6, 'sodium': 137.5}],\n   {'calories': '0', 'carbs': 'less than 1 g', 'fat': '6 g', 'sodium': '140 mg'}],\n  ['generated control 2', [{'fat': 0, 'sodium': 137}], {'fat': '0 g', 'sodium': '135 mg'}],\n  ['generated control 3', [{'calories': 105, 'carbs': 0.2, 'cholesterol': 7.5, 'fat': 0.25, 'sodium': 2.75}],\n   {'calories': '110', 'carbs': '0 g', 'cholesterol': '10 mg', 'fat': '0 g', 'sodium': '0 mg'}]],\n [['small cholesterol', [{'carbs': 12.5, 'cholesterol': 3}],\n   {'carbs': '13 g', 'cholesterol': 'less than 5 mg'}],\n  ['empty panel', [{}], {}],\n  ['insignificant calories', [{'calories': 4.9, 'fat': 0.4}], {'calories': '0', 'fat': '0 g'}],\n  ['regression: half-up tie rounding', [{'calories': 89.5, 'fat': 1.25, 'sodium': 137.5}],\n   {'calories': '90', 'fat': '1.5 g', 'sodium': '140 mg'}],\n  ['repair check: half-up tie rounding', [{'fat': 4.75, 'sodium': 7.5}], {'fat': '5 g', 'sodium': '10 mg'}],\n  ['generated control 1', [{'calories': 89.5, 'carbs': 30.4, 'cholesterol': 5, 'fat': 15.5, 'sodium': 12.5}],\n   {'calories': '90', 'carbs': '30 g', 'cholesterol': '5 mg', 'fat': '16 g', 'sodium': '15 mg'}],\n  ['generated control 2', [{'calories': 40.25, 'cholesterol': 2.2, 'fat': 7.5}],\n   {'calories': '40', 'cholesterol': 'less than 5 mg', 'fat': '8 g'}],\n  ['generated control 3', [{'calories': 42.5, 'fat': 6.25, 'sodium': 142.5}],\n   {'calories': '45', 'fat': '6 g', 'sodium': '140 mg'}]]]\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 contract stated in full here; it is a bounded teaching model, not an authoritative reference or standards implementation. 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-recipe_scaling_and_nutrition-label-rounding-half-up-tie-rounding","generated_at":"2026-09-29T14:52:26.914730+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Packaged food and meal-kit labels are generated from recipe nutrition totals with banded rounding rules that differ per nutrient.","root_cause":"The shared rounding helper uses half-to-even, so ties alternate between rounding down and up.","sha256":"46607aee5f5c54dfbe98ee8dd7a5f9b6f3ce17e57cdfffc1afb920e634ccb457","title":"Nutrition label rounding: half-up tie rounding · 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.229,"exit_code":1,"observations":[{"actual":{},"check":"empty panel","expected":{},"passed":true},{"actual":{"calories":"0","fat":"0 g"},"check":"insignificant calories","expected":{"calories":"0","fat":"0 g"},"passed":true},{"actual":{"carbs":"less than 1 g","sodium":"135 mg"},"check":"mid-band sodium","expected":{"carbs":"less than 1 g","sodium":"140 mg"},"passed":false},{"actual":{"calories":"160","carbs":"less than 1 g","fat":"1 g","sodium":"5 mg"},"check":"regression: half-up tie rounding","expected":{"calories":"160","carbs":"less than 1 g","fat":"1.5 g","sodium":"10 mg"},"passed":false},{"actual":{"calories":"60","cholesterol":"5 mg","fat":"1 g","sodium":"135 mg"},"check":"repair check: half-up tie rounding","expected":{"calories":"60","cholesterol":"5 mg","fat":"1.5 g","sodium":"140 mg"},"passed":false},{"actual":{"carbs":"30 g","sodium":"0 mg"},"check":"generated control 1","expected":{"carbs":"30 g","sodium":"0 mg"},"passed":true},{"actual":{"calories":"0","cholesterol":"20 mg","fat":"1 g","sodium":"5 mg"},"check":"generated control 2","expected":{"calories":"0","cholesterol":"25 mg","fat":"1.5 g","sodium":"5 mg"},"passed":false},{"actual":{"calories":"10","carbs":"less than 1 g","fat":"2.5 g","sodium":"0 mg"},"check":"generated control 3","expected":{"calories":"10","carbs":"less than 1 g","fat":"3 g","sodium":"0 mg"},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"empty panel\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"insignificant calories\", \"actual\": {\"calories\": \"0\", \"fat\": \"0 g\"}, \"expected\": {\"calories\": \"0\", \"fat\": \"0 g\"}, \"passed\": true}, {\"check\": \"mid-band sodium\", \"actual\": {\"sodium\": \"135 mg\", \"carbs\": \"less than 1 g\"}, \"expected\": {\"carbs\": \"less than 1 g\", \"sodium\": \"140 mg\"}, \"passed\": false}, {\"check\": \"regression: half-up tie rounding\", \"actual\": {\"calories\": \"160\", \"fat\": \"1 g\", \"sodium\": \"5 mg\", \"carbs\": \"less than 1 g\"}, \"expected\": {\"calories\": \"160\", \"carbs\": \"less than 1 g\", \"fat\": \"1.5 g\", \"sodium\": \"10 mg\"}, \"passed\": false}, {\"check\": \"repair check: half-up tie rounding\", \"actual\": {\"calories\": \"60\", \"fat\": \"1 g\", \"sodium\": \"135 mg\", \"cholesterol\": \"5 mg\"}, \"expected\": {\"calories\": \"60\", \"cholesterol\": \"5 mg\", \"fat\": \"1.5 g\", \"sodium\": \"140 mg\"}, \"passed\": false}, {\"check\": \"generated control 1\", \"actual\": {\"sodium\": \"0 mg\", \"carbs\": \"30 g\"}, \"expected\": {\"carbs\": \"30 g\", \"sodium\": \"0 mg\"}, \"passed\": true}, {\"check\": \"generated control 2\", \"actual\": {\"calories\": \"0\", \"fat\": \"1 g\", \"sodium\": \"5 mg\", \"cholesterol\": \"20 mg\"}, \"expected\": {\"calories\": \"0\", \"cholesterol\": \"25 mg\", \"fat\": \"1.5 g\", \"sodium\": \"5 mg\"}, \"passed\": false}, {\"check\": \"generated control 3\", \"actual\": {\"calories\": \"10\", \"fat\": \"2.5 g\", \"sodium\": \"0 mg\", \"carbs\": \"less than 1 g\"}, \"expected\": {\"calories\": \"10\", \"carbs\": \"less than 1 g\", \"fat\": \"3 g\", \"sodium\": \"0 mg\"}, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.121,"exit_code":1,"observations":[{"actual":{},"check":"empty panel","expected":{},"passed":true},{"actual":{"calories":"0","fat":"0 g"},"check":"insignificant calories","expected":{"calories":"0","fat":"0 g"},"passed":true},{"actual":{"carbs":"less than 1 g","sodium":"140 mg"},"check":"mid-band sodium","expected":{"carbs":"less than 1 g","sodium":"140 mg"},"passed":true},{"actual":{"calories":"160","carbs":"less than 1 g","fat":"1 g","sodium":"10 mg"},"check":"regression: half-up tie rounding","expected":{"calories":"160","carbs":"less than 1 g","fat":"1.5 g","sodium":"10 mg"},"passed":false},{"actual":{"calories":"60","cholesterol":"5 mg","fat":"1 g","sodium":"140 mg"},"check":"repair check: half-up tie rounding","expected":{"calories":"60","cholesterol":"5 mg","fat":"1.5 g","sodium":"140 mg"},"passed":false},{"actual":{"carbs":"30 g","sodium":"0 mg"},"check":"generated control 1","expected":{"carbs":"30 g","sodium":"0 mg"},"passed":true},{"actual":{"calories":"0","cholesterol":"20 mg","fat":"1 g","sodium":"5 mg"},"check":"generated control 2","expected":{"calories":"0","cholesterol":"25 mg","fat":"1.5 g","sodium":"5 mg"},"passed":false},{"actual":{"calories":"10","carbs":"less than 1 g","fat":"3 g","sodium":"0 mg"},"check":"generated control 3","expected":{"calories":"10","carbs":"less than 1 g","fat":"3 g","sodium":"0 mg"},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"empty panel\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"insignificant calories\", \"actual\": {\"calories\": \"0\", \"fat\": \"0 g\"}, \"expected\": {\"calories\": \"0\", \"fat\": \"0 g\"}, \"passed\": true}, {\"check\": \"mid-band sodium\", \"actual\": {\"sodium\": \"140 mg\", \"carbs\": \"less than 1 g\"}, \"expected\": {\"carbs\": \"less than 1 g\", \"sodium\": \"140 mg\"}, \"passed\": true}, {\"check\": \"regression: half-up tie rounding\", \"actual\": {\"calories\": \"160\", \"fat\": \"1 g\", \"sodium\": \"10 mg\", \"carbs\": \"less than 1 g\"}, \"expected\": {\"calories\": \"160\", \"carbs\": \"less than 1 g\", \"fat\": \"1.5 g\", \"sodium\": \"10 mg\"}, \"passed\": false}, {\"check\": \"repair check: half-up tie rounding\", \"actual\": {\"calories\": \"60\", \"fat\": \"1 g\", \"sodium\": \"140 mg\", \"cholesterol\": \"5 mg\"}, \"expected\": {\"calories\": \"60\", \"cholesterol\": \"5 mg\", \"fat\": \"1.5 g\", \"sodium\": \"140 mg\"}, \"passed\": false}, {\"check\": \"generated control 1\", \"actual\": {\"sodium\": \"0 mg\", \"carbs\": \"30 g\"}, \"expected\": {\"carbs\": \"30 g\", \"sodium\": \"0 mg\"}, \"passed\": true}, {\"check\": \"generated control 2\", \"actual\": {\"calories\": \"0\", \"fat\": \"1 g\", \"sodium\": \"5 mg\", \"cholesterol\": \"20 mg\"}, \"expected\": {\"calories\": \"0\", \"cholesterol\": \"25 mg\", \"fat\": \"1.5 g\", \"sodium\": \"5 mg\"}, \"passed\": false}, {\"check\": \"generated control 3\", \"actual\": {\"calories\": \"10\", \"fat\": \"3 g\", \"sodium\": \"0 mg\", \"carbs\": \"less than 1 g\"}, \"expected\": {\"calories\": \"10\", \"carbs\": \"less than 1 g\", \"fat\": \"3 g\", \"sodium\": \"0 mg\"}, \"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."}}