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

Đang mở
#1,122 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Start by reading the translation sync failure report for PR #1121 and the structural parity checks for the three named lecture files: lectures/exchange_rate_learning.md, lectures/genetic_classifier.md, and lectures/learning_approximation.md. Compare the reported directive counts, directive names and arguments, and missing anchors between each source and its zh-cn output to find where structure diverges. Done means the sync passes for all three files; comment \translate-resync on PR #1121 to retry.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

translation-sync-failure
Translation sync failure

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

Errors
  • Error processing lectures/exchange_rate_learning.md: Error: structural parity check failed for lectures/exchange_rate_learning.md:
    • directive count differs: source has 55, output has 50 — a wholesale mismatch usually means the document was re-fenced or truncated
    • directive #21 name changed: source line 791 has {code-cell}, output line 598 has {exercise-start}
    • directive #22 name changed: source line 822 has {code-cell}, output line 618 has {exercise-end}
    • directive #23 name changed: source line 847 has {code-cell}, output line 621 has {solution-start}
    • directive #26 name changed: source line 1057 has {exercise-start}, output line 670 has {solution-end}
    • directive #27 name changed: source line 1076 has {exercise-end}, output line 673 has {exercise-start}
    • directive #28 name changed: source line 1079 has {solution-start}, output line 690 has {exercise-end}
    • directive #29 name changed: source line 1085 has {code-cell}, output line 693 has {solution-start}
    • directive #34 {solution-start} argument changed: source line 1159 has "xr_ex2", output line 762 has "xr_ex3" — structural arguments are never translated
    • directive #36 name changed: source line 1215 has {solution-end}, output line 785 has {code-cell}
    • directive #37 name changed: source line 1218 has {exercise-start}, output line 801 has {solution-end}
    • directive #38 name changed: source line 1234 has {exercise-end}, output line 804 has {exercise-start}
    • directive #39 name changed: source line 1237 has {solution-start}, output line 833 has {exercise-end}
    • directive #40 name changed: source line 1243 has {code-cell}, output line 836 has {solution-start}
    • directive #42 name changed: source line 1279 has {solution-end}, output line 900 has {code-cell}
    • directive #43 name changed: source line 1282 has {exercise-start}, output line 936 has {code-cell}
    • directive #44 name changed: source line 1311 has {exercise-end}, output line 948 has {solution-end}
    • directive #45 name changed: source line 1314 has {solution-start}, output line 951 has {exercise-start}
    • directive #46 name changed: source line 1320 has {code-cell}, output line 972 has {exercise-end}
    • directive #47 name changed: source line 1380 has {code-cell}, output line 975 has {solution-start}
    • directive #49 name changed: source line 1433 has {solution-end}, output line 1010 has {code-cell}
    • directive #50 name changed: source line 1436 has {exercise-start}, output line 1041 has {solution-end}
    • target anchors diverge — missing from output: (xr_dead_hand)=, (xr_ghost)=, (xr_ga)=
  • Error processing lectures/genetic_classifier.md: Error: structural parity check failed for lectures/genetic_classifier.md:
    • directive count differs: source has 51, output has 47 — a wholesale mismatch usually means the document was re-fenced or truncated
    • directive #20 name changed: source line 791 has {code-cell}, output line 624 has {exercise-start}
    • directive #21 name changed: source line 890 has {code-cell}, output line 642 has {exercise-end}
    • directive #22 name changed: source line 930 has {code-cell}, output line 645 has {solution-start}
    • directive #24 name changed: source line 1194 has {exercise-start}, output line 707 has {code-cell}
    • directive #25 name changed: source line 1216 has {exercise-end}, output line 766 has {solution-end}
    • directive #26 name changed: source line 1219 has {solution-start}, output line 769 has {exercise-start}
    • directive #27 name changed: source line 1225 has {code-cell}, output line 787 has {exercise-end}
    • directive #28 name changed: source line 1287 has {code-cell}, output line 790 has {solution-start}
    • directive #29 name changed: source line 1357 has {solution-end}, output line 796 has {code-cell}
    • directive #30 name changed: source line 1360 has {exercise-start}, output line 839 has {solution-end}
    • directive #31 name changed: source line 1383 has {exercise-end}, output line 842 has {exercise-start}
    • directive #32 name changed: source line 1386 has {solution-start}, output line 862 has {exercise-end}
    • directive #33 name changed: source line 1392 has {code-cell}, output line 865 has {solution-start}
    • directive #34 name changed: source line 1442 has {solution-end}, output line 871 has {code-cell}
    • directive #35 name changed: source line 1445 has {exercise-start}, output line 915 has {code-cell}
    • directive #36 name changed: source line 1469 has {exercise-end}, output line 941 has {solution-end}
    • directive #37 name changed: source line 1472 has {solution-start}, output line 944 has {exercise-start}
    • directive #38 name changed: source line 1478 has {code-cell}, output line 972 has {exercise-end}
    • directive #39 name changed: source line 1525 has {code-cell}, output line 975 has {solution-start}
    • directive #40 name changed: source line 1558 has {solution-end}, output line 981 has {code-cell}
    • directive #41 name changed: source line 1561 has {exercise-start}, output line 1021 has {code-cell}
    • directive #42 name changed: source line 1600 has {exercise-end}, output line 1072 has {solution-end}
    • directive #43 name changed: source line 1603 has {solution-start}, output line 1075 has {exercise-start}
    • directive #44 name changed: source line 1609 has {code-cell}, output line 1091 has {exercise-end}
    • directive #45 name changed: source line 1649 has {code-cell}, output line 1094 has {solution-start}
    • directive #46 name changed: source line 1711 has {solution-end}, output line 1100 has {code-cell}
    • directive #47 name changed: source line 1714 has {exercise-start}, output line 1153 has {solution-end}
    • target anchors diverge — missing from output: (gc_ga)=, (gc_classifier)=, (gc_bandit)=, (gc_bucket_brigade)=, (gc_evolutionary)=
  • Error processing lectures/learning_approximation.md: Error: structural parity check failed for lectures/learning_approximation.md:
    • directive count differs: source has 52, output has 47 — a wholesale mismatch usually means the document was re-fenced or truncated
    • directive #15 name changed: source line 493 has {code-cell}, output line 374 has {note}
    • directive #16 name changed: source line 516 has {note}, output line 394 has {math}
    • directive #17 name changed: source line 545 has {math}, output line 409 has {code-cell}
    • directive #21 name changed: source line 714 has {math}, output line 598 has {exercise-start}
    • directive #22 name changed: source line 741 has {code-cell}, output line 615 has {exercise-end}
    • directive #23 name changed: source line 822 has {math}, output line 618 has {solution-start}
    • directive #25 name changed: source line 899 has {code-cell}, output line 662 has {solution-end}
    • directive #28 {solution-start} argument changed: source line 1013 has "lae_ex1", output line 688 has "lae_ex2" — structural arguments are never translated
    • directive #33 {solution-start} argument changed: source line 1094 has "lae_ex2", output line 765 has "lae_ex3" — structural arguments are never translated
    • directive #35 name changed: source line 1158 has {solution-end}, output line 794 has {code-cell}
    • directive #36 name changed: source line 1161 has {exercise-start}, output line 835 has {solution-end}
    • directive #37 name changed: source line 1181 has {exercise-end}, output line 838 has {exercise-start}
    • directive #38 name changed: source line 1184 has {solution-start}, output line 857 has {exercise-end}
    • directive #39 name changed: source line 1188 has {code-cell}, output line 860 has {solution-start}
    • directive #41 name changed: source line 1264 has {solution-end}, output line 894 has {code-cell}
    • directive #42 name changed: source line 1267 has {exercise-start}, output line 920 has {solution-end}
    • directive #43 name changed: source line 1293 has {exercise-end}, output line 923 has {exercise-start}
    • directive #44 name changed: source line 1296 has {solution-start}, output line 932 has {exercise-end}
    • directive #45 name changed: source line 1302 has {code-cell}, output line 935 has {solution-start}
    • target anchors diverge — missing from output: (lae_pea)=, (lae_kernel)=
Recovery

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

Ngôn ngữ chính
TeX
Star
135
Fork
64
Merge trung bình
9 giờ 17 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của QuantEcon/lecture-python.myst

Tất cả issue của QuantEcon/lecture-python.myst

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.