home / season_27_matches

mayan_map_01_loadouts (view)

12 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 258 167 91 64.73% 10.14% 58.90%
BananaFarm, TackShooter, WizardMonkey 117 65 52 55.56% 4.60% 46.55%
GlueGunner, HeliPilot, MonkeyVillage 63 36 27 57.14% 2.48% 44.92%
BananaFarm, SniperMonkey, WizardMonkey 33 19 14 57.58% 1.30% 40.71%
SniperMonkey, TackShooter, WizardMonkey 27 15 12 55.56% 1.06% 36.81%
DartMonkey, GlueGunner, MonkeyVillage 38 20 18 52.63% 1.49% 36.76%
BananaFarm, DartMonkey, GlueGunner 23 12 11 52.17% 0.90% 31.76%
IceMonkey, MonkeyVillage, TackShooter 50 22 28 44.00% 1.97% 30.24%
Alchemist, BananaFarm, NinjaMonkey 22 11 11 50.00% 0.86% 29.11%
BananaFarm, EngineerMonkey, MonkeyAce 22 11 11 50.00% 0.86% 29.11%
BananaFarm, DartlingGunner, SuperMonkey 56 21 35 37.50% 2.20% 24.82%
DartlingGunner, MonkeyVillage, SuperMonkey 40 16 24 40.00% 1.57% 24.82%

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