paper-dynasty-card-creation/tests
Cal Corum 39c652e55c Extract BattingCardRatingsModel and PitchingCardRatingsModel into models.py files
Move each ratings model class (and, for batters, the helper functions it
depends on) into a dedicated models.py so that calcs_*.py can import from
card_builder.py at module level without circular imports.

- batters/models.py: BattingCardRatingsModel + bp_singles, wh_singles,
  one_singles, bp_homeruns, triples, two_doubles, hit_by_pitch, strikeouts,
  flyout_a, flyout_bq, flyout_b, groundball_a, groundball_c
- pitchers/models.py: PitchingCardRatingsModel (no helper deps needed)
- batters/calcs_batter.py: imports model + build_batter_full_cards at top
- pitchers/calcs_pitcher.py: imports model + build_pitcher_full_cards at top
- batters/card_builder.py: imports from batters.models
- pitchers/card_builder.py: imports from pitchers.models
- tests/test_batter_calcs.py: import bp_singles, wh_singles from batters.models

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 16:42:51 -06:00
..
data-input Updated mround to return float 2024-10-18 12:12:40 -05:00
retro_helpers Added exceptions.py, added date_math, error checks for promos 2024-11-02 19:00:39 -05:00
test_automated_data_fetcher.py Claude introduction & Live Series Update 2025-07-22 09:24:34 -05:00
test_batter_calcs.py Extract BattingCardRatingsModel and PitchingCardRatingsModel into models.py files 2026-02-25 16:42:51 -06:00
test_date_math.py Added exceptions.py, added date_math, error checks for promos 2024-11-02 19:00:39 -05:00
test_helpers.py Pitchers are complete 2024-11-01 08:50:29 -05:00
test_promo_description_protection.py CLAUDE: Refactor to reduce code fragility - extract business logic and add constants 2025-10-31 22:03:22 -05:00
test_rarity_cost_adjustments.py CLAUDE: Extract rarity cost adjustment logic into data-driven function 2025-10-31 22:49:35 -05:00