sbi-dev / sbi

Simulation-based inference toolkit
https://sbi-dev.github.io/sbi/
Apache License 2.0
578 stars 145 forks source link

fix: zuko UnconditionalTransform, fix BPF args. #1182

Closed janfb closed 3 months ago

janfb commented 3 months ago

adapt to recent zuko release:

see also #1099

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 72.91%. Comparing base (d76a085) to head (d3330f3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1182 +/- ## ========================================== - Coverage 81.77% 72.91% -8.86% ========================================== Files 94 93 -1 Lines 7451 7448 -3 ========================================== - Hits 6093 5431 -662 - Misses 1358 2017 +659 ``` | [Flag](https://app.codecov.io/gh/sbi-dev/sbi/pull/1182/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/sbi-dev/sbi/pull/1182/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev) | `72.91% <100.00%> (-8.86%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/sbi-dev/sbi/pull/1182?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev) | Coverage Δ | | |---|---|---| | [sbi/neural\_nets/flow.py](https://app.codecov.io/gh/sbi-dev/sbi/pull/1182?src=pr&el=tree&filepath=sbi%2Fneural_nets%2Fflow.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev#diff-c2JpL25ldXJhbF9uZXRzL2Zsb3cucHk=) | `93.04% <100.00%> (ø)` | | | [sbi/utils/sbiutils.py](https://app.codecov.io/gh/sbi-dev/sbi/pull/1182?src=pr&el=tree&filepath=sbi%2Futils%2Fsbiutils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev#diff-c2JpL3V0aWxzL3NiaXV0aWxzLnB5) | `78.73% <100.00%> (-8.21%)` | :arrow_down: | ... and [22 files with indirect coverage changes](https://app.codecov.io/gh/sbi-dev/sbi/pull/1182/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sbi-dev)