Repository navigation
[SCRUM-124] 진단 생성·목록·조회 API 구현 - #120
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
yeonhwa55
approved these changes
Nov 30, 2026
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.
티켓
specs/survival-diagnosis/spec.md변경 요약
requested_categories)를 공개했고, A13의 조회 조건과 응답 변환을 새 API와 같이 쓰도록 묶었습니다.지금 상태의 제한
available: false,reason: model_not_ready이며 손익만 계산합니다(기준선은 SCRUM-117).None으로 넘깁니다(SCRUM-215). 그래서 모델이 생겨도 12개월 값은 업종 기준선입니다.survival.joblib을 배포 이미지에 넣으면 안 됩니다.data_basis는 세 값 모두 null입니다.ValueError는 422로 응답합니다. 모델 결과가 계약을 어긴 서버 쪽 문제도 422로 보일 수 있습니다.확인 방법
pnpm check통과 (파이썬 1164개 통과, 181개 건너뜀)tests/diagnoses/test_diagnosis_service.py: 기준선 모드와 자료 부족(가짜 모델), 400·422·503, 별도 스레드 실행, 오류 응답과 로그에 주소·좌표·토큰 없음tests/diagnoses/test_router.py: 로그인 없음 401, 입력 검증tests/diagnoses/test_diagnosis_db.py: 다른 사용자·삭제 요청·만료 404, 목록 커서, 연결 계약, 저장 실패 시 되돌리기backendCI(PostGIS) 통과: 882개 통과, 건너뜀 없음. 로컬에는 PostgreSQL이 없어 DB 테스트는 CI에서 확인했습니다.체크리스트
pnpm check통과diagnoses·simulations·model_versions)packages/bridge) 변경 없음🤖 Generated with Claude Code