Repository navigation
fix: feedback과 최종 제출 꼬여있는 이슈 해결 - #22
Merged
Merged
Conversation
|
PR changed again? Review this PR in Change Stack to compare snapshots and stay oriented. Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthrough답변 저장 로직을 제거하고 AI 재평가 흐름으로 전환합니다. saveAnswer는 임시 피드백만 반환하며(answerId=null), generateReport에서 최종 제출 답변을 기반으로 피드백을 재생성합니다. API 계약, 서비스 의존성, 메서드 로직, 테스트가 함께 업데이트됩니다. Changes답변 피드백 흐름 리팩토링
Sequence DiagramsequenceDiagram
participant Client
participant InterviewController
participant InterviewService
participant PromptService
participant RadarCalculator
participant DB as Repository
rect rgba(200, 220, 255, 0.5)
Note over Client,DB: 답변 임시 저장 (saveAnswer)
Client->>InterviewController: POST /answers (sessionId, questionId, answerText)
InterviewController->>InterviewService: saveAnswer(...)
InterviewService->>PromptService: evaluateAnswer(question, answerText)
PromptService-->>InterviewService: AnswerFeedbackResult (improvement, warning)
InterviewService-->>InterviewController: AnswerResponse (answerId=null)
InterviewController-->>Client: 200 OK
end
rect rgba(220, 255, 200, 0.5)
Note over Client,DB: 최종 제출 (generateReport)
Client->>InterviewController: POST /submit
InterviewController->>InterviewService: generateReport(submitAnswers)
loop 각 질문마다
InterviewService->>PromptService: evaluateAnswer(question, finalAnswerText)
PromptService-->>InterviewService: AnswerFeedbackResult
end
InterviewService->>RadarCalculator: calculate(feedbackList)
RadarCalculator-->>InterviewService: RadarScore
InterviewService->>DB: save(AnalysisResult)
InterviewService-->>InterviewController: GenerateReportResponse
InterviewController-->>Client: 200 OK
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
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)
Comment |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
✨ 관련된 이슈
🙌 작업 내용
📸 스크린샷 (선택)
🤔 리뷰 요구사항(선택)
Summary by CodeRabbit
Release Notes
Documentation
Bug Fixes