april-tools / cirkit

a python framework to build, learn and reason about probabilistic circuits and tensor networks
https://cirkit-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
71 stars 1 forks source link

Fixed bugs and add lib support for implementing (sum of) squared circuits + new notebooks #237

Closed loreloc closed 3 months ago

loreloc commented 3 months ago

Closes #235 #207 #193 #185 .

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 61.58940% with 116 lines in your changes missing coverage. Please review.

Project coverage is 71.57%. Comparing base (3270d77) to head (4cc50b6).

Files Patch % Lines
cirkit/backend/torch/semiring.py 64.42% 49 Missing and 4 partials :warning:
cirkit/symbolic/functional.py 37.50% 19 Missing and 1 partial :warning:
cirkit/pipeline.py 0.00% 12 Missing :warning:
cirkit/backend/torch/parameters/ops.py 35.29% 11 Missing :warning:
cirkit/symbolic/parameters.py 33.33% 10 Missing :warning:
cirkit/backend/torch/graph/modules.py 76.92% 1 Missing and 2 partials :warning:
cirkit/backend/torch/layers/sum_product.py 0.00% 2 Missing :warning:
cirkit/backend/torch/rules/parameters.py 33.33% 2 Missing :warning:
cirkit/symbolic/circuit.py 33.33% 1 Missing and 1 partial :warning:
cirkit/backend/base.py 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #237 +/- ## ========================================== - Coverage 73.09% 71.57% -1.52% ========================================== Files 46 46 Lines 3319 3504 +185 Branches 441 471 +30 ========================================== + Hits 2426 2508 +82 - Misses 801 900 +99 - Partials 92 96 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.