home / season_29_matches

mayan_map_01_loadouts (view)

16 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, MortarMonkey, TackShooter 50 37 13 74.00% 1.96% 61.84%
BananaFarm, TackShooter, WizardMonkey 223 128 95 57.40% 8.75% 50.91%
IceMonkey, MonkeyVillage, TackShooter 46 29 17 63.04% 1.81% 49.09%
GlueGunner, MonkeyVillage, TackShooter 198 109 89 55.05% 7.77% 48.12%
BananaFarm, BoomerangMonkey, NinjaMonkey 37 22 15 59.46% 1.45% 43.64%
BananaFarm, MonkeySub, TackShooter 41 24 17 58.54% 1.61% 43.46%
BananaFarm, SniperMonkey, TackShooter 32 19 13 59.38% 1.26% 42.36%
BananaFarm, SniperMonkey, WizardMonkey 28 16 12 57.14% 1.10% 38.81%
DartlingGunner, MonkeyVillage, SuperMonkey 26 15 11 57.69% 1.02% 38.70%
BananaFarm, IceMonkey, MonkeySub 44 23 21 52.27% 1.73% 37.51%
BananaFarm, DartlingGunner, IceMonkey 41 20 21 48.78% 1.61% 33.48%
BananaFarm, DartlingGunner, SuperMonkey 39 19 20 48.72% 1.53% 33.03%
BananaFarm, NinjaMonkey, WizardMonkey 26 13 13 50.00% 1.02% 30.78%
Alchemist, IceMonkey, NinjaMonkey 24 11 13 45.83% 0.94% 25.90%
SniperMonkey, TackShooter, WizardMonkey 27 11 16 40.74% 1.06% 22.21%
BombShooter, MonkeyVillage, SpikeFactory 24 10 14 41.67% 0.94% 21.94%

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