claude-memory/graph/solutions/fix-draft-cap-validation-max-zeroes-logic-90f27d.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

754 B

id type title tags importance confidence created updated
90f27d04-d5b8-418f-a4d5-2383bcb4e126 solution Fix draft cap validation max_zeroes logic
major-domo
python
fix
draft
cap-space
0.7 0.8 2025-12-13T03:43:02.289896+00:00 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).