- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
624 B
Markdown
13 lines
624 B
Markdown
---
|
|
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: "2025-12-09T23:09:30.752948+00:00"
|
|
---
|
|
|
|
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.
|