Add stratified resampling; improve handling of -inf weights #39
86.20% of diff hit (target 66.00%)
View this Pull Request on Codecov
86.20% of diff hit (target 66.00%)
Annotations
Check warning on line 67 in llamppl/inference/smc_standard.py
codecov / codecov/patch
llamppl/inference/smc_standard.py#L67
Added line #L67 was not covered by tests
Check warning on line 72 in llamppl/inference/smc_standard.py
codecov / codecov/patch
llamppl/inference/smc_standard.py#L72
Added line #L72 was not covered by tests
Check warning on line 123 in llamppl/inference/smc_standard.py
codecov / codecov/patch
llamppl/inference/smc_standard.py#L123
Added line #L123 was not covered by tests
Check warning on line 9 in llamppl/util.py
codecov / codecov/patch
llamppl/util.py#L9
Added line #L9 was not covered by tests