ReactiveBayes / GraphPPL.jl

DSL for probabilistic models specification and probabilistic programming.
MIT License
32 stars 5 forks source link

Add `with_backend` and allow parameterized backends #200

Closed wouterwln closed 6 months ago

wouterwln commented 6 months ago

Requires some changes downstream, since we have to implement instantiate for custom backends and change the model macro

bvdmitri commented 6 months ago

Added some tests here, since there was a small bug in src/GraphPPL.jl ;)

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 93.75000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 91.98%. Comparing base (3d4cfc7) to head (528a78c). Report is 10 commits behind head on dev-4.0.0.

Files Patch % Lines
src/graph_engine.jl 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-4.0.0 #200 +/- ## ============================================= - Coverage 92.11% 91.98% -0.13% ============================================= Files 15 15 Lines 1914 1921 +7 ============================================= + Hits 1763 1767 +4 - Misses 151 154 +3 ```

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