home / season_30_matches

castle_ruins_loadouts (view)

28 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Games, Wins, Losses, Winrate, Pickrate

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BananaFarm, EngineerMonkey, MonkeyAce 294 197 97 67.01% 7.76% 61.63%
BananaFarm, BoomerangMonkey, MortarMonkey 88 62 26 70.45% 2.32% 60.92%
DartlingGunner, MonkeyVillage, SuperMonkey 84 58 26 69.05% 2.22% 59.16%
BananaFarm, TackShooter, WizardMonkey 301 167 134 55.48% 7.94% 49.87%
BananaFarm, Druid, MonkeySub 228 119 109 52.19% 6.02% 45.71%
BananaFarm, DartlingGunner, NinjaMonkey 89 49 40 55.06% 2.35% 44.72%
BananaFarm, BombShooter, WizardMonkey 46 27 19 58.70% 1.21% 44.47%
BananaFarm, BoomerangMonkey, MonkeySub 41 23 18 56.10% 1.08% 40.91%
BananaFarm, BoomerangMonkey, WizardMonkey 52 28 24 53.85% 1.37% 40.30%
BananaFarm, DartlingGunner, IceMonkey 48 26 22 54.17% 1.27% 40.07%
BananaFarm, NinjaMonkey, WizardMonkey 40 22 18 55.00% 1.06% 39.58%
GlueGunner, SniperMonkey, TackShooter 25 14 11 56.00% 0.66% 36.54%
NinjaMonkey, SniperMonkey, WizardMonkey 23 13 10 56.52% 0.61% 36.26%
BananaFarm, BoomerangMonkey, EngineerMonkey 30 16 14 53.33% 0.79% 35.48%
BananaFarm, MonkeySub, TackShooter 77 35 42 45.45% 2.03% 34.33%
GlueGunner, MonkeyVillage, TackShooter 66 30 36 45.45% 1.74% 33.44%
BananaFarm, MortarMonkey, TackShooter 39 19 20 48.72% 1.03% 33.03%
Druid, MonkeySub, SpikeFactory 27 14 13 51.85% 0.71% 33.00%
BananaFarm, BoomerangMonkey, NinjaMonkey 74 32 42 43.24% 1.95% 31.96%
BananaFarm, SniperMonkey, TackShooter 54 24 30 44.44% 1.42% 31.19%
BananaFarm, SniperMonkey, WizardMonkey 44 20 24 45.45% 1.16% 30.74%
GlueGunner, HeliPilot, MonkeyVillage 22 11 11 50.00% 0.58% 29.11%
BananaFarm, DartlingGunner, SuperMonkey 44 19 25 43.18% 1.16% 28.55%
BoomerangMonkey, NinjaMonkey, SniperMonkey 27 12 15 44.44% 0.71% 25.70%
HeliPilot, IceMonkey, MonkeyVillage 25 11 14 44.00% 0.66% 24.54%
BananaFarm, BoomerangMonkey, SniperMonkey 24 10 14 41.67% 0.63% 21.94%
BananaFarm, BombShooter, MonkeySub 34 12 22 35.29% 0.90% 19.23%
BananaFarm, IceMonkey, MonkeySub 42 14 28 33.33% 1.11% 19.08%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW castle_ruins_loadouts AS 
WITH castle_ruins AS
    (SELECT *
    FROM matches
    WHERE map = 'castle_ruins')
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 castle_ruins) * 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 castle_ruins
                  UNION ALL
                  SELECT printf('%s, %s, %s', rt1, rt2, rt3) AS Loadout,
                         NOT playerLeftWin                   AS Win
                  FROM castle_ruins)
            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 607.869ms