Repository navigation
Conversation
This was referenced Nov 22, 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.
관련 작업
요약
실험 배경과 방법
Lang2SQL의
term_custom은 팀 범위에 등록한 용어 정의를 이후 모델 요청의Business Terminology섹션에 넣습니다. 같은 힌트를 매번 질문에 넣는 방식과 비교하면, 등록한 지식이 실제 입력에 들어가는지와 모델이 그 지식을 SQL에 활용하는지를 각각 볼 수 있습니다.term_custom으로 등록합니다. 제품이 시스템 메시지에 자동으로 표시합니다.e0a7fb1이고 모델은 #260에서 사용한gpt-4.1-mini-2025-04-14,gpt-4.1-2025-04-14와gpt-6-luna입니다. Luna는 Chat Completions에서 함수 호출을 지원하는reasoning_effort="none"으로 실행했습니다. 모델에게 제공한 기본 스키마는 테이블 이름 목록입니다. 테이블별 컬럼 이름과 타입을 보려면 모델이explore_schema를 호출해야 하며,run_sql도 모델이 선택합니다.결과
모델·조건별 정확도와 도구 사용
컬럼 조회 문항은 테이블을 지정한
explore_schema호출이 한 번 이상 성공한 문항입니다. 도구 호출 수에는 실패한 호출도 포함합니다.실패 원인
TEXT인power를 숫자로 변환하는CAST를 빠뜨려 6,410 대신 0을 반환했습니다.동일 문항의 조건별 차이
A−B가 주 비교이며 B−D와 A−D도 같은 문항끼리 비교했습니다. 문항 단위 양측 정확 McNemar 검정의 Holm 보정은 기존 두 모델의 비교 6개와 Luna의 비교 3개에 각각 적용했습니다. 11개 DB 단위 재표집으로 구한 A−B의 95% 구간은 mini가 −9.26
0.00%p, Luna가 −2.15+5.25%p였습니다.multiverseId로 조인해 언어 2개, B와 기준 SQL은uuid로 조인해 11개를 반환했습니다.토큰 사용량과 비용
모델마다 A/B/D 총 1,095건의 실제 토큰 사용량에 공개 표준 요금을 적용한 환산값입니다. 캐시 반영 추정은 응답에 기록된 캐시 읽기·쓰기 토큰을 사용했습니다. 전체 12,918회 모델 호출에서 API 오류는 0건이었습니다. 상세 실행 지표
To Reviewers
A와 B는 evidence 원문이 같습니다. A−B 차이에는 시스템·사용자 메시지의 위치와 용어 섹션의 표기 방식이 함께 들어갑니다. 이번 수치는 지정한 365문항과 세 모델의 단일 실행을 대상으로 합니다.
실측 결과 문서에 DB별·난이도별 지표와 동일 문항의 전환 수, 실패 진단, 재현 절차를 정리했습니다. 실행별 결과에는 독립적인 아홉 조합의 설정, 점수, 호출 요약과 생성 SQL 2,943개가 있습니다. 생성 SQL은 각
predictions.jsonl에서question_id로 찾을 수 있습니다.아홉 실행의 코드와 잠금 파일 해시를 각각의 측정 소스 커밋과 대조했습니다. 재현할 때는 해당 평가 코드와 제품 소스
e0a7fb1을 사용합니다. GPT‑4.1 계열 실행 코드 · Luna 실행 코드기존 두 모델은 OpenAI SDK
3.51.0, Luna는3.57.0으로 평가했습니다. 잠금 파일의 SDK는3.57.0입니다. 모델 응답 ID와 직접 의존성 버전은 각 실행 기록에 남겼습니다.PR Checklist
master기준 전체 테스트 190개 통과