Souradeep Roy
Souradeep Roy
### Summary This PR adds an optional selection hook to `create_meta_agent` that allows users to control how an existing meta-agent is chosen when multiple eligible meta-agents of the same class...
### Summary Adds a `Locatable` protocol and `HasPosition` mixin to formalize the `.position` interface across agents and cells in Mesa. Closes the task in #3132 . ### Motive `.position` exists...
## Summary This change allows AgentDataSet to accept an agent class. When a class is passed, agents are retrieved using model.agents_by_type. This brings it in line with how NumpyAgentDataSet works....
### Summary This PR adds `ObservableAgentDataSet`, a reactive dataset that subscribes to observable agent properties using the `mesa_signals` system. Unlike `AgentDataSet`, which gathers values when .data is accessed, `ObservableAgentDataSet` maintains...
**Summary** While profiling mesa.discrete_space under a high-movement workload, I observed significant time spent in cell movement and occupancy checks. This issue summarizes the hotspots and proposes a few improvements. **Reproduction**...
## Summary Add optional `meta_agent_selector` parameter to `create_meta_agent` to let users control which meta-agent receives new agents when multiple candidates of the same class exist. ## Current Behavior When multiple...
**Describe the bug** The Altair-based visualization component uses `alt.utils.infer_vegalite_type_for_pandas`, which was removed in Altair v5+. As a result, visualization-related tests fail with an `AttributeError` on current Altair versions. **Expected behavior**...
**Describe the bug** When initializing a model using `seed`, Mesa shows the following warning: *The use of the `seed` keyword argument is deprecated, use `rng` instead. No functional changes.* However,...
When creating a `Schedule` with start > end, the `EventGenerator` still executes once at the start time and then deactivates, which results in an invalid configuration of the execution window....
**Summary** While benchmarking heavy event scheduling workloads, I noticed that `Event.__lt__` currently performs tuple-based comparison: ````python return (self.time, self.priority, self.unique_id) < ( other.time, other.priority, other.unique_id, ) ```` Since heap operations...