Kerosene’s price breakdown comes mostly as photos of paper, so a machine reads it. I publish a figure only when 2 checks pass.
The Oil and Gas Regulatory Authority (OGRA) publishes no machine-readable breakdown for kerosene. Instead it publishes 2 documents every 2 weeks.
One is the ex-depot sale price calculation, the working behind the depot price. The other is the gazette notification that puts those prices in force.
Most of them come as photos: 1 JPEG image a page, with no text layer. A program cannot pull the numbers out of them.
So this is the only part of this project where figures are not read exactly. Everything below is about keeping that fact in view.
I measured the counts in this note on 21 August 2026. They will not update; the scanned record shows the current ones.
Why are scanned figures kept apart?
Every other figure on this site is read from a text layer. The computer asks the document for its characters and gets them back exactly.
2 runs return the same bytes. The reading either finds a figure or refuses.
Kerosene is read by OCR (optical character recognition), software that reads text from pictures. Its result is a model’s opinion of what the ink says.
No amount of care makes that the same kind of fact. So I keep OCR figures as a separate class, in 4 ways at once:
- Their own tables
- 5 tables hold the days, the readings, the documents, the messages and the second opinions. No row in them joins to the day record.
- Their own file and their own endpoint
data/scanned-buildup.jsonand/v1/scans. Nothing from here is inhistory.json,latest.json,daily.csvor any day record.- A mark on every day, not a header
- Each day carries
reading, which isocrortext_layer. A header is read once; a day is read every time. - A word that is unreachable from here
verifiedbelongs to the text-layer record. A scanned day can only becorroborated,uncorroboratedorwithheld.
The database has no link, or foreign key, between these tables and the day record, in either direction.
I check that against the database’s own catalogue, not against code. So it stays true whatever happens to the code.
/v1/meta counts scanned days in a separate nested object. A caller adding up the numbers beside it cannot include them by accident.
And no code path can mark a scanned day verified, however sure the reader was.
A label alone would not be enough. The real danger is a figure ending up inside a series that someone then quotes.
By then the label is 3 database joins away, and nobody is looking at it.
A label can be dropped along the way. A separate table cannot.
Does OGRA always publish kerosene prices as photos?
No. OGRA typesets a few of these documents, with no pattern I can see.
The typeset ones sit in the same series, under the same file name pattern, as the photos.
The document for 16 October 2024 is a real PDF with selectable text. Those for 1 September 2024 and 19 August 2026 are photocopies.
Where there is a text layer, I read it and guess at nothing. Those days are marked reading: "text_layer".
Their figures are exactly what the document states, the same standard as the rest of this site. They carry no caveat at all.
Marking them as OCR would have been a lie in the careful direction, which is still a lie.
And a warning on a figure that does not need one teaches you to ignore the warnings that matter.
I hoped for a free test, but there is none. I hoped 1 document for a date would be typeset and the other photographed.
That would give a known right answer beside the model’s attempt, for nothing. It never happens.
OGRA either typesets both documents for a date or photographs both.
The nearest cases are 3 dates with a typeset calculation and a photographed notification.
On those dates, the model read the check, not the figures. That measures something much less useful.
This is a finding about how a regulator publishes, not an excuse. It is why someone had to read the pictures by hand.
How is a scanned figure checked?
There are 2 checks, and a day must pass both or it is withheld. Nothing is published in part, and no figure gets through alone.
If a table fails its own arithmetic, every cell is under suspicion. The check does not say which digit moved.
Does the page’s own arithmetic add up?
The ex-depot table is a chain of sums:
| Row | What it must equal |
|---|---|
| Ex-refinery | |
| IFEM | |
| (unlabelled) | ex-refinery + IFEM |
| Distributor margin | |
| Dealer margin | |
| Petroleum Levy | |
| Price before Sales Tax | the subtotal + both margins + the levy |
| Sales Tax | |
| Max. ex-depot sale price | price before sales tax + sales tax |
That gives 3 identities, or sums that must hold, and every figure appears in 2 of them.
Change the 9 in 269.95 to an 8, and 3 sums break at once. A misread digit almost never still adds up.
The text-layer record uses the same check to catch a misread build-up. It is also the reason I leave Annex-I unread on purpose.
Does a second document agree?
OGRA publishes 2 documents for most dates. Each is photographed separately, and I read each one separately.
They share 5 quantities, and all 5 must agree:
| Quantity | Calculation | Gazette notification |
|---|---|---|
| IFEM | row | column (4) |
| Petroleum Levy | row | column (3) |
| Distributor margin | row | column (6) |
| Max. ex-depot sale price | row | column (8) |
| Prescribed price | ex-refinery + levy + both margins | column (2) |
The last row is the most valuable. It ties 4 cells of one photograph to 1 cell of another.
So a misreading in any of the 4 shows up, even on a page whose own sums happened to close.
The 4 direct comparisons must match exactly. Elsewhere on this site, I allow a difference of 1 paisa, because published figures are rounded.
That reason does not hold here. Both documents print the same quantity to the same 2 decimals, so any difference means a misreading.
The likeliest OCR error is a last digit read as its neighbour. A paisa of slack would hide exactly that error.
The prescribed price comparison keeps the 1-paisa allowance. 4 figures each rounded to a paisa can sum a paisa away from 1 rounded once.
What if nothing can check a day?
Then the day is kept and marked unanswered: uncorroborated, with corroborated_by set to null.
That is not “cleared”, and it must never look like it. So it gets a neutral tag on the scanned record.
A confirmation gets sage green there, and a refusal gets terracotta.
The same rule matters for the notified price series. There, a contradiction with no corroboration means nobody answered it, not that somebody agreed.
Which page is never read, and why?
I never read Annex-I, the ex-refinery sale price calculation, on the first page of the same document.
It carries the Arab Gulf FOB quotations for 10 working days across 8 products. FOB means the price at the loading port, before freight.
It also shows the daily exchange rate, the premium, the 7.5% tariff, the conversion factor and the import parity price.
It is the top of the petrol and diesel build-up. It is the most interesting page in the whole scanned archive.
It is not read because its arithmetic does not close on the page. The 10 daily quotations average to a figure the page states.
That average is the only check. A misread digit in 1 of 80 quotation cells moves the mean by a hundredth, and would pass unnoticed.
Reading it would mean publishing figures backed only by the model’s confidence. This whole exercise exists to refuse that standard.
It stays unread until a second source exists. I declined it on purpose; it was not overlooked.
I say so because the opposite guess is the natural one. Annex-I sits on documents this project already downloads, parses and archives.
So anyone who finds it unread will assume nobody got to it. In fact it is refused because it is valuable.
It is the place in this archive where OCR is most dangerous, not least.
Everywhere else, a misread digit breaks a sum and the day is withheld. On Annex-I, it would be published with nothing to catch it.
How was the reading software chosen?
I tried Tesseract first. On the ex-depot table it returns rubbish.
A row RapidOCR reads as Distributor margin 1.58 comes back from Tesseract as:
Distibutormargin ——SiSSCiSB SSOn the same page, RapidOCR read all 12 of its figures correctly. Tesseract read none of them.
Tesseract also needs a second program installed on the system. That is 1 more thing that can differ between machines and change a reading.
RapidOCR carries its own models, so it does not have this problem.
Which version read a figure is part of the reading. OCR returns an interpretation of the ink, not the exact bytes it was given.
A different version gives a different interpretation of the same ink.
So I record the engine and its version against every figure it read, and use 1 version throughout.
If a newer reader would change a figure, this record can show you. It will not happen quietly.
What are the limits of this method?
There are 3 limits. Any error rate quoted without them is quoted wrongly.
The sample is not random. It is the dates when OGRA happened to typeset 1 document and photograph the other.
If OGRA’s scanner or typesetting habits changed during the period, this measures only the side the sample fell on.
The sample size is reported with the figure. Do not quote the figure without it.
It cannot see an error made twice. The model could misread the same digit the same way on both documents for 1 date.
Then that date agrees with itself and is published.
The 2 are photos of different paper in different type, so this needs a coincidence. But “needs a coincidence” is not “cannot happen”.
A disagreement does not say which side was wrong. Sometimes the typeset document is the notification and the photo is the calculation.
Then the model read the figures, so a disagreement is the model’s error. It is counted as one.
The reverse case is counted separately. There the model read the check, so an error costs a corroboration, not a published figure.
One more point is outside this note. These documents itemise the maximum ex-depot sale price, not the pump price the rest of this site shows.
So these figures are a weaker kind of knowledge about a different quantity. Both halves of that matter.
Where are the documents kept?
They are archived. Rule 5 of this project’s method is that the source is kept, not just linked.
A digest is a file’s unique fingerprint. Proof by digest alone depends on OGRA still serving the document.
That is true today, but nothing promises it for any day after. An archive exists to remove that dependence.
So I keep a copy of each document here. You can check a figure against its own page, not a link that may break.
Not every copy is here yet, and the site tells you which. Where a document is held, you can open it.
Where it is not, the scanned record and the archive say so plainly. Neither shows a broken link or leaves you guessing.
How is each download checked?
A document is saved to the archive only if its SHA-256 matches the digest recorded when its figures were read.
If it comes back different, it is not saved. Nothing is overwritten, and the mismatch is recorded as a finding.
If OGRA replaces a document this record quotes, that is a finding, not a download.
This check matters more here than anywhere else. Every other figure could be read again from a text layer; these could not.
If the picture changes, the readings describe a document that no longer exists at that address.
On 21 August 2026, I ran the check over the whole archive. All 145 documents it then held were fetched again; every one matched.
That is more documents than the readings cite. The archive counts only those behind a published figure.
This count covers everything kept, including documents behind withheld days and dates that gave no reading at all.
Common questions
Why are OGRA’s kerosene prices read by OCR?
OGRA publishes most kerosene documents as photos of paper, with no text layer. OCR is the only way to read them.
Are scanned kerosene figures as reliable as petrol and diesel figures?
No. They are a model’s reading of ink, so I keep them apart and publish a day only if 2 checks pass.
What happens when a scanned figure fails a check?
The whole day is withheld. Nothing is published in part, because a failed sum puts every cell under suspicion.
Why is Annex-I not read?
Its arithmetic does not close on the page, so nothing can catch a misread digit. It stays unread until a second source exists.
Is the kerosene price in these documents the pump price?
No. They give the maximum ex-depot sale price, which is not the pump price the rest of this site shows.
Sources
- Kerosene’s ex-depot calculations and gazette notificationsOGRA’s kerosene documents, as the scanned record holds themPrimary · SHA-256 archived
- The archived copies and their digestsThe archive of every source document this record keepsPrimary · SHA-256 archived
- The rule that a source is kept, not linkedHow this record is read: the 6 rulesMethod
The counts in this note were measured on 21 August 2026 and do not update.