Skip to content

Commit 9e019b5

Browse files
authored
Resolutions V2 Scores (#3817)
* get_average_coverage_for_questions function * Small fix * Small fix * Participation block frontend * Score Card V1 * Small refactor * Small refactor * Small refactor * Small fix * Score card overlapping resolution * Info toggle container integration * Adjusted animation * Small fix * Small fix * Score Card Adjustment * Small fix * Adjusted animation * Refactoring * Small fix * Fixed dark mode * Small fix * Additional Scores table implementation * Small fix * Small fix * Group Table Resolution implementation * Extra fixes * Movile improvements * Added conditions support * Deprecated ScoreDisplay component * Small refactoring * Added translations * Fixed mobile consumer views tabs * Fixed font weight 800 * Small fixes * Small fix * Small fix * Hide resolution block for Annulled questions * Fix * Fixed score labels * Small fix * Extra spot scores text * Adjusted copy * Adjusted badges align * Normalize scaling * Fixed scores scaling * Fixed table margin * Bring back forecastMaker for continuous questions * Adjustments * Added participation summary question tiles * Small fix * Dynamic scaleScores GAP * Small fix * Small fix
1 parent e49ad1b commit 9e019b5

File tree

32 files changed

+1782
-211
lines changed

32 files changed

+1782
-211
lines changed

front_end/messages/cs.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,6 @@
843843
"myBaselineScore": "Můj základní skór",
844844
"myPeerScore": "Můj skór kolegy",
845845
"mySpotBaselineScore": "Můj spot základní skór",
846-
"mySpotPeerScore": "Můj spot skór",
847846
"myRelativeLegacyScore": "Můj relativní starší skór",
848847
"myRelativeLegacyArchivedScore": "Můj relativní starší archivovaný skór",
849848
"communityBaselineScore": "Základní skóre komunity",
@@ -1636,5 +1635,36 @@
16361635
"aibShowMore": "Zobrazit více ({count})",
16371636
"aibShowMoreAria": "Zobrazit více modelů ({count})",
16381637
"aibSOTALinearTrend": "SOTA lineární trend",
1638+
"spotBaselineScore": "Základní spot skóre",
1639+
"resolutionScores": "Skóre výsledků",
1640+
"participationSummary": "Shrnutí účasti",
1641+
"participationSummaryPredictionNrStats": "Udělal(a) jste <strong>{userUpdates} {userUpdates, plural, =0 {aktualizací} =1 {aktualizaci} other {aktualizací} }</strong> vs. průměr komunity <strong>{communityUpdates} {communityUpdates, plural, =0 {aktualizací} =1 {aktualizaci} other {aktualizací} }</strong>.",
1642+
"participationSummaryCoverageBetterStats": "Vaše pokrytí bylo <strong>{userCoverage}%</strong>, což je lepší než průměrný předpovídač v této otázce (<strong>{averageCoverage}%</strong>).",
1643+
"participationSummaryCoverageWorseStats": "Vaše pokrytí bylo <strong>{userCoverage}%</strong>, což je horší než průměrný předpovídač v této otázce (<strong>{averageCoverage}%</strong>).",
1644+
"peer": "Vrstevník",
1645+
"bothPeerAndBaseline": "jak vrstevnické, tak základní",
1646+
"scores": "Skóre",
1647+
"additionalScores": "Další skóre",
1648+
"myScores": "Moje skóre",
1649+
"subquestion": "Podotázka",
1650+
"learnMoreAboutScores": "Zjistit více o skórech",
1651+
"here": "zde",
1652+
"averageOfPeers": "Průměr <secondary>vrstevníků</secondary>",
1653+
"mySpotPeerScore": "Moje skóre sportovce",
1654+
"spotPeerScore": "Skóre sportovce",
1655+
"participationSummaryScoreOutperformance": "Gratulujeme, <strong>překonali jste komunitní predikci</strong> v {scoreTypes}.",
1656+
"bothSpotPeerAndBaseline": "obě skóre Sport Peer a Spot Baseline",
1657+
"spotPeerScoreExplanation": "Spot Peer Skóre porovnává předpověď prognostika v jednom časovém bodě s předpověďmi ostatních lidí v té době. Pokud je kladné, předpověď byla (v průměru) lepší než ostatní, a naopak. Obvykle je čas hodnocení Spot chvíle, kdy byla odhalena Predikce komunity.",
1658+
"spotBaselineScoreExplanation": "Spot Základní Skóre porovnává předpověď prognostika v jednom časovém bodě s pevnou \"náhodnou\" základní hodnotou (50 % pro binární otázku atd.). Pokud je kladné, předpověď byla lepší než náhodně, a naopak. Obvykle je čas hodnocení Spot chvíle, kdy byla odhalena Predikce komunity.",
1659+
"whatIsBaselineScore": "Co je základní skóre?",
1660+
"baselineScoreExplanation": "Základní skóre porovnává předpověď prognostika s pevnou „náhodnou“ základnou (50 % pro binární otázku atd.). Pokud je kladné, předpověď byla lepší než náhoda, a naopak.",
1661+
"learnMoreAboutBaselineScore": "Zjistěte více o základním skóre",
1662+
"whatIsPeerScore": "Co je to Peer skóre?",
1663+
"peerScoreExplanation": "Peer skóre porovnává předpověď prognostika s předpověďmi ostatních. Pokud je kladné, předpověď byla (v průměru) lepší než ostatní, a naopak.",
1664+
"learnMoreAboutPeerScore": "Zjistěte více o Peer skóre",
1665+
"learnMoreAboutSpotScores": "Zjistěte více o Spot skórech",
1666+
"whatIsSpotPeerScore": "Co je Spot Peer skóre?",
1667+
"whatIsSpotBaselineScore": "Co je Spot základní skóre?",
1668+
"chanceBaseline": "Náhodná <secondary>základní hodnota</secondary>",
16391669
"othersCount": "Ostatní ({count})"
16401670
}

front_end/messages/en.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"myBaselineScore": "My Baseline Score",
135135
"myPeerScore": "My Peer Score",
136136
"mySpotBaselineScore": "My Spot Baseline Score",
137-
"mySpotPeerScore": "My Spot Score",
137+
"mySpotPeerScore": "My Spot Peer Score",
138138
"myRelativeLegacyScore": "My Relative Legacy Score",
139139
"myRelativeLegacyArchivedScore": "My Relative Legacy Archived Score",
140140
"communityBaselineScore": "Community Baseline Score",
@@ -439,9 +439,22 @@
439439
"baselineScore": "Baseline Score",
440440
"baselineAccuracy": "Baseline Accuracy",
441441
"baselineAccuracyShort": "Baseline Accuracy",
442+
"whatIsBaselineScore": "What is the Baseline Score?",
443+
"baselineScoreExplanation": "The Baseline Score compares the forecaster's prediction to a fixed \"chance\" baseline (50% for a binary question, etc.). If it's positive, the prediction was better than chance, and vice versa.",
444+
"learnMoreAboutBaselineScore": "Learn more about the Baseline Score",
445+
"spotPeerScore": "Spot Peer Score",
446+
"spotBaselineScore": "Spot Baseline Score",
442447
"peerScore": "Peer Score",
443448
"peerAccuracy": "Peer Accuracy",
444449
"peerAccuracyShort": "Peer Accuracy",
450+
"whatIsPeerScore": "What is the Peer Score?",
451+
"peerScoreExplanation": "The Peer Score compares the forecaster's prediction to everyone else's predictions. If it's positive, the prediction was (on average) better than others, and vice versa.",
452+
"learnMoreAboutPeerScore": "Learn more about the Peer Score",
453+
"learnMoreAboutSpotScores": "Learn more about the Spot Scores",
454+
"whatIsSpotPeerScore": "What is the the Spot Peer Score?",
455+
"spotPeerScoreExplanation": "The Spot Peer Score compares the forecaster's prediction at a single point in time to everyone else's predictions at that time. If it's positive, the prediction was (on average) better than others, and vice versa. The Spot Scoring Time is usually the time the Community Prediction was revealed.",
456+
"whatIsSpotBaselineScore": "What is the the Spot Baseline Score?",
457+
"spotBaselineScoreExplanation": "The Spot Baseline Score compares the forecaster's prediction at a single point in time to a fixed \"chance\" baseline (50% for a binary question, etc.). If it's positive, the prediction was better than chance, and vice versa. The Spot Scoring Time is usually the time the Community Prediction was revealed.",
445458
"insight": "Insight",
446459
"questionWriting": "Question Writing",
447460
"questionWritingShort": "Question Writing",
@@ -792,6 +805,7 @@
792805
"unfollowModalDescription": "You won't be notified about this question anymore",
793806
"best": "best",
794807
"cmmButton": "Changed my mind",
808+
"resolutionScores": "Resolution Scores",
795809
"cmmUpdateButton": "Update",
796810
"cmmUpdatePredictionLink": "Update your prediction?",
797811
"updateYourPrediction": "Update your prediction",
@@ -1399,6 +1413,14 @@
13991413
"tournamentSpotlightFeedbackAuthor": "((Bridgewater representative))",
14001414
"visitTournamentPage": "Visit Tournament Page",
14011415
"participations": "Participations",
1416+
"participationSummary": "Participation Summary",
1417+
"participationSummaryPredictionNrStats": "You made <strong>{userUpdates} {userUpdates, plural, =0 {updates} =1 {update} other {updates} }</strong> vs. a community average of <strong>{communityUpdates} {communityUpdates, plural, =0 {updates} =1 {update} other {updates} }</strong>.",
1418+
"participationSummaryCoverageBetterStats": "Your coverage was <strong>{userCoverage}%</strong>, better than the average forecaster on this question (<strong>{averageCoverage}%</strong>).",
1419+
"participationSummaryCoverageWorseStats": "Your coverage was <strong>{userCoverage}%</strong>, worse than the average forecaster on this question (<strong>{averageCoverage}%</strong>).",
1420+
"participationSummaryScoreOutperformance": "Congrats, you <strong>outperformed the Community Prediction</strong> in {scoreTypes}.",
1421+
"peer": "Peer",
1422+
"bothPeerAndBaseline": "both Peer and Baseline Scores",
1423+
"bothSpotPeerAndBaseline": "both Sport Peer and Spot Baseline Scores",
14021424
"otherTournaments": "Other tournaments",
14031425
"createPrivateInstance": "Create a Private Instance of <span>Metaculus</span>",
14041426
"metaculusProForecasters": "Metaculus <span>Pro Forecasters</span>",
@@ -1514,6 +1536,14 @@
15141536
"changes": "changes.",
15151537
"currentValue": "Current Value",
15161538
"baseline": "Baseline",
1539+
"scores": "Scores",
1540+
"additionalScores": "Additional Scores",
1541+
"myScores": "My Scores",
1542+
"subquestion": "Subquestion",
1543+
"learnMoreAboutScores": "Learn more about scores",
1544+
"here": "here",
1545+
"averageOfPeers": "Average <secondary>of peers</secondary>",
1546+
"chanceBaseline": "Chance <secondary>baseline</secondary>",
15171547
"questionLinkCreated": "Question Link successfully created!",
15181548
"questionLinkCreatedMultiple": "Question Links successfully created!",
15191549
"returnToHomePage": "Return to Home page",

front_end/messages/es.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,5 +1636,35 @@
16361636
"aibShowMore": "Mostrar más ({count})",
16371637
"aibShowMoreAria": "Mostrar más modelos ({count})",
16381638
"aibSOTALinearTrend": "Tendencia Lineal SOTA",
1639+
"spotBaselineScore": "Puntaje de Referencia Spot",
1640+
"resolutionScores": "Puntajes de Resolución",
1641+
"participationSummary": "Resumen de Participación",
1642+
"participationSummaryPredictionNrStats": "Hiciste <strong>{userUpdates} {userUpdates, plural, =0 {actualizaciones} =1 {actualización} other {actualizaciones} }</strong> versus un promedio comunitario de <strong>{communityUpdates} {communityUpdates, plural, =0 {actualizaciones} =1 {actualización} other {actualizaciones} }</strong>.",
1643+
"participationSummaryCoverageBetterStats": "Tu cobertura fue del <strong>{userCoverage}%</strong>, mejor que el promedio de pronosticadores en esta pregunta (<strong>{averageCoverage}%</strong>).",
1644+
"participationSummaryCoverageWorseStats": "Tu cobertura fue del <strong>{userCoverage}%</strong>, peor que el promedio de pronosticadores en esta pregunta (<strong>{averageCoverage}%</strong>).",
1645+
"peer": "Pares",
1646+
"bothPeerAndBaseline": "tanto en Pares como en Referencia",
1647+
"scores": "Puntuaciones",
1648+
"additionalScores": "Puntuaciones Adicionales",
1649+
"myScores": "Mis Puntuaciones",
1650+
"subquestion": "Subpregunta",
1651+
"learnMoreAboutScores": "Aprende más sobre las puntuaciones",
1652+
"here": "aquí",
1653+
"averageOfPeers": "Promedio <secondary>de pares</secondary>",
1654+
"spotPeerScore": "Puntuación de Par entre Puntos",
1655+
"participationSummaryScoreOutperformance": "Felicidades, <strong>superaste la Predicción de la Comunidad</strong> en {scoreTypes}.",
1656+
"bothSpotPeerAndBaseline": "tanto la Puntuación de Par como la Puntuación de Referencia de Puntos",
1657+
"spotPeerScoreExplanation": "El Spot Peer Score compara la predicción del pronosticador en un único momento con las predicciones de todos los demás en ese momento. Si es positivo, la predicción fue (en promedio) mejor que las otras, y viceversa. La hora de puntuación de Spot generalmente es cuando se reveló la Predicción de la Comunidad.",
1658+
"spotBaselineScoreExplanation": "El Spot Baseline Score compara la predicción del pronosticador en un único momento con una línea de base \"al azar\" (50% para una pregunta binaria, etc.). Si es positivo, la predicción fue mejor que al azar, y viceversa. La hora de puntuación de Spot generalmente es cuando se reveló la Predicción de la Comunidad.",
1659+
"whatIsBaselineScore": "¿Qué es la Puntuación Base?",
1660+
"baselineScoreExplanation": "La Puntuación Base compara la predicción del pronosticador con una línea base de \"azar\" fija (50% para una pregunta binaria, etc.). Si es positiva, la predicción fue mejor que el azar, y viceversa.",
1661+
"learnMoreAboutBaselineScore": "Más información sobre la Puntuación Base",
1662+
"whatIsPeerScore": "¿Qué es la Puntuación de Pares?",
1663+
"peerScoreExplanation": "La Puntuación de Pares compara la predicción del pronosticador con las predicciones de todos los demás. Si es positiva, la predicción fue (en promedio) mejor que las de otros, y viceversa.",
1664+
"learnMoreAboutPeerScore": "Más información sobre la Puntuación de Pares",
1665+
"learnMoreAboutSpotScores": "Más información sobre las Puntuaciones Puntuales",
1666+
"whatIsSpotPeerScore": "¿Qué es la Puntuación de Pares Puntual?",
1667+
"whatIsSpotBaselineScore": "¿Qué es la Puntuación Base Puntual?",
1668+
"chanceBaseline": "Línea base <secondary>de azar</secondary>",
16391669
"othersCount": "Otros ({count})"
16401670
}

front_end/messages/pt.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,6 @@
961961
"myBaselineScore": "Minha Pontuação Básica",
962962
"myPeerScore": "Minha Pontuação de Pares",
963963
"mySpotBaselineScore": "Minha Pontuação Básica de Spot",
964-
"mySpotPeerScore": "Minha Pontuação de Spot",
965964
"myRelativeLegacyScore": "Minha Pontuação Relativa de Legado",
966965
"myRelativeLegacyArchivedScore": "Minha Pontuação Relativa de Legado Arquivada",
967966
"communityBaselineScore": "Pontuação Básica da Comunidade",
@@ -1634,5 +1633,36 @@
16341633
"aibShowMore": "Mostrar mais ({count})",
16351634
"aibShowMoreAria": "Mostrar mais modelos ({count})",
16361635
"aibSOTALinearTrend": "Tendência Linear SOTA",
1636+
"spotBaselineScore": "Pontuação de Referência Spot",
1637+
"resolutionScores": "Pontuações de Resolução",
1638+
"participationSummary": "Resumo de Participação",
1639+
"participationSummaryPredictionNrStats": "Você fez <strong>{userUpdates} {userUpdates, plural, =0 {atualizações} =1 {atualização} other {atualizações} }</strong> vs. uma média da comunidade de <strong>{communityUpdates} {communityUpdates, plural, =0 {atualizações} =1 {atualização} other {atualizações} }</strong>.",
1640+
"participationSummaryCoverageBetterStats": "Sua cobertura foi de <strong>{userCoverage}%</strong>, melhor que a do previsor médio nesta pergunta (<strong>{averageCoverage}%</strong>).",
1641+
"participationSummaryCoverageWorseStats": "Sua cobertura foi de <strong>{userCoverage}%</strong>, pior que a do previsor médio nesta pergunta (<strong>{averageCoverage}%</strong>).",
1642+
"peer": "Par",
1643+
"bothPeerAndBaseline": "tanto Par quanto Referência",
1644+
"scores": "Pontuações",
1645+
"additionalScores": "Pontuações Adicionais",
1646+
"myScores": "Minhas Pontuações",
1647+
"subquestion": "Subpergunta",
1648+
"learnMoreAboutScores": "Saiba mais sobre pontuações",
1649+
"here": "aqui",
1650+
"averageOfPeers": "Média <secondary>dos pares</secondary>",
1651+
"mySpotPeerScore": "Minha Pontuação de Par",
1652+
"spotPeerScore": "Pontuação de Par",
1653+
"participationSummaryScoreOutperformance": "Parabéns, você <strong>superou a Previsão da Comunidade</strong> em {scoreTypes}.",
1654+
"bothSpotPeerAndBaseline": "tanto Pontuação de Par quanto Pontuação de Referência",
1655+
"spotPeerScoreExplanation": "A Pontuação de Par de Spot compara a previsão do previsor em um único ponto no tempo com as previsões de todos os outros naquele momento. Se for positiva, a previsão foi (em média) melhor do que as outras, e vice-versa. O Tempo de Pontuação de Spot é geralmente o momento em que a Previsão da Comunidade foi revelada.",
1656+
"spotBaselineScoreExplanation": "A Pontuação de Referência de Spot compara a previsão do previsor em um único ponto no tempo com uma referência fixa de \"chance\" (50% para uma pergunta binária, etc.). Se for positiva, a previsão foi melhor do que a chance, e vice-versa. O Tempo de Pontuação de Spot é geralmente o momento em que a Previsão da Comunidade foi revelada.",
1657+
"whatIsBaselineScore": "O que é a Pontuação Básica?",
1658+
"baselineScoreExplanation": "A Pontuação Básica compara a previsão do previsor com um ponto de referência fixo de \"acaso\" (50% para uma pergunta binária, etc.). Se for positiva, a previsão foi melhor que o acaso, e vice-versa.",
1659+
"learnMoreAboutBaselineScore": "Saiba mais sobre a Pontuação Básica",
1660+
"whatIsPeerScore": "O que é a Pontuação de Pares?",
1661+
"peerScoreExplanation": "A Pontuação de Pares compara a previsão do previsor com as previsões de todos os outros. Se for positiva, a previsão foi (em média) melhor que as dos outros, e vice-versa.",
1662+
"learnMoreAboutPeerScore": "Saiba mais sobre a Pontuação de Pares",
1663+
"learnMoreAboutSpotScores": "Saiba mais sobre as Pontuações Pontuais",
1664+
"whatIsSpotPeerScore": "O que é a Pontuação Pontual de Pares?",
1665+
"whatIsSpotBaselineScore": "O que é a Pontuação Pontual Básica?",
1666+
"chanceBaseline": "Chance <secondary>base</secondary>",
16371667
"othersCount": "Outros ({count})"
16381668
}

front_end/messages/zh-TW.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
"myBaselineScore": "我的基準分數",
113113
"myPeerScore": "我的同儕分數",
114114
"mySpotBaselineScore": "我的即時基準分數",
115-
"mySpotPeerScore": "我的即時得分",
116115
"myRelativeLegacyScore": "我的相對遺產分數",
117116
"myRelativeLegacyArchivedScore": "我的相對遺產存檔分數",
118117
"communityBaselineScore": "社群基準分數",
@@ -1633,5 +1632,36 @@
16331632
"aibShowMore": "顯示更多({count})",
16341633
"aibShowMoreAria": "顯示更多型號({count})",
16351634
"aibSOTALinearTrend": "SOTA 線性趨勢",
1635+
"spotBaselineScore": "Spot 基準分數",
1636+
"resolutionScores": "決議分數",
1637+
"participationSummary": "參與總結",
1638+
"participationSummaryPredictionNrStats": "您做出了 <strong>{userUpdates} {userUpdates, plural, =0 {次更新} =1 {次更新} other {次更新} }</strong>,而社群平均為 <strong>{communityUpdates} {communityUpdates, plural, =0 {次更新} =1 {次更新} other {次更新} }</strong>。",
1639+
"participationSummaryCoverageBetterStats": "您的涵蓋率是 <strong>{userCoverage}%</strong>,比該問題的平均預測者更好(<strong>{averageCoverage}%</strong>)。",
1640+
"participationSummaryCoverageWorseStats": "您的涵蓋率是 <strong>{userCoverage}%</strong>,比該問題的平均預測者更差(<strong>{averageCoverage}%</strong>)。",
1641+
"peer": "同行",
1642+
"bothPeerAndBaseline": "同行和基準",
1643+
"scores": "分數",
1644+
"additionalScores": "其他分數",
1645+
"myScores": "我的分數",
1646+
"subquestion": "子問題",
1647+
"learnMoreAboutScores": "了解更多關於分數",
1648+
"here": "這裡",
1649+
"averageOfPeers": "同行的<secondary>平均值</secondary>",
1650+
"mySpotPeerScore": "我的 Spot 同行評分",
1651+
"spotPeerScore": "Spot 同行評分",
1652+
"participationSummaryScoreOutperformance": "恭喜,您在{scoreTypes}方面<strong>超越了社群預測</strong>。",
1653+
"bothSpotPeerAndBaseline": "包含運動同行和 Spot 基準評分",
1654+
"spotPeerScoreExplanation": "即時同行分數將預測者在某個特定時間點的預測與其他人在同一時間點的預測進行比較。如果是正數,表示該預測比其他預測平均來說要好,反之亦然。即時評分時間通常是社群預測揭示的時間。",
1655+
"spotBaselineScoreExplanation": "即時基準分數將預測者在某個特定時間點的預測與固定的「機會」基準(例如,二元問題的50%)進行比較。如果是正數,表示該預測優於機會,反之亦然。即時評分時間通常是社群預測揭示的時間。",
1656+
"whatIsBaselineScore": "什麼是基線分數?",
1657+
"baselineScoreExplanation": "基線分數將預測者的預測與固定的「機會」基線進行比較(二元問題為50%等)。如果是正數,預測優於機會,反之亦然。",
1658+
"learnMoreAboutBaselineScore": "了解更多關於基線分數的信息",
1659+
"whatIsPeerScore": "什麼是同行分數?",
1660+
"peerScoreExplanation": "同行分數將預測者的預測與其他所有人的預測進行比較。如果是正數,預測平均優於其他人,反之亦然。",
1661+
"learnMoreAboutPeerScore": "了解更多關於同行分數的信息",
1662+
"learnMoreAboutSpotScores": "了解更多關於Spot分數的信息",
1663+
"whatIsSpotPeerScore": "什麼是Spot同行分數?",
1664+
"whatIsSpotBaselineScore": "什麼是Spot基線分數?",
1665+
"chanceBaseline": "機會<secondary>基線</secondary>",
16361666
"withdrawAfterPercentSetting2": "問題總生命周期後撤回"
16371667
}

0 commit comments

Comments
 (0)