--- id: e5bc69ae-6d11-4ed7-ab72-5cefac4b7962 type: solution title: "Salary cap helper functions added" tags: [major-domo, python, refactor, salary-cap, helpers] importance: 0.6 confidence: 0.8 created: "2025-12-09T23:09:30.752948+00:00" updated: "2026-02-20T04:32:54.918830+00:00" relations: - target: ed9e1e96-f7ef-4594-b88f-65cb2decee87 type: BUILDS_ON direction: incoming strength: 0.9 edge_id: 816ef292-f193-4e26-a58e-042d993efc92 --- Added get_team_salary_cap() and exceeds_salary_cap() helper functions to helpers.py with DEFAULT_SALARY_CAP=32.0 and SALARY_CAP_TOLERANCE=0.001 constants. These centralize salary cap logic previously hardcoded as 32.0/32.001 across draft.py and transactions.py. Includes 17 unit tests. Part of feature/dynamic-salary-cap branch refactor.