Skip to content

Commit 8625221

Browse files
mmckyclaude
andauthored
dev(ml): archive the round-1 regeneration arm — the rules generalise (#189 Phase 2 close) (#273)
* dev(ml): archive the round-1 rules regeneration arm — the #189 Phase 2 closing check One sonnet-5 rendering of python_by_example under main@ac53b30 (the #272 rules), scored against the seed the reviewer flagged and his reviewed text: 20 of 23 class signatures at or near the reviewed register, both halves of the Hint/Solution scope ruling fired, ml_metrics gates clean. Misses logged as v0.3.1 candidates: 'In fact' calqued 2/2, one majority-technical bullet, and a new term-variance regression (line(s) -> vari) motivating glossary pins for line/lines. Co-Authored-By: Claude Fable 5 <[email protected]> * docs(ml): add the relative pronoun Copilot flagged in the arm README Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
1 parent ac53b30 commit 8625221

2 files changed

Lines changed: 808 additions & 0 deletions

File tree

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Arm: round-1 rules (v0.3), claude-sonnet-5, 2026-08-17
2+
3+
The regeneration run that checks the round-1 rule changes generalise (#272 — the
4+
100-flag inline review on lecture-python-programming.ml#1, dispositions in
5+
QuantEcon/project-translation
6+
`reports/2026-08-17-ml-python-by-example-review-disposition.md`). Archived per
7+
the DISPOSITIONS.md process rule: any machine output that an analysis quotes
8+
gets committed. The Phase 2 (#189) closing check.
9+
10+
## Provenance
11+
12+
| Field | Value |
13+
|---|---|
14+
| Model | `claude-sonnet-5` (same model that produced the calibration batch the reviewer flagged) |
15+
| Command | `init -s <src> -t <target> --target-language ml -f python_by_example.md --localize none -m claude-sonnet-5` |
16+
| Source | `QuantEcon/lecture-python-programming@1c60c7d` (last main commit before the 2026-08-03 batch; the lecture drifted 13 lines since, so current main would confound) |
17+
| Engine | `main@ac53b30` — the #272 squash: rules 10→18 + glossary v0.3.0 |
18+
| Tokens / wall time | 24,844 / 4.0 min |
19+
20+
## Scores — signature counts: seed (what the reviewer flagged) vs his reviewed text vs this arm
21+
22+
Signatures are deterministic proxies for the round-1 rule classes ("+" should
23+
rise toward the reviewed count, "−" should vanish). Seed = ml#1 base `ff09b87`;
24+
reviewed = his 100 flags applied, `6ee7130`.
25+
26+
| Signature | dir | seed | reviewed | this arm |
27+
|---|---|---|---|---|
28+
| Below-deixis (`താഴെ കാണ`/`കൊടുത്ത`) | + | 0 | 17 | **10** |
29+
| Ordinal `ആദ്യത്തെ` / clipped `ആദ്യ` | +/− | 0 / 8 | 7 / 1 | **7 / 1** |
30+
| `അവസാനത്തെ` | + | 0 | 1 | 2 |
31+
| Ablative `നിന്നും` / clipped `നിന്ന്` | +/− | 0 / 8 | 5 / 2 | **9 / 1** |
32+
| "On the other hand" English / `മറുവശത്ത്` | +/− | 0 / 1 | 1 / 0 | **1 / 0** |
33+
| `അതായത്` / `മറ്റൊരു വിധത്തിൽ പറഞ്ഞാൽ` | +/− | 1 / 1 | 2 / 0 | **2 / 0** |
34+
| `മിക്കവാറും എപ്പോഴും` ("almost always" calque) | − | 1 | 0 | **0** |
35+
| `ആവശ്യപ്പെടുന്നു` ("demands" for *require*) | − | 1 | 0 | **0** |
36+
| `ആവർത്തിച്ച്` (vs keep-English *repeatedly*) | − | 2 | 0 | **0** |
37+
| `സൂചിപ്പിക്കുന്നു` (vs *refer* `ചെയ്യുന്നു`) | − | 1 | 0 | **0** |
38+
| `end ആക` / `അവസാനിക്ക` (everyday-verb direction) | −/+ | 2 / 0 | 0 / 2 | **0 / 1** |
39+
| Pointer "`… ഇവിടെ`" sentences | − | 4 | 0 | **0** |
40+
| *cover* `ചെയ്` present | + | 0 | 1 | **1** |
41+
| **ex5 Hint wholly English** (scope ruling) | + | no | yes | **yes** |
42+
| **ex5 Solution prose wholly English** (scope ruling) | + | no | yes | **yes** |
43+
| `ml_metrics.py` FAIL gates | | clean | — | **clean** |
44+
45+
## Misses and new findings (one rendering, one model, one document — direction, not a rate; #227 discipline applies)
46+
47+
1. **"In fact" calqued both times** (`വാസ്തവത്തിൽ` ×2, both sentence-initial) —
48+
the one discourse-formula clause that did not fire; "On the other hand" in
49+
the same rule did.
50+
2. **One `കൈകാര്യം` survives** — but for "working with (arrays)", not "cover",
51+
so the glossary pin held; it sits in the majority-technical NumPy bullet the
52+
reviewer anglicised wholesale (flag 11), a partial miss of the
53+
sentence-level keep-English rule.
54+
3. **New variance regression: "line(s) of code" → `വരി`/`വരികൾ` (14×)** where
55+
the seed kept English (19×) and the reviewer kept English. Nothing in v0.3
56+
touched this term. Candidate glossary pins for v0.3.1: `line`, `lines`
57+
(programming); likewise watch `ദൈർഘ്യമേറിയ` for "long (program)" — an
58+
ordinary adjective the A1 rule says stays Latin.
59+
60+
## Verdict
61+
62+
The round-1 rules generalise: 20 of 23 signatures land at or near the reviewed
63+
register on a fresh single-pass translation, including both halves of the
64+
math-heavy Hint/Solution scope ruling
65+
(D-2026-08-17-ml-math-heavy-sections-stay-english). The residuals are two
66+
discourse/sentence-level prompt misses and one unrelated term-variance
67+
regression, all logged above as v0.3.1 candidates.

0 commit comments

Comments
 (0)