home / season_32_matches

oasis_loadouts (view)

16 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Wins, Losses, Winrate

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BananaFarm, DartlingGunner, IceMonkey 80 58 22 72.50% 4.31% 62.72%
BananaFarm, EngineerMonkey, MonkeyAce 63 43 20 68.25% 3.40% 56.76%
BananaFarm, TackShooter, WizardMonkey 111 69 42 62.16% 5.99% 53.14%
BananaFarm, BombShooter, MonkeySub 124 74 50 59.68% 6.69% 51.04%
BananaFarm, BombShooter, WizardMonkey 28 18 10 64.29% 1.51% 46.54%
BananaFarm, Druid, MonkeySub 105 58 47 55.24% 5.66% 45.73%
BananaFarm, BombShooter, SpikeFactory 126 67 59 53.17% 6.80% 44.46%
Alchemist, HeliPilot, NinjaMonkey 30 17 13 56.67% 1.62% 38.93%
BananaFarm, IceMonkey, MonkeySub 68 34 34 50.00% 3.67% 38.12%
BananaFarm, EngineerMonkey, SuperMonkey 38 19 19 50.00% 2.05% 34.10%
BananaFarm, IceMonkey, NinjaMonkey 22 12 10 54.55% 1.19% 33.74%
BananaFarm, DartlingGunner, NinjaMonkey 46 22 24 47.83% 2.48% 33.39%
BananaFarm, BoomerangMonkey, WizardMonkey 24 11 13 45.83% 1.29% 25.90%
Alchemist, BananaFarm, NinjaMonkey 23 10 13 43.48% 1.24% 23.22%
GlueGunner, MonkeyVillage, TackShooter 33 12 21 36.36% 1.78% 19.95%
DartlingGunner, MonkeyVillage, SuperMonkey 48 11 37 22.92% 2.59% 11.03%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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