home / season_30_matches

mayan_map_01_loadouts (view)

14 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Games, Wins, Losses, Pickrate

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BananaFarm, TackShooter, WizardMonkey 279 175 104 62.72% 10.71% 57.05%
GlueGunner, MonkeyVillage, TackShooter 232 135 97 58.19% 8.91% 51.84%
BananaFarm, SniperMonkey, TackShooter 43 28 15 65.12% 1.65% 50.87%
BananaFarm, BombShooter, WizardMonkey 29 19 10 65.52% 1.11% 48.22%
BananaFarm, MortarMonkey, TackShooter 31 19 12 61.29% 1.19% 44.14%
DartlingGunner, MonkeyVillage, SuperMonkey 36 19 17 52.78% 1.38% 36.47%
IceMonkey, MonkeyVillage, TackShooter 41 21 20 51.22% 1.57% 35.92%
SniperMonkey, TackShooter, WizardMonkey 30 16 14 53.33% 1.15% 35.48%
BananaFarm, SniperMonkey, WizardMonkey 32 16 16 50.00% 1.23% 32.68%
HeliPilot, IceMonkey, MonkeyVillage 28 13 15 46.43% 1.08% 27.96%
BananaFarm, DartlingGunner, IceMonkey 29 13 16 44.83% 1.11% 26.73%
Alchemist, BananaFarm, NinjaMonkey 21 10 11 47.62% 0.81% 26.26%
BananaFarm, DartlingGunner, WizardMonkey 24 11 13 45.83% 0.92% 25.90%
BananaFarm, IceMonkey, MonkeySub 53 20 33 37.74% 2.04% 24.69%

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