feat(ai): 검증 실패 시 answerCode 수리 단계 + 실패 지문 로깅 - #22
Merged
Conversation
검증 실패가 대부분 answerCode의 경계 계산·값 조합 오류로 확인돼, 백지 재생성 전에 코드만 교정하는 수리 단계를 넣는다. 문제 전체 재생성보다 수렴이 빠르고 토큰이 싸다. - REPAIR_SYSTEM/repairUser: 지문·예제 고정, 실패 사유(기대/실제 포함)를 주고 answerCode만 수정 요청 → 재검증, 불발 시 기존 재생성 폴백 - 재시도 소진 시 마지막 실패 문제의 제목·지문(400자) 로그 — 불일치 원인 사후 분석용 - GENERATION_SYSTEM: 복수 해 가능 구조에 유일 선택 규칙(사전순 최소 해 등) 지문 포함 요구 Co-Authored-By: Claude Fable 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.
검증 실패가 대부분 answerCode의 경계 계산·값 조합 오류로 확인돼,
백지 재생성 전에 코드만 교정하는 수리 단계를 넣는다. 문제 전체
재생성보다 수렴이 빠르고 토큰이 싸다.