home / season_26_matches

banana_depot_scene_towers (view)

21 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Tower Games Wins Losses Winrate Pickrate Winrate_LowerBound_95CI
MortarMonkey 575 349 226 60.70% 6.35% 56.70%
BananaFarm 1676 932 744 55.61% 18.52% 53.23%
BombShooter 982 537 445 54.68% 10.85% 51.57%
TackShooter 1320 703 617 53.26% 14.59% 50.57%
SpikeFactory 859 450 409 52.39% 9.49% 49.05%
IceMonkey 208 115 93 55.29% 2.30% 48.53%
WizardMonkey 704 328 376 46.59% 7.78% 42.91%
HeliPilot 259 126 133 48.65% 2.86% 42.56%
SniperMonkey 366 165 201 45.08% 4.05% 39.98%
MonkeyAce 96 47 49 48.96% 1.06% 38.96%
MonkeySub 265 116 149 43.77% 2.93% 37.80%
GlueGunner 379 160 219 42.22% 4.19% 37.24%
EngineerMonkey 82 39 43 47.56% 0.91% 36.75%
MonkeyVillage 271 110 161 40.59% 3.00% 34.74%
Alchemist 141 53 88 37.59% 1.56% 29.59%
NinjaMonkey 215 75 140 34.88% 2.38% 28.51%
MonkeyBuccaneer 123 45 78 36.59% 1.36% 28.07%
DartMonkey 123 44 79 35.77% 1.36% 27.30%
BoomerangMonkey 133 47 86 35.34% 1.47% 27.21%
SuperMonkey 160 51 109 31.88% 1.77% 24.65%
Druid 70 23 47 32.86% 0.77% 21.85%

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 1153.988ms