home / season_28_matches

salmon_pool_loadouts (view)

16 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
BananaFarm, EngineerMonkey, MonkeyAce 78 54 24 69.23% 2.05% 58.99%
BananaFarm, MonkeyAce, MonkeySub 96 64 32 66.67% 2.53% 57.24%
BananaFarm, DartMonkey, SpikeFactory 46 31 15 67.39% 1.21% 53.84%
Alchemist, MonkeyBuccaneer, SpikeFactory 826 450 376 54.48% 21.76% 51.08%
BananaFarm, BombShooter, MonkeySub 598 325 273 54.35% 15.75% 50.36%
BananaFarm, Druid, MonkeySub 91 47 44 51.65% 2.40% 41.38%
DartlingGunner, MonkeyVillage, SuperMonkey 35 20 15 57.14% 0.92% 40.75%
BananaFarm, SniperMonkey, TackShooter 33 18 15 54.55% 0.87% 37.56%
BananaFarm, SniperMonkey, WizardMonkey 29 15 14 51.72% 0.76% 33.54%
EngineerMonkey, TackShooter, WizardMonkey 23 12 11 52.17% 0.61% 31.76%
BananaFarm, TackShooter, WizardMonkey 54 24 30 44.44% 1.42% 31.19%
Alchemist, BananaFarm, MonkeyBuccaneer 26 13 13 50.00% 0.68% 30.78%
Alchemist, IceMonkey, NinjaMonkey 20 10 10 50.00% 0.53% 28.09%
MonkeyBuccaneer, SniperMonkey, SpikeFactory 20 10 10 50.00% 0.53% 28.09%
BananaFarm, MonkeySub, SpikeFactory 35 15 20 42.86% 0.92% 26.46%
Alchemist, DartlingGunner, SpikeFactory 33 12 21 36.36% 0.87% 19.95%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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