mesa / mesa/mesa-examples

Use new Discrete Event Scheduling in examples

Open
#124 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
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.

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.