Conversation
멀티 풀이 파일에서 주석이 다른 풀이로 섞이거나, 주석이 없는데도 `hasUserAnnotation=true`로 판정되던 문제를 해결한다.
- SYSTEM_PROMPT에 풀이 경계 정의, 엄격한 주석 귀속 규칙(빈 줄 중단 + 이전 풀이 경계 보호), 유효 복잡도 주석 정의(Big-O 리터럴 + 시간/공간 키워드 필수), 부정 예시, 멀티 풀이 few-shot 추가
- user prompt 각 라인에 `L{n}: ` prefix 부착해 모델이 귀속 범위를 수치로 판단 가능하게 함
- 응답 정규화에서 `userTime/userSpace`의 Big-O 리터럴 유무로 `hasUserAnnotation`과 `matches`를 코드가 재판정하여 모델 자기모순 응답을 차단
- 회귀 방지 테스트 5개 추가(정규화 4 + 라인 번호 prefix 1)
Refs #30
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
github | ec8a040 | Commit Preview URL | Apr 23 2026, 01:36 PM |
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.
멀티 풀이 파일에서 주석이 다른 풀이로 섞이거나, 주석이 없는데도
hasUserAnnotation=true로 판정되던 문제를 해결한다.L{n}:prefix 부착해 모델이 귀속 범위를 수치로 판단 가능하게 함userTime/userSpace의 Big-O 리터럴 유무로hasUserAnnotation과matches를 코드가 재판정하여 모델 자기모순 응답을 차단Refs #30