Replies: 2 comments 1 reply
-
At the moment I would vote for both 1 and 2, but a slightly different version of 2. Instead of splitting examples into core and separated repo, I would suggest to keep all examples together within Mesa to avoid confusions. Regarding 2, for simple examples we can simply re-use In the future if the examples folder grows too large (e.g., over 100 examples in various application areas), then we can move them all into a separate repo. (Or would you prefer to do it now?) Besides, I think it would be great to document how to contribute examples to encourage the community. |
Beta Was this translation helpful? Give feedback.
-
RE: Lots of examples For the record -- I like 3 (which is 1 & 2). But maybe we still put examples in a separate repo and the initialization is the cloning of the repo? So if someone wants to contribute back to the examples -- it is easier & clearer. |
Beta Was this translation helpful? Give feedback.
-
We have proposed several ways to improve the examples UX:
To combine all the solutions above, I think we can the examples split into:
examples
repo. This applies to El Farol and arguably Sugarscape with trading.Regarding with easier way to run the examples, however, there are several ways to do it:
mesa initialize_examples
(as proposed in docs: Improve examples install instructions #1274 (comment)) that will create a folder "mesa_examples" that contains all the core examples. And we will have to modify the readme in the core examples to use this command instead.git clone
to prepare the examples makes it harder for people.Cast your vote for the last 4 options!
Beta Was this translation helpful? Give feedback.
All reactions