FA-5946 / Solid geometry / Open access
Ellipsoid volume divided by pi · case 01
Semiaxes are added instead of multiplied.
ROOT CAUSE
Semiaxes are added instead of multiplied.
VERIFIED REPAIR
Apply the specified mathematical contract directly, preserving all terms and boundary cases: return 4*a*b*c/3
Unsuccessful approach: The box-product coefficient omits the sphere volume factor.
Case contract
Nonnegative integer dimensions; exact products and ordinary Python real division. Quantities named divided by pi or pi-squared deliberately omit that factor from the returned result. Ellipsoid volume divided by pi. Exact operational definition: 4*a*b*c/3
Why this case matters
Small exact fixtures expose this error without platform timing, external services, or probabilistic observations. Solid geometry results depend on the stated convention.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
import calendar
import statistics
import itertools
from fractions import Fraction
from datetime import date, datetime, timedelta, timezone
from decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR
N = 1
observations = []
def solve(a, b, c):
return 4*(a+b+c)/3
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1: (1, 2, 3)', solve(*(1, 2, 3)), 8)
check('fixture 2: (3, 3, 3)', solve(*(3, 3, 3)), 36)
check('fixture 3: (0, 2, 3)', solve(*(0, 2, 3)), 0)
check('fixture 4: (1, 1, 1)', solve(*(1, 1, 1)), 1.3333333333333333)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1: (1, 2, 3) | 8.0 | 8 | Passed |
| fixture 2: (3, 3, 3) | 12.0 | 36 | Failed |
| fixture 3: (0, 2, 3) | 6.666666666666667 | 0 | Failed |
| fixture 4: (1, 1, 1) | 4.0 | 1.3333333333333333 | Failed |
SHA-256 / 18507efcafa915fe39e446280807e62da77b391b1c56d21241d2e7330744d325
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
import calendar
import statistics
import itertools
from fractions import Fraction
from datetime import date, datetime, timedelta, timezone
from decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR
N = 1
observations = []
def solve(a, b, c):
return a*b*c
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1: (1, 2, 3)', solve(*(1, 2, 3)), 8)
check('fixture 2: (3, 3, 3)', solve(*(3, 3, 3)), 36)
check('fixture 3: (0, 2, 3)', solve(*(0, 2, 3)), 0)
check('fixture 4: (1, 1, 1)', solve(*(1, 1, 1)), 1.3333333333333333)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1: (1, 2, 3) | 6 | 8 | Failed |
| fixture 2: (3, 3, 3) | 27 | 36 | Failed |
| fixture 3: (0, 2, 3) | 0 | 0 | Passed |
| fixture 4: (1, 1, 1) | 1 | 1.3333333333333333 | Failed |
SHA-256 / 1fb231b0f9bd5a6f6ffa20d5deaed22fc8b81c75f13f83ad782eb1dee3b095d0
3 / The verified repair
Exit 0"""Failure Map reference implementation. Python standard library only."""
import json
import math
import calendar
import statistics
import itertools
from fractions import Fraction
from datetime import date, datetime, timedelta, timezone
from decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR
N = 1
observations = []
def solve(a, b, c):
return 4*a*b*c/3
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1: (1, 2, 3)', solve(*(1, 2, 3)), 8)
check('fixture 2: (3, 3, 3)', solve(*(3, 3, 3)), 36)
check('fixture 3: (0, 2, 3)', solve(*(0, 2, 3)), 0)
check('fixture 4: (1, 1, 1)', solve(*(1, 1, 1)), 1.3333333333333333)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1: (1, 2, 3) | 8.0 | 8 | Passed |
| fixture 2: (3, 3, 3) | 36.0 | 36 | Passed |
| fixture 3: (0, 2, 3) | 0.0 | 0 | Passed |
| fixture 4: (1, 1, 1) | 1.3333333333333333 | 1.3333333333333333 | Passed |
SHA-256 / 7bfcb35368db1207dee5a2183ea4f40b8639be2005681739927f1d2c4926524a
Verification & scope
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.
Observations recorded using Python 3.12.14 at 2026-09-29T14:37:55.653686+00:00.
Case digest / 595e61d683630f1fce7aad1f08779b68fd70301109dde21625161a6d91a9ea82