0xnithinmys
0xnithinmys
Several documentation files in the `Everything` MCP server (`src/everything`) contain broken markdown syntax, incorrect file references, and self-referential errors. These issues break the rendering of the README on GitHub/NPM and...
`Grid.create_property_layer()` / `Grid.add_property_layer()` are supposed to reject a property-layer name that collides with an existing attribute, so that attaching a layer can never silently break cell-level access. The collision check...
The weak-ref `AgentSet` only checks `agentref() is not None` it never re-checks `agent in self._agents`. An agent removed by an earlier call in the same loop is still invoked. `_HardKeyAgentSet`...
`track_agents_numpy()` silently mixes data between models. `NumpyAgentDataSet` installs its getter/setter on the agent **class**, and they close over one dataset's array. Each new dataset for the same class reinstalls them,...
`ContinuousSpace` stores positions in `_agent_positions` and exposes the active rows through `agent_positions`, which is a view of that array (`mesa/experimental/continuous_space/continuous_space.py:94-100`). Pickle and `copy.deepcopy` do not keep views, so after a...
`enable_automatic_parallel_stepping()` patches only `AgentSet.shuffle_do` (`mesa_llm/parallel_stepping.py:78-105`). Since Mesa 3.5.0, `model.agents` and `model.agents_by_type[...]` are `_HardKeyAgentSet`, which has its own `shuffle_do` and does not inherit from `AgentSet`. So the documented pattern, `self.agents.shuffle_do("step")` with...
`TableDataSet.data` returns its live `rows` list (`mesa/experimental/data_collection/dataset.py:275`). `DataRecorder` (`datarecorders.py:106-108`) and `JSONDataRecorder` store that list by reference at every snapshot, so all stored blocks are the same growing list. The output...