FA-84866 / Fantasy sports scoring / Open access
Rushing and receiving yards truncated as one pool · case 01
A player with 9 rushing and 9 receiving yards scores 1 point instead of 0.
ROOT CAUSE
Yards from scrimmage are summed before truncation although each category truncates separately.
VERIFIED REPAIR
Truncate rushing and receiving yards independently.
Unsuccessful approach: Rounding receiving yards to the nearest ten instead of truncating awards points for partial units.
Case contract
Score a skill-player stat line in integer hundredths. Passing yards earn 1 point per full 25 yards, rushing and receiving yards 1 point per full 10 yards, each category truncated toward zero separately. Pass TD 4, interception -2, rush/receiving TD 6, fumble lost -2 (fumbles recovered by the own team are free), two-point conversion 2, each first down 0.25. Receptions are worth 0/0.5/1 for std/half/ppr, and a TE earns an extra 0.5 per reception on top. 300+ passing, 100+ rushing and 100+ receiving yards each add a 3 point bonus. The display string rounds to tenths half away from zero and never shows -0.0.
Why this case matters
Fantasy football points drive weekly matchups and payouts; small unit or boundary mistakes flip results that users dispute.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(stats, fmt, pos):
def unit(y, per):
q = abs(y) // per
return q if y >= 0 else -q
rec_val = {'std': 0, 'half': 50, 'ppr': 100}[fmt]
if pos == 'TE':
rec_val += 50
pts = 0
pts += unit(stats['pass_yds'], 25) * 100
pts += stats['pass_td'] * 400
pts -= stats['int'] * 200
pts += unit(stats['rush_yds'] + stats['rec_yds'], 10) * 100
pts += stats['rush_td'] * 600
pts += stats['rec'] * rec_val
pts += stats['rec_td'] * 600
pts -= stats['fum_lost'] * 200
pts += stats['two_pt'] * 200
pts += stats['first_downs'] * 25
if stats['pass_yds'] >= 300:
pts += 300
if stats['rush_yds'] >= 100:
pts += 300
if stats['rec_yds'] >= 100:
pts += 300
t = (abs(pts) + 5) // 10
sign = '-' if pts < 0 and t else ''
return {'hundredths': pts, 'display': '%s%d.%d' % (sign, t // 10, t % 10)}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: yards from scrimmage merged',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 2,
'int': 1,
'pass_td': 2,
'pass_yds': 325,
'rec': 7,
'rec_td': 0,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': 93,
'two_pt': 1},
'half', 'WR'],
{'display': '33.3', 'hundredths': 3325}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 7,
'fum': 3,
'fum_lost': 0,
'int': 1,
'pass_td': 3,
'pass_yds': 25,
'rec': 0,
'rec_td': 1,
'rec_yds': 27,
'rush_td': 0,
'rush_yds': 2,
'two_pt': 0},
'std', 'TE'],
{'display': '20.8', 'hundredths': 2075}),
('second regression',
[{'first_downs': 8,
'fum': 2,
'fum_lost': 2,
'int': 1,
'pass_td': 0,
'pass_yds': 158,
'rec': 8,
'rec_td': 2,
'rec_yds': 99,
'rush_td': 1,
'rush_yds': 122,
'two_pt': 0},
'half', 'TE'],
{'display': '52.0', 'hundredths': 5200}),
('normal control 1',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 2,
'int': 3,
'pass_td': 0,
'pass_yds': 39,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': 8,
'two_pt': 0},
'half', 'TE'],
{'display': '-8.8', 'hundredths': -875}),
('normal control 2',
[{'first_downs': 8,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 2,
'pass_yds': -3,
'rec': 1,
'rec_td': 1,
'rec_yds': 100,
'rush_td': 2,
'rush_yds': 52,
'two_pt': 0},
'std', 'RB'],
{'display': '44.0', 'hundredths': 4400}),
('normal control 3',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 1,
'int': 3,
'pass_td': 0,
'pass_yds': 417,
'rec': 10,
'rec_td': 0,
'rec_yds': 44,
'rush_td': 1,
'rush_yds': 91,
'two_pt': 0},
'ppr', 'RB'],
{'display': '40.8', 'hundredths': 4075}),
('normal control 4',
[{'first_downs': 3,
'fum': 1,
'fum_lost': 0,
'int': 3,
'pass_td': 1,
'pass_yds': 6,
'rec': 2,
'rec_td': 1,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': 1,
'two_pt': 0},
'std', 'RB'],
{'display': '4.8', 'hundredths': 475})],
[('regression: yards from scrimmage merged',
[{'first_downs': 9,
'fum': 1,
'fum_lost': 0,
'int': 2,
'pass_td': 3,
'pass_yds': 412,
'rec': 1,
'rec_td': 1,
'rec_yds': 19,
'rush_td': 1,
'rush_yds': 9,
'two_pt': 0},
'half', 'RB'],
{'display': '42.8', 'hundredths': 4275}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 0,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 2,
'pass_yds': 325,
'rec': 6,
'rec_td': 1,
'rec_yds': 66,
'rush_td': 2,
'rush_yds': 143,
'two_pt': 1},
'std', 'TE'],
{'display': '66.0', 'hundredths': 6600}),
('second regression',
[{'first_downs': 0,
'fum': 3,
'fum_lost': 1,
'int': 0,
'pass_td': 4,
'pass_yds': 24,
'rec': 5,
'rec_td': 1,
'rec_yds': 107,
'rush_td': 1,
'rush_yds': 10,
'two_pt': 0},
'std', 'QB'],
{'display': '40.0', 'hundredths': 4000}),
('normal control 1',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 24,
'rec': 5,
'rec_td': 0,
'rec_yds': 20,
'rush_td': 1,
'rush_yds': 95,
'two_pt': 1},
'ppr', 'TE'],
{'display': '30.8', 'hundredths': 3075}),
('normal control 2',
[{'first_downs': 9,
'fum': 2,
'fum_lost': 1,
'int': 2,
'pass_td': 0,
'pass_yds': 17,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -1,
'two_pt': 0},
'half', 'WR'],
{'display': '-3.8', 'hundredths': -375}),
('normal control 3',
[{'first_downs': 6,
'fum': 1,
'fum_lost': 0,
'int': 1,
'pass_td': 3,
'pass_yds': 187,
'rec': 8,
'rec_td': 2,
'rec_yds': 54,
'rush_td': 2,
'rush_yds': 10,
'two_pt': 1},
'ppr', 'TE'],
{'display': '62.5', 'hundredths': 6250}),
('normal control 4',
[{'first_downs': 9,
'fum': 3,
'fum_lost': 1,
'int': 0,
'pass_td': 3,
'pass_yds': 103,
'rec': 6,
'rec_td': 1,
'rec_yds': 20,
'rush_td': 0,
'rush_yds': 100,
'two_pt': 1},
'half', 'TE'],
{'display': '45.3', 'hundredths': 4525})],
[('regression: yards from scrimmage merged',
[{'first_downs': 4,
'fum': 3,
'fum_lost': 1,
'int': 2,
'pass_td': 0,
'pass_yds': 156,
'rec': 2,
'rec_td': 1,
'rec_yds': 141,
'rush_td': 2,
'rush_yds': -15,
'two_pt': 0},
'std', 'QB'],
{'display': '35.0', 'hundredths': 3500}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 2,
'fum': 0,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 274,
'rec': 3,
'rec_td': 1,
'rec_yds': 106,
'rush_td': 1,
'rush_yds': -13,
'two_pt': 0},
'half', 'RB'],
{'display': '40.0', 'hundredths': 4000}),
('second regression',
[{'first_downs': 9,
'fum': 2,
'fum_lost': 2,
'int': 0,
'pass_td': 3,
'pass_yds': -3,
'rec': 9,
'rec_td': 1,
'rec_yds': 99,
'rush_td': 2,
'rush_yds': 9,
'two_pt': 1},
'ppr', 'QB'],
{'display': '48.3', 'hundredths': 4825}),
('normal control 1',
[{'first_downs': 0,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 0,
'pass_yds': -9,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': 3,
'two_pt': 0},
'ppr', 'QB'],
{'display': '-4.0', 'hundredths': -400}),
('normal control 2',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 1,
'int': 0,
'pass_td': 0,
'pass_yds': 25,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -5,
'two_pt': 0},
'ppr', 'TE'],
{'display': '-0.3', 'hundredths': -25}),
('normal control 3',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 2,
'int': 2,
'pass_td': 0,
'pass_yds': 31,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -4,
'two_pt': 0},
'half', 'RB'],
{'display': '-6.8', 'hundredths': -675}),
('normal control 4',
[{'first_downs': 5,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 0,
'pass_yds': 415,
'rec': 1,
'rec_td': 0,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': -11,
'two_pt': 1},
'half', 'RB'],
{'display': '17.8', 'hundredths': 1775})],
[('regression: yards from scrimmage merged',
[{'first_downs': 1,
'fum': 3,
'fum_lost': 0,
'int': 1,
'pass_td': 1,
'pass_yds': 308,
'rec': 6,
'rec_td': 2,
'rec_yds': 150,
'rush_td': 0,
'rush_yds': -8,
'two_pt': 0},
'ppr', 'QB'],
{'display': '53.3', 'hundredths': 5325}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 1,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 2,
'pass_yds': 300,
'rec': 7,
'rec_td': 2,
'rec_yds': 48,
'rush_td': 0,
'rush_yds': 3,
'two_pt': 0},
'ppr', 'WR'],
{'display': '44.3', 'hundredths': 4425}),
('second regression',
[{'first_downs': 2,
'fum': 3,
'fum_lost': 1,
'int': 2,
'pass_td': 4,
'pass_yds': 107,
'rec': 11,
'rec_td': 2,
'rec_yds': 148,
'rush_td': 1,
'rush_yds': -7,
'two_pt': 1},
'std', 'WR'],
{'display': '51.5', 'hundredths': 5150}),
('normal control 1',
[{'first_downs': 1,
'fum': 0,
'fum_lost': 0,
'int': 0,
'pass_td': 2,
'pass_yds': 299,
'rec': 2,
'rec_td': 2,
'rec_yds': 20,
'rush_td': 0,
'rush_yds': 112,
'two_pt': 0},
'std', 'QB'],
{'display': '47.3', 'hundredths': 4725}),
('normal control 2',
[{'first_downs': 3,
'fum': 3,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 325,
'rec': 0,
'rec_td': 0,
'rec_yds': 72,
'rush_td': 0,
'rush_yds': 134,
'two_pt': 0},
'half', 'TE'],
{'display': '43.8', 'hundredths': 4375}),
('normal control 3',
[{'first_downs': 2,
'fum': 3,
'fum_lost': 2,
'int': 1,
'pass_td': 4,
'pass_yds': 325,
'rec': 7,
'rec_td': 1,
'rec_yds': 144,
'rush_td': 1,
'rush_yds': 142,
'two_pt': 1},
'ppr', 'WR'],
{'display': '81.5', 'hundredths': 8150}),
('normal control 4',
[{'first_downs': 8,
'fum': 1,
'fum_lost': 1,
'int': 1,
'pass_td': 4,
'pass_yds': 24,
'rec': 7,
'rec_td': 1,
'rec_yds': -2,
'rush_td': 0,
'rush_yds': 99,
'two_pt': 0},
'ppr', 'QB'],
{'display': '36.0', 'hundredths': 3600})],
[('regression: yards from scrimmage merged',
[{'first_downs': 2,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 1,
'pass_yds': -3,
'rec': 7,
'rec_td': 2,
'rec_yds': 99,
'rush_td': 0,
'rush_yds': 113,
'two_pt': 1},
'std', 'TE'],
{'display': '43.0', 'hundredths': 4300}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 0,
'fum': 0,
'fum_lost': 0,
'int': 0,
'pass_td': 0,
'pass_yds': 350,
'rec': 0,
'rec_td': 1,
'rec_yds': 55,
'rush_td': 0,
'rush_yds': 82,
'two_pt': 0},
'std', 'WR'],
{'display': '36.0', 'hundredths': 3600}),
('second regression',
[{'first_downs': 0,
'fum': 1,
'fum_lost': 0,
'int': 0,
'pass_td': 0,
'pass_yds': 24,
'rec': 9,
'rec_td': 0,
'rec_yds': 35,
'rush_td': 1,
'rush_yds': 100,
'two_pt': 0},
'std', 'RB'],
{'display': '22.0', 'hundredths': 2200}),
('normal control 1',
[{'first_downs': 5,
'fum': 2,
'fum_lost': 1,
'int': 3,
'pass_td': 0,
'pass_yds': 104,
'rec': 10,
'rec_td': 0,
'rec_yds': 100,
'rush_td': 1,
'rush_yds': 99,
'two_pt': 0},
'std', 'TE'],
{'display': '30.3', 'hundredths': 3025}),
('normal control 2',
[{'first_downs': 3,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 0,
'pass_yds': 300,
'rec': 2,
'rec_td': 2,
'rec_yds': 41,
'rush_td': 0,
'rush_yds': 34,
'two_pt': 0},
'ppr', 'TE'],
{'display': '35.8', 'hundredths': 3575}),
('normal control 3',
[{'first_downs': 0,
'fum': 0,
'fum_lost': 0,
'int': 2,
'pass_td': 3,
'pass_yds': 299,
'rec': 7,
'rec_td': 0,
'rec_yds': 21,
'rush_td': 1,
'rush_yds': -10,
'two_pt': 0},
'half', 'QB'],
{'display': '29.5', 'hundredths': 2950}),
('normal control 4',
[{'first_downs': 1,
'fum': 3,
'fum_lost': 0,
'int': 2,
'pass_td': 4,
'pass_yds': 161,
'rec': 0,
'rec_td': 1,
'rec_yds': -5,
'rush_td': 2,
'rush_yds': -2,
'two_pt': 1},
'std', 'QB'],
{'display': '38.3', 'hundredths': 3825})]]
for label, args, expected in fixtures[N-1]:
check(label, solve(*args), expected)
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 |
|---|---|---|---|
| regression: yards from scrimmage merged | {'display': '32.3', 'hundredths': 3225} | {'display': '33.3', 'hundredths': 3325} | Failed |
| partial repair probe: yards from scrimmage merged | {'display': '20.8', 'hundredths': 2075} | {'display': '20.8', 'hundredths': 2075} | Passed |
| second regression | {'display': '53.0', 'hundredths': 5300} | {'display': '52.0', 'hundredths': 5200} | Failed |
| normal control 1 | {'display': '-8.8', 'hundredths': -875} | {'display': '-8.8', 'hundredths': -875} | Passed |
| normal control 2 | {'display': '44.0', 'hundredths': 4400} | {'display': '44.0', 'hundredths': 4400} | Passed |
| normal control 3 | {'display': '40.8', 'hundredths': 4075} | {'display': '40.8', 'hundredths': 4075} | Passed |
| normal control 4 | {'display': '4.8', 'hundredths': 475} | {'display': '4.8', 'hundredths': 475} | Passed |
SHA-256 / fdee456a75fd8c43c9c7f8ad2158f4d47728c776b443308051d51cf3e9fab8fa
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(stats, fmt, pos):
def unit(y, per):
q = abs(y) // per
return q if y >= 0 else -q
rec_val = {'std': 0, 'half': 50, 'ppr': 100}[fmt]
if pos == 'TE':
rec_val += 50
pts = 0
pts += unit(stats['pass_yds'], 25) * 100
pts += stats['pass_td'] * 400
pts -= stats['int'] * 200
pts += unit(stats['rush_yds'], 10) * 100
pts += stats['rush_td'] * 600
pts += stats['rec'] * rec_val
pts += round(stats['rec_yds'] / 10) * 100
pts += stats['rec_td'] * 600
pts -= stats['fum_lost'] * 200
pts += stats['two_pt'] * 200
pts += stats['first_downs'] * 25
if stats['pass_yds'] >= 300:
pts += 300
if stats['rush_yds'] >= 100:
pts += 300
if stats['rec_yds'] >= 100:
pts += 300
t = (abs(pts) + 5) // 10
sign = '-' if pts < 0 and t else ''
return {'hundredths': pts, 'display': '%s%d.%d' % (sign, t // 10, t % 10)}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: yards from scrimmage merged',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 2,
'int': 1,
'pass_td': 2,
'pass_yds': 325,
'rec': 7,
'rec_td': 0,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': 93,
'two_pt': 1},
'half', 'WR'],
{'display': '33.3', 'hundredths': 3325}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 7,
'fum': 3,
'fum_lost': 0,
'int': 1,
'pass_td': 3,
'pass_yds': 25,
'rec': 0,
'rec_td': 1,
'rec_yds': 27,
'rush_td': 0,
'rush_yds': 2,
'two_pt': 0},
'std', 'TE'],
{'display': '20.8', 'hundredths': 2075}),
('second regression',
[{'first_downs': 8,
'fum': 2,
'fum_lost': 2,
'int': 1,
'pass_td': 0,
'pass_yds': 158,
'rec': 8,
'rec_td': 2,
'rec_yds': 99,
'rush_td': 1,
'rush_yds': 122,
'two_pt': 0},
'half', 'TE'],
{'display': '52.0', 'hundredths': 5200}),
('normal control 1',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 2,
'int': 3,
'pass_td': 0,
'pass_yds': 39,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': 8,
'two_pt': 0},
'half', 'TE'],
{'display': '-8.8', 'hundredths': -875}),
('normal control 2',
[{'first_downs': 8,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 2,
'pass_yds': -3,
'rec': 1,
'rec_td': 1,
'rec_yds': 100,
'rush_td': 2,
'rush_yds': 52,
'two_pt': 0},
'std', 'RB'],
{'display': '44.0', 'hundredths': 4400}),
('normal control 3',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 1,
'int': 3,
'pass_td': 0,
'pass_yds': 417,
'rec': 10,
'rec_td': 0,
'rec_yds': 44,
'rush_td': 1,
'rush_yds': 91,
'two_pt': 0},
'ppr', 'RB'],
{'display': '40.8', 'hundredths': 4075}),
('normal control 4',
[{'first_downs': 3,
'fum': 1,
'fum_lost': 0,
'int': 3,
'pass_td': 1,
'pass_yds': 6,
'rec': 2,
'rec_td': 1,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': 1,
'two_pt': 0},
'std', 'RB'],
{'display': '4.8', 'hundredths': 475})],
[('regression: yards from scrimmage merged',
[{'first_downs': 9,
'fum': 1,
'fum_lost': 0,
'int': 2,
'pass_td': 3,
'pass_yds': 412,
'rec': 1,
'rec_td': 1,
'rec_yds': 19,
'rush_td': 1,
'rush_yds': 9,
'two_pt': 0},
'half', 'RB'],
{'display': '42.8', 'hundredths': 4275}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 0,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 2,
'pass_yds': 325,
'rec': 6,
'rec_td': 1,
'rec_yds': 66,
'rush_td': 2,
'rush_yds': 143,
'two_pt': 1},
'std', 'TE'],
{'display': '66.0', 'hundredths': 6600}),
('second regression',
[{'first_downs': 0,
'fum': 3,
'fum_lost': 1,
'int': 0,
'pass_td': 4,
'pass_yds': 24,
'rec': 5,
'rec_td': 1,
'rec_yds': 107,
'rush_td': 1,
'rush_yds': 10,
'two_pt': 0},
'std', 'QB'],
{'display': '40.0', 'hundredths': 4000}),
('normal control 1',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 24,
'rec': 5,
'rec_td': 0,
'rec_yds': 20,
'rush_td': 1,
'rush_yds': 95,
'two_pt': 1},
'ppr', 'TE'],
{'display': '30.8', 'hundredths': 3075}),
('normal control 2',
[{'first_downs': 9,
'fum': 2,
'fum_lost': 1,
'int': 2,
'pass_td': 0,
'pass_yds': 17,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -1,
'two_pt': 0},
'half', 'WR'],
{'display': '-3.8', 'hundredths': -375}),
('normal control 3',
[{'first_downs': 6,
'fum': 1,
'fum_lost': 0,
'int': 1,
'pass_td': 3,
'pass_yds': 187,
'rec': 8,
'rec_td': 2,
'rec_yds': 54,
'rush_td': 2,
'rush_yds': 10,
'two_pt': 1},
'ppr', 'TE'],
{'display': '62.5', 'hundredths': 6250}),
('normal control 4',
[{'first_downs': 9,
'fum': 3,
'fum_lost': 1,
'int': 0,
'pass_td': 3,
'pass_yds': 103,
'rec': 6,
'rec_td': 1,
'rec_yds': 20,
'rush_td': 0,
'rush_yds': 100,
'two_pt': 1},
'half', 'TE'],
{'display': '45.3', 'hundredths': 4525})],
[('regression: yards from scrimmage merged',
[{'first_downs': 4,
'fum': 3,
'fum_lost': 1,
'int': 2,
'pass_td': 0,
'pass_yds': 156,
'rec': 2,
'rec_td': 1,
'rec_yds': 141,
'rush_td': 2,
'rush_yds': -15,
'two_pt': 0},
'std', 'QB'],
{'display': '35.0', 'hundredths': 3500}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 2,
'fum': 0,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 274,
'rec': 3,
'rec_td': 1,
'rec_yds': 106,
'rush_td': 1,
'rush_yds': -13,
'two_pt': 0},
'half', 'RB'],
{'display': '40.0', 'hundredths': 4000}),
('second regression',
[{'first_downs': 9,
'fum': 2,
'fum_lost': 2,
'int': 0,
'pass_td': 3,
'pass_yds': -3,
'rec': 9,
'rec_td': 1,
'rec_yds': 99,
'rush_td': 2,
'rush_yds': 9,
'two_pt': 1},
'ppr', 'QB'],
{'display': '48.3', 'hundredths': 4825}),
('normal control 1',
[{'first_downs': 0,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 0,
'pass_yds': -9,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': 3,
'two_pt': 0},
'ppr', 'QB'],
{'display': '-4.0', 'hundredths': -400}),
('normal control 2',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 1,
'int': 0,
'pass_td': 0,
'pass_yds': 25,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -5,
'two_pt': 0},
'ppr', 'TE'],
{'display': '-0.3', 'hundredths': -25}),
('normal control 3',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 2,
'int': 2,
'pass_td': 0,
'pass_yds': 31,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -4,
'two_pt': 0},
'half', 'RB'],
{'display': '-6.8', 'hundredths': -675}),
('normal control 4',
[{'first_downs': 5,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 0,
'pass_yds': 415,
'rec': 1,
'rec_td': 0,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': -11,
'two_pt': 1},
'half', 'RB'],
{'display': '17.8', 'hundredths': 1775})],
[('regression: yards from scrimmage merged',
[{'first_downs': 1,
'fum': 3,
'fum_lost': 0,
'int': 1,
'pass_td': 1,
'pass_yds': 308,
'rec': 6,
'rec_td': 2,
'rec_yds': 150,
'rush_td': 0,
'rush_yds': -8,
'two_pt': 0},
'ppr', 'QB'],
{'display': '53.3', 'hundredths': 5325}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 1,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 2,
'pass_yds': 300,
'rec': 7,
'rec_td': 2,
'rec_yds': 48,
'rush_td': 0,
'rush_yds': 3,
'two_pt': 0},
'ppr', 'WR'],
{'display': '44.3', 'hundredths': 4425}),
('second regression',
[{'first_downs': 2,
'fum': 3,
'fum_lost': 1,
'int': 2,
'pass_td': 4,
'pass_yds': 107,
'rec': 11,
'rec_td': 2,
'rec_yds': 148,
'rush_td': 1,
'rush_yds': -7,
'two_pt': 1},
'std', 'WR'],
{'display': '51.5', 'hundredths': 5150}),
('normal control 1',
[{'first_downs': 1,
'fum': 0,
'fum_lost': 0,
'int': 0,
'pass_td': 2,
'pass_yds': 299,
'rec': 2,
'rec_td': 2,
'rec_yds': 20,
'rush_td': 0,
'rush_yds': 112,
'two_pt': 0},
'std', 'QB'],
{'display': '47.3', 'hundredths': 4725}),
('normal control 2',
[{'first_downs': 3,
'fum': 3,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 325,
'rec': 0,
'rec_td': 0,
'rec_yds': 72,
'rush_td': 0,
'rush_yds': 134,
'two_pt': 0},
'half', 'TE'],
{'display': '43.8', 'hundredths': 4375}),
('normal control 3',
[{'first_downs': 2,
'fum': 3,
'fum_lost': 2,
'int': 1,
'pass_td': 4,
'pass_yds': 325,
'rec': 7,
'rec_td': 1,
'rec_yds': 144,
'rush_td': 1,
'rush_yds': 142,
'two_pt': 1},
'ppr', 'WR'],
{'display': '81.5', 'hundredths': 8150}),
('normal control 4',
[{'first_downs': 8,
'fum': 1,
'fum_lost': 1,
'int': 1,
'pass_td': 4,
'pass_yds': 24,
'rec': 7,
'rec_td': 1,
'rec_yds': -2,
'rush_td': 0,
'rush_yds': 99,
'two_pt': 0},
'ppr', 'QB'],
{'display': '36.0', 'hundredths': 3600})],
[('regression: yards from scrimmage merged',
[{'first_downs': 2,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 1,
'pass_yds': -3,
'rec': 7,
'rec_td': 2,
'rec_yds': 99,
'rush_td': 0,
'rush_yds': 113,
'two_pt': 1},
'std', 'TE'],
{'display': '43.0', 'hundredths': 4300}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 0,
'fum': 0,
'fum_lost': 0,
'int': 0,
'pass_td': 0,
'pass_yds': 350,
'rec': 0,
'rec_td': 1,
'rec_yds': 55,
'rush_td': 0,
'rush_yds': 82,
'two_pt': 0},
'std', 'WR'],
{'display': '36.0', 'hundredths': 3600}),
('second regression',
[{'first_downs': 0,
'fum': 1,
'fum_lost': 0,
'int': 0,
'pass_td': 0,
'pass_yds': 24,
'rec': 9,
'rec_td': 0,
'rec_yds': 35,
'rush_td': 1,
'rush_yds': 100,
'two_pt': 0},
'std', 'RB'],
{'display': '22.0', 'hundredths': 2200}),
('normal control 1',
[{'first_downs': 5,
'fum': 2,
'fum_lost': 1,
'int': 3,
'pass_td': 0,
'pass_yds': 104,
'rec': 10,
'rec_td': 0,
'rec_yds': 100,
'rush_td': 1,
'rush_yds': 99,
'two_pt': 0},
'std', 'TE'],
{'display': '30.3', 'hundredths': 3025}),
('normal control 2',
[{'first_downs': 3,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 0,
'pass_yds': 300,
'rec': 2,
'rec_td': 2,
'rec_yds': 41,
'rush_td': 0,
'rush_yds': 34,
'two_pt': 0},
'ppr', 'TE'],
{'display': '35.8', 'hundredths': 3575}),
('normal control 3',
[{'first_downs': 0,
'fum': 0,
'fum_lost': 0,
'int': 2,
'pass_td': 3,
'pass_yds': 299,
'rec': 7,
'rec_td': 0,
'rec_yds': 21,
'rush_td': 1,
'rush_yds': -10,
'two_pt': 0},
'half', 'QB'],
{'display': '29.5', 'hundredths': 2950}),
('normal control 4',
[{'first_downs': 1,
'fum': 3,
'fum_lost': 0,
'int': 2,
'pass_td': 4,
'pass_yds': 161,
'rec': 0,
'rec_td': 1,
'rec_yds': -5,
'rush_td': 2,
'rush_yds': -2,
'two_pt': 1},
'std', 'QB'],
{'display': '38.3', 'hundredths': 3825})]]
for label, args, expected in fixtures[N-1]:
check(label, solve(*args), expected)
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 |
|---|---|---|---|
| regression: yards from scrimmage merged | {'display': '33.3', 'hundredths': 3325} | {'display': '33.3', 'hundredths': 3325} | Passed |
| partial repair probe: yards from scrimmage merged | {'display': '21.8', 'hundredths': 2175} | {'display': '20.8', 'hundredths': 2075} | Failed |
| second regression | {'display': '53.0', 'hundredths': 5300} | {'display': '52.0', 'hundredths': 5200} | Failed |
| normal control 1 | {'display': '-8.8', 'hundredths': -875} | {'display': '-8.8', 'hundredths': -875} | Passed |
| normal control 2 | {'display': '44.0', 'hundredths': 4400} | {'display': '44.0', 'hundredths': 4400} | Passed |
| normal control 3 | {'display': '40.8', 'hundredths': 4075} | {'display': '40.8', 'hundredths': 4075} | Passed |
| normal control 4 | {'display': '4.8', 'hundredths': 475} | {'display': '4.8', 'hundredths': 475} | Passed |
SHA-256 / 2574bf5e32b1340e2d7e945f11681f8174735cdc74121df6e8855010521c4de3
3 / The verified repair
Exit 0"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(stats, fmt, pos):
def unit(y, per):
q = abs(y) // per
return q if y >= 0 else -q
rec_val = {'std': 0, 'half': 50, 'ppr': 100}[fmt]
if pos == 'TE':
rec_val += 50
pts = 0
pts += unit(stats['pass_yds'], 25) * 100
pts += stats['pass_td'] * 400
pts -= stats['int'] * 200
pts += unit(stats['rush_yds'], 10) * 100
pts += stats['rush_td'] * 600
pts += stats['rec'] * rec_val
pts += unit(stats['rec_yds'], 10) * 100
pts += stats['rec_td'] * 600
pts -= stats['fum_lost'] * 200
pts += stats['two_pt'] * 200
pts += stats['first_downs'] * 25
if stats['pass_yds'] >= 300:
pts += 300
if stats['rush_yds'] >= 100:
pts += 300
if stats['rec_yds'] >= 100:
pts += 300
t = (abs(pts) + 5) // 10
sign = '-' if pts < 0 and t else ''
return {'hundredths': pts, 'display': '%s%d.%d' % (sign, t // 10, t % 10)}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [[('regression: yards from scrimmage merged',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 2,
'int': 1,
'pass_td': 2,
'pass_yds': 325,
'rec': 7,
'rec_td': 0,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': 93,
'two_pt': 1},
'half', 'WR'],
{'display': '33.3', 'hundredths': 3325}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 7,
'fum': 3,
'fum_lost': 0,
'int': 1,
'pass_td': 3,
'pass_yds': 25,
'rec': 0,
'rec_td': 1,
'rec_yds': 27,
'rush_td': 0,
'rush_yds': 2,
'two_pt': 0},
'std', 'TE'],
{'display': '20.8', 'hundredths': 2075}),
('second regression',
[{'first_downs': 8,
'fum': 2,
'fum_lost': 2,
'int': 1,
'pass_td': 0,
'pass_yds': 158,
'rec': 8,
'rec_td': 2,
'rec_yds': 99,
'rush_td': 1,
'rush_yds': 122,
'two_pt': 0},
'half', 'TE'],
{'display': '52.0', 'hundredths': 5200}),
('normal control 1',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 2,
'int': 3,
'pass_td': 0,
'pass_yds': 39,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': 8,
'two_pt': 0},
'half', 'TE'],
{'display': '-8.8', 'hundredths': -875}),
('normal control 2',
[{'first_downs': 8,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 2,
'pass_yds': -3,
'rec': 1,
'rec_td': 1,
'rec_yds': 100,
'rush_td': 2,
'rush_yds': 52,
'two_pt': 0},
'std', 'RB'],
{'display': '44.0', 'hundredths': 4400}),
('normal control 3',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 1,
'int': 3,
'pass_td': 0,
'pass_yds': 417,
'rec': 10,
'rec_td': 0,
'rec_yds': 44,
'rush_td': 1,
'rush_yds': 91,
'two_pt': 0},
'ppr', 'RB'],
{'display': '40.8', 'hundredths': 4075}),
('normal control 4',
[{'first_downs': 3,
'fum': 1,
'fum_lost': 0,
'int': 3,
'pass_td': 1,
'pass_yds': 6,
'rec': 2,
'rec_td': 1,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': 1,
'two_pt': 0},
'std', 'RB'],
{'display': '4.8', 'hundredths': 475})],
[('regression: yards from scrimmage merged',
[{'first_downs': 9,
'fum': 1,
'fum_lost': 0,
'int': 2,
'pass_td': 3,
'pass_yds': 412,
'rec': 1,
'rec_td': 1,
'rec_yds': 19,
'rush_td': 1,
'rush_yds': 9,
'two_pt': 0},
'half', 'RB'],
{'display': '42.8', 'hundredths': 4275}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 0,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 2,
'pass_yds': 325,
'rec': 6,
'rec_td': 1,
'rec_yds': 66,
'rush_td': 2,
'rush_yds': 143,
'two_pt': 1},
'std', 'TE'],
{'display': '66.0', 'hundredths': 6600}),
('second regression',
[{'first_downs': 0,
'fum': 3,
'fum_lost': 1,
'int': 0,
'pass_td': 4,
'pass_yds': 24,
'rec': 5,
'rec_td': 1,
'rec_yds': 107,
'rush_td': 1,
'rush_yds': 10,
'two_pt': 0},
'std', 'QB'],
{'display': '40.0', 'hundredths': 4000}),
('normal control 1',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 24,
'rec': 5,
'rec_td': 0,
'rec_yds': 20,
'rush_td': 1,
'rush_yds': 95,
'two_pt': 1},
'ppr', 'TE'],
{'display': '30.8', 'hundredths': 3075}),
('normal control 2',
[{'first_downs': 9,
'fum': 2,
'fum_lost': 1,
'int': 2,
'pass_td': 0,
'pass_yds': 17,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -1,
'two_pt': 0},
'half', 'WR'],
{'display': '-3.8', 'hundredths': -375}),
('normal control 3',
[{'first_downs': 6,
'fum': 1,
'fum_lost': 0,
'int': 1,
'pass_td': 3,
'pass_yds': 187,
'rec': 8,
'rec_td': 2,
'rec_yds': 54,
'rush_td': 2,
'rush_yds': 10,
'two_pt': 1},
'ppr', 'TE'],
{'display': '62.5', 'hundredths': 6250}),
('normal control 4',
[{'first_downs': 9,
'fum': 3,
'fum_lost': 1,
'int': 0,
'pass_td': 3,
'pass_yds': 103,
'rec': 6,
'rec_td': 1,
'rec_yds': 20,
'rush_td': 0,
'rush_yds': 100,
'two_pt': 1},
'half', 'TE'],
{'display': '45.3', 'hundredths': 4525})],
[('regression: yards from scrimmage merged',
[{'first_downs': 4,
'fum': 3,
'fum_lost': 1,
'int': 2,
'pass_td': 0,
'pass_yds': 156,
'rec': 2,
'rec_td': 1,
'rec_yds': 141,
'rush_td': 2,
'rush_yds': -15,
'two_pt': 0},
'std', 'QB'],
{'display': '35.0', 'hundredths': 3500}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 2,
'fum': 0,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 274,
'rec': 3,
'rec_td': 1,
'rec_yds': 106,
'rush_td': 1,
'rush_yds': -13,
'two_pt': 0},
'half', 'RB'],
{'display': '40.0', 'hundredths': 4000}),
('second regression',
[{'first_downs': 9,
'fum': 2,
'fum_lost': 2,
'int': 0,
'pass_td': 3,
'pass_yds': -3,
'rec': 9,
'rec_td': 1,
'rec_yds': 99,
'rush_td': 2,
'rush_yds': 9,
'two_pt': 1},
'ppr', 'QB'],
{'display': '48.3', 'hundredths': 4825}),
('normal control 1',
[{'first_downs': 0,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 0,
'pass_yds': -9,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': 3,
'two_pt': 0},
'ppr', 'QB'],
{'display': '-4.0', 'hundredths': -400}),
('normal control 2',
[{'first_downs': 3,
'fum': 2,
'fum_lost': 1,
'int': 0,
'pass_td': 0,
'pass_yds': 25,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -5,
'two_pt': 0},
'ppr', 'TE'],
{'display': '-0.3', 'hundredths': -25}),
('normal control 3',
[{'first_downs': 1,
'fum': 2,
'fum_lost': 2,
'int': 2,
'pass_td': 0,
'pass_yds': 31,
'rec': 0,
'rec_td': 0,
'rec_yds': 0,
'rush_td': 0,
'rush_yds': -4,
'two_pt': 0},
'half', 'RB'],
{'display': '-6.8', 'hundredths': -675}),
('normal control 4',
[{'first_downs': 5,
'fum': 2,
'fum_lost': 1,
'int': 1,
'pass_td': 0,
'pass_yds': 415,
'rec': 1,
'rec_td': 0,
'rec_yds': -4,
'rush_td': 0,
'rush_yds': -11,
'two_pt': 1},
'half', 'RB'],
{'display': '17.8', 'hundredths': 1775})],
[('regression: yards from scrimmage merged',
[{'first_downs': 1,
'fum': 3,
'fum_lost': 0,
'int': 1,
'pass_td': 1,
'pass_yds': 308,
'rec': 6,
'rec_td': 2,
'rec_yds': 150,
'rush_td': 0,
'rush_yds': -8,
'two_pt': 0},
'ppr', 'QB'],
{'display': '53.3', 'hundredths': 5325}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 1,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 2,
'pass_yds': 300,
'rec': 7,
'rec_td': 2,
'rec_yds': 48,
'rush_td': 0,
'rush_yds': 3,
'two_pt': 0},
'ppr', 'WR'],
{'display': '44.3', 'hundredths': 4425}),
('second regression',
[{'first_downs': 2,
'fum': 3,
'fum_lost': 1,
'int': 2,
'pass_td': 4,
'pass_yds': 107,
'rec': 11,
'rec_td': 2,
'rec_yds': 148,
'rush_td': 1,
'rush_yds': -7,
'two_pt': 1},
'std', 'WR'],
{'display': '51.5', 'hundredths': 5150}),
('normal control 1',
[{'first_downs': 1,
'fum': 0,
'fum_lost': 0,
'int': 0,
'pass_td': 2,
'pass_yds': 299,
'rec': 2,
'rec_td': 2,
'rec_yds': 20,
'rush_td': 0,
'rush_yds': 112,
'two_pt': 0},
'std', 'QB'],
{'display': '47.3', 'hundredths': 4725}),
('normal control 2',
[{'first_downs': 3,
'fum': 3,
'fum_lost': 0,
'int': 2,
'pass_td': 2,
'pass_yds': 325,
'rec': 0,
'rec_td': 0,
'rec_yds': 72,
'rush_td': 0,
'rush_yds': 134,
'two_pt': 0},
'half', 'TE'],
{'display': '43.8', 'hundredths': 4375}),
('normal control 3',
[{'first_downs': 2,
'fum': 3,
'fum_lost': 2,
'int': 1,
'pass_td': 4,
'pass_yds': 325,
'rec': 7,
'rec_td': 1,
'rec_yds': 144,
'rush_td': 1,
'rush_yds': 142,
'two_pt': 1},
'ppr', 'WR'],
{'display': '81.5', 'hundredths': 8150}),
('normal control 4',
[{'first_downs': 8,
'fum': 1,
'fum_lost': 1,
'int': 1,
'pass_td': 4,
'pass_yds': 24,
'rec': 7,
'rec_td': 1,
'rec_yds': -2,
'rush_td': 0,
'rush_yds': 99,
'two_pt': 0},
'ppr', 'QB'],
{'display': '36.0', 'hundredths': 3600})],
[('regression: yards from scrimmage merged',
[{'first_downs': 2,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 1,
'pass_yds': -3,
'rec': 7,
'rec_td': 2,
'rec_yds': 99,
'rush_td': 0,
'rush_yds': 113,
'two_pt': 1},
'std', 'TE'],
{'display': '43.0', 'hundredths': 4300}),
('partial repair probe: yards from scrimmage merged',
[{'first_downs': 0,
'fum': 0,
'fum_lost': 0,
'int': 0,
'pass_td': 0,
'pass_yds': 350,
'rec': 0,
'rec_td': 1,
'rec_yds': 55,
'rush_td': 0,
'rush_yds': 82,
'two_pt': 0},
'std', 'WR'],
{'display': '36.0', 'hundredths': 3600}),
('second regression',
[{'first_downs': 0,
'fum': 1,
'fum_lost': 0,
'int': 0,
'pass_td': 0,
'pass_yds': 24,
'rec': 9,
'rec_td': 0,
'rec_yds': 35,
'rush_td': 1,
'rush_yds': 100,
'two_pt': 0},
'std', 'RB'],
{'display': '22.0', 'hundredths': 2200}),
('normal control 1',
[{'first_downs': 5,
'fum': 2,
'fum_lost': 1,
'int': 3,
'pass_td': 0,
'pass_yds': 104,
'rec': 10,
'rec_td': 0,
'rec_yds': 100,
'rush_td': 1,
'rush_yds': 99,
'two_pt': 0},
'std', 'TE'],
{'display': '30.3', 'hundredths': 3025}),
('normal control 2',
[{'first_downs': 3,
'fum': 0,
'fum_lost': 0,
'int': 1,
'pass_td': 0,
'pass_yds': 300,
'rec': 2,
'rec_td': 2,
'rec_yds': 41,
'rush_td': 0,
'rush_yds': 34,
'two_pt': 0},
'ppr', 'TE'],
{'display': '35.8', 'hundredths': 3575}),
('normal control 3',
[{'first_downs': 0,
'fum': 0,
'fum_lost': 0,
'int': 2,
'pass_td': 3,
'pass_yds': 299,
'rec': 7,
'rec_td': 0,
'rec_yds': 21,
'rush_td': 1,
'rush_yds': -10,
'two_pt': 0},
'half', 'QB'],
{'display': '29.5', 'hundredths': 2950}),
('normal control 4',
[{'first_downs': 1,
'fum': 3,
'fum_lost': 0,
'int': 2,
'pass_td': 4,
'pass_yds': 161,
'rec': 0,
'rec_td': 1,
'rec_yds': -5,
'rush_td': 2,
'rush_yds': -2,
'two_pt': 1},
'std', 'QB'],
{'display': '38.3', 'hundredths': 3825})]]
for label, args, expected in fixtures[N-1]:
check(label, solve(*args), expected)
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 |
|---|---|---|---|
| regression: yards from scrimmage merged | {'display': '33.3', 'hundredths': 3325} | {'display': '33.3', 'hundredths': 3325} | Passed |
| partial repair probe: yards from scrimmage merged | {'display': '20.8', 'hundredths': 2075} | {'display': '20.8', 'hundredths': 2075} | Passed |
| second regression | {'display': '52.0', 'hundredths': 5200} | {'display': '52.0', 'hundredths': 5200} | Passed |
| normal control 1 | {'display': '-8.8', 'hundredths': -875} | {'display': '-8.8', 'hundredths': -875} | Passed |
| normal control 2 | {'display': '44.0', 'hundredths': 4400} | {'display': '44.0', 'hundredths': 4400} | Passed |
| normal control 3 | {'display': '40.8', 'hundredths': 4075} | {'display': '40.8', 'hundredths': 4075} | Passed |
| normal control 4 | {'display': '4.8', 'hundredths': 475} | {'display': '4.8', 'hundredths': 475} | Passed |
SHA-256 / 9ad9671c3e6fbbe30b5386aa51ebf8d134824d9ca288cdd1733d2a4cda523e8b
Verification & scope
A deterministic toy scoring contract stipulated for this example; it is not the rulebook of any real fantasy platform. 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:50:35.135456+00:00.
Case digest / d142c78d5a087fc37c67347e643bdc42648867278ac1387a570820fa980bb6e9