summaryrefslogtreecommitdiff
path: root/src/ReportTable.vue
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-06-23 14:08:12 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:22 +0100
commit362a324b3329bdcc8f20f1d0865fce52ec9e8898 (patch)
treec931af0c0d8588c47f791b85d3faeef55117ce5b /src/ReportTable.vue
parente721ba94e5113e567283724f3d30c51929bbf287 (diff)
downloadbrokentalents-362a324b3329bdcc8f20f1d0865fce52ec9e8898.tar.gz
brokentalents-362a324b3329bdcc8f20f1d0865fce52ec9e8898.zip
Calculate r^2 and show 'uncertain' labels for max level stats
Diffstat (limited to 'src/ReportTable.vue')
-rw-r--r--src/ReportTable.vue13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ReportTable.vue b/src/ReportTable.vue
index fa457e6..d44bdea 100644
--- a/src/ReportTable.vue
+++ b/src/ReportTable.vue
@@ -16,7 +16,7 @@
<b-field>
<div class="control">
- <b-switch v-model="filterLowPickrate">Include entries without enough data</b-switch>
+ <b-switch v-model="filterLowPickrate">Include entries without enough data (statistics will be inaccurate)</b-switch>
</div>
</b-field>
@@ -70,18 +70,23 @@
{{ (100 * props.row.Winner).toFixed(2) }}% <!-- No Talent -->
</template>
<template v-else>
- {{ (100 * props.row.TalentWinrateBase).toFixed(2) }}%
+ {{ (100 * props.row.TalentWinrateBase).toFixed(0) }}%
</template>
</b-table-column>
<b-table-column field="TalentWinrateMax" label="Max Level Win Rate" meta="Estimated." :visible="hasTalents" sortable numeric>
<template v-if="!isNaN(props.row.TalentWinrateMax)">
- {{ (100 * props.row.TalentWinrateMax).toFixed(2) }}%
+ {{ (100 * props.row.TalentWinrateMax).toFixed(0) }}%
+ <small v-if="props.row.VarianceTooLarge"><br />uncertain</small>
</template>
</b-table-column>
+ <b-table-column field="TalentWinrateVariance" label="Variance" :visible="hasTalents" sortable numeric>
+ {{ props.row.TalentWinrateVariance.toFixed(2) }}
+ </b-table-column>
+
<b-table-column field="Winner" label="Win Rate" :visible="!hasTalents" sortable numeric>
- {{ (100 * props.row.Winner).toFixed(2) }}%
+ {{ (100 * props.row.Winner).toFixed(0) }}%
</b-table-column>
<b-table-column field="TotalPicks" label="Pick Rate" sortable numeric>