Technical Analysis of Vision Data in Esports Matches
This article presents an engineering approach to calculating and serving vision data in esports, using "vision score per minute" as a case study. It covers metric definition and governance, event data modeling, quality rules, batch computation, storage and query design, visualization, and real-time pipelines. You will learn how to build a reproducible, extensible system with unified definitions, versioned weights, traceable event details, and anomaly isolation.
1. Introduction: Why “Vision Score per Minute” Should Be Engineered
In esports analysis, viewers and analysts often see leaderboards such as “a player ranks among the all-time leaders in vision score per minute.” This kind of leaderboard is essentially a derived metric: it is computed from a raw event stream (placing wards, denying wards, controlling map areas, and so on) after time normalization. The raw material commonly appears as a series of “player—team—value—opponent—time” records, for example with a top value of about 5.36, followed by roughly 4.78 and 4.77, then 4.72, 4.69, 4.63, 4.57, 4.51, 4.47, and so on. This article does not restate a specific leaderboard; instead, it abstracts the problem into: how to build a rigorous, reproducible, and extensible system for computing and serving match vision data.
Once engineered, the benefits are direct: unified definitions, reproducible results, traceable anomalies, extensible metrics, and real-time queries.
2. Metric Definition and Governance
2.1 Metric Semantics
Vision score per minute can be formalized as:
score_per_minute = vision_score / duration_minutes
Here, vision_score is a composite score accumulated from multiple vision-related behaviors in a single game, and duration_minutes is the effective match duration of that game in minutes.
2.2 Governance Checklist
- Effective duration: Decide whether to exclude pauses, remakes, and long reviews; it is recommended to use the “match clock” as the basis while retaining the raw duration field.
- Score composition: Weights for ward placement, ward denial, area control, vision suppression, and so on should be versioned to avoid “cross-version incomparability.”
- BO5 aggregation: Three common definitions exist—average per game, weighting by total duration, and total score divided by total duration. The three may yield different conclusions, so the choice must be explicitly declared in metadata.
- Sample threshold: Set minimum games and minimum duration to avoid “a single high-scoring game dominating the leaderboard.”
It is recommended to manage definitions with a configuration table:
metric: vision_score_per_minuteversion: 2026-11duration_field: match_clock_secondsexclude_pause: truebo5_aggregation: weighted_by_durationmin_games: 2weights:ward_place: 1.0ward_denied: 1.2area_control: 0.8
3. Data Collection and Event Modeling
3.1 Data Source Layers
- Official match data APIs or exported game event streams (structured events).
- Post-match statistics files (for cross-validation).
- Manual annotation (to handle missing data or definition differences).
3.2 Event Model
It is recommended to unify data into an event table with at least the following fields:
event_id, match_id, game_id, team_id, player_id,event_type, timestamp_ms, map_region, value, source
event_type should cover at least: ward placement, ward denial, area entry/exit, and vision score changes. source marks the data origin and its reliability.
3.3 Data Quality Rules
- Uniqueness: deduplicate by
event_id; - Monotonicity:
timestamp_msmust be non-decreasing within the samegame_id; - Completeness: each game must have start/end events;
- Consistency: the accumulated event score must be within a threshold of the post-match total;
- Traceability: every derived metric must be traceable back to its raw event set.
4. Computation Pipeline: From Raw Events to Leaderboards
4.1 Batch Pseudocode
def per_minute(events, game_meta, cfg):total_score = 0.0total_minutes = 0.0for g in game_meta:ev = [e for e in events if e.game_id == g.game_id]score = sum(weight(e, cfg) for e in ev)minutes = effective_minutes(g, cfg)total_score += scoretotal_minutes += minutesreturn total_score / max(total_minutes, 1e-6)
4.2 Key Engineering Points
- Time normalization must be based on effective duration; otherwise pauses will dilute the metric.
- Weight versioning: bind results to
metric_versionfor traceability. - Idempotent computation: recompute with
(match_id, game_id, metric_version)as the partition key to avoid duplicate accumulation. - Anomaly isolation: a single anomalous game must not contaminate the overall result; record a
quality_flag.
5. Storage and Query Design
- Detail layer: partition the event table by
match_id/game_idand retain raw JSON for replay. - Summary layer: a wide table of player/team × tournament × version, with fields including
score_sum,minutes_sum, andscore_per_minute. - Leaderboard layer: materialized views or pre-aggregated tables supporting three query types: “historical BO5,” “single tournament,” and “time range.”
Example table structure:
CREATE TABLE vision_bo5_summary (metric_version TEXT,player_id TEXT,team_id TEXT,tournament TEXT,games INT,score_sum DOUBLE,minutes_sum DOUBLE,score_per_minute DOUBLE,quality_flag TEXT);
6. Visualization and Real-Time Pipeline
6.1 Visualization Suggestions
- Leaderboard bar chart with confidence intervals (more honest when samples are small);
- Per-game trend line to identify “single-game spikes”;
- Opponent-dimension heatmap to observe strength differences.
6.2 Real-Time Processing
Adopt a general architecture of “message queue + stream computing + online storage”: events are written to a message queue, stream jobs perform windowed aggregation, and results are written to an online key-value store for sub-second frontend queries. If using general cloud capabilities, this can map to a message queue, stream computing, object storage (archiving raw events), a logging service (audit), and monitoring/alerting (latency and backlog).
event source -> message queue -> stream aggregation (window/dedup) -> online store -> API/dashboard\-> object storage (cold backup) -> offline recompute
7. Common Pitfalls and Best Practices
- Duration definition drift: inconsistent handling of pauses and remakes makes cross-tournament comparison impossible.
- Unversioned weights: historical leaderboards “silently change” after rule updates.
- Sample bias: players with few games occupy the top; a minimum sample threshold is needed.
- Duplicate counting: replays and re-uploads cause duplicate events; an idempotency key is required.
- Insufficient explainability: giving only a number without its composition is unconvincing; drill down to event details.
The best practice is “definitions first, version binding, traceable details, anomaly isolation, and cacheable queries.”
8. Conclusion
Treat “vision score per minute” as a data product rather than a static leaderboard: first govern definitions, then model events, then perform batch and stream computing, and finally close the quality loop with visualization and alerting. This way, you can both reproduce historical results and provide stable, explainable real-time insights during matches, offering a reliable foundation for tactical review and content production.
