priyanshux-dev

Results issues of priyanshux-dev

### Updated Minimal Reproducer While a direct `@method_logger("mesa")` inside a top-level class body resolves the immediate class frame, `inspect.getouterframes(inspect.currentframe())[1][3]` fails whenever `method_logger` is invoked via a custom wrapper decorator, applied...

bug

### Describe the bug In `mesa/discrete_space/voronoi.py`, `VoronoiGrid.__init__` explicitly separates a callable `capacity` into `capacity_function` and `numeric_capacity` (setting `numeric_capacity = None` when `capacity` is callable) before passing `capacity=numeric_capacity` to `super().__init__()`. However,...

bug

### Describe the bug In `mesa/experimental/states/state.py`, `ContinuousState._get_state()` binds declarative Threshold instances before it initializes and installs the instance’s backing state dictionary. This initialization order allows `_get_state()` to be entered re-entrantly:...

bug

## Describe the bug `MatplotlibBackend.collect_agent_data()` and `AltairBackend.collect_agent_data()` mutate an `AgentPortrayalStyle` instance when resolving an agent’s position. Both backends assign the resolved position directly to `aps.x` and `aps.y`. When the same...

bug
performance
visualization

**Describe the bug** `MatplotlibBackend.collect_agent_data()` does not preserve an explicit portrayal size of `0`. The backend currently uses a truthiness-based fallback, so `size=0` is treated as missing and replaced by `default_size`:...

bug
visualization

> [!WARNING] > This issue is not yet ready for a pull request. If you are interested in contributing to DIPY, please read our [contributing guidelines](https://github.com/dipy/dipy/blob/master/.github/CONTRIBUTING.md), in particular the section...

type:needs triage