Skip to content

cleanup#3258

Merged
quaquel merged 9 commits intomesa:mainfrom
quaquel:signal_cleaning
Feb 8, 2026
Merged

cleanup#3258
quaquel merged 9 commits intomesa:mainfrom
quaquel:signal_cleaning

Conversation

@quaquel
Copy link
Copy Markdown
Member

@quaquel quaquel commented Feb 8, 2026

This is a small maintenance PR that cleans up the docstrings and tests for mesa_signals. Nothing API wise is changed, just cleaning up stale code, fixing outdated docstrings, and some small fixes to tests.

Code-wise, the only change is that Observable now emits a signal after changing the attribute instead of before. This is the correct behavior, for otherwise if the signal indirectly triggers a get on the observable it still returns the old value instead of the new value.

@quaquel quaquel added the docs Release notes label label Feb 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 8, 2026

Performance benchmarks:

Model Size Init time [95% CI] Run time [95% CI]
BoltzmannWealth small 🔵 -0.1% [-0.3%, +0.1%] 🔴 +4.5% [+4.4%, +4.6%]
BoltzmannWealth large 🔵 +0.2% [-0.2%, +0.7%] 🔴 +5.0% [+4.7%, +5.4%]
Schelling small 🔵 +0.4% [+0.2%, +0.6%] 🔵 +1.5% [+1.3%, +1.6%]
Schelling large 🔵 +0.2% [-0.3%, +0.6%] 🔵 +1.6% [+1.0%, +2.1%]
WolfSheep small 🔵 -0.4% [-0.6%, -0.2%] 🔴 +8.9% [+8.7%, +9.0%]
WolfSheep large 🔵 -0.2% [-0.9%, +0.5%] 🔴 +5.8% [+5.3%, +6.2%]
BoidFlockers small 🔵 -1.0% [-1.2%, -0.7%] 🔵 -0.1% [-0.3%, +0.0%]
BoidFlockers large 🔵 +0.1% [-0.3%, +0.5%] 🔵 -1.3% [-1.5%, -1.0%]

Copy link
Copy Markdown

@edgeofchaos42 edgeofchaos42 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@tpike3 tpike3 left a comment

Choose a reason for hiding this comment

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

Sorry wrong profile

@quaquel quaquel added the trigger-benchmarks Special label that triggers the benchmarking CI label Feb 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 8, 2026

Performance benchmarks:

Model Size Init time [95% CI] Run time [95% CI]
BoltzmannWealth small 🔵 -0.8% [-1.2%, -0.4%] 🔵 -0.9% [-1.2%, -0.7%]
BoltzmannWealth large 🔵 +1.7% [+0.9%, +2.2%] 🔵 +0.5% [-0.2%, +1.2%]
Schelling small 🔵 +0.4% [+0.1%, +0.7%] 🔵 +0.4% [+0.3%, +0.6%]
Schelling large 🔵 +0.7% [+0.4%, +1.0%] 🔵 +2.5% [+1.7%, +3.2%]
WolfSheep small 🔵 -0.4% [-0.7%, -0.1%] 🔵 +0.3% [+0.1%, +0.4%]
WolfSheep large 🔵 +0.2% [-0.6%, +1.3%] 🔵 +0.2% [-0.4%, +0.8%]
BoidFlockers small 🔵 -1.3% [-1.6%, -1.0%] 🔵 -0.2% [-0.3%, +0.0%]
BoidFlockers large 🔵 -1.0% [-1.4%, -0.7%] 🔵 -0.1% [-0.2%, +0.0%]

@quaquel quaquel merged commit 6a1bc50 into mesa:main Feb 8, 2026
15 checks passed
@quaquel quaquel deleted the signal_cleaning branch February 8, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Release notes label trigger-benchmarks Special label that triggers the benchmarking CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants