gaurav-arya / StochasticAD.jl

Research package for automatic differentiation of programs containing discrete randomness.
MIT License
198 stars 16 forks source link

Fix zero'ing behaviour with NaN derivative component #80

Closed gaurav-arya closed 1 year ago

gaurav-arya commented 1 year ago

Resolves #79

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.17 :tada:

Comparison is base (9a1ac60) 89.29% compared to head (f66540a) 89.47%.

:exclamation: Current head f66540a differs from pull request most recent head 0f64fc4. Consider uploading reports for the commit 0f64fc4 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #80 +/- ## ========================================== + Coverage 89.29% 89.47% +0.17% ========================================== Files 12 12 Lines 570 570 ========================================== + Hits 509 510 +1 + Misses 61 60 -1 ``` | [Impacted Files](https://codecov.io/gh/gaurav-arya/StochasticAD.jl/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Gaurav+Arya) | Coverage Δ | | |---|---|---| | [src/prelude.jl](https://codecov.io/gh/gaurav-arya/StochasticAD.jl/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Gaurav+Arya#diff-c3JjL3ByZWx1ZGUuamw=) | `100.00% <ø> (ø)` | | | [src/general\_rules.jl](https://codecov.io/gh/gaurav-arya/StochasticAD.jl/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Gaurav+Arya#diff-c3JjL2dlbmVyYWxfcnVsZXMuamw=) | `92.78% <100.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://codecov.io/gh/gaurav-arya/StochasticAD.jl/pull/80/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Gaurav+Arya) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Gaurav+Arya). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Gaurav+Arya)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.