home / season_28_matches

castle_ruins_loadouts (view)

27 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 490 348 142 71.02% 10.47% 67.00%
BananaFarm, BoomerangMonkey, MortarMonkey 55 41 14 74.55% 1.18% 63.03%
BananaFarm, DartlingGunner, IceMonkey 58 38 20 65.52% 1.24% 53.28%
BananaFarm, TackShooter, WizardMonkey 363 209 154 57.58% 7.76% 52.49%
BananaFarm, BombShooter, WizardMonkey 58 37 21 63.79% 1.24% 51.42%
BananaFarm, MortarMonkey, TackShooter 76 43 33 56.58% 1.62% 45.44%
BananaFarm, Druid, MonkeySub 482 236 246 48.96% 10.30% 44.50%
BananaFarm, DartMonkey, GlueGunner 42 24 18 57.14% 0.90% 42.18%
DartlingGunner, MonkeyVillage, SuperMonkey 94 49 45 52.13% 2.01% 42.03%
GlueGunner, HeliPilot, MonkeyVillage 108 55 53 50.93% 2.31% 41.50%
BananaFarm, MonkeySub, TackShooter 93 48 45 51.61% 1.99% 41.46%
BananaFarm, SniperMonkey, TackShooter 59 31 28 52.54% 1.26% 39.80%
BananaFarm, BombShooter, MonkeySub 51 27 24 52.94% 1.09% 39.24%
BananaFarm, BoomerangMonkey, MonkeyAce 28 16 12 57.14% 0.60% 38.81%
BananaFarm, BoomerangMonkey, NinjaMonkey 93 45 48 48.39% 1.99% 38.23%
DartMonkey, GlueGunner, MonkeyVillage 46 23 23 50.00% 0.98% 35.55%
HeliPilot, MonkeyVillage, SuperMonkey 28 14 14 50.00% 0.60% 31.48%
BananaFarm, SniperMonkey, WizardMonkey 46 21 25 45.65% 0.98% 31.26%
NinjaMonkey, SniperMonkey, WizardMonkey 21 11 10 52.38% 0.45% 31.02%
BananaFarm, DartlingGunner, NinjaMonkey 32 15 17 46.88% 0.68% 29.58%
SniperMonkey, SuperMonkey, TackShooter 22 11 11 50.00% 0.47% 29.11%
BananaFarm, BoomerangMonkey, SpikeFactory 20 10 10 50.00% 0.43% 28.09%
BananaFarm, BoomerangMonkey, MonkeySub 39 16 23 41.03% 0.83% 25.59%
Druid, MonkeySub, SpikeFactory 22 10 12 45.45% 0.47% 24.65%
BananaFarm, BoomerangMonkey, EngineerMonkey 43 16 27 37.21% 0.92% 22.76%
GlueGunner, MonkeyVillage, TackShooter 105 29 76 27.62% 2.24% 19.07%
BananaFarm, DartlingGunner, SuperMonkey 65 19 46 29.23% 1.39% 18.17%

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