home / season_30_matches

neo_highway_hero_loadouts (view)

8 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Hero, Loadout, Games, Wins, Pickrate

Hero Loadout Games Wins Losses Winrate Pickrate Winrate_LowerBound_95CI
Benjamin BananaFarm, DartlingGunner, NinjaMonkey 69 52 17 75.36% 3.13% 65.19%
Churchill BananaFarm, DartMonkey, SpikeFactory 133 86 47 64.66% 6.03% 56.54%
Churchill_Sentai BananaFarm, DartMonkey, SpikeFactory 289 168 121 58.13% 13.11% 52.44%
Churchill BananaFarm, DartMonkey, MortarMonkey 27 17 10 62.96% 1.23% 44.75%
Quincy_Cyber BananaFarm, DartMonkey, SpikeFactory 28 17 11 60.71% 1.27% 42.62%
Churchill_Sentai BananaFarm, GlueGunner, SpikeFactory 112 58 54 51.79% 5.08% 42.53%
Bonnie Alchemist, DartlingGunner, SpikeFactory 78 40 38 51.28% 3.54% 40.19%
Churchill_Sentai BananaFarm, IceMonkey, MonkeySub 27 13 14 48.15% 1.23% 29.30%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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