home / season_31_matches

splashdown_hero_loadouts (view)

12 rows

✎ View and edit SQL

This data as json, CSV (advanced)

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

Hero Loadout Games Wins Losses Winrate Pickrate Winrate_LowerBound_95CI
Quincy_Cyber BananaFarm, EngineerMonkey, WizardMonkey 97 74 23 76.29% 3.32% 67.82%
Obyn BananaFarm, Druid, MonkeySub 43 33 10 76.74% 1.47% 64.12%
StrikerJones_Biker HeliPilot, IceMonkey, MonkeyVillage 71 46 25 64.79% 2.43% 53.68%
Quincy_Cyber BananaFarm, TackShooter, WizardMonkey 81 49 32 60.49% 2.77% 49.85%
Bonnie Alchemist, MonkeyBuccaneer, SpikeFactory 160 92 68 57.50% 5.47% 49.84%
Quincy_Cyber Alchemist, MonkeyBuccaneer, SpikeFactory 111 63 48 56.76% 3.80% 47.54%
Adora Alchemist, DartlingGunner, SuperMonkey 27 16 11 59.26% 0.92% 40.73%
Quincy_Cyber BananaFarm, MonkeySub, TackShooter 27 16 11 59.26% 0.92% 40.73%
Churchill_Sentai BananaFarm, IceMonkey, MonkeySub 26 14 12 53.85% 0.89% 34.68%
Jericho BananaFarm, IceMonkey, MonkeySub 55 25 30 45.45% 1.88% 32.29%
Quincy_Cyber BananaFarm, IceMonkey, MonkeySub 56 23 33 41.07% 1.92% 28.19%
Etienne_Bee BananaFarm, IceMonkey, MonkeySub 39 15 24 38.46% 1.33% 23.19%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW splashdown_hero_loadouts AS 
WITH splashdown AS
    (SELECT *
    FROM matches
    WHERE map = 'splashdown')
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 splashdown) * 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 splashdown
                  UNION ALL
                  SELECT rHero                               AS Hero,
                         printf('%s, %s, %s', rt1, rt2, rt3) AS Loadout,
                         NOT playerLeftWin                   AS Wins
                  FROM splashdown)
            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 595.112ms