-
Notifications
You must be signed in to change notification settings - Fork 313
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
Tests for metagraph, highlighting bug #2203
base: staging
Are you sure you want to change the base?
Tests for metagraph, highlighting bug #2203
Commits on Aug 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0d236db - Browse repository at this point
Copy the full SHA 0d236dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4379c59 - Browse repository at this point
Copy the full SHA 4379c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b046c3 - Browse repository at this point
Copy the full SHA 4b046c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfe3cfd - Browse repository at this point
Copy the full SHA dfe3cfdView commit details -
Merge pull request opentensor#2276 from opentensor/feat/opendansor/chk
Child Hotkeys netuid Refactor
Configuration menu - View commit details
-
Copy full SHA for f0e09f2 - Browse repository at this point
Copy the full SHA f0e09f2View commit details
Commits on Sep 3, 2024
-
test_metagraph.py: fix assertions
The following does not do what the author probably thought: assert 'a' and 'b' in s as it evaluates as: assert 'a' and ('b' in s) and hence: assert 'b' in s This is fixed by splitting the assertions in two or by changing the condition to ('a' in s and 'b' in s).
μ committedSep 3, 2024 Configuration menu - View commit details
-
Copy full SHA for c7c6c5d - Browse repository at this point
Copy the full SHA c7c6c5dView commit details -
test_metagraph.py: replace magic constant with netuid
Using variable netuid instead of magic constant 1 (which happens to be the netuid of the added subnet) provides context to the usage of the value 1 and makes the test more future proof.
μ committedSep 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 60bc47a - Browse repository at this point
Copy the full SHA 60bc47aView commit details -
test_metagraph.py: test .save() and .load() on metagraph
Saving and loading should transfer the complete state of the metagraph.
μ committedSep 3, 2024 Configuration menu - View commit details
-
Copy full SHA for c560a46 - Browse repository at this point
Copy the full SHA c560a46View commit details -
test_metagraph.py: test adding multiple subnets and using netuid 2
A minor tweak to the test that increases coverage of the test.
μ committedSep 3, 2024 Configuration menu - View commit details
-
Copy full SHA for b63fae3 - Browse repository at this point
Copy the full SHA b63fae3View commit details