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

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Start with the three failing sources named in the report: lectures/olg_adaptive_money.md, lectures/phillips_drifts_volatilities_2.md and lectures/prospects_bounded_rationality.md, plus the parity check that reports them. The check compares MyST directive names and anchors between source and output, so the first question is why the zh-cn output reorders or drops directives. Done means the parity check passes for these files and the \translate-resync comment on PR #1105 succeeds.

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

描述

translation-sync-failure
Translation sync failure

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

Errors
  • Error processing lectures/olg_adaptive_money.md: Error: structural parity check failed for lectures/olg_adaptive_money.md:
    • directive count differs: source has 82, output has 62 — a wholesale mismatch usually means the document was re-fenced or truncated
    • directive #15 name changed: source line 288 has {code-cell}, output line 282 has {math}
    • directive #16 name changed: source line 343 has {math}, output line 309 has {code-cell}
    • directive #17 name changed: source line 409 has {code-cell}, output line 356 has {note}
    • directive #18 name changed: source line 456 has {note}, output line 366 has {code-cell}
    • directive #21 name changed: source line 548 has {math}, output line 438 has {note}
    • directive #23 name changed: source line 580 has {code-cell}, output line 471 has {math}
    • directive #29 name changed: source line 860 has {math}, output line 661 has {code-cell}
    • directive #30 name changed: source line 881 has {code-cell}, output line 708 has {note}
    • directive #32 name changed: source line 1011 has {note}, output line 773 has {math}
    • directive #33 name changed: source line 1044 has {code-cell}, output line 783 has {math}
    • directive #34 name changed: source line 1080 has {code-cell}, output line 794 has {math}
    • directive #36 name changed: source line 1135 has {math}, output line 810 has {note}
    • directive #37 name changed: source line 1147 has {math}, output line 827 has {code-cell}
    • directive #38 name changed: source line 1156 has {math}, output line 850 has {code-cell}
    • directive #39 name changed: source line 1166 has {note}, output line 893 has {code-cell}
    • directive #40 name changed: source line 1184 has {code-cell}, output line 976 has {exercise-start}
    • directive #41 name changed: source line 1212 has {code-cell}, output line 986 has {exercise-end}
    • directive #42 name changed: source line 1273 has {code-cell}, output line 989 has {solution-start}
    • directive #43 name changed: source line 1394 has {exercise-start}, output line 993 has {code-cell}
    • directive #44 name changed: source line 1410 has {exercise-end}, output line 1022 has {solution-end}
    • directive #45 name changed: source line 1413 has {solution-start}, output line 1025 has {exercise-start}
    • directive #46 name changed: source line 1420 has {code-cell}, output line 1037 has {exercise-end}
    • directive #47 name changed: source line 1471 has {solution-end}, output line 1040 has {solution-start}
    • directive #48 name changed: source line 1474 has {exercise-start}, output line 1044 has {code-cell}
    • directive #49 name changed: source line 1490 has {exercise-end}, output line 1078 has {code-cell}
    • directive #50 name changed: source line 1493 has {solution-start}, output line 1106 has {solution-end}
    • directive #51 name changed: source line 1500 has {code-cell}, output line 1109 has {exercise-start}
    • directive #52 name changed: source line 1517 has {code-cell}, output line 1119 has {exercise-end}
    • directive #53 name changed: source line 1568 has {solution-end}, output line 1122 has {solution-start}
    • directive #54 name changed: source line 1571 has {exercise-start}, output line 1126 has {code-cell}
    • directive #55 name changed: source line 1589 has {exercise-end}, output line 1159 has {code-cell}
    • directive #56 name changed: source line 1592 has {solution-start}, output line 1180 has {code-cell}
    • directive #57 name changed: source line 1600 has {code-cell}, output line 1188 has {solution-end}
    • directive #58 name changed: source line 1632 has {code-cell}, output line 1191 has {exercise-start}
    • directive #59 name changed: source line 1667 has {solution-end}, output line 1203 has {exercise-end}
    • directive #60 name changed: source line 1670 has {exercise-start}, output line 1206 has {solution-start}
    • directive #61 name changed: source line 1684 has {exercise-end}, output line 1210 has {code-cell}
    • directive #62 name changed: source line 1687 has {solution-start}, output line 1232 has {solution-end}
    • target anchors diverge — missing from output: (olg_reversal)=, (olg_phillips)=
  • Error processing lectures/phillips_drifts_volatilities_2.md: Error: structural parity check failed for lectures/phillips_drifts_volatilities_2.md:
    • directive count differs: source has 35, output has 34 — a wholesale mismatch usually means the document was re-fenced or truncated
    • directive #1 name changed: source line 15 has {raw}, output line 47 has {index}
    • directive #2 name changed: source line 30 has {index}, output line 50 has {contents}
    • directive #3 name changed: source line 33 has {contents}, output line 71 has {code-cell}
    • directive #20 name changed: source line 867 has {code-cell}, output line 834 has {exercise}
    • directive #21 name changed: source line 925 has {exercise}, output line 852 has {solution-start}
    • directive #22 name changed: source line 950 has {solution-start}, output line 858 has {code-cell}
    • directive #24 name changed: source line 1006 has {code-cell}, output line 922 has {solution-end}
    • directive #25 name changed: source line 1030 has {solution-end}, output line 925 has {exercise}
    • directive #26 name changed: source line 1033 has {exercise}, output line 939 has {solution-start}
    • directive #27 name changed: source line 1059 has {solution-start}, output line 947 has {code-cell}
    • directive #29 name changed: source line 1080 has {code-cell}, output line 986 has {solution-end}
    • directive #30 name changed: source line 1111 has {solution-end}, output line 989 has {exercise}
    • directive #31 name changed: source line 1114 has {exercise}, output line 1007 has {solution-start}
    • directive #32 name changed: source line 1137 has {solution-start}, output line 1017 has {code-cell}
    • directive #34 name changed: source line 1186 has {code-cell}, output line 1069 has {solution-end}
    • target anchors diverge — missing from output: (phillips_drifts_volatilities_2)=
  • Error processing lectures/prospects_bounded_rationality.md: Error: structural parity check failed for lectures/prospects_bounded_rationality.md:
    • directive count differs: source has 35, output has 10 — a wholesale mismatch usually means the document was re-fenced or truncated
Recovery

Once the issue is resolved, comment \translate-resync on PR #1105 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 摘要。