Skip to content

🌐 [translation-sync] Add Job Search V lecture on risk-sensitive preferences - #242

Closed
mmcky wants to merge 3 commits into
mainfrom
translation-sync-2026-08-05T23-15-41-pr-760
Closed

🌐 [translation-sync] Add Job Search V lecture on risk-sensitive preferences#242
mmcky wants to merge 3 commits into
mainfrom
translation-sync-2026-08-05T23-15-41-pr-760

Conversation

@mmcky

@mmcky mmcky commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

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

Source PR

#760 - Add Job Search V lecture on risk-sensitive preferences

Files Added

  • lectures/mccall_risk.md
  • .translate/state/mccall_risk.md.yml

Files Updated

  • ✏️ lectures/career.md
  • ✏️ .translate/state/career.md.yml
  • ✏️ lectures/jv.md
  • ✏️ .translate/state/jv.md.yml
  • ✏️ lectures/mccall_persist_trans.md
  • ✏️ .translate/state/mccall_persist_trans.md.yml
  • ✏️ lectures/mccall_q.md
  • ✏️ .translate/state/mccall_q.md.yml
  • ✏️ lectures/odu.md
  • ✏️ .translate/state/odu.md.yml
  • ✏️ 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 lite review requested due to automatic review settings August 5, 2026 23:15
@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Aug 5, 2026
@netlify

netlify Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit 98393f8
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/6a753626ed22bb000918908e
😎 Deploy Preview https://deploy-preview-242--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 Aug 5, 2026

Copy link
Copy Markdown

✅ Translation Quality Review

Verdict: PASS | Model: claude-sonnet-5 | Date: 2026-08-05
Routing: editor — 2 minor finding(s) in gating categories (accuracy/terminology/syntax/diff-check/other); terminology 8 below floor 9
Shadow gate: would NOT auto-merge (recorded only; no action taken)


📝 Translation Quality

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

Summary: 整体翻译质量较高,术语使用基本统一且符合参考词汇表,格式和代码块保存完整。主要问题集中在 mccall_risk.md 文件中反复出现的'薜水'错别字(应为'薪水'),这是一个需要修正的术语一致性问题;此外 Implementation 标题翻译在不同文件间略有不一致。未发现严重的markdown语法错误或意义偏差。 数学公式和代码块基本完整保留,未破坏 LaTeX 或代码语法 专业术语翻译(如'贝尔曼算子'、'保留工资'、'蒙特卡洛'等)与术语表高度一致 中文标点符号使用规范,行文流畅自然,符合学术文本风格

Suggestions:

  • [minor · fluency] lectures/mccall_risk.md — ### How does the reservation wage vary with $\theta$?: 标题翻译中出现了错别字,'薜水' 应为 '薪水',这个错误在整段中重复出现多次(保留薜水、保留薪水等)。 → 将所有 '薜水' 替换为 '薪水'
  • [minor · terminology] lectures/mccall_risk.md — frontmatter translation.headings: YAML frontmatter中的标题翻译 'Back to job search::How does the reservation wage vary with $\theta$?': '保留薜水如何随 $\theta$ 变化?' 同样包含'薜水'错别字,与正文标题不一致会影响标题匹配同步。 → 改为 '保留薪水如何随 $\theta$ 变化?'
  • [minor · fluency] lectures/career.md — ## 实现: '并限制迭代步数上限,以确保循环总能终止' 中 '步数上限' 表达略显冗余,但整体可读,不影响理解。 → 可简化为 '并限制迭代步数,以确保循环总能终止'
  • [minor · accuracy] lectures/jv.md — ## 概述: 英文原文 'Model' 一节被译为 '模型实现' 作为标题的翻译映射,但正文中该章节的中文标题是 '模型实现' 而不是与英文 'Implementation' 完全对应的简单直译,虽然可以接受,但在frontmatter的headings映射中 'Implementation: 模型实现' 与其它讲义中 'Implementation: 实现' 不一致,造成术语不统一。 → 统一使用 '实现' 作为 Implementation 的翻译,与其他讲义保持一致

🔍 Diff Quality

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

Summary: All lecture renumbering changes and the new risk-sensitive preferences lecture are correctly synced to the Chinese translation with matching titles, positions, and heading-maps.


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 PR syncs zh-CN translations from QuantEcon/lecture-python.myst, adding the new “Job Search V” lecture on risk-sensitive preferences and renumbering subsequent job-search lectures, alongside corresponding translation state updates and TOC adjustments.

Changes:

  • Added new lecture lectures/mccall_risk.md (风险敏感型偏好) and its translation state.
  • Renumbered several existing Job Search lecture titles/headings (career / jv / odu / mccall_q / mccall_persist_trans) to account for the inserted lecture.
  • Updated lectures/_toc.yml to include the new lecture (and additional new entries).

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
lectures/mccall_risk.md New translated lecture content for risk-sensitive preferences in job search.
lectures/_toc.yml Adds the new lecture to the Search part and updates other TOC entries.
lectures/mccall_persist_trans.md Renumbers lecture title/header (V → VI) and updates jupytext metadata.
lectures/career.md Renumbers lecture title/header (VI → VII).
lectures/jv.md Renumbers lecture title/header and index label (VII → VIII).
lectures/odu.md Renumbers lecture title/header (VIII → IX) and minor formatting cleanup.
lectures/mccall_q.md Renumbers lecture title/header (IX → X) and adjusts translation heading keys.
.translate/state/mccall_risk.md.yml Adds translation state for the new lecture.
.translate/state/odu.md.yml Updates translation sync metadata (source SHA, date, tool version, mode).
.translate/state/mccall_q.md.yml Updates translation sync metadata (source SHA, date, tool version, mode).
.translate/state/mccall_persist_trans.md.yml Updates translation sync metadata (source SHA, date, tool version, mode).
.translate/state/jv.md.yml Updates translation sync metadata (source SHA, date, tool version).
.translate/state/career.md.yml Updates translation sync metadata (source SHA, date, tool version).
Suppressed comments (12)

lectures/_toc.yml:72

  • _toc.yml 新增的 var_subsets 在当前仓库中不存在(未找到 lectures/var_subsets*),会导致 JupyterBook 在构建 TOC 文件时失败。请补齐对应讲义文件,或先从 TOC 注释/移除该条目。
  - file: kalman_filter_var
  - file: var_subsets
  - file: organization_capital

lectures/_toc.yml:124

  • _toc.yml 新增的 lq_robust_bewley 在当前仓库中不存在(未找到 lectures/lq_robust_bewley*),在当前 TOC 构建模式下会导致构建失败。请补齐对应讲义文件或先注释/移除该条目。
  - file: lq_bewley_complete_markets
  - file: lq_robust_smoothing
  - file: lq_robust_bewley
  - file: lq_inventories

lectures/_toc.yml:131

  • _toc.yml 新增的 learning_approximation 在当前仓库中不存在(未找到 lectures/learning_approximation*),会导致文档构建失败。请补齐对应讲义文件或先注释/移除该条目。
  - file: bounded_rationality
  - file: olg_adaptive_money
  - file: learning_approximation
  - file: exchange_rate_learning

lectures/_toc.yml:194

  • _toc.yml 新增的 sargent_surico 在当前仓库中不存在(未找到 lectures/sargent_surico*),会导致文档构建失败。请补齐对应讲义文件或先注释/移除该条目。
  - file: mle
  - file: unemployment_linear
  - file: unemployment_shocks
  - file: sargent_surico
- caption: Auctions

lectures/mccall_risk.md:58

  • 这里的“更高薜水条件”应为“更高工资条件”(同系列工作搜寻讲义均使用“工资”)。建议全文统一替换“薜水”为“工资”。
在现实世界中与工作相关的决策里,个人和家庭都会关心风险。

例如,某些人可能更愿意接受已经拿到手的一个中等程度的录用条件,而不愿冒险等待下一期可能出现的更高薜水条件,即便未来收益不做贴现处理。

(俗话说,双鸟在林不如一鸟在手。)

lectures/mccall_risk.md:353

  • 本段出现“马尔可夫薜水抽取”“薜水报价过程”等表述,建议统一更正为“工资”(对齐本仓库其他工作搜寻讲义常用术语)。
在 {doc}`mccall_fitted_vfi` 讲座中,我们研究了一个具有职位分离、马尔可夫薜水抽取以及拟合值函数迭代的工作搜寻模型。

薜水报价过程是连续的,服从

lectures/mccall_risk.md:385

  • 这里的“保留薜水”建议更正为“保留工资”,并与后文其它同类表述保持一致。
其余部分模型保持不变。

现在我们求解该动态规划问题,并研究 $\theta$ 对保留薜水的影响。

### 设置

lectures/mccall_risk.md:531

  • 此处的“保留薜水”应统一为“保留工资”,以避免术语不一致。

以下函数接收一个 `Model` 实例,并返回相关的保留薜水。

```{code-cell} ipython3

lectures/mccall_risk.md:572

  • 小节标题与正文中多处使用“保留薜水”,应统一为“保留工资”(本仓库其他工作搜寻讲义如 mccall_fitted_vfi.md 采用“保留工资”术语)。
### 保留薜水如何随 $\theta$ 变化?

现在让我们考察随着我们改变风险规避参数,保留薜水如何变化。

lectures/mccall_risk.md:615

  • 这段解释中的“保留薜水 / 更低的薜水”应统一为“保留工资 / 更低的工资”,以避免错别字与术语不一致。
随着 $\theta$ 变得不那么负(趋向于零),保留薜水随之增大

等价地说,随着主体变得更加风险规避($\theta$ 更负),保留薜水会下降。

原因是,一个更为风险规避的主体,相对于继续搜寻的不确定未来前景,更加看重就业所带来的确定性收入。

因此,他们愿意接受更低的薜水以摆脱失业状态。

lectures/mccall_risk.md:623

  • 练习描述中再次出现“保留薜水”,建议统一更正为“保留工资”。
利用模拟方法研究长期失业率如何随 $\theta$ 变化。

使用前一节中的参数,我们在那里研究了保留薜水如何随 $\theta$ 变化。

lectures/mccall_risk.md:748

  • 这里的“保留薜水”建议统一更正为“保留工资”,以保持术语一致并避免错别字。
我们看到,随着主体变得更加风险规避($\theta$ 更负),失业率会下降。

这是因为更为风险规避的工人拥有更低的保留薜水,因此他们会接受更广泛范围的工作机会。

结果,他们在寻找更好机会时所花费的失业等待时间也就更少。

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

Comment thread lectures/_toc.yml Outdated
Comment on lines +51 to +52
- file: pricing_information
- file: market_diffusion
Comment thread lectures/mccall_risk.md Outdated
Back to job search: 回到工作搜寻问题
Back to job search::Setup: 设置
Back to job search::Bellman equations: 贝尔曼方程
Back to job search::How does the reservation wage vary with $\theta$?: 保留薜水如何随 $\theta$ 变化?
Comment thread lectures/mccall_risk.md Outdated
Comment on lines +430 to +449
$$
v_e(w) =
\frac{1}{1-\beta(1-\alpha)} \cdot (u(w) + \alpha\beta(P_\theta v_u)(w))
$$

我们将其代入失业主体的贝尔曼方程中,得到:

$$
v_u(w) =
\max
\left\{
\frac{1}{1-\beta(1-\alpha)} \cdot (u(w) + \alpha\beta(P_\theta v_u)(w)),
u(c) + \beta(P_\theta v_u)(w)
\right\}
$$

我们使用值函数迭代来求解 $v_u$。

然后我们计算最优策略:如果 $v_e(w) ≥ u(c) + β(P_\theta v_u)(w)$,则接受

Comment thread lectures/mccall_risk.md Outdated
```{code-cell} ipython3
:tags: [hide-output]

!pip install quantecon
@mmcky mmcky closed this Aug 7, 2026
@mmcky
mmcky force-pushed the translation-sync-2026-08-05T23-15-41-pr-760 branch from 5e69b97 to b26e250 Compare August 7, 2026 01:34
@mmcky

mmcky commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

♻️ Automatically rebased after #230 was merged.

Overlapping files: lectures/_toc.yml

The translation content is preserved; only unchanged sections were updated to match the current main branch. Please re-review if needed.

@mmcky

mmcky commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Preserving the CI diagnosis so it isn't lost with the close. The preview failure had two parts. (1) Cross-PR ToC coupling plus missing bib keys — resolved estate-wide since #230/#231 merged. (2) A genuine CellExecutionError in mccall_risk that is not a translation defect: all 13 code cells are byte-identical to the English source in non-comment content, and environment.yml matches source exactly. The execution-report artifact expired before it could be read, so the actual exception is unknown. When a future sync re-proposes mccall_risk, pull _build/jupyter/reports/mccall_risk.err.log from the failing run's artifact promptly. The branch (translation-sync-2026-08-05T23-15-41-pr-760) carries a repaired ToC/bib state if reopening is ever preferred.

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