Skip to content

Add gradual_trade_agreements and organizational_equilibrium lectures - #396

Merged
mmcky merged 4 commits into
mainfrom
oct_seoul
Oct 27, 2026
Merged

mmcky merged 4 commits into
mainfrom
oct_seoul

Conversation

@mmcky

@mmcky mmcky commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Two new lectures at the end of the Dynamic Programming Squared section:

  • gradual_trade_agreements: self-enforcing trade agreements with gradual tariff reduction (Bond and Park 2002) and gradual expansion of membership (Bond 2009), solved recursively with promised value as the state.
  • organizational_equilibrium: institution building without commitment (Bassetto, Huo and Rios-Rull 2024), applied to a growth model with present bias and to tariffs with saving and growth.

Each has three exercises with dropdown solutions and a section on connections to the other DP-squared lectures. Adds 14 bibliography entries.

thanks @thomassargent30

Two new lectures at the end of the Dynamic Programming Squared section:

- gradual_trade_agreements: self-enforcing trade agreements with
  gradual tariff reduction (Bond and Park 2002) and gradual expansion
  of membership (Bond 2009), solved recursively with promised value
  as the state.
- organizational_equilibrium: institution building without commitment
  (Bassetto, Huo and Rios-Rull 2024), applied to a growth model with
  present bias and to tariffs with saving and growth.

Each has three exercises with dropdown solutions and a section on
connections to the other DP-squared lectures. Adds 14 bibliography
entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 27, 2026 11:00
@netlify

netlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for lustrous-melomakarona-3ee73e ready!

Name Link
🔨 Latest commit dfa84cd
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/6ae08911d7902065f8532016
😎 Deploy Preview https://deploy-preview-396--lustrous-melomakarona-3ee73e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The lectures contain substantial executable numerical economics whose build/run correctness in CI cannot be verified here, warranting final human review despite no issues found by static inspection.

No open issues 🎉

What changed in this PR

Adds two new lectures to the end of the "Dynamic Programming Squared" section of the QuantEcon advanced Python lecture series, covering gradualism in trade policy. gradual_trade_agreements develops self-enforcing trade agreements with gradual tariff reduction (Bond and Park 2002) and gradual membership expansion (Bond 2009), solved recursively with a promised value as the state. organizational_equilibrium introduces institution-building without commitment (Bassetto, Huo and Ríos-Rull 2024), applied to a present-biased growth model and to tariffs with saving and growth. Both include three exercises with dropdown solutions and a "Connections to other lectures" section, and the work is well integrated with existing lectures via {doc}/{ref} cross-references.

Changes:

  • Two new executable MyST lectures with derivations, numerical code, figures, and exercises.
  • Registers both lectures in _toc.yml under "Dynamic Programming Squared", preserving the ordering implied by their mutual "next lecture" references.
  • Adds 14 BibTeX entries to quant-econ.bib; all cite keys resolve and no duplicates are introduced.
File Description
lectures/​organizational_equilibrium.md New lecture on organizational equilibrium; code matches the stated saving-rate/tariff formulas and all labels/refs resolve.
lectures/​gradual_trade_agreements.md New lecture on self-enforcing trade agreements; recursive frontier and membership-expansion code are internally consistent with the math and footnotes.
lectures/​_toc.yml Registers both lectures in the correct section and order.
lectures/​_static/​quant-econ.bib Adds 14 references consumed by the two lectures; keys match usage.

Review effort: Balanced

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions
github-actions Bot temporarily deployed to pull request October 27, 2026 11:10 Inactive
- organizational_equilibrium: rename the transition-map variable from
  the script letter 𝒯 to T_map. Python normalises 𝒯 to T, and the
  script letter may not render in every notebook font.
- gradual_trade_agreements: keep the padding outside the parentheses
  in the exercise 3 table, which printed "(first )".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mmcky and others added 2 commits October 27, 2026 22:16
QuantEcon style favours unicode names in code, so this undoes the
T_map rename from the previous commit. The exercise 3 table padding
change in gradual_trade_agreements stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- gradual_trade_agreements: bold the defined terms "immediate global
  agreement", "two-step agreement" and "building bloc", which were in
  italics (qe-writing-005).
- organizational_equilibrium: shorten three figure captions to six
  words or fewer (qe-fig-004).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions
github-actions Bot temporarily deployed to pull request October 27, 2026 11:30 Inactive
@mmcky
mmcky merged commit 34b0eb3 into main Oct 27, 2026
9 checks passed
@mmcky
mmcky deleted the oct_seoul branch October 27, 2026 11:47

This branch was previously deployed

1 inactive deployment
pull request — dfa84cde Deployed Oct 27, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants