Block a user
Replace 488 manual db.close() calls with middleware/dependency context manager
Fix async test methods missing
pytest.mark.asyncio decorator
Refactor Roster model from 26 FK columns to a junction table
Add return type annotations to
db_calls.py async functions
Remove dead
LAST_WEEK_RATIO ternary — both branches are 0.0
Add a test suite — zero test coverage
Re-enable commented-out safety guard for promo cardsets
Add type annotations to untyped path parameters
Log exception details in
calculate_pitcher_ratings error handler
Centralize logging configuration — remove basicConfig from 30+ router files
Fix
test_positions_df — non-test that always passes
Remove or fix dead CSV code in v1_cards_get_one referencing removed roster fields
Fix
Dict[str, any] type annotation — lowercase any refers to builtin function
Move random.randint default out of Pydantic model field
Address fragile module-level global mutation pattern in
retrosheet_data.py
Fix inverted TESTING environment variable check
Replace wildcard import from
db_calls_card_creation
Fix is_ai filter to respect False value in get_teams
Implement
tweak_archetype() and manual_adjustments() stubs
Confirm
cogs/gameplay_legacy.py is excluded from production