reichlab / forecast-repository

Codebase for Zoltar forecast repository
https://zoltardata.com/
GNU General Public License v3.0
6 stars 3 forks source link

viz options should validate intervals based on data #360

Open matthewcornell opened 1 year ago

matthewcornell commented 1 year ago

Per this slack thread with @nickreich :

right now, the viz config page accepted me adding “80” as an option for the intervals array. But should it allow me to do that, or should those inputs be somehow pre-verified as ones I can select? This may not be essential to update/fix, but was just curious. ... I guess my question is whether or not there is (or should be) any validation about which intervals are computable for a given project. Maybe this is too far in the weeds, but say someone put in “55”. That interval can’t be computed from the given quantiles. If they put in “80" it could be. What would happen it a user specified either or both of those intervals?