mirror of
https://github.com/NomaDamas/k-skill.git
synced 2026-06-24 02:04:11 +00:00
Date-driven LCK lookups should fail fast for impossible user input instead of silently returning an empty match list. The parser now validates month/day bounds with explicit leap-year handling, and the tests lock both direct normalization and schedule normalization behavior. Constraint: PR #55 review requested a regression for 2026-02-31 before implementation Rejected: Rely on Date parsing round-trip | explicit bounds avoid timezone and overflow normalization surprises Confidence: high Scope-risk: narrow Directive: Keep date validation before schedule filtering so invalid user dates cannot become misleading no-match responses Tested: node --test packages/lck-analytics/test/index.test.js scripts/skill-docs.test.js Tested: npm run lint --workspace lck-analytics Tested: npm test --workspace lck-analytics Tested: npm run ci Tested: getMatchResults('2026-02-31') rejection smoke Tested: getLckSummary('2026-04-01', { team: '한화', includeStandings: true }) live smoke Tested: lck-analytics script smokes for sync-oracle, build-match-report, and analyze-live-game |
||
|---|---|---|
| .. | ||
| fixtures | ||
| index.test.js | ||