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

13 lines
754 B
Markdown

---
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).