ReactiveBayes / GraphPPL.jl

DSL for probabilistic models specification and probabilistic programming.
MIT License
27 stars 4 forks source link

GraphPPL version 4.0.0 #204

Closed wouterwln closed 3 months ago

wouterwln commented 3 months ago

This PR reimplements GraphPPL to explicitly construct a factor graph representation of models. This allows nested models and a nicer model macro. This PR also adds tests and documentation to the new version

codecov[bot] commented 3 months ago

Codecov Report

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

:exclamation: No coverage uploaded for pull request base (main@fca0b4b). Click here to learn what that means.

Files Patch % Lines
src/graph_engine.jl 89.23% 77 Missing :warning:
src/model_macro.jl 88.81% 34 Missing :warning:
...onal_constraints/variational_constraints_engine.jl 95.02% 22 Missing :warning:
src/plugins/meta/meta_engine.jl 87.09% 12 Missing :warning:
...ional_constraints/variational_constraints_macro.jl 94.11% 5 Missing :warning:
src/resizable_array.jl 97.60% 3 Missing :warning:
src/plugins/meta/meta.jl 87.50% 2 Missing :warning:
src/plugins/meta/meta_macro.jl 95.12% 2 Missing :warning:
src/plugins_collection.jl 95.83% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #204 +/- ## ======================================= Coverage ? 91.82% ======================================= Files ? 15 Lines ? 1932 Branches ? 0 ======================================= Hits ? 1774 Misses ? 158 Partials ? 0 ```

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