Skip to content

🌐 [translation-sync] heavy_tails: cite the Q-Q plot section rather than introduce it cold - #280

Merged
mmcky merged 4 commits into
mainfrom
translation-sync-2026-08-03T19-32-56-pr-815
Aug 10, 2026
Merged

mmcky merged 4 commits into
mainfrom
translation-sync-2026-08-03T19-32-56-pr-815

Conversation

@mmcky

@mmcky mmcky commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

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

Source PR

#815 - heavy_tails: cite the Q-Q plot section rather than introduce it cold

Files Updated

  • ✏️ lectures/heavy_tails.md
  • ✏️ .translate/state/heavy_tails.md.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 August 3, 2026 19:33
@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Aug 3, 2026
@netlify

netlify Bot commented Aug 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for playful-platypus-17d3bb ready!

Name Link
🔨 Latest commit 5baf8d7
🔍 Latest deploy log https://app.netlify.com/projects/playful-platypus-17d3bb/deploys/6a795de211621400080930d4
😎 Deploy Preview https://deploy-preview-280--playful-platypus-17d3bb.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 3, 2026 •

Copy link
Copy Markdown

✅ Translation Quality Review

Verdict: PASS | Model: claude-sonnet-5 | Date: 2026-08-10
Routing: editor — 2 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: 本次PR涉及的“矩方法”“Q-Q图”“练习”及“Q-Q图”(heavy_tails.md中的子节)章节翻译质量很高,准确传达了原文的统计学概念和推理过程,术语使用规范一致,格式和MyST语法保持完整,未发现阻断性或重大错误,仅有少量可优化的风格性表达。 对矩方法、Q-Q图、KS统计量等统计概念的术语翻译准确且与术语表高度一致(如“矩方法”“分位数”“科尔莫戈罗夫-斯米尔诺夫统计量”) 数学公式、代码块和MyST指令格式在翻译中完整保留,未出现语法错误 长句的拆分和重组符合中文学术写作习惯,可读性强,例如对Q-Q图分位数估计原理的解释部分

Suggestions:

  • [minor · terminology] lectures/fitting_distributions.md — ## Q-Q plots: 英文 'gamma' distribution consistently translated as '伽马分布',这是可以接受的常见译法,但在术语表中未收录,建议保持全文一致(已核实全文一致,无需改动)。
  • [minor · fluency] lectures/fitting_distributions.md — ## The method of moments, 'In effect we are asking...': “实际上,我们是在要求分布重现我们认为最重要的数据特征。”这句翻译准确,但稍显生硬,可以更符合中文表达习惯,例如“实际上,这相当于要求所选分布重现我们认为最重要的数据特征。”这是风格性建议,非错误。 → 实际上,这相当于要求所选分布重现我们认为最重要的数据特征。
  • [minor · accuracy] lectures/fitting_distributions.md — ## Exercises / fit_ex1 solution, 'The standard deviation is around half again the mean': 英文“around half again the mean”意为约为均值的1.5倍,译文“标准差约为均值的一倍半”准确传达了这一含义,未发现问题。

🔍 Diff Quality

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

Summary: The translation sync correctly added the qq_plots anchor and updated the cross-referencing paragraph in the same relative positions as the source, with no unnecessary heading-map changes needed since no new headings were introduced.


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 automated translation-sync PR updates the Chinese heavy_tails lecture to align with upstream wording, mainly revising the Q-Q plot introduction to reference prior material, and refreshes translation state metadata.

Changes:

  • Updated the “Q-Q图” subsection text to reference a previously introduced Q-Q plot section.
  • Refreshed translation sync state metadata (source-sha, synced-at, mode/tool-version).
  • Minor markdown/front-matter formatting normalization (blank lines, jupytext version, fence alignment).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
lectures/heavy_tails.md Revises the Q-Q plot subsection wording and adjusts minor formatting/front-matter fields.
.translate/state/heavy_tails.md.yml Updates translation sync bookkeeping (source SHA/date/mode/tool version).

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

Comment thread lectures/heavy_tails.md
Comment on lines +643 to +647
另一种视觉比较方式是{ref}`Q-Q图 <qq_plots>`,我们曾在 {doc}`fitting_distributions` 中介绍过。

在那里,我们将一个数据集与拟合于它的分布进行了比较,并将与45度线的偏离解读为拟合失败程度的诊断依据。

这里我们同样以正态分布作为参照进行比较,因为我们关心的是这些分布与正态分布的偏离程度。
mmcky added a commit that referenced this pull request Aug 10, 2026
Two repairs to the sync for QuantEcon/lecture-python-intro#814:

- _toc.yml: the sync overwrote the file with upstream's English version,
  reverting every part caption to English and adding entries for
  tax_smooth, msy_fishery and bayes_intro, none of which are translated
  here. Restored the translated toc and added just the one new entry,
  in the same position upstream uses.

- fitting_distributions.md: the translation dropped the (qq_plots)=
  anchor above the Q-Q plot section, while keeping the other two
  anchors. heavy_tails.md references it as {ref}`Q-Q图 <qq_plots>` in
  #280, which would fail to resolve without this.

Verified the anchor set now matches upstream exactly, and that heading
and code-cell counts already did (11 and 31).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
mmcky added a commit that referenced this pull request Aug 10, 2026
The sync for QuantEcon/lecture-python-intro#814 overwrote lectures/_toc.yml
with upstream's English version, reverting every part caption to English
and adding entries for tax_smooth, msy_fishery and bayes_intro, none of
which are translated here.

Restored the translated toc and added just the one new entry, in the same
position upstream uses.

The translation itself matches its source: same two anchors, 11 headings
and 31 code cells as upstream at dc63dac. The (qq_plots)= anchor belongs
to QuantEcon/lecture-python-intro#815 and is handled in #280.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
mmcky added a commit that referenced this pull request Aug 10, 2026
* Update translation: lectures/fitting_distributions.md

* Update translation: .translate/state/fitting_distributions.md.yml

* Update translation: lectures/_toc.yml

* FIX: restore the translated table of contents

The sync for QuantEcon/lecture-python-intro#814 overwrote lectures/_toc.yml
with upstream's English version, reverting every part caption to English
and adding entries for tax_smooth, msy_fishery and bayes_intro, none of
which are translated here.

Restored the translated toc and added just the one new entry, in the same
position upstream uses.

The translation itself matches its source: same two anchors, 11 headings
and 31 code cells as upstream at dc63dac. The (qq_plots)= anchor belongs
to QuantEcon/lecture-python-intro#815 and is handled in #280.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mmcky
mmcky force-pushed the translation-sync-2026-08-03T19-32-56-pr-815 branch from ed24a79 to 758f76b Compare August 10, 2026 05:13
@mmcky

mmcky commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

♻️ Automatically rebased after #279 was merged.

Overlapping files: lectures/fitting_distributions.md

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

@github-actions

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request August 10, 2026 05:19 Inactive
@mmcky
mmcky merged commit 6a03fd0 into main Aug 10, 2026
8 checks passed
@mmcky
mmcky deleted the translation-sync-2026-08-03T19-32-56-pr-815 branch August 10, 2026 05:48
mmcky added a commit that referenced this pull request Aug 10, 2026
The sync for QuantEcon/lecture-python-intro#819 declared lectures/prob_dist.md
in its metadata but emitted no diff for it, the same dropped-file fault seen
in #278 and #280. Upstream changed that file +7 -2, rewriting the outline to
introduce the three-lecture sequence.

Added the three sequence paragraphs to prob_dist.md, translated to match the
register this PR already uses for the same cross-links in
observed_distributions.md. Both {doc} targets are on main, so they resolve.

Upstream's edit replaces an earlier "A companion lecture" paragraph, but that
paragraph never reached this repo — it belongs to the wider prob_dist.md gap
from QuantEcon/lecture-python-intro#811, tracked in #290 — so the net change
here is an addition. prob_dist's state file is deliberately left untouched so
that gap stays flagged for resync.

Also rebased onto current main. observed_distributions.md and its state file
conflicted add/add against the copy #278 landed; both resolved in favour of
this branch, whose version is the strict superset — 903 lines against 785,
with 19 figure captions and both fitting_distributions cross-links that
main's older copy lacks.

Verified against upstream at a453cf5: same 2 anchors, 13 headings, 42 code
cells and 19 caption blocks, with no duplicate labels or figure names
repo-wide.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
mmcky added a commit that referenced this pull request Aug 10, 2026
* Update translation: lectures/mle.md

* Update translation: .translate/state/mle.md.yml

* Update translation: lectures/observed_distributions.md

* Update translation: .translate/state/observed_distributions.md.yml

* FIX: apply the dropped prob_dist.md half of the sequence linking

The sync for QuantEcon/lecture-python-intro#819 declared lectures/prob_dist.md
in its metadata but emitted no diff for it, the same dropped-file fault seen
in #278 and #280. Upstream changed that file +7 -2, rewriting the outline to
introduce the three-lecture sequence.

Added the three sequence paragraphs to prob_dist.md, translated to match the
register this PR already uses for the same cross-links in
observed_distributions.md. Both {doc} targets are on main, so they resolve.

Upstream's edit replaces an earlier "A companion lecture" paragraph, but that
paragraph never reached this repo — it belongs to the wider prob_dist.md gap
from QuantEcon/lecture-python-intro#811, tracked in #290 — so the net change
here is an addition. prob_dist's state file is deliberately left untouched so
that gap stays flagged for resync.

Also rebased onto current main. observed_distributions.md and its state file
conflicted add/add against the copy #278 landed; both resolved in favour of
this branch, whose version is the strict superset — 903 lines against 785,
with 19 figure captions and both fitting_distributions cross-links that
main's older copy lacks.

Verified against upstream at a453cf5: same 2 anchors, 13 headings, 42 code
cells and 19 caption blocks, with no duplicate labels or figure names
repo-wide.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

This branch was previously deployed

1 inactive deployment
pull request — 5baf8d7d Deployed Aug 10, 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