Skip to content

🌐 [translation-sync] [var_dmd, svd_intro, measurement_models] Correct math, add exercises - #304

Merged
mmcky merged 9 commits into
mainfrom
translation-sync-2026-10-22T03-44-48-pr-1055
Oct 22, 2026
Merged

mmcky merged 9 commits into
mainfrom
translation-sync-2026-10-22T03-44-48-pr-1055

Conversation

@mmcky

@mmcky mmcky commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

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

Source PR

#1055 - [var_dmd, svd_intro, measurement_models] Correct math, add exercises

Files Updated

  • ✏️ lectures/measurement_models.md
  • ✏️ .translate/state/measurement_models.md.yml
  • ✏️ lectures/svd_intro.md
  • ✏️ .translate/state/svd_intro.md.yml
  • ✏️ lectures/var_dmd.md
  • ✏️ .translate/state/var_dmd.md.yml
  • ✏️ lectures/_static/quant-econ.bib

⚠️ Target-Only Sections Removed

The following sections exist in the current translation but have no counterpart in the source document, so this sync removes them (the translation mirrors the source's structure). If the source deleted these sections, this removal is correct — merge as usual. If they are human-authored additions you want to keep, move them into a target-only file before merging (see adding content to a translated edition).

  • lectures/var_dmd.md: 一阶向量自回归, 动态模态分解(DMD), 表示法1, 表示法 2, 表示法3

Details

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

This PR was created automatically by the translation action.

@mmcky mmcky added the action-translation PRs created by QuantEcon/action-translation label Oct 22, 2026
Copilot AI balanced review requested due to automatic review settings October 22, 2026 03:44
@mmcky mmcky added the automated Automated sync PR opened by action-translation label Oct 22, 2026
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!

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

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Translation Quality Review

Verdict: PASS | Model: claude-sonnet-5 | Date: 2026-10-22
Routing: editor — 1 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 9/10
Terminology 9/10
Formatting 9/10
Overall 9/10

Summary: 两篇讲座的翻译整体质量很高,专业术语准确且与术语表高度一致,数学公式与代码块完整保留,MyST 语法无错误。新增的 DMD 相关章节翻译流畅、准确,复杂的线性代数证明和解释都清晰传达。发现的问题均为轻微级别,主要涉及个别术语注释的处理方式和中英文夹杂表达的一致性,不影响整体理解和学术严谨性。 新增的 DMD 相关章节(右/左特征向量、模态表示、长期响应、模拟示例)在数学符号和公式引用(如 {eq}, {prf:ref})的翻译中保持了高度准确与一致性 专业术语(如'奇异值分解'、'广义逆矩阵'、'主成分回归'、'格兰杰因果关系')在全篇中保持统一,符合术语表要求 代码块、LaTeX 公式、MyST 指令({code-cell}, {prf:proposition}, {solution-start} 等)均完整保留,未破坏原始结构 长句的拆分和衔接词的使用使译文读起来符合学术中文的表达习惯,未出现生硬直译的现象

Suggestions:

  • [minor · terminology] lectures/var_dmd.md — Moore-Penrose pseudo-inverse footnote: 译者加了一条行内注释说明将 'pseudo-inverse' 统一译为 '广义逆矩阵',但术语表及通用计量/线性代数文献中更常见的译法是 '伪逆'或'伪逆矩阵'。虽然这不是错误译法,但该行内注释('中文语境下...')是面向译者的元注释,混入正文构成冗余信息,可能让读者困惑。 → 删除该行内译者注释,直接使用译名,不在正文中保留解释该选择的元评论。
  • [minor · fluency] lectures/measurement_models.md — ## 总结: '这使得这三个报告序列在随机意义上是退化的(stochastically singular)' 中英文术语夹杂使用括注英文,与文中其他地方直接使用中文译名(如'随机奇异性')不一致,显得不够统一。 → 改为 '这使得这三个报告序列呈现出随机奇异性(stochastic singularity)' 或直接使用前文已用过的译法 '随机奇异性',保持全文一致。
  • [nit · terminology] lectures/var_dmd.md — ### Computing $X^+$ with an SVD: 标题译为'用 SVD 计算 $X^+$',与术语表中'Singular Value Decomposition → 奇异值分解'的全称用法略有不同,但此处用缩写 SVD 与英文原文一致,属于可接受的简化,非错误。 → 无需修改,仅作记录。

🔍 Diff Quality

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

Summary: Both target documents correctly mirror the source's new content (new exercises, Granger-causality section, VAR/DMD exercises, rewritten intro) in the same relative positions, preserve document/heading structure, and update the translation heading-maps appropriately for both files.

Issues:

  • In measurement_models.md, the translated document moved the ### Computing coefficients in a Wold moving average representation subsection before the blank-line separator was removed (minor whitespace-only diff, not a positional issue) - not a real problem, just noting the extra blank line removal matches source.
  • The new 'Exercises' top-level heading and its translation '练习' were correctly added to both documents' translation maps, consistent with new source content.

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

var_dmd.md uses two different Chinese terms for the same concept in two places (高瘦型 vs 瘦高 for m≫n, and 肘部法则 vs 拐点法则 for the "elbow rule"), which should be unified for consistency.

2 open issues
What changed in this PR

This is an automated translation-sync PR that propagates upstream English edits (from QuantEcon/lecture-python.myst PR #1055) into the Chinese edition of three lectures. The upstream changes correct math, restructure var_dmd.md around a reduced-rank VAR / DMD-algorithm narrative, and add worked exercises to var_dmd.md and measurement_models.md. The PR keeps the translated content in structural lock-step with the source, updates the per-file translation state metadata, and adds the new bibliography entries the lectures now cite.

Changes:

  • Re-translate and restructure var_dmd.md (new sections: reduced-rank VAR, DMD algorithm, left/right eigenvectors, state-space representation, long-run responses, simulated example, exercises) and add math corrections + exercises to measurement_models.md; minor punctuation/term polish in svd_intro.md.
  • Add five bib entries (Geweke1982, sargent2026dynamic, SSY_CEX_2026, stock_watson2002, anderson1951) backing the newly cited works.
  • Refresh .translate/state/*.yml metadata (source-sha, synced-at, model, mode, section-count, tool-version).
File Description
lectures/​var_dmd.md Full re-translation/restructuring with new DMD sections and exercises; headings map updated to match body
lectures/​measurement_models.md Math-correction edits, timing-convention relabeling (ε→w), and three new exercises with solutions
lectures/​svd_intro.md Minor term cleanup and full-width punctuation fixes
lectures/​_static/​quant-econ.bib Adds 5 references cited by the updated lectures
.translate/​state/​var_dmd.md.yml Sync-state metadata update (mode UPDATE, section-count 10)
.translate/​state/​svd_intro.md.yml Tool-version bump
.translate/​state/​measurement_models.md.yml Sync-state metadata update (mode UPDATE, section-count 8)

Review effort: Balanced

Comment thread lectures/var_dmd.md Outdated
公式 {eq}`eq:Ahatform101` 的右边正比于 $X_{t+1}$ 和 $X_t$ 的经验交叉二阶矩矩阵,乘以 $X_t$ 的二阶矩矩阵的逆。

**高瘦型情况:**
**瘦高情形:**
Comment thread lectures/var_dmd.md
```

将等式 {eq}`eq:APhiLambda` 两边的 $m \times 1$ 向量对应项相等得到:
奇异值在 $j = 1, 2, 3$ 时迅速下降,随后趋于平稳,因此按照拐点法则,我们将 $r$ 设为 3。
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request October 22, 2026 03:59 Inactive
mmcky and others added 2 commits October 22, 2026 15:04
The resync of QuantEcon/lecture-python.myst#1055 regenerates all three of
its lectures, but svd_intro.md was delivered by #303 from the same
English. Applying #1055's changes again altered 9 lines of a translation
that was already current, so svd_intro.md and its state file go back to
main's versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The resync translated the rewritten sections of
QuantEcon/lecture-python.myst#1055 afresh, so the conventions Songyi Wang
and Humphrey Yang set in their 2025 review of this lecture did not
survive. Restored, text only (structure unchanged: 992 lines, 16 headings,
28 directives, 88 math lines, 12 code cells, 2 links):

- pseudo-inverse is 广义逆矩阵 and Moore-Penrose is 穆尔-彭罗斯 (7 lines),
  with the reviewers' Baidu Baike link and their note on the choice;
- the case labels are 短胖型情况 and 高瘦型情况, and tall-skinny is 高瘦型;
- reduced SVD is 简化 (the resync wrote 约化);
- a dimension before 矩阵 takes 的: `$m \times n$ 的矩阵` (18 places).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was previously deployed

1 inactive deployment
pull request — 91f3106c Deployed Oct 22, 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