Skip to content

Conversation

@kayjan
Copy link
Owner

@kayjan kayjan commented Jan 22, 2025

Description

Node name is already mandatory, but function signature causes confusion. Fixing this

Testing

Additional notes

Checklist

I have read through the contributing guidelines and ensured that

  • I have added a descriptive title for this pull request.
  • I have followed the convention and standards, and my code is checked for style and correctness.
  • I have added test cases, and unit tests pass with 100% code coverage.
  • I have updated the documentation and code docstrings.

Checklist (for reviewer)

  • I have added label (breaking / enhancement / bug / documentation) to this pull request, if applicable.
  • I will ensure this change is captured in the CHANGELOG.md file.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Details
Benchmark suite Current: 03764ce Previous: c8f58a8 Ratio
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_10 14805.240759048142 iter/sec (stddev: 0.000017249516373232947) 14825.049589833483 iter/sec (stddev: 0.000016917388317509215) 1.00
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_100 658.4637881796481 iter/sec (stddev: 0.000010359397186085937) 668.9375983231032 iter/sec (stddev: 0.000021522279807543216) 1.02
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_1000 11.479222270201825 iter/sec (stddev: 0.003596530492513591) 11.411891065187218 iter/sec (stddev: 0.0027941710538901933) 0.99
tests/node/test_node_benchmark.py::test_node_benchmark_width_2_depth_10 69.00831691340822 iter/sec (stddev: 0.003055394047239621) 66.38769803557848 iter/sec (stddev: 0.003954306724801483) 0.96
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_10_no_assertions 23110.566729279173 iter/sec (stddev: 0.000003011497070613911) 22044.640396522336 iter/sec (stddev: 6.099503101784988e-7) 0.95
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_100_no_assertions 1650.189251952085 iter/sec (stddev: 0.000046738626866054086) 1706.270484312251 iter/sec (stddev: 0.000022664964368039653) 1.03
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_1000_no_assertions 124.05846679527548 iter/sec (stddev: 0.003006081693109977) 115.13397668817075 iter/sec (stddev: 0.0036453953894672294) 0.93
tests/node/test_node_benchmark.py::test_node_benchmark_width_2_depth_10_no_assertions 94.87441855086162 iter/sec (stddev: 0.002754970963127508) 91.22370945807143 iter/sec (stddev: 0.00358193658636543) 0.96

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link
Contributor

Code Coverage

Package Line Rate Branch Rate Complexity Health
bigtree 100% 100% 0
bigtree.binarytree 100% 100% 0
bigtree.dag 100% 100% 0
bigtree.node 100% 100% 0
bigtree.tree 100% 100% 0
bigtree.utils 100% 100% 0
Summary 100% (2426 / 2426) 100% (1022 / 1022) 0

@kayjan kayjan added the enhancement New feature or request label Jan 22, 2025
@kayjan
Copy link
Owner Author

kayjan commented Jan 22, 2025

#338

@kayjan kayjan merged commit 4ef158a into master Jan 22, 2025
6 checks passed
@kayjan kayjan deleted the feature/node-name-mandatory branch January 22, 2025 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants