What @awacloud/oconv is measured against: public suites, external validators, wild inputs and published benchmarks.

Reading the leaderboard figures

Both benchmarks below score the pdf → md direction, toMd on PDF files other projects chose. toMd reads the text layer (pictures only on request): there is no OCR, so a scanned page gives no text.

  • pypdf-benchmarks-read compares the extracted text with a ground truth, character by character, on 14 born-digital PDFs. It measures text extraction and reading order, not structure.
  • opendataloader-bench averages three scores: reading order (NID), tables (TEDS) and headings (MHS). Its 200 PDFs are untagged. Since 2.0.0 the reader infers headings and tables on an untagged PDF by default; read with pdfInfer: [], it emits paragraphs only, the table and heading scores are 0 and the overall figure rests on reading order alone (0.5754).
  • opendataloader-bench-layout reads the same 200 PDFs with pdfInfer: ['headings', 'tables'], which infers headings from font size and weight and tables from their rules or from aligned text: the heading and table scores are no longer 0. Since 2.0.0 that is the default read, so the two entries measure the same read. A tagged PDF's structure tree is read as it is (see the loss matrix).

Measured coverage

Generated from coverage/scorecard.json (format office-scorecard/v1) in the repository, written by the unpublished tool tools/office-scorecard. Each figure names its suite and version, the UTC day and the commit measured, and the command that replays it; a figure is what was measured on that suite, not a claim of conformance to a standard. Low results are published as measured.

Code coverage

Suite Result What is measured Measured Replay
bun-coverage-src bun 1.3.13 lines 98.33 %, functions 99.18 % (mean of 35 source files) the coverage gate's model over the declared basis (src/**) 2026-10-26, 976d3b35e bun cli.ts office-scorecard axis-a --pkg oconv

Conformance suites

Suite Result What is measured Measured Replay
arlington-write-conformance-oconv arlington@c48b363e9 324 / 324 per key instance of the documents oconv fromMd (target pdf) write (oconv-standard-14, oconv-faces, oconv-images; 58 dictionaries and streams reached from the trailer through the Arlington links): a key present passes when its object lists it, its SinceVersion holds for PDF 2.0, its value has one of the key's types valid in 2.0 and, when that type's possible values are literals, one of those valid in 2.0; every key required for 2.0 and absent (inherited keys looked up the /Parent chain) is a failing case; fn: predicates are evaluated only for versions, TRUE / FALSE, || and && (fn:Extension false) — the others are not evaluated: 19 passing instances carry one, and an absent key required by one is skipped; IndirectReference, SpecialCase, DefaultValue and deprecation are not checked; array positions and map entries are walked, not counted; 11 cases not run, each with its reason in the scorecard 2026-10-14, 31d88da4c bun cli.ts office-scorecard axis-b --suite arlington-write-conformance-oconv
crossformat-docx-odt poi@REL_5_5_1+libreoffice@26.8.0.3 1469 / 1469 every wild docx (poi, lo-ooxmlexport, lo-odfexport) whose oconv toMd reads is converted to odt with oconv convert and read back with toMd; it passes when the Markdown body of the return reading equals the direct one (the front matter removed: the cross-format harness's model equivalence); a throw of convert or of the return toMd fails it 2026-11-13, 999d12e99 bun cli.ts office-scorecard axis-b --suite crossformat-docx-odt
crossformat-odt-docx libreoffice@26.8.0.3 316 / 316 every wild odt (lo-odfexport, lo-ooxmlexport) whose oconv toMd reads is converted to docx with oconv convert and read back with toMd; it passes when the Markdown body of the return reading equals the direct one (the front matter removed: the cross-format harness's model equivalence); a throw of convert or of the return toMd fails it 2026-11-13, 72655858c bun cli.ts office-scorecard axis-b --suite crossformat-odt-docx
crossformat-docx-odt-layout poi@REL_5_5_1+libreoffice@26.8.0.3 1469 / 1469 every wild docx (poi, lo-ooxmlexport, lo-odfexport) whose oconv toMd reads is converted to odt with oconv convert and its opt-in layout; it passes when the odt's page (the layout of its Standard master page, read by @awacloud/odf: size, orientation, margins) equals the docx's (its body sectPr, read by @awacloud/ooxml: twips / 20, a margin as its absolute value, the orientation stated or from the size) within 0.01 mm, or when neither states a page; a throw of convert fails it 2026-11-09, ca4fb2af3 bun cli.ts office-scorecard axis-b --suite crossformat-docx-odt-layout
crossformat-docx-odt-paragraphs poi@REL_5_5_1+libreoffice@26.8.0.3 1469 / 1469 every wild docx (poi, lo-ooxmlexport, lo-odfexport) whose oconv toMd reads is converted to odt with oconv convert and its opt-in layout; its paragraphs that hold text (read by @awacloud/ooxml, in body order, tables and content controls included) are matched in order to the odt's paragraphs and headings by their text, whitespace collapsed (an unmatched one is not compared); it passes when every matched pair has the same alignment (the docx's effective one: direct, up the basedOn chain, then docDefaults; the odt's up its style chain to the default style; unstated reads as start) and the same page break before (the docx's pageBreakBefore, a page break ahead of its text, or one alone in or at the end of a paragraph before it, a table between them dropping it; the odt's fo:break-before page); a throw of convert fails it 2026-11-13, 0c42f9e38 bun cli.ts office-scorecard axis-b --suite crossformat-docx-odt-paragraphs
crossformat-docx-odt-runs poi@REL_5_5_1+libreoffice@26.8.0.3 1469 / 1469 every wild docx (poi, lo-ooxmlexport, lo-odfexport) whose oconv toMd reads is converted to odt with oconv convert and its opt-in layout; its paragraphs that hold text are matched as in crossformat-docx-odt-paragraphs, and in each matched pair whose non-whitespace characters are the same, each character's values the docx states (its run's effective size, font, colour, underline and super- or subscript: rPr, the character style's basedOn chain, the paragraph style's chain, docDefaults, a theme font read from the theme part) must be the odt's (its innermost span up the text style chains, then its paragraph's style chain, then the default style): a size within 0.05 pt, a font by name, a colour by hex, an underline, a script by the sign of style:text-position; a throw of convert fails it 2026-11-13, 0c42f9e38 bun cli.ts office-scorecard axis-b --suite crossformat-docx-odt-runs
crossformat-docx-odt-headers poi@REL_5_5_1+libreoffice@26.8.0.3 1469 / 1469 every wild docx (poi, lo-ooxmlexport, lo-odfexport) whose oconv toMd reads is converted to odt with oconv convert and its opt-in layout; for each region (header, footer) and slot (default, first, even) it passes when the docx's paragraphs that hold text equal the odt's as multisets, whitespace collapsed, and so do their counts of page and page-count fields: the docx's read by @awacloud/ooxml from the body's last sectPr (the first page's part under titlePg, the even pages' under the settings' evenAndOddHeaders, else the default part; a slot without a part is empty), tables, content controls and text boxes included, a table of contents control and deletions left out, PAGE, NUMPAGES and SECTIONPAGES fields counted (one inside a page field not); the odt's from its Standard master page's style:header, style:header-first and style:header-left (an absent one the default) and the footers', a frame's text left out, text:page-number and text:page-count counted; a throw of convert fails it 2026-11-13, 9e023c52a bun cli.ts office-scorecard axis-b --suite crossformat-docx-odt-headers
crossformat-docx-odt-notes poi@REL_5_5_1+libreoffice@26.8.0.3 1469 / 1469 every wild docx (poi, lo-ooxmlexport, lo-odfexport) whose oconv toMd reads is converted to odt with oconv convert and its opt-in layout; it passes when the docx's notes equal the odt's as multisets, each compared by class, custom mark and paragraph texts (whitespace collapsed): the docx's read by @awacloud/ooxml, each footnote and endnote reference of the body (tables, content controls and text boxes included, a table of contents control and deletions left out; the custom mark the run's next text under customMarkFollows) resolved to its note's paragraphs that hold text, a reference whose note did not read left out; the odt's each text:note of content.xml, its text:note-class, its citation's text:label, its body's paragraphs and headings that hold text; a throw of convert fails it 2026-11-13, 0c42f9e38 bun cli.ts office-scorecard axis-b --suite crossformat-docx-odt-notes

Output validity, judged by an external validator

Suite Result What is measured Measured Replay
ooxml-validator-oconv OOXML-Validator@2.1.6 25 / 25 OOXML-Validator 2.1.6 (Open XML SDK DocumentFormat.OpenXml 3.2.0, FileFormatVersions.Microsoft365) reports 0 errors (schema, semantic, package, or a package that does not open) for the written file; a round trip (read, then write with the same package) counts only when the validator reports 0 errors for its source too — a source with errors, or one the writer refuses with a typed error, is skipped with the reason; documents: 25 (25 written, 0 round trips); 1 case not run, each with its reason in the scorecard 2026-10-15, 31604fbdb bun cli.ts office-scorecard axis-c --suite ooxml-validator-oconv
odfvalidator-oconv odfvalidator@0.13.0 38 / 38 odfvalidator 0.13.0 (ODF Toolkit, conformance mode, the schemas of the ODF version each file declares) reports no Error and no Fatal message for the written file (warnings are recorded, not failing); a round trip (read, then write with the same package) counts only when the validator reports none for its source too — a source with errors, or one the writer refuses with a typed error, is skipped with the reason; documents: 38 (38 written, 0 round trips); 1 case not run, each with its reason in the scorecard 2026-11-09, ca4fb2af3 bun cli.ts office-scorecard axis-c --suite odfvalidator-oconv

Leaderboards

Suite Result What is measured Measured Replay
pypdf-benchmarks-read py-pdf/benchmarks@778e6c95a 0.9359 mean over the 14 documents of the normalised Indel similarity (2·LCS / (|a| + |b|), over code points) between the ground truth and the plain text of oconv toMd (no OCR; Markdown parsed with @awacloud/md, its text kept), 0–1 2026-11-12, 4c1763b91 bun cli.ts office-scorecard axis-e --suite pypdf-benchmarks-read
opendataloader-bench opendataloader-bench@7af1d8f4d 0.8376 Overall: mean over the 200 documents of the mean of NID (reading order), TEDS (tables) and MHS (headings) where the ground truth defines them, 0–1; the benchmark's own scorers ported, on the Markdown body of oconv toMd (no OCR; the profile-v1 front matter removed) 2026-11-13, 3c218fac8 bun cli.ts office-scorecard axis-e --suite opendataloader-bench
opendataloader-bench-layout opendataloader-bench@7af1d8f4d 0.8376 Overall: mean over the 200 documents of the mean of NID (reading order), TEDS (tables) and MHS (headings) where the ground truth defines them, 0–1; the benchmark's own scorers ported, on the Markdown body of oconv toMd read with pdfInfer: ['headings', 'tables'] (the opt-in inference of the untagged pdf path; no OCR; the profile-v1 front matter removed) 2026-11-13, 3c218fac8 bun cli.ts office-scorecard axis-e --suite opendataloader-bench-layout

Other projects on the same suites

Figures other projects publish (or that their own test data fixes, marked derived), on the same suite and version as an entry above, with where and when they were read.

Suite Project Result Source Read on
pypdf-benchmarks-read py-pdf/benchmarks@778e6c95a pypdfium2 5.13.0 (the benchmark's run of 2026-10-02, mean of its score cache) 0.9522 source 2026-11-12
pypdf-benchmarks-read py-pdf/benchmarks@778e6c95a pypdf 6.19.0 (the benchmark's run of 2026-10-02, mean of its score cache) 0.9486 source 2026-11-12
pypdf-benchmarks-read py-pdf/benchmarks@778e6c95a PyMuPDF 1.28.2 (the benchmark's run of 2026-10-02, mean of its score cache) 0.9423 source 2026-11-12
pypdf-benchmarks-read py-pdf/benchmarks@778e6c95a Tika 3.3.2 (the benchmark's run of 2026-10-02, mean of its score cache) 0.9306 source 2026-11-12
pypdf-benchmarks-read py-pdf/benchmarks@778e6c95a pdftotext 0.86.1 (the benchmark's run of 2026-10-02, mean of its score cache) 0.9019 source 2026-11-12
pypdf-benchmarks-read py-pdf/benchmarks@778e6c95a pdfminer.six 20260107 (the benchmark's run of 2026-10-02, mean of its score cache) 0.8793 source 2026-11-12
pypdf-benchmarks-read py-pdf/benchmarks@778e6c95a pdfplumber 0.11.10 (the benchmark's run of 2026-10-02, mean of its score cache) 0.7393 source 2026-11-12
opendataloader-bench opendataloader-bench@7af1d8f4d opendataloader-hybrid 2.2.1 (the benchmark's run of 2026-04-06) 0.9066 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d nutrient 1.0.1 (the benchmark's run of 2026-04-30) 0.8851 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d docling 2.84.0 (the benchmark's run of 2026-04-06) 0.8817 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d marker 1.10.1 (the benchmark's run of 2026-01-06; scored against the ground truth as it stood before its 2026-01-16 and 2026-02-02 revisions) 0.8608 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d unstructured-hires 0.17.2 (the benchmark's run of 2026-04-06) 0.8414 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d edgeparse 0.3.0 (the benchmark's run of 2026-04-06) 0.8370 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d opendataloader 2.2.1 (the benchmark's run of 2026-04-06) 0.8312 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d mineru 2.7.0 (the benchmark's run of 2026-01-06; scored against the ground truth as it stood before its 2026-01-16 and 2026-02-02 revisions) 0.8311 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d pymupdf4llm 0.2.0 (the benchmark's run of 2025-11-27; scored against the first ground truth, before its 2025-12-20, 2026-01-16 and 2026-02-02 revisions) 0.7316 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d unstructured 0.17.2 (the benchmark's run of 2026-04-06) 0.6858 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d markitdown 0.1.5 (the benchmark's run of 2026-04-06) 0.5885 source 2026-11-13
opendataloader-bench opendataloader-bench@7af1d8f4d liteparse 1.2.1 (the benchmark's run of 2026-04-06) 0.5756 source 2026-11-13