Skip to content

🌐 [translation-sync] [tom] edits to a few lectures [ge_arrow, affine_risk_prices, and recovery_trio] - #281

Open
mmcky wants to merge 7 commits into
mainfrom
translation-sync-2026-09-20T03-09-44-pr-1059
Open

mmcky wants to merge 7 commits into
mainfrom
translation-sync-2026-09-20T03-09-44-pr-1059

Conversation

@mmcky

@mmcky mmcky commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

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

Source PR

#1059 - [tom] edits to a few lectures [ge_arrow, affine_risk_prices, and recovery_trio]

Files Updated

  • ✏️ lectures/affine_risk_prices.md
  • ✏️ .translate/state/affine_risk_prices.md.yml
  • ✏️ lectures/long_run_risk_operator.md
  • ✏️ .translate/state/long_run_risk_operator.md.yml
  • ✏️ lectures/ross_recovery.md
  • ✏️ .translate/state/ross_recovery.md.yml
  • ✏️ lectures/_static/quant-econ.bib

Details

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

This PR was created automatically by the translation action.

Copilot AI lite review requested due to automatic review settings September 20, 2026 03:09
@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Sep 20, 2026
@netlify

netlify Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit 595b547
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/6aaf4e808ffb9d00073aaadb
😎 Deploy Preview https://deploy-preview-281--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-09-20
Routing: editor — 2 minor finding(s) in gating categories (accuracy/terminology/syntax/diff-check/other); accuracy 8 below floor 9; terminology 8 below floor 9
Shadow gate: would NOT auto-merge (recorded only; no action taken)


📝 Translation Quality

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

Summary: 翻译整体质量很高,数学内容、代码和格式都得到了准确保留,专业术语翻译规范一致。发现的问题都是轻微的风格性建议,不影响理解和使用。三篇讲座(仿射风险价格模型、长期风险算子方法、恢复定理)的核心概念和推导过程都被准确传达,符合学术翻译的专业标准。 数学公式、代码块和 MyST 指令格式在整个长文档中都被完整保留,未发现语法错误 专业术语翻译总体准确一致,如'随机贴现因子'、'风险中性概率'、'佩龙-弗罗贝尼乌斯定理'等均遵循标准译法 长难句的拆分和重组处理得当,保持了原文的逻辑结构和学术严谨性 中英文标点符号使用规范,行内 MyST 引用与中文文本之间的空格处理正确

Suggestions:

  • [minor · terminology] lectures/affine_risk_prices.md — ### 收益率曲线形状: 图例标签中将 'Low state' 等译为 '低状态'、'高状态',但更贴近汉语习惯的表达可能是 '低利率状态'、'高利率状态' 以更清晰地对应上下文语境(该图确实是关于短期利率的状态)。这不是错误,但可读性可以进一步提升。 → 低利率状态 / 中位利率状态 / 高利率状态
  • [minor · fluency] lectures/affine_risk_prices.md — ### 一个数值说明: '我们保持与上面相同的物理状态动态和短期利率设定' 一句稍显生硬,可以调整语序使其更符合中文表达习惯。 → 我们保持物理状态动态和短期利率设定与上文相同
  • [minor · terminology] lectures/long_run_risk_operator.md — ### 离散时间直觉: 'This parallels the logic of a transition matrix' 被译为 '这类似于转移矩阵的逻辑',术语 'transition matrix' 在术语表虽未直接列出但通常译为'转移矩阵',此处翻译准确,但整体句子稍显直译腔,可考虑更流畅的表达。 → 无需修改,仅为风格建议
  • [minor · fluency] lectures/ross_recovery.md — ### 转移独立性: '转移独立性之所以有帮助,是因为它把 $\phi$ 的所有 $m^2$ 个项绑定在一起' 中 '把...绑定在一起' 略显口语化,学术语境下可考虑更正式的表达,如'相互关联'或'联系起来'。 → 转移独立性之所以有帮助,是因为它将 $\phi$ 的所有 $m^2$ 个项联系在一起

🔍 Diff Quality

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

Summary: The translated documents correctly mirror the English source changes in scope, position, structure, and heading-map updates across all three files.


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.

Copilot review overview

🟡 Changes recommended

The updated recovery code path in lectures/ross_recovery.md uses a numerically brittle “strict positivity” check while effectively ignoring tol, which can cause the lecture’s code cell to fail or produce invalid 1/z values.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

This PR syncs the zh-cn lectures with upstream content updates from QuantEcon/lecture-python.myst (source PR #1059), primarily refining explanations, adding/adjusting exercises and numerical illustrations, and updating bibliography/citation support.

Changes:

  • Expanded and clarified several lecture narratives and numerical illustrations in affine_risk_prices, long_run_risk_operator, and ross_recovery.
  • Added new exercises/solutions and supporting code cells (including additional SciPy usage) to align with upstream content.
  • Updated translation-sync state metadata and appended new BibTeX entries required by newly referenced citations.
File Description
lectures/​ross_recovery.md Updates exposition and code cells (notably recovery implementation robustness and additional discussion blocks).
lectures/​long_run_risk_operator.md Adds/clarifies sections, code-cell outputs, and a new “two frontiers” comparison block.
lectures/​affine_risk_prices.md Adds new sections/exercises, expands numerical illustrations, and enhances Monte Carlo diagnostics/output.
lectures/​_static/​quant-econ.bib Adds new citation entries referenced by updated lecture content.
.translate/​state/​ross_recovery.md.yml Updates translation sync metadata (source SHA, model, tool version, mode).
.translate/​state/​long_run_risk_operator.md.yml Updates translation sync metadata (source SHA, model, tool version, mode).
.translate/​state/​affine_risk_prices.md.yml Updates translation sync metadata (source SHA, model, tool version, mode).

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

Comment thread lectures/ross_recovery.md
Comment on lines +627 to 630
if β_candidate > 0 and np.all(z_candidate > 0):
β_recovered = β_candidate
z = z_candidate
break
@github-actions

Copy link
Copy Markdown

This branch was successfully deployed

1 active deployment
pull request — 595b547b Deployed Sep 20, 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