Closed tupui closed 6 months ago
Something to solve/mitigate. Having a dynamic list for the parameters is tricky to update automagically. For the moment, ones need to change the number of samples or the method after having changed a parametrisation. Non ideal, but it works for now without magic in the code.
Another thing to watch out, for the parametrisation of the distributions: we have to allow passing a dictionary. If this really goes into production we will have to look into hardening this as user can input anything and we actually execute this on the backend. We only need to allow passing a dictionary with limited support to str, int, float
.
Whichever would be easier perhaps?
My only suggestion is to make it dumb-proof by calling
This is a POC of a sampling app.
By having multiple apps, we can either have an index (need to work on the html) or leave this out and reference the apps ourselves. Here is an example of such index.
cc @gnopik