Commit Graph

42 Commits

Author SHA1 Message Date
Trey t
44952140c8 everything is broke, gsd is ass 2026-01-10 16:20:13 -06:00
Trey t
a863a9987f docs(9.1): create phase plan
Phase 9.1: Fix Flaky Test When Ran In Parallel
- 1 plan created
- 2 tasks defined
- Ready for execution

Fixes 5 tests that fail in parallel but pass individually
2026-01-10 15:52:16 -06:00
Trey t
ad4cecf47a docs(09.1): create phase plan
Phase 09.1: Fix Flaky Test When Ran In Parallel
- 1 plan created
- 2 total tasks defined
- Ready for execution

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 15:46:30 -06:00
Trey t
1d7a7d9cbe docs(09-03): complete scenario C corridor efficiency TDD plan
Phase 9 complete: All three trip planner modes validated with TDD.

Summary of 09-03 accomplishments:
- Feature 1: Corridor game inclusion (5 tests, 1 fix)
  - Enhanced findDirectionalStadiums() to exclude beyond-endpoint games
- Feature 2: Anti-backtracking validation (7 tests, all passed)
  - Confirmed existing implementation validates monotonic progress

12 tests added, 3 commits (2 test, 1 feat).

State updates:
- Progress: 30% → 40%
- Phase 9: Complete (3/3 plans)
- Next: Phase 10 (Trip Builder Options TDD)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 15:43:23 -06:00
Trey t
ceb001885e docs(09-02): complete scenario B filler conflict TDD plan 2026-01-10 15:05:05 -06:00
Trey t
23694b558a docs(09-01): complete scenario A timezone & conflict TDD plan
Summary:
- Feature 1: Timezone boundary handling (4 tests, all passing)
- Feature 2: Same-day conflict detection (4 tests, all passing individually)
- Dynamic time buffers enable realistic doubleheaders

Commits:
- 9ec2a06: timezone boundary tests
- 1c20d54: same-day conflict tests
- 6e4a54e: dynamic time buffer implementation

Discovered: Pre-existing test flakiness (3 tests fail in full suite, pass individually)
2026-01-10 13:27:22 -06:00
Trey t
72a846e75b docs(state): update to Phase 9 planned status
Phase 9 (Trip Planner Modes TDD) planned with 3 execution-ready plans
2026-01-10 12:43:45 -06:00
Trey t
0f2cf9e4af docs(09): create phase 9 plans - Trip Planner Modes TDD
Phase 09: Trip Planner Modes TDD
- 3 plans created (09-01, 09-02, 09-03)
- 29 total tests planned across all scenarios
- TDD approach: Write tests first, fix code if tests fail

Plan 09-01: Scenario A Timezone & Conflict TDD (8 tests)
- Feature 1: Timezone boundary handling for date range (4 tests)
- Feature 2: Same-day multi-city conflict detection (4 tests)

Plan 09-02: Scenario B Filler Conflict TDD (9 tests)
- Feature 1: Filler game timing conflict prevention (4 tests)
- Feature 2: Impossible geographic combination detection (5 tests)

Plan 09-03: Scenario C Corridor Efficiency TDD (12 tests)
- Feature 1: Travel corridor game inclusion (5 tests)
- Feature 2: Geographic efficiency validation / anti-backtracking (7 tests)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 12:43:22 -06:00
Trey t
db46bcd88e docs(08-02): complete GameDAGRouter performance and diversity TDD 2026-01-10 12:30:10 -06:00
Trey t
6e00663fec docs(08-01): complete GameDAGRouter edge cases plan
Plan 08-01 complete:
- 17 TDD tests for GameDAGRouter edge cases
- canTransition boundary validation tests
- Anchor filtering and repeat city handling tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 11:52:51 -06:00
Trey t
a786d7e2aa plan: Phase 8 DAG System TDD with 2 plans
- 08-01: GameDAGRouter edge cases and anchor validation TDD (17+ tests)
- 08-02: Performance with large datasets (10K+ games) and diversity coverage TDD

TDD discipline: tests define correctness, code must match.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 11:36:29 -06:00
Trey t
8c98e95801 docs: create milestone v1.1 TDD & Correctness (5 phases)
Phases:
- 8. DAG System TDD: Performance/edge case tests with 10k+ objects
- 9. Trip Planner Modes TDD: By dates, must-see games, start/end cities
- 10. Trip Builder Options TDD: Repeat cities, must-stops
- 11. Itinerary & Constraints TDD: Travel directions, driving limits
- 12. Integration Validation: End-to-end scenarios, regression suite

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 11:32:38 -06:00
Trey t
ca9fa535f1 chore: complete v1.0 Data Pipeline milestone
- Added MILESTONES.md entry with key accomplishments
- Evolved PROJECT.md with validated requirements
- Reorganized ROADMAP.md with milestone grouping
- Created milestone archive: milestones/v1.0-ROADMAP.md
- Updated STATE.md for next milestone planning
- Tagged v1.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 11:15:19 -06:00
Trey t
78f08449fc docs(07-01): complete documentation & finalization plan
Tasks completed: 2/2
- Create Scripts/README.md with pipeline documentation
- Update PROJECT.md with completion status

SUMMARY: .planning/phases/07-testing-documentation/07-01-SUMMARY.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 10:44:48 -06:00
Trey t
f1adaf342e docs(07-01): update PROJECT.md with completion status
- Mark all Active requirements as complete (7 items)
- Update Key Decisions outcomes (split by sport, validation reports, full CRUD)
- Update Current State to reflect resolved data quality and complete pipeline
- Update last updated date to 2026-01-10

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 10:43:32 -06:00
Trey t
aeeb160a90 docs(07-01): create phase plan
Phase 7: Testing & Documentation
- 1 plan created
- 2 tasks defined (README.md, PROJECT.md updates)
- Ready for execution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 10:41:04 -06:00
Trey t
baa3dfef0b docs(06-01): complete validation reports plan
Add SUMMARY.md documenting validation capabilities:
- --validate flag with local/CloudKit/sync validation
- --list-orphans flag with completeness metrics and health score
- Menu options 16-17 for interactive mode

Update STATE.md: Phase 6 complete (14/14 plans, 100%)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 10:35:49 -06:00
Trey t
4266940c8f docs(06-01): create validation reports phase plan
Phase 6: Validation Reports
- 1 plan created
- 2 tasks defined
- Ready for execution
2026-01-10 10:24:59 -06:00
Trey t
ad7a396704 docs(05-02): complete Phase 5 CloudKit CRUD
- Add 05-02-SUMMARY.md
- Update STATE.md: Phase 5 complete, ready for Phase 6
- Update ROADMAP.md: Mark Phase 5 and plan 05-02 complete

Phase 5 delivers full CRUD operations:
- Create: forceReplace import
- Read: --get, --list, --verify, query_all()
- Update: --update-record, --smart-sync
- Delete: --delete-record, --delete-orphans, --delete-all

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 10:18:48 -06:00
Trey t
b42a57fba2 docs(05-01): complete smart sync with change detection plan
Tasks completed: 2/2
- Add change detection with diff reporting
- Add differential sync with smart-sync flag

SUMMARY: .planning/phases/05-cloudkit-crud/05-01-SUMMARY.md
2026-01-10 10:09:43 -06:00
Trey t
e5c6d0fec7 docs(05): create CloudKit CRUD phase plans
Phase 5: CloudKit CRUD
- 2 plans created
- 4 total tasks defined
- Ready for execution

Plan 05-01: Smart sync with change detection
- Change detection with diff reporting
- Differential sync (upload only changed records)

Plan 05-02: Verification and record management
- Sync verification (CloudKit vs local comparison)
- Individual record CRUD operations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 10:02:06 -06:00
Trey t
1675e22b26 docs(04-01): complete canonical linking phase
Create 04-01-SUMMARY.md documenting:
- 5760 games canonicalized with 100% resolution rate
- 3 team aliases added (WSH, NY, ATX)
- All validation checks passed

Update STATE.md:
- Phase 4 complete (11/19 plans done, 58%)
- Add 04-01 decision on iterative alias discovery

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 09:59:09 -06:00
Trey t
dbfaca206d docs(04-01): create canonical linking plan
Phase 4: Canonical Linking
- 1 plan created
- 3 tasks defined (game canonicalization, validation, fix issues)
- Ready for execution
2026-01-10 09:52:58 -06:00
Trey t
80bfb5919b docs(03-02): complete secondary sports canonicalization plan
Tasks completed: 3/3
- Add MLS to canonicalization pipeline (30 teams + 10 aliases + 8 stadium aliases)
- Add WNBA to canonicalization pipeline (13 teams + 6 aliases + 4 stadium aliases)
- Add NWSL to canonicalization pipeline (13 teams + 7 aliases + 3 stadium aliases)

Phase 3 complete - all 7 sports now have alias support (180 teams total)

SUMMARY: .planning/phases/03-alias-systems/03-02-SUMMARY.md
2026-01-10 09:45:09 -06:00
Trey t
3e9bd24214 docs(03-01): complete NFL canonicalization plan
Tasks completed: 3/3
- Add NFL to canonicalize_teams.py (32 teams with division structure)
- Add NFL team abbreviation aliases to canonicalize_games.py (11 aliases)
- Add NFL stadium historical aliases to canonicalize_stadiums.py (14 stadiums)

SUMMARY: .planning/phases/03-alias-systems/03-01-SUMMARY.md
2026-01-10 09:38:03 -06:00
Trey t
6ad7de6484 docs(03): update project state for Phase 3
- Current focus: Phase 3 - Alias Systems
- Phase planned, ready for execution
- Next action: Execute 03-01-PLAN.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 09:32:14 -06:00
Trey t
163d57bc3b docs(03): create phase plans for Alias Systems
Phase 03: Alias Systems
- 2 plans created
- 6 total tasks defined
- Ready for execution

Plan 1: Add NFL to canonicalization pipeline with aliases
Plan 2: Add MLS, WNBA, NWSL to canonicalization pipeline

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 09:31:51 -06:00
Trey t
33dc15f729 docs(02.1-03): complete Phase 2.1 Additional Sports Stadiums
- STATE.md: Phase 2.1 complete (3/3 plans)
- ROADMAP.md: Phase 2.1 marked complete

Phase 2.1 delivered:
- MLS: 30 stadiums
- WNBA: 13 arenas
- NWSL: 13 stadiums
- Total: 56 new venues added
2026-01-10 01:08:25 -06:00
Trey t
90b2210e44 docs(02.1-03): complete NWSL sport module plan
Tasks completed: 2/2
- Create NWSL sport module with hardcoded stadiums
- Integrate NWSL module with scrape_schedules.py

Phase 2.1 complete: MLS, WNBA, NWSL modules created

SUMMARY: .planning/phases/2.1-add-stadium-data-mls-wnba-nwsl-cbb/02.1-03-SUMMARY.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 01:07:21 -06:00
Trey t
67792279f1 docs(02.1-02): update project state and roadmap
- STATE.md: Position 2/3 in phase 2.1, metrics updated
- ROADMAP.md: 02.1-02 marked complete
2026-01-10 01:01:58 -06:00
Trey t
b529fd592a docs(02.1-02): complete WNBA sport module plan
Tasks completed: 2/2
- Create WNBA sport module with 13 hardcoded arenas
- Integrate WNBA module with scrape_schedules.py

SUMMARY: .planning/phases/2.1-add-stadium-data-mls-wnba-nwsl-cbb/02.1-02-SUMMARY.md
2026-01-10 01:00:50 -06:00
Trey t
4cce2e0d48 docs(02.1-01): update project state and roadmap
- STATE.md: Position 1/3 in phase 2.1, metrics updated
- ROADMAP.md: 02.1-01 marked complete
2026-01-10 00:56:22 -06:00
Trey t
e2d629b76f docs(02.1-01): complete MLS sport module plan
Tasks completed: 2/2
- Create MLS sport module with 30 hardcoded stadiums
- Integrate MLS module with scrape_schedules.py

SUMMARY: .planning/phases/2.1-add-stadium-data-mls-wnba-nwsl-cbb/02.1-01-SUMMARY.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:55:01 -06:00
Trey t
02d154cf46 docs(02.1): create phase plan for additional sports stadiums
Phase 2.1: Additional Sports Stadiums
- 3 plans created (MLS, WNBA, NWSL modules)
- CBB deferred to future phase (350+ D1 teams)
- 6 total tasks defined
- Ready for execution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:47:02 -06:00
Trey t
64137b57bf docs(02-02): complete Phase 2 Stadium Foundation
- Add 02-02-SUMMARY.md documenting pipeline regeneration
- Update STATE.md: Phase 2 complete, next is Phase 2.1
- Update ROADMAP.md: Mark Phase 2 as complete (2/2 plans)
- Performance: 5 plans, 37 min total, 7.4 min average

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:41:07 -06:00
Trey t
90bdf1608c feat(02-01): add year_opened to all 122 hardcoded stadiums
Added year_opened field to stadium data across all 4 sport modules:
- MLB: 30 ballparks (1912-2023)
- NBA: 30 arenas (1968-2024)
- NHL: 32 arenas (1968-2021)
- NFL: 30 stadiums (1924-2020)

Updated Stadium object creation in all modules to pass year_opened.
Stadium dataclass already supported the field.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:31:45 -06:00
Trey t
95861cae40 docs(02): create stadium foundation phase plans
Phase 2: Stadium Foundation
- 2 plans created
- 5 total tasks defined
- Ready for execution

Plan 02-01: Audit & complete hardcoded stadium data
Plan 02-02: Regenerate canonical data and verify pipeline

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:24:41 -06:00
Trey t
3f84890fec docs(01-03): complete nfl.py + orchestrator refactor plan
- Create 01-03-SUMMARY.md documenting NFL module and orchestrator refactor
- Update STATE.md: Phase 1 complete, ready for Phase 2
- Update ROADMAP.md: Mark Phase 1 as complete (3/3 plans)
- Phase 1 total duration: 23 min across 3 plans

Phase 1: Script Architecture complete. All 4 core sports (MLB, NBA, NHL, NFL)
now have dedicated modules with consistent patterns.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:20:13 -06:00
Trey t
bf65a59fb4 docs(01-02): complete NBA + NHL modules plan
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:08:27 -06:00
Trey t
60b450d869 docs: add Phase 1 plans and codebase documentation
- 01-01-PLAN.md: core.py + mlb.py (executed)
- 01-02-PLAN.md: nba.py + nhl.py
- 01-03-PLAN.md: nfl.py + orchestrator refactor
- Codebase documentation for planning context

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:00:45 -06:00
Trey t
504187059f docs(01-01): complete core.py + mlb.py plan
Tasks completed: 2/2
- Create core.py shared module
- Create mlb.py sport module

SUMMARY: .planning/phases/01-script-architecture/01-01-SUMMARY.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:00:33 -06:00
Trey t
67b570dbee docs: initialize SportsTime Data Pipeline
Fix data quality issues across MLB, NBA, NHL, NFL with correct game→team→stadium canonical linking.

Creates PROJECT.md with requirements and constraints.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 23:45:46 -06:00