verify_extraction
Audit a PDF extraction for silently dropped pages by comparing to a ground-truth audit. Returns per-page status and overall PASS/REVIEW/FAIL verdict.
Instructions
Audit an extraction of a PDF for silently-dropped pages — the failure where an extractor returns nothing for a page that has real text while reporting success. Pass extracted_text with another engine's output (Reducto, Mistral OCR, LlamaParse, Docling, an in-house parser — as JSON, Markdown, or plain text) to certify THAT engine against the source PDF; omit it to have pdfmux extract the document itself and certify its own read. Returns the per-page audit — each page marked usable / silently-empty / recovered / review / unverifiable — the "N of M pages silently dropped" headline, and an overall PASS/REVIEW/FAIL verdict with a tamper-evident signature. Reuses pdfmux's own audit pass as the ground truth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | auto | |
| engine | No | external | |
| file_path | Yes | ||
| extracted_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |