The box score available seconds after a game ends was built during it, event by event, by a crew working to a league statistics manual.
The crew codes events, not totals
Statisticians enter each event — a shot attempt with its location and outcome, a rebound, an assist, a turnover — and the totals are computed from those entries.
Because the underlying record is event-level, the play-by-play, the shot chart and the box score are three views of one dataset rather than separate products.
This is why they always reconcile. A discrepancy would mean the same entries produced different sums, which the system does not allow.
Definitions are written down and specific
The league publishes definitions for each category, including the ones that require judgment: what constitutes an assist, when a rebound is credited to a team rather than a player.
Blocked shots and steals are similarly defined, with rules about which player receives credit when several are involved.
Consistency comes from the manual rather than from the individual statistician, which is what makes numbers comparable across arenas.
Shot location is entered, not sensed
For most of the statistic's history, shot coordinates were entered by an operator marking a position on a court diagram as the shot went up.
Optical tracking has improved this substantially, but the classification of the attempt — its type and the defensive situation — still involves coding.
Location accuracy matters more than it seems, because the two-point and three-point boundary is determined from it and defines the scoring value recorded.
Speed comes from the pipeline
Entries are transmitted continuously, so a final box score is complete moments after the final buzzer without anyone compiling anything.
Broadcast graphics, league apps and media systems consume the same live feed, which is why they agree with each other during the game.
They agree because they share a source, not because they are independently correct. A coding error propagates everywhere simultaneously.
Why the crew is a league function
Statistical crews work to league standards rather than to the home team, because a home-operated crew would face obvious incentives on judgment calls.
Baseball resolved this long ago with the official scorer as an independent appointment, and basketball adopted the same principle for the same reason.
Independence is what makes the box score a record rather than a claim, and it is the least discussed part of why the numbers are trusted.

