home / season_31_matches

pirate_cove_loadouts (view)

12 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Wins, Losses

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
MortarMonkey, SniperMonkey, TackShooter 55 44 11 80.00% 1.63% 69.43%
BananaFarm, TackShooter, WizardMonkey 1687 955 732 56.61% 49.94% 54.24%
BananaFarm, BombShooter, TackShooter 33 22 11 66.67% 0.98% 50.58%
BananaFarm, BombShooter, WizardMonkey 58 35 23 60.34% 1.72% 47.76%
Alchemist, DartlingGunner, SuperMonkey 31 20 11 64.52% 0.92% 47.67%
BananaFarm, MortarMonkey, TackShooter 276 142 134 51.45% 8.17% 45.55%
HeliPilot, IceMonkey, MonkeyVillage 28 15 13 53.57% 0.83% 35.10%
BananaFarm, BoomerangMonkey, NinjaMonkey 22 11 11 50.00% 0.65% 29.11%
BananaFarm, BombShooter, MonkeySub 26 12 14 46.15% 0.77% 26.99%
BananaFarm, SniperMonkey, WizardMonkey 21 10 11 47.62% 0.62% 26.26%
BananaFarm, GlueGunner, TackShooter 37 15 22 40.54% 1.10% 24.72%
SniperMonkey, TackShooter, WizardMonkey 25 10 15 40.00% 0.74% 20.80%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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