Can Datalab convert a cleanly scanned PDF into Markdown?
Datalab turned a one-page scanned letter with no text layer into Markdown that carries every body line word for word and in order, with no misread characters. All six values of its results block came through exactly, such as chloride at 18,200 mg/l. Only the small footer line at the foot of the page was left out.
1 of 1 test case passed
Every test case in this scenario has a result.
The test case
Each test case is judged on its own: Pass, Fail, Not gradable, or Untested. The scenario result above is based on this test case.
Clean scan — text recoveredPassEvidence
We uploaded the complete one-page scanned PDF to Datalab's Convert API, asked for Markdown output, and waited for the conversion to finish. Nothing was typed.
Returned Markdown: the letter's text, the results table and the signature block
Copied from Output file (Markdown), lines 3–20, 22–29, 31–42
# Kirkhollow Analytical Laboratories Ltd Braithe Road, Vardenne BR7 2HD 01632 960118 · reception@kirkhollow-labs.example Ms R. Sandiman Braithe Estuary Partnership Estuary House, Vardenne Quay Braithe BR3 4LN Our reference: KAL-11938/26 Date of report: 4 February 2026 ## Certificate of analysis Dear Ms Sandiman Thank you for the four water samples delivered to this laboratory on 28 January 2026. They were booked in as batch KAL-11938 and analysed by the methods shown. The results below relate only to the samples as received. | | | |---------------------------|-------------------------------| | Sampling point | Vardenne Channel, station VQ1 | | Date and time of sampling | 27 January 2026, 09:40 | | Total suspended solids | 41.6 mg/l (method KAL-M04) | | Chloride | 18,200 mg/l (method KAL-M11) | | Ammoniacal nitrogen | 0.42 mg/l (method KAL-M12) | | Dissolved organic carbon | 5.9 mg/l (method KAL-M22) | The suspended solids figure is higher than those reported for this station in December and January, which were both below 30 mg/l. The samples were taken on the ebb, two days after the last placement at Kellow Sands, and the result is consistent with that. The remaining samples will be held until 4 March 2026 and destroyed after that date unless you ask us to keep them. Yours sincerely  Handwritten signature of the author Dr A. J. Prosser Laboratory Manager
API response: the completed conversion of one page, holding the same Markdown
Copied from Output file (JSON), status
complete
| ✓ | Expected: The visible text of the scanned page is recovered accurately.Found: Every body line came back verbatim and in order, including all six results values such as chloride at 18,200 mg/l; only the small footer line was left out. |
- file
- { "name": "certificate_of_analysis_KAL-11938.pdf", "bytes": 765015, "sha256": "a459554d58b9480b19bb3a63598c500b961c3ad377492d18ff227bb439e1f68c" }
- form
- { "output_format": "markdown" }
Show the whole file (1 KB)
{ "method": "POST", "url": "https://www.datalab.to/api/v1/convert", "headers": { "X-API-Key": "***masked***" }, "form": { "output_format": "markdown" }, "file": { "name": "certificate_of_analysis_KAL-11938.pdf", "bytes": 765015, "sha256": "a459554d58b9480b19bb3a63598c500b961c3ad377492d18ff227bb439e1f68c" } }
- config_note
- default pipeline: `mode` not set (product default `balanced`), output_format=markdown
- extra › polls
- [ { "t": 4.6, "http": 200, "status": "complete", "progress": 100 } ]
Show the whole file (2 KB)
{ "product": "Datalab", "subject_slug": "datalab", "test_case": "TC35 · Clean scan — text recovered", "task": "86bd5xtat", "test_case_version_id": "1488990a-38e2-49e9-a3b2-dfaa0e0ab6be", "input": { "artifact_id": "ad257a85-cf57-4e8a-a1a9-70a5f952d9cd", "sha256": "a459554d58b9480b19bb3a63598c500b961c3ad377492d18ff227bb439e1f68c", "line": "AI_DEMOS_INPUT artifact=ad257a85-cf57-4e8a-a1a9-70a5f952d9cd sha256=a459554d58b9480b19bb3a63598c500b961c3ad377492d18ff227bb439e1f68c", "url": "https://d3epheqghktydj.cloudfront.net/research-artifacts/a459554d58b9480b19bb3a63598c500b961c3ad377492d18ff227bb439e1f68c.pdf", "name": "certificate_of_analysis_KAL-11938.pdf" }, "endpoint": "https://www.datalab.to/api/v1/convert", "config_note": "default pipeline: `mode` not set (product default `balanced`), output_format=markdown", "surface": "API", "tool_version": "not exposed", "plan_tier": "not exposed by the API", "run_time": "2026-11-22 11:03 IST", "latency_s": 4.6, "pages": 1, "cost": "0¢ (Datalab cost_breakdown.final_cost_cents)", "output_file": "output.md", "output_chars": 1595, "output_sha256": "077f8acb0fb5f8a7cb52f9f6c6201450f109aaf85cd6416b58cb87671ce87d1e", "response_file": "api_response.json", "request_file": "request.json", "run_file": "run.json", "source_renders": ["source_page_1.png"], "extra": { "submit_response": { "success": true, "error": null, "request_id": "9_TG7RAAM-G7oT74QwWk0Q", "request_check_url": "https://www.datalab.to/api/v1/convert/9_TG7RAAM-G7oT74QwWk0Q", "versions": null, "checkpoint_reused": null }, "polls": [ { "t": 4.6, "http": 200, "status": "complete", "progress": 100 } ] } }
It is a Pass: the page was an image with no text, and every body line of the scan came back verbatim and in order with no misread characters. Only the small footer was missing, and leaving out such page furniture counts as correct.
Signature description printed as text. After the signature image, its generated description, 'Handwritten signature of the author', is repeated as a plain body line, although it is not text on the page.
Results block became a table. The six-row label and value results block became a two-column table with an empty header row.
Configuration and setup
How this tool was set up for the run and what the test needed in place. Each row is a fact from the run's records; a fact the records do not hold is left out, not guessed.
How this scenario is graded
How we decide Pass, Fail and Not gradable. The same rules apply to every tool tested on this scenario.
Each test case gets one result per tool: Pass, Fail or Not gradable. A test case we haven't run yet shows Untested. There are no partial results.
- Pass: the tool did everything the test expected, and nothing it said contradicts the correct answer.
- Fail: at least one expected behaviour clearly didn't happen; the test case's result says which one and quotes the tool.
- Not gradable: our evidence couldn't settle the outcome (for example a record we needed is missing). It is never counted as a fail, and the test case's result says what's missing.
Where this sits in the benchmark
This page is one cell of a larger study: one tool, one scenario. Only this benchmark's frame appears here.
| Level | Name | Scope |
|---|---|---|
| Benchmark | Converting a complex PDF into clean Markdown with a hosted API → | 12 scenarios · 14 tools |
| Capability | Scanned Document OCR → | |
| Scenario | A cleanly scanned document → | |
| Tool | Datalab → |
Global scenario definition → · Global capability definition → · Datalab product page →
History of this result
What has happened to this result since it was first published. Runs and grades are never overwritten: a retest or a re-grade publishes a new result and keeps the earlier one readable.
Act on this result
Nothing filed here edits the run or the grade. A challenge opens a review, and a review can produce a new run or a re-grade — which becomes the current result and leaves this one in the history.
You run the same kind of test against your own setup and get the same behaviour.
Agree →Yours behaves differently. Tell us what you got, with a screenshot if you have one.
Disagree →Something here is wrong — a reference value, a transcription, a grade.
Report an issue →Tell us what changed and we schedule a rerun of the failing test case. The old result stays as history.
Vendor notice →The same record is available as structured data through the AI Demos MCP server, with the counts, the coverage and every per-test-case reason carried as fields.
Verify the proof files
These files support this result. Open a file to inspect the original evidence.
File fingerprints (SHA-256)
A fingerprint identifies the exact file used for this result.