home / season_27_matches

castle_ruins_loadouts (view)

25 rows

✎ View and edit SQL

This data as json, CSV (advanced)

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

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BananaFarm, BoomerangMonkey, MortarMonkey 46 34 12 73.91% 1.16% 61.22%
BananaFarm, Druid, MonkeySub 267 165 102 61.80% 6.76% 55.97%
BananaFarm, EngineerMonkey, MonkeyAce 257 151 106 58.75% 6.50% 52.74%
BananaFarm, DartlingGunner, IceMonkey 55 35 20 63.64% 1.39% 50.92%
DartlingGunner, MonkeyVillage, SuperMonkey 117 68 49 58.12% 2.96% 49.18%
BananaFarm, DartMonkey, GlueGunner 90 53 37 58.89% 2.28% 48.72%
BananaFarm, TackShooter, WizardMonkey 193 107 86 55.44% 4.88% 48.43%
GlueGunner, HeliPilot, MonkeyVillage 128 71 57 55.47% 3.24% 46.86%
DartMonkey, GlueGunner, MonkeyVillage 64 35 29 54.69% 1.62% 42.49%
BananaFarm, MortarMonkey, TackShooter 45 25 20 55.56% 1.14% 41.04%
BananaFarm, SniperMonkey, WizardMonkey 43 24 19 55.81% 1.09% 40.97%
BananaFarm, BoomerangMonkey, NinjaMonkey 41 23 18 56.10% 1.04% 40.91%
BananaFarm, SniperMonkey, TackShooter 41 22 19 53.66% 1.04% 38.39%
BananaFarm, BombShooter, WizardMonkey 52 27 25 51.92% 1.32% 38.34%
BananaFarm, DartMonkey, MortarMonkey 36 19 17 52.78% 0.91% 36.47%
BananaFarm, DartlingGunner, NinjaMonkey 26 14 12 53.85% 0.66% 34.68%
BananaFarm, DartlingGunner, SuperMonkey 103 45 58 43.69% 2.61% 34.11%
Druid, MonkeySub, SpikeFactory 34 16 18 47.06% 0.86% 30.28%
GlueGunner, MonkeyVillage, TackShooter 86 34 52 39.53% 2.18% 29.20%
SniperMonkey, TackShooter, WizardMonkey 20 10 10 50.00% 0.51% 28.09%
BananaFarm, GlueGunner, MonkeySub 21 10 11 47.62% 0.53% 26.26%
EngineerMonkey, TackShooter, WizardMonkey 21 10 11 47.62% 0.53% 26.26%
MonkeyVillage, SniperMonkey, TackShooter 21 10 11 47.62% 0.53% 26.26%
BananaFarm, BoomerangMonkey, EngineerMonkey 31 12 19 38.71% 0.78% 21.56%
Alchemist, HeliPilot, NinjaMonkey 27 10 17 37.04% 0.68% 18.82%

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