home / season_25_matches

garden_hero_loadouts (view)

19 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 BananaFarm, DartMonkey, MortarMonkey 94 76 18 80.85% 2.45% 72.90%
Etienne_Bee DartMonkey, GlueGunner, MonkeyVillage 49 33 16 67.35% 1.28% 54.22%
Obyn BananaFarm, Druid, MonkeySub 121 75 46 61.98% 3.15% 53.33%
Ezili BananaFarm, BombShooter, WizardMonkey 49 30 19 61.22% 1.28% 47.58%
Obyn DartlingGunner, Druid, SpikeFactory 30 19 11 63.33% 0.78% 46.09%
Gwendolin_Science DartMonkey, GlueGunner, MonkeyVillage 131 71 60 54.20% 3.41% 45.67%
Churchill_Sentai DartMonkey, NinjaMonkey, SniperMonkey 36 22 14 61.11% 0.94% 45.19%
Churchill DartMonkey, NinjaMonkey, SniperMonkey 126 67 59 53.17% 3.28% 44.46%
Churchill BananaFarm, DartMonkey, SpikeFactory 52 30 22 57.69% 1.35% 44.26%
Etienne BananaFarm, DartMonkey, SpikeFactory 28 17 11 60.71% 0.73% 42.62%
Etienne DartMonkey, GlueGunner, MonkeyVillage 61 33 28 54.10% 1.59% 41.59%
Gwendolin_Science GlueGunner, HeliPilot, MonkeyVillage 29 16 13 55.17% 0.76% 37.07%
Etienne BananaFarm, DartMonkey, SuperMonkey 27 15 12 55.56% 0.70% 36.81%
Etienne BananaFarm, DartMonkey, GlueGunner 146 60 86 41.10% 3.80% 33.11%
Etienne EngineerMonkey, TackShooter, WizardMonkey 22 11 11 50.00% 0.57% 29.11%
Churchill_Sentai BananaFarm, DartMonkey, MortarMonkey 32 14 18 43.75% 0.83% 26.56%
Etienne_Bee BananaFarm, DartMonkey, SpikeFactory 23 10 13 43.48% 0.60% 23.22%
Gwendolin_Science GlueGunner, MonkeyVillage, NinjaMonkey 45 14 31 31.11% 1.17% 17.58%
Ezili_SmudgeCat DartMonkey, GlueGunner, MonkeyVillage 31 10 21 32.26% 0.81% 15.80%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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