The CS2 Regional Standings model runs as a Node.js script. With a match data file and Node.js installed, you can generate regional standings tables for any snapshot in time.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ValveSoftware/counter-strike_regional_standings/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Node.js — any modern LTS version (v18 or later recommended)
- Git — to clone the repository
Setup
Place match data
Copy your match data file to The sample file (
data/matchdata.json. If you don’t have live data yet, use the included sample file:data/matchdata_sample_20230829.json) contains a real historical snapshot and is safe to use for testing.The script uses relative paths and must be run from the
model/ directory. Running it from the repository root or any other directory will cause file-not-found errors when it tries to read match data and write output.CLI arguments
The script accepts three optional positional arguments. All arguments have sensible defaults so you can run the model with no arguments at all.| Position | Argument | Default | Description |
|---|---|---|---|
argv[2] | Region indices | [0,1,2] | JSON array of region indices to include. 0 = Europe, 1 = Americas, 2 = Asia. |
argv[3] | Match data path | ../data/matchdata.json | Path to the match data JSON file. |
argv[4] | Date override | Date of most recent match | Override the date string used in output filenames (YYYY-MM-DD format). |
Command examples
Next steps
Output format
Understand the generated file structure, naming conventions, and markdown table columns.
Model evaluation
Run the fit evaluation script to measure model accuracy against historical match data.