Use new Discrete Event Scheduling in examples
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 252
- Forks
- 279
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 2
Description
Open for contributions!
Now that the Discrete Event Scheduler (DEVS) is released as experimental in Mesa 2.3.0, it would be interesting if we can use it in examples.
- Current code implementation: mesa/experimental/devs
- Original PR: https://github.com/projectmesa/mesa/pull/2066
- Original discussion: https://github.com/projectmesa/mesa/discussions/2032
All three mesa benchmark models already use devs, so those changes could be ported over.
The approach for this would generally be:
- Read up on DEVS
- Go through the Mesa examples and seek opportunities where the DEVS could simplify or improve things.
- Open a Discussion on mesa-examples proposing your changes
- Implement them and open a PR here
The nuance here being that applying the DEVS is not a goal to be implemented as much as possible, but a means that could make some model (parts) more elegant, efficient, readable and/or performant.
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 reading the DEVS implementation in mesa/experimental/devs and the existing usages in the benchmarks directory. Review the Mesa examples for cases where discrete event scheduling could improve readability, efficiency, or performance, then propose candidates in a mesa-examples Discussion before implementing anything. Done means an agreed example change is implemented and submitted as a PR.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100