home / season_31_matches

banana_depot_scene_loadouts (view)

9 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Losses

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BananaFarm, BombShooter, SpikeFactory 409 239 170 58.44% 16.20% 53.66%
BananaFarm, TackShooter, WizardMonkey 692 390 302 56.36% 27.42% 52.66%
BananaFarm, BombShooter, WizardMonkey 83 52 31 62.65% 3.29% 52.24%
BananaFarm, BombShooter, MonkeySub 51 33 18 64.71% 2.02% 51.59%
BananaFarm, BombShooter, MortarMonkey 29 18 11 62.07% 1.15% 44.41%
BananaFarm, MortarMonkey, TackShooter 148 77 71 52.03% 5.86% 43.98%
SpikeFactory, TackShooter, WizardMonkey 56 24 32 42.86% 2.22% 29.90%
HeliPilot, SpikeFactory, WizardMonkey 22 11 11 50.00% 0.87% 29.11%
BananaFarm, MonkeyAce, MortarMonkey 26 12 14 46.15% 1.03% 26.99%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW banana_depot_scene_loadouts AS 
WITH banana_depot_scene AS
    (SELECT *
    FROM matches
    WHERE map = 'banana_depot_scene')
SELECT 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 Loadout,
             Games,
             Wins,
             Losses,
             CAST(Wins AS REAL) / Games AS WR,
             CAST(Games AS REAL) / (
                 (SELECT COUNT(*)
                  FROM banana_depot_scene) * 2)    AS PR
      FROM (SELECT Loadout,
                   SUM(Win) + SUM(NOT Win) AS Games,
                   SUM(Win)                AS Wins,
                   SUM(NOT Win)            AS Losses
            FROM (SELECT printf('%s, %s, %s', lt1, lt2, lt3) AS Loadout,
                         playerLeftWin                       AS Win
                  FROM banana_depot_scene
                  UNION ALL
                  SELECT printf('%s, %s, %s', rt1, rt2, rt3) AS Loadout,
                         NOT playerLeftWin                   AS Win
                  FROM banana_depot_scene)
            GROUP BY 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 501.209ms