feat(easy): hexa easy lint — 측정 축 deterministic 채점기 (PR2/3)#2206
Merged
Conversation
PR1 의 lint stub 을 실 채점기로 교체. LLM/judgement 없이 파일 텍스트만으로 easy 측정 축 5개를 산출하고 per-axis 점수 + PASS/FAIL + 종합 verdict 를 찍는다. 채점 전 (1) HTML 주석(<!-- ... -->) 제거 (2) prose 축은 markdown 구조(ATX 헤더 ^# · 펜스 ``` · hr ---) 까지 제거 — scaffold 빵틀의 슬롯 힌트/템플릿/ 라벨이 빈 골격의 점수를 부풀리지 않게, AUTHORED prose 만 채점. (빈 scaffold 는 prose 17 words → analogy=0 으로 정직하게 FAIL.) 측정 축: - jargon-ratio ≤ 0.30 — 약어/키워드 목록 + 수학기호(σ∑∂…) hit ÷ word count - ascii-diagram-presence ≥ 1 — 펜스 블록 중 box/tree/arrow 문자 포함 개수 (full text) - acronym-first-use-expansion ≥ 0.80 — 등장 약어 중 괄호/대시/콜론 풀이 비율 (없으면 vacuous PASS) - analogy-presence ≥ 1 — 비유 마커(같은/같이/처럼/마치/like) 개수 (라벨 "비유" 제외) - seven-element-presence ≥ 5/7 — 7요소 라벨 섹션((icon)…(compare)) 존재 수 (full text) 정수 permille 산술로 비율 표시(부동소수 round-trip 회피, deck 디자인 원칙). 3-fixture 검증: 빈 scaffold FAIL · 채운 .easy.md PASS · jargon-heavy FAIL(0.457). file not found / 인자 부족 가드. `hexa parse` 클린. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
PR1 의 lint stub 을 실 채점기로 교체. LLM/judgement 없이 파일 텍스트만으로
easy 측정 축 5개를 산출하고 per-axis 점수 + PASS/FAIL + 종합 verdict 를 찍는다.
채점 전 (1) HTML 주석() 제거 (2) prose 축은 markdown 구조(ATX
헤더 ^# · 펜스 ``` · hr ---) 까지 제거 — scaffold 빵틀의 슬롯 힌트/템플릿/
라벨이 빈 골격의 점수를 부풀리지 않게, AUTHORED prose 만 채점. (빈 scaffold 는
prose 17 words → analogy=0 으로 정직하게 FAIL.)
측정 축:
정수 permille 산술로 비율 표시(부동소수 round-trip 회피, deck 디자인 원칙).
3-fixture 검증: 빈 scaffold FAIL · 채운 .easy.md PASS · jargon-heavy FAIL(0.457).
file not found / 인자 부족 가드.
hexa parse클린.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com