cleodora icon indicating copy to clipboard operation
cleodora copied to clipboard

API: The AddDummyData() helper function should use the API instead of writing into the DB

Open omarkohl opened this issue 2 years ago • 1 comments

Otherwise it becomes difficult to enforce the correct DB state e.g. with commit dc609ae Brier score calculation seemed to be done but the dummy data Will "The Fabelmans" win "Best Picture" at the Oscars 2023? forecast had the Brier score set to null despite being resolved.

cleosrv/graph/no_production.go

omarkohl avatar May 24 '23 19:05 omarkohl

Ideally only once #276 is done because some of the dummy data contains multiple estimates per forecast, which can't be done with the API yet.

omarkohl avatar May 25 '23 20:05 omarkohl