Skip to content

Merge#4

Merged
falloficaruss merged 7 commits into
falloficaruss:backendfrom
mesa:main
May 23, 2026
Merged

Merge#4
falloficaruss merged 7 commits into
falloficaruss:backendfrom
mesa:main

Conversation

@falloficaruss
Copy link
Copy Markdown
Owner

Thanks for opening a PR! Please click the Preview tab and select a PR template:

Feature/enhancement PRs require prior maintainer approval in an issue or discussion before they are accepted.

dependabot Bot and others added 7 commits May 19, 2026 09:44
Bumps [errata-ai/vale-action](https://github.com/errata-ai/vale-action) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/errata-ai/vale-action/releases)
- [Commits](vale-cli/vale-action@v2.1.1...2.1.2)

---
updated-dependencies:
- dependency-name: errata-ai/vale-action
  dependency-version: 2.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes #3454

SolaraViz now validates upfront that model is an initialized instance,
not a class. The check fires before Solara's reactive system can swallow
the bad input, producing a clear, actionable error message.

Two cases are handled:
- SolaraViz(MyModel, ...) — bare class passed directly
- SolaraViz(solara.reactive(MyModel), ...) — class wrapped in reactive

Error message includes the concrete fix: 'Did you mean SolaraViz(MyModel(), ...)?'

This is a common migration mistake from ModularServer, which took a class.

Added tests in tests/visualization/test_solara_viz_class_validation.py.
)

* Fix run_model_test capturing initial image instead of updated visualization

* Fix ValueError in get_k_nearest_agents when k >= number of agents

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix k>=n and empty space handling in ContinuousSpace

* Address review feedback: add warning for k>n, fix test setup, remove unrelated viz change

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jan Kwakkel <j.h.kwakkel@tudelft.nl>
….py` (#3482)

* Add diffing engine to core.py

* Remove observe usage from ComputedState

* Rename _add_parent

* fix indentation

---------

Co-authored-by: Jan Kwakkel <j.h.kwakkel@tudelft.nl>
@falloficaruss falloficaruss merged commit 3249d25 into falloficaruss:backend May 23, 2026
15 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants