WCIF v1.1: support Best-of-5 (format '5') rounds (3BLD change)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- data
調査の方向性
src/lib/domain/events.ts から始め、src/lib/wcif/persons.ts にある roundFormatById() の利用箇所を調べます。src/lib/domain/events.test.ts のテストを実行し、その後、フォーマット "5" の seed/result ルックアップ、レンダリング、インポート/エクスポート、バリデーションを確認します。既存のフォーマットを壊さずに Best-of-5 がマッピングされ、カバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
WCIF spec recently moved to v1.1 (notably: 3x3 Blindfolded is now Best of 5).
DelegateDashboard has its own round format mapping in src/lib/domain/events.ts:
roundFormatsincludes a/ m /3/2/1 but does not include format id5.- Downstream,
roundFormatById()is used insrc/lib/wcif/persons.tsand elsewhere to decide whether to readresult.averagevsresult.best. - With WCIF v1.1 competitions, any round with
format: "5"(Best of 5) will causeroundFormatById()to return undefined, which breaks seed/result lookups and likely some UI/exports.
Reference: thewca/wca-helpers PR “Wcif 1.1 updates” explicitly calls out “3bld is now best of 5” and updates their RoundFormat handling:
https://github.com/thewca/wca-helpers/pull/47
Acceptance criteria
- Add round format
id: "5"with appropriate labels (e.g., shortbo5, longBest of 5, rankingResultsingle). - Add/update unit tests in
src/lib/domain/events.test.ts(and any others) to coverroundFormatById("5")androundFormatShortById("5"). - Verify any logic that depends on format IDs still works (seed results, result rendering, import/export, validation).
Nice to have
- Audit other WCIF-v1.1-related changes (if any) and update mocks in wcif tests to use
formatVersion: "1.1"where relevant.
- 主要言語
- TypeScript
- スター
- 12
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder13/delegateDashboard のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
coder13/delegateDashboard#78 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
coder13/delegateDashboard#72 ·
-
coder13/delegateDashboard#69 · リアクション 1 件 · 担当者 1 名 ·
-
More print settings オープン
coder13/delegateDashboard#66 · リアクション 1 件 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
coder13/delegateDashboard#62 ·
coder13/delegateDashboard の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
copse-dev/agent-pane#2953 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·