home / season_27_matches

up_on_the_roof_hero_loadouts (view)

22 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
Gwendolin_Science GlueGunner, MonkeyVillage, TackShooter 191 123 68 64.40% 4.16% 57.61%
Adora HeliPilot, IceMonkey, SuperMonkey 53 37 16 69.81% 1.15% 57.45%
Adora MonkeyVillage, SniperMonkey, SuperMonkey 142 92 50 64.79% 3.09% 56.93%
Bonnie DartlingGunner, SpikeFactory, SuperMonkey 61 40 21 65.57% 1.33% 53.65%
Bonnie DartlingGunner, MonkeyVillage, SuperMonkey 37 25 12 67.57% 0.81% 52.48%
Adora IceMonkey, MonkeyVillage, SuperMonkey 106 65 41 61.32% 2.31% 52.05%
Adora DartlingGunner, MonkeyVillage, SuperMonkey 135 80 55 59.26% 2.94% 50.97%
Gwendolin_Science GlueGunner, HeliPilot, MonkeyVillage 87 53 34 60.92% 1.89% 50.67%
Gwendolin_Science DartMonkey, GlueGunner, MonkeyVillage 77 47 30 61.04% 1.68% 50.15%
Benjamin DartlingGunner, MonkeyVillage, SuperMonkey 106 60 46 56.60% 2.31% 47.17%
Obyn_Ocean Alchemist, BananaFarm, NinjaMonkey 26 15 11 57.69% 0.57% 38.70%
Bonnie Druid, SniperMonkey, SuperMonkey 27 15 12 55.56% 0.59% 36.81%
Etienne_Bee DartlingGunner, MonkeyVillage, SuperMonkey 25 14 11 56.00% 0.54% 36.54%
Adora HeliPilot, MonkeyVillage, SuperMonkey 117 53 64 45.30% 2.55% 36.28%
Benjamin HeliPilot, MonkeyVillage, SuperMonkey 23 13 10 56.52% 0.50% 36.26%
Gwendolin_Science GlueGunner, MonkeyVillage, SuperMonkey 23 13 10 56.52% 0.50% 36.26%
Obyn_Ocean Alchemist, GlueGunner, NinjaMonkey 27 14 13 51.85% 0.59% 33.00%
Quincy BananaFarm, SniperMonkey, WizardMonkey 26 13 13 50.00% 0.57% 30.78%
Obyn BananaFarm, Druid, MonkeySub 27 13 14 48.15% 0.59% 29.30%
Etienne BananaFarm, DartMonkey, GlueGunner 25 12 13 48.00% 0.54% 28.42%
Bonnie Alchemist, NinjaMonkey, SpikeFactory 32 14 18 43.75% 0.70% 26.56%
Quincy BananaFarm, TackShooter, WizardMonkey 31 10 21 32.26% 0.68% 15.80%

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 684.32ms