WP-03: Track and Threshold Seed Data #68
Labels
No Label
ai-changes-requested
ai-failed
ai-merged
ai-pr-opened
ai-reviewed
ai-reviewing
ai-reviewing
ai-working
bug
enhancement
evolution
performance
phase-0
phase-1a
phase-1b
phase-1c
phase-1d
security
tech-debt
todo
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-database#68
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Create the three universal evolution tracks with their formulas and tier thresholds as seed data. This is a trivial data fixture — just 3 rows.
Repo:
databasePhase: 1a (Schema & Data Foundation)
Dependencies: None (can be written before models exist; depends on WP-01 to insert)
Complexity: XS
Seed Data (LOCKED)
Thresholds calibrated against Season 10 production data. Design target: T1 ~5 games, T2 ~20 games, T3 ~60 games, T4 ~120 games for a median player.
Files
database/app/seed/evolution_tracks.py+evolution_tracks.jsonTests (write first in
database/tests/test_evolution_seed.py)Plan reference:
docs/prd-evolution/PHASE1_PROJECT_PLAN.mdWP-03PR #83 opened: #83
Created
app/seed/evolution_tracks.jsonwith the 3 locked rows andapp/seed/evolution_tracks.pywith aseed(model_class=None)function usingget_or_create. The seed script lazy-importsEvolutionTrackfromdb_engineso it can be used once WP-01 lands; tests use a minimal in-memory stub model so all 6 tests pass independently of WP-01.