sands_of_time_hero_loadouts (view)
6 rows
This data as json, CSV (advanced)
Suggested facets: Hero, Games, Pickrate
Hero | Loadout | Games | Wins | Losses | Winrate | Pickrate | Winrate_LowerBound_95CI |
---|---|---|---|---|---|---|---|
PatFusty_Snowman | BananaFarm, DartlingGunner, IceMonkey | 70 | 51 | 19 | 72.86% | 4.71% | 62.44% |
Jericho | BananaFarm, EngineerMonkey, MonkeyAce | 57 | 39 | 18 | 68.42% | 3.84% | 56.35% |
Quincy_Cyber | BananaFarm, TackShooter, WizardMonkey | 56 | 33 | 23 | 58.93% | 3.77% | 46.04% |
Obyn | BananaFarm, Druid, MonkeySub | 105 | 53 | 52 | 50.48% | 7.07% | 40.91% |
Benjamin | BananaFarm, DartlingGunner, NinjaMonkey | 44 | 20 | 24 | 45.45% | 2.96% | 30.74% |
Benjamin | DartlingGunner, MonkeyVillage, SuperMonkey | 70 | 27 | 43 | 38.57% | 4.71% | 27.17% |
Advanced export
JSON shape: default, array, newline-delimited
CREATE VIEW sands_of_time_hero_loadouts AS WITH sands_of_time AS (SELECT * FROM matches WHERE map = 'sands_of_time') 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 sands_of_time) * 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 sands_of_time UNION ALL SELECT rHero AS Hero, printf('%s, %s, %s', rt1, rt2, rt3) AS Loadout, NOT playerLeftWin AS Wins FROM sands_of_time) 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;