🌐 [translation-sync] [Philips] Adding Tom's new section on Phillips Curve Tradeoffs#202
Conversation
✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Translation Quality ReviewVerdict: PASS | Model: claude-sonnet-5 | Date: 2026-07-24 📝 Translation Quality
Summary: 这是一份高质量的经济学学术翻译,准确、流畅地传达了原文关于菲利普斯曲线权衡关系系列讲座的复杂概念,包括自适应预期、自我确认均衡、逃逸动态等专业内容。术语翻译在跨文档间保持了高度一致性,数学和代码格式完整无损。仅存在少量可优化的地方,包括个别长句的直译痕迹以及术语细微区分的建议,但均属风格性问题,不影响整体理解和学术准确性。 术语翻译高度一致,尤其是跨多篇讲座反复出现的核心概念(如'菲尔普斯问题'、'自我确认均衡'、'归纳假设'、'逃逸动态'、'预期效用'等)保持了统一且准确的译法 数学公式、LaTeX 环境、代码块及 MyST 指令(如 {prf:proposition}、{code-cell}、{exercise-start} 等)均完整保留,未出现格式破坏或语法错误 长难句的处理总体流畅,专业术语的语境化翻译得当(如 'sacrifice ratios' → '牺牲率'、'self-confirming equilibrium' → '自我确认均衡'),体现了译者对宏观经济学和计量经济学专业背景的掌握 标题的中文翻译准确传达了原文的学术意涵,同时保持了适当的学术语域,'The Rise and Fall of U.S. Inflation' → '美国通货膨胀的兴衰'等标题翻译精炼恰当 Suggestions:
🔍 Diff Quality
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. |
There was a problem hiding this comment.
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.ymlto 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.
| root: intro | ||
| parts: | ||
| - caption: 基础工具 | ||
| - caption: Tools and Techniques |
| - file: kalman | ||
| - file: kalman_2 | ||
| - file: kalman_filter_var | ||
| - file: kalman_filter_var |
| * 若采用实现最小二乘法的*递减*增益,均值动态会将经济拉向自我确认均衡,我们不会得到什么新结果:系统被困在纳什结果附近。 | ||
| * 若采用*常数*增益,主体会对过去数据打折扣,收敛被阻止,**新的结果便会涌现**。系统会反复地从自我确认均衡*逃逸*向拉姆齐(零通胀)结果——这种自发的稳定化现象,颇似沃尔克时代的到来。 | ||
|
|
||
| 这些逃逸正是 {doc}`phillips_two_stories` 中"econometric 政策评估的证明"故事的核心:一个学习索洛-托宾分布滞后版本自然率假说的适应性政府,会因偶然的观察结果而稳定住通货膨胀。 |
| - 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.
|
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 PRThe sync run processed ten new lectures. Nine succeeded. That is worse than one absent file, because four of the nine siblings cross-reference it:
The lecture has now been retranslated with the v0.23.0 CLI against the same source commit ( 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 2. Shared assets never crossed — needs #203Upstream #992 also changed #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
The nine original translations have not been touched. |
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
`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.
…#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.
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.ymllectures/phillips_credibility.md.translate/state/phillips_credibility.md.ymllectures/phillips_drifts_volatilities.md.translate/state/phillips_drifts_volatilities.md.ymllectures/phillips_escaping_nash.md.translate/state/phillips_escaping_nash.md.ymllectures/phillips_learning.md.translate/state/phillips_learning.md.ymllectures/phillips_misspecified.md.translate/state/phillips_misspecified.md.ymllectures/phillips_priors.md.translate/state/phillips_priors.md.ymllectures/phillips_self_confirming.md.translate/state/phillips_self_confirming.md.ymllectures/phillips_two_stories.md.translate/state/phillips_two_stories.md.ymlFiles Updated
lectures/_toc.ymlDetails
This PR was created automatically by the translation action.