Repository navigation
fix: [#1439] 근호 안 분수가 묶음 괄호 없이 나가 분모 근호와 같은 점형이 되던 문제 수정 - #1441
Merged
Merged
Conversation
근호 단계(2c)는 분수(2단계) 뒤에 돌아 근호 안 분수가 이미 점형 (⠼⠃⠌⠼⠁)이다. 공용 판정 _needs_wrap 의 분수 검사는 \frac · / 만 봐서 근호 안 분수를 못 묶었다. 점자 분수는 분모를 먼저 적으므로 √(1/2) 가 >#b/#a 로 나가 1/√2 와 같은 점형이 됐다(다른 수식으로 읽힌다). 제22항 [붙임 2](재추출 3615행) "근호 안이 분수, 곱, 다항식 등일 때에는 묶음 괄호로 묶어 나타낸다"대로 최상위 분수표 ⠌ 도 분수로 본다. 2027 수학Ⅰ gold 해설 19쪽 >(#d/#e) · 본문 39쪽 >(#i/#bet^#b) 와 같아진다. 시험 머리말의 조항 번호(제14항 → 제22항)도 바로잡았다. Refs #1439 Co-Authored-By: Claude Opus 5.5 <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.
무엇이 틀렸나
근호 안이 분수일 때 묶음 괄호 ⠷⠾ 를 안 넣었다. 점자 분수는 분모를 먼저 적으므로, 묶지 않으면 근호가 분모에만 걸려 다른 수식으로 읽힌다.
9>#d/#e9>(#d/#e)(수학Ⅰ 해설 19쪽)>#i/#bet^#b>(#i/#bet^#b)(수학Ⅰ 본문 39쪽)>#b/#a\frac{1}{\sqrt{2}}와 같은 점형)>(#b/#a)규정
「한국 점자 규정」 수학 점자 제22항 [붙임 2](재추출 3615행): "근호 안이 분수, 곱, 다항식 등일 때에는 묶음 괄호로 묶어 나타낸다."
원인과 고침
app/ai/braille/kor_math_rules.py의 근호 단계(2c,_stage2c_sqrt)는 분수 단계(2) 뒤에 돈다. 근호 안 원문의 분수는 이미 점형(⠼⠃⠌⠼⠁)이라, 공용 판정_needs_wrap의 분수 검사(\frac·/)가 못 봤다. n제곱근(0b, 원문 LaTeX)과 지수 · 아래첨자(_needs_wrap_out, 점형 분수표도 봄)는 이미 묶고 있었다._needs_wrap의 분수 검사에 최상위 점형 분수표⠌를 더했다(한 줄). 괄호 · 묶음 · 첨자 속 분수(√(x^(1/2))·√((1/2)²))는 최상위가 아니라서 안 묶는다.엔진 변경 네 항목
\sqrt{\frac{5}{4}})는 맞게 들어온다.확인
A/B: 바탕 J(40977f2, develop ba94d97 와 dev · val 요소 바이트 같음) · 고침 K(8d3c405) · 자 91c70dc4 · 캡션 ro · LLM 끔 · 경계 재파생.
수식 축(요소 이진) 86.3% → 86.4%(새로 통과 1 · 새로 탈락 0). 셀로는 주지표 −4 다.
게이트 텍스트 축(단일정답) 94.20% 그대로(편집 −4). 특수기호 · 레이아웃 · 표 축은 같다.
바뀐 줄은 두 쪽의 묶음 괄호뿐이고 줄 수도 같다. 해설 19쪽은 gold 와 셀까지 같아졌다.
수학 II 묵자 162쪽 발화: 4요소(본문 51쪽
−√(a/6)네 자리)가>#f/a에서>(#f/a)로 바뀐다. 묵자를 렌더해 근호가 a/6 전체에 걸린 것을 확인했다. 종전 점형은 a/√6 으로 읽힌다.시험:
test/unit_test/formula/test_sqrt_product_wrap.py에 10건(근호 안 분수 묶음 · 지수 속 분수와 괄호 거듭제곱은 안 묶음 · gold 2쪽 셀 대조 ·√(1/2)와1/√2점형이 다름). 머리말의 조항 번호(제14항 → 제22항)도 바로잡았다.게이트: quick-test 대상 5,252 통과 · xfailed 6, C5 83 ·
test_step3_e2e.py47 통과. 망가뜨리기 둘(분수표 검사 뺌 · 최상위 대신 전체에서 찾기)을 시험이 모두 잡았다.Closes #1439
🤖 Generated with Claude Code