home / season_30_matches

building_site_scene_hero_loadouts (view)

11 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Hero, Loadout, Wins, Losses, Winrate

Hero Loadout Games Wins Losses Winrate Pickrate Winrate_LowerBound_95CI
Quincy_Cyber BananaFarm, MortarMonkey, TackShooter 102 66 36 64.71% 5.13% 55.43%
Quincy_Cyber BananaFarm, TackShooter, WizardMonkey 254 155 99 61.02% 12.78% 55.03%
Quincy BananaFarm, DartMonkey, MortarMonkey 71 45 26 63.38% 3.57% 52.17%
Quincy_Cyber BananaFarm, DartMonkey, MortarMonkey 80 50 30 62.50% 4.02% 51.89%
Adora BananaFarm, DartMonkey, MortarMonkey 110 66 44 60.00% 5.53% 50.84%
Quincy BananaFarm, TackShooter, WizardMonkey 50 30 20 60.00% 2.52% 46.42%
Etienne_Bee BananaFarm, TackShooter, WizardMonkey 39 22 17 56.41% 1.96% 40.85%
Quincy_Cyber BananaFarm, DartMonkey, WizardMonkey 36 20 16 55.56% 1.81% 39.32%
Quincy BananaFarm, MortarMonkey, TackShooter 31 16 15 51.61% 1.56% 34.02%
Adora BananaFarm, TackShooter, WizardMonkey 48 22 26 45.83% 2.41% 31.74%
Adora BananaFarm, MortarMonkey, TackShooter 33 15 18 45.45% 1.66% 28.47%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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