Skip to content

🌐 [translation-sync] Raise the build stack to the shared baseline, pin jax 0.12.1, drop --upgrade from install lines - #328

Open
mmcky wants to merge 12 commits into
mainfrom
translation-sync-2026-11-19T20-46-24-pr-1135
Open

mmcky wants to merge 12 commits into
mainfrom
translation-sync-2026-11-19T20-46-24-pr-1135

Conversation

@mmcky

@mmcky mmcky commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

This PR contains automated translations from QuantEcon/lecture-python.myst.

Source PR

#1135 - Raise the build stack to the shared baseline, pin jax 0.12.1, drop --upgrade from install lines

Files Updated

  • ✏️ lectures/ak2.md
  • ✏️ .translate/state/ak2.md.yml
  • ✏️ lectures/back_prop.md
  • ✏️ .translate/state/back_prop.md.yml
  • ✏️ lectures/kesten_processes.md
  • ✏️ .translate/state/kesten_processes.md.yml
  • ✏️ lectures/opt_transport.md
  • ✏️ .translate/state/opt_transport.md.yml
  • ✏️ lectures/pandas_panel.md
  • ✏️ .translate/state/pandas_panel.md.yml
  • ✏️ lectures/robust_permanent_income.md
  • ✏️ .translate/state/robust_permanent_income.md.yml

⚠️ Earlier Translation PR Still Open

The translation of each lecture below is at an earlier source commit than the English this source PR changed, and an open translation PR carries the changes in between. This PR was built on the translation without them. Merge the earlier PR first: once it merges, rebase mode rebuilds this PR on top of it.

Details

  • Source Language: en
  • Target Language: zh-cn
  • Model: claude-sonnet-5

This PR was created automatically by the translation action.

@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Nov 19, 2026
Copilot AI adaptive review requested due to automatic review settings November 19, 2026 20:46
@netlify

netlify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit 510f636
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/6aff6034bb0efc03b6477d90
😎 Deploy Preview https://deploy-preview-328--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.

@github-actions

Copy link
Copy Markdown

✅ Translation Quality Review

Verdict: PASS | Model: claude-sonnet-5 | Date: 2026-11-19
Routing: editor — 3 minor finding(s) in gating categories (accuracy/terminology/syntax/diff-check/other)
Shadow gate: would NOT auto-merge (recorded only; no action taken)


📝 Translation Quality

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

Summary: 本次PR涉及的六个文件的翻译整体质量很高,专业术语准确且与参考术语表高度吻合,数学公式和代码块格式保持完整,未发现影响文档编译的语法错误。少数章节存在轻微的语序或标点一致性问题(如中英文标点混用、长句衔接略显生硬),但均不影响读者对内容的理解,属于可选的文体优化建议。 专业术语的翻译与术语表高度一致,如'稳健性'、'风险敏感算子'、'观测等价'、'Kesten过程'、'最优传输'等均准确对应 复杂的数学公式和LaTeX代码块完整保留,未出现渲染或语法错误 长难句的拆分和重组整体流畅,尤其是在ak2.md和robust_permanent_income.md中对多层嵌套从句的处理较为得当 代码注释的翻译准确且符合编程习惯,变量名和函数签名保持不变,保证了代码可执行性

Suggestions:

  • [minor · fluency] lectures/ak2.md — ## Overview, 第一段: '由两期生存的世代交叠人群组成的生命周期模型' 的语序略显生硬,读起来不够自然,修饰语过长导致主语延后太多。 → 改为:'本讲座介绍了一个由两期生存的世代交叠人群构成的生命周期模型,该模型由 Peter Diamond {cite}diamond1965national 提出。'
  • [minor · accuracy] lectures/ak2.md — ## Setting: 原文 'At time $t$ a representative old person coexists with a representative young person who will become an old person at time $t+1$' 被翻译为两行且中间手动换行,格式上略显突兀('在时点 $t$,一个代表性老年人与一个代表性年轻人共存,这个年轻人将在时点 $t+1$ 成为老年人。'),且逗号使用了半角','而非中文全角','。 → 改为:'在时点 $t$,一个代表性老年人与一个代表性年轻人共存,这个年轻人将在时点 $t+1$ 成为老年人。'(注意使用全角逗号)
  • [minor · terminology] lectures/ak2.md — ## Exercises, ak2_ex2 解答: 'That person's consumption is...' 翻译中保留了原文公式,但缺少对应的中文解释衔接,整体可读性尚可,但'that person'翻译为'他'略有性别指向,原文中性,可考虑用'该主体'等更中性表达,但这属于轻微文体问题。 → 可选:将 '他必须向政府支付一笔一次性税款' 中的 '他' 替换为 '该个体' 以保持中性表达。
  • [minor · terminology] lectures/opt_transport.md — ### A Larger Application: 'A Larger Application' 被翻译为 '更大的应用',略显生硬,'更大规模的应用'或'一个更大的应用示例'会更符合中文表达习惯并更准确传达原意(规模更大,而非“更大”这一模糊形容)。 → 建议译为 '更大规模的应用' 或 '一个更大规模的应用示例'
  • [nit · fluency] lectures/kesten_processes.md — ## Overview: '虽然Kesten过程的数学形式看起来很简单,但它们在经济学中非常重要,主要有两个原因' 这句话中 '非常重要' 后接 '主要有两个原因' 略显啰嗦,但不影响理解。 → 可简化为:'尽管Kesten过程的数学形式简单,但出于以下两个原因,它们在经济学中具有重要意义:'

🔍 Diff Quality

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

Summary: The translation sync correctly mirrors the source changes across all six files with matching positions, preserved structure, and no heading-map updates needed since no headings changed.


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

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

The sync is incomplete because the likelihood-ratio lecture translation and its metadata still reference an older source commit despite the source change, leaving the shared build-stack update unsynchronized.

1 open issue
What changed in this PR

This automated translation-sync PR updates six Chinese lectures with source PR #1135's dependency-installation changes and refreshes their translation metadata.

Changes:

  • Removes --upgrade from lecture-level package installation commands.
  • Updates back_prop with modern Kaleido/Plotly and Chrome setup instructions.
  • Refreshes translation state metadata for the synchronized lectures.
  • Leaves likelihood_ratio_process.md unsynchronized despite its inclusion in the source change and sync metadata.
File Description
lectures/​robust_permanent_income.md Removes --upgrade from the QuantEcon installation command and normalizes generated formatting.
lectures/​pandas_panel.md Removes --upgrade from the Seaborn installation command.
lectures/​opt_transport.md Updates Jupytext metadata, removes --upgrade, and cleans up generated spacing.
lectures/​kesten_processes.md Separates package installation commands and removes upgrade behavior.
lectures/​back_prop.md Updates Kaleido, Plotly, Chrome, and JAX installation instructions.
lectures/​ak2.md Removes --upgrade from the QuantEcon installation command and normalizes spacing.
.translate/​state/​robust_permanent_income.md.yml Refreshes synchronization metadata for the robust permanent income lecture.
.translate/​state/​pandas_panel.md.yml Refreshes synchronization metadata for the pandas panel lecture.
.translate/​state/​opt_transport.md.yml Refreshes synchronization metadata for the optimal transport lecture.
.translate/​state/​kesten_processes.md.yml Refreshes synchronization metadata for the Kesten processes lecture.
.translate/​state/​back_prop.md.yml Refreshes synchronization metadata for the back-propagation lecture.
.translate/​state/​ak2.md.yml Refreshes synchronization metadata for the AK2 lecture.

Review effort: Lite (adaptive)

@@ -1,6 +1,6 @@
source-sha: eed8a65ff77b087b0ed997c6ec33256bf380fd32
synced-at: "2026-10-09"
source-sha: 6071051dfe42e75bbecb0682bfc65daf4dc8f60d
@github-actions

Copy link
Copy Markdown

This branch was successfully deployed

1 active deployment
pull request — 510f636a Deployed Nov 19, 2026 by github-actions[bot]
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 automated Automated sync PR opened by action-translation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants