-
Notifications
You must be signed in to change notification settings - Fork 895
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
examples: Clean-up Epstein Civil Violence and PD grid #2373
Conversation
Performance benchmarks:
|
79e85f6
to
a827a5d
Compare
…/mesa into examples_advanced_updates
This is a properly obscure problem. It arises from trying to deepcopy the To test this yourself, try to deepcopy a moore / von neumann grid with varying sizes and see when it errrors out. My hunch is that the problem starts from This is a major bug because it means that large experimental grids are currently not pickleable.... @Corvince any thoughts? |
for more information, see https://pre-commit.ci
I have committed a possible fix in line with my previous comment. In short, In It needs further testing and additional unit tests for all DiscreteSpaces and large sizes, but it seems to work.
|
Thanks! I will continue updating the examples, if this works for all of them than we can include this in a separate PR. |
Ok, I'll move the fix into a separate PR and add additional unit tests. Let me know how you get on with the other examples. |
- Flatten structure - Completely rewrite SolaraViz - Cleanup and update docs
Awesome! Updated |
Performance benchmarks:
|
What's there is, is good. Would it make sense to remove the notebooks? |
This merge conflict, fuck.... couldn't we have merged this before the examples move? |
Yep the merge conflict is massive (as with the docs stuff). Might be better to start a new branch and copy these changes into it (As you are doing with docs atm). |
Do you mind if I pick this up as a new PR given the rebase/merge mess? I have time this afternoon (Wednesday 23 October) for simple cleanup work (but not for figuring out complicated stuff like the solara run import problem). |
Superseded by #2408 |
Clean up the epstein civil voilence models.
One issue is that a deepcopy currently isn't possible, and Solara currently uses that.
@quaquel would you like to pick this further up?