Repository navigation
Description
Translation sync failure
Source PR: #1144
Target repo: QuantEcon/lecture-python.zh-cn
Target language: zh-cn
Errors
- Error processing lectures/phillips_escaping_nash.md: Error: structural parity check failed for lectures/phillips_escaping_nash.md:
- directive count differs: source has 67, output has 32 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [migration] Tasks Required for Migration #13 name changed: source line 241 has {math}, output line 233 has {code-cell}
- directive [execution] Current Sphinx execution warnings #14 name changed: source line 251 has {note}, output line 275 has {math}
- directive [lecture_comparison]view_source_file_bottom_directs_to_wrong_site #15 name changed: source line 271 has {code-cell}, output line 283 has {math}
- directive ENH: Fix for bringing code in from a file #16 name changed: source line 288 has {code-cell}, output line 314 has {math}
- directive [lecture_comparison]some_links_in_new_version_lectures_direct_to_older_version_lectures #17 name changed: source line 349 has {math}, output line 344 has {code-cell}
- directive [lecture_comparison]_clicking_math_will_enlarge_gaps #18 name changed: source line 357 has {math}, output line 428 has {code-cell}
- directive [lecture_comparison]_missing_links_to_previous/next_lectures_at_the_bottom #19 name changed: source line 406 has {math}, output line 495 has {code-cell}
- directive [lecture_comparison] Issues in footnote notations #20 name changed: source line 414 has {math}, output line 555 has {note}
- directive [lecture_comparison]_uncentering_generating/inserted_plots/figures_in_myst #21 name changed: source line 430 has {code-cell}, output line 579 has {math}
- directive [lecture_comparison] Many code cells are not compiled or are looking strange #23 name changed: source line 484 has {code-cell}, output line 635 has {exercise-start}
- directive [lecture_comparison][multivariate_normal] A whole section is missing #24 name changed: source line 517 has {math}, output line 645 has {exercise-end}
- directive [lecture_comparison] Broken internal reference #25 name changed: source line 547 has {code-cell}, output line 648 has {solution-start}
- directive [lecture_comparison] Numba Deprecation Warnings #27 name changed: source line 708 has {code-cell}, output line 672 has {solution-end}
- directive [lecture_comparison] An issue for both MyST and RST Versions #28 name changed: source line 781 has {code-cell}, output line 675 has {exercise-start}
- directive [lecture_comparison][harrison_kreps] Markdown Tables are Broken in MyST #29 name changed: source line 803 has {code-cell}, output line 685 has {exercise-end}
- directive [harrison_kreps] Fix tables #30 name changed: source line 831 has {code-cell}, output line 688 has {solution-start}
- directive Update lecture-python sources with latest updates #32 name changed: source line 929 has {note}, output line 714 has {solution-end}
- target anchors diverge — missing from output: (en_trap)=, (en_simulation)=
- Translation behind: lectures/phillips_escaping_nash.md: zh-cn's translation of it is at source
3fc4e2a. This PR's change assumes the English that translation PR 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 carries, and it is still open in the edition. Merge it, then carry this change.
- Error processing lectures/phillips_learning.md: Error: structural parity check failed for lectures/phillips_learning.md:
- directive count differs: source has 66, output has 48 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [optgrowth_fast] fix broken links #33 name changed: source line 735 has {math}, output line 669 has {code-cell}
- directive [ifp] fix broken link #34 name changed: source line 747 has {math}, output line 694 has {code-cell}
- directive [lecture_comparison] [re_with_feedback] Strange-looking prints of latex equations generated by code #38 name changed: source line 923 has {code-cell}, output line 827 has {exercise-start}
- directive [lecture_comparison][FiniteMarkovChains]equation reference numbering issue #39 name changed: source line 1012 has {code-cell}, output line 837 has {note}
- directive [lecture_comparison] code-block output issue #40 name changed: source line 1047 has {code-cell}, output line 847 has {exercise-end}
- directive update latest sources (9293c8a) using tomyst (b06cacb) #41 name changed: source line 1080 has {code-cell}, output line 850 has {solution-start}
- directive [download notebooks] Updates to support Download Notebooks #43 name changed: source line 1158 has {code-cell}, output line 871 has {solution-end}
- directive [download notebooks] Review of Download Notebooks #44 name changed: source line 1185 has {code-cell}, output line 874 has {exercise-start}
- directive [lecture_comparison][16_Kasten_Processes]redundant_output #45 name changed: source line 1263 has {exercise-start}, output line 884 has {exercise-end}
- directive [lecture_comparison][21_Cass-Koopmans]SyntaxWarning #46 name changed: source line 1282 has {note}, output line 887 has {solution-start}
- directive [lecture_comparison]redundant_space_in_code #47 name changed: source line 1303 has {exercise-end}, output line 891 has {code-cell}
- directive [lecture_comparison][38_wald_friedman]math_expression_in_indented_sentence #48 name changed: source line 1306 has {solution-start}, output line 905 has {solution-end}
- target anchors diverge — missing from output: (pl_primer)=, (pl_eigen)=, (pl_decreasing)=
- Translation behind: lectures/phillips_learning.md: zh-cn's translation of it is at source
3fc4e2a. This PR's change assumes the English that translation PR 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 carries, and it is still open in the edition. Merge it, then carry this change.
- Error processing lectures/phillips_priors.md: Error: structural parity check failed for lectures/phillips_priors.md:
- directive count differs: source has 76, output has 69 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [execution] Current Sphinx execution warnings #14 name changed: source line 246 has {math}, output line 234 has {code-cell}
- directive [lecture_comparison]view_source_file_bottom_directs_to_wrong_site #15 name changed: source line 268 has {code-cell}, output line 253 has {math}
- directive ENH: Fix for bringing code in from a file #16 name changed: source line 285 has {code-cell}, output line 267 has {math}
- directive [lecture_comparison]some_links_in_new_version_lectures_direct_to_older_version_lectures #17 name changed: source line 320 has {math}, output line 274 has {code-cell}
- directive [lecture_comparison]_clicking_math_will_enlarge_gaps #18 name changed: source line 334 has {math}, output line 296 has {code-cell}
- directive [lecture_comparison]_missing_links_to_previous/next_lectures_at_the_bottom #19 name changed: source line 341 has {code-cell}, output line 363 has {math}
- directive [lecture_comparison]_uncentering_generating/inserted_plots/figures_in_myst #21 name changed: source line 430 has {math}, output line 406 has {code-cell}
- directive [lecture_comparison] An issue for both MyST and RST Versions #28 name changed: source line 652 has {code-cell}, output line 667 has {exercise-start}
- directive [lecture_comparison][harrison_kreps] Markdown Tables are Broken in MyST #29 name changed: source line 686 has {code-cell}, output line 684 has {exercise-end}
- directive [harrison_kreps] Fix tables #30 name changed: source line 709 has {code-cell}, output line 687 has {solution-start}
- directive [optgrowth_fast] fix broken links #33 name changed: source line 800 has {code-cell}, output line 759 has {solution-end}
- directive [ifp] fix broken link #34 name changed: source line 828 has {code-cell}, output line 762 has {exercise-start}
- directive add Macro syntax for argmax and argmin #35 name changed: source line 914 has {exercise-start}, output line 772 has {exercise-end}
- directive UPDATE: update lecture-python (b37408c) with sphinx-tomyst (b06cacb) #36 name changed: source line 931 has {exercise-end}, output line 775 has {solution-start}
- directive #37 name changed: source line 934 has {solution-start}, output line 783 has {code-cell}
- directive [lecture_comparison][FiniteMarkovChains]equation reference numbering issue #39 name changed: source line 969 has {code-cell}, output line 838 has {solution-end}
- directive [lecture_comparison] code-block output issue #40 name changed: source line 1006 has {solution-end}, output line 841 has {exercise-start}
- directive update latest sources (9293c8a) using tomyst (b06cacb) #41 name changed: source line 1009 has {exercise-start}, output line 861 has {exercise-end}
- directive [UPGRADE] upgrade to anaconda=2020.11 #42 name changed: source line 1019 has {exercise-end}, output line 864 has {solution-start}
- directive [download notebooks] Updates to support Download Notebooks #43 name changed: source line 1022 has {solution-start}, output line 870 has {code-cell}
- directive [download notebooks] Review of Download Notebooks #44 name changed: source line 1030 has {code-cell}, output line 913 has {solution-end}
- directive [lecture_comparison][16_Kasten_Processes]redundant_output #45 name changed: source line 1053 has {code-cell}, output line 916 has {exercise-start}
- directive [lecture_comparison][21_Cass-Koopmans]SyntaxWarning #46 name changed: source line 1085 has {solution-end}, output line 926 has {exercise-end}
- directive [lecture_comparison]redundant_space_in_code #47 name changed: source line 1088 has {exercise-start}, output line 929 has {solution-start}
- directive [lecture_comparison][38_wald_friedman]math_expression_in_indented_sentence #48 name changed: source line 1108 has {exercise-end}, output line 935 has {code-cell}
- directive [lecture_comparison]math_size_in_headings #49 name changed: source line 1111 has {solution-start}, output line 959 has {code-cell}
- directive [lecture_comparison][55_pandas_panel]output_is_different #50 name changed: source line 1117 has {code-cell}, output line 985 has {solution-end}
- directive [downloadnb-comparison] QE brand missing in all MYST downloadnbs #51 name changed: source line 1160 has {solution-end}, output line 988 has {exercise-start}
- directive [downloadnb-comparison] Math Processing Error in many lectures #52 name changed: source line 1163 has {exercise-start}, output line 997 has {exercise-end}
- directive [downloadnb-comparison] all
Footnotestitle missing in MYST downloadnb #53 name changed: source line 1173 has {exercise-end}, output line 1000 has {solution-start} - directive [downloadnb-comparison] external links in footnotes not working in both RST and MYST notebooks #54 name changed: source line 1176 has {solution-start}, output line 1006 has {code-cell}
- directive [downloadnb-comparison] abnormal small latex brackets in both-version lectures #56 name changed: source line 1206 has {code-cell}, output line 1045 has {solution-end}
- directive [downloadnb-comparison] [04_linear_algebra] a sentence is missing in MYST #57 name changed: source line 1232 has {solution-end}, output line 1048 has {exercise-start}
- directive [downloadnb-comparison] [05_complex_and_trig] SymPyDeprecationWarning in both RST and MYST #58 name changed: source line 1235 has {exercise-start}, output line 1064 has {exercise-end}
- directive [downloadnb-comparison] [08_multivariate_normal] problematic inserted latex math #59 name changed: source line 1244 has {exercise-end}, output line 1067 has {solution-start}
- directive [downloadnb-comparison] [14_linear_models] a sentence disappears in MYST #60 name changed: source line 1247 has {solution-start}, output line 1075 has {code-cell}
- directive [downloadnb-comparison] [21_cass_koopmans_2] SyntaxWarning #62 name changed: source line 1271 has {code-cell}, output line 1154 has {solution-end}
- directive [downloadnb-comparison] [27_jv] A quoted code cell becomes a compiling code cell in MYST downloadnb #63 name changed: source line 1292 has {solution-end}, output line 1157 has {exercise-start}
- directive [downloadnb-comparison] [37_likelihood_ratio_process] a link is problematic #64 name changed: source line 1295 has {exercise-start}, output line 1174 has {exercise-end}
- directive [downloadnb-comparison] [57_mle] an internal link/ref of contents is not working #65 name changed: source line 1311 has {exercise-end}, output line 1177 has {solution-start}
- directive [downloadnb-comparison] different numbering system for math tags and their citations in contexts #66 name changed: source line 1314 has {solution-start}, output line 1193 has {code-cell}
- target anchors diverge — missing from output: (ppr_sims)=
- Translation behind: lectures/phillips_priors.md: zh-cn's translation of it is at source
3fc4e2a. This PR's change assumes the English that translation PR 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 carries, and it is still open in the edition. Merge it, then carry this change.
Recovery
Recover a lecture from a checkout of the source's default branch, not by re-running this sync:
lectures/phillips_escaping_nash.md: merge 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 in the edition first; it carries the English this PR's change assumes. Then carry this PR's change into the lecture:translate forward -f phillips_escaping_nash.md, or\translate-resyncon this PR under the condition below.lectures/phillips_learning.md: merge 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 in the edition first; it carries the English this PR's change assumes. Then carry this PR's change into the lecture:translate forward -f phillips_learning.md, or\translate-resyncon this PR under the condition below.lectures/phillips_priors.md: merge 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 in the edition first; it carries the English this PR's change assumes. Then carry this PR's change into the lecture:translate forward -f phillips_priors.md, or\translate-resyncon this PR under the condition below.
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 #1144 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 b2a6c871244e1f3ffdff8c4f9620b8f5521fdc50..origin/main -- <path>
must print 0. A structural-parity failure repeats exactly on a resync, so fix its cause first.
Activity