Afrindustria/ Gas Gap Monitor

Methodology

How a figure goes from an NMDPRA PDF onto this page, and what stops it.

The rule

Each number on these pages links to the archived page of the NMDPRA document that it comes from. We do not estimate a figure. We do not copy a figure forward from an earlier month. When NMDPRA does not publish a figure, we show a disclosure gap.

The archive

Two times each month, on the 12th and the 26th, the system collects the public documents of NMDPRA. It reads three sources: the document API of the NMDPRA website, the pages of the website, and the public list of the NMDPRA document storage.

The system keeps each file under its SHA-256 hash and does not overwrite it. When NMDPRA changes a document but keeps its address, the archive keeps the two versions and records the change. The system also sends each document to the Internet Archive, which keeps an independent copy with a date. The system does not collect documents that need a password. It does not collect documents behind a login.

The archive marks a document removed at source only when the two conditions that follow are true:

During all that time, the NMDPRA servers must be serviceable. A failure during an NMDPRA outage changes nothing.

Period basis

Each figure shows the period that it covers and the basis of that period. The system reads the basis from the label next to the figure in the fact sheet:

One fact sheet can use different bases. For example, it can give sector supply as an average of nine months, and facility utilisation for one month. The system does not join figures on different bases into one line. It does not make an index or a gap from them.

Extraction and review

A fixed program (a parser) reads each fact sheet. If a fact sheet does not agree with the expected layout, a language model (Claude) reads it. A person must then compare each figure from the language model with the page before the figure is published.

A person must also examine a figure from the parser if one of these conditions is true:

Validation

The system does these checks at each update. If a check fails, the system does not publish:

Gap definitions

Utilisation gap
The installed gas processing capacity minus the average operating capacity, for the same month. This is the installed capacity that was not used.
Domestic share
The domestic gas supply as a percentage of the total gas supply, for the same period and basis.
Allocation residual
The domestic supply minus the sum of gas-to-power, gas-to-commercial and gas-based industries. This is the domestic gas that the fact sheet does not give to a strategic sector. The system calculates it only when the four figures have the same period and basis.
Sector index
The supply of a sector divided by its value in the base month, multiplied by 100. The base figure and the current figure must have the same period basis. An index never mixes bases.
Pipeline gap
The demand centres in data/pipelines.csv that do not have a commissioned trunk connection. Each one has its own citation.
Disclosure gap
A figure that a monthly fact sheet usually gives, but that NMDPRA did not publish for a period. Each row gives the reason: not published yet, source offline, no sector split, or given only on a different period basis.

Commentary

A language model writes a draft of the commentary for each edition. It must obey fixed rules: facts come before interpretation, each causal claim has an alternative explanation, and each figure has a citation. A person edits the draft before publication.

Source uptime

The system checks the NMDPRA website and the document storage every six hours. The record is public: source_health.csv.

Data

Attribution

The source documents come from the Nigerian Midstream and Downstream Petroleum Regulatory Authority (NMDPRA), nmdpra.gov.ng. Afrindustria is not affiliated with NMDPRA.