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
* adding numba to project.toml
* splitting agent_type
* splitting antpolars and antpolarsloop
* adding py-spy to dev tools
* splitting between numba, loop with DF and loop non vectorized implementations
* performance comparison between loop and numba
* fix: cuda target, not gpu
* adding polars comparison
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* correcting dtypes
* adding writable_args (see https://numba.readthedocs.io/en/stable/user/vectorize.html#overwriting-input-values)
* processed_agents is of type bool
* fix: occupied cells sorted by agent_order, assertion to verify best moves aren't duplicated
* adding fixed initial positions (to assert equality between simulations)
* adding complete reproducibility via seed
* fix: taking into account potential (max) sugar when creating the neighborhood. For both numba and completely vectorized it's easier to reason this way then update the current sugar and "best moves" ranking when agents move
* fix: considering priority (if there are previous order agents that might make the same move and haven't found the optimal move yet). This avoids race conditions.
* fix: formatting
* clarifying with comments
* updating actual sugar before executing the step (NOTE: might be unncessary since we prepare the neighborhood looking at potential/max sugar anyway)
* whitespace fixes
* adding initial_positions and seed to mesa model
* renaming grid to space for mesa_models
* fix: best_moves only uses neighborhood and not agent_order
* adding documentation and type hints
* fix: logic for the priority condition (right order of parentheses)
* removing assertion (testing purposes only)
* adding equality_check on model state
* changing n_range to reflect million of agents
* fix: changing callable to typing.Callable
* removing extra requirement
* removing flame_graph (it was just a one-off, we can add memory-profiling in the future)
* fix: comparing DFs
* removing outdated picture
* adding mesa_comparison.png
* adding polars_cocmparison.png
* updating kernels for comparison
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments