Conversation
📝 WalkthroughWalkthrough배정된 신청자 수를 조회하는 새로운 메서드를 리포지토리 계층에 추가하고, ActivityMetricsService에서 기존의 Role 기반 멤버 카운팅 로직을 배정된 신청자 기반 로직으로 변경했습니다. 관련 테스트를 추가했습니다. Changes
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). 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 |
Summary of ChangesHello @zionhann, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 현재 학기 활동 지표의 정확도를 높이고 예외 처리 방식을 개선하는 데 중점을 둡니다. 스터디 멤버 수 집계 로직을 실제 배정된 신청자 기준으로 변경하여 데이터의 신뢰성을 확보하고, 현재 학기 부재 시 발생하는 예외를 특정 예외 타입으로 통일하여 API 응답의 일관성을 향상시켰습니다. 또한, 관련 리포지토리 기능과 테스트를 보강하여 시스템의 안정성을 강화했습니다. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
안녕하세요. 활동 지표 집계 로직 개선과 예외 처리 수정에 대한 PR 잘 보았습니다.
전반적으로 변경 사항이 명확하고, PR의 목적에 맞게 잘 구현되었습니다.
- 현재 학기 참여 인원 집계 방식을
StudyApplicant기준으로 변경하여 정확도를 높인 점이 좋습니다. RuntimeException을 구체적인NoCurrentTermFoundException으로 대체하여 예외 처리 흐름을 개선한 것도 좋은 변경입니다.- 새로운 로직에 대한 테스트 케이스를
ActivityMetricsServiceTest와StudyApplicantRepositoryTest에 충실하게 추가하여 코드의 신뢰성을 높여주셨습니다.
몇 가지 코드 개선 제안을 리뷰 코멘트로 남겼습니다. 주로 테스트 코드의 가독성과 간결성을 높이기 위한 제안입니다. 확인 부탁드립니다.
현재 학기 활동 인원 집계 기준을 학기 배정 신청자 수로 변경했습니다.
현재 학기 미설정 상황을 전용 도메인 예외로 처리하도록 수정했습니다.
학기 기준 신청자 수 조회를 위한 저장소 계약과 구현을 추가했습니다.
활동 지표 서비스와 저장소 테스트를 보강했습니다.