home / season_28_matches

up_on_the_roof_hero_loadouts (view)

17 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
Adora HeliPilot, IceMonkey, SuperMonkey 45 35 10 77.78% 1.16% 65.63%
Gwendolin_Science GlueGunner, MonkeyVillage, TackShooter 183 114 69 62.30% 4.71% 55.27%
Adora IceMonkey, MonkeyVillage, SuperMonkey 94 59 35 62.77% 2.42% 52.99%
Gwendolin_Science GlueGunner, HeliPilot, MonkeyVillage 95 58 37 61.05% 2.44% 51.25%
Bonnie DartlingGunner, MonkeyVillage, SuperMonkey 35 23 12 65.71% 0.90% 49.99%
Bonnie Alchemist, DartlingGunner, SpikeFactory 33 21 12 63.64% 0.85% 47.22%
Adora DartlingGunner, MonkeyVillage, SuperMonkey 74 43 31 58.11% 1.90% 46.87%
Benjamin DartlingGunner, MonkeyVillage, SuperMonkey 90 50 40 55.56% 2.32% 45.29%
Gwendolin_Science DartMonkey, GlueGunner, MonkeyVillage 64 33 31 51.56% 1.65% 39.32%
Adora MonkeyVillage, SniperMonkey, SuperMonkey 60 29 31 48.33% 1.54% 35.69%
Adora HeliPilot, MonkeyVillage, SuperMonkey 68 30 38 44.12% 1.75% 32.32%
Gwendolin GlueGunner, MonkeyVillage, TackShooter 20 10 10 50.00% 0.51% 28.09%
StrikerJones_Biker BombShooter, MonkeyVillage, SpikeFactory 23 11 12 47.83% 0.59% 27.41%
Obyn BananaFarm, Druid, MonkeySub 26 12 14 46.15% 0.67% 26.99%
Quincy BananaFarm, TackShooter, WizardMonkey 30 13 17 43.33% 0.77% 25.60%
Obyn_Ocean Alchemist, GlueGunner, NinjaMonkey 36 15 21 41.67% 0.93% 25.56%
Jericho BananaFarm, TackShooter, WizardMonkey 26 10 16 38.46% 0.67% 19.76%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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