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

未关闭
#1,100 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
18/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
markdown

调研方向

The failures are in lectures/likelihood_ratio_process_2.md and lectures/mix_model.md, which the sync tool translated into the zh-cn repo for PR #1099. Start by comparing the directive sequence of the source and the output of mix_model.md, since the output has three extra directives and shifted names from line 783 onward. Done means the sync completes without parity errors and the \translate-resync comment on PR #1099 succeeds. This needs knowledge of the translation pipeline, so ask maintainers before starting.

由索引模型根据 Issue 内容生成。

描述

translation-sync-failure
Translation sync failure

Source PR: #1099
Target repo: QuantEcon/lecture-python.zh-cn
Target language: zh-cn

Errors
  • Error processing lectures/likelihood_ratio_process_2.md: Error: Translation failed for modified section: translateSectionUpdate: Response truncated at max_tokens=16384; refusing to interpret incomplete output
  • Error processing lectures/mix_model.md: Error: structural parity check failed for lectures/mix_model.md:
    • directive count differs: source has 38, output has 41 — a wholesale mismatch usually means the document was re-fenced or truncated
    • directive #17 name changed: source line 783 has {exercise}, output line 587 has {code-cell}
    • directive #18 name changed: source line 814 has {solution-start}, output line 675 has {code-cell}
    • directive #20 name changed: source line 863 has {code-cell}, output line 793 has {exercise}
    • directive #21 name changed: source line 887 has {code-cell}, output line 823 has {solution-start}
    • directive #24 name changed: source line 964 has {solution-end}, output line 896 has {code-cell}
    • directive #25 name changed: source line 967 has {exercise}, output line 912 has {code-cell}
    • directive #26 name changed: source line 979 has {solution-start}, output line 944 has {code-cell}
    • directive #27 name changed: source line 985 has {code-cell}, output line 973 has {solution-end}
    • directive #28 name changed: source line 998 has {code-cell}, output line 976 has {exercise}
    • directive #29 name changed: source line 1028 has {solution-end}, output line 988 has {solution-start}
    • directive #30 name changed: source line 1031 has {exercise}, output line 994 has {code-cell}
    • directive #31 name changed: source line 1047 has {solution-start}, output line 1007 has {code-cell}
    • directive #32 name changed: source line 1061 has {code-cell}, output line 1037 has {solution-end}
    • directive #33 name changed: source line 1079 has {solution-end}, output line 1040 has {exercise}
    • directive #34 name changed: source line 1082 has {exercise}, output line 1056 has {solution-start}
    • directive #35 name changed: source line 1096 has {solution-start}, output line 1070 has {code-cell}
    • directive #36 name changed: source line 1100 has {code-cell}, output line 1088 has {solution-end}
    • directive #37 name changed: source line 1116 has {code-cell}, output line 1091 has {exercise}
    • directive #38 name changed: source line 1146 has {solution-end}, output line 1105 has {solution-start}
Recovery

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

主要语言
TeX
星标
129
派生
59
平均合并
2 天 10 小时
30 天内合并 PR
11

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

QuantEcon/lecture-python.myst 的其他 Issue

查看 QuantEcon/lecture-python.myst 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。