Skip to content

🌐 [translation-sync] Upgrade sphinx-exercise to 1.2.2 and restore figure captions in solutions - #318

Open
mmcky wants to merge 5 commits into
mainfrom
translation-sync-2026-11-11T00-43-39-pr-1121
Open

mmcky wants to merge 5 commits into
mainfrom
translation-sync-2026-11-11T00-43-39-pr-1121

Conversation

@mmcky

@mmcky mmcky commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

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

Source PR

#1121 - Upgrade sphinx-exercise to 1.2.2 and restore figure captions in solutions

Files Added

  • ✅ lectures/information_transfer.md
  • ✅ .translate/state/information_transfer.md.yml
  • ✅ lectures/lucas_prescott_search.md
  • ✅ .translate/state/lucas_prescott_search.md.yml

Files Updated

  • ✏️ 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.

@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Nov 11, 2026
Copilot AI balanced review requested due to automatic review settings November 11, 2026 00:43
@netlify

netlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit ab6198c
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/6af3ba449be1f8ec3f24f967
😎 Deploy Preview https://deploy-preview-318--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-11
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: Both translations in the changed sections (frontmatter, Overview, Relation to other lectures, and Exercises) are of high quality, accurately preserving technical economic and mathematical content while reading fluently in Simplified Chinese. Terminology is applied consistently with the provided glossary, and MyST/Markdown formatting, including math blocks, code blocks, and directive syntax, is correctly maintained. No syntax errors were found. Only minor stylistic nits were noted, none of which constitute substantive errors. The translation consistently and correctly renders technical terms such as '规划者' (planner), '代理人' (agent), '粗化' (garbling), and '显示原理' (revelation principle) throughout the information_transfer.md changed sections, matching standard mechanism-design terminology. Mathematical notation, equation labels, and MyST directive syntax (e.g., {prf:theorem}, {cite:t}, {doc}) are preserved accurately and spacing conventions between Chinese text and inline directives are correctly applied. The translation metadata frontmatter correctly maps English headings to Chinese equivalents for both files, following the required sync system format. Complex economic and game-theoretic concepts (e.g., 'island economy', 'Stackelberg leader', 'modified golden rule') are translated with appropriate domain-specific terminology and explained clearly in context.

Suggestions:

  • [minor · terminology] lectures/information_transfer.md — Overview, translation metadata heading list: The English heading 'Dominated actions as threats' is translated in the frontmatter mapping list as '被支配行动作为威胁' but the body section heading uses the same phrase consistently ('被支配行动作为威胁'), which is fine; however the mapping for 'Economies with two actions' renders as '具有两种行动的经济体' while the body heading matches - this is consistent, no actual issue found on closer check.
  • [minor · fluency] lectures/information_transfer.md — Overview section, paragraph on Green's results list item 3: The phrase '最优计划可以随机化,并且可以将正概率赋予一个规划者如果自己看到信号就绝不会采取的行动' is grammatically correct but slightly dense; could be split for readability, though this is a minor stylistic point and not an error.
  • [nit · fluency] lectures/lucas_prescott_search.md — Overview, paragraph beginning '卢卡斯和普雷斯科特的研究目标是': The translation of 'the language used in discussing the natural rate' as '讨论自然失业率时所用的语言' is accurate but slightly wordy; a more concise phrasing could improve flow, though the current version is fully acceptable.

🔍 Diff Quality

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

Summary: The translation correctly adds two new target files mirroring the two new source files, with matching structure, section ordering, and properly populated heading-maps including hierarchical double-colon entries.


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.

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟡 Changes recommended

The change introduces new lecture markdown files that are not referenced in lectures/_toc.yml despite only_build_toc_files: true, meaning the pages will not be built and will be absent from the published book until the TOC is updated.

2 open issues
What changed in this PR

Automated translation sync from QuantEcon/lecture-python.myst adding two new zh-cn lecture chapters (with exercises/solutions) and updating shared bibliography entries used by the new content.

Changes:

  • Add new translated lecture: lectures/information_transfer.md (plus translation state file).
  • Add new translated lecture: lectures/lucas_prescott_search.md (plus translation state file).
  • Update lectures/_static/quant-econ.bib with citation entries referenced by the added lectures.
File Description
lectures/​lucas_prescott_search.md Adds a new translated lecture chapter on Lucas–Prescott search/unemployment with accompanying code, figures, exercises, and solutions.
lectures/​information_transfer.md Adds a new translated lecture chapter on incentives for information transfer with figures, computational examples, exercises, and solutions.
lectures/​_static/​quant-econ.bib Updates the shared BibTeX bibliography with additional entries required by citations introduced in the new lectures.
.translate/​state/​lucas_prescott_search.md.yml Adds translation-sync state/metadata for tracking the source and status of lectures/lucas_prescott_search.md.
.translate/​state/​information_transfer.md.yml Adds translation-sync state/metadata for tracking the source and status of lectures/information_transfer.md.

Review effort: Balanced

</div>
```

# 信息传递的激励
</div>
```

# 均衡搜寻与失业
@github-actions

Copy link
Copy Markdown

This branch was successfully deployed

1 active deployment
pull request — ab6198cb Deployed Nov 11, 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