Skip to content

Migrate public WCIF downloads to version 2 - #94

Closed
matejbolta wants to merge 1 commit into
coder13:betafrom
matejbolta:fix/wcif-v2
Closed

matejbolta wants to merge 1 commit into
coder13:betafrom
matejbolta:fix/wcif-v2

Conversation

@matejbolta

Copy link
Copy Markdown

Change

Pin public WCIF downloads to /wcif/version/2 for #92. Normalize the renamed personal-best and attempt values once at the API boundary so existing psych sheets, personal records and result views retain their helper contracts. Preserve v2 participation rules, linked rounds, qualification fields, schedules, assignments and extensions; do not reinterpret round best/average, WCA Live or the separate results API.

Regression coverage checks public endpoint selection, numeric sentinels/MBLD values, linked-round advancement, field preservation and unexpected/malformed input. Includes helper type additions for linked rounds and result-condition scope. No #91/cache-refresh fix or unrelated behavior changes.

Validation

  • Jest: 37 suites, 175 tests, 2 snapshots passed.
  • TypeScript check and Vite production build passed.
  • Lint: 0 errors, 4 existing warnings.
  • Read-only public endpoint comparison on 2026-11-02: SlovenianNationals2026 still responds on both v1.1 and v2.2. All 2,775 personal bests and 9,048 attempts match after normalization. This does not claim v1 has already been shut down.

Closes #92.

@netlify

netlify Bot commented Nov 2, 2026

Copy link
Copy Markdown

👷 Deploy request for competition-groups pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 152031a

@coder13 coder13 closed this Nov 3, 2026
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.

2 participants