home / season_32_matches

bloonstone_quarry_loadouts (view)

9 rows

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: Games, Losses, Pickrate

Loadout Games Wins Losses Winrate Pickrate WinRate_LowerBound_95CI
Alchemist, MonkeyBuccaneer, SpikeFactory 97 61 36 62.89% 6.03% 53.27%
BananaFarm, BoomerangMonkey, MonkeySub 30 20 10 66.67% 1.87% 49.80%
BananaFarm, TackShooter, WizardMonkey 67 41 26 61.19% 4.17% 49.53%
BananaFarm, IceMonkey, MonkeySub 164 92 72 56.10% 10.20% 48.50%
BananaFarm, BombShooter, MonkeySub 29 19 10 65.52% 1.80% 48.22%
IceMonkey, MonkeyVillage, TackShooter 25 15 10 60.00% 1.55% 40.80%
DartlingGunner, MonkeyVillage, SuperMonkey 142 69 73 48.59% 8.83% 40.37%
BananaFarm, DartlingGunner, NinjaMonkey 25 14 11 56.00% 1.55% 36.54%
HeliPilot, IceMonkey, MonkeyVillage 44 22 22 50.00% 2.74% 35.23%

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

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