Skip to content

[action-translation] resync: perm_income_cons.md#145

Merged
mmcky merged 2 commits into
mainfrom
resync/perm_income_cons
Jul 19, 2026
Merged

[action-translation] resync: perm_income_cons.md#145
mmcky merged 2 commits into
mainfrom
resync/perm_income_cons

Conversation

@mmcky

@mmcky mmcky commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Forward Resync: perm_income_cons.md

Source: QuantEcon/lecture-python.mystlectures/perm_income_cons.md
Source commit: 089e35c
This PR resyncs the translation to match the current source document.

Reason: The target adds font configuration lines (matplotlib font setup for Chinese characters and a default figsize setting) in the imports code cell that are not present in the source. Aside from this i18n-related addition and minor stylistic differences (e.g., slight rewording, minor formatting of bullet lists), the content is otherwise faithfully translated.

Changes

Whole-file resync applied. The entire document was resynced in a single pass.


Created by action-translation forward resync

Copilot AI review requested due to automatic review settings July 18, 2026 08:40
@mmcky mmcky added action-translation-sync Auto-created by action-translation resync Forward resync labels Jul 18, 2026
@netlify

netlify Bot commented Jul 18, 2026

Copy link
Copy Markdown

Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit 4d2a7ff
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/6a5c4cd944c4600008fd1384
😎 Deploy Preview https://deploy-preview-145--astonishing-narwhal-a8fc64.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Pull request overview

This PR forward-resyncs the Chinese translation of perm_income_cons.md to match the current upstream source lecture, while preserving the repository’s i18n-specific Matplotlib font/figsize setup.

Changes:

  • Added translation: metadata (title + heading mappings) to the lecture frontmatter.
  • Normalized MyST code-cell blocks (e.g., ipython3, :tags: syntax) and updated some links/formatting to match upstream.
  • Adjusted moment-sequence mean indexing in one code cell to extract scalars (μ_y[1,0], μ_x[3,0]).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
lectures/perm_income_cons.md Full resync of translated lecture content; frontmatter translation metadata; minor MyST and code-cell adjustments.
.translate/state/perm_income_cons.md.yml Records resync state (source SHA/date/model/mode) for the translation tooling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mmcky mmcky added the action-translation PRs created by QuantEcon/action-translation label Jul 18, 2026
@github-actions

github-actions Bot commented Jul 18, 2026

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request July 18, 2026 10:30 Inactive
@github-actions

Copy link
Copy Markdown

✅ Translation Quality Review

Verdict: PASS | Model: claude-sonnet-5 | Date: 2026-07-19


📝 Translation Quality

Criterion Score
Accuracy 9/10
Fluency 9/10
Terminology 9/10
Formatting 8/10
Overall 8.9/10

Summary: This is a high-quality, accurate translation that faithfully preserves the technical content, mathematical formulations, and code structure of the source document. Terminology usage aligns well with the established glossary. Minor stylistic improvements could be made in a few places (e.g., the 'head north' idiom translation) but these do not detract significantly from overall comprehension or accuracy. No markdown/MyST syntax errors were found. Mathematical notation, LaTeX equations, and code blocks are preserved accurately and completely Technical terminology (协整, 遍历性, 平稳性, 状态空间, etc.) is consistent with the glossary and correctly applied throughout Complex economic concepts (isomorphism between Hall's and Barro's models, cointegrating residual, Bewley model dynamics) are translated with clear and accurate meaning Heading structure and YAML metadata correctly reflect the translation sync system requirements

Suggestions:

  • Code cell after '## 概述': The translation adds font-setting code (FONTPATH, mpl.font_manager, plt.rcParams) not present in the English source's import cell. While this is likely a standard localization addition for CJK font rendering, it should be verified this is an intentional/approved insertion pattern for this document series rather than an untracked deviation from source.
  • 'The scalar $d$ is given by...' section (LQ Problem): The English sentence 'a decision rule for $u_t$ to minimize... subject to $x_0$ given and the law of motion' is split awkwardly in translation into '回顾我们在...最优线性调节器问题是要选择... 的决策规则 $u_t$,受限于给定的 $x_0$ 和运动方程' — the restructuring separates '选择' from '的决策规则' across a display equation, which is slightly less fluent than keeping the clause together; consider rephrasing as '...问题是要选择决策规则 $u_t$ 以最小化...,其中$x_0$给定,且满足运动方程...' for smoother flow.
  • 'Two Example Economies' section: 'in the spirit of Bewley models' translated as '本着Bewley模型...的精神' — acceptable but slightly literal; a more natural Chinese phrasing could be '受Bewley模型...启发' though the current version is not incorrect.
  • 'A Borrowers and Lenders Closed Economy' section: 'make debt head north early in the sample' translated as '使债务在样本早期向北发展' — the metaphor '向北' (northward) is a literal translation of an English idiom for 'rising'; consider '使债务在样本早期迅速攀升/上升' for better naturalness in Chinese, as '向北发展' is not a standard Chinese expression.

🔍 Diff Quality

Check Status
Scope Correct
Position Correct
Structure Preserved
Heading-map Correct
Overall 10/10

Summary: The resync correctly updated code-cell fence formatting, fixed minor content discrepancies, and added a complete, accurate translation metadata block matching the document's heading hierarchy.


This review was generated automatically by action-translation review mode.

@github-actions
github-actions Bot temporarily deployed to pull request July 19, 2026 04:29 Inactive
@mmcky
mmcky merged commit 98a5254 into main Jul 19, 2026
7 checks passed
@mmcky
mmcky deleted the resync/perm_income_cons branch July 19, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action-translation PRs created by QuantEcon/action-translation action-translation-sync Auto-created by action-translation resync Forward resync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants