Conversation
…utils - Add pastbook2022 tasks (A-H) to prisma/tasks.ts - Add WUPC (wupc2019) to university contest regex and test cases - Add missing AtCoder Others contest name labels and type test cases (geocon2013, s8pc-3, maximum-cup-2013/2018, code-festival-2014-china-open, soundhound2018, pakencamp-2018-day3, tenka1-2012-qualB, nikkei2019-final, awtf2024, xmascon19) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughAtCoder コンテスト分類ロジックを拡張し、WUPC(Waseda University Programming Contest)対応を追加するとともに、 Changesコンテスト分類と名前ラベリング拡張
pastbook2022 タスク定義
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
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 `@prisma/tasks.ts`:
- Around line 7670-7725: The new pastbook2022_* task records in prisma/tasks.ts
(e.g., id 'pastbook2022_a', 'pastbook2022_b', ... 'pastbook2022_h') are missing
the required grade field; update each object to include a proper grade value (or
explicitly document/implement the importer defaulting behavior in this change)
so that any logic relying on task.grade or task.atcoder_problems_difficulty
continues to work; locate the inserted objects by their ids and add the grade
property to each record or add a comment and code change in the importer to
guarantee a default grade is assigned.
🪄 Autofix (Beta)
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
Run ID: 9b6c3f64-cceb-411c-b994-eb618c4b1250
📒 Files selected for processing (4)
prisma/tasks.tssrc/lib/utils/contest.tssrc/test/lib/utils/test_cases/contest_name_labels.tssrc/test/lib/utils/test_cases/contest_type.ts
Summary by CodeRabbit
リリースノート
新機能
テスト