Skip to content

docs: measure what comes after checked arithmetic — §9-71 and the decision table - #337

Merged
xzawed merged 2 commits into
mainfrom
docs/next-slice-evidence
Sep 26, 2026
Merged

xzawed merged 2 commits into
mainfrom
docs/next-slice-evidence

Conversation

@xzawed

@xzawed xzawed commented Sep 26, 2026

Copy link
Copy Markdown
Owner

다음 슬라이스를 고르기 위한 실측 기록이다. 슬라이스는 고르지 않는다 — 사용자 결정이다(STATUS.md ▶ 항목 (5), 결정표는 §9-71.6). 관련: DP-O7(SPEC-checked-arithmetic), Q17, D19.

무엇을 쟀나

  • §9-70.2 뒤에 남은 103행(여전히 조용한 60 + -3이지만 참값이 드는 43)을 후보 기능에 귀속했다 — 워크플로 에이전트 10(분석 6 · 회의론 3 · 비평 1) + 보완 2(텍스트 회의론 · 넓은 중간값 위험 검토). §7의 귀속 대조를 걸었다.
  • 상위 두 설계를 로컬 브랜치 exp/wide-local(푸시 안 함) 에 스위치로 구현해 626행 전부로 다시 쟀다:
모드 맞음 조용한 오답 참값이 드는데 -3
오늘 496 60 52
F2 — 헬퍼 체크 전파 505 44 59
WIDE — 넓은 중간값 530 60 17
둘 다 546 44 17
  • 어느 모드도 맞던 status 0 답을 바꾸지 않았다. WIDE는 표본 밖 무작위 48,000 호출에서도 -3 밖의 변화 0 — 대신 측정된 위험이 있다: 빨리 실패하던 입력이 멈출 수 있고, let 추출이 답을 바꾸고, MSVC에는 체크드 int64 내장이 없다(§9-71.4).
  • Delphi 로컬 게이트가 ML_ST_OVERFLOW를 선언한 유닛으로 통과했다(GATE_DELPHI_OK).

바뀐 파일

docs/history/9-71.md(새 기록) · HISTORY.md 스텁 · STATUS.md ▶ 항목 (5), 항목 (4)는 start-block-052.md로 바이트 그대로 · 색인 한 줄 · slices/README.md 후보 문장.

Grok

  • plan ×2: WIDE 착수 전(status 0 보존 YES, 무한 본문 확장은 값이 바뀐다 NO + 반례) · 권고 순서(F2 먼저, DP-O7 뒤집기 수용 가능, WIDE는 SPEC 전 보류).
  • verify, 한 번에 주장 하나: 실험 코드 · 626행 비교 · 표 수치 · 블록 바이트 · 바뀐 행 이름 — 전부 CONFIRMED. §9-71.4 수치 — DISCREPANCY: 검토 에이전트 요약의 -3 호출 수 17,524가 네 칸 합과 맞지 않았고 clang __int128 문장이 근거에 없었다 → 같은 스크립트를 다시 돌려 21,524 확인(f620451) → 재검증 CONFIRMED.
  • doc_claims 50/50.

🤖 Generated with Claude Code

xzawed and others added 2 commits September 26, 2026 17:45
…ision table

The 103 rows left after §9-70.2 were attributed to candidate features with the §7
control (10 agents, measured where the feature can be emulated), and the two top
designs were prototyped on a local branch and re-measured on all 626 rows:

- helper propagation (F2): silent wrong answers 60 -> 44;
- wide intermediates (WIDE): -3-though-the-answer-fits 52 -> 17, with measured risks
  outside the sample (a fast failure can become a hang, extracting a let changes the
  answer, MSVC has no checked int64 builtins, i64 itself overflows);
- no mode changes a correct status-0 answer.

STATUS ▶ entry (5) hands the choice to the user (§9-71.6, recommendation F2, Grok
agrees); entry (4) moves byte-identical to start-block-052.md. The Delphi local gate
passes with units that declare ML_ST_OVERFLOW.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… what clang accepts

Grok verify: the reviewer's summary said 17,524, which its own four buckets contradict;
re-running the same script (3 seeds x 200 x 80) gives 21,524 and 0 changes outside -3.
clang 21 accepting __int128 was not in the evidence.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@xzawed

xzawed commented Sep 26, 2026

Copy link
Copy Markdown
Owner Author

⚠️ AI 리뷰가 완전 검증되지 않음 — 기본값이 적용됐습니다(비활성/API 키 없음/빈 diff). AI 배점은 측정값이 아니므로 총점을 부분 점수로 보세요.

🔵 SCAManager 분석 결과

총점: 89/100 (등급 B)

점수 상세

항목 점수 만점
커밋 메시지 13 15
코드 품질 25 25
보안 20 20
구현 방향성 (AI) 21 25
테스트 10 15

@xzawed
xzawed merged commit 7d8c148 into main Sep 26, 2026
2 checks passed
@xzawed
xzawed deleted the docs/next-slice-evidence branch September 26, 2026 09:03
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