priyanshux-dev

Results comments of priyanshux-dev

Thanks for the feedback @codebreaker32 But, still I wanted to share a quick perspective on why implementing a .copy() or __copy__() method on AgentSet might still be worth considering: 1)...

Updated the issue description above with a minimal reproducer covering wrapper decorator factories, nested classes, and post-definition decoration.

@quaquel Thanks for closing the PRs to force discussion — that's the right process. **The bug**: `VoronoiGrid.__init__` passes the raw capacity argument (which may be a Callable) to `cell_klass`, violating...

I took a quick look at `ContinuousSpace` and `ContinuousSpaceAgent` on `main`, and the issue seems to come from NumPy broadcasting in the current validation path. In a 2D space, `ContinuousSpace.in_bounds()`...

### Discovery update: - I found this issue during a static review of `mesa/experimental/states/state.py`, so I did not discover it by observing a runtime failure in a model. - I...

Thanks for opening this. I looked into the chain: PR #4154 was closed with @quaquel noting "Scenarios should handle the typing" — meaning the fix belongs in `Scenario.from_ndarray/from_dataframe`, not in...

I’ve updated the issue to separate this shared-`AgentPortrayalStyle` mutation bug from the unrelated Matplotlib `size=0` behavior. The issue now covers coordinate mutation and shared/cached portrayals only.

To clarify, I haven’t encountered this in a live model or received a report from one. I reproduced the behavior with a minimal example using one shared style per agent...

Sure, @quaquel — I’ll do my best to explain the behavior clearly. I found it by reading `collect_agent_data`, and I couldn't find any bundled Mesa example that triggers it. Every...

Hi @Hari2004761, thanks for reaching out and offering to help! I already have the fix and test cases ready for this issue and will be opening a PR shortly. I...