feat(votes): 暫定グレード表示の最小票数を3→1に変更#3682
Conversation
…tasks Closes #3648 - PENDING tasks now store vote statistics after 1 vote (暫定グレード) - Confirmed-grade tasks retain the 3-vote threshold for relative evaluation badge - Add MIN_VOTES_FOR_PROVISIONAL_GRADE = 1 constant alongside MIN_VOTES_FOR_STATISTICS - Pass minVotes through to computeMedianGrade to respect the per-task threshold Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthrough
Changes暫定グレード最小票数の分離
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ 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 |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
テスト通過したのでマージいたしました。 |
Summary
MIN_VOTES_FOR_PROVISIONAL_GRADE = 1定数を追加し、タスクの grade に応じて閾値を切り替えcomputeMedianGradeにminVotesを渡すことで中央値計算の閾値も統一Test plan
vote_grade.test.ts: PENDING タスク 1票でvotedGradeStatisticsが保存されることを確認vote_grade.test.ts: 非PENDING タスク 1〜2票では保存されないことを確認vote_grade.test.ts: 非PENDING タスク 3票で保存されることを確認(既存挙動維持)🤖 Generated with Claude Code
Summary by CodeRabbit
リリースノート
新機能
テスト