Due: Before next class
Prerequisites:
{BALLPARK}_intro.ipynb exists{BALLPARK}_prior-literature.ipynb and self.bib exist{BALLPARK}_subsequent-literature.ipynb existsself.bib, references.bib, and subsequent-literature.bib in the paper folderThroughout this document, {BALLPARK} stands for your paper’s folder name (e.g. OptimumDebt, HKMOHousingChannelMP). Always replace it with your actual folder name.
Improve the summary notebook (fix typos, heading hierarchy, cross-references, images), add MyST citations, create a myst.yml configuration that weaves all four notebooks together via a table of contents, verify the build, and submit your pull request.
Example: See the completed Benhabib_et_al_2019 ballpark entry for a model of the finished product.
Work in your fork, on the same branch you used to open your original ballpark PR:
cd ~/github/<your-username>/ballpark/models/We-Would-Like-In-Econ-ARK/{BALLPARK}/
Already have a fork and PR branch? You should — see the Class 05 assignment, Step 0. If not, see the setup instructions in Create Intro Notebook, Part A.
Open {BALLPARK}_summary.ipynb and read through the existing text. Fix any clear spelling or grammatical errors (e.g. “Weath” -> “Wealth”, “retturn” -> “return”). Do not rewrite the original author’s prose — just fix clear errors.
The summary notebook must have a single # (h1) heading as its document title — MyST uses this as the table-of-contents entry. All subsequent sections should be ##, subsections ###, etc. If the existing headings skip levels or start at ##, fix the hierarchy.
If the notebook contains raw HTML <img> tags, replace them with Markdown image syntax with descriptive alt text:

Do not use generic alt text like “Alt text” or “Optional title”.
In {BALLPARK}_summary.ipynb:
{cite:t}keyor `{cite:p}`keyreferences.bib, self.bib, or subsequent-literature.bibAt appropriate points in the summary notebook, add brief connecting remarks that link to the companion notebooks. Cross-references must be clickable Markdown links, not just bold text:
For a detailed discussion of the foundational literature, see the
[Prior Literature]({BALLPARK}_prior-literature.ipynb) notebook.
For how later work addresses these issues, see the
[Subsequent Literature]({BALLPARK}_subsequent-literature.ipynb) notebook.
Keep cross-references light — one or two sentences each.
myst.ymlCreate a myst.yml file in the paper folder that defines the table of contents and bibliography:
# myst.yml in models/We-Would-Like-In-Econ-ARK/{BALLPARK}/
version: 1
project:
title: "[Paper Title] — Ballpark Entry"
bibliography:
- self.bib
- references.bib
- subsequent-literature.bib
toc:
- file: {BALLPARK}_intro.ipynb
- file: {BALLPARK}_prior-literature.ipynb
- file: {BALLPARK}_summary.ipynb
- file: {BALLPARK}_subsequent-literature.ipynb
site:
title: "[Paper Title] — Ballpark Entry"
Replace {BALLPARK} with your actual folder name and [Paper Title] with the paper title. Note self.bib is listed first in the bibliography.
myst build
What to check:
If myst is not recognized, re-run bash scripts/setup_env.sh or see the MyST CLI reference.
Before pushing, ask Cursor to check your work:
“I’m about to create a pull request to econ-ark/ballpark. Can you review my changes and tell me if anything looks wrong?”
You can also inspect what you’re about to commit:
git diff
git status
git add .
git commit -m "Add four-notebook MyST assembly with citations and TOC"
git push origin <your-PR-branch>
Replace origin with your fork’s remote name and <your-PR-branch> with your branch name. If you don’t remember your branch name, run git branch --show-current.
If you already have an open PR from this branch, pushing updates it automatically — no new PR needed.
Copy the URL of your pull request (e.g., https://github.com/econ-ark/ballpark/pull/42).
Bring this URL to class — you’ll need to share it.
{BALLPARK}/
├── [original-notebook].ipynb ← original (unchanged)
├── {BALLPARK}_summary.ipynb ← your copy (edited)
├── {BALLPARK}_intro.ipynb ← new
├── {BALLPARK}_prior-literature.ipynb ← new
├── {BALLPARK}_subsequent-literature.ipynb ← new
├── self.bib ← new (the subject paper)
├── references.bib ← prior literature
├── subsequent-literature.bib ← subsequent literature
└── myst.yml ← new (TOC + bibliography config)
_intro, _prior-literature, _summary, _subsequent-literatureself.bib, references.bib, subsequent-literature.bibmyst.yml with TOC and bibliography configurationYour PR is successful if:
myst.yml, self.bib, and .bib filesmyst build ran without citation errorsCitations don’t resolve:
self.bib, references.bib, or subsequent-literature.bib exactly (case-sensitive).bib files are listed in myst.yml under project: bibliography:myst build fails:
myst --versionbash scripts/setup_env.sh if needed“Permission denied” when pushing:
econ-ark/ballparkgit remote -v — origin should point to your forkPush rejected (“non-fast-forward”):
git pull --rebase origin <your-PR-branch>
git push origin <your-PR-branch>
“Merge conflicts” on the PR:
Branch or remote confusion:
git remote -v and git branch --show-current to see where you areAsk Cursor AI. If the “auto” model is inadequate, try Claude Opus 4.6 or ChatGPT 5.3. If both agree, the answer is probably correct.
Your PR will be reviewed. Once approved and merged, you’ll officially be a contributor to the Econ-ARK ballpark repository!