Skip to content

Fix typo, error message, and docstring references - #3623

Merged
quaquel merged 1 commit into
mesa:mainfrom
EloZiko:fix-typos-and-docstrings
Mar 23, 2026
Merged

quaquel merged 1 commit into
mesa:mainfrom
EloZiko:fix-typos-and-docstrings

Conversation

@EloZiko

@EloZiko EloZiko commented Mar 23, 2026

Copy link
Copy Markdown
Contributor
  • Rename is_cooroperating to is_cooperating in pd_grid example
  • Fix error message in Cell.get_neighborhood ("larger than one" → "at least 1")
  • Fix wrong method/property names in Grid docstrings (cells_with_capacity, select_random_cell_with_capacity)

@codebreaker32 codebreaker32 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@codebreaker32 codebreaker32 added the docs Release notes label label Mar 23, 2026
@github-actions

Copy link
Copy Markdown

Performance benchmarks:

Model Size Init time [95% CI] Run time [95% CI]
BoltzmannWealth small 🔵 +1.6% [+1.0%, +2.3%] 🔵 -0.3% [-0.6%, -0.1%]
BoltzmannWealth large 🔵 +2.1% [+1.1%, +3.1%] 🔴 +8.5% [+5.7%, +11.3%]
Schelling small 🔵 +2.0% [+1.4%, +2.6%] 🔵 +0.6% [-0.2%, +1.5%]
Schelling large 🔴 +3.5% [+3.0%, +3.9%] 🔴 +12.9% [+9.9%, +16.0%]
WolfSheep small 🔵 +1.9% [+1.3%, +2.5%] 🔵 +1.6% [-2.9%, +6.2%]
WolfSheep large 🔵 +2.7% [+1.2%, +4.1%] 🔵 +1.4% [-2.9%, +5.9%]
SugarscapeG1mt small 🔵 -0.3% [-0.8%, +0.2%] 🔵 -0.4% [-1.9%, +1.0%]
SugarscapeG1mt large 🔵 +2.1% [+0.8%, +3.4%] 🔵 +0.9% [-0.7%, +2.4%]
BoidFlockers small 🔵 +0.6% [+0.2%, +1.1%] 🔵 +1.1% [+0.6%, +1.6%]
BoidFlockers large 🔵 +0.6% [+0.2%, +1.0%] 🔵 +1.5% [+1.2%, +1.8%]

@quaquel quaquel added the maintenance Release notes label label Mar 23, 2026
@quaquel
quaquel merged commit 26b1d18 into mesa:main Mar 23, 2026
14 checks passed
souro26 pushed a commit to souro26/mesa that referenced this pull request Mar 28, 2026
codebreaker32 pushed a commit to codebreaker32/mesa that referenced this pull request Apr 1, 2026
EwoutH pushed a commit that referenced this pull request Oct 28, 2026
…method names in grid.py docstrings (#3623)

(cherry picked from commit 26b1d18)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Release notes label maintenance Release notes label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants