ASEM000 / pytreeclass

Visualize, create, and operate on pytrees in the most intuitive way possible.
https://pytreeclass.rtfd.io/en/latest
Apache License 2.0
42 stars 2 forks source link

Update tree_indexer.py #55

Closed ASEM000 closed 1 year ago

ASEM000 commented 1 year ago

Simplify internals ~ -150 loc

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 :tada:

Comparison is base (c21eaaf) 99.60% compared to head (26bcda0) 99.63%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #55 +/- ## ========================================== + Coverage 99.60% 99.63% +0.02% ========================================== Files 14 14 Lines 2777 2704 -73 ========================================== - Hits 2766 2694 -72 + Misses 11 10 -1 ``` | [Impacted Files](https://codecov.io/gh/ASEM000/PyTreeClass/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem) | Coverage Δ | | |---|---|---| | [pytreeclass/\_src/tree\_indexer.py](https://codecov.io/gh/ASEM000/PyTreeClass/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX2luZGV4ZXIucHk=) | `100.00% <100.00%> (+0.33%)` | :arrow_up: | | [tests/test\_indexing.py](https://codecov.io/gh/ASEM000/PyTreeClass/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-dGVzdHMvdGVzdF9pbmRleGluZy5weQ==) | `99.78% <100.00%> (+<0.01%)` | :arrow_up: | | [tests/test\_treeclass.py](https://codecov.io/gh/ASEM000/PyTreeClass/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-dGVzdHMvdGVzdF90cmVlY2xhc3MucHk=) | `99.17% <100.00%> (+<0.01%)` | :arrow_up: | | [tests/test\_under\_jit.py](https://codecov.io/gh/ASEM000/PyTreeClass/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-dGVzdHMvdGVzdF91bmRlcl9qaXQucHk=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.