You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BimodalEstimator.probabilityFormula returns zero when its parameters are on the order of ~1M sat because the exponentials calculated in BimodalEstimator.primitive become tiny and round to 0.
Initially detected by @dergoegge running the FuzzProbability fuzz target. Sample failure:
Input:
go test fuzz v1
uint64(1000000000)
uint64(300000000)
uint64(400000000)
uint64(300000000)
Thanks for the report! This is because the success and fail amount drive the bimodal model into regions where the model doesn't give good predictions and therefore has problems with numerics. I tested this with #8330, where it passed, so this should be fixed by that PR in the next release.
BimodalEstimator.probabilityFormula
returns zero when its parameters are on the order of ~1M sat because the exponentials calculated inBimodalEstimator.primitive
become tiny and round to 0.Initially detected by @dergoegge running the
FuzzProbability
fuzz target. Sample failure:Input:
Trace:
The text was updated successfully, but these errors were encountered: