Translation sync failed for PR #857 (zh-cn)

Open
#858 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
markdown

Research direction

The failure is a structural parity check on lectures/mle_intro.md, which reports 55 source directives against 12 in the output, renamed {code-cell} directives, and four missing anchors. Start from the sync tooling that runs the parity check and find where the output is truncated or re-fenced, and confirm this against the zh-cn target repo. Done means the parity check passes for this file and the \translate-resync retry on PR #857 succeeds.

Written by the indexing model from the issue text.

Description

translation-sync-failure
Translation sync failure

Source PR: #857
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 12 — a wholesale mismatch usually means the document was re-fenced or truncated
    • directive #2 name changed: source line 57 has {code-cell}, output line 36 has {exercise-start}
    • directive #3 name changed: source line 126 has {code-cell}, output line 50 has {exercise-end}
    • directive #4 name changed: source line 138 has {code-cell}, output line 53 has {solution-start}
    • directive #7 name changed: source line 246 has {code-cell}, output line 68 has {solution-end}
    • directive #8 name changed: source line 281 has {code-cell}, output line 71 has {exercise-start}
    • directive #9 name changed: source line 291 has {code-cell}, output line 77 has {exercise-end}
    • directive #10 name changed: source line 356 has {code-cell}, output line 80 has {solution-start}
    • directive #12 name changed: source line 387 has {code-cell}, output line 97 has {solution-end}
    • target anchors diverge — missing from output: (mle_more_data)=, (mle_consistency)=, (mle_vs_mom)=, (mle_numerical)=
Recovery

Once the issue is resolved, comment \translate-resync on PR #857 to retry.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from QuantEcon/lecture-python-intro

All issues in QuantEcon/lecture-python-intro

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.