-
Notifications
You must be signed in to change notification settings - Fork 14
Generate automatically unique_id #110
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
Merged
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
9f71b07
Generate automatically unique_id for pandas agent set
luca-patrignani d2483b9
Not write in passing list when creating an agent with a list
luca-patrignani 0f41ea8
Fix assertions for index
luca-patrignani 03b0275
Warn when passing unique_id while adding new agents
luca-patrignani f2ffac7
Add test for adding agents without specifing the unique_id
luca-patrignani da9e095
Rename test_add to test_add_with_unique_id
luca-patrignani a679200
Let add agents without specifing unique_id for polars and adapt Agent…
luca-patrignani 81c8072
Test if the a deprecation warning is raised when adding agents with a…
luca-patrignani bf72673
Use uuid4 stored as string as unique_id for pandas
luca-patrignani 7d81966
Reorder the agent set to its original order after a 'do' call
luca-patrignani 2481262
Fix add and set in polars
luca-patrignani e1ad4a8
Not reorder the agents after masked do
luca-patrignani b92d39a
Fix tests for polars
luca-patrignani 837dca4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4105548
Fix tests for agentsDF
luca-patrignani d9b8918
Fix some tests for grid pandas
luca-patrignani 5d79c71
Fix tests for grid in polars
luca-patrignani b9af6b4
Merge branch 'main' into main
luca-patrignani c58a75f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f6a96dc
Remove shift_index methods
luca-patrignani 8fba7b5
Fix select for pandas
luca-patrignani 9cfedfc
Add test for adding a pl.Dataframe with a unique_id column
luca-patrignani 3cb521b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 14fcb4f
Merge branch 'main' into main
adamamer20 325e35f
Use uint64 instead of uuid4 for representing unique_id in agent set
luca-patrignani 5e4316e
Use uint64 instead of uuid4 for representing unique_id in AgentsDF
luca-patrignani 7ed5478
Use uint64 instead of uuid4 for representing unique_id in polars spaces
luca-patrignani 84f8f25
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c76cae9
Fix test for pandas agentset
luca-patrignani 9c1722a
Remove some instanceof related to previous use of uuid as str
luca-patrignani bd1e22c
Remove useless debug trick for unique_ids generation
luca-patrignani 625ca3d
Remove pandas backend
luca-patrignani d38df22
Merge remote-tracking branch 'upstream/main'
luca-patrignani 24edd32
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] db62837
Remove unique_id manual assignment in tests
luca-patrignani 516e038
Merge branch 'main' into main
adamamer20 ff1c387
removing pandas import (outdated)
adamamer20 da8fa96
removing other unused imports
adamamer20 339ffa4
removed unusued type hint
adamamer20 f6a65d0
Merge branch 'main' of https://github.com/projectmesa/mesa-frames int…
adamamer20 89375e5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3f3995c
fix: update agent ID handling and improve data integrity checks acros…
adamamer20 1bb6f72
Merge branch 'main' of https://github.com/luca-patrignani/mesa-frames…
adamamer20 bf970be
Refactor code structure for improved readability and maintainability
adamamer20 baa9551
fix: remove unnecessary exception handling for ShapeError in AgentSet…
adamamer20 fd37e9c
fix: update type hint for agents parameter in add method of AgentSetP…
adamamer20 2eeafd7
refactor: remove redundant tests for AgentSetPolars addition and stre…
adamamer20 55d6078
Merge branch 'main' into main
adamamer20 0b17319
Merge branch 'main' of https://github.com/projectmesa/mesa-frames int…
adamamer20 252aed8
update uv.lock
adamamer20 c570a56
fix: update test__iadd__ to handle DataFrame addition in Test_AgentSe…
adamamer20 9046eb6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 77ed1c8
refactor: remove unused fixture and commented-out tests in Test_Agent…
adamamer20 3b65b6c
Merge branch 'main' of https://github.com/luca-patrignani/mesa-frames…
adamamer20 d6da046
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e88d8a9
style: fix formatting of comment in AgentSetPolars class
adamamer20 3817943
Merge branch 'main' of https://github.com/luca-patrignani/mesa-frames…
adamamer20 253534d
fix: correct key for Python environment file in VSCode settings
adamamer20 6e5bb51
fix: update import for IntoExpr and define it due to beartype issues …
adamamer20 78872c5
Update mesa_frames/concrete/agentset.py
adamamer20 1381041
fix: remove schema definition for agents in AgentSetPolars to simplif…
adamamer20 2afaf9c
test: add ValueError checks for invalid data in AgentSetPolars.add me…
adamamer20 69801ca
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f2796ea
Update .vscode/settings.json
adamamer20 6b3fa6c
fix: add ValueError for adding sequences to an empty AgentSet in Agen…
adamamer20 ab98b49
Merge branch 'main' of https://github.com/luca-patrignani/mesa-frames…
adamamer20 0e37fda
test: add ValueError check for adding sequences to an empty AgentSet
adamamer20 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.