quantified-uncertainty / metaforecast

Fetch forecasts from prediction markets/forecasting platforms to make them searchable. Integrate these forecasts into other services.
https://metaforecast.org/
MIT License
60 stars 6 forks source link

No schemas; merged tables; platform labels #42

Closed berekuk closed 2 years ago

berekuk commented 2 years ago

Lots of changes!

Don't deploy this yet! There are a few manual steps I'll have to do first to avoid downtimes, and also there are so many changes that I'd like to recheck everything first, it's quite possible I broke something. And some small bits (e.g. secretEmbed) are currently broken, will fix before deployment too.

Planning to do this tonight or maybe tomorrow, depending on how many issues will show up on the final check.

netlify[bot] commented 2 years ago

Deploy Preview for metaforecast ready!

Name Link
Latest commit 1b6ff8d440cc99c34ff5dbc71851e259e8299460
Latest deploy log https://app.netlify.com/sites/metaforecast/deploys/624789e0cbcf9800088d1a4d
Deploy Preview https://deploy-preview-42--metaforecast.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

berekuk commented 2 years ago

I left this comment in a merge commit, meant to post here. Copying.

Should be fine. Tables in public schema are ready.

Fixed secretEmbed and dashboards, fixed small bugs in platforms code (I'm starting to dislike the fact that platform fetchers have to populate platform field and set id to ${platform}-${shortId}, it seems error-prone; maybe platforms should remove an object with id: shortId and without platform, and then an external code would populate it as needed... but then we'd need a different type for "fetcher output result", and I'm still hesitant).

Steps for the next half-hour: