home / season_29_matches

salmon_pool_hero_loadouts (view)

16 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Hero, Loadout, Games, Wins, Losses, Pickrate

Hero Loadout Games Wins Losses Winrate Pickrate Winrate_LowerBound_95CI
Quincy BananaFarm, BombShooter, MonkeySub 54 37 17 68.52% 1.46% 56.13%
Bonnie Alchemist, MonkeyBuccaneer, SpikeFactory 312 181 131 58.01% 8.46% 52.54%
Churchill_Sentai BananaFarm, BombShooter, MonkeySub 261 149 112 57.09% 7.08% 51.08%
Churchill_Sentai BananaFarm, IceMonkey, MonkeySub 454 252 202 55.51% 12.31% 50.94%
Churchill_Sentai BananaFarm, MonkeyAce, MonkeySub 63 39 24 61.90% 1.71% 49.91%
Quincy Alchemist, MonkeyBuccaneer, SpikeFactory 37 22 15 59.46% 1.00% 43.64%
Churchill_Sentai BananaFarm, MonkeySub, SpikeFactory 47 26 21 55.32% 1.27% 41.11%
Obyn BananaFarm, Druid, MonkeySub 68 35 33 51.47% 1.84% 39.59%
Jericho DartMonkey, GlueGunner, MonkeySub 25 14 11 56.00% 0.68% 36.54%
Quincy_Cyber Alchemist, MonkeyBuccaneer, SpikeFactory 41 21 20 51.22% 1.11% 35.92%
Churchill BananaFarm, BombShooter, MonkeySub 74 34 40 45.95% 2.01% 34.59%
Jericho BananaFarm, IceMonkey, MonkeySub 24 13 11 54.17% 0.65% 34.23%
Churchill BananaFarm, DartMonkey, SpikeFactory 24 12 12 50.00% 0.65% 30.00%
Churchill BananaFarm, MonkeySub, SpikeFactory 23 11 12 47.83% 0.62% 27.41%
Quincy BananaFarm, TackShooter, WizardMonkey 24 11 13 45.83% 0.65% 25.90%
Churchill BananaFarm, IceMonkey, MonkeySub 64 18 46 28.13% 1.74% 17.11%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW salmon_pool_hero_loadouts AS 
WITH salmon_pool AS
    (SELECT *
    FROM matches
    WHERE map = 'salmon_pool')
SELECT Hero,
       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 Hero,
             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 Hero,
                   Loadout,
                   SUM(Wins) + SUM(NOT Wins) AS Games,
                   SUM(Wins)                 AS Wins,
                   SUM(NOT Wins)             AS Losses
            FROM (SELECT lHero                               AS Hero,
                         printf('%s, %s, %s', lt1, lt2, lt3) AS Loadout,
                         playerLeftWin                       AS Wins
                  FROM salmon_pool
                  UNION ALL
                  SELECT rHero                               AS Hero,
                         printf('%s, %s, %s', rt1, rt2, rt3) AS Loadout,
                         NOT playerLeftWin                   AS Wins
                  FROM salmon_pool)
            GROUP BY Hero,
                     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 1975.763ms