Conversation
실측 PR #2543 에서 관찰된 세 가지 실패 패턴(유저 주석값을 actual 로 덮어쓰기, 서로 다른 Big-O를 matches=true로 오판, 주석이 없는데도 hasUserAnnotation=true로 환각)을 직접 억제하기 위해 SYSTEM_PROMPT 에 아래 블록을 추가한다. 응답 스키마와 코드 흐름은 전혀 건드리지 않는다. - "원문 복사 원칙": 유저 값이 불합리해 보여도 교정 금지, userTime/userSpace 는 원본 주석에서 문자 그대로 인용 - "인용 가능성 체크": hasUserAnnotation=true 전에 소스에서 키워드+Big-O 리터럴을 문자 그대로 인용 가능한지 검증. JSDoc/알고리즘 설명 주석을 복잡도 주석으로 오인 금지 - "matches 엄격 판정": 서로 다른 Big-O 클래스는 절대 true 가 아님. 실수하기 쉬운 비교쌍(O(n^2*log n) vs O(log n) 등)을 negative example로 박제 - "실측 패턴 예시 X1/X2/X3": find-min 멀티풀이 / validTree 무주석 / 목표-언급 부정 케이스를 적대적 few-shot 으로 추가 - "출력 직전 자가 점검": 7개 질문 체크리스트로 최종 JSON 구성 전 자가 검증 유도 - 유효한 복잡도 주석 키워드를 대소문자 무관으로 명시(tc/sc/time/space 도 허용) 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 | 9bb73b3 | Commit Preview URL | Apr 23 2026, 02:11 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.
실측 PR #2543 에서 관찰된 세 가지 실패 패턴(유저 주석값을 actual 로 덮어쓰기, 서로 다른 Big-O를 matches=true로 오판, 주석이 없는데도 hasUserAnnotation=true로 환각)을 직접 억제하기 위해 SYSTEM_PROMPT 에 아래 블록을 추가한다. 응답 스키마와 코드 흐름은 전혀 건드리지 않는다.
Refs #30