Repository navigation
Description
Translation sync failure
Source PR: #1138
Target repo: QuantEcon/lecture-python.zh-cn
Target language: zh-cn
Errors
- Error processing lectures/blackwell_kihlstrom.md: Error: structural parity check failed for lectures/blackwell_kihlstrom.md:
- directive count differs: source has 39, output has 24 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive lecture links in left [Table of Contents] bar fail to work #9 name changed: source line 354 has {prf:theorem}, output line 332 has {prf:definition}
- directive
literalincludeno longer a viable way to include executable code #10 name changed: source line 393 has {prf:property}, output line 372 has {prf:theorem} - directive [geom_series] Review figure sizes #11 name changed: source line 422 has {prf:theorem}, output line 411 has {prf:property}
- directive [github actions] Look at how to make builds quicker using cache #12 name changed: source line 443 has {code-cell}, output line 440 has {prf:theorem}
- target anchors diverge — missing from output: (bk_data_processing)=
- Translation behind: lectures/blackwell_kihlstrom.md: zh-cn's translation of it is at source
fea6b58. This PR's change assumes the English that translation PRs 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 and 🌐 [translation-sync] [information_transfer] Add a lecture on Green's incentives for information transfer lecture-python.zh-cn#316 carry, and they are still open in the edition. Merge them, then carry this change.
- Error processing lectures/divergence_measures.md: Error: structural parity check failed for lectures/divergence_measures.md:
- directive count differs: source has 28, output has 27 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [execution] Current Sphinx execution warnings #14 name changed: source line 582 has {code-cell}, output line 633 has {exercise}
- directive [lecture_comparison]view_source_file_bottom_directs_to_wrong_site #15 name changed: source line 721 has {exercise}, output line 644 has {solution-start}
- directive ENH: Fix for bringing code in from a file #16 name changed: source line 732 has {solution-start}, output line 698 has {code-cell}
- directive [lecture_comparison]some_links_in_new_version_lectures_direct_to_older_version_lectures #17 name changed: source line 786 has {code-cell}, output line 735 has {solution-end}
- directive [lecture_comparison]_clicking_math_will_enlarge_gaps #18 name changed: source line 823 has {solution-end}, output line 738 has {exercise}
- directive [lecture_comparison]_missing_links_to_previous/next_lectures_at_the_bottom #19 name changed: source line 826 has {exercise}, output line 749 has {solution-start}
- directive [lecture_comparison] Issues in footnote notations #20 name changed: source line 837 has {solution-start}, output line 805 has {code-cell}
- directive [lecture_comparison]_no_labels_
In&Out_for_code_cells&its_outputs_in_myst #22 name changed: source line 907 has {code-cell}, output line 840 has {solution-end} - directive [lecture_comparison] Many code cells are not compiled or are looking strange #23 name changed: source line 928 has {solution-end}, output line 843 has {exercise}
- directive [lecture_comparison][multivariate_normal] A whole section is missing #24 name changed: source line 931 has {exercise}, output line 864 has {solution-start}
- directive [lecture_comparison] Broken internal reference #25 name changed: source line 952 has {solution-start}, output line 896 has {code-cell}
- directive [lecture_comparison] Numba Deprecation Warnings #27 name changed: source line 1019 has {code-cell}, output line 947 has {solution-end}
- target anchors diverge — missing from output: (dm_kl_mle)=
- Translation behind: lectures/divergence_measures.md: zh-cn's translation of it is at source
18666c0. This PR's change assumes the English that translation PRs 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 and 🌐 [translation-sync] [exponential_families, information_projections] Add two lectures on information geometry lecture-python.zh-cn#324 carry, and they are still open in the edition. Merge them, then carry this change.
- Error processing lectures/likelihood_ratio_process.md: Error: structural parity check failed for lectures/likelihood_ratio_process.md:
- directive count differs: source has 54, output has 43 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive Update lecture-python sources with latest updates #32 name changed: source line 1438 has {code-cell}, output line 1279 has {note}
- directive [lecture_comparison] [re_with_feedback] Strange-looking prints of latex equations generated by code #38 name changed: source line 1864 has {code-cell}, output line 1660 has {exercise}
- directive [lecture_comparison][FiniteMarkovChains]equation reference numbering issue #39 name changed: source line 1889 has {exercise}, output line 1678 has {solution-start}
- directive [lecture_comparison] code-block output issue #40 name changed: source line 1907 has {solution-start}, output line 1739 has {solution-end}
- directive update latest sources (9293c8a) using tomyst (b06cacb) #41 name changed: source line 1967 has {solution-end}, output line 1742 has {exercise}
- directive [UPGRADE] upgrade to anaconda=2020.11 #42 name changed: source line 1970 has {exercise}, output line 1753 has {solution-start}
- directive [download notebooks] Updates to support Download Notebooks #43 name changed: source line 1981 has {solution-start}, output line 1785 has {solution-end}
- target anchors diverge — missing from output: (nature_likeli_f)=, (lrp_model_selection)=, (lrp_chernoff)=
- Translation behind: lectures/likelihood_ratio_process.md: zh-cn's translation of it is at source
07975d5. This PR's change assumes the English that translation PRs 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 and 🌐 [translation-sync] Raise the build stack to the shared baseline, pin jax 0.12.1, drop --upgrade from install lines lecture-python.zh-cn#328 carry, and they are still open in the edition. Merge them, then carry this change.
- Error processing lectures/likelihood_ratio_process_2.md: Error: structural parity check failed for lectures/likelihood_ratio_process_2.md:
- directive count differs: source has 74, output has 61 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive Reference inside of lists does not work #7 name changed: source line 176 has {note}, output line 145 has {code-cell}
- directive [geom_series] Review figure sizes #11 name changed: source line 694 has {code-cell}, output line 482 has {note}
- directive [lecture_comparison]_uncentering_generating/inserted_plots/figures_in_myst #21 name changed: source line 1013 has {exercise}, output line 777 has {code-cell}
- directive [lecture_comparison]_no_labels_
In&Out_for_code_cells&its_outputs_in_myst #22 name changed: source line 1029 has {solution-start}, output line 828 has {exercise} - directive [lecture_comparison] Many code cells are not compiled or are looking strange #23 name changed: source line 1105 has {code-cell}, output line 839 has {solution-start}
- directive [lecture_comparison][multivariate_normal] A whole section is missing #24 name changed: source line 1116 has {code-cell}, output line 914 has {solution-end}
- directive [lecture_comparison] Broken internal reference #25 name changed: source line 1149 has {solution-end}, output line 917 has {exercise}
- directive [lecture_comparison] Images need review for size on Jupyter Book #26 name changed: source line 1152 has {exercise}, output line 984 has {solution-start}
- directive [lecture_comparison] Numba Deprecation Warnings #27 name changed: source line 1182 has {solution-start}, output line 990 has {code-cell}
- directive [harrison_kreps] Fix tables #30 name changed: source line 1274 has {solution-end}, output line 1087 has {code-cell}
- directive [lecture_comparison][rational_expectations] \argmax Issue #31 name changed: source line 1277 has {exercise}, output line 1098 has {code-cell}
- directive Update lecture-python sources with latest updates #32 name changed: source line 1289 has {solution-start}, output line 1121 has {code-cell}
- directive add Macro syntax for argmax and argmin #35 name changed: source line 1354 has {code-cell}, output line 1194 has {solution-end}
- directive UPDATE: update lecture-python (b37408c) with sphinx-tomyst (b06cacb) #36 name changed: source line 1369 has {solution-end}, output line 1197 has {exercise}
- directive #37 name changed: source line 1372 has {exercise}, output line 1211 has {solution-start}
- directive [lecture_comparison] [re_with_feedback] Strange-looking prints of latex equations generated by code #38 name changed: source line 1434 has {solution-start}, output line 1217 has {code-cell}
- directive update latest sources (9293c8a) using tomyst (b06cacb) #41 name changed: source line 1521 has {code-cell}, output line 1269 has {solution-end}
- directive [UPGRADE] upgrade to anaconda=2020.11 #42 name changed: source line 1535 has {code-cell}, output line 1272 has {exercise}
- directive [download notebooks] Updates to support Download Notebooks #43 name changed: source line 1546 has {code-cell}, output line 1312 has {solution-start}
- directive [lecture_comparison][38_wald_friedman]math_expression_in_indented_sentence #48 name changed: source line 1669 has {solution-end}, output line 1563 has {code-cell}
- directive [lecture_comparison]math_size_in_headings #49 name changed: source line 1672 has {exercise}, output line 1586 has {code-cell}
- directive [lecture_comparison][55_pandas_panel]output_is_different #50 name changed: source line 1686 has {solution-start}, output line 1600 has {code-cell}
- directive [downloadnb-comparison] Math Processing Error in many lectures #52 name changed: source line 1728 has {code-cell}, output line 1624 has {solution-end}
- directive [downloadnb-comparison] all
Footnotestitle missing in MYST downloadnb #53 name changed: source line 1734 has {code-cell}, output line 1627 has {exercise} - directive [downloadnb-comparison] external links in footnotes not working in both RST and MYST notebooks #54 name changed: source line 1749 has {solution-end}, output line 1645 has {solution-start}
- directive [downloadnb-comparison] problematic latex math symbols in both-version notebooks #55 name changed: source line 1752 has {exercise}, output line 1653 has {code-cell}
- directive [downloadnb-comparison] abnormal small latex brackets in both-version lectures #56 name changed: source line 1801 has {solution-start}, output line 1674 has {code-cell}
- directive [downloadnb-comparison] [19_short_path] a link issue #61 name changed: source line 1974 has {code-cell}, output line 1746 has {solution-end}
- Translation behind: lectures/likelihood_ratio_process_2.md: zh-cn's translation of it is at source
07975d5. This PR's change assumes the English that translation PR 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 carries, and it is still open in the edition. Merge it, then carry this change.
- Error processing lectures/likelihood_var.md: Error: structural parity check failed for lectures/likelihood_var.md:
- target anchors diverge — missing from output: (var_kl_rate)=
- Translation behind: lectures/likelihood_var.md: zh-cn's translation of it is at source
aff1ee4. This PR's change assumes the English that translation PR 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 carries, and it is still open in the edition. Merge it, then carry this change.
- Error processing lectures/phillips_drifts_volatilities.md: Error: structural parity check failed for lectures/phillips_drifts_volatilities.md:
- directive count differs: source has 68, output has 54 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [lecture_comparison]view_source_file_bottom_directs_to_wrong_site #15 name changed: source line 503 has {math}, output line 407 has {code-cell}
- directive ENH: Fix for bringing code in from a file #16 name changed: source line 541 has {code-cell}, output line 426 has {math}
- directive [lecture_comparison] Broken internal reference #25 name changed: source line 1092 has {code-cell}, output line 775 has {math}
- directive [lecture_comparison][harrison_kreps] Markdown Tables are Broken in MyST #29 name changed: source line 1218 has {math}, output line 870 has {code-cell}
- directive [harrison_kreps] Fix tables #30 name changed: source line 1243 has {code-cell}, output line 888 has {math}
- directive Update lecture-python sources with latest updates #32 name changed: source line 1284 has {code-cell}, output line 929 has {math}
- directive [optgrowth_fast] fix broken links #33 name changed: source line 1329 has {math}, output line 943 has {code-cell}
- directive [ifp] fix broken link #34 name changed: source line 1347 has {math}, output line 969 has {code-cell}
- directive [lecture_comparison] code-block output issue #40 name changed: source line 1499 has {code-cell}, output line 1170 has {math}
- directive [UPGRADE] upgrade to anaconda=2020.11 #42 name changed: source line 1572 has {math}, output line 1244 has {code-cell}
- directive [lecture_comparison]redundant_space_in_code #47 name changed: source line 1717 has {code-cell}, output line 1492 has {exercise}
- directive [lecture_comparison][38_wald_friedman]math_expression_in_indented_sentence #48 name changed: source line 1984 has {code-cell}, output line 1504 has {solution-start}
- directive [lecture_comparison][55_pandas_panel]output_is_different #50 name changed: source line 2028 has {code-cell}, output line 1519 has {solution-end}
- directive [downloadnb-comparison] Math Processing Error in many lectures #52 {solution-start} argument changed: source line 2093 has "csdv_ex1", output line 1536 has "csdv_ex2" — structural arguments are never translated
- directive [downloadnb-comparison] external links in footnotes not working in both RST and MYST notebooks #54 name changed: source line 2133 has {code-cell}, output line 1587 has {solution-end}
- target anchors diverge — missing from output: (csdv-results)=, (csdv_persistence)=, (csdv_tests)=, (csdv-appendix)=, (csdv-mc-error)=; not in source: (csdv-updated-evidence)=
- Translation behind: lectures/phillips_drifts_volatilities.md: zh-cn's translation of it is at source
e168c7d. 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_misspecified.md: Error: structural parity check failed for lectures/phillips_misspecified.md:
- directive count differs: source has 43, output has 42 — a wholesale mismatch usually means the document was re-fenced or truncated
- directive [lecture_comparison] Many code cells are not compiled or are looking strange #23 name changed: source line 483 has {code-cell}, output line 474 has {exercise-start}
- directive [lecture_comparison][multivariate_normal] A whole section is missing #24 name changed: source line 542 has {exercise-start}, output line 484 has {exercise-end}
- directive [lecture_comparison] Broken internal reference #25 name changed: source line 552 has {exercise-end}, output line 487 has {solution-start}
- directive [lecture_comparison] Images need review for size on Jupyter Book #26 name changed: source line 555 has {solution-start}, output line 491 has {code-cell}
- directive [lecture_comparison] Numba Deprecation Warnings #27 name changed: source line 559 has {code-cell}, output line 519 has {solution-end}
- directive [lecture_comparison] An issue for both MyST and RST Versions #28 name changed: source line 587 has {solution-end}, output line 522 has {exercise-start}
- directive [lecture_comparison][harrison_kreps] Markdown Tables are Broken in MyST #29 name changed: source line 590 has {exercise-start}, output line 538 has {exercise-end}
- directive [harrison_kreps] Fix tables #30 name changed: source line 606 has {exercise-end}, output line 541 has {solution-start}
- directive [lecture_comparison][rational_expectations] \argmax Issue #31 name changed: source line 609 has {solution-start}, output line 547 has {code-cell}
- directive Update lecture-python sources with latest updates #32 name changed: source line 615 has {code-cell}, output line 583 has {solution-end}
- directive [optgrowth_fast] fix broken links #33 name changed: source line 651 has {solution-end}, output line 586 has {exercise-start}
- directive [ifp] fix broken link #34 name changed: source line 654 has {exercise-start}, output line 598 has {exercise-end}
- directive add Macro syntax for argmax and argmin #35 name changed: source line 666 has {exercise-end}, output line 601 has {solution-start}
- directive UPDATE: update lecture-python (b37408c) with sphinx-tomyst (b06cacb) #36 name changed: source line 669 has {solution-start}, output line 617 has {code-cell}
- directive #37 name changed: source line 685 has {code-cell}, output line 641 has {solution-end}
- directive [lecture_comparison] [re_with_feedback] Strange-looking prints of latex equations generated by code #38 name changed: source line 709 has {solution-end}, output line 644 has {exercise-start}
- directive [lecture_comparison][FiniteMarkovChains]equation reference numbering issue #39 name changed: source line 712 has {exercise-start}, output line 656 has {exercise-end}
- directive [lecture_comparison] code-block output issue #40 name changed: source line 724 has {exercise-end}, output line 659 has {solution-start}
- directive update latest sources (9293c8a) using tomyst (b06cacb) #41 name changed: source line 727 has {solution-start}, output line 671 has {code-cell}
- directive [UPGRADE] upgrade to anaconda=2020.11 #42 name changed: source line 739 has {code-cell}, output line 685 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 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_self_confirming.md: Error: structural parity check failed for lectures/phillips_self_confirming.md:
- directive count differs: source has 44, output has 37 — 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 200 has {code-cell}
- directive [execution] Current Sphinx execution warnings #14 name changed: source line 262 has {math}, output line 324 has {code-cell}
- directive ENH: Fix for bringing code in from a file #16 name changed: source line 377 has {code-cell}, output line 457 has {math}
- directive [lecture_comparison]_missing_links_to_previous/next_lectures_at_the_bottom #19 name changed: source line 524 has {code-cell}, output line 500 has {math}
- directive [lecture_comparison] Issues in footnote notations #20 name changed: source line 541 has {math}, output line 524 has {code-cell}
- directive [lecture_comparison]_uncentering_generating/inserted_plots/figures_in_myst #21 name changed: source line 553 has {math}, output line 589 has {code-cell}
- directive [lecture_comparison] An issue for both MyST and RST Versions #28 name changed: source line 784 has {code-cell}, output line 803 has {exercise-start}
- directive [lecture_comparison][harrison_kreps] Markdown Tables are Broken in MyST #29 name changed: source line 831 has {code-cell}, output line 815 has {exercise-end}
- directive [harrison_kreps] Fix tables #30 name changed: source line 856 has {exercise-start}, output line 818 has {solution-start}
- directive [lecture_comparison][rational_expectations] \argmax Issue #31 name changed: source line 868 has {exercise-end}, output line 822 has {code-cell}
- directive Update lecture-python sources with latest updates #32 name changed: source line 871 has {solution-start}, output line 841 has {solution-end}
- directive [optgrowth_fast] fix broken links #33 name changed: source line 875 has {code-cell}, output line 844 has {exercise-start}
- directive [ifp] fix broken link #34 name changed: source line 897 has {solution-end}, output line 852 has {exercise-end}
- directive add Macro syntax for argmax and argmin #35 name changed: source line 900 has {exercise-start}, output line 855 has {solution-start}
- directive UPDATE: update lecture-python (b37408c) with sphinx-tomyst (b06cacb) #36 name changed: source line 917 has {exercise-end}, output line 859 has {code-cell}
- directive #37 name changed: source line 920 has {solution-start}, output line 879 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 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/blackwell_kihlstrom.md: merge 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 and 🌐 [translation-sync] [information_transfer] Add a lecture on Green's incentives for information transfer lecture-python.zh-cn#316 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 blackwell_kihlstrom.md, or\translate-resyncon this PR under the condition below.lectures/divergence_measures.md: merge 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 and 🌐 [translation-sync] [exponential_families, information_projections] Add two lectures on information geometry lecture-python.zh-cn#324 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 divergence_measures.md, or\translate-resyncon this PR under the condition below.lectures/likelihood_ratio_process.md: merge 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 and 🌐 [translation-sync] Raise the build stack to the shared baseline, pin jax 0.12.1, drop --upgrade from install lines lecture-python.zh-cn#328 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 likelihood_ratio_process.md, or\translate-resyncon this PR under the condition below.lectures/likelihood_ratio_process_2.md: merge 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 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 likelihood_ratio_process_2.md, or\translate-resyncon this PR under the condition below.lectures/likelihood_var.md: merge 🌐 [translation-sync] [stats_info] Correct the mathematics and add exercises across the Statistics and Information lectures lecture-python.zh-cn#310 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 likelihood_var.md, or\translate-resyncon this PR under the condition below.lectures/phillips_drifts_volatilities.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_drifts_volatilities.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 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_misspecified.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 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_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 #1138 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 220fb976b301d27c514e4e2c0a30693541ed71b2..origin/main -- <path>
must print 0. A structural-parity failure repeats exactly on a resync, so fix its cause first.
Activity