home / season_31_matches

castle_ruins_loadouts (view)

26 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, BoomerangMonkey, MortarMonkey 57 47 10 82.46% 1.32% 72.58%
BananaFarm, EngineerMonkey, WizardMonkey 79 54 25 68.35% 1.83% 58.10%
DartlingGunner, MonkeyVillage, SuperMonkey 124 82 42 66.13% 2.87% 57.80%
BananaFarm, EngineerMonkey, MonkeyAce 347 213 134 61.38% 8.02% 56.26%
BananaFarm, BoomerangMonkey, SniperMonkey 49 33 16 67.35% 1.13% 54.22%
BananaFarm, DartlingGunner, IceMonkey 95 60 35 63.16% 2.20% 53.46%
BananaFarm, DartlingGunner, NinjaMonkey 90 57 33 63.33% 2.08% 53.38%
BananaFarm, TackShooter, WizardMonkey 680 386 294 56.76% 15.72% 53.04%
BananaFarm, BoomerangMonkey, NinjaMonkey 70 43 27 61.43% 1.62% 50.03%
BananaFarm, BoomerangMonkey, WizardMonkey 45 27 18 60.00% 1.04% 45.69%
BananaFarm, MonkeySub, TackShooter 36 22 14 61.11% 0.83% 45.19%
BananaFarm, SniperMonkey, TackShooter 63 36 27 57.14% 1.46% 44.92%
BananaFarm, Druid, MonkeySub 149 78 71 52.35% 3.44% 44.33%
DartlingGunner, Druid, SpikeFactory 39 23 16 58.97% 0.90% 43.54%
DartMonkey, SniperMonkey, SpikeFactory 26 16 10 61.54% 0.60% 42.84%
BananaFarm, BoomerangMonkey, MonkeySub 25 15 10 60.00% 0.58% 40.80%
BananaFarm, BombShooter, WizardMonkey 27 16 11 59.26% 0.62% 40.73%
Druid, MonkeySub, SpikeFactory 24 14 10 58.33% 0.55% 38.61%
BananaFarm, SniperMonkey, WizardMonkey 43 22 21 51.16% 0.99% 36.22%
BananaFarm, NinjaMonkey, WizardMonkey 31 16 15 51.61% 0.72% 34.02%
BananaFarm, MortarMonkey, TackShooter 40 19 21 47.50% 0.92% 32.02%
HeliPilot, IceMonkey, MonkeyVillage 56 25 31 44.64% 1.29% 31.62%
SniperMonkey, SpikeFactory, TackShooter 22 11 11 50.00% 0.51% 29.11%
BananaFarm, DartlingGunner, SuperMonkey 62 24 38 38.71% 1.43% 26.59%
BananaFarm, DartlingGunner, WizardMonkey 25 11 14 44.00% 0.58% 24.54%
GlueGunner, MonkeyVillage, TackShooter 72 22 50 30.56% 1.66% 19.92%

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