Skip to content

Bug fix types and add full parsing test suite#3

Merged
camodotgg merged 3 commits intomainfrom
camodotgg/fix-types-and-tests
Jan 9, 2026
Merged

Bug fix types and add full parsing test suite#3
camodotgg merged 3 commits intomainfrom
camodotgg/fix-types-and-tests

Conversation

@camodotgg
Copy link
Copy Markdown
Owner

@camodotgg camodotgg commented Jan 9, 2026

Summary:

  • Add mypy coverage for tests/ and examples/
  • Fix type errors in tests and examples
  • CI now runs pre-commit action as single source of truth

Bug Fixes:

  • MatchSeed.end_towers - allow None (null in record leaderboard)
  • SeasonResultEntry.highest/lowest - allow None and float
  • Add _pivot_stats helper for API format transformation

Tests:

  • 90 new tests across 3 files
  • Real API fixtures from Feinberg's data
  • scripts/capture_fixtures.py for refreshing fixtures

@camodotgg camodotgg changed the title Fix types and add full parsing test suite Bug fix types and add full parsing test suite Jan 9, 2026
@camodotgg camodotgg merged commit 4d4fe7e into main Jan 9, 2026
4 checks passed
@camodotgg camodotgg deleted the camodotgg/fix-types-and-tests branch January 9, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant