Compare commits

...

5 Commits

8 changed files with 343 additions and 296 deletions

View File

@ -96,8 +96,10 @@ Overall, the services which we use are:
## To do
- [x] Update Metaculus and Manifold Markets fetchers
- [x] Add markets from [Insight Prediction](https://insightprediction.com/).
- [ ] Add a few more snippets, with fetching individual questions, questions with histories, questions added within the last 24h to the /contrib folder (good first issue)
- [ ] Refactor code so that users can capture and push the question history chart to imgur (good first issue)
- [ ] Upgrade to [React 18](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html). This will require dealing with the workaround we used for [this issue](https://github.com/vercel/next.js/issues/36019#issuecomment-1103266481)
- [ ] Add markets from [Insight Prediction](https://insightprediction.com/).
- [ ] Add database of resolutions
- [ ] Allow users to embed predictions in the EA Forum/LessWrong (in progress)
- [ ] Find a long-term mantainer for this project

View File

@ -7,7 +7,8 @@
"url": "git+https://github.com/QURIresearch/metaforecast.git"
},
"keywords": [
"forecasts", "predictions"
"forecasts",
"predictions"
],
"author": "Nuño Sempere",
"license": "MIT",
@ -40,7 +41,7 @@
"@types/google-spreadsheet": "^3.3.0",
"@types/jsdom": "^16.2.15",
"@types/nprogress": "^0.2.0",
"@types/react": "^17.0.50",
"@types/react": "<18.0.0",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/textversionjs": "^1.1.1",
"@types/tunnel": "^0.0.3",

View File

@ -5,7 +5,7 @@ export async function uploadToImgur(dataURL: string): Promise<string> {
method: "post",
url: "https://api.imgur.com/3/image",
headers: {
Authorization: "Bearer 8e9666fb889318515a62208560d4e8393dac26d8",
Authorization: `Bearer ${process.env.IMGUR_BEARER}`,
},
data: {
type: "base64",

628
yarn.lock

File diff suppressed because it is too large Load Diff