quantified-uncertainty / squiggle

An estimation language
https://squiggle-language.com
MIT License
152 stars 23 forks source link

Validate() function for PointSetDist distributions #413

Open OAGr opened 2 years ago

OAGr commented 2 years ago

See: https://github.com/quantified-uncertainty/squiggle/issues/243

Right now, there are some operations that cause pointSet distributions to be invalid. We've also previously had issues where these distributions had NaN results.

We should have functions to validate():

Continuous

Discrete

Validate() should call corresponding errors for each problem.

quinn-dougherty commented 2 years ago

Closed by #416 I think

OAGr commented 2 years ago

Not yet; there's still more to do.