Update README.md
Browse files
README.md
CHANGED
|
@@ -53,14 +53,10 @@ tags:
|
|
| 53 |
|
| 54 |
Boo bench is built to capture the pages that scare VLMs (cause them to make mistakes) but most specialized document OCR APIs perform well on. It is a playful and simple litmus test for understanding the need for specialized models, tools, and agent harnesses for document processing, beyond simply straight shotting documents to VLMs.
|
| 55 |
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
and writes more than the page holds. **That is a Boo.**
|
| 59 |
|
| 60 |
-
**Boo Bench** is a haunted house of **179 pages built to scare document parsers into repeating themselves**
|
| 61 |
-
rule per page that catches it: *the output may repeat nothing more than the page holds.* Writing a leader in another
|
| 62 |
-
character, splitting, merging or dropping a repetition never fails; only overshoot does. An empty answer fails too, so
|
| 63 |
-
a parser cannot pass by saying nothing.
|
| 64 |
|
| 65 |
## The four rooms
|
| 66 |
|
|
@@ -68,10 +64,10 @@ a parser cannot pass by saying nothing.
|
|
| 68 |
|
| 69 |
| Room (split) | Pages | Ground truth | What is inside |
|
| 70 |
|---|---:|---|---|
|
| 71 |
-
| 🕯️ `real` | 100 | the page's text layer | Real pages with a repetition: dot leaders, fill-in blanks, rules of `=`, rows of `0.00`, repeated lines, in 23 kinds.
|
| 72 |
| 🕸️ `trap` | 48 | exact, generated | 16 trap families × 3 Halloween-themed pages: near-identical rows, sequences and lists that stop early, fill-in forms, repeated blocks, repetition written as an instruction (`la la la (×3)`), dense number grids, codes (Morse, binary, bar glyphs), box drawing and text art, tiled watermarks, homoglyphs (`O0`, `l1I`), stacked diacritics, right-to-left and vertical text, rare emoji sequences, nearly blank pages, giant words. |
|
| 73 |
-
| 👻 `ghost` | 16 | exact, generated | Grids, rows and tallies of ghost, pumpkin, bat, spider and skull emoji
|
| 74 |
-
| 💀 `script` | 15 | none needed | Scans of the UDHR's Article 1, the alphabet and the digits in 15 scripts (Armenian, Canadian syllabics, Cherokee, Ethiopic, Gujarati, Kannada, Khmer, Malayalam, Mongolian, Myanmar, Sinhala, Syriac, Tamil, Thaana, Vietnamese).
|
| 75 |
|
| 76 |
Trap, ghost and script pages are image-only PDFs, so a parser has to read the pixels.
|
| 77 |
|
|
@@ -110,8 +106,7 @@ parse-bench run llamaparse_agentic --input_dir ./my_docs
|
|
| 110 |
## The rule: `repetition_overshoot`
|
| 111 |
|
| 112 |
The output is cleaned of markdown and HTML syntax (table separators, grids, rules, bold markers, tags), look-alike
|
| 113 |
-
characters are folded (`O`/`0`, `I`/`l`/`ǀ`/`1`, `$`/`5`)
|
| 114 |
-
overshoot of:
|
| 115 |
|
| 116 |
| Budget | Limit |
|
| 117 |
|---|---|
|
|
|
|
| 53 |
|
| 54 |
Boo bench is built to capture the pages that scare VLMs (cause them to make mistakes) but most specialized document OCR APIs perform well on. It is a playful and simple litmus test for understanding the need for specialized models, tools, and agent harnesses for document processing, beyond simply straight shotting documents to VLMs.
|
| 55 |
|
| 56 |
+
A **Boo** is an element on a page that scares a parser. We frequently see failure modes where certain pages cause parsers
|
| 57 |
+
to go into repitition loops or stop parsing properly.
|
|
|
|
| 58 |
|
| 59 |
+
**Boo Bench** is a haunted house of **179 pages built to scare document parsers into repeating themselves**.
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
## The four rooms
|
| 62 |
|
|
|
|
| 64 |
|
| 65 |
| Room (split) | Pages | Ground truth | What is inside |
|
| 66 |
|---|---:|---|---|
|
| 67 |
+
| 🕯️ `real` | 100 | the page's text layer | Real pages with a repetition: dot leaders, fill-in blanks, rules of `=`, rows of `0.00`, repeated lines, in 23 kinds. |
|
| 68 |
| 🕸️ `trap` | 48 | exact, generated | 16 trap families × 3 Halloween-themed pages: near-identical rows, sequences and lists that stop early, fill-in forms, repeated blocks, repetition written as an instruction (`la la la (×3)`), dense number grids, codes (Morse, binary, bar glyphs), box drawing and text art, tiled watermarks, homoglyphs (`O0`, `l1I`), stacked diacritics, right-to-left and vertical text, rare emoji sequences, nearly blank pages, giant words. |
|
| 69 |
+
| 👻 `ghost` | 16 | exact, generated | Grids, rows and tallies of ghost, pumpkin, bat, spider and skull emoji. |
|
| 70 |
+
| 💀 `script` | 15 | none needed | Scans of the UDHR's Article 1, the alphabet and the digits in 15 scripts (Armenian, Canadian syllabics, Cherokee, Ethiopic, Gujarati, Kannada, Khmer, Malayalam, Mongolian, Myanmar, Sinhala, Syriac, Tamil, Thaana, Vietnamese). |
|
| 71 |
|
| 72 |
Trap, ghost and script pages are image-only PDFs, so a parser has to read the pixels.
|
| 73 |
|
|
|
|
| 106 |
## The rule: `repetition_overshoot`
|
| 107 |
|
| 108 |
The output is cleaned of markdown and HTML syntax (table separators, grids, rules, bold markers, tags), look-alike
|
| 109 |
+
characters are folded (`O`/`0`, `I`/`l`/`ǀ`/`1`, `$`/`5`), and the page fails on the worst overshoot of:
|
|
|
|
| 110 |
|
| 111 |
| Budget | Limit |
|
| 112 |
|---|---|
|