{"abstract":"A back with -7 rushing yards is charged a whole point although he never lost a full 10 yards.","category":"Fantasy sports scoring","checks":7,"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.","contract_signature":"stats, fmt, pos","evaluation_group":"w2-fantasy-sports-scoring-offense-stat-line","failed_approach":"Dividing the absolute value but dropping the sign turns lost yardage into positive points.","family":"w2-fantasy-sports-scoring-offense-stat-line-negative-yardage-truncation","id":"FA-84841","implementations":{"attempt":{"sha256":"a8e74a2528832abebfa4e894ce55ad6c686e16c4ed6f1c48150a0a8c04c26be0","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(stats, fmt, pos):\n    def unit(y, per):\n        return abs(y) // per\n    rec_val = {'std': 0, 'half': 50, 'ppr': 100}[fmt]\n    if pos == 'TE':\n        rec_val += 50\n    pts = 0\n    pts += unit(stats['pass_yds'], 25) * 100\n    pts += stats['pass_td'] * 400\n    pts -= stats['int'] * 200\n    pts += unit(stats['rush_yds'], 10) * 100\n    pts += stats['rush_td'] * 600\n    pts += stats['rec'] * rec_val\n    pts += unit(stats['rec_yds'], 10) * 100\n    pts += stats['rec_td'] * 600\n    pts -= stats['fum_lost'] * 200\n    pts += stats['two_pt'] * 200\n    pts += stats['first_downs'] * 25\n    if stats['pass_yds'] >= 300:\n        pts += 300\n    if stats['rush_yds'] >= 100:\n        pts += 300\n    if stats['rec_yds'] >= 100:\n        pts += 300\n    t = (abs(pts) + 5) // 10\n    sign = '-' if pts < 0 and t else ''\n    return {'hundredths': pts, 'display': '%s%d.%d' % (sign, t // 10, t % 10)}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: negative yardage truncation',\n   [{'first_downs': 1,\n     'fum': 1,\n     'fum_lost': 0,\n     'int': 3,\n     'pass_td': 1,\n     'pass_yds': 288,\n     'rec': 7,\n     'rec_td': 0,\n     'rec_yds': 20,\n     'rush_td': 1,\n     'rush_yds': -7,\n     'two_pt': 0},\n    'std', 'QB'],\n   {'display': '17.3', 'hundredths': 1725}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 7,\n     'fum': 0,\n     'fum_lost': 0,\n     'int': 0,\n     'pass_td': 0,\n     'pass_yds': 235,\n     'rec': 2,\n     'rec_td': 2,\n     'rec_yds': 4,\n     'rush_td': 2,\n     'rush_yds': -10,\n     'two_pt': 1},\n    'std', 'QB'],\n   {'display': '35.8', 'hundredths': 3575}),\n  ('second regression',\n   [{'first_downs': 4,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 6,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -4,\n     'two_pt': 0},\n    'ppr', 'WR'],\n   {'display': '-5.0', 'hundredths': -500}),\n  ('normal control 1',\n   [{'first_downs': 4,\n     'fum': 1,\n     'fum_lost': 0,\n     'int': 2,\n     'pass_td': 2,\n     'pass_yds': 311,\n     'rec': 7,\n     'rec_td': 2,\n     'rec_yds': 140,\n     'rush_td': 1,\n     'rush_yds': 64,\n     'two_pt': 1},\n    'std', 'RB'],\n   {'display': '63.0', 'hundredths': 6300}),\n  ('normal control 2',\n   [{'first_downs': 1,\n     'fum': 3,\n     'fum_lost': 0,\n     'int': 3,\n     'pass_td': 2,\n     'pass_yds': 239,\n     'rec': 2,\n     'rec_td': 2,\n     'rec_yds': 141,\n     'rush_td': 0,\n     'rush_yds': 107,\n     'two_pt': 1},\n    'std', 'WR'],\n   {'display': '55.3', 'hundredths': 5525}),\n  ('normal control 3',\n   [{'first_downs': 1,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 3,\n     'pass_td': 2,\n     'pass_yds': 347,\n     'rec': 11,\n     'rec_td': 1,\n     'rec_yds': 19,\n     'rush_td': 1,\n     'rush_yds': 108,\n     'two_pt': 0},\n    'half', 'RB'],\n   {'display': '45.8', 'hundredths': 4575}),\n  ('normal control 4',\n   [{'first_downs': 1,\n     'fum': 3,\n     'fum_lost': 3,\n     'int': 1,\n     'pass_td': 3,\n     'pass_yds': 46,\n     'rec': 1,\n     'rec_td': 2,\n     'rec_yds': 110,\n     'rush_td': 1,\n     'rush_yds': 118,\n     'two_pt': 0},\n    'std', 'TE'],\n   {'display': '51.8', 'hundredths': 5175})],\n [('regression: negative yardage truncation',\n   [{'first_downs': 1,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 3,\n     'pass_td': 3,\n     'pass_yds': -3,\n     'rec': 1,\n     'rec_td': 1,\n     'rec_yds': 7,\n     'rush_td': 0,\n     'rush_yds': 100,\n     'two_pt': 0},\n    'std', 'RB'],\n   {'display': '23.3', 'hundredths': 2325}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 3,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 2,\n     'pass_td': 4,\n     'pass_yds': -3,\n     'rec': 3,\n     'rec_td': 1,\n     'rec_yds': 99,\n     'rush_td': 1,\n     'rush_yds': -10,\n     'two_pt': 1},\n    'half', 'WR'],\n   {'display': '32.3', 'hundredths': 3225}),\n  ('second regression',\n   [{'first_downs': 3,\n     'fum': 2,\n     'fum_lost': 0,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 86,\n     'rec': 10,\n     'rec_td': 1,\n     'rec_yds': 19,\n     'rush_td': 1,\n     'rush_yds': -7,\n     'two_pt': 1},\n    'half', 'WR'],\n   {'display': '21.8', 'hundredths': 2175}),\n  ('normal control 1',\n   [{'first_downs': 5,\n     'fum': 0,\n     'fum_lost': 0,\n     'int': 0,\n     'pass_td': 2,\n     'pass_yds': 107,\n     'rec': 4,\n     'rec_td': 1,\n     'rec_yds': 99,\n     'rush_td': 1,\n     'rush_yds': 106,\n     'two_pt': 1},\n    'std', 'WR'],\n   {'display': '49.3', 'hundredths': 4925}),\n  ('normal control 2',\n   [{'first_downs': 9,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 0,\n     'pass_td': 0,\n     'pass_yds': 20,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': 9,\n     'two_pt': 0},\n    'std', 'WR'],\n   {'display': '-1.8', 'hundredths': -175}),\n  ('normal control 3',\n   [{'first_downs': 9,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 198,\n     'rec': 7,\n     'rec_td': 1,\n     'rec_yds': 20,\n     'rush_td': 1,\n     'rush_yds': 51,\n     'two_pt': 1},\n    'std', 'WR'],\n   {'display': '26.3', 'hundredths': 2625}),\n  ('normal control 4',\n   [{'first_downs': 7,\n     'fum': 3,\n     'fum_lost': 2,\n     'int': 1,\n     'pass_td': 4,\n     'pass_yds': 300,\n     'rec': 11,\n     'rec_td': 1,\n     'rec_yds': 114,\n     'rush_td': 1,\n     'rush_yds': 10,\n     'two_pt': 0},\n    'ppr', 'WR'],\n   {'display': '64.8', 'hundredths': 6475})],\n [('regression: negative yardage truncation',\n   [{'first_downs': 9,\n     'fum': 2,\n     'fum_lost': 0,\n     'int': 2,\n     'pass_td': 3,\n     'pass_yds': -3,\n     'rec': 10,\n     'rec_td': 0,\n     'rec_yds': 86,\n     'rush_td': 2,\n     'rush_yds': 51,\n     'two_pt': 1},\n    'ppr', 'TE'],\n   {'display': '52.3', 'hundredths': 5225}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 1,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 0,\n     'pass_td': 0,\n     'pass_yds': 15,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -14,\n     'two_pt': 0},\n    'std', 'TE'],\n   {'display': '-2.8', 'hundredths': -275}),\n  ('second regression',\n   [{'first_downs': 4,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 1,\n     'pass_td': 3,\n     'pass_yds': 298,\n     'rec': 0,\n     'rec_td': 1,\n     'rec_yds': 99,\n     'rush_td': 1,\n     'rush_yds': -7,\n     'two_pt': 1},\n    'std', 'QB'],\n   {'display': '43.0', 'hundredths': 4300}),\n  ('normal control 1',\n   [{'first_downs': 4,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 325,\n     'rec': 10,\n     'rec_td': 1,\n     'rec_yds': 99,\n     'rush_td': 0,\n     'rush_yds': 159,\n     'two_pt': 0},\n    'ppr', 'QB'],\n   {'display': '54.0', 'hundredths': 5400}),\n  ('normal control 2',\n   [{'first_downs': 3,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 2,\n     'pass_td': 2,\n     'pass_yds': 63,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 60,\n     'rush_td': 2,\n     'rush_yds': 146,\n     'two_pt': 1},\n    'ppr', 'WR'],\n   {'display': '41.8', 'hundredths': 4175}),\n  ('normal control 3',\n   [{'first_downs': 3,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 3,\n     'pass_td': 0,\n     'pass_yds': 2,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': 0,\n     'two_pt': 0},\n    'ppr', 'RB'],\n   {'display': '-7.3', 'hundredths': -725}),\n  ('normal control 4',\n   [{'first_downs': 3,\n     'fum': 1,\n     'fum_lost': 0,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 325,\n     'rec': 10,\n     'rec_td': 2,\n     'rec_yds': 84,\n     'rush_td': 0,\n     'rush_yds': 35,\n     'two_pt': 1},\n    'std', 'TE'],\n   {'display': '44.8', 'hundredths': 4475})],\n [('regression: negative yardage truncation',\n   [{'first_downs': 9,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 16,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -7,\n     'two_pt': 0},\n    'half', 'QB'],\n   {'display': '-3.8', 'hundredths': -375}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 9,\n     'fum': 2,\n     'fum_lost': 0,\n     'int': 2,\n     'pass_td': 4,\n     'pass_yds': 57,\n     'rec': 10,\n     'rec_td': 1,\n     'rec_yds': 45,\n     'rush_td': 0,\n     'rush_yds': -10,\n     'two_pt': 0},\n    'ppr', 'WR'],\n   {'display': '35.3', 'hundredths': 3525}),\n  ('second regression',\n   [{'first_downs': 0,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': -10,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -7,\n     'two_pt': 0},\n    'std', 'WR'],\n   {'display': '-4.0', 'hundredths': -400}),\n  ('normal control 1',\n   [{'first_downs': 8,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 2,\n     'pass_td': 3,\n     'pass_yds': 228,\n     'rec': 4,\n     'rec_td': 1,\n     'rec_yds': 106,\n     'rush_td': 2,\n     'rush_yds': 77,\n     'two_pt': 1},\n    'half', 'QB'],\n   {'display': '59.0', 'hundredths': 5900}),\n  ('normal control 2',\n   [{'first_downs': 9,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 3,\n     'pass_td': 3,\n     'pass_yds': 25,\n     'rec': 9,\n     'rec_td': 2,\n     'rec_yds': 99,\n     'rush_td': 0,\n     'rush_yds': 139,\n     'two_pt': 0},\n    'ppr', 'TE'],\n   {'display': '57.8', 'hundredths': 5775}),\n  ('normal control 3',\n   [{'first_downs': 0,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 2,\n     'pass_td': 0,\n     'pass_yds': 37,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': 2,\n     'two_pt': 0},\n    'std', 'RB'],\n   {'display': '-7.0', 'hundredths': -700}),\n  ('normal control 4',\n   [{'first_downs': 7,\n     'fum': 3,\n     'fum_lost': 2,\n     'int': 2,\n     'pass_td': 4,\n     'pass_yds': 299,\n     'rec': 4,\n     'rec_td': 1,\n     'rec_yds': 51,\n     'rush_td': 1,\n     'rush_yds': 158,\n     'two_pt': 1},\n    'half', 'TE'],\n   {'display': '61.8', 'hundredths': 6175})],\n [('regression: negative yardage truncation',\n   [{'first_downs': 5,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 8,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -8,\n     'two_pt': 0},\n    'std', 'RB'],\n   {'display': '-2.8', 'hundredths': -275}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 3,\n     'fum': 0,\n     'fum_lost': 0,\n     'int': 0,\n     'pass_td': 0,\n     'pass_yds': 64,\n     'rec': 11,\n     'rec_td': 0,\n     'rec_yds': 7,\n     'rush_td': 0,\n     'rush_yds': -10,\n     'two_pt': 0},\n    'half', 'TE'],\n   {'display': '12.8', 'hundredths': 1275}),\n  ('second regression',\n   [{'first_downs': 7,\n     'fum': 3,\n     'fum_lost': 2,\n     'int': 0,\n     'pass_td': 1,\n     'pass_yds': -3,\n     'rec': 3,\n     'rec_td': 2,\n     'rec_yds': 7,\n     'rush_td': 1,\n     'rush_yds': 99,\n     'two_pt': 0},\n    'ppr', 'WR'],\n   {'display': '31.8', 'hundredths': 3175}),\n  ('normal control 1',\n   [{'first_downs': 8,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 2,\n     'pass_td': 0,\n     'pass_yds': 21,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': 1,\n     'two_pt': 0},\n    'ppr', 'TE'],\n   {'display': '-4.0', 'hundredths': -400}),\n  ('normal control 2',\n   [{'first_downs': 4,\n     'fum': 3,\n     'fum_lost': 1,\n     'int': 2,\n     'pass_td': 3,\n     'pass_yds': 331,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 20,\n     'rush_td': 1,\n     'rush_yds': 0,\n     'two_pt': 0},\n    'ppr', 'TE'],\n   {'display': '31.0', 'hundredths': 3100}),\n  ('normal control 3',\n   [{'first_downs': 2,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 3,\n     'pass_td': 2,\n     'pass_yds': 52,\n     'rec': 4,\n     'rec_td': 0,\n     'rec_yds': 99,\n     'rush_td': 1,\n     'rush_yds': 100,\n     'two_pt': 0},\n    'half', 'QB'],\n   {'display': '30.5', 'hundredths': 3050}),\n  ('normal control 4',\n   [{'first_downs': 5,\n     'fum': 1,\n     'fum_lost': 0,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 85,\n     'rec': 5,\n     'rec_td': 0,\n     'rec_yds': 19,\n     'rush_td': 0,\n     'rush_yds': 47,\n     'two_pt': 0},\n    'half', 'WR'],\n   {'display': '9.8', 'hundredths': 975})]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), expected)\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":"3e7646fd3b4a336b2e11f5da9a7ed46fc3e67291736e10f3c58af38674062d77","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(stats, fmt, pos):\n    def unit(y, per):\n        return y // per\n    rec_val = {'std': 0, 'half': 50, 'ppr': 100}[fmt]\n    if pos == 'TE':\n        rec_val += 50\n    pts = 0\n    pts += unit(stats['pass_yds'], 25) * 100\n    pts += stats['pass_td'] * 400\n    pts -= stats['int'] * 200\n    pts += unit(stats['rush_yds'], 10) * 100\n    pts += stats['rush_td'] * 600\n    pts += stats['rec'] * rec_val\n    pts += unit(stats['rec_yds'], 10) * 100\n    pts += stats['rec_td'] * 600\n    pts -= stats['fum_lost'] * 200\n    pts += stats['two_pt'] * 200\n    pts += stats['first_downs'] * 25\n    if stats['pass_yds'] >= 300:\n        pts += 300\n    if stats['rush_yds'] >= 100:\n        pts += 300\n    if stats['rec_yds'] >= 100:\n        pts += 300\n    t = (abs(pts) + 5) // 10\n    sign = '-' if pts < 0 and t else ''\n    return {'hundredths': pts, 'display': '%s%d.%d' % (sign, t // 10, t % 10)}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: negative yardage truncation',\n   [{'first_downs': 1,\n     'fum': 1,\n     'fum_lost': 0,\n     'int': 3,\n     'pass_td': 1,\n     'pass_yds': 288,\n     'rec': 7,\n     'rec_td': 0,\n     'rec_yds': 20,\n     'rush_td': 1,\n     'rush_yds': -7,\n     'two_pt': 0},\n    'std', 'QB'],\n   {'display': '17.3', 'hundredths': 1725}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 7,\n     'fum': 0,\n     'fum_lost': 0,\n     'int': 0,\n     'pass_td': 0,\n     'pass_yds': 235,\n     'rec': 2,\n     'rec_td': 2,\n     'rec_yds': 4,\n     'rush_td': 2,\n     'rush_yds': -10,\n     'two_pt': 1},\n    'std', 'QB'],\n   {'display': '35.8', 'hundredths': 3575}),\n  ('second regression',\n   [{'first_downs': 4,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 6,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -4,\n     'two_pt': 0},\n    'ppr', 'WR'],\n   {'display': '-5.0', 'hundredths': -500}),\n  ('normal control 1',\n   [{'first_downs': 4,\n     'fum': 1,\n     'fum_lost': 0,\n     'int': 2,\n     'pass_td': 2,\n     'pass_yds': 311,\n     'rec': 7,\n     'rec_td': 2,\n     'rec_yds': 140,\n     'rush_td': 1,\n     'rush_yds': 64,\n     'two_pt': 1},\n    'std', 'RB'],\n   {'display': '63.0', 'hundredths': 6300}),\n  ('normal control 2',\n   [{'first_downs': 1,\n     'fum': 3,\n     'fum_lost': 0,\n     'int': 3,\n     'pass_td': 2,\n     'pass_yds': 239,\n     'rec': 2,\n     'rec_td': 2,\n     'rec_yds': 141,\n     'rush_td': 0,\n     'rush_yds': 107,\n     'two_pt': 1},\n    'std', 'WR'],\n   {'display': '55.3', 'hundredths': 5525}),\n  ('normal control 3',\n   [{'first_downs': 1,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 3,\n     'pass_td': 2,\n     'pass_yds': 347,\n     'rec': 11,\n     'rec_td': 1,\n     'rec_yds': 19,\n     'rush_td': 1,\n     'rush_yds': 108,\n     'two_pt': 0},\n    'half', 'RB'],\n   {'display': '45.8', 'hundredths': 4575}),\n  ('normal control 4',\n   [{'first_downs': 1,\n     'fum': 3,\n     'fum_lost': 3,\n     'int': 1,\n     'pass_td': 3,\n     'pass_yds': 46,\n     'rec': 1,\n     'rec_td': 2,\n     'rec_yds': 110,\n     'rush_td': 1,\n     'rush_yds': 118,\n     'two_pt': 0},\n    'std', 'TE'],\n   {'display': '51.8', 'hundredths': 5175})],\n [('regression: negative yardage truncation',\n   [{'first_downs': 1,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 3,\n     'pass_td': 3,\n     'pass_yds': -3,\n     'rec': 1,\n     'rec_td': 1,\n     'rec_yds': 7,\n     'rush_td': 0,\n     'rush_yds': 100,\n     'two_pt': 0},\n    'std', 'RB'],\n   {'display': '23.3', 'hundredths': 2325}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 3,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 2,\n     'pass_td': 4,\n     'pass_yds': -3,\n     'rec': 3,\n     'rec_td': 1,\n     'rec_yds': 99,\n     'rush_td': 1,\n     'rush_yds': -10,\n     'two_pt': 1},\n    'half', 'WR'],\n   {'display': '32.3', 'hundredths': 3225}),\n  ('second regression',\n   [{'first_downs': 3,\n     'fum': 2,\n     'fum_lost': 0,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 86,\n     'rec': 10,\n     'rec_td': 1,\n     'rec_yds': 19,\n     'rush_td': 1,\n     'rush_yds': -7,\n     'two_pt': 1},\n    'half', 'WR'],\n   {'display': '21.8', 'hundredths': 2175}),\n  ('normal control 1',\n   [{'first_downs': 5,\n     'fum': 0,\n     'fum_lost': 0,\n     'int': 0,\n     'pass_td': 2,\n     'pass_yds': 107,\n     'rec': 4,\n     'rec_td': 1,\n     'rec_yds': 99,\n     'rush_td': 1,\n     'rush_yds': 106,\n     'two_pt': 1},\n    'std', 'WR'],\n   {'display': '49.3', 'hundredths': 4925}),\n  ('normal control 2',\n   [{'first_downs': 9,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 0,\n     'pass_td': 0,\n     'pass_yds': 20,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': 9,\n     'two_pt': 0},\n    'std', 'WR'],\n   {'display': '-1.8', 'hundredths': -175}),\n  ('normal control 3',\n   [{'first_downs': 9,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 198,\n     'rec': 7,\n     'rec_td': 1,\n     'rec_yds': 20,\n     'rush_td': 1,\n     'rush_yds': 51,\n     'two_pt': 1},\n    'std', 'WR'],\n   {'display': '26.3', 'hundredths': 2625}),\n  ('normal control 4',\n   [{'first_downs': 7,\n     'fum': 3,\n     'fum_lost': 2,\n     'int': 1,\n     'pass_td': 4,\n     'pass_yds': 300,\n     'rec': 11,\n     'rec_td': 1,\n     'rec_yds': 114,\n     'rush_td': 1,\n     'rush_yds': 10,\n     'two_pt': 0},\n    'ppr', 'WR'],\n   {'display': '64.8', 'hundredths': 6475})],\n [('regression: negative yardage truncation',\n   [{'first_downs': 9,\n     'fum': 2,\n     'fum_lost': 0,\n     'int': 2,\n     'pass_td': 3,\n     'pass_yds': -3,\n     'rec': 10,\n     'rec_td': 0,\n     'rec_yds': 86,\n     'rush_td': 2,\n     'rush_yds': 51,\n     'two_pt': 1},\n    'ppr', 'TE'],\n   {'display': '52.3', 'hundredths': 5225}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 1,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 0,\n     'pass_td': 0,\n     'pass_yds': 15,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -14,\n     'two_pt': 0},\n    'std', 'TE'],\n   {'display': '-2.8', 'hundredths': -275}),\n  ('second regression',\n   [{'first_downs': 4,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 1,\n     'pass_td': 3,\n     'pass_yds': 298,\n     'rec': 0,\n     'rec_td': 1,\n     'rec_yds': 99,\n     'rush_td': 1,\n     'rush_yds': -7,\n     'two_pt': 1},\n    'std', 'QB'],\n   {'display': '43.0', 'hundredths': 4300}),\n  ('normal control 1',\n   [{'first_downs': 4,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 325,\n     'rec': 10,\n     'rec_td': 1,\n     'rec_yds': 99,\n     'rush_td': 0,\n     'rush_yds': 159,\n     'two_pt': 0},\n    'ppr', 'QB'],\n   {'display': '54.0', 'hundredths': 5400}),\n  ('normal control 2',\n   [{'first_downs': 3,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 2,\n     'pass_td': 2,\n     'pass_yds': 63,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 60,\n     'rush_td': 2,\n     'rush_yds': 146,\n     'two_pt': 1},\n    'ppr', 'WR'],\n   {'display': '41.8', 'hundredths': 4175}),\n  ('normal control 3',\n   [{'first_downs': 3,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 3,\n     'pass_td': 0,\n     'pass_yds': 2,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': 0,\n     'two_pt': 0},\n    'ppr', 'RB'],\n   {'display': '-7.3', 'hundredths': -725}),\n  ('normal control 4',\n   [{'first_downs': 3,\n     'fum': 1,\n     'fum_lost': 0,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 325,\n     'rec': 10,\n     'rec_td': 2,\n     'rec_yds': 84,\n     'rush_td': 0,\n     'rush_yds': 35,\n     'two_pt': 1},\n    'std', 'TE'],\n   {'display': '44.8', 'hundredths': 4475})],\n [('regression: negative yardage truncation',\n   [{'first_downs': 9,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 16,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -7,\n     'two_pt': 0},\n    'half', 'QB'],\n   {'display': '-3.8', 'hundredths': -375}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 9,\n     'fum': 2,\n     'fum_lost': 0,\n     'int': 2,\n     'pass_td': 4,\n     'pass_yds': 57,\n     'rec': 10,\n     'rec_td': 1,\n     'rec_yds': 45,\n     'rush_td': 0,\n     'rush_yds': -10,\n     'two_pt': 0},\n    'ppr', 'WR'],\n   {'display': '35.3', 'hundredths': 3525}),\n  ('second regression',\n   [{'first_downs': 0,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': -10,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -7,\n     'two_pt': 0},\n    'std', 'WR'],\n   {'display': '-4.0', 'hundredths': -400}),\n  ('normal control 1',\n   [{'first_downs': 8,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 2,\n     'pass_td': 3,\n     'pass_yds': 228,\n     'rec': 4,\n     'rec_td': 1,\n     'rec_yds': 106,\n     'rush_td': 2,\n     'rush_yds': 77,\n     'two_pt': 1},\n    'half', 'QB'],\n   {'display': '59.0', 'hundredths': 5900}),\n  ('normal control 2',\n   [{'first_downs': 9,\n     'fum': 1,\n     'fum_lost': 1,\n     'int': 3,\n     'pass_td': 3,\n     'pass_yds': 25,\n     'rec': 9,\n     'rec_td': 2,\n     'rec_yds': 99,\n     'rush_td': 0,\n     'rush_yds': 139,\n     'two_pt': 0},\n    'ppr', 'TE'],\n   {'display': '57.8', 'hundredths': 5775}),\n  ('normal control 3',\n   [{'first_downs': 0,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 2,\n     'pass_td': 0,\n     'pass_yds': 37,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': 2,\n     'two_pt': 0},\n    'std', 'RB'],\n   {'display': '-7.0', 'hundredths': -700}),\n  ('normal control 4',\n   [{'first_downs': 7,\n     'fum': 3,\n     'fum_lost': 2,\n     'int': 2,\n     'pass_td': 4,\n     'pass_yds': 299,\n     'rec': 4,\n     'rec_td': 1,\n     'rec_yds': 51,\n     'rush_td': 1,\n     'rush_yds': 158,\n     'two_pt': 1},\n    'half', 'TE'],\n   {'display': '61.8', 'hundredths': 6175})],\n [('regression: negative yardage truncation',\n   [{'first_downs': 5,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 8,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': -8,\n     'two_pt': 0},\n    'std', 'RB'],\n   {'display': '-2.8', 'hundredths': -275}),\n  ('partial repair probe: negative yardage truncation',\n   [{'first_downs': 3,\n     'fum': 0,\n     'fum_lost': 0,\n     'int': 0,\n     'pass_td': 0,\n     'pass_yds': 64,\n     'rec': 11,\n     'rec_td': 0,\n     'rec_yds': 7,\n     'rush_td': 0,\n     'rush_yds': -10,\n     'two_pt': 0},\n    'half', 'TE'],\n   {'display': '12.8', 'hundredths': 1275}),\n  ('second regression',\n   [{'first_downs': 7,\n     'fum': 3,\n     'fum_lost': 2,\n     'int': 0,\n     'pass_td': 1,\n     'pass_yds': -3,\n     'rec': 3,\n     'rec_td': 2,\n     'rec_yds': 7,\n     'rush_td': 1,\n     'rush_yds': 99,\n     'two_pt': 0},\n    'ppr', 'WR'],\n   {'display': '31.8', 'hundredths': 3175}),\n  ('normal control 1',\n   [{'first_downs': 8,\n     'fum': 2,\n     'fum_lost': 1,\n     'int': 2,\n     'pass_td': 0,\n     'pass_yds': 21,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 0,\n     'rush_td': 0,\n     'rush_yds': 1,\n     'two_pt': 0},\n    'ppr', 'TE'],\n   {'display': '-4.0', 'hundredths': -400}),\n  ('normal control 2',\n   [{'first_downs': 4,\n     'fum': 3,\n     'fum_lost': 1,\n     'int': 2,\n     'pass_td': 3,\n     'pass_yds': 331,\n     'rec': 0,\n     'rec_td': 0,\n     'rec_yds': 20,\n     'rush_td': 1,\n     'rush_yds': 0,\n     'two_pt': 0},\n    'ppr', 'TE'],\n   {'display': '31.0', 'hundredths': 3100}),\n  ('normal control 3',\n   [{'first_downs': 2,\n     'fum': 2,\n     'fum_lost': 2,\n     'int': 3,\n     'pass_td': 2,\n     'pass_yds': 52,\n     'rec': 4,\n     'rec_td': 0,\n     'rec_yds': 99,\n     'rush_td': 1,\n     'rush_yds': 100,\n     'two_pt': 0},\n    'half', 'QB'],\n   {'display': '30.5', 'hundredths': 3050}),\n  ('normal control 4',\n   [{'first_downs': 5,\n     'fum': 1,\n     'fum_lost': 0,\n     'int': 1,\n     'pass_td': 0,\n     'pass_yds': 85,\n     'rec': 5,\n     'rec_td': 0,\n     'rec_yds': 19,\n     'rush_td': 0,\n     'rush_yds': 47,\n     'two_pt': 0},\n    'half', 'WR'],\n   {'display': '9.8', 'hundredths': 975})]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), expected)\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":"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.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"w2-fantasy-sports-scoring-offense-stat-line-negative-yardage-truncation","generated_at":"2026-09-29T14:50:34.769707+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Fantasy football points drive weekly matchups and payouts; small unit or boundary mistakes flip results that users dispute.","root_cause":"Yard units use Python floor division, which rounds -0.7 units down to -1 instead of truncating toward zero.","sha256":"338ac109880da4395a8666b47851f346ffde493133e6f680efddb8381005c77e","title":"Negative rushing yards floored to a full lost point · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":41.356,"exit_code":1,"observations":[{"actual":{"display":"17.3","hundredths":1725},"check":"regression: negative yardage truncation","expected":{"display":"17.3","hundredths":1725},"passed":true},{"actual":{"display":"37.8","hundredths":3775},"check":"partial repair probe: negative yardage truncation","expected":{"display":"35.8","hundredths":3575},"passed":false},{"actual":{"display":"-5.0","hundredths":-500},"check":"second regression","expected":{"display":"-5.0","hundredths":-500},"passed":true},{"actual":{"display":"63.0","hundredths":6300},"check":"normal control 1","expected":{"display":"63.0","hundredths":6300},"passed":true},{"actual":{"display":"55.3","hundredths":5525},"check":"normal control 2","expected":{"display":"55.3","hundredths":5525},"passed":true},{"actual":{"display":"45.8","hundredths":4575},"check":"normal control 3","expected":{"display":"45.8","hundredths":4575},"passed":true},{"actual":{"display":"51.8","hundredths":5175},"check":"normal control 4","expected":{"display":"51.8","hundredths":5175},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: negative yardage truncation\", \"actual\": {\"hundredths\": 1725, \"display\": \"17.3\"}, \"expected\": {\"display\": \"17.3\", \"hundredths\": 1725}, \"passed\": true}, {\"check\": \"partial repair probe: negative yardage truncation\", \"actual\": {\"hundredths\": 3775, \"display\": \"37.8\"}, \"expected\": {\"display\": \"35.8\", \"hundredths\": 3575}, \"passed\": false}, {\"check\": \"second regression\", \"actual\": {\"hundredths\": -500, \"display\": \"-5.0\"}, \"expected\": {\"display\": \"-5.0\", \"hundredths\": -500}, \"passed\": true}, {\"check\": \"normal control 1\", \"actual\": {\"hundredths\": 6300, \"display\": \"63.0\"}, \"expected\": {\"display\": \"63.0\", \"hundredths\": 6300}, \"passed\": true}, {\"check\": \"normal control 2\", \"actual\": {\"hundredths\": 5525, \"display\": \"55.3\"}, \"expected\": {\"display\": \"55.3\", \"hundredths\": 5525}, \"passed\": true}, {\"check\": \"normal control 3\", \"actual\": {\"hundredths\": 4575, \"display\": \"45.8\"}, \"expected\": {\"display\": \"45.8\", \"hundredths\": 4575}, \"passed\": true}, {\"check\": \"normal control 4\", \"actual\": {\"hundredths\": 5175, \"display\": \"51.8\"}, \"expected\": {\"display\": \"51.8\", \"hundredths\": 5175}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.278,"exit_code":1,"observations":[{"actual":{"display":"16.3","hundredths":1625},"check":"regression: negative yardage truncation","expected":{"display":"17.3","hundredths":1725},"passed":false},{"actual":{"display":"35.8","hundredths":3575},"check":"partial repair probe: negative yardage truncation","expected":{"display":"35.8","hundredths":3575},"passed":true},{"actual":{"display":"-6.0","hundredths":-600},"check":"second regression","expected":{"display":"-5.0","hundredths":-500},"passed":false},{"actual":{"display":"63.0","hundredths":6300},"check":"normal control 1","expected":{"display":"63.0","hundredths":6300},"passed":true},{"actual":{"display":"55.3","hundredths":5525},"check":"normal control 2","expected":{"display":"55.3","hundredths":5525},"passed":true},{"actual":{"display":"45.8","hundredths":4575},"check":"normal control 3","expected":{"display":"45.8","hundredths":4575},"passed":true},{"actual":{"display":"51.8","hundredths":5175},"check":"normal control 4","expected":{"display":"51.8","hundredths":5175},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: negative yardage truncation\", \"actual\": {\"hundredths\": 1625, \"display\": \"16.3\"}, \"expected\": {\"display\": \"17.3\", \"hundredths\": 1725}, \"passed\": false}, {\"check\": \"partial repair probe: negative yardage truncation\", \"actual\": {\"hundredths\": 3575, \"display\": \"35.8\"}, \"expected\": {\"display\": \"35.8\", \"hundredths\": 3575}, \"passed\": true}, {\"check\": \"second regression\", \"actual\": {\"hundredths\": -600, \"display\": \"-6.0\"}, \"expected\": {\"display\": \"-5.0\", \"hundredths\": -500}, \"passed\": false}, {\"check\": \"normal control 1\", \"actual\": {\"hundredths\": 6300, \"display\": \"63.0\"}, \"expected\": {\"display\": \"63.0\", \"hundredths\": 6300}, \"passed\": true}, {\"check\": \"normal control 2\", \"actual\": {\"hundredths\": 5525, \"display\": \"55.3\"}, \"expected\": {\"display\": \"55.3\", \"hundredths\": 5525}, \"passed\": true}, {\"check\": \"normal control 3\", \"actual\": {\"hundredths\": 4575, \"display\": \"45.8\"}, \"expected\": {\"display\": \"45.8\", \"hundredths\": 4575}, \"passed\": true}, {\"check\": \"normal control 4\", \"actual\": {\"hundredths\": 5175, \"display\": \"51.8\"}, \"expected\": {\"display\": \"51.8\", \"hundredths\": 5175}, \"passed\": true}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}