mesa / mesa/mesa-frames

Emulate RandomActivation with `DataFrame.rolling`

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
42
Forks
18
Avg merge
1m
Merged PRs (30d)
1

Description

If you shuffle the Agents DataFrame, and then apply a rolling operation, you kind-of can emulate RandomActivation scheduling. The environment wouldn't be updated, but the other Agents will be.

https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.rolling.html

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is named. Start by reading the issue context and the linked pandas.DataFrame.rolling documentation, then identify where agent scheduling and environment updates are implemented. Done would require a defined implementation scope and tests showing the intended RandomActivation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.