FAILURE MAP
← Case archive

FA-84856 / Fantasy sports scoring / Open access

Recovered fumbles are penalized like lost fumbles · case 01

A player who fumbled twice but recovered both loses 4 points.

Verified by executionVariant 1 · 7 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

The penalty reads the total fumbles field instead of fumbles lost.

THE FAILURE

The penalty reads the total fumbles field instead of fumbles lost.

Unsuccessful approach: Forgiving the first fumble is a heuristic that still misprices recovered and lost fumbles.

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'], 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'] * 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: fumbles lost versus fumbles',
   [{'first_downs': 5,
     'fum': 2,
     'fum_lost': 1,
     'int': 0,
     'pass_td': 0,
     'pass_yds': 12,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': -2,
     'two_pt': 0},
    'ppr', 'QB'],
   {'display': '-0.8', 'hundredths': -75}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 6,
     'fum': 2,
     'fum_lost': 2,
     'int': 0,
     'pass_td': 0,
     'pass_yds': 12,
     'rec': 11,
     'rec_td': 2,
     'rec_yds': 49,
     'rush_td': 0,
     'rush_yds': 50,
     'two_pt': 0},
    'ppr', 'RB'],
   {'display': '29.5', 'hundredths': 2950}),
  ('second regression',
   [{'first_downs': 3,
     'fum': 1,
     'fum_lost': 1,
     'int': 3,
     'pass_td': 2,
     'pass_yds': 355,
     'rec': 3,
     'rec_td': 2,
     'rec_yds': 53,
     'rush_td': 2,
     'rush_yds': 100,
     'two_pt': 1},
    'std', 'QB'],
   {'display': '61.8', 'hundredths': 6175}),
  ('normal control 1',
   [{'first_downs': 3,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 4,
     'pass_yds': 280,
     'rec': 9,
     'rec_td': 0,
     'rec_yds': 19,
     'rush_td': 0,
     'rush_yds': 9,
     'two_pt': 0},
    'ppr', 'RB'],
   {'display': '31.8', 'hundredths': 3175}),
  ('normal control 2',
   [{'first_downs': 9,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 4,
     'pass_yds': 26,
     'rec': 4,
     'rec_td': 0,
     'rec_yds': 78,
     'rush_td': 1,
     'rush_yds': 64,
     'two_pt': 1},
    'std', 'RB'],
   {'display': '34.3', 'hundredths': 3425}),
  ('normal control 3',
   [{'first_downs': 7,
     'fum': 0,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 4,
     'pass_yds': 321,
     'rec': 6,
     'rec_td': 0,
     'rec_yds': 89,
     'rush_td': 2,
     'rush_yds': 99,
     'two_pt': 1},
    'ppr', 'TE'],
   {'display': '70.8', 'hundredths': 7075}),
  ('normal control 4',
   [{'first_downs': 4,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 2,
     'pass_yds': 142,
     'rec': 5,
     'rec_td': 1,
     'rec_yds': 7,
     'rush_td': 0,
     'rush_yds': 100,
     'two_pt': 0},
    'ppr', 'TE'],
   {'display': '34.5', 'hundredths': 3450})],
 [('regression: fumbles lost versus fumbles',
   [{'first_downs': 1,
     'fum': 3,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 2,
     'pass_yds': 299,
     'rec': 10,
     'rec_td': 0,
     'rec_yds': 121,
     'rush_td': 1,
     'rush_yds': 139,
     'two_pt': 0},
    'half', 'QB'],
   {'display': '61.3', 'hundredths': 6125}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 8,
     'fum': 1,
     'fum_lost': 1,
     'int': 3,
     'pass_td': 0,
     'pass_yds': 31,
     'rec': 6,
     'rec_td': 1,
     'rec_yds': 81,
     'rush_td': 1,
     'rush_yds': 48,
     'two_pt': 1},
    'std', 'WR'],
   {'display': '21.0', 'hundredths': 2100}),
  ('second regression',
   [{'first_downs': 8,
     'fum': 3,
     'fum_lost': 2,
     'int': 0,
     'pass_td': 4,
     'pass_yds': 325,
     'rec': 8,
     'rec_td': 0,
     'rec_yds': 132,
     'rush_td': 2,
     'rush_yds': 8,
     'two_pt': 0},
    'std', 'RB'],
   {'display': '58.0', 'hundredths': 5800}),
  ('normal control 1',
   [{'first_downs': 6,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 3,
     'pass_yds': -3,
     'rec': 2,
     'rec_td': 2,
     'rec_yds': 102,
     'rush_td': 1,
     'rush_yds': 99,
     'two_pt': 0},
    'ppr', 'QB'],
   {'display': '49.5', 'hundredths': 4950}),
  ('normal control 2',
   [{'first_downs': 2,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 3,
     'pass_yds': 299,
     'rec': 11,
     'rec_td': 1,
     'rec_yds': 27,
     'rush_td': 1,
     'rush_yds': 17,
     'two_pt': 1},
    'half', 'QB'],
   {'display': '42.0', 'hundredths': 4200}),
  ('normal control 3',
   [{'first_downs': 8,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 0,
     'pass_yds': 36,
     'rec': 6,
     'rec_td': 0,
     'rec_yds': 68,
     'rush_td': 2,
     'rush_yds': 52,
     'two_pt': 1},
    'std', 'TE'],
   {'display': '25.0', 'hundredths': 2500}),
  ('normal control 4',
   [{'first_downs': 0,
     'fum': 0,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 4,
     'pass_yds': 163,
     'rec': 10,
     'rec_td': 2,
     'rec_yds': 100,
     'rush_td': 0,
     'rush_yds': 119,
     'two_pt': 0},
    'ppr', 'WR'],
   {'display': '69.0', 'hundredths': 6900})],
 [('regression: fumbles lost versus fumbles',
   [{'first_downs': 8,
     'fum': 3,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 2,
     'pass_yds': 142,
     'rec': 1,
     'rec_td': 2,
     'rec_yds': 148,
     'rush_td': 2,
     'rush_yds': 56,
     'two_pt': 0},
    'ppr', 'WR'],
   {'display': '62.0', 'hundredths': 6200}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 6,
     'fum': 2,
     'fum_lost': 2,
     'int': 2,
     'pass_td': 0,
     'pass_yds': 13,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': -6,
     'two_pt': 0},
    'half', 'RB'],
   {'display': '-6.5', 'hundredths': -650}),
  ('second regression',
   [{'first_downs': 5,
     'fum': 1,
     'fum_lost': 1,
     'int': 1,
     'pass_td': 4,
     'pass_yds': 267,
     'rec': 9,
     'rec_td': 0,
     'rec_yds': 100,
     'rush_td': 2,
     'rush_yds': 71,
     'two_pt': 1},
    'half', 'TE'],
   {'display': '66.3', 'hundredths': 6625}),
  ('normal control 1',
   [{'first_downs': 0,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 3,
     'pass_yds': 136,
     'rec': 6,
     'rec_td': 0,
     'rec_yds': 93,
     'rush_td': 2,
     'rush_yds': 99,
     'two_pt': 1},
    'std', 'RB'],
   {'display': '45.0', 'hundredths': 4500}),
  ('normal control 2',
   [{'first_downs': 8,
     'fum': 0,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 1,
     'pass_yds': 344,
     'rec': 4,
     'rec_td': 0,
     'rec_yds': 89,
     'rush_td': 1,
     'rush_yds': 77,
     'two_pt': 1},
    'ppr', 'TE'],
   {'display': '49.0', 'hundredths': 4900}),
  ('normal control 3',
   [{'first_downs': 6,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 2,
     'pass_yds': -3,
     'rec': 4,
     'rec_td': 1,
     'rec_yds': 120,
     'rush_td': 0,
     'rush_yds': 120,
     'two_pt': 1},
    'std', 'TE'],
   {'display': '43.5', 'hundredths': 4350}),
  ('normal control 4',
   [{'first_downs': 5,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 0,
     'pass_yds': 103,
     'rec': 1,
     'rec_td': 0,
     'rec_yds': 48,
     'rush_td': 2,
     'rush_yds': 120,
     'two_pt': 0},
    'half', 'TE'],
   {'display': '31.3', 'hundredths': 3125})],
 [('regression: fumbles lost versus fumbles',
   [{'first_downs': 5,
     'fum': 2,
     'fum_lost': 1,
     'int': 0,
     'pass_td': 0,
     'pass_yds': 40,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': 8,
     'two_pt': 0},
    'std', 'RB'],
   {'display': '0.3', 'hundredths': 25}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 9,
     'fum': 2,
     'fum_lost': 2,
     'int': 1,
     'pass_td': 0,
     'pass_yds': 22,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': -4,
     'two_pt': 0},
    'std', 'QB'],
   {'display': '-3.8', 'hundredths': -375}),
  ('second regression',
   [{'first_downs': 0,
     'fum': 2,
     'fum_lost': 2,
     'int': 2,
     'pass_td': 0,
     'pass_yds': 12,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': 7,
     'two_pt': 0},
    'std', 'TE'],
   {'display': '-8.0', 'hundredths': -800}),
  ('normal control 1',
   [{'first_downs': 1,
     'fum': 0,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 4,
     'pass_yds': -3,
     'rec': 8,
     'rec_td': 0,
     'rec_yds': 123,
     'rush_td': 2,
     'rush_yds': 95,
     'two_pt': 0},
    'ppr', 'QB'],
   {'display': '60.3', 'hundredths': 6025}),
  ('normal control 2',
   [{'first_downs': 6,
     'fum': 0,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 1,
     'pass_yds': 325,
     'rec': 7,
     'rec_td': 1,
     'rec_yds': 38,
     'rush_td': 2,
     'rush_yds': 10,
     'two_pt': 1},
    'half', 'RB'],
   {'display': '49.0', 'hundredths': 4900}),
  ('normal control 3',
   [{'first_downs': 0,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 0,
     'pass_yds': 243,
     'rec': 4,
     'rec_td': 2,
     'rec_yds': 99,
     'rush_td': 0,
     'rush_yds': -14,
     'two_pt': 0},
    'std', 'WR'],
   {'display': '25.0', 'hundredths': 2500}),
  ('normal control 4',
   [{'first_downs': 0,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 4,
     'pass_yds': 300,
     'rec': 9,
     'rec_td': 2,
     'rec_yds': 7,
     'rush_td': 0,
     'rush_yds': 75,
     'two_pt': 1},
    'ppr', 'TE'],
   {'display': '61.5', 'hundredths': 6150})],
 [('regression: fumbles lost versus fumbles',
   [{'first_downs': 7,
     'fum': 3,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 2,
     'pass_yds': 224,
     'rec': 6,
     'rec_td': 1,
     'rec_yds': 20,
     'rush_td': 1,
     'rush_yds': -7,
     'two_pt': 1},
    'ppr', 'RB'],
   {'display': '37.8', 'hundredths': 3775}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 3,
     'fum': 2,
     'fum_lost': 2,
     'int': 0,
     'pass_td': 0,
     'pass_yds': 14,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': 8,
     'two_pt': 0},
    'ppr', 'QB'],
   {'display': '-3.3', 'hundredths': -325}),
  ('second regression',
   [{'first_downs': 5,
     'fum': 2,
     'fum_lost': 2,
     'int': 3,
     'pass_td': 0,
     'pass_yds': 40,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': -10,
     'two_pt': 0},
    'half', 'TE'],
   {'display': '-8.8', 'hundredths': -875}),
  ('normal control 1',
   [{'first_downs': 6,
     'fum': 0,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 2,
     'pass_yds': 313,
     'rec': 9,
     'rec_td': 1,
     'rec_yds': 19,
     'rush_td': 0,
     'rush_yds': 99,
     'two_pt': 0},
    'ppr', 'TE'],
   {'display': '54.0', 'hundredths': 5400}),
  ('normal control 2',
   [{'first_downs': 5,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 3,
     'pass_yds': 319,
     'rec': 11,
     'rec_td': 0,
     'rec_yds': 84,
     'rush_td': 0,
     'rush_yds': 2,
     'two_pt': 0},
    'ppr', 'WR'],
   {'display': '43.3', 'hundredths': 4325}),
  ('normal control 3',
   [{'first_downs': 1,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 2,
     'pass_yds': -3,
     'rec': 6,
     'rec_td': 2,
     'rec_yds': 145,
     'rush_td': 0,
     'rush_yds': 99,
     'two_pt': 1},
    'std', 'WR'],
   {'display': '44.3', 'hundredths': 4425}),
  ('normal control 4',
   [{'first_downs': 8,
     'fum': 0,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 3,
     'pass_yds': 25,
     'rec': 2,
     'rec_td': 0,
     'rec_yds': 10,
     'rush_td': 2,
     'rush_yds': 101,
     'two_pt': 1},
    'half', 'QB'],
   {'display': '42.0', 'hundredths': 4200})]]
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 fixtureActualExpectedOutcome
regression: fumbles lost versus fumbles{'display': '-2.8', 'hundredths': -275}{'display': '-0.8', 'hundredths': -75}Failed
partial repair probe: fumbles lost versus fumbles{'display': '29.5', 'hundredths': 2950}{'display': '29.5', 'hundredths': 2950}Passed
second regression{'display': '61.8', 'hundredths': 6175}{'display': '61.8', 'hundredths': 6175}Passed
normal control 1{'display': '31.8', 'hundredths': 3175}{'display': '31.8', 'hundredths': 3175}Passed
normal control 2{'display': '34.3', 'hundredths': 3425}{'display': '34.3', 'hundredths': 3425}Passed
normal control 3{'display': '70.8', 'hundredths': 7075}{'display': '70.8', 'hundredths': 7075}Passed
normal control 4{'display': '34.5', 'hundredths': 3450}{'display': '34.5', 'hundredths': 3450}Passed

SHA-256 / 8967111c86acd2750c9e9b77739f1b2305ade3b2689df050e0c71828cb9af8fb

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 += unit(stats['rec_yds'], 10) * 100
    pts += stats['rec_td'] * 600
    pts -= max(stats['fum'] - 1, 0) * 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: fumbles lost versus fumbles',
   [{'first_downs': 5,
     'fum': 2,
     'fum_lost': 1,
     'int': 0,
     'pass_td': 0,
     'pass_yds': 12,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': -2,
     'two_pt': 0},
    'ppr', 'QB'],
   {'display': '-0.8', 'hundredths': -75}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 6,
     'fum': 2,
     'fum_lost': 2,
     'int': 0,
     'pass_td': 0,
     'pass_yds': 12,
     'rec': 11,
     'rec_td': 2,
     'rec_yds': 49,
     'rush_td': 0,
     'rush_yds': 50,
     'two_pt': 0},
    'ppr', 'RB'],
   {'display': '29.5', 'hundredths': 2950}),
  ('second regression',
   [{'first_downs': 3,
     'fum': 1,
     'fum_lost': 1,
     'int': 3,
     'pass_td': 2,
     'pass_yds': 355,
     'rec': 3,
     'rec_td': 2,
     'rec_yds': 53,
     'rush_td': 2,
     'rush_yds': 100,
     'two_pt': 1},
    'std', 'QB'],
   {'display': '61.8', 'hundredths': 6175}),
  ('normal control 1',
   [{'first_downs': 3,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 4,
     'pass_yds': 280,
     'rec': 9,
     'rec_td': 0,
     'rec_yds': 19,
     'rush_td': 0,
     'rush_yds': 9,
     'two_pt': 0},
    'ppr', 'RB'],
   {'display': '31.8', 'hundredths': 3175}),
  ('normal control 2',
   [{'first_downs': 9,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 4,
     'pass_yds': 26,
     'rec': 4,
     'rec_td': 0,
     'rec_yds': 78,
     'rush_td': 1,
     'rush_yds': 64,
     'two_pt': 1},
    'std', 'RB'],
   {'display': '34.3', 'hundredths': 3425}),
  ('normal control 3',
   [{'first_downs': 7,
     'fum': 0,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 4,
     'pass_yds': 321,
     'rec': 6,
     'rec_td': 0,
     'rec_yds': 89,
     'rush_td': 2,
     'rush_yds': 99,
     'two_pt': 1},
    'ppr', 'TE'],
   {'display': '70.8', 'hundredths': 7075}),
  ('normal control 4',
   [{'first_downs': 4,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 2,
     'pass_yds': 142,
     'rec': 5,
     'rec_td': 1,
     'rec_yds': 7,
     'rush_td': 0,
     'rush_yds': 100,
     'two_pt': 0},
    'ppr', 'TE'],
   {'display': '34.5', 'hundredths': 3450})],
 [('regression: fumbles lost versus fumbles',
   [{'first_downs': 1,
     'fum': 3,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 2,
     'pass_yds': 299,
     'rec': 10,
     'rec_td': 0,
     'rec_yds': 121,
     'rush_td': 1,
     'rush_yds': 139,
     'two_pt': 0},
    'half', 'QB'],
   {'display': '61.3', 'hundredths': 6125}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 8,
     'fum': 1,
     'fum_lost': 1,
     'int': 3,
     'pass_td': 0,
     'pass_yds': 31,
     'rec': 6,
     'rec_td': 1,
     'rec_yds': 81,
     'rush_td': 1,
     'rush_yds': 48,
     'two_pt': 1},
    'std', 'WR'],
   {'display': '21.0', 'hundredths': 2100}),
  ('second regression',
   [{'first_downs': 8,
     'fum': 3,
     'fum_lost': 2,
     'int': 0,
     'pass_td': 4,
     'pass_yds': 325,
     'rec': 8,
     'rec_td': 0,
     'rec_yds': 132,
     'rush_td': 2,
     'rush_yds': 8,
     'two_pt': 0},
    'std', 'RB'],
   {'display': '58.0', 'hundredths': 5800}),
  ('normal control 1',
   [{'first_downs': 6,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 3,
     'pass_yds': -3,
     'rec': 2,
     'rec_td': 2,
     'rec_yds': 102,
     'rush_td': 1,
     'rush_yds': 99,
     'two_pt': 0},
    'ppr', 'QB'],
   {'display': '49.5', 'hundredths': 4950}),
  ('normal control 2',
   [{'first_downs': 2,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 3,
     'pass_yds': 299,
     'rec': 11,
     'rec_td': 1,
     'rec_yds': 27,
     'rush_td': 1,
     'rush_yds': 17,
     'two_pt': 1},
    'half', 'QB'],
   {'display': '42.0', 'hundredths': 4200}),
  ('normal control 3',
   [{'first_downs': 8,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 0,
     'pass_yds': 36,
     'rec': 6,
     'rec_td': 0,
     'rec_yds': 68,
     'rush_td': 2,
     'rush_yds': 52,
     'two_pt': 1},
    'std', 'TE'],
   {'display': '25.0', 'hundredths': 2500}),
  ('normal control 4',
   [{'first_downs': 0,
     'fum': 0,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 4,
     'pass_yds': 163,
     'rec': 10,
     'rec_td': 2,
     'rec_yds': 100,
     'rush_td': 0,
     'rush_yds': 119,
     'two_pt': 0},
    'ppr', 'WR'],
   {'display': '69.0', 'hundredths': 6900})],
 [('regression: fumbles lost versus fumbles',
   [{'first_downs': 8,
     'fum': 3,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 2,
     'pass_yds': 142,
     'rec': 1,
     'rec_td': 2,
     'rec_yds': 148,
     'rush_td': 2,
     'rush_yds': 56,
     'two_pt': 0},
    'ppr', 'WR'],
   {'display': '62.0', 'hundredths': 6200}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 6,
     'fum': 2,
     'fum_lost': 2,
     'int': 2,
     'pass_td': 0,
     'pass_yds': 13,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': -6,
     'two_pt': 0},
    'half', 'RB'],
   {'display': '-6.5', 'hundredths': -650}),
  ('second regression',
   [{'first_downs': 5,
     'fum': 1,
     'fum_lost': 1,
     'int': 1,
     'pass_td': 4,
     'pass_yds': 267,
     'rec': 9,
     'rec_td': 0,
     'rec_yds': 100,
     'rush_td': 2,
     'rush_yds': 71,
     'two_pt': 1},
    'half', 'TE'],
   {'display': '66.3', 'hundredths': 6625}),
  ('normal control 1',
   [{'first_downs': 0,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 3,
     'pass_yds': 136,
     'rec': 6,
     'rec_td': 0,
     'rec_yds': 93,
     'rush_td': 2,
     'rush_yds': 99,
     'two_pt': 1},
    'std', 'RB'],
   {'display': '45.0', 'hundredths': 4500}),
  ('normal control 2',
   [{'first_downs': 8,
     'fum': 0,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 1,
     'pass_yds': 344,
     'rec': 4,
     'rec_td': 0,
     'rec_yds': 89,
     'rush_td': 1,
     'rush_yds': 77,
     'two_pt': 1},
    'ppr', 'TE'],
   {'display': '49.0', 'hundredths': 4900}),
  ('normal control 3',
   [{'first_downs': 6,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 2,
     'pass_yds': -3,
     'rec': 4,
     'rec_td': 1,
     'rec_yds': 120,
     'rush_td': 0,
     'rush_yds': 120,
     'two_pt': 1},
    'std', 'TE'],
   {'display': '43.5', 'hundredths': 4350}),
  ('normal control 4',
   [{'first_downs': 5,
     'fum': 0,
     'fum_lost': 0,
     'int': 3,
     'pass_td': 0,
     'pass_yds': 103,
     'rec': 1,
     'rec_td': 0,
     'rec_yds': 48,
     'rush_td': 2,
     'rush_yds': 120,
     'two_pt': 0},
    'half', 'TE'],
   {'display': '31.3', 'hundredths': 3125})],
 [('regression: fumbles lost versus fumbles',
   [{'first_downs': 5,
     'fum': 2,
     'fum_lost': 1,
     'int': 0,
     'pass_td': 0,
     'pass_yds': 40,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': 8,
     'two_pt': 0},
    'std', 'RB'],
   {'display': '0.3', 'hundredths': 25}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 9,
     'fum': 2,
     'fum_lost': 2,
     'int': 1,
     'pass_td': 0,
     'pass_yds': 22,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': -4,
     'two_pt': 0},
    'std', 'QB'],
   {'display': '-3.8', 'hundredths': -375}),
  ('second regression',
   [{'first_downs': 0,
     'fum': 2,
     'fum_lost': 2,
     'int': 2,
     'pass_td': 0,
     'pass_yds': 12,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': 7,
     'two_pt': 0},
    'std', 'TE'],
   {'display': '-8.0', 'hundredths': -800}),
  ('normal control 1',
   [{'first_downs': 1,
     'fum': 0,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 4,
     'pass_yds': -3,
     'rec': 8,
     'rec_td': 0,
     'rec_yds': 123,
     'rush_td': 2,
     'rush_yds': 95,
     'two_pt': 0},
    'ppr', 'QB'],
   {'display': '60.3', 'hundredths': 6025}),
  ('normal control 2',
   [{'first_downs': 6,
     'fum': 0,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 1,
     'pass_yds': 325,
     'rec': 7,
     'rec_td': 1,
     'rec_yds': 38,
     'rush_td': 2,
     'rush_yds': 10,
     'two_pt': 1},
    'half', 'RB'],
   {'display': '49.0', 'hundredths': 4900}),
  ('normal control 3',
   [{'first_downs': 0,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 0,
     'pass_yds': 243,
     'rec': 4,
     'rec_td': 2,
     'rec_yds': 99,
     'rush_td': 0,
     'rush_yds': -14,
     'two_pt': 0},
    'std', 'WR'],
   {'display': '25.0', 'hundredths': 2500}),
  ('normal control 4',
   [{'first_downs': 0,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 4,
     'pass_yds': 300,
     'rec': 9,
     'rec_td': 2,
     'rec_yds': 7,
     'rush_td': 0,
     'rush_yds': 75,
     'two_pt': 1},
    'ppr', 'TE'],
   {'display': '61.5', 'hundredths': 6150})],
 [('regression: fumbles lost versus fumbles',
   [{'first_downs': 7,
     'fum': 3,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 2,
     'pass_yds': 224,
     'rec': 6,
     'rec_td': 1,
     'rec_yds': 20,
     'rush_td': 1,
     'rush_yds': -7,
     'two_pt': 1},
    'ppr', 'RB'],
   {'display': '37.8', 'hundredths': 3775}),
  ('partial repair probe: fumbles lost versus fumbles',
   [{'first_downs': 3,
     'fum': 2,
     'fum_lost': 2,
     'int': 0,
     'pass_td': 0,
     'pass_yds': 14,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': 8,
     'two_pt': 0},
    'ppr', 'QB'],
   {'display': '-3.3', 'hundredths': -325}),
  ('second regression',
   [{'first_downs': 5,
     'fum': 2,
     'fum_lost': 2,
     'int': 3,
     'pass_td': 0,
     'pass_yds': 40,
     'rec': 0,
     'rec_td': 0,
     'rec_yds': 0,
     'rush_td': 0,
     'rush_yds': -10,
     'two_pt': 0},
    'half', 'TE'],
   {'display': '-8.8', 'hundredths': -875}),
  ('normal control 1',
   [{'first_downs': 6,
     'fum': 0,
     'fum_lost': 0,
     'int': 0,
     'pass_td': 2,
     'pass_yds': 313,
     'rec': 9,
     'rec_td': 1,
     'rec_yds': 19,
     'rush_td': 0,
     'rush_yds': 99,
     'two_pt': 0},
    'ppr', 'TE'],
   {'display': '54.0', 'hundredths': 5400}),
  ('normal control 2',
   [{'first_downs': 5,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 3,
     'pass_yds': 319,
     'rec': 11,
     'rec_td': 0,
     'rec_yds': 84,
     'rush_td': 0,
     'rush_yds': 2,
     'two_pt': 0},
    'ppr', 'WR'],
   {'display': '43.3', 'hundredths': 4325}),
  ('normal control 3',
   [{'first_downs': 1,
     'fum': 0,
     'fum_lost': 0,
     'int': 2,
     'pass_td': 2,
     'pass_yds': -3,
     'rec': 6,
     'rec_td': 2,
     'rec_yds': 145,
     'rush_td': 0,
     'rush_yds': 99,
     'two_pt': 1},
    'std', 'WR'],
   {'display': '44.3', 'hundredths': 4425}),
  ('normal control 4',
   [{'first_downs': 8,
     'fum': 0,
     'fum_lost': 0,
     'int': 1,
     'pass_td': 3,
     'pass_yds': 25,
     'rec': 2,
     'rec_td': 0,
     'rec_yds': 10,
     'rush_td': 2,
     'rush_yds': 101,
     'two_pt': 1},
    'half', 'QB'],
   {'display': '42.0', 'hundredths': 4200})]]
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 fixtureActualExpectedOutcome
regression: fumbles lost versus fumbles{'display': '-0.8', 'hundredths': -75}{'display': '-0.8', 'hundredths': -75}Passed
partial repair probe: fumbles lost versus fumbles{'display': '31.5', 'hundredths': 3150}{'display': '29.5', 'hundredths': 2950}Failed
second regression{'display': '63.8', 'hundredths': 6375}{'display': '61.8', 'hundredths': 6175}Failed
normal control 1{'display': '31.8', 'hundredths': 3175}{'display': '31.8', 'hundredths': 3175}Passed
normal control 2{'display': '34.3', 'hundredths': 3425}{'display': '34.3', 'hundredths': 3425}Passed
normal control 3{'display': '70.8', 'hundredths': 7075}{'display': '70.8', 'hundredths': 7075}Passed
normal control 4{'display': '34.5', 'hundredths': 3450}{'display': '34.5', 'hundredths': 3450}Passed

SHA-256 / 8d09eb05b2fd7ec9abc11c0e2b91bfe1dcca82ce99b9140f3a7652d7665e2600

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 7 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.

Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.

Member access is invitation-based. Sign in with your invited account to inspect the repair.

Sign in to the archive ↗

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.049090+00:00.

Case digest / 9aa978ac65e7ad25d70c00bde86f954f666bad4b899b608875babdc625a1f1a1