{"abstract":"Decimal spelling loses plural operands.","category":"Localization message semantics","checks":6,"contract":"For nonnegative decimal strings, this miniature English-like rule selects one only when integer value is 1 and no decimal point is present; otherwise select other.","contract_signature":"text","evaluation_group":"model-e32db8b19b65968b","failed_approach":"Stripping trailing zeroes still erases the distinction between 1 and 1.0.","family":"z-localization-visible-fraction","id":"FA-11741","implementations":{"attempt":{"sha256":"47fbef7cc4268828e8714d6e2ece602917f7b6ab604ea89c1ffd135b36e7745b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(text):\n    return 'one' if text.rstrip('0').rstrip('.') == '1' else 'other'\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('integer one', solve('1'), 'one')\ncheck('visible zero', solve('1.0'), 'other')\ncheck('many visible zeroes', solve('1.' + '0' * N), 'other')\ncheck('zero', solve('0'), 'other')\ncheck('larger integer', solve(str(N + 1)), 'other')\ncheck('fraction', solve('1.5'), 'other')\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":"0e282b745bbd0a235c27d467767b5de4b700f5701a40a2828191c9113f98ae03","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(text):\n    return 'one' if float(text) == 1 else 'other'\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('integer one', solve('1'), 'one')\ncheck('visible zero', solve('1.0'), 'other')\ncheck('many visible zeroes', solve('1.' + '0' * N), 'other')\ncheck('zero', solve('0'), 'other')\ncheck('larger integer', solve(str(N + 1)), 'other')\ncheck('fraction', solve('1.5'), 'other')\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":"Only the explicitly specified miniature locale/message rules are modeled. 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":"z-localization-visible-fraction","generated_at":"2026-09-29T14:38:50.521009+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"This offline controlled message model isolates a localization decision; it does not implement a complete message-format or locale standard.","root_cause":"Converting a written decimal to a float removes its visible fraction digits.","sha256":"5542635a1a0969c00d7df989f2573b219dfec4621c1815de7fa51bb706dfe138","title":"Decimal spelling loses plural operands · 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":38.58,"exit_code":1,"observations":[{"actual":"one","check":"integer one","expected":"one","passed":true},{"actual":"one","check":"visible zero","expected":"other","passed":false},{"actual":"one","check":"many visible zeroes","expected":"other","passed":false},{"actual":"other","check":"zero","expected":"other","passed":true},{"actual":"other","check":"larger integer","expected":"other","passed":true},{"actual":"other","check":"fraction","expected":"other","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"integer one\", \"actual\": \"one\", \"expected\": \"one\", \"passed\": true}, {\"check\": \"visible zero\", \"actual\": \"one\", \"expected\": \"other\", \"passed\": false}, {\"check\": \"many visible zeroes\", \"actual\": \"one\", \"expected\": \"other\", \"passed\": false}, {\"check\": \"zero\", \"actual\": \"other\", \"expected\": \"other\", \"passed\": true}, {\"check\": \"larger integer\", \"actual\": \"other\", \"expected\": \"other\", \"passed\": true}, {\"check\": \"fraction\", \"actual\": \"other\", \"expected\": \"other\", \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.099,"exit_code":1,"observations":[{"actual":"one","check":"integer one","expected":"one","passed":true},{"actual":"one","check":"visible zero","expected":"other","passed":false},{"actual":"one","check":"many visible zeroes","expected":"other","passed":false},{"actual":"other","check":"zero","expected":"other","passed":true},{"actual":"other","check":"larger integer","expected":"other","passed":true},{"actual":"other","check":"fraction","expected":"other","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"integer one\", \"actual\": \"one\", \"expected\": \"one\", \"passed\": true}, {\"check\": \"visible zero\", \"actual\": \"one\", \"expected\": \"other\", \"passed\": false}, {\"check\": \"many visible zeroes\", \"actual\": \"one\", \"expected\": \"other\", \"passed\": false}, {\"check\": \"zero\", \"actual\": \"other\", \"expected\": \"other\", \"passed\": true}, {\"check\": \"larger integer\", \"actual\": \"other\", \"expected\": \"other\", \"passed\": true}, {\"check\": \"fraction\", \"actual\": \"other\", \"expected\": \"other\", \"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."}}