Aman Bihari
Aman Bihari
Thanks for the report, but I don't think this is a bug. `copy()` on `_HardKeyAgentSet` is intentional. `model.agents` is the model's own registry and holds strong references, so `copy()` exists...
Thanks for opening this. The difference comes from where each recorder keeps its data. `JSONDataRecorder` keeps everything in memory and only writes when you call `save_to_json()`, so `clear()` frees the...
Curious to know your thoughts
Thanks and Yes, the `interrupt_for` half is known. The `start_action` case is new though, and it is the worse of the two. The agent ends up holding a PENDING action...
Sounds good @atul-upadhyay-7 no need to close #4063. I will review it there.
Yes, the direction works for me. Claiming the slot when the action goes ACTIVE takes care of both things I was worried about. Will try to review both PRs in...
Thanks for the report. One clarification: `window_size` counts snapshots, not time steps: https://github.com/mesa/mesa/blob/2d9b25177627f38fb43c4273ac2bdd03b95f01cb/mesa/experimental/data_collection/basedatarecorder.py#L47 So with `interval=2` a window of 3 covers 6 time units, and it only equals the last...
Thanks for the detailed write-up, but I think this is intended behaviour rather than a bug. `collect()` records the agents that exist when it runs: https://github.com/mesa/mesa/blob/2d9b25177627f38fb43c4273ac2bdd03b95f01cb/mesa/datacollection.py#L336 An agent that removed...
These issue report is generated using Claude Code to keep all issues at one place. I will look into it personally and open PRs in order of their severity( high...
A PR will follow for 1, 4 and 7, which lose or corrupt data in ordinary use. The others are lower impact and open for discussion before any fix.