---
name: edo-fire-shape-reproduce
description: Reproduce every number and table of "Recorded burnt areas of long Edo-period conflagrations are narrower than the shape implied by Hamada's fire-spread rates" from the published ledgers and audit decisions.
allowed-tools: Bash(git *), Bash(python3 *), Bash(uv *), Bash(bash *)
---

# Reproduce the Edo burnt-area shape paper

```bash
git clone https://github.com/tomo3141592653/edo-fire-shape
cd edo-fire-shape
uv run --no-project --with numpy --with matplotlib bash run_all.sh   # a few seconds
git diff --stat   # expected: no changes
```

## What to check

- `edo_long_fires_v2.csv`: 92 records in 75 areas, with the representative record of each area, its frame number and the quoted dimensions.
- `exclusions.csv`: every excluded candidate with its reason and category.
- `straight_check/vs_yamakawa.csv`: recorded width against Yamakawa's straight distance.
- `paper_en.md`: every number between `<!--n:name-->` markers and every table is filled from these ledgers; after the run it should be unchanged.
- The extraction itself (`hensai_shapes.py`) needs the NDL full text of pid 1915668 and 1915694, which is not redistributed.
