home / season_32_matches

sands_of_time_loadouts (view)

10 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Wins

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BananaFarm, DartlingGunner, IceMonkey 76 53 23 69.74% 5.11% 59.41%
BananaFarm, EngineerMonkey, MonkeyAce 72 50 22 69.44% 4.85% 58.80%
BananaFarm, TackShooter, WizardMonkey 92 54 38 58.70% 6.19% 48.63%
BananaFarm, Druid, MonkeySub 109 56 53 51.38% 7.34% 41.99%
BananaFarm, DartlingGunner, NinjaMonkey 58 27 31 46.55% 3.90% 33.71%
EngineerMonkey, MonkeyVillage, SpikeFactory 23 12 11 52.17% 1.55% 31.76%
DartlingGunner, MonkeyVillage, SuperMonkey 77 29 48 37.66% 5.18% 26.84%
BananaFarm, BoomerangMonkey, NinjaMonkey 22 10 12 45.45% 1.48% 24.65%
BananaFarm, IceMonkey, MonkeySub 48 18 30 37.50% 3.23% 23.80%
BananaFarm, DartlingGunner, SuperMonkey 25 10 15 40.00% 1.68% 20.80%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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