Repository navigation
🌐 [translation-sync] Correct two typos in exercise text (functions, python_by_example) - #176
Conversation
✅ Deploy Preview for majestic-griffin-10b166 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Translation Quality ReviewVerdict: PASS | Model: claude-sonnet-5 | Date: 2026-11-02 📝 Translation Quality
Summary: The Exercises section translation is accurate and well-structured, with all code, math, and MyST syntax intact. Minor fluency issues exist in a few sentences (redundant phrasing, awkward word order, an unconventional transliteration) and one formatting inconsistency where Persian words were embedded inside a LaTeX-style math expression. These are minor to nit-level issues that do not impede comprehension but could be polished for better readability and consistency. Exercise and solution sections preserve all code blocks, LaTeX, and MyST directive structure correctly Technical vocabulary (e.g., مونتکارلو, توزیع یکنواخت دومتغیره) is consistent with the glossary Overall meaning of each exercise and hint is accurately conveyed despite minor phrasing issues Suggestions:
🔍 Diff Quality
Summary: The single-line text correction inside the pbe_ex2 hint block was correctly applied in the same location in the target document without any structural or scope issues. This review was generated automatically by action-translation review mode. |
There was a problem hiding this comment.
🟢 Approval recommended
The automated translation sync accurately mirrors two upstream typo fixes with internally consistent, current metadata and no defects surfaced in review.
No open issues 🎉
What changed in this PR
This PR is an automated translation sync that propagates two upstream typo corrections (from source PR QuantEcon/lecture-python-programming#638) into the Farsi (fa) translations. The source changes fixed English grammar in two lecture exercises; this PR updates the corresponding Persian text and the translation-state metadata.
Changes:
- Refined the
python_by_example.mdlegend hint to drop the redundant "متغیر" (variable), matching the source fix "note that ifvar = 42". - Updated
.translate/state/*.ymlmetadata (source-sha, synced-at, tool-version) for both synced lectures;functions.md's existing translation already reflected the source fix.
| File | Description |
|---|---|
lectures/python_by_example.md |
Removed redundant "متغیر" so the legend hint aligns with the corrected English ("if var = 42"). |
.translate/state/python_by_example.md.yml |
Bumped source-sha to cadd911…, synced-at to 2026-11-02, tool-version 0.26.0 → 0.30.0. |
.translate/state/functions.md.yml |
Bumped source-sha to cadd911…, synced-at to 2026-11-02, tool-version 0.25.0 → 0.30.0. |
Both translation edits accurately reflect the upstream typo corrections, the metadata is internally consistent (matching the PR's declared sourceCommitSha), and the synced-at date is current rather than in the future. No defects found.
Review effort: Balanced
Automated Translation Sync
This PR contains automated translations from QuantEcon/lecture-python-programming.
Source PR
#638 - Correct two typos in exercise text (functions, python_by_example)
Files Updated
lectures/functions.md.translate/state/functions.md.ymllectures/python_by_example.md.translate/state/python_by_example.md.ymlDetails
This PR was created automatically by the translation action.