-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 오늘의 질문 도메인 구현 #58
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
Conversation
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
UserWalletRepository의 모든 메소드들에 대한 테스트 완료
'꿈'에 해당하는 관심 주제가 필요 없어져 해당 레코드 삭제
오늘의 질문을 저장하는 테이블
QuestionCommandService, QuestionQueryService 클래스 구현
더 이상 사용하지 않음
coldsunn
requested changes
Dec 27, 2025
| question.getEmpathyGuide(), | ||
| question.getHintGuide(), | ||
| question.getLeadingQuestionGuide(), | ||
| false, |
Collaborator
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.
답변 여부가 false로 고정되는 문제가 있는 것 같아요. 확인부탁드려요!
Collaborator
Author
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.
앗 그걸 누락했었네요...수정 완료했습니다
메소드가 반환하는 응답 DTO의 answered 필드를 false로 고정했던 것을 실제 답변 여부로 수정
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)
DB 테이블 및 엔티티 구현
daily_questions: 오늘의 질문들을 저장하는 테이블user_daily_questions: 유저에게 선정된 오늘의 질문을 저장하는 테이블answer_entries: 유저가 오늘의 질문에 대해서 작성한 답변을 저장하는 테이블헬퍼 클래스
QuestionLevelPolicy: 가입한 지 2주 미만인 유저들에게 Level = 1에 해당하는 질문들만 선정되게 하기 위한 헬퍼기준은 추후에 변경될 수 있습니다.
WeightedInterestPicker: 질문 리롤 시 관심 주제 별로 가중치 설정하고 그 가중치에 따라 하나의 관심 주제를 선정하는 헬퍼DailyQuestionSelector: DB에서 질문 1개를 뽑는 헬퍼오늘의 질문 선정 기준
최초 질문: 유저의 관심 주제 내에서 랜덤 선택.리롤 질문: 유저의 관심 주제에는 0.5, 나머지 관심 주제들에는 나머지 0.5를 균등 분배한 가중치에 따라 관심 주제를 선정.이후 선정된 관심 주제에서 랜덤 선택.
🔗 Related Issue
💬 공유사항
자세한 사항들은 최대한 주석에 남겼습니다.
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.