FA-5916 / Solid geometry / Open access
Sphere surface divided by pi · case 01
Volume scaling is used for surface area.
ROOT CAUSE
Volume scaling is used for surface area.
VERIFIED REPAIR
Apply the specified mathematical contract directly, preserving all terms and boundary cases: return 4*r*r
Unsuccessful approach: A disk area replaces the entire sphere surface.
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. Sphere surface divided by pi. Exact operational definition: 4*r*r
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(r):
return 4*r**3/3
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1: (0,)', solve(*(0,)), 0)
check('fixture 2: (1,)', solve(*(1,)), 4)
check('fixture 3: (3,)', solve(*(3,)), 36)
check('fixture 4: (5,)', solve(*(5,)), 100)
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: (0,) | 0.0 | 0 | Passed |
| fixture 2: (1,) | 1.3333333333333333 | 4 | Failed |
| fixture 3: (3,) | 36.0 | 36 | Passed |
| fixture 4: (5,) | 166.66666666666666 | 100 | Failed |
SHA-256 / e415efa12383a517e34d31c70cb8ba64a5745ad70cb03e3d31d4426125d3b24c
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(r):
return r*r
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1: (0,)', solve(*(0,)), 0)
check('fixture 2: (1,)', solve(*(1,)), 4)
check('fixture 3: (3,)', solve(*(3,)), 36)
check('fixture 4: (5,)', solve(*(5,)), 100)
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: (0,) | 0 | 0 | Passed |
| fixture 2: (1,) | 1 | 4 | Failed |
| fixture 3: (3,) | 9 | 36 | Failed |
| fixture 4: (5,) | 25 | 100 | Failed |
SHA-256 / d1b40028c558763da5c3d33d58f4c41d1a42f2a9720b1a9619fbea38b7745d8e
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(r):
return 4*r*r
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('fixture 1: (0,)', solve(*(0,)), 0)
check('fixture 2: (1,)', solve(*(1,)), 4)
check('fixture 3: (3,)', solve(*(3,)), 36)
check('fixture 4: (5,)', solve(*(5,)), 100)
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: (0,) | 0 | 0 | Passed |
| fixture 2: (1,) | 4 | 4 | Passed |
| fixture 3: (3,) | 36 | 36 | Passed |
| fixture 4: (5,) | 100 | 100 | Passed |
SHA-256 / 7859eb43865e5a5b5ec6e38e167f1e970cbe3f5f3d18143c4c94632a83511990
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.365151+00:00.
Case digest / 56ec1248b50cc179987dd11a851e6bfc7e0bcc6288dfdc65329cecf8f0ec57bb