You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,42 @@ All roles are expected to:
177
177
178
178
Mesa grows through good ideas and contributions. We're all volunteers working together to make Mesa better. Don't hesitate to reach out to any maintainer to discuss your interests and potential growth within the project!
179
179
180
+
## Mesa examples structure and policy
181
+
Mesa maintains a curated set of core examples within the main repository, complemented by a separate [mesa-examples](https://github.com/mesa/mesa-examples) repository for community contributions. This two-tier structure balances maintainability with community creativity.
182
+
183
+
### Core examples (in `mesa/examples`)
184
+
Core examples in the main Mesa repository are classic, well-known agent-based models that demonstrate Mesa's capabilities and serve as learning resources. They are organized into two categories:
185
+
186
+
-**Basic Examples** use only stable Mesa features and are ideal starting points for beginners.
187
+
-**Advanced Examples** are more complex models that may use experimental features to demonstrate advanced concepts.
188
+
189
+
Core examples are:
190
+
- Tested in CI, including batch runs and visualizations
191
+
- Maintained to high code quality standards
192
+
- Updated to work with each Mesa release
193
+
- Documented and included in ReadTheDocs
194
+
- Some are used in performance benchmarking
195
+
196
+
### Community examples (in mesa-examples)
197
+
The [mesa-examples](https://github.com/mesa/mesa-examples) repository serves as a gallery for user-contributed models and creative applications of Mesa. We welcome diverse contributions here with more relaxed maintenance requirements. Examples in this repository should include:
198
+
- A clear README explaining the model
199
+
- Requirements or environment files for reproducibility
200
+
- Working code compatible with at least one Mesa major version
201
+
202
+
We accept contributions liberally to this repository to showcase the breadth of Mesa applications, even if we cannot actively maintain all examples long-term.
203
+
204
+
### Contributing examples
205
+
When contributing a new example, consider:
206
+
-**For core examples**: Propose additions through a GitHub discussion first. Core examples should be:
207
+
- widely-recognized canonical models
208
+
- demonstrate specific Mesa features effectively (that are not already sufficiently demonstrated by other models)
209
+
-**For community examples**: Open a PR directly to mesa-examples with your model, README, and environment file.
210
+
-**Improving existing examples**: PRs to update or enhance any example are always welcome in either repository.
211
+
212
+
This structure allows us to maintain a stable, high-quality set of learning resources while encouraging community creativity and diverse applications of Mesa.
213
+
214
+
Historical context and further motivation can be found in discussion [#2330](https://github.com/mesa/mesa/discussions/2330) and PR [#2349](https://github.com/mesa/mesa/pull/2349).
Copy file name to clipboardExpand all lines: docs/tutorials/1_adding_space.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -347,7 +347,7 @@
347
347
"source": [
348
348
"## Next Steps\n",
349
349
"\n",
350
-
"Check out the [collecting data tutorial](https://mesa.readthedocs.io/latest/tutorials/2_collecting_data_tutorial.html) on how to collect data form your model."
350
+
"Check out the [collecting data tutorial](https://mesa.readthedocs.io/latest/tutorials/2_collecting_data.html) on how to collect data form your model."
0 commit comments