Repository navigation
fix: 최신 장발 시술을 추천 길이에 적용하고 숏컷 제외 - #193
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
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.
최신 시술 사진이 장발로 분석돼도 기존 SHORT 프로필보다 길다는 이유로 적용을 거부해, 장발 기록에 버즈컷이 계속 추천됐습니다. 더 최근의 시술 사진은 현재 길이를 양방향으로 갱신하도록 수정하고, 사진 이후 수정된 프로필의 우선권은 유지합니다.
기본 추천은 현재 길이에 호환되는 후보만 허용합니다. SHORT 카테고리는 현재 길이가 SHORT일 때만 선택해, 포괄적인 호환 메타데이터가 있어도 장발 사용자에게 버즈컷이 노출되지 않도록 합니다. 입력 버전을 V6로 올려 기존 계정도
/latest조회 시 재계산합니다. 적합한 후보가 없으면 짧은 후보로 채우지 않고 기존 422 응답을 반환합니다.검증: 추천 도메인·사진 resolver·PostgreSQL API 회귀 테스트 통과. 기존 SHORT 추천 → 장발 사진 추가 → 적용 길이 BELOW_SHOULDER/새 실행 ID/숏컷 제외 → 다음 조회 재사용을 검증했습니다. 저장된 프로필을 몰래 변경하지 않는 것도 확인했습니다. 운영 개인 기록은 추출하지 않았습니다.