Skip to content

Malayalam translation: numpy — calibration review round 4 (v0.29.2 engine) - #23

Open
mmcky wants to merge 1 commit into
mainfrom
seed/numpy-r4
Open

mmcky wants to merge 1 commit into
mainfrom
seed/numpy-r4

Conversation

@mmcky

@mmcky mmcky commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Machine translation of numpy for native-speaker review — round 4 of the calibration programme (Phase 2 of QuantEcon/action-translation#189). This draft was regenerated on 2026-09-21 with the engine released that day, v0.29.2, which carries your answers on #22: the comma between -ഉം items always, English plural + Malayalam suffix, prefer in English, provide → നൽകുന്നു. It replaces the first draft of this PR, which was made at v0.29.0 before those answers and which you had not started on. draw is deliberately left to the sentence — both of your forms are fine — and your everyday-speech test for which words stay English is not encoded yet; we are checking it on unseen text first.

For the reviewer (@adisankarmt): as before — comment or suggest on any line you would change (English that should be Malayalam, Malayalam that should be English, a wrong case-suffix, awkward phrasing, the same term handled two ways). Suggestion blocks work perfectly and you can push directly to this branch. Headings, code cells and the whole Exercises section are machine-verified byte-identical to the English and need no proofreading. Every comment resolves to a glossary entry, a rule change in the tool, or accepted-as-is with our reasoning. No deadline.

Provenance: source QuantEcon/lecture-python-programming@b0b0b56 (current main; numpy.md unchanged since the first draft) · model claude-sonnet-5 · engine v0.29.2 (5f74d74, what @v0 resolves to), glossary v0.7.0 + the 28-rule set · translate init --localize none, produced locally · commit 889d001.

Machine verification: headings 20/20 byte-identical · code cells byte-identical · exercise-family blocks 8/8 byte-identical · round-2/3 lints on the text as sent: 0 lowercase sentence openers, 0 Malayalam plurals on English nouns, 0 -ഉം pairs without a comma, provide ചെയ്യുന്നു 0 (the first draft had 6). Left as generated for you to call: line 878 ends on a closing bracket with no full stop before a code cell; line 898 renders In fact as വാസ്തവത്തിൽ, which the rules ask to keep in English; line 1092 is a plain future statement (we'll cover … soon) that our hortative check flags but we think is right as it is.

Two disclosures. (1) This is the cleanest of three draws of the same engine on the same source, chosen by the deterministic lints — the others left 37 and 2 Malayalam lines unpunctuated before code cells. (2) One mechanical repair was applied, by script and not by hand: line 280, Columns-ഉം rows-ഉം → Columns-ഉം, rows-ഉം. Your answer was that this comma is always there; the engine's prompt delivers it only about a third of the time, so a script now inserts it (QuantEcon/action-translation#260). If a repaired line reads wrong to you, that tells us the script is wrong — please flag it like any other. Nothing else in the text was edited. All three draws are archived in the engine repo.

🤖 Generated with Claude Code

@mmcky
mmcky requested review from adisankarmt and a lite review from Copilot September 18, 2026 03:36
@mmcky

mmcky commented Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

A note on any automated Copilot comments, @adisankarmt — none need your attention. As on the earlier rounds, Copilot does not know this edition's keep-English policy: anything it says about code cells is a source-side matter (they are byte-identical to the English), and anything arguing to translate retained English is against the policy you set. If you ever agree with something it says about the Malayalam, write your own comment and that is the one we encode.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

There are a few concrete content/markup issues in the added lecture (including a duplicated index directive and untranslated/mixed-language phrasing) that should be corrected before approval.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds the Malayalam translation of the numpy lecture (MyST/Jupytext markdown) for native-speaker review as part of the translation calibration program.

Changes:

  • Introduces a new translated lecture file lectures/numpy.md.
  • Includes Malayalam prose translation while preserving code cells/exercises structure for notebook rendering.
File summaries
File Description
lectures/numpy.md Adds the full Malayalam translation of the NumPy lecture content in MyST markdown format.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lectures/numpy.md Outdated
Comment thread lectures/numpy.md
Comment thread lectures/numpy.md Outdated
@github-actions

Copy link
Copy Markdown
Contributor

📖 HTML build - view preview (3cac85f)

Translated pages in this PR:

@mmcky

mmcky commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

@adisankarmt — please hold off on this one for a few days. This numpy draft was made before your answers on #22. We will replace it with a fresh draft that follows them (the -ഉം commas, provide, the English plurals) and will post here when it is ready to read. If you have already started on this version, tell us and we will leave it exactly as it is.

Machine translation of numpy for native-speaker review — round 4 of the
calibration programme. Replaces the v0.29.0 draft (3cac85f), which was made
before the editor's answers on #22 and which he had not started reading.
Produced locally with translate init --localize none at action-translation
v0.29.2 (5f74d74 = @v0), model claude-sonnet-5, from
lecture-python-programming@b0b0b56 (numpy.md unchanged since 1706cea). The
cleanest of three draws by the ml lints (bare endings 1 / 37 / 2).

One mechanical repair by ml_repair.py, disclosed on the PR: a comma between
two -ഉം items (Columns-ഉം, rows-ഉം), per the editor's "always" on #22. No
hand edits. Exercise-family blocks 8/8 byte-identical to source; headings
20/20 and code cells byte-identical.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@mmcky mmcky changed the title Malayalam translation: numpy — calibration review round 4 (v0.29.0 engine) Malayalam translation: numpy — calibration review round 4 (v0.29.2 engine) Sep 21, 2026
@mmcky

mmcky commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

@adisankarmt — the fresh numpy draft is here and ready for you whenever suits. It was made with the tool as updated from your #22 answers (the -ഉം commas, English plurals, prefer, provide → നൽകുന്നു), and it replaces the earlier draft on this PR, so please work from the current version of the file. The description above has been rewritten to match, including the two things we want you to know up front: this is the cleanest of three tries, and one comma (line 280, Columns-ഉം, rows-ഉം) was inserted by a script rather than by the translator.

A preview build will appear below in a few minutes. No deadline, as always — and thank you for waiting.

@github-actions

Copy link
Copy Markdown
Contributor

📖 HTML build - view preview (889d001)

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.

2 participants