Repository navigation
Description
Translation sync failure
Source PR: #1147
Target repo: QuantEcon/lecture-python.zh-cn
Target language: zh-cn
Errors
- Error processing lectures/phillips_credibility.md: Error: structural parity check failed for lectures/phillips_credibility.md:
- directive count differs: source has 37, output has 25 — a wholesale mismatch usually means the document was re-fenced or truncated
- target anchors diverge — missing from output: (pc_mean_dynamics)=
- Translation behind: lectures/phillips_credibility.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_escaping_nash.md: Error: structural parity check failed for lectures/phillips_escaping_nash.md:
- directive count differs: source has 68, output has 31 — 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 214 has {code-cell}
- directive [execution] Current Sphinx execution warnings #14 name changed: source line 251 has {note}, output line 260 has {math}
- directive [lecture_comparison]view_source_file_bottom_directs_to_wrong_site #15 name changed: source line 271 has {code-cell}, output line 268 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 353 has {code-cell}
- directive [lecture_comparison]_clicking_math_will_enlarge_gaps #18 name changed: source line 357 has {math}, output line 411 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 474 has {note}
- directive [lecture_comparison]_no_labels_
In&Out_for_code_cells&its_outputs_in_myst #22 name changed: source line 453 has {code-cell}, output line 554 has {exercise-start} - directive [lecture_comparison] Many code cells are not compiled or are looking strange #23 name changed: source line 484 has {code-cell}, output line 564 has {exercise-end}
- directive [lecture_comparison][multivariate_normal] A whole section is missing #24 name changed: source line 517 has {math}, output line 567 has {solution-start}
- directive [lecture_comparison] Images need review for size on Jupyter Book #26 name changed: source line 631 has {code-cell}, output line 591 has {solution-end}
- directive [lecture_comparison] Numba Deprecation Warnings #27 name changed: source line 708 has {code-cell}, output line 594 has {exercise-start}
- directive [lecture_comparison] An issue for both MyST and RST Versions #28 name changed: source line 778 has {code-cell}, output line 604 has {exercise-end}
- directive [lecture_comparison][harrison_kreps] Markdown Tables are Broken in MyST #29 name changed: source line 839 has {code-cell}, output line 607 has {solution-start}
- directive [lecture_comparison][rational_expectations] \argmax Issue #31 name changed: source line 889 has {code-cell}, output line 633 has {solution-end}
- target anchors diverge — missing from output: (en_tilts)=, (en_vector_field)=, (en_trap)=
- 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 PRs 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 and 🌐 [translation-sync] [exponential_families, information_projections, opt_transport, approximation_errors, turbulence_inference, phillips_*] Information Geometry section, optimal-transport links, Phillips connections lecture-python.zh-cn#330 carry, and they are still open in the edition. Merge them, 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 PRs 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 and 🌐 [translation-sync] [exponential_families, information_projections, opt_transport, approximation_errors, turbulence_inference, phillips_*] Information Geometry section, optimal-transport links, Phillips connections lecture-python.zh-cn#330 carry, and they are still open in the edition. Merge them, then carry this change.
- Error processing lectures/phillips_misspecified.md: Error: structural parity check failed for lectures/phillips_misspecified.md:
- directive count differs: source has 44, output has 43 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [lecture_comparison][multivariate_normal] A whole section is missing #24 name changed: source line 510 has {code-cell}, output line 501 has {exercise-start}
- directive [lecture_comparison] Broken internal reference #25 name changed: source line 569 has {exercise-start}, output line 511 has {exercise-end}
- directive [lecture_comparison] Images need review for size on Jupyter Book #26 name changed: source line 579 has {exercise-end}, output line 514 has {solution-start}
- directive [lecture_comparison] Numba Deprecation Warnings #27 name changed: source line 582 has {solution-start}, output line 518 has {code-cell}
- directive [lecture_comparison] An issue for both MyST and RST Versions #28 name changed: source line 586 has {code-cell}, output line 546 has {solution-end}
- directive [lecture_comparison][harrison_kreps] Markdown Tables are Broken in MyST #29 name changed: source line 614 has {solution-end}, output line 549 has {exercise-start}
- directive [harrison_kreps] Fix tables #30 name changed: source line 617 has {exercise-start}, output line 565 has {exercise-end}
- directive [lecture_comparison][rational_expectations] \argmax Issue #31 name changed: source line 633 has {exercise-end}, output line 568 has {solution-start}
- directive Update lecture-python sources with latest updates #32 name changed: source line 636 has {solution-start}, output line 574 has {code-cell}
- directive [optgrowth_fast] fix broken links #33 name changed: source line 642 has {code-cell}, output line 610 has {solution-end}
- directive [ifp] fix broken link #34 name changed: source line 678 has {solution-end}, output line 613 has {exercise-start}
- directive add Macro syntax for argmax and argmin #35 name changed: source line 681 has {exercise-start}, output line 625 has {exercise-end}
- directive UPDATE: update lecture-python (b37408c) with sphinx-tomyst (b06cacb) #36 name changed: source line 693 has {exercise-end}, output line 628 has {solution-start}
- directive #37 name changed: source line 696 has {solution-start}, output line 644 has {code-cell}
- directive [lecture_comparison] [re_with_feedback] Strange-looking prints of latex equations generated by code #38 name changed: source line 712 has {code-cell}, output line 676 has {solution-end}
- directive [lecture_comparison][FiniteMarkovChains]equation reference numbering issue #39 name changed: source line 744 has {solution-end}, output line 679 has {exercise-start}
- directive [lecture_comparison] code-block output issue #40 name changed: source line 747 has {exercise-start}, output line 691 has {exercise-end}
- directive update latest sources (9293c8a) using tomyst (b06cacb) #41 name changed: source line 759 has {exercise-end}, output line 694 has {solution-start}
- directive [UPGRADE] upgrade to anaconda=2020.11 #42 name changed: source line 762 has {solution-start}, output line 706 has {code-cell}
- directive [download notebooks] Updates to support Download Notebooks #43 name changed: source line 774 has {code-cell}, output line 720 has {solution-end}
- target anchors diverge — missing from output: (pm_rho)=
- Translation behind: lectures/phillips_misspecified.md: zh-cn's translation of it is at source
3fc4e2a. This PR's change assumes the English that translation PRs 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 and 🌐 [translation-sync] [approximation_errors, specification_tests, turbulence_inference, blackwell_kihlstrom] Add three lectures applying information projections lecture-python.zh-cn#329 carry, and they are still open in the edition. Merge them, 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 40 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [lecture_comparison][rational_expectations] \argmax Issue #31 name changed: source line 743 has {code-cell}, output line 734 has {exercise-start}
- directive Update lecture-python sources with latest updates #32 name changed: source line 778 has {code-cell}, output line 750 has {exercise-end}
- directive [optgrowth_fast] fix broken links #33 name changed: source line 801 has {code-cell}, output line 753 has {solution-start}
- directive add Macro syntax for argmax and argmin #35 name changed: source line 915 has {exercise-start}, output line 785 has {solution-end}
- directive UPDATE: update lecture-python (b37408c) with sphinx-tomyst (b06cacb) #36 name changed: source line 932 has {exercise-end}, output line 788 has {exercise-start}
- directive #37 name changed: source line 935 has {solution-start}, output line 798 has {exercise-end}
- directive [lecture_comparison] [re_with_feedback] Strange-looking prints of latex equations generated by code #38 name changed: source line 941 has {code-cell}, output line 801 has {solution-start}
- target anchors diverge — missing from output: (ppr_natural_gradient)=, (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 PRs 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 and 🌐 [translation-sync] [exponential_families, information_projections, opt_transport, approximation_errors, turbulence_inference, phillips_*] Information Geometry section, optimal-transport links, Phillips connections lecture-python.zh-cn#330 carry, and they are still open in the edition. Merge them, then carry this change.
- Error processing lectures/phillips_self_confirming.md: Error: structural parity check failed for lectures/phillips_self_confirming.md:
- directive count differs: source has 49, output has 45 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [geom_series] Review figure sizes #11 name changed: source line 184 has {math}, output line 199 has {code-cell}
- directive ENH: Fix for bringing code in from a file #16 name changed: source line 377 has {code-cell}, output line 332 has {math}
- directive [lecture_comparison]some_links_in_new_version_lectures_direct_to_older_version_lectures #17 name changed: source line 445 has {code-cell}, output line 344 has {math}
- directive [lecture_comparison]_clicking_math_will_enlarge_gaps #18 name changed: source line 510 has {math}, output line 368 has {code-cell}
- directive [lecture_comparison] Issues in footnote notations #20 name changed: source line 541 has {math}, output line 465 has {code-cell}
- directive [lecture_comparison]_uncentering_generating/inserted_plots/figures_in_myst #21 name changed: source line 553 has {math}, output line 479 has {code-cell}
- directive [lecture_comparison] Images need review for size on Jupyter Book #26 name changed: source line 737 has {code-cell}, output line 655 has {exercise-start}
- directive [lecture_comparison] Numba Deprecation Warnings #27 name changed: source line 765 has {code-cell}, output line 667 has {exercise-end}
- directive [lecture_comparison] An issue for both MyST and RST Versions #28 name changed: source line 792 has {code-cell}, output line 670 has {solution-start}
- directive [harrison_kreps] Fix tables #30 name changed: source line 864 has {exercise-start}, output line 696 has {solution-end}
- directive [lecture_comparison][rational_expectations] \argmax Issue #31 name changed: source line 876 has {exercise-end}, output line 699 has {exercise-start}
- directive Update lecture-python sources with latest updates #32 name changed: source line 879 has {solution-start}, output line 716 has {exercise-end}
- directive [optgrowth_fast] fix broken links #33 name changed: source line 883 has {code-cell}, output line 719 has {solution-start}
- directive [ifp] fix broken link #34 name changed: source line 905 has {solution-end}, output line 723 has {code-cell}
- directive add Macro syntax for argmax and argmin #35 name changed: source line 908 has {exercise-start}, output line 819 has {solution-end}
- directive UPDATE: update lecture-python (b37408c) with sphinx-tomyst (b06cacb) #36 name changed: source line 925 has {exercise-end}, output line 822 has {exercise-start}
- directive #37 name changed: source line 928 has {solution-start}, output line 832 has {exercise-end}
- directive [lecture_comparison] [re_with_feedback] Strange-looking prints of latex equations generated by code #38 name changed: source line 932 has {code-cell}, output line 835 has {solution-start}
- directive [lecture_comparison][FiniteMarkovChains]equation reference numbering issue #39 name changed: source line 1028 has {solution-end}, output line 839 has {code-cell}
- directive [lecture_comparison] code-block output issue #40 name changed: source line 1031 has {exercise-start}, output line 863 has {solution-end}
- directive update latest sources (9293c8a) using tomyst (b06cacb) #41 name changed: source line 1041 has {exercise-end}, output line 866 has {exercise-start}
- directive [UPGRADE] upgrade to anaconda=2020.11 #42 name changed: source line 1044 has {solution-start}, output line 882 has {exercise-end}
- directive [download notebooks] Updates to support Download Notebooks #43 name changed: source line 1048 has {code-cell}, output line 885 has {solution-start}
- directive [download notebooks] Review of Download Notebooks #44 name changed: source line 1072 has {solution-end}, output line 914 has {code-cell}
- directive [lecture_comparison][16_Kasten_Processes]redundant_output #45 name changed: source line 1075 has {exercise-start}, output line 943 has {solution-end}
- target anchors diverge — missing from output: (sc_why_nash)=, (sc_estability)=
- Translation behind: lectures/phillips_self_confirming.md: zh-cn's translation of it is at source
3fc4e2a. This PR's change assumes the English that translation PRs 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 and 🌐 [translation-sync] [approximation_errors, specification_tests, turbulence_inference, blackwell_kihlstrom] Add three lectures applying information projections lecture-python.zh-cn#329 carry, and they are still open in the edition. Merge them, 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_credibility.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_credibility.md, or\translate-resyncon this PR under the condition below.lectures/phillips_escaping_nash.md: merge 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 and 🌐 [translation-sync] [exponential_families, information_projections, opt_transport, approximation_errors, turbulence_inference, phillips_*] Information Geometry section, optimal-transport links, Phillips connections lecture-python.zh-cn#330 in the edition first; they carry 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 and 🌐 [translation-sync] [exponential_families, information_projections, opt_transport, approximation_errors, turbulence_inference, phillips_*] Information Geometry section, optimal-transport links, Phillips connections lecture-python.zh-cn#330 in the edition first; they carry 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_misspecified.md: merge 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 and 🌐 [translation-sync] [approximation_errors, specification_tests, turbulence_inference, blackwell_kihlstrom] Add three lectures applying information projections lecture-python.zh-cn#329 in the edition first; they carry the English this PR's change assumes. Then carry this PR's change into the lecture:translate forward -f phillips_misspecified.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 and 🌐 [translation-sync] [exponential_families, information_projections, opt_transport, approximation_errors, turbulence_inference, phillips_*] Information Geometry section, optimal-transport links, Phillips connections lecture-python.zh-cn#330 in the edition first; they carry 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.lectures/phillips_self_confirming.md: merge 🌐 [translation-sync] [phillips] Correct, connect, and extend the Phillips Curve Tradeoffs lectures lecture-python.zh-cn#312 and 🌐 [translation-sync] [approximation_errors, specification_tests, turbulence_inference, blackwell_kihlstrom] Add three lectures applying information projections lecture-python.zh-cn#329 in the edition first; they carry the English this PR's change assumes. Then carry this PR's change into the lecture:translate forward -f phillips_self_confirming.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 #1147 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 0dc4fe74070fb7437da2c2761740b807f76f2f18..origin/main -- <path>
must print 0. A structural-parity failure repeats exactly on a resync, so fix its cause first.
Activity