Translation sync failed for PR #872 (zh-cn)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 54/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- git, jupyter-notebook, python
- Domain
- internationalization, tooling
Research direction
Read the reported structural parity errors for lectures/mle_intro.md and the recovery instructions. Start from a checkout of the source’s default branch and run translate forward -f mle_intro.md; check the generated lecture for matching directives and anchors. Follow the cautions about reviewed translations and resyncing before touching other files.
Written by the indexing model from the issue text.
Description
Translation sync failure
Source PR: #872
Target repo: QuantEcon/lecture-intro.zh-cn
Target language: zh-cn
Errors
- Error processing lectures/mle_intro.md: Error: structural parity check failed for lectures/mle_intro.md:
- directive count differs: source has 55, output has 14 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive #4 name changed: source line 138 has {code-cell}, output line 80 has {exercise-start}
- directive #5 name changed: source line 146 has {code-cell}, output line 94 has {exercise-end}
- directive #6 name changed: source line 168 has {code-cell}, output line 97 has {solution-start}
- directive #9 name changed: source line 291 has {code-cell}, output line 112 has {solution-end}
- directive #10 name changed: source line 356 has {code-cell}, output line 115 has {exercise-start}
- directive #11 name changed: source line 366 has {code-cell}, output line 121 has {exercise-end}
- directive #12 name changed: source line 387 has {code-cell}, output line 124 has {solution-start}
- directive #14 name changed: source line 442 has {code-cell}, output line 141 has {solution-end}
- target anchors diverge — missing from output: (mle_more_data)=, (mle_consistency)=, (mle_vs_mom)=, (mle_numerical)=
Recovery
Recover a lecture from a checkout of the source's default branch, not by re-running this sync:
lectures/mle_intro.md:translate forward -f mle_intro.md.
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 #872 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 8db8a9960d17f4db2396a51a9c32ddaa768c9983..origin/main -- <path>
must print 0. A structural-parity failure repeats exactly on a resync, so fix its cause first.
- Dominant language
- Jupyter Notebook
- Stars
- 71
- Forks
- 37
- Avg merge
- 13h 9m
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from QuantEcon/lecture-python-intro
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
QuantEcon/lecture-python-intro#884 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
QuantEcon/lecture-python-intro#871 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantEcon/lecture-python-intro#864 ·
Maintainers usually reply within 1 day
-
lake_model_intro, time_series_with_matrices, long_run_growth: four small fixesPossibly taken @nishantmishraa claimed this 29 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
QuantEcon/lecture-python-intro#862 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
QuantEcon/lecture-python-intro#851 ·
Maintainers usually reply within 1 day
All issues in QuantEcon/lecture-python-intro
Similar issues
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
novuhq/novu#13613 · 2 comments ·
Maintainers usually reply within 1 day
-
[辞書] 競プロ関係Open要トリアージ 辞書
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
area/desktop type/feature version/v2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
anomalyco/opencode#68437 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
mengxi-ream/read-frog#2662 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
TigreGotico/pt2mirandese#40 ·
Maintainers usually reply within 1 day