reichlab / zoltr

http://reichlab.io/zoltr/
GNU General Public License v3.0
2 stars 4 forks source link

add capacity to specify the `issued_at` date for an uploaded truth data batch #50

Closed nickreich closed 1 year ago

nickreich commented 1 year ago

Currently, when truth data is uploaded the upload time is automatically assigned as the issued_at field for that batch of truth data. But it would be nice if the user could specify a different datetime, if, for example, they are taking care to upload data "as of" a specific moment in time, but doing it after the fact.

nickreich commented 1 year ago

But note that you should not be allowed to upload a truth data with an issued-at date earlier than any existing issued-at date in the project.

matthewcornell commented 1 year ago

Specifically:

matthewcornell commented 1 year ago

Note that the server does validate issued_at - see https://docs.zoltardata.com/forecastversions/#forecast-version-rules #4 and #5.