{"abstract":"Decimal clock encoding is confused with elapsed seconds.","category":"Calendar arithmetic","checks":4,"contract":"Valid ISO Gregorian dates in years 1 through 9999; generated dates must remain in that range. Month is 1 through 12 and zero-based weekday is Monday 0 through Sunday 6 unless the output convention says otherwise. hour=0..23, minute=0..59 and second=0..59; leap seconds are outside this model. Exact operational definition: hour*3600+minute*60+second","evaluation_group":"model-77d1bc528d81fc9c","failed_approach":"Minutes are not scaled by sixty.","family":"xn-seconds-since-midnight","id":"FA-6566","implementations":{"attempt":{"sha256":"31466cac7a614733e8faf33c2b42c602dec977789a9c5bfd1dd9753c1bdabba2","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport calendar\nimport statistics\nimport itertools\nfrom fractions import Fraction\nfrom datetime import date, datetime, timedelta, timezone\nfrom decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR\n\nN = 1\nobservations = []\ndef solve(hour, minute, second):\n    return hour*3600+minute+second\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1: (1, 2, 3)', solve(*(1, 2, 3)), 3723)\ncheck('fixture 2: (0, 1, 0)', solve(*(0, 1, 0)), 60)\ncheck('fixture 3: (23, 59, 59)', solve(*(23, 59, 59)), 86399)\ncheck('fixture 4: (0, 0, 0)', solve(*(0, 0, 0)), 0)\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":"f03393dd15b61e66c4ef6cdef03fd15ee14b8c9455e3acf1b8bff233c575e33b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport calendar\nimport statistics\nimport itertools\nfrom fractions import Fraction\nfrom datetime import date, datetime, timedelta, timezone\nfrom decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR\n\nN = 1\nobservations = []\ndef solve(hour, minute, second):\n    return hour*10000+minute*100+second\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1: (1, 2, 3)', solve(*(1, 2, 3)), 3723)\ncheck('fixture 2: (0, 1, 0)', solve(*(0, 1, 0)), 60)\ncheck('fixture 3: (23, 59, 59)', solve(*(23, 59, 59)), 86399)\ncheck('fixture 4: (0, 0, 0)', solve(*(0, 0, 0)), 0)\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":"7fa822a2a5384530488e1abaa0077fcb41aaf4262952bcda0308624852e72d51","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport calendar\nimport statistics\nimport itertools\nfrom fractions import Fraction\nfrom datetime import date, datetime, timedelta, timezone\nfrom decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR\n\nN = 1\nobservations = []\ndef solve(hour, minute, second):\n    return hour*3600+minute*60+second\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1: (1, 2, 3)', solve(*(1, 2, 3)), 3723)\ncheck('fixture 2: (0, 1, 0)', solve(*(0, 1, 0)), 60)\ncheck('fixture 3: (23, 59, 59)', solve(*(23, 59, 59)), 86399)\ncheck('fixture 4: (0, 0, 0)', solve(*(0, 0, 0)), 0)\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":" 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":"xn-seconds-since-midnight","generated_at":"2026-09-29T14:38:03.124125+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Small exact fixtures expose this error without platform timing, external services, or probabilistic observations. Calendar conventions results depend on the stated convention.","repair":"Apply the specified mathematical contract directly, preserving all terms and boundary cases: return hour*3600+minute*60+second","root_cause":"Decimal clock encoding is confused with elapsed seconds.","sha256":"229685b0837cf81093fd6fbd9d5eec64c8d7d402b3033079d216c2e01366f60e","title":"Seconds since midnight · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.353,"exit_code":1,"observations":[{"actual":3605,"check":"fixture 1: (1, 2, 3)","expected":3723,"passed":false},{"actual":1,"check":"fixture 2: (0, 1, 0)","expected":60,"passed":false},{"actual":82918,"check":"fixture 3: (23, 59, 59)","expected":86399,"passed":false},{"actual":0,"check":"fixture 4: (0, 0, 0)","expected":0,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1: (1, 2, 3)\", \"actual\": 3605, \"expected\": 3723, \"passed\": false}, {\"check\": \"fixture 2: (0, 1, 0)\", \"actual\": 1, \"expected\": 60, \"passed\": false}, {\"check\": \"fixture 3: (23, 59, 59)\", \"actual\": 82918, \"expected\": 86399, \"passed\": false}, {\"check\": \"fixture 4: (0, 0, 0)\", \"actual\": 0, \"expected\": 0, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.944,"exit_code":1,"observations":[{"actual":10203,"check":"fixture 1: (1, 2, 3)","expected":3723,"passed":false},{"actual":100,"check":"fixture 2: (0, 1, 0)","expected":60,"passed":false},{"actual":235959,"check":"fixture 3: (23, 59, 59)","expected":86399,"passed":false},{"actual":0,"check":"fixture 4: (0, 0, 0)","expected":0,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1: (1, 2, 3)\", \"actual\": 10203, \"expected\": 3723, \"passed\": false}, {\"check\": \"fixture 2: (0, 1, 0)\", \"actual\": 100, \"expected\": 60, \"passed\": false}, {\"check\": \"fixture 3: (23, 59, 59)\", \"actual\": 235959, \"expected\": 86399, \"passed\": false}, {\"check\": \"fixture 4: (0, 0, 0)\", \"actual\": 0, \"expected\": 0, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":45.796,"exit_code":0,"observations":[{"actual":3723,"check":"fixture 1: (1, 2, 3)","expected":3723,"passed":true},{"actual":60,"check":"fixture 2: (0, 1, 0)","expected":60,"passed":true},{"actual":86399,"check":"fixture 3: (23, 59, 59)","expected":86399,"passed":true},{"actual":0,"check":"fixture 4: (0, 0, 0)","expected":0,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1: (1, 2, 3)\", \"actual\": 3723, \"expected\": 3723, \"passed\": true}, {\"check\": \"fixture 2: (0, 1, 0)\", \"actual\": 60, \"expected\": 60, \"passed\": true}, {\"check\": \"fixture 3: (23, 59, 59)\", \"actual\": 86399, \"expected\": 86399, \"passed\": true}, {\"check\": \"fixture 4: (0, 0, 0)\", \"actual\": 0, \"expected\": 0, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}