{"abstract":"Optical barycentric velocity correction omits the redshift cross term.","category":"Astronomical coordinate conventions","checks":6,"contract":"Toy exact optical-velocity correction: positive rational speed constant c, measured m and correction b. Return rational string m+b+m*b/c; inputs avoid the singular denominator in the deliberately wrong relativistic attempt. No barycentric correction is computed here.","evaluation_group":"model-91815bfc00f1ab92","failed_approach":"Relativistic velocity addition belongs to a different velocity convention and gives a different result.","family":"z-astronomy-optical-barycentric-composition","id":"FA-12186","implementations":{"attempt":{"sha256":"3596b816860805a8c6b94a126a08700737368987c9a4c30eed5053caf2fe021d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(m, b, c):\n    return str(Fraction(m+b)/(1+Fraction(m*b,c*c)))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('both redshift terms', solve(N,2*N,10*N), str(Fraction(16*N,5)))\ncheck('opposing terms', solve(N,-2*N,10*N), str(Fraction(-6*N,5)))\ncheck('zero correction', solve(N,0,10*N), str(N))\ncheck('zero measured', solve(0,N,10*N), str(N))\ncheck('both zero', solve(0,0,10*N), '0')\ncheck('both negative', solve(-N,-2*N,10*N), str(Fraction(-14*N,5)))\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":"531971eae01bd3c45988824213f10d1501da44f94838dffb3ca4ee9b69ce9414","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(m, b, c):\n    return str(Fraction(m+b))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('both redshift terms', solve(N,2*N,10*N), str(Fraction(16*N,5)))\ncheck('opposing terms', solve(N,-2*N,10*N), str(Fraction(-6*N,5)))\ncheck('zero correction', solve(N,0,10*N), str(N))\ncheck('zero measured', solve(0,N,10*N), str(N))\ncheck('both zero', solve(0,0,10*N), '0')\ncheck('both negative', solve(-N,-2*N,10*N), str(Fraction(-14*N,5)))\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":"f621373de8476e3bbe3d39a4d982dce262c5ef0c95e928b63f4b5650bd67ad18","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(m, b, c):\n    return str(Fraction(m+b)+Fraction(m*b,c))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('both redshift terms', solve(N,2*N,10*N), str(Fraction(16*N,5)))\ncheck('opposing terms', solve(N,-2*N,10*N), str(Fraction(-6*N,5)))\ncheck('zero correction', solve(N,0,10*N), str(N))\ncheck('zero measured', solve(0,N,10*N), str(N))\ncheck('both zero', solve(0,0,10*N), '0')\ncheck('both negative', solve(-N,-2*N,10*N), str(Fraction(-14*N,5)))\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":"Reduced deterministic algebraic model only; no ephemeris, full sky projection, or physical accuracy claims. 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-astronomy-optical-barycentric-composition","generated_at":"2026-09-29T14:38:54.671032+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Astronomical coordinate adapters must preserve convention semantics. Primary background: https://docs.astropy.org/en/stable/coordinates/velocities.html","repair":"Compose the redshift factors, retaining measured*correction/c in addition to their sum.","root_cause":"A correction expressed as optical velocity is added as if independent velocities were additive.","sha256":"8f571b0461bd42c55a5017846fa5731f6b9a67a0dc468e0db355c2efdd493c35","title":"Optical barycentric velocity correction omits the redshift cross term · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.935,"exit_code":1,"observations":[{"actual":"50/17","check":"both redshift terms","expected":"16/5","passed":false},{"actual":"-50/49","check":"opposing terms","expected":"-6/5","passed":false},{"actual":"1","check":"zero correction","expected":"1","passed":true},{"actual":"1","check":"zero measured","expected":"1","passed":true},{"actual":"0","check":"both zero","expected":"0","passed":true},{"actual":"-50/17","check":"both negative","expected":"-14/5","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"both redshift terms\", \"actual\": \"50/17\", \"expected\": \"16/5\", \"passed\": false}, {\"check\": \"opposing terms\", \"actual\": \"-50/49\", \"expected\": \"-6/5\", \"passed\": false}, {\"check\": \"zero correction\", \"actual\": \"1\", \"expected\": \"1\", \"passed\": true}, {\"check\": \"zero measured\", \"actual\": \"1\", \"expected\": \"1\", \"passed\": true}, {\"check\": \"both zero\", \"actual\": \"0\", \"expected\": \"0\", \"passed\": true}, {\"check\": \"both negative\", \"actual\": \"-50/17\", \"expected\": \"-14/5\", \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.561,"exit_code":1,"observations":[{"actual":"3","check":"both redshift terms","expected":"16/5","passed":false},{"actual":"-1","check":"opposing terms","expected":"-6/5","passed":false},{"actual":"1","check":"zero correction","expected":"1","passed":true},{"actual":"1","check":"zero measured","expected":"1","passed":true},{"actual":"0","check":"both zero","expected":"0","passed":true},{"actual":"-3","check":"both negative","expected":"-14/5","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"both redshift terms\", \"actual\": \"3\", \"expected\": \"16/5\", \"passed\": false}, {\"check\": \"opposing terms\", \"actual\": \"-1\", \"expected\": \"-6/5\", \"passed\": false}, {\"check\": \"zero correction\", \"actual\": \"1\", \"expected\": \"1\", \"passed\": true}, {\"check\": \"zero measured\", \"actual\": \"1\", \"expected\": \"1\", \"passed\": true}, {\"check\": \"both zero\", \"actual\": \"0\", \"expected\": \"0\", \"passed\": true}, {\"check\": \"both negative\", \"actual\": \"-3\", \"expected\": \"-14/5\", \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":43.142,"exit_code":0,"observations":[{"actual":"16/5","check":"both redshift terms","expected":"16/5","passed":true},{"actual":"-6/5","check":"opposing terms","expected":"-6/5","passed":true},{"actual":"1","check":"zero correction","expected":"1","passed":true},{"actual":"1","check":"zero measured","expected":"1","passed":true},{"actual":"0","check":"both zero","expected":"0","passed":true},{"actual":"-14/5","check":"both negative","expected":"-14/5","passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"both redshift terms\", \"actual\": \"16/5\", \"expected\": \"16/5\", \"passed\": true}, {\"check\": \"opposing terms\", \"actual\": \"-6/5\", \"expected\": \"-6/5\", \"passed\": true}, {\"check\": \"zero correction\", \"actual\": \"1\", \"expected\": \"1\", \"passed\": true}, {\"check\": \"zero measured\", \"actual\": \"1\", \"expected\": \"1\", \"passed\": true}, {\"check\": \"both zero\", \"actual\": \"0\", \"expected\": \"0\", \"passed\": true}, {\"check\": \"both negative\", \"actual\": \"-14/5\", \"expected\": \"-14/5\", \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}