bug: STLTMemory uses model.steps which does not exist in Mesa 4.x
Open
Nobody has claimed this yet.
depedency
mesa-4
- Dominant language
- Python
- Stars
- 73
- Forks
- 89
- Avg merge
- 14d 58m
- Merged PRs (30d)
- 2
Description
st_lt_memory.py uses self.agent.model.steps which was removed in Mesa 4.x. Causes AttributeError during memory consolidation.
The fix int(getattr(self.agent.model, "_time", 0)) is already applied in record_model.py
this brings st_lt_memory.py in line. Fixed in PR #199
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing st_lt_memory.py with the already-updated record_model.py and review PR #199. Confirm that the memory-consolidation path no longer accesses the removed model.steps attribute and uses the same time handling as record_model.py.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100