home / season_28_matches

banana_depot_scene_loadouts (view)

14 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Games, Losses, Pickrate

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BananaFarm, MortarMonkey, TackShooter 318 203 115 63.84% 10.03% 58.56%
BananaFarm, BombShooter, WizardMonkey 180 113 67 62.78% 5.68% 55.72%
BombShooter, SpikeFactory, WizardMonkey 39 27 12 69.23% 1.23% 54.75%
BananaFarm, BombShooter, SpikeFactory 691 381 310 55.14% 21.80% 51.43%
BananaFarm, TackShooter, WizardMonkey 344 187 157 54.36% 10.85% 49.10%
BananaFarm, BombShooter, MonkeySub 159 85 74 53.46% 5.02% 45.71%
MortarMonkey, SpikeFactory, TackShooter 36 22 14 61.11% 1.14% 45.19%
BananaFarm, IceMonkey, TackShooter 44 25 19 56.82% 1.39% 42.18%
GlueGunner, HeliPilot, MonkeySub 24 14 10 58.33% 0.76% 38.61%
BananaFarm, Druid, MonkeySub 35 18 17 51.43% 1.10% 34.87%
BananaFarm, SniperMonkey, TackShooter 22 12 10 54.55% 0.69% 33.74%
SpikeFactory, TackShooter, WizardMonkey 52 24 28 46.15% 1.64% 32.60%
BananaFarm, BombShooter, MortarMonkey 43 19 24 44.19% 1.36% 29.34%
GlueGunner, MonkeyVillage, TackShooter 36 11 25 30.56% 1.14% 15.51%

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