home / season_27_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 211 142 69 67.30% 8.08% 60.97%
BananaFarm, BombShooter, WizardMonkey 133 83 50 62.41% 5.09% 54.17%
BananaFarm, BombShooter, MortarMonkey 62 40 22 64.52% 2.37% 52.61%
BananaFarm, TackShooter, WizardMonkey 214 125 89 58.41% 8.19% 51.81%
MortarMonkey, SpikeFactory, TackShooter 31 21 10 67.74% 1.19% 51.29%
BananaFarm, BombShooter, SpikeFactory 400 222 178 55.50% 15.31% 50.63%
BombShooter, SpikeFactory, WizardMonkey 37 24 13 64.86% 1.42% 49.48%
BananaFarm, IceMonkey, TackShooter 58 35 23 60.34% 2.22% 47.76%
SpikeFactory, TackShooter, WizardMonkey 62 37 25 59.68% 2.37% 47.47%
HeliPilot, IceMonkey, SuperMonkey 52 30 22 57.69% 1.99% 44.26%
BananaFarm, BombShooter, MonkeySub 83 38 45 45.78% 3.18% 35.06%
BananaFarm, GlueGunner, TackShooter 22 12 10 54.55% 0.84% 33.74%
HeliPilot, MonkeyVillage, SuperMonkey 23 11 12 47.83% 0.88% 27.41%
GlueGunner, MonkeyVillage, TackShooter 49 13 36 26.53% 1.88% 14.17%

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