Translation sync failed for PR #1135 (zh-cn)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
Start with the reported structural parity failure in lectures/likelihood_ratio_process.md and inspect the edition’s open PR #310, which carries the English version this translation assumes. The issue says to merge #310 before carrying this change, then use translate forward -f likelihood_ratio_process.md or \translate-resync only if the stated source branch condition holds. Done means the translation sync succeeds without the listed directive and anchor mismatches.
由索引模型根据 Issue 内容生成。
描述
Translation sync failure
Source PR: #1135
Target repo: QuantEcon/lecture-python.zh-cn
Target language: zh-cn
Errors
- Error processing lectures/likelihood_ratio_process.md: Error: structural parity check failed for lectures/likelihood_ratio_process.md:
- directive count differs: source has 54, output has 43 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive #32 name changed: source line 1438 has {code-cell}, output line 1273 has {note}
- directive #38 name changed: source line 1864 has {code-cell}, output line 1654 has {exercise}
- directive #39 name changed: source line 1889 has {exercise}, output line 1672 has {solution-start}
- directive #40 name changed: source line 1907 has {solution-start}, output line 1733 has {solution-end}
- directive #41 name changed: source line 1967 has {solution-end}, output line 1736 has {exercise}
- directive #42 name changed: source line 1970 has {exercise}, output line 1747 has {solution-start}
- directive #43 name changed: source line 1981 has {solution-start}, output line 1779 has {solution-end}
- target anchors diverge — missing from output: (nature_likeli_f)=, (lrp_model_selection)=, (lrp_chernoff)=
- Translation behind: lectures/likelihood_ratio_process.md: zh-cn's translation of it is at source
07975d5. This PR's change assumes the English that translation PR QuantEcon/lecture-python.zh-cn#310 carries, and it is still open in the edition. Merge it, then carry this change.
Recovery
Recover a lecture from a checkout of the source's default branch, not by re-running this sync:
lectures/likelihood_ratio_process.md: merge QuantEcon/lecture-python.zh-cn#310 in the edition first; it carries the English this PR's change assumes. Then carry this PR's change into the lecture:translate forward -f likelihood_ratio_process.md, or\translate-resyncon this PR under the condition below.
Any other lecture named above:
- one the edition has:
translate forward -f <file>; - one the edition does not have yet:
translate init -f <file>.
<file> is the lecture's path inside the docs folder. translate forward regenerates the whole lecture, so do not run it on a lecture that has been natively reviewed: carry the change into that one by hand. translate init -f overwrites a translation without asking, so use it only for a lecture the edition does not have.
\translate-resync on #1135 re-runs this sync from the PR's merge-time snapshot, for every file the PR changed, not only those named above. Use it only when none of those files has changed on the source's default branch since the PR merged; otherwise it reverts the later changes (QuantEcon/action-translation#276). For each file the PR changed,
git rev-list --count 6071051dfe42e75bbecb0682bfc65daf4dc8f60d..origin/main -- <path>
must print 0. A structural-parity failure repeats exactly on a resync, so fix its cause first.
- 主要语言
- TeX
- 星标
- 135
- 派生
- 64
- 平均合并
- 9 小时 17 分钟
- 30 天内合并 PR
- 15
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
QuantEcon/lecture-python.myst 的其他 Issue
-
Link Checker Report可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭automated issue linkchecker report
难度 2/5 1-3 小时 新手友好度 68/100
QuantEcon/lecture-python.myst#1130 ·
维护者通常 1 天内回复
-
[newton_method] Exercise 2 solution stops after the first starting value可能已有人在做 @officialasishkumar 于 9 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
QuantEcon/lecture-python.myst#1115 · 1 条评论 ·
维护者通常 1 天内回复
-
phillips_drifts_volatilities: `kalman_forward` pairs each observation with the previous date's volatility可能已有人在做 @bennibyx 于 11 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
QuantEcon/lecture-python.myst#1108 · 1 条评论 ·
维护者通常 1 天内回复
-
automated issue linkchecker report
难度 2/5 1-3 小时 新手友好度 66/100
QuantEcon/lecture-python.myst#1098 ·
维护者通常 1 天内回复
-
automated issue linkchecker report
难度 2/5 1-3 小时 新手友好度 67/100
QuantEcon/lecture-python.myst#1094 ·
维护者通常 1 天内回复
查看 QuantEcon/lecture-python.myst 的全部 Issue
相似的 Issue
-
good first issue translation
难度 1/5 1-3 小时 新手友好度 84/100
adrielakak/GravityNotch#14 ·
-
Add dictonarys未关闭documentation good first issue open for all reusable
难度 2/5 1-3 小时 新手友好度 91/100
-
bug from-telegram platform:android version:v5.9.15
难度 2/5 1-3 小时 新手友好度 70/100
hiddify/hiddify-app#2655 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
ZIDAN44/mailcraft#215 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue translation
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复