Skip to content

feat(easy): hexa easy lint — 측정 축 deterministic 채점기 (PR2/3)#2206

Merged
dancinlife merged 1 commit into
mainfrom
ops/hexa-easy-2-20260530-174516
May 30, 2026
Merged

feat(easy): hexa easy lint — 측정 축 deterministic 채점기 (PR2/3)#2206
dancinlife merged 1 commit into
mainfrom
ops/hexa-easy-2-20260530-174516

Conversation

@dancinlife
Copy link
Copy Markdown
Contributor

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

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>
@dancinlife dancinlife merged commit 24d83b7 into main May 30, 2026
@dancinlife dancinlife deleted the ops/hexa-easy-2-20260530-174516 branch May 30, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant