• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:24
CET 05:24
KST 13:24
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (October 19-25): Clem triples first in 5.0.175Evil Geniuses - shutting down20ISSL (IntoTheTV x SOOP SC2 League): Premier6Weekly Cups (October 12-18): 5.0.17 era begins1[$1250] International ShieldBattery League96
StarCraft 2
General
Behind the Blue - Team Liquid History Book No more SC2 streamers on team liquid? SC2 Power Rank: epic29 Weekly Cups (October 19-25): Clem triples first in 5.0.17 How do you feel about the mass reverts in the 5.0.17 PTR?
Tourneys
Stellar Fest TWO the Moon (Dec 16-20) Sparkling Tuna Cup - Weekly Open Tournament RSL goes to London! 2026 Offline Finals Nov 21-22 ISSL (IntoTheTV x SOOP SC2 League): Premier RSL 2026 Offline Finals LCQ Sign-Ups
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[D] the control group Simple Questions/Answers [G] How to playtest arcade maps [A] Nemrods 1/4 players
External Content
Mutation # 549 Endless Sparkles The PondCast: SC2 News & Results Mutation # 548 Shining Bright Mutation # 547 Temple Of Terror
Brood War
General
Mathematicians needed to calc "Low Econ Epicness" BW General Discussion Rollback Netcode in Brood War SCHNAIL now supports Remastered Ziemie's Starcraft 1 Prequel Campaign
Tourneys
[$1250] International ShieldBattery League [BSL23] RO24 Group D - Sunday 21:00 CET [Megathread] Daily Proleagues [IPSL] IPSL Winter 26-27 Ro24 is HERE!
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Deus Ex 3!? Stormgate/Frost Giant Megathread Nintendo Switch Thread Mobile Legends: Bang Bang Armies of Exigo - YesYes?
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
Reynor Fan Club The Flash Fan Club Serral Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 7953 users

Mathematicians needed to calc "Low Econ Epicness"

Forum Index > BW General
Post a Reply
namkraft
Profile Blog Joined December 2021
622 Posts
Last Edited: 2026-11-01 03:11:19
1 hour ago
#1
[Stats/Math] Designing an "Economic Starvation / Harassment" Score (Low Econ Epicness)

Hey TL,

I’ve been working on a custom metric for StarCraft replays/match data called "Low Econ Epicness". The goal is to mathematically rate games where one or both players suffered heavy economic harassment, starvation, or extreme disruption, giving higher scores to games where players had to scrap by on minimal resources.

I tried to vibe-math through the formula but I don't know if theoretically it's sound or not. so I’d love to get input from real mathematicians, data analysts, and stats enthusiasts here to help refine and formalize this metric. Please help me build the perfect "LOW ECON EPICNESS" formula!!

---

1. Objective
  • Goal: Create a normalized percentage score (0% to 100%) representing the level of economic harassment/starvation in a match (assuming players are serious and not goofing around).
  • Interpretation:
    • 100% = Extreme economic starvation / brutal harassment / heavy resource disruption (Most Epic).
    • 0% = Unhindered, smooth, macro-heavy game.

  • Key Requirement: The metric must work fairly across short games (e.g., 2–5 minutes) and long macro games (20+ minutes) without favoring short matches simply because they don't have much mining on average.


2. Assumptions
  • Time Tracking: Game duration in Excel/Google Sheets is stored as a fractional day, where Minutes = Duration * 1440.
  • Minerals Mined: This will be our proxy attribute for "economy", but we need to adjust it for duration.
    **I don't have access to in-game live stats, only end-game stats (minerals mined, gas mined, for one player)
  • Early-Game Worker Ramp-Up: Early in a match, Minerals-per-Minute (MPM) is naturally low because players start with few workers and are building up their initial economy, not because they are getting harassed.
  • Saturation Curve: As game time increases, worker production saturates the main base economy. In StarCraft, worker ramp-up flattens out around the 8-minute mark.
  • Data Range (Observed):
    • Raw MPM (Minerals / Minutes) in test matches ranges roughly between 400 and 1,500 MPM.
    • After adjusting for early-game saturation, the effective rate scales roughly between 800 MPM (floor) and 1900 MPM (ceiling).



3. Current Approach & Formula

To prevent short games from artificially scoring near 100% starvation just because of early worker ramp-up, we introduce an exponential saturation curve:

f(t) = 1 - e^(-t / 8)

Where t is duration in minutes, and 8 acts as the time-constant (in minutes) for economic saturation.

The Adjusted Rate Formula:
Adjusted MPM = Minerals / (t * (1 - e^(-t / 8)))

Normalization & Inversion:
We normalize this rate between an empirically derived floor of 800 and ceiling of 1900, clamping it between 0 and 1, and then invert it so that lower rates yield higher epicness:

Low Econ Epicness = 1 - MIN(1, MAX(0, (Adjusted MPM - 800) / (1900 - 800)))

Google Sheets Implementation:

=IF(OR(H2=0, F2="", ISBLANK(H2), ISBLANK(F2)), "",
IFERROR(
1 - MIN(1, MAX(0,
(((F2 / (H2 * 1440)) / (1 - EXP(-(H2 * 1440) / 8))) - 800) / (1900 - 800)
)),
"Error Triggered"
)
)

(Where H2 = Duration and F2 = Minerals).

4. The Request / Community Input

While the current formula gives a decent bell-curve distribution across sample matches, I'm looking for feedback from math & stats folks on a few specific points:

  • Saturation Function: Is 1 - e^(-t/8) the optimal modeling curve for StarCraft worker ramp-up, or would a logistic function or piecewise curve fit game data more naturally?
  • Multi-Variable Integration: Right now, I'm only using Minerals and Duration. However, the full dataset contains:
    • Total Score, Units Score, Structures Score, Resources Score, Gas, Minerals, Resources Spent, Duration

    How might we incorporate Gas or Resources Spent (or the ratio between Minerals/Gas/Spent) to better identify true economic starvation vs. simply unspent floating bank?
  • Dynamic Threshold Scaling: Instead of hardcoded bounds (800 and 1900), is there a more robust statistical approach (e.g., Z-score, percentile ranking, dynamic min/max) to make the scale auto-adapt to different match datasets or updates?


Sample Dataset
I’ve put together a public Google Sheet with real game data and columns for testing:
Google Sheet Sample Data


Feel free to make a copy and test your own formulas and let me know! If you don't have time to build a formula, you can just tell me the mathematical assumptions that need to respected so I can refine my vibe-math efforts.

By the way I'm also working on other epic metrics like fights, structures, units etc. but for sake of simplicity in this thread let's discuss only ECON.

Thanks!
Broodwar Forever
Please log in or register to reply.
Live Events Refresh
Next event in 9h 36m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft496
RuFF_SC2 203
ViBE198
StarCraft: Brood War
GuemChi 339
Sharp 137
Leta 67
Hyuk 65
ajuk12(nOOB) 32
Aegong 32
Noble 30
Stork 18
Icarus 5
NotJumperer 1
Dota 2
NeuroSwarm181
LuMiX6
League of Legends
JimRising 662
Other Games
summit1g10309
XaKoH 429
Organizations
Other Games
gamesdonequick796
[ Show 13 non-featured ]
StarCraft 2
• Nickrosys21
• practicex 17
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Laughngamez YouTube
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo929
• Rush858
Upcoming Events
OSC
9h 36m
Yamato Cup
10h 36m
IPSL
12h 36m
Artosis vs RiceHat
Kyrie vs Sony
Map Test Tournament
18h 36m
WardiTV Weekly
1d 7h
Ultimate Battle
1d 7h
Rush vs BeSt
Replay Cast
1d 18h
Rogue vs Classic
Patches Events
2 days
PiGosaur Cup
2 days
Kung Fu Cup
3 days
[ Show More ]
The PondCast
4 days
KCM Race Survival
4 days
IntoTheTV X SOOP
6 days
WardiTV Invitational
6 days
IPSL
6 days
WorsT vs nOmaD
Dewalt vs andersOn
Liquipedia Results

Completed

Proleague 2026-10-30
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
IPSL Winter 2026-27
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026

Upcoming

1xBet Invitational
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
BLAST Bounty Winter 2027
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.