--- id: 90f27d04-d5b8-418f-a4d5-2383bcb4e126 type: solution title: "Fix draft cap validation max_zeroes logic" tags: [major-domo, python, fix, draft, cap-space] importance: 0.7 confidence: 0.8 created: "2025-12-13T03:43:02.289896+00:00" updated: "2025-12-13T03:43:02.289896+00:00" --- Fixed draft cap space validation that was incorrectly rejecting valid picks. During draft, teams draft 32 players then drop to 26. Cap calculation must use max_zeroes = 32 - roster_size to determine how many players count toward cap. Previously was using min(roster_size, 26) which didn't account for future picks. Example: WAI with 18 players drafting 19th - old code counted all 19 players, new code correctly counts only 13 cheapest (26 - 13 remaining picks = 13).