-
Notifications
You must be signed in to change notification settings - Fork 3
refactor : 총 제출 횟수, 성공한 제출 횟수 dto추가 #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
팩토리 메서드 구현이 적절하나 검증이 필요합니다.
필드 설정이 기존 패턴과 일관되게 구현되었습니다. 다음 사항들을 확인해 주세요:
getTotalSubmissions()와getCorrectSubmissions()메서드가 존재하는지 확인다음 스크립트를 실행하여 Problem 엔티티의 메서드 존재 여부를 확인해 주세요:
🏁 Script executed:
Length of output: 743
다음 스크립트를 실행하여
Problem엔티티 클래스의 존재 여부와totalSubmissions/correctSubmissions필드 타입 및 Lombok 어노테이션 유무를 확인해 주세요:🏁 Script executed:
Length of output: 19132
Problem 엔티티에 Getter 미구현 및 null 처리 보완 필요
Problem도메인 엔티티에getTotalSubmissions()/getCorrectSubmissions()메서드 정의가 없어 컴파일 에러 발생totalSubmissions,correctSubmissions)에 대한 null 반환 가능성 검토 및 기본값 처리 필요해결 방안:
Problem클래스에 해당 getter 메서드를 직접 추가하거나 Lombok@Getter어노테이션 적용ProblemResponse.from)에서null대비 기본값 처리 (예:Objects.requireNonNullElse(...)등)대상 파일:
🤖 Prompt for AI Agents