improve maps display & selection

This commit is contained in:
2020-10-18 05:29:57 +02:00
parent 031cf5aa2e
commit 1a105a0e63

View File

@@ -29,17 +29,19 @@
cellspacing="0" width="100%">
<thead>
<tr>
<th class="th-sm">Map</th>
<th class="th-sm">Insurgent Win</th>
<th class="th-sm">Security Win</th>
<th class="th-sm">Average Time</th>
<th class="th-sm">Rating System Deviation*</th>
<th class="th-sm font-weight-bold">Map</th>
<th class="th-sm font-weight-bold">Games Played</th>
<th class="th-sm font-weight-bold">Insurgent Win</th>
<th class="th-sm font-weight-bold">Security Win</th>
<th class="th-sm font-weight-bold">Average Time</th>
<th class="th-sm font-weight-bold">Rating System Deviation*</th>
</tr>
</thead>
<tbody>
{% for m in maps %}
<tr>
<tr {% if m.totalGames < 20 %} style="opacity: 0.4;" {% endif %}>
<td>{{ m.mapName }}</td>
<td>{{ m.totalGames }}</td>
<td>{{ '%0.2f' | format(m.insurgentWinPercent) }}%</td>
<td>{{ '%0.2f' | format(m.securityWinPercent) }}%</td>
<td>{{ m.averageTime }}</td>
@@ -54,10 +56,12 @@
{% endfor %}
</tbody>
</table>
</div>
<div class="mt-2 mb-2">
<p>
<i>*Rating System Deviation:</i> Percentage difference between the ratio of correctly predicted games by the rating system, to the average confidence of those predictions. For example: 10 games played, 6 games correctly predicted based on ratings with an average confidence of 50% is +20% deviation.
</p>
</div>
</div>
{% include 'footer.html' %}
</body>
</html>