Skip to content

Malayalam translation: python_essentials — calibration review round 7 (v0.33.0 engine) - #65

Open
mmcky wants to merge 1 commit into
mainfrom
seed/python_essentials-r7
Open

mmcky wants to merge 1 commit into
mainfrom
seed/python_essentials-r7

Conversation

@mmcky

@mmcky mmcky commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Closes #33. This is the machine translation of lectures/python_essentials.md (Python Essentials) for native-speaker review by Adisankar: round 7. It was made with the current release of the engine, v0.33.0, which carries what rounds 1–6 taught it. Preview: https://quantecon.github.io/lecture-python-programming.ml/pr-65/python_essentials.html

For the reviewer (@adisankarmt)

  • Please read the whole lecture, in the preview or under Files changed, and put a suggestion block on any line you would change. For a larger change, you can commit to this branch instead. The translation manual has the details, and its Malayalam page the edition's term policy and rulings.
  • What matters most: meaning errors; Malayalam where the edition keeps English (over-translation); terms that disagree with the glossary or the Malayalam page; register that departs from the classroom teacher's voice; Malayalam that reads unnaturally.
  • Please skip the headings, the code cells, the exercise blocks (each exercise, hint and solution) and the translation: block at the top of the file: they stay identical to the English. The two short lines above the first exercise ("Solve the following exercises." and the note on the built-in sum()) are outside the exercise blocks, so they are translated and need review like the rest.
  • This lecture introduces much of the programming vocabulary later lectures use (data types, containers, files and paths, loops, comprehensions, comparisons, docstrings), so a term you settle here carries through the rest of the edition.
  • An error in the English goes upstream: open an issue in QuantEcon/lecture-python-programming, link it in a comment on the line, and leave the translation matching the English as it stands; your review goes ahead without waiting for the fix.
  • When your review is complete, approve this pull request and mention @mmcky in the summary. Read and verify every edit yourself, and do not let AI or machine translation write it: see Review by hand.
  • @mmcky then applies your suggestions, with you credited as co-author, answers here any that are not applied, and updates the engine before the next lecture is drafted. Merging this pull request also closes the lecture's review issue. Questions that need your answer come afterwards on one issue, assigned to you.
  • GitHub Copilot may leave an automated review here. It does not know the edition's keep-English policy, and it needs no attention from you.
  • There is no deadline.

New since the last draft

Provenance

  • Source: QuantEcon/lecture-python-programming@426fb42 (python_essentials.md last changed in c571121).
  • Model: claude-sonnet-5.
  • Engine: v0.33.0 (d68f54d, what @v0 resolves to), with the Malayalam glossary v0.8.0 and the 28-rule set; repair scripts at action-translation bffad74.
  • Command, run locally: translate init --localize none.
  • Drafts: three of the same engine on the same source; this one was chosen by our checks (see Disclosures).

Machine verification (on the text as sent)

  • Front matter, headings, all 85 code cells and all 12 exercise blocks: identical to the English.
  • The deterministic checks (ml_metrics) report four lines, all listed under Left as generated below, and nothing else: no rendering on the banned list, no Malayalam plural on an English noun, no -ഉം pair without a comma, and no lowercase paragraph opener outside a bullet.

Left as generated for you to call

Disclosures

  1. Draft selection. This is one of three drafts of the same engine on the same source, all three identical to the English in structure. After the repair scripts, one of the others kept explicit as explicit ആയ, which the glossary renders വ്യക്തമായ, and the other put a Malayalam plural on an English noun (mode-കൾ); this one had neither. All three drafts are archived in the engine repository.
  2. Scripted repairs: 58, on 51 lines. The repair scripts (ml_repair.py) changed only punctuation and one capital, and nothing else in the text was edited. If you change one back, that tells us the script is wrong.
    • A colon on a line left bare before a code cell (42): lines 68, 85, 98, 113, 139, 158, 174, 182, 194, 231, 237, 243, 249, 266, 281, 297, 309, 318, 325, 333, 355, 365, 383, 390, 398, 407, 489, 510, 525, 545, 562, 570, 590, 601, 611, 618, 624, 652, 679, 711, 729, 739. The English leaves 48 of its 60 lines before a code cell without punctuation, and all three drafts copied that.
    • A sentence split at a comma followed by a new clause (9): lines 111, 208, 281, 309, 363, 487, 489, 496, 562.
    • A comma between -ഉം items (6): lines 194, 249, 447, 494, 640, 641.
    • A capital on a lowercase paragraph opener (1): line 407, Append mode-നെ.
  3. AI use: the translation is machine-made by the engine, and the draft selection, the checks and this description were prepared with Claude Code under @mmcky's direction.

Assisted-by: action-translation v0.33.0 (claude-sonnet-5)
Assisted-by: Claude Code (Claude Opus 5.5)

🤖 Generated with Claude Code

…engine)

Machine translation of python_essentials for native-speaker review, round
7. Produced locally with translate init --localize none at
action-translation v0.33.0 (d68f54d = @v0), model claude-sonnet-5,
glossary v0.8.0 and the 28-rule set, from lecture-python-programming at
426fb42 (python_essentials.md last changed in c571121). The cleanest of
three draws by the ml lints; front matter, headings, all 85 code cells
and all 12 exercise-family blocks byte-identical to the source in every
draw.

58 mechanical repairs on 51 lines by ml_repair.py at action-translation
bffad74, disclosed on the PR: 42 colons on lines left bare before a code
cell, 9 sentence splits at a comma plus a continuing clause, 6 commas
between -ഉം items, 1 capital on a lowercase paragraph opener (407). No
hand edits. The state file is the one init wrote (source-sha c571121).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📖 HTML build - view preview (23c205e)

Translated pages in this PR:

This branch has not been deployed

No deployments
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.

Review: python_essentials.md

1 participant