home / season_29_matches

bloon_bot_factory_loadouts (view)

12 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Wins

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
BombShooter, MortarMonkey, SuperMonkey 53 41 12 77.36% 2.62% 66.09%
MonkeyBuccaneer, MortarMonkey, TackShooter 89 63 26 70.79% 4.39% 61.34%
GlueGunner, HeliPilot, MortarMonkey 239 145 94 60.67% 11.80% 54.48%
BananaFarm, HeliPilot, MortarMonkey 47 29 18 61.70% 2.32% 47.80%
Alchemist, HeliPilot, MortarMonkey 194 104 90 53.61% 9.58% 46.59%
HeliPilot, MonkeyAce, MortarMonkey 126 63 63 50.00% 6.22% 41.27%
MonkeyAce, MonkeyBuccaneer, MortarMonkey 80 41 39 51.25% 3.95% 40.30%
HeliPilot, MonkeyBuccaneer, MortarMonkey 138 64 74 46.38% 6.81% 38.06%
EngineerMonkey, HeliPilot, MortarMonkey 22 12 10 54.55% 1.09% 33.74%
BananaFarm, MonkeyAce, MortarMonkey 39 18 21 46.15% 1.92% 30.51%
HeliPilot, MortarMonkey, TackShooter 29 13 16 44.83% 1.43% 26.73%
HeliPilot, MonkeySub, MortarMonkey 38 13 25 34.21% 1.88% 19.13%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW bloon_bot_factory_loadouts AS 
WITH bloon_bot_factory AS
    (SELECT *
    FROM matches
    WHERE map = 'bloon_bot_factory')
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 bloon_bot_factory) * 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 bloon_bot_factory
                  UNION ALL
                  SELECT printf('%s, %s, %s', rt1, rt2, rt3) AS Loadout,
                         NOT playerLeftWin                   AS Win
                  FROM bloon_bot_factory)
            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 682.264ms