forest_fire notebook broken with Mesa 4
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 252
- Forks
- 279
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 2
Description
The Forest Fire notebook is broken with Mesa 4 due to several deprecated
or removed APIs.
Errors when running the notebook:
- `from mesa.batchrunner import BatchRunner` — BatchRunner removed in Mesa 4
- `fire.run_model()` — deprecated, no longer works
- `fire.dc` — attribute renamed to `fire.datacollector`
- `df.BurnedOut` — column name is `"Burned Out"` in batch_run output
Environment:
- Mesa 4.x
- Python 3.11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the Forest Fire notebook and run it in a Python 3.11 environment with Mesa 4.x to reproduce the listed errors. Trace the BatchRunner import, model execution call, datacollector attribute, and Burned Out column reference. Done means the notebook runs successfully and those deprecated or renamed APIs no longer cause errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100