Skip to content

🌐 [translation-sync] [Philips] Adding Tom's new section on Phillips Curve Tradeoffs#202

Merged
mmcky merged 23 commits into
mainfrom
translation-sync-2026-07-23T21-54-12-pr-992
Jul 24, 2026
Merged

🌐 [translation-sync] [Philips] Adding Tom's new section on Phillips Curve Tradeoffs#202
mmcky merged 23 commits into
mainfrom
translation-sync-2026-07-23T21-54-12-pr-992

Conversation

@mmcky

@mmcky mmcky commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

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

Source PR

#992 - [Philips] Adding Tom's new section on Phillips Curve Tradeoffs

Files Added

  • lectures/phillips_adaptive.md
  • .translate/state/phillips_adaptive.md.yml
  • lectures/phillips_credibility.md
  • .translate/state/phillips_credibility.md.yml
  • lectures/phillips_drifts_volatilities.md
  • .translate/state/phillips_drifts_volatilities.md.yml
  • lectures/phillips_escaping_nash.md
  • .translate/state/phillips_escaping_nash.md.yml
  • lectures/phillips_learning.md
  • .translate/state/phillips_learning.md.yml
  • lectures/phillips_misspecified.md
  • .translate/state/phillips_misspecified.md.yml
  • lectures/phillips_priors.md
  • .translate/state/phillips_priors.md.yml
  • lectures/phillips_self_confirming.md
  • .translate/state/phillips_self_confirming.md.yml
  • lectures/phillips_two_stories.md
  • .translate/state/phillips_two_stories.md.yml

Files Updated

  • ✏️ lectures/_toc.yml

Details

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

This PR was created automatically by the translation action.

Copilot AI review requested due to automatic review settings July 23, 2026 21:54
@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Jul 23, 2026
@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit cbd0d22
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/6a62d0eb00222a0008523eae
😎 Deploy Preview https://deploy-preview-202--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 Jul 23, 2026

Copy link
Copy Markdown

✅ Translation Quality Review

Verdict: PASS | Model: claude-sonnet-5 | Date: 2026-07-24
Routing: editor — 3 minor finding(s) in gating categories (accuracy/terminology/syntax/diff-check/other)


📝 Translation Quality

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

Summary: 这是一份高质量的经济学学术翻译,准确、流畅地传达了原文关于菲利普斯曲线权衡关系系列讲座的复杂概念,包括自适应预期、自我确认均衡、逃逸动态等专业内容。术语翻译在跨文档间保持了高度一致性,数学和代码格式完整无损。仅存在少量可优化的地方,包括个别长句的直译痕迹以及术语细微区分的建议,但均属风格性问题,不影响整体理解和学术准确性。 术语翻译高度一致,尤其是跨多篇讲座反复出现的核心概念(如'菲尔普斯问题'、'自我确认均衡'、'归纳假设'、'逃逸动态'、'预期效用'等)保持了统一且准确的译法 数学公式、LaTeX 环境、代码块及 MyST 指令(如 {prf:proposition}、{code-cell}、{exercise-start} 等)均完整保留,未出现格式破坏或语法错误 长难句的处理总体流畅,专业术语的语境化翻译得当(如 'sacrifice ratios' → '牺牲率'、'self-confirming equilibrium' → '自我确认均衡'),体现了译者对宏观经济学和计量经济学专业背景的掌握 标题的中文翻译准确传达了原文的学术意涵,同时保持了适当的学术语域,'The Rise and Fall of U.S. Inflation' → '美国通货膨胀的兴衰'等标题翻译精炼恰当

Suggestions:

  • [minor · terminology] lectures/phillips_learning.md — 标题:Adaptive Learning and Escape Dynamics: 英文标题 'Adaptive Learning and Escape Dynamics' 被翻译为 '适应性学习与逃逸动态',而在 phillips_priors.md 和 phillips_escaping_nash.md 等相关讲座中,'escape dynamics' 也被一致地译为 '逃逸动态',这是恰当的;但在部分小节标题(如 'Escape frequency and model richness' → '逃逸频率与模型丰富度')中用词与其他章节的 '逃逸路径' 等表达略有交叉使用,建议在术语表中固定 'escape dynamics' → '逃逸动态' 与 'escape route/path' → '逃逸路径' 的区分,以避免读者混淆两个概念在不同讲座间的对应关系。 → 统一区分:escape dynamics→逃逸动态(描述整体动力学过程),escape route/path→逃逸路径(描述具体路径),并在术语表中注明。
  • [minor · fluency] lectures/phillips_drifts_volatilities.md — ## 数据揭示了什么 > ### 漂移的速率与结构: 部分长句(如包含多个从句和嵌套解释的句子)直译痕迹较重,读起来略显生硬,例如“这一限制也使 $Q$ 的边际先验向那些不太可能生成爆炸性系数路径的取值倾斜。”这类句子可以适当拆分或调整语序以提高可读性。 → 可考虑拆分为:“这一限制还会影响 $Q$ 的边际先验分布,使其更倾向于那些不容易产生爆炸性系数路径的取值。”
  • [minor · terminology] lectures/phillips_lost_conquest.md — ## 美联储的漂移系数信念: 'anticipated-utility' 在不同讲座中被翻译为“预期效用”,与标准计量经济学/决策理论术语“anticipated utility model”(Kreps 1998)一致,这个译法是准确的,但建议在首次出现时补充英文原词以便读者对照文献,如 phillips_learning.md 中已有此处理,其余讲座(如 phillips_lost_conquest.md)中也应保持一致标注。 → 在首次出现处标注英文原词,例如:“预期效用”(anticipated utility,Kreps 1998)。
  • [nit · fluency] lectures/phillips_two_stories.md — ## 1999 年之后的数据模式 > ### 延伸后的兴与衰: “这三片散点云的样貌几乎不可能相差更大”这句为直译,语义正确但稍显生硬,可以更符合中文表达习惯。 → 可改为:“这三组散点图的形态几乎可以说是天壤之别。”

🔍 Diff Quality

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

Summary: All checks pass: the translation sync correctly scoped, positioned, and structured the translated content across all ten lecture files, with accurate heading-map translations in the frontmatter.


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.

Pull request overview

This translation-sync PR adds a new “Phillips Curve Tradeoffs” lecture sequence to the zh-cn JupyterBook and updates the global table of contents to surface the new material.

Changes:

  • Adds multiple new translated lecture pages (lectures/phillips_*.md) covering the Phillips-curve tradeoffs sequence.
  • Adds corresponding translation state files under .translate/state/ for the new pages.
  • Updates lectures/_toc.yml to add a new “Phillips Curve Tradeoffs” part and reorganize/retitle several TOC parts.

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
lectures/phillips_two_stories.md New translated lecture introducing the two interpretive “stories” and extending some figures past 1999
lectures/phillips_credibility.md New translated lecture on credibility, Nash vs Ramsey outcomes, and learning dynamics
lectures/phillips_adaptive.md New translated lecture on adaptive expectations and the Phelps control problem
lectures/phillips_misspecified.md New translated lecture on optimal misspecification using Bray-style forecasting models
lectures/phillips_self_confirming.md New translated lecture on self-confirming equilibria and fit-direction effects
lectures/phillips_learning.md New translated lecture on recursive least squares learning, constant gain, and escape dynamics
lectures/phillips_escaping_nash.md New translated lecture giving an analytic characterization of escape dynamics (CWS)
lectures/phillips_priors.md New translated lecture on how priors reshape convergence, cycles, and escape behavior
lectures/phillips_drifts_volatilities.md New translated lecture (file present in checkout) referenced by the new Phillips Curve Tradeoffs part
lectures/_toc.yml TOC reorganization and insertion of a Phillips Curve Tradeoffs part
lectures/phillips_lost_conquest.md Referenced by TOC and cross-links but missing from the current checkout, which will break the build
.translate/state/phillips_two_stories.md.yml Translation sync state for phillips_two_stories
.translate/state/phillips_credibility.md.yml Translation sync state for phillips_credibility
.translate/state/phillips_adaptive.md.yml Translation sync state for phillips_adaptive
.translate/state/phillips_misspecified.md.yml Translation sync state for phillips_misspecified
.translate/state/phillips_self_confirming.md.yml Translation sync state for phillips_self_confirming
.translate/state/phillips_learning.md.yml Translation sync state for phillips_learning
.translate/state/phillips_escaping_nash.md.yml Translation sync state for phillips_escaping_nash
.translate/state/phillips_priors.md.yml Translation sync state for phillips_priors
.translate/state/phillips_drifts_volatilities.md.yml Translation sync state for phillips_drifts_volatilities
.translate/state/phillips_lost_conquest.md.yml Expected due to TOC/cross-links but missing from the current checkout
Comments suppressed due to low confidence (2)

lectures/phillips_learning.md:713

  • 同一段落再次使用了未翻译的 econometric,并与前文“计量经济学政策评估的平反”表述不一致。建议统一术语,避免中英混排造成阅读割裂。
然而,正如模拟所示,这种对理性的适度偏离已足以对美国通货膨胀的兴衰给出一个丰富的解释,并为"econometric 政策评估的证明"提供支撑。

lectures/phillips_learning.md:725

  • 这里的“证明 econometric 政策评估的基础”存在未翻译术语且措辞与前文“平反”不一致。建议将 econometric 翻译为“计量经济学”,并统一为同一叙述口径。
在这个意义上,适应性模型包含了证明 econometric 政策评估的基础——这正是 {doc}`phillips_two_stories` 中两个故事的第二个。

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

Comment thread lectures/_toc.yml
root: intro
parts:
- caption: 基础工具
- caption: Tools and Techniques
Comment thread lectures/_toc.yml
- file: kalman
- file: kalman_2
- file: kalman_filter_var
- file: kalman_filter_var
* 若采用实现最小二乘法的*递减*增益,均值动态会将经济拉向自我确认均衡,我们不会得到什么新结果:系统被困在纳什结果附近。
* 若采用*常数*增益,主体会对过去数据打折扣,收敛被阻止,**新的结果便会涌现**。系统会反复地从自我确认均衡*逃逸*向拉姆齐(零通胀)结果——这种自发的稳定化现象,颇似沃尔克时代的到来。

这些逃逸正是 {doc}`phillips_two_stories` 中"econometric 政策评估的证明"故事的核心:一个学习索洛-托宾分布滞后版本自然率假说的适应性政府,会因偶然的观察结果而稳定住通货膨胀。
Comment thread lectures/_toc.yml
- file: phillips_learning
- file: phillips_escaping_nash
- file: phillips_priors
- file: phillips_lost_conquest
* {doc}`phillips_learning` —— 适应性学习、逃逸动态以及模拟的沃尔克稳定化过程(第八章)。
* {doc}`phillips_escaping_nash` —— 以分析方式刻画的逃逸动态({cite}`ChoWilliamsSargent2002`)。
* {doc}`phillips_priors` —— 政府关于漂移系数的先验如何影响收敛、循环与逃逸({cite}`SargentWilliams2005`)。
* {doc}`phillips_lost_conquest` —— 将同样的工具应用于 2020 年代的通货膨胀以及美联储的迟缓反应({cite}`SargentWilliams2025`)。
The sync for source PR #992 processed ten new lectures; nine succeeded and
lectures/phillips_lost_conquest.md failed the structural parity check with its
directive sequence scrambled and the (phillips_lost_conquest)= anchor dropped.
The run committed _toc.yml naming it anyway, and four of the nine siblings
cross-reference it, so the build failed with six dangling references
(QuantEcon/action-translation#156).

Retranslated with the v0.23.0 CLI against the same source commit (370a58f) and
the same 357-term glossary. The CLI output needed the wrapper repaired by hand:
both attempts wrapped the whole document in a bare code fence and derived
translation.title from a figure caption rather than the H1, which is
QuantEcon/action-translation#118 still reproducing at v0.23.0. The body itself
was sound in both runs; only the frontmatter/fence wrapper was rebuilt, to match
the convention the nine sibling files already use.

Validated against the English source: directive sequence 28/28 in order,
anchors, heading count and levels, code-cell count, display-math count, fence
balance, and every {doc}/{cite} link target identical. section-count 7 matches
the H2 count, consistent with the siblings.
@mmcky

mmcky commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

Status note — this PR was red for two independent reasons, neither of them a translation-quality problem. One is now fixed here; the other needs #203 to merge first.

The review above returned PASS with diff quality 10/10, which is accurate about the nine lectures it looked at and misleading about the PR as a whole. Recorded as QuantEcon/action-translation#157.

1. The tenth lecture was missing — fixed in this PR

The sync run processed ten new lectures. Nine succeeded. lectures/phillips_lost_conquest.md failed the structural parity check — correctly; it came back with its directive sequence scrambled and the (phillips_lost_conquest)= anchor dropped — and the run filed QuantEcon/lecture-python.myst#993. It then committed _toc.yml naming that lecture anyway, which is QuantEcon/action-translation#156.

That is worse than one absent file, because four of the nine siblings cross-reference it:

Location Warning
lectures/intro.md toctree contains reference to nonexisting document
lectures/phillips_drifts_volatilities.md:67, :2990 unknown document
lectures/phillips_priors.md:523 unknown document
lectures/phillips_two_stories.md:90, :539 unknown document

The lecture has now been retranslated with the v0.23.0 CLI against the same source commit (370a58f) and the same 357-term glossary, and pushed here. Its wrapper needed repairing by hand — both CLI attempts wrapped the document in a bare code fence and derived the title from a figure caption (QuantEcon/action-translation#118, still live at v0.23.0) — but the translated body was sound in both runs and only the frontmatter was rebuilt.

Validated against the English source: directive sequence 28/28 in order, anchors, heading count and levels, code-cell count, display-math count, fence balance, and every {doc}/{cite} link target identical.

2. Shared assets never crossed — needs #203

Upstream #992 also changed lectures/_static/quant-econ.bib and added a data file, and neither is in the sync workflow's watched paths. That produced 57 distinct could not find bibtex key warnings, fatal under -W, plus a FileNotFoundError from the cell that loads NEWQDATA.csv and a consequent undefined label for the figure that cell would have produced. Long-standing gap: QuantEcon/action-translation#117.

#203 backfills all 70 bibliography entries this edition was behind, plus the data file. This PR will not go green until #203 merges and this branch picks it up — all seven keys cited by the new tenth lecture are in that backfill too.

Suggested order

  1. Merge Backfill shared assets the sync path does not carry (bibliography + Phillips data file) #203
  2. Rebase or update this branch
  3. Re-run CI, and re-review — the review that produced the verdict above never saw the tenth lecture

The nine original translations have not been touched.

mmcky added a commit that referenced this pull request Jul 24, 2026
The translation sync workflow watches lectures/**/*.md and lectures/_toc.yml,
so shared assets referenced *by* lectures never cross from the English source.
This edition's bibliography had drifted 70 entries behind upstream, and the
gap only surfaces when a newly-synced lecture happens to cite a missing key.

PR #202 (the Phillips Curve series) cites 57 keys that were absent here, and
lectures/phillips_drifts_volatilities.md loads a data file that raises
FileNotFoundError by design when it cannot be found — which then cascades into
an undefined-label warning for the figure that cell would have produced.

Backfills all 70 missing upstream entries rather than only the 57 this PR
needs, so the next sync that adds a citation does not fail the same way, and
adds the missing NEWQDATA.csv asset. Additive only: the three target-only keys
cited by robust_permanent_income.md and theil_2.md are preserved.

Refs QuantEcon/action-translation#117
mmcky added 2 commits July 24, 2026 10:33
`translate init -f` injected `FONTPATH = "_fonts/SourceHanSerifSC-SemiBold.otf"`,
but this edition keeps the font at `lectures/fonts/` — the other 103 lectures
carrying font config all use `fonts/`. `addfont()` raises FileNotFoundError on a
missing path, so this would have failed the build on the one lecture that needs
the font most: it carries 14 translated plot labels.

This is QuantEcon/action-translation#141's hard-coded font path, still live at
v0.23.0. Also aligns `mpl.rcParams` to the `plt.rcParams` the rest of the
edition uses; both mutate the same object, so that half is cosmetic.

Worth recording for whoever reviews this PR: the font block is correct here and
should not be removed. The AI review flagged it as a blocker ("unauthorized
insertion ... out of scope for a translation task"), but the lecture's figures
are labelled in Chinese and would render as tofu without it. The nine sibling
lectures have no font block because the *sync* path applies no localisation at
all — it also leaves their plot labels in English — which is a divergence
between the sync and init paths rather than a defect in this file.
mmcky added a commit that referenced this pull request Jul 24, 2026
…#204)

pybtex refuses to parse a bibliography containing a repeated key, and this file
has carried three of them — GilboaSchmeidler:1989, Whittle_1981 and Whittle_1990
each appear twice, once indented in the main body and once unindented near the
end. The two copies of each are byte-identical apart from leading whitespace.

The effect is total rather than local: `parse_file` raises
`BibliographyDataError: repeated bibliography entry` and no bibliography is
built, so *every* {cite} in the edition fails to resolve. That is what the
"could not find bibtex key" warnings on #202 actually are — the keys are present
in the file, but nothing ever parsed it. The 70 entries backfilled in #203 were
correct and could never have taken effect while this stood.

Predates #203: the same three duplicates and the same parse error are present at
693aa63, before that PR.

Verified: pybtex now parses 480 entries, and all 61 keys the #202 build reported
missing resolve, as do the three formerly-duplicated ones.

Removes the later copy of each; the earlier copy in the main body is kept.
@github-actions

Copy link
Copy Markdown

@mmcky
mmcky merged commit 84fbaca into main Jul 24, 2026
7 checks passed
@mmcky
mmcky deleted the translation-sync-2026-07-23T21-54-12-pr-992 branch July 24, 2026 04:09
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