Skip to content

feat(contest-table): add CodeQUEEN group with per-contest tables - #4338

Merged
KATO-Hiro merged 9 commits into
stagingfrom
#4317
Nov 11, 2026
Merged

KATO-Hiro merged 9 commits into
stagingfrom
#4317

Conversation

@KATO-Hiro

@KATO-Hiro KATO-Hiro commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

close #4317

Summary by CodeRabbit

  • 新機能
    • CodeQUEEN 2023〜2026の決勝・予選をコンテスト一覧に追加しました。
    • CodeQUEEN 2024〜2026の決勝問題を利用できるようになりました。
  • ドキュメント
    • コンテスト一覧への登録方法を共通の手順に整理し、CodeQUEENの登録例を追加しました。
  • テスト
    • CodeQUEENの表示順、分類、問題データが正しく反映されることを確認するテストを追加しました。

KATO-Hiro and others added 9 commits November 11, 2026 13:08
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…asks

Problems that AtCoder Problems lists under adt_* contests are restored to
their original contest ids and letters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AtCoder Problems lists ten of these problems under adt_* contests, so the
admin import cannot register them under the finals. The migration inserts
all 24 rows and skips any task_id that already exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ules in the guide

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review.

Walkthrough

CodeQUEEN の決勝・予選をテーブルプロバイダーに追加しました。2024〜2026年決勝の問題データと分類情報を登録し、プロバイダーとシードデータのテスト、登録ガイドを更新しました。ABC462、ABC410、ABC358の問題データも追加しました。

Changes: CodeQUEEN テーブル

Layer / File(s) Summary
エントリーと決勝データ
src/features/tasks/utils/contest-table/code_queen_entries.ts, prisma/tasks.ts, prisma/migrations/20261111131225_add_codequeen_final_tasks/migration.sql, src/lib/contests/utils/prefixes.ts, src/lib/contests/fixtures/*
2023〜2026年の決勝・予選エントリーを定義しました。2024〜2026年決勝の問題データを追加し、決勝の分類と表示ラベルのテストケースを追加しました。
プロバイダー登録と検証
src/features/tasks/utils/contest-table/contest_table_provider_groups.ts, src/features/tasks/utils/contest-table/*test.ts, docs/guides/how-to-add-contest-table-provider.md
CodeQUEEN のプロバイダーグループを追加し、8件の順序とシード問題を検証します。登録ガイドに共通の登録方法と CodeQUEEN の情報を記載しました。

ABC 問題データ

Layer / File(s) Summary
ABC 問題データの追加
prisma/tasks.ts
ABC462、ABC410、ABC358の問題データを tasks 配列に追加しました。

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Suggested reviewers: river0525

Merge Risk: Minimal · up to 61f99

This change adds the CodeQUEEN contest table group along with its seed data, migration and tests. No concrete merge-blocking risk was identified in the supplied evidence.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed タイトルは、CodeQUEENグループとコンテスト別テーブルの追加という主要変更を具体的かつ簡潔に示しています。
Linked Issues check Passed 直接リンクされた #4317 の要求は CodeQUEEN テーブルの追加です。PR は CODE_QUEEN_ENTRIES と CodeQueen プロバイダーグループを追加し、2023〜2026年の決勝とABC予選を8件登録します。決勝には ATCODER_MAIN_OFFICIAL_ONSITE を設定します。決勝タスク用のマイグレーションとシードデータも追加します。`code…
Out of Scope Changes check Passed 確認できる変更は #4317 のテーブル表示に必要なプロバイダー、コンテスト分類、タスクシード、マイグレーション、テスト、登録手順の文書です。adt_* に関連する問題IDと問題文字の復元も、CodeQUEEN の問題を正しいコンテストに表示するためのデータ整備です。独立した無関係な変更は確認できません。
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Linked Issues check

Explanation

直接リンクされた #4317 の要求は CodeQUEEN テーブルの追加です。PR は CODE_QUEEN_ENTRIES と CodeQueen プロバイダーグループを追加し、2023〜2026年の決勝とABC予選を8件登録します。決勝には ATCODER_MAIN_OFFICIAL_ONSITE を設定します。決勝タスク用のマイグレーションとシードデータも追加します。code_queen_entries.test.ts などがエントリー、問題文字、プロバイダー構成を検証します。

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 7 files. (3 skipped: 2 unsupported, 1 too large.)

Warning

Some tools did not complete. Review the errors below.

ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 7b09081 and 61f994d.

Files selected for processing: 10

  • docs/guides/how-to-add-contest-table-provider.md
  • prisma/migrations/20261111131225_add_codequeen_final_tasks/migration.sql
  • prisma/tasks.ts
  • src/features/tasks/utils/contest-table/code_queen_entries.test.ts
  • src/features/tasks/utils/contest-table/code_queen_entries.ts
  • src/features/tasks/utils/contest-table/contest_table_provider_groups.test.ts
  • src/features/tasks/utils/contest-table/contest_table_provider_groups.ts
  • src/lib/contests/fixtures/contest_name_labels.ts
  • src/lib/contests/fixtures/contest_type.ts
  • src/lib/contests/utils/prefixes.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@KATO-Hiro KATO-Hiro left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KATO-Hiro
KATO-Hiro merged commit eaff4f0 into staging Nov 11, 2026
6 checks passed
@KATO-Hiro
KATO-Hiro deleted the #4317 branch November 11, 2026 13:38

This branch was successfully deployed

1 active deployment
preview — 61f994d4 Deployed Nov 11, 2026 by KATO-Hiro via preview #9310
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.

feat: テーブル「CodeQueen」を追加しましょう

1 participant