home / season_31_matches

building_site_scene_hero_loadouts (view)

10 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Hero, Loadout, Wins

Hero Loadout Games Wins Losses Winrate Pickrate Winrate_LowerBound_95CI
Quincy_Cyber BananaFarm, TackShooter, WizardMonkey 412 269 143 65.29% 22.13% 60.69%
Adora BananaFarm, DartMonkey, MortarMonkey 54 34 20 62.96% 2.90% 50.08%
Quincy BananaFarm, DartMonkey, MortarMonkey 47 28 19 59.57% 2.52% 45.54%
StrikerJones MortarMonkey, SniperMonkey, TackShooter 24 14 10 58.33% 1.29% 38.61%
Quincy_Cyber BananaFarm, MortarMonkey, TackShooter 68 34 34 50.00% 3.65% 38.12%
Quincy_Cyber BananaFarm, DartMonkey, MortarMonkey 71 34 37 47.89% 3.81% 36.27%
Quincy_Cyber BananaFarm, DartMonkey, WizardMonkey 30 16 14 53.33% 1.61% 35.48%
Adora BananaFarm, TackShooter, WizardMonkey 28 15 13 53.57% 1.50% 35.10%
Quincy BananaFarm, TackShooter, WizardMonkey 53 22 31 41.51% 2.85% 28.24%
Adora BananaFarm, MortarMonkey, TackShooter 26 10 16 38.46% 1.40% 19.76%

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