Skip to content
Unverified Commit 86733afb authored by Kajal Patel's avatar Kajal Patel Committed by GitHub
Browse files

Add duplicate node counter functionality and tests (#508)



* Add node counter tests

* CI fixes

* Add comments

* Remove unnecessary test

* Add duplicate node functionality and tests

* Remove incrementation for DictOfNamedArrays and update tests

* Edit tests to account for not counting DictOfNamedArrays

* Fix CI tests

* Fix comments

* Clarify wording and clean up

* Move `get_node_multiplicities` to its own mapper

* Add autofunction

* Linting

* Add Dict typedef and format

* Format further

* Fix CI errors

* Fix wording

* Implement new DAG generator with guaranteed duplicates

* Apply suggestions from code review

Co-authored-by: default avatarMatt Smith <mjsmith1@gmail.com>

* Ruff fixes

* remove prints

* Apply suggestions from code review

Co-authored-by: default avatarAndreas Klöckner <inform@tiker.net>

* Add explicit bool for count_duplicates

* Update test/testlib.py

Co-authored-by: default avatarAndreas Klöckner <inform@tiker.net>

* Seed random

---------

Co-authored-by: default avatarMatt Smith <mjsmith1@gmail.com>
Co-authored-by: default avatarAndreas Klöckner <inform@tiker.net>
Co-authored-by: default avatarMatt Smith <mjsmith6@illinois.edu>
parent b1800f2a
Loading
Loading
Loading
Pipeline #573408 passed with stage
in 1 hour and 33 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment