Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Validation and quality assurance

Five boxes in a row show the build: acquire source data, transform (map, split, balance), build the model (A, L, B, D), calculate the emission factors, and publish the release files. Below them, a data validation band spans acquire and transform, a model validation band spans build, calculate and publish, and a code validation band spans all five steps.

Figure 1:Where each kind of validation runs in the build. Code validation covers every step; data validation follows the data in; model validation checks what comes out. Benchmarking against independent evidence follows the build and feeds the next release (see Why we benchmark).

1. Code validation

The model is built by two code pipelines, described in The code behind Cornerstone EEIO, and every change to that code is tested before it is merged.

2. Data validation

Data are checked when they arrive, as they move through each step of the build, and against references.

On arrival

Through each transformation

Against references and other years

3. Model validation

The model as a whole is checked by asking whether it reproduces the data it was built from and how its results compare with previous models.

Recalculating national emissions

An input-output model should recalculate the emissions it was built from. Running the final demand of every country (y) through the model gives the output needed to meet it (L × y), and multiplying by the direct emission factors gives the emissions of producing it:

E_model = diag(D) × L × y

Summed over the world, this equals N × y, the emissions embodied in all final demand. Summed over each country’s own sectors, it gives the emissions produced in that country. Two checks follow:

The U.S. tables are also checked on their own:

Comparing with previous results

Checking the published files

The published emission factors are read directly from the pinned release build. Before release, the files are checked for their locked column layout, complete gas and sector coverage, regional and global averages for every sector, and NAICS mapping weights that add up to one.

Beyond validation

Validation shows that the model was built as designed. Whether the results agree with independent evidence, such as sector studies and other databases, is the job of benchmarking.

Applies to: 2026-rc