Skip to content

Reorganization#26

Merged
dgaylo merged 9 commits into
masterfrom
folder-organize
Jul 24, 2025
Merged

Reorganization#26
dgaylo merged 9 commits into
masterfrom
folder-organize

Conversation

@dgaylo

@dgaylo dgaylo commented Jul 24, 2025

Copy link
Copy Markdown
Owner

Changes

  • Rather than a single utils folder with all files other than sovler.py, create labeling and reconstruction subpackage and put the other files (with a preceding underscore) in the top-level directory.
  • Create apply_ccl as a (documented) public function to expose the labeling portion of the package.

@github-actions

Copy link
Copy Markdown

Benchmark Results


--------------------------------------------------------------------------------- benchmark 'test_bench_Chan': 2 tests --------------------------------------------------------------------------------
Name (time in us)               Min                   Max                Mean             StdDev              Median                IQR            Outliers  OPS (Kops/s)            Rounds  Iterations
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_bench_Chan (base)     543.0030 (1.0)      1,037.3150 (1.08)     580.8461 (1.0)      50.7720 (2.28)     572.3780 (1.0)      18.8150 (1.04)       76;111        1.7216 (1.0)        1842           1
test_bench_Chan (head)     577.3190 (1.06)       956.7480 (1.0)      609.2733 (1.05)     22.2375 (1.0)      607.5850 (1.06)     18.1493 (1.0)        221;64        1.6413 (0.95)       1743           1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------- benchmark 'test_bench_WY': 2 tests ------------------------------------------------------------------------
Name (time in ms)           Min               Max              Mean            StdDev            Median               IQR            Outliers       OPS            Rounds  Iterations
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_bench_WY (head)     3.3877 (1.0)      6.0747 (1.45)     3.6156 (1.0)      0.5123 (6.52)     3.4421 (1.0)      0.0528 (1.0)         29;50  276.5760 (1.0)         296           1
test_bench_WY (base)     3.5535 (1.05)     4.1928 (1.0)      3.6477 (1.01)     0.0785 (1.0)      3.6263 (1.05)     0.0546 (1.03)        31;25  274.1419 (0.99)        278           1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------- benchmark 'test_bench_base': 2 tests ------------------------------------------------------------------------
Name (time in ms)             Min               Max              Mean            StdDev            Median               IQR            Outliers       OPS            Rounds  Iterations
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_bench_base (base)     1.3928 (1.0)      2.8759 (1.0)      1.4401 (1.0)      0.1184 (1.53)     1.4131 (1.0)      0.0207 (1.21)        44;68  694.3926 (1.0)         717           1
test_bench_base (head)     1.4214 (1.02)     2.9298 (1.02)     1.4542 (1.01)     0.0772 (1.0)      1.4431 (1.02)     0.0171 (1.0)         23;54  687.6573 (0.99)        702           1
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------- benchmark 'test_bench_no_norm': 2 tests --------------------------------------------------------------------------------
Name (time in us)                  Min                 Max                Mean             StdDev              Median                IQR            Outliers  OPS (Kops/s)            Rounds  Iterations
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_bench_no_norm (base)     311.1710 (1.0)      586.5740 (1.00)     332.8635 (1.0)      14.8158 (1.0)      330.5270 (1.0)      16.5970 (1.0)        617;80        3.0042 (1.0)        3197           1
test_bench_no_norm (head)     340.8070 (1.10)     584.8330 (1.0)      365.2717 (1.10)     16.8413 (1.14)     362.1525 (1.10)     17.4220 (1.05)       409;76        2.7377 (0.91)       2938           1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Legend:
  Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
  OPS: Operations Per Second, computed as 1 / Mean

@dgaylo dgaylo merged commit cef22aa into master Jul 24, 2025
18 checks passed
@dgaylo dgaylo deleted the folder-organize branch July 24, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant