ReactiveBayes / GraphPPL.jl

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

Allow return statement from the model/submodels #197

Closed bvdmitri closed 3 months ago

bvdmitri commented 3 months ago

This PR re-implements a feature from old GraphPPL where models allowed to "return" some values from inside. Might be useful for debugging by end-users.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.11%. Comparing base (3305358) to head (3d4cfc7). Report is 2 commits behind head on dev-4.0.0.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-4.0.0 #197 +/- ## ============================================= + Coverage 92.08% 92.11% +0.02% ============================================= Files 15 15 Lines 1907 1914 +7 ============================================= + Hits 1756 1763 +7 Misses 151 151 ```

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