-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2191 issue moved https://github.com/projectmesa/mesa/tree/main/mesa/experimental/devs/examples to mesa-examples reository #152
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! It's a good start.
The next step would be to write some documentation about it, like all the other branches currently have.
I'm curious if the automated tests now properly pick up these models. I've updated pytest to show, do you know how to update/rebase a PR on the target branch? If not I can also do it.
updated the Epstein Civil Violence Model and Wolf-Sheep Predation Model documentation for the files moved from https://github.com/projectmesa/mesa/tree/main/mesa/experimental/devs/examples to mesa-examples repository
can you update/rebase a PR on the target branch as i dont have much idea on how to do it and might create some issues |
Thanks! After taking a closer look, I would like the models to be added in new, separate folders, just like we did with boltzmann_wealth_model_experimental. Preferably, they have at least an Another thing is that visualisation should ideally be added. This should be in the The Readme can for the most part be copied from the original models, but the new (experimental) features used should be described in it. Edit: I added a checklist for you in the first PR message, I hope it's useful! |
hello I am student i wanted to do open source contribution but i am not understanding anything properly can anyone help me little bit.....I am open to learn and contribute. |
If you’re seriously interested in Agent-based modeling and in contributing to Mesa:
If you’ve done all that, you will be a lot better prepared to make contributions. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
why is it still showing pre-commit.ci - pr — checks completed with failures ? |
I will get back to you in detail as soon as I can, but reviewing this took a bit more time than I anticipated. One quick idea I can share: The |
should i update all the examples with experimental feature and solara vizualization |
If you want to, yes. But please start with a single one, then we go one at the time. I would start with either wolf_sheep or epstien_civil_violence, since you already wrote those. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Sorry, but I can't accept this PR. The goal was to simply move two examples from one repo to another, and do minimal fixes if needed. I feel that examples have now changes so much we have no idea more what came from where. So unfortunately, I would propose closing this PR. That doesn't mean it all was for nothing:
I would really recommend you to works towards atomic commits. Here's an excellent article about it: Thinking in atomic commits might help you organizing and structuring such a project way better. |
hey i updated the bank_reserves example to use latest solara visualization and experimental ABMSimulator feature these are the results of it. and this is the csv file generated after running batch_run.py i dont think this pr will be merged now but can you tell me if there is anything else i can help with |
Thanks, it looks great! I'm going to close this PR, to make it clear that this huge monolithic PR is not going forward. Like I said, I would welcome small, atomic PRs that:
The Readme's and visualisation from this PR is quite good, so I would use those as starting points if I were you. |
hey i am new to open source contribution if by some mistake i have made some mistakes please mention them to me so that i can improve them and i solved this issue as instructed
Todo (for each model):
_experimental_devs
suffix.agent.py
andmodel.py
app.py
file in which SolaraViz is used(see Remove or update outdated visualisation from examples #154)
(including DEVS, see Use new Discrete Event Scheduling in examples #124)