home / season_29_matches

banana_depot_scene_towers (view)

22 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Tower Games Wins Losses Winrate Pickrate Winrate_LowerBound_95CI
MortarMonkey 509 312 197 61.30% 5.76% 57.07%
BananaFarm 2136 1155 981 54.07% 24.18% 51.96%
TackShooter 1348 723 625 53.64% 15.26% 50.97%
WizardMonkey 975 516 459 52.92% 11.04% 49.79%
BombShooter 1010 531 479 52.57% 11.44% 49.49%
MonkeyAce 111 61 50 54.95% 1.26% 45.70%
EngineerMonkey 104 57 47 54.81% 1.18% 45.24%
SpikeFactory 819 391 428 47.74% 9.27% 44.32%
MonkeySub 389 182 207 46.79% 4.40% 41.83%
SniperMonkey 251 103 148 41.04% 2.84% 34.95%
Druid 97 41 56 42.27% 1.10% 32.44%
HeliPilot 84 34 50 40.48% 0.95% 29.98%
SuperMonkey 77 30 47 38.96% 0.87% 28.07%
BoomerangMonkey 114 41 73 35.96% 1.29% 27.16%
IceMonkey 134 46 88 34.33% 1.52% 26.29%
MonkeyBuccaneer 58 21 37 36.21% 0.66% 23.84%
NinjaMonkey 195 57 138 29.23% 2.21% 22.85%
GlueGunner 127 37 90 29.13% 1.44% 21.23%
MonkeyVillage 127 37 90 29.13% 1.44% 21.23%
Alchemist 48 14 34 29.17% 0.54% 16.31%
DartlingGunner 56 14 42 25.00% 0.63% 13.66%
DartMonkey 63 13 50 20.63% 0.71% 10.64%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW banana_depot_scene_towers AS 
WITH banana_depot_scene AS
    (SELECT *
    FROM matches
    WHERE map = 'banana_depot_scene')
SELECT Tower,
       Games,
       Wins,
       Losses,
       printf('%.2f%%', WR * 100)                                          AS Winrate,
       printf('%.2f%%', PR * 100)                                          AS Pickrate,
       printf('%.2f%%', (WR - 1.96 * SQRT((WR * (1 - WR)) / Games)) * 100) AS Winrate_LowerBound_95CI
FROM (SELECT Tower,
             Games,
             Wins,
             Losses,
             CAST(Wins AS REAL) / Games AS WR,
             CAST(Games AS REAL) / (
                 (SELECT COUNT(*)
                  FROM banana_depot_scene) * 6)    AS PR
      FROM (SELECT Tower,
                   SUM(Win) + SUM(NOT Win) AS Games,
                   SUM(Win)                AS Wins,
                   SUM(NOT Win)            AS Losses
            FROM (SELECT lt1           AS Tower,
                         playerLeftWin AS Win
                  FROM banana_depot_scene
                  UNION ALL
                  SELECT lt2           AS Tower,
                         playerLeftWin AS Win
                  FROM banana_depot_scene
                  UNION ALL
                  SELECT lt3           AS Tower,
                         playerLeftWin AS Win
                  FROM banana_depot_scene
                  UNION ALL
                  SELECT rt1               AS Tower,
                         NOT playerLeftWin AS Win
                  FROM banana_depot_scene
                  UNION ALL
                  SELECT rt2               AS Tower,
                         NOT playerLeftWin AS Win
                  FROM banana_depot_scene
                  UNION ALL
                  SELECT rt3               AS Tower,
                         NOT playerLeftWin AS Win
                  FROM banana_depot_scene)
            GROUP BY Tower))
WHERE Wins >= 10 AND Losses >= 10 AND LENGTH(Winrate_LowerBound_95CI) = 6
ORDER BY Winrate_LowerBound_95CI DESC;
Powered by Datasette · Queries took 1391.163ms