Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -766,9 +766,9 @@ bentoparity -tools ~/src/bentopdf/docs/tools -pdfops ./pdfops -src ~/src/go-pdfk
```

```
covered 84
not covered 30
parity 73.7% (84/114), every claim verified
covered 86
not covered 28
parity 75.4% (86/114), every claim verified
```

⛔ **It refuses to report a figure if a single claim cannot be checked.** A
Expand Down
12 changes: 12 additions & 0 deletions parity/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@ var BentoPDF = []Claim{
// "What it still gets wrong", and in ops's beside the verb.
{Tool: "extract-tables", Claim: "verb:tables"},
{Tool: "pdf-to-csv", Claim: "verb:tables"},
// ⛔ One verb for both of these, because they are the same thing twice
// over: BentoPDF's prepare-pdf-for-ai is per-page MARKDOWN with the
// document's metadata beside it — PyMuPDF4LLM's LlamaMarkdownReader —
// which is `pdfops markdown -json`, and pdf-to-markdown is the same
// reading written out as one document.
//
// What is claimed is the inference, not a conversion: a PDF has no
// headings, and go-pdfkit/document says in its README what it will and
// will not see. Ruled lines and multi-column layouts are NOT read, and
// that bound is published rather than buried.
{Tool: "pdf-to-markdown", Claim: "verb:markdown"},
{Tool: "prepare-pdf-for-ai", Claim: "verb:markdown"},
{Tool: "extract-images", Claim: "verb:images"},
{Tool: "extract-attachments", Claim: "verb:detach"},
{Tool: "add-attachments", Claim: "verb:attach"},
Expand Down
Loading