home / season_29_matches

banana_depot_scene_loadouts (view)

10 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BananaFarm, BombShooter, WizardMonkey 120 84 36 70.00% 4.08% 61.80%
BananaFarm, MortarMonkey, TackShooter 385 242 143 62.86% 13.08% 58.03%
MortarMonkey, SniperMonkey, TackShooter 36 26 10 72.22% 1.22% 57.59%
BananaFarm, TackShooter, WizardMonkey 483 278 205 57.56% 16.41% 53.15%
BananaFarm, Druid, MonkeySub 44 28 16 63.64% 1.49% 49.42%
BananaFarm, BombShooter, MonkeySub 132 73 59 55.30% 4.48% 46.82%
SpikeFactory, TackShooter, WizardMonkey 81 46 35 56.79% 2.75% 46.00%
BananaFarm, BombShooter, SpikeFactory 518 260 258 50.19% 17.60% 45.89%
BananaFarm, BombShooter, MortarMonkey 34 21 13 61.76% 1.15% 45.43%
GlueGunner, MonkeyVillage, TackShooter 33 11 22 33.33% 1.12% 17.25%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW banana_depot_scene_loadouts AS 
WITH banana_depot_scene AS
    (SELECT *
    FROM matches
    WHERE map = 'banana_depot_scene')
SELECT Loadout,
       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 Loadout,
             Games,
             Wins,
             Losses,
             CAST(Wins AS REAL) / Games AS WR,
             CAST(Games AS REAL) / (
                 (SELECT COUNT(*)
                  FROM banana_depot_scene) * 2)    AS PR
      FROM (SELECT Loadout,
                   SUM(Win) + SUM(NOT Win) AS Games,
                   SUM(Win)                AS Wins,
                   SUM(NOT Win)            AS Losses
            FROM (SELECT printf('%s, %s, %s', lt1, lt2, lt3) AS Loadout,
                         playerLeftWin                       AS Win
                  FROM banana_depot_scene
                  UNION ALL
                  SELECT printf('%s, %s, %s', rt1, rt2, rt3) AS Loadout,
                         NOT playerLeftWin                   AS Win
                  FROM banana_depot_scene)
            GROUP BY Loadout)
      WHERE Wins >= 10
        AND Losses >= 10)
WHERE Wins >= 10 AND Losses >= 10 AND LENGTH(WinRate_LowerBound_95CI) = 6
ORDER BY WinRate_LowerBound_95CI DESC;
Powered by Datasette · Queries took 544.345ms