Conversation
- AgeTier enum 추가 (A1: 0~2, A2: 3~5, A3: 6+) - AgePreference Value Object 추가 (Resolver 패턴 적용) - RecommendationConfig에 나이 설정 필드 추가 - RecommendationBucketService 나이 필터링/정렬 로직 구현 - DailyCodeMatchingService, CodeTimeService 나이 정보 전달 - Flyway V20 마이그레이션 추가
- org.mockito.kotlin.* → org.mockito.Mockito.* 변경 - mockito-kotlin 라이브러리 미사용으로 표준 Mockito API 사용 - mock() → mock(Class::class.java) 형태로 변환 - whenever() → `when`() 형태로 변환 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- mockito-kotlin 대신 표준 Mockito 사용 - nullable 파라미터 처리를 위한 anyNullable() 헬퍼 추가 - 차단 필터링 테스트에서 getMembersByIds 두 번째 호출 mock 추가 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
Changes
도메인 모델
AgeTierenum: 나이 차이 Tier (A1: 02, A2: 35, A3: 6+)AgePreferenceValue Object: 나이 선호도 설정비즈니스 로직
AgePreferenceResolver: Config에서 나이 설정 조회 (Resolver 패턴)RecommendationBucketService: 버킷별 나이 필터링/정렬 로직 추가DailyCodeMatchingService,CodeTimeService: 나이 정보 전달설정
RecommendationConfigEntity: 나이 설정 필드 추가agePreferredMaxDiff: 우선 추천 최대 나이 차이 (기본: 5)ageCutoffDiff: 컷오프 기준 (기본: 6)ageAllowCutoffWhenInsufficient: 부족 시 6살+ 허용 (기본: true)DB 마이그레이션
V21__add_age_preference_to_recommendation_config.sqlTest plan
Related
🤖 Generated with Claude Code