mhtess / rwebppl

RWebPPL, an R interface to Webppl http://webppl.org
22 stars 7 forks source link

Update tidy_output now that returning samples is the default from webppl #46

Closed mhtess closed 7 years ago

mhtess commented 7 years ago

As part of Webppl issue #712, WebPPL now returns marginal distributions with a list of samples.

Our rwebppl binary (.js) file looks to see if there are samples, and if there are, then returns those.

tidy_output() currently is unaware of this, never really expected samples to be coming back, except perhaps when "ggmcmc" is the output_format, though "ggmcmc" may be broken by this, due to it's reliance on the justSample option, which no longer exists (per 712 above).