home / season_28_matches

mayan_map_01_loadouts (view)

15 rows

✎ View and edit SQL

This data as json, CSV (advanced)

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

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
GlueGunner, MonkeyVillage, TackShooter 346 203 143 58.67% 11.11% 53.48%
BananaFarm, GlueGunner, TackShooter 43 29 14 67.44% 1.38% 53.44%
BananaFarm, TackShooter, WizardMonkey 261 152 109 58.24% 8.38% 52.25%
BananaFarm, BombShooter, WizardMonkey 35 23 12 65.71% 1.12% 49.99%
GlueGunner, HeliPilot, MonkeyVillage 64 38 26 59.38% 2.06% 47.34%
BananaFarm, BoomerangMonkey, NinjaMonkey 59 34 25 57.63% 1.89% 45.02%
BananaFarm, SniperMonkey, WizardMonkey 26 16 10 61.54% 0.83% 42.84%
MonkeyVillage, SniperMonkey, TackShooter 26 16 10 61.54% 0.83% 42.84%
IceMonkey, MonkeyVillage, TackShooter 47 26 21 55.32% 1.51% 41.11%
BananaFarm, Druid, MonkeySub 61 29 32 47.54% 1.96% 35.01%
BananaFarm, MortarMonkey, TackShooter 33 17 16 51.52% 1.06% 34.46%
SniperMonkey, TackShooter, WizardMonkey 27 13 14 48.15% 0.87% 29.30%
Alchemist, BananaFarm, NinjaMonkey 31 14 17 45.16% 1.00% 27.64%
BananaFarm, DartlingGunner, SuperMonkey 43 15 28 34.88% 1.38% 20.64%
DartlingGunner, MonkeyVillage, SuperMonkey 30 11 19 36.67% 0.96% 19.42%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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