From e8bb18a6a6763ad901aae084a2f3f4056a8c0cd3 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 2 Feb 2021 13:25:42 +0100 Subject: [PATCH] Only 2 decimal places for hypermind probabilities --- data/hypermind-questions.csv | 24 ++++++++++++------------ data/hypermind-questions.json | 24 ++++++++++++------------ data/merged-questions.csv | 24 ++++++++++++------------ data/merged-questions.json | 24 ++++++++++++------------ src/hypermind-fetch.js | 2 +- 5 files changed, 49 insertions(+), 49 deletions(-) diff --git a/data/hypermind-questions.csv b/data/hypermind-questions.csv index 8014ff2..267a688 100644 --- a/data/hypermind-questions.csv +++ b/data/hypermind-questions.csv @@ -1,8 +1,8 @@ "Title","URL","Platform","Binary question?","Percentage","# Forecasts" -"In 2021, will Donald Trump be barred from holding future elected office in the USA?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"22.52252252252252%", -"Will Kamala Harris be the first woman to become president of the United States?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"63.888888888888886%", -"At the 2021 Tokyo Olympics, will the USA earn more medals than they ever did during Obama's presidency (121)?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"35%", -"In 2021, will Joe Biden invoke the Insurrection Act?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"5%", +"In 2021, will Donald Trump be barred from holding future elected office in the USA?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"22.52%", +"Will Kamala Harris be the first woman to become president of the United States?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"63.89%", +"At the 2021 Tokyo Olympics, will the USA earn more medals than they ever did during Obama's presidency (121)?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"35.00%", +"In 2021, will Joe Biden invoke the Insurrection Act?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"5.00%", "Who will be elected president of France in 2022?","https://predict.hypermind.com/dash/dash/dash.html?list=FRA","Hypermind",false,"none", "Who will compete in the second round of the French presidential election?","https://predict.hypermind.com/dash/dash/dash.html?list=FRA","Hypermind",false,"none", "In France, when will the first round of the regional elections take place?","https://predict.hypermind.com/dash/dash/dash.html?list=FRA","Hypermind",false,"none", @@ -10,9 +10,9 @@ "At the 2021 Tokyo Olympics, will Japan or France earn more medals?","https://predict.hypermind.com/dash/dash/dash.html?list=FRA","Hypermind",false,"none", "Following the next parliamentary elections win Morocco, who will succeed Saad-Eddine El Othmani as prime minister?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", "In Niger, who will win the (February) 2021 presidential election?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", -"In 2021, will Faustin-Archange Touadéra lose power in the Central African Republic?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"8%", -"In 2021, will Abdelmadjid Tebboune lose power in Algeria?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"8%", -"In January 2021, how many battle deaths will there be in the G5 Sahel countries?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"25.510204081632654%", +"In 2021, will Faustin-Archange Touadéra lose power in the Central African Republic?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"8.00%", +"In 2021, will Abdelmadjid Tebboune lose power in Algeria?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"8.00%", +"In January 2021, how many battle deaths will there be in the G5 Sahel countries?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"25.51%", "In Congo, who will win the (March) 2021 presidential election?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", "In Chad, who will win the (April) 2021 presidential election?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", "In Somalia, who will win the (Feb) 2021 presidential election? ","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", @@ -21,12 +21,12 @@ "In 2021, how much will the arctic sea ice shrink?","https://predict.hypermind.com/dash/dash/dash.html?list=INT","Hypermind",false,"none", "Who will succeed Angela Merkel as chancellor of Germany?","https://predict.hypermind.com/dash/dash/dash.html?list=INT","Hypermind",false,"none", "When will the FDA approve a COVID-19 vaccine?","https://predict.hypermind.com/dash/dash/dash.html?list=COV","Hypermind",false,"none", -"Which threshold will gold prices (per ounce) reach first? ","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"44.554455445544555%", +"Which threshold will gold prices (per ounce) reach first? ","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"44.55%", "What will be the closing share price of GameStop (GME) on Feb. 26, 2021?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",false,"none", -"Which threshold will the Dow Jones Industrial Average hit first?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"53.92156862745098%", -"Which threshold will the French index CAC 40 hit first?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"59%", -"Will the new Bond film ""No Time to Die"" be released in 2021?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"94%", -"In 2021, will the Olympic Games take place?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"62%", +"Which threshold will the Dow Jones Industrial Average hit first?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"53.92%", +"Which threshold will the French index CAC 40 hit first?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"59.00%", +"Will the new Bond film ""No Time to Die"" be released in 2021?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"94.00%", +"In 2021, will the Olympic Games take place?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"62.00%", "What will be the year-over-year growth rate of U.S. Nominal GDP in Q1 2021?","https://prod.hypermind.com/ngdp/en/showcase/showcase.html","Hypermind",false,"none", "What will be the year-over-year growth rate of U.S. Nominal GDP in Q4 2021?","https://prod.hypermind.com/ngdp/en/showcase/showcase.html","Hypermind",false,"none", "What will be the year-over-year growth rate of U.S. Nominal GDP in Q4 2022?","https://prod.hypermind.com/ngdp/en/showcase/showcase.html","Hypermind",false,"none", diff --git a/data/hypermind-questions.json b/data/hypermind-questions.json index a1b6bdb..46c0c8f 100644 --- a/data/hypermind-questions.json +++ b/data/hypermind-questions.json @@ -4,28 +4,28 @@ "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=USA", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "22.52252252252252%" + "Percentage": "22.52%" }, { "Title": "Will Kamala Harris be the first woman to become president of the United States?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=USA", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "63.888888888888886%" + "Percentage": "63.89%" }, { "Title": "At the 2021 Tokyo Olympics, will the USA earn more medals than they ever did during Obama's presidency (121)?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=USA", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "35%" + "Percentage": "35.00%" }, { "Title": "In 2021, will Joe Biden invoke the Insurrection Act?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=USA", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "5%" + "Percentage": "5.00%" }, { "Title": "Who will be elected president of France in 2022?", @@ -81,21 +81,21 @@ "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=AFR", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "8%" + "Percentage": "8.00%" }, { "Title": "In 2021, will Abdelmadjid Tebboune lose power in Algeria?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=AFR", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "8%" + "Percentage": "8.00%" }, { "Title": "In January 2021, how many battle deaths will there be in the G5 Sahel countries?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=AFR", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "25.510204081632654%" + "Percentage": "25.51%" }, { "Title": "In Congo, who will win the (March) 2021 presidential election?", @@ -158,7 +158,7 @@ "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "44.554455445544555%" + "Percentage": "44.55%" }, { "Title": "What will be the closing share price of GameStop (GME) on Feb. 26, 2021?", @@ -172,28 +172,28 @@ "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "53.92156862745098%" + "Percentage": "53.92%" }, { "Title": "Which threshold will the French index CAC 40 hit first?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "59%" + "Percentage": "59.00%" }, { "Title": "Will the new Bond film \"No Time to Die\" be released in 2021?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "94%" + "Percentage": "94.00%" }, { "Title": "In 2021, will the Olympic Games take place?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "62%" + "Percentage": "62.00%" }, { "Title": "What will be the year-over-year growth rate of U.S. Nominal GDP in Q1 2021?", diff --git a/data/merged-questions.csv b/data/merged-questions.csv index 11e982c..7b3843c 100644 --- a/data/merged-questions.csv +++ b/data/merged-questions.csv @@ -1687,10 +1687,10 @@ how much will 1 hour of subjective run time cost?","https://www.metaculus.com/qu "What will be the outcome of the 2020 US Presidential Election for the office of President of the United States, where the winner is the one receiving the most votes from certified electors of the Electoral College, those votes having been officially counted by the United States Congress under VICE PRESIDENT MICHAEL PENCE on January 6, 2021 (per the Electoral Count Act of 1887)?","https://omen.eth.link/#/0xdbf41f1f2d28216eb4e76b9ed3856180c2daa479","Omen",true,"99.0000%", "Will Compound Chain be launched and usable by the end of Q2 2021?","https://omen.eth.link/#/0xe018254be84e200bfb9947dc57df8943cb2ac1b2","Omen",true,"40.0000%", "Will UNI governance approve a new liquidity mining program by the end of February, 2021?","https://omen.eth.link/#/0xed6940e49cee029c4664d9794c04d5f9e5597632","Omen",true,"10.9519%", -"In 2021, will Donald Trump be barred from holding future elected office in the USA?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"22.52252252252252%", -"Will Kamala Harris be the first woman to become president of the United States?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"63.888888888888886%", -"At the 2021 Tokyo Olympics, will the USA earn more medals than they ever did during Obama's presidency (121)?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"35%", -"In 2021, will Joe Biden invoke the Insurrection Act?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"5%", +"In 2021, will Donald Trump be barred from holding future elected office in the USA?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"22.52%", +"Will Kamala Harris be the first woman to become president of the United States?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"63.89%", +"At the 2021 Tokyo Olympics, will the USA earn more medals than they ever did during Obama's presidency (121)?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"35.00%", +"In 2021, will Joe Biden invoke the Insurrection Act?","https://predict.hypermind.com/dash/dash/dash.html?list=USA","Hypermind",true,"5.00%", "Who will be elected president of France in 2022?","https://predict.hypermind.com/dash/dash/dash.html?list=FRA","Hypermind",false,"none", "Who will compete in the second round of the French presidential election?","https://predict.hypermind.com/dash/dash/dash.html?list=FRA","Hypermind",false,"none", "In France, when will the first round of the regional elections take place?","https://predict.hypermind.com/dash/dash/dash.html?list=FRA","Hypermind",false,"none", @@ -1698,9 +1698,9 @@ how much will 1 hour of subjective run time cost?","https://www.metaculus.com/qu "At the 2021 Tokyo Olympics, will Japan or France earn more medals?","https://predict.hypermind.com/dash/dash/dash.html?list=FRA","Hypermind",false,"none", "Following the next parliamentary elections win Morocco, who will succeed Saad-Eddine El Othmani as prime minister?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", "In Niger, who will win the (February) 2021 presidential election?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", -"In 2021, will Faustin-Archange Touadéra lose power in the Central African Republic?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"8%", -"In 2021, will Abdelmadjid Tebboune lose power in Algeria?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"8%", -"In January 2021, how many battle deaths will there be in the G5 Sahel countries?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"25.510204081632654%", +"In 2021, will Faustin-Archange Touadéra lose power in the Central African Republic?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"8.00%", +"In 2021, will Abdelmadjid Tebboune lose power in Algeria?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"8.00%", +"In January 2021, how many battle deaths will there be in the G5 Sahel countries?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",true,"25.51%", "In Congo, who will win the (March) 2021 presidential election?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", "In Chad, who will win the (April) 2021 presidential election?","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", "In Somalia, who will win the (Feb) 2021 presidential election? ","https://predict.hypermind.com/dash/dash/dash.html?list=AFR","Hypermind",false,"none", @@ -1709,12 +1709,12 @@ how much will 1 hour of subjective run time cost?","https://www.metaculus.com/qu "In 2021, how much will the arctic sea ice shrink?","https://predict.hypermind.com/dash/dash/dash.html?list=INT","Hypermind",false,"none", "Who will succeed Angela Merkel as chancellor of Germany?","https://predict.hypermind.com/dash/dash/dash.html?list=INT","Hypermind",false,"none", "When will the FDA approve a COVID-19 vaccine?","https://predict.hypermind.com/dash/dash/dash.html?list=COV","Hypermind",false,"none", -"Which threshold will gold prices (per ounce) reach first? ","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"44.554455445544555%", +"Which threshold will gold prices (per ounce) reach first? ","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"44.55%", "What will be the closing share price of GameStop (GME) on Feb. 26, 2021?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",false,"none", -"Which threshold will the Dow Jones Industrial Average hit first?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"53.92156862745098%", -"Which threshold will the French index CAC 40 hit first?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"59%", -"Will the new Bond film ""No Time to Die"" be released in 2021?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"94%", -"In 2021, will the Olympic Games take place?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"62%", +"Which threshold will the Dow Jones Industrial Average hit first?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"53.92%", +"Which threshold will the French index CAC 40 hit first?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"59.00%", +"Will the new Bond film ""No Time to Die"" be released in 2021?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"94.00%", +"In 2021, will the Olympic Games take place?","https://predict.hypermind.com/dash/dash/dash.html?list=ECO","Hypermind",true,"62.00%", "What will be the year-over-year growth rate of U.S. Nominal GDP in Q1 2021?","https://prod.hypermind.com/ngdp/en/showcase/showcase.html","Hypermind",false,"none", "What will be the year-over-year growth rate of U.S. Nominal GDP in Q4 2021?","https://prod.hypermind.com/ngdp/en/showcase/showcase.html","Hypermind",false,"none", "What will be the year-over-year growth rate of U.S. Nominal GDP in Q4 2022?","https://prod.hypermind.com/ngdp/en/showcase/showcase.html","Hypermind",false,"none", diff --git a/data/merged-questions.json b/data/merged-questions.json index 1c9b49f..0bd95f5 100644 --- a/data/merged-questions.json +++ b/data/merged-questions.json @@ -13844,28 +13844,28 @@ "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=USA", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "22.52252252252252%" + "Percentage": "22.52%" }, { "Title": "Will Kamala Harris be the first woman to become president of the United States?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=USA", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "63.888888888888886%" + "Percentage": "63.89%" }, { "Title": "At the 2021 Tokyo Olympics, will the USA earn more medals than they ever did during Obama's presidency (121)?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=USA", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "35%" + "Percentage": "35.00%" }, { "Title": "In 2021, will Joe Biden invoke the Insurrection Act?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=USA", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "5%" + "Percentage": "5.00%" }, { "Title": "Who will be elected president of France in 2022?", @@ -13921,21 +13921,21 @@ "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=AFR", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "8%" + "Percentage": "8.00%" }, { "Title": "In 2021, will Abdelmadjid Tebboune lose power in Algeria?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=AFR", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "8%" + "Percentage": "8.00%" }, { "Title": "In January 2021, how many battle deaths will there be in the G5 Sahel countries?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=AFR", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "25.510204081632654%" + "Percentage": "25.51%" }, { "Title": "In Congo, who will win the (March) 2021 presidential election?", @@ -13998,7 +13998,7 @@ "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "44.554455445544555%" + "Percentage": "44.55%" }, { "Title": "What will be the closing share price of GameStop (GME) on Feb. 26, 2021?", @@ -14012,28 +14012,28 @@ "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "53.92156862745098%" + "Percentage": "53.92%" }, { "Title": "Which threshold will the French index CAC 40 hit first?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "59%" + "Percentage": "59.00%" }, { "Title": "Will the new Bond film \"No Time to Die\" be released in 2021?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "94%" + "Percentage": "94.00%" }, { "Title": "In 2021, will the Olympic Games take place?", "URL": "https://predict.hypermind.com/dash/dash/dash.html?list=ECO", "Platform": "Hypermind", "Binary question?": true, - "Percentage": "62%" + "Percentage": "62.00%" }, { "Title": "What will be the year-over-year growth rate of U.S. Nominal GDP in Q1 2021?", diff --git a/src/hypermind-fetch.js b/src/hypermind-fetch.js index 5ee002c..1967d4b 100644 --- a/src/hypermind-fetch.js +++ b/src/hypermind-fetch.js @@ -96,7 +96,7 @@ export async function hypermind(){ URL: "https://predict.hypermind.com/dash/dash/dash.html?list="+slug, Platform: "Hypermind", "Binary question?" : (res.otcms.length==2), - "Percentage": (res.otcms.length==2)?res.otcms[0].price +"%": "none" + "Percentage": (res.otcms.length==2) ? Number(res.otcms[0].price).toFixed(2) +"%" : "none" })) results1.push(...objs) }