Skip to content

feat(aoj): add 3 university contest tasks (UAPC2017, RUPC2025, HUPC2018) - #3934

Merged
KATO-Hiro merged 1 commit into
stagingfrom
#3930
Aug 7, 2026
Merged

feat(aoj): add 3 university contest tasks (UAPC2017, RUPC2025, HUPC2018)#3934
KATO-Hiro merged 1 commit into
stagingfrom
#3930

Conversation

@KATO-Hiro

@KATO-Hiro KATO-Hiro commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

close #3930

Summary by CodeRabbit

  • 新機能

    • AOJの以下の3問を追加しました。
      • UAPC2017「Cluster Network」
      • RUPC2025「Nailed」
      • HUPC2018「Balanced Edge Deletion」
  • テスト

    • 追加したコンテストの名称、ラベル、種別に関するテストケースを追加しました。

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

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

AOJ-UAPC2017、AOJ-RUPC2025、AOJ-HUPC2018の問題3件を登録しました。各コンテストの問題番号、表示名、コンテスト種別を検証するテストデータも追加しました。

Changes

AOJ大学コンテスト対応

Layer / File(s) Summary
AOJ問題エントリの追加
prisma/tasks.ts
Cluster NetworkNailedBalanced Edge Deletionの3問題を追加しました。
コンテスト情報テストの追加
src/test/lib/utils/test_cases/contest_name_and_task_index.ts, src/test/lib/utils/test_cases/contest_name_labels.ts, src/test/lib/utils/test_cases/contest_type.ts
3コンテストの問題番号、表示名、コンテスト種別のテストケースを追加しました。

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed タイトルは、UAPC2017、RUPC2025、HUPC2018の3件のAOJタスク追加を正確かつ簡潔に示しています。
Linked Issues check ✅ Passed Issue #3930が指定するAOJ 3426、2893、3022を追加し、関連テストも更新しています。
Out of Scope Changes check ✅ Passed 変更はIssue #3930の3件のAOJタスク追加と関連テストに限定されています
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch #3930

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

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/test/lib/utils/test_cases/contest_name_and_task_index.ts`:
- Line 937: 統合サイトの2箇所でUAPC
2017の表示名を統一してください。src/test/lib/utils/test_cases/contest_name_and_task_index.tsの937行目は期待値を「AOJ
3022(UAPC 2017 in ACPC 2017
Day2)」に、src/test/lib/utils/test_cases/contest_name_labels.tsの227行目は「(UAPC 2017
in ACPC 2017 Day2)」に変更し、登録済みの表示名と一致させてください。
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 93ad4b52-d535-4d8d-8169-9e70bb02cb7f

📥 Commits

Reviewing files that changed from the base of the PR and between ec01dbf and afc3e4a.

📒 Files selected for processing (4)
  • prisma/tasks.ts
  • src/test/lib/utils/test_cases/contest_name_and_task_index.ts
  • src/test/lib/utils/test_cases/contest_name_labels.ts
  • src/test/lib/utils/test_cases/contest_type.ts

Comment thread src/test/lib/utils/test_cases/contest_name_and_task_index.ts

@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 cb95916 into staging Aug 7, 2026
3 checks passed
@KATO-Hiro
KATO-Hiro deleted the #3930 branch August 7, 2026 22:08
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] 問題を追加しましょう

1 participant