AI Demos Research — the structured-intelligence platform. Every verdict on these pages opens to the execution behind it.
Graded 22 November 2026

Can Datalab convert a PDF that mixes digital and scanned pages?

Datalab converted the scanned page of a three-page digital PDF to Markdown instead of skipping it. The scanned page's worksheet, all six checks and readings, the calibration note, time on site and received-by details appear in place between pages 1 and 3, with every value correct.

1 of 1 test case passed

Every test case in this scenario has a result.

Pass rate100%1 of 1 gradable
Coverage1 of 1test case with a result
1PassDid everything it was expected to do.
0FailNo test case failed.
0Not gradableEvery result here could be graded.
0UntestedEvery test case in this scenario has a result.
The pass rate is a summary. The evidence is the test case below: what we sent, what we checked, what the tool returned, and the proof.

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.

Mixed pages — scanned page not skippedPassEvidence
What we sent

We uploaded the complete three-page PDF to Datalab's Convert API, asking for Markdown output and setting no mode, waited for the job to finish and saved the Markdown it returned.

InputDocument (PDF)
Input PDF: three-page service report whose second page is a scanned image
Open the PDF ↗
What the tool returned

Copied from Output file (Markdown), lines 24–69, 71–87

Markdownthe whole file · cited lines 24–69 and 71–87 marked


# Equipment service report

## CLIENT

Braithe Estuary Partnership  
Estuary House, Vardenne Quay  
Braithe BR3 4LN

|                  |                                       |
|------------------|---------------------------------------|
| Job reference    | <b>KAL-ESR-4471</b>                   |
| Date of visit    | <b>29 January 2026</b>                |
| Engineer         | <b>R. Tarbert</b>                     |
| Instrument       | <b>Kestrel 400 turbidity analyser</b> |
| Location         | <b>Vardenne Quay pumping station</b>  |
| Service interval | <b>Twelve months</b>                  |

## Reported fault

Intermittent baseline noise on channel 2, reported by the Partnership on 21 January. The analyser had been running without attention since the annual service in January 2025.

## Work carried out

The flow cell was removed, stripped and cleaned, and the pump tubing set replaced. The optical window was found to be lightly fouled on the inner face; it was cleaned rather than replaced, and should be inspected again at the next visit. The analyser was recalibrated against the two-point standards and left running on channel 2 for an hour before the site was handed back. The completed worksheet is bound in as page 2 of this report.

## Service worksheet

|                   |                        |
|-------------------|------------------------|
| Job reference     | <b>KAL-ESR-4471</b>    |
| Instrument serial | <b>GK-2214-77</b>      |
| Engineer          | <b>R. Tarbert</b>      |
| Date              | <b>29 January 2026</b> |

## CHECKS AND READINGS

|                                  |                           |
|----------------------------------|---------------------------|
| Flow cell condition on arrival   | <b>Fouled, inner face</b> |
| Flow cell pressure after service | <b>2.4 bar</b>            |
| Zero drift over 30 minutes       | <b>0.003 mg/l</b>         |
| Span recovery against standard   | <b>99.4 per cent</b>      |
| Lamp hours at service            | <b>8,140</b>              |
| Result                           | <b>Pass</b>               |

## Calibration certificate SR-4471/2

Analyser left in service on channel 2. Optical window to be inspected at the next visit.

## TIME ON SITE

|                  |                               |
|------------------|-------------------------------|
| Arrived          | <b>29 January 2026, 09:15</b> |
| Left             | <b>29 January 2026, 13:40</b> |
| Chargeable time  | <b>4 hours 25 minutes</b>     |
| Next service due | <b>January 2027</b>           |

## RECEIVED BY

|          |                                     |
|----------|-------------------------------------|
| Name     | <b>M. Cairney</b>                   |
| Position | <b>Duty operator, Vardenne Quay</b> |
| Date     | <b>29 January 2026</b>              |

Engineer's signature

## Parts fitted

| Part                    | Code    | Quantity |
|-------------------------|---------|----------|
| Pump tubing set         | PT-114  | 1        |
| Flow cell O-ring, 12 mm | OR-0912 | 2        |
| Inlet filter, 40 micron | IF-4004 | 1        |

## Declaration

The work described in this report was carried out to the standard set out in the service agreement. The analyser was left in service and calibrated. The next annual service falls due in January 2027.

|               |                  |
|---------------|------------------|
| Engineer      | R. Tarbert       |
| Countersigned | Dr A. J. Prosser |
| Report issued | 2 February 2026  |

Returned Markdown: the scanned worksheet between the digital pages' content

Open the Markdown file ↗
Output file (JSON)
API response: conversion complete, three pages processed, Markdown included
Cited values2 values from this file
status
complete
page_count
3
Show the whole file (4 KB)
JSON
{
  "progress_percent": 100,
  "status": "complete",
  "result_url": null,
  "expires_in": null,
  "output_format": "markdown",
  "chunks": null,
  "json": null,
  "markdown": "\n\n# Equipment service report\n\n## CLIENT\n\nBraithe Estuary Partnership  \nEstuary House, Vardenne Quay  \nBraithe BR3 4LN\n\n|                  |                                       |\n|------------------|---------------------------------------|\n| Job reference    | <b>KAL-ESR-4471</b>                   |\n| Date of visit    | <b>29 January 2026</b>                |\n| Engineer         | <b>R. Tarbert</b>                     |\n| Instrument       | <b>Kestrel 400 turbidity analyser</b> |\n| Location         | <b>Vardenne Quay pumping station</b>  |\n| Service interval | <b>Twelve months</b>                  |\n\n## Reported fault\n\nIntermittent baseline noise on channel 2, reported by the Partnership on 21 January. The analyser had been running without attention since the annual service in January 2025.\n\n## Work carried out\n\nThe flow cell was removed, stripped and cleaned, and the pump tubing set replaced. The optical window was found to be lightly fouled on the inner face; it was cleaned rather than replaced, and should be inspected again at the next visit. The analyser was recalibrated against the two-point standards and left running on channel 2 for an hour before the site was handed back. The completed worksheet is bound in as page 2 of this report.\n\n## Service worksheet\n\n|                   |                        |\n|-------------------|------------------------|\n| Job reference     | <b>KAL-ESR-4471</b>    |\n| Instrument serial | <b>GK-2214-77</b>      |\n| Engineer          | <b>R. Tarbert</b>      |\n| Date              | <b>29 January 2026</b> |\n\n## CHECKS AND READINGS\n\n|                                  |                           |\n|----------------------------------|---------------------------|\n| Flow cell condition on arrival   | <b>Fouled, inner face</b> |\n| Flow cell pressure after service | <b>2.4 bar</b>            |\n| Zero drift over 30 minutes       | <b>0.003 mg/l</b>         |\n| Span recovery against standard   | <b>99.4 per cent</b>      |\n| Lamp hours at service            | <b>8,140</b>              |\n| Result                           | <b>Pass</b>               |\n\n## Calibration certificate SR-4471/2\n\nAnalyser left in service on channel 2. Optical window to be inspected at the next visit.\n\n## TIME ON SITE\n\n|                  |                               |\n|------------------|-------------------------------|\n| Arrived          | <b>29 January 2026, 09:15</b> |\n| Left             | <b>29 January 2026, 13:40</b> |\n| Chargeable time  | <b>4 hours 25 minutes</b>     |\n| Next service due | <b>January 2027</b>           |\n\n## RECEIVED BY\n\n|          |                                     |\n|----------|-------------------------------------|\n| Name     | <b>M. Cairney</b>                   |\n| Position | <b>Duty operator, Vardenne Quay</b> |\n| Date     | <b>29 January 2026</b>              |\n\nEngineer's signature\n\n## Parts fitted\n\n| Part                    | Code    | Quantity |\n|-------------------------|---------|----------|\n| Pump tubing set         | PT-114  | 1        |\n| Flow cell O-ring, 12 mm | OR-0912 | 2        |\n| Inlet filter, 40 micron | IF-4004 | 1        |\n\n## Declaration\n\nThe work described in this report was carried out to the standard set out in the service agreement. The analyser was left in service and calibrated. The next annual service falls due in January 2027.\n\n|               |                  |\n|---------------|------------------|\n| Engineer      | R. Tarbert       |\n| Countersigned | Dr A. J. Prosser |\n| Report issued | 2 February 2026  |",
  "html": null,
  "extraction_schema_json": null,
  "extraction_score_average": null,
  "extraction_scoring_status": null,
  "extraction_mode": null,
  "segmentation_results": null,
  "segmentation_schema": null,
  "images": {},
  "metadata": {
    "page_stats": [
      {
        "page_id": 0,
        "num_blocks": 12
      },
      {
        "page_id": 1,
        "num_blocks": 16
      },
      {
        "page_id": 2,
        "num_blocks": 9
      }
    ],
    "failed_pages": []
  },
  "success": true,
  "error": "",
  "parse_quality_score": 5.0,
  "page_count": 3,
  "total_cost": 1.2,
  "cost_breakdown": {
    "final_cost_cents": 1.2
  },
  "runtime": 1.5419461727142334,
  "checkpoint_id": null,
  "versions": null
}
Open the JSON file ↗
Expected vs. Found
✓Expected: The scanned page's text appears in the Markdown like the digital pages' text, not silently skipped.Found: The scanned page's worksheet, six checks and readings (from 2.4 bar to Pass), calibration note, time on site and received-by details appear in place, every value correct.
Supporting proof
Proof 1Captured file (JSON)
Request as sent: the complete PDF with Markdown output and no mode
Cited values2 values from this file
file
{ "name": "service_report_KAL-ESR-4471.pdf", "bytes": 364301, "sha256": "096951b8eaf09740a926620943c7eb9b076e80144d76e7a90fb7f77056b6ef83" }
form
{ "output_format": "markdown" }
Show the whole file (1 KB)
JSON
{
  "method": "POST",
  "url": "https://www.datalab.to/api/v1/convert",
  "headers": {
    "X-API-Key": "***masked***"
  },
  "form": {
    "output_format": "markdown"
  },
  "file": {
    "name": "service_report_KAL-ESR-4471.pdf",
    "bytes": 364301,
    "sha256": "096951b8eaf09740a926620943c7eb9b076e80144d76e7a90fb7f77056b6ef83"
  }
}
Open the JSON file ↗
Proof 2Captured file (JSON)
Run record: default pipeline settings and the single completed status check
Cited values2 values from this file
config_note
default pipeline: `mode` not set (product default `balanced`), output_format=markdown
extra › polls
[ { "t": 4.7, "http": 200, "status": "complete", "progress": 100 } ]
Show the whole file (2 KB)
JSON
{
  "product": "Datalab",
  "subject_slug": "datalab",
  "test_case": "TC36 · Mixed pages — scanned page not skipped",
  "task": "86bd5xtav",
  "test_case_version_id": "14e394d6-c9cd-4ab9-b54e-5f577c66c1f4",
  "input": {
    "artifact_id": "bbae90a4-eba6-4a1c-8658-7e75bd98c7f5",
    "sha256": "096951b8eaf09740a926620943c7eb9b076e80144d76e7a90fb7f77056b6ef83",
    "line": "AI_DEMOS_INPUT artifact=bbae90a4-eba6-4a1c-8658-7e75bd98c7f5 sha256=096951b8eaf09740a926620943c7eb9b076e80144d76e7a90fb7f77056b6ef83",
    "url": "https://d3epheqghktydj.cloudfront.net/research-artifacts/096951b8eaf09740a926620943c7eb9b076e80144d76e7a90fb7f77056b6ef83.pdf",
    "name": "service_report_KAL-ESR-4471.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.7,
  "pages": 3,
  "cost": "1.2¢ (Datalab cost_breakdown.final_cost_cents)",
  "output_file": "output.md",
  "output_chars": 3534,
  "output_sha256": "ce56bc4f01c2bfe51b43767bfdaa00a88ee552b3a02fc4ca5cb9d09fd75b1621",
  "response_file": "api_response.json",
  "request_file": "request.json",
  "run_file": "run.json",
  "source_renders": ["source_page_1.png", "source_page_2.png", "source_page_3.png"],
  "extra": {
    "submit_response": {
      "success": true,
      "error": null,
      "request_id": "DcPPsiEUA5h3sBME-uokiA",
      "request_check_url": "https://www.datalab.to/api/v1/convert/DcPPsiEUA5h3sBME-uokiA",
      "versions": null,
      "checkpoint_reused": null
    },
    "polls": [
      {
        "t": 4.7,
        "http": 200,
        "status": "complete",
        "progress": 100
      }
    ]
  }
}
Open the JSON file ↗
Why this result

The test required the image-only page 2, which has no text layer, to come out like the digital pages. Its full content appears between page 1 and page 3 with every value correct, so the scanned page was processed, not skipped.

Also observed in this test case

Label and value blocks as tables. On the scanned page, label and value blocks such as the worksheet details come out as two-column tables with empty header rows, with each value wrapped in HTML bold tags.

Scanned page header and footer dropped. The scanned page's masthead and its page footer are left out of the Markdown, the same way the running header and footer are left out on the digital pages.

Tested by Pradip Nichite · evidence dated 22 November 2026

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.

Software that produced the output
Datalab
Build or version
Not exposed by the hosted product
Plan or tier
not exposed by the API
Surface
API
Set up before the run
A three-page field service report PDF: pages 1 and 3 digital with a text layer, page 2 a single scanned image with no text layer. The complete PDF was converted to Markdown once with Datalab's default pipeline, no per-tool tuning.
Output format
Markdown
Mode
not set (the product's default, balanced)
Tested
22 November 2026 · Pradip Nichite

How this scenario is graded

How we decide Pass, Fail and Not gradable. The same rules apply to every tool tested on this scenario.

How results are decided

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.

The rules
  • 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.

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.

from the publication record
24 November 2026First publishedConverting a complex PDF into clean Markdown with a hosted API v1

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.

This matches what I see

You run the same kind of test against your own setup and get the same behaviour.

Agree →
This does not match

Yours behaves differently. Tell us what you got, with a screenshot if you have one.

Disagree →
Point out an issue

Something here is wrong — a reference value, a transcription, a grade.

Report an issue →
Request a retest

On a newer build, a larger dataset, or your own setup.

Request a retest →
We have fixed this

Tell us what changed and we schedule a rerun of the failing test case. The old result stays as history.

Vendor notice →
Filed against this evidenceNothing yet. Challenges, counter-evidence and fix notices appear here with their outcome, and stay on the page after they are resolved.
Cite this result
aidemos.com/benchmarks/pdf-to-markdown-apis/results/datalab/a-document-mixing-digital-and-scanned-pages · 1 pass · 0 fail · coverage 1/1 · graded 2026-11-22

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.

Input · Document (PDF) ↗application/pdf · 356 KB
Output file (Markdown) ↗text/markdown; charset=utf-8 · 4 KB
Output file (JSON) ↗application/json · 4 KB
Proof 1 · Captured file (JSON) ↗application/json · 0 KB
Proof 2 · Captured file (JSON) ↗application/json · 2 KB
File fingerprints (SHA-256)

A fingerprint identifies the exact file used for this result.

Input · Document (PDF)096951b8eaf09740a926620943c7eb9b076e80144d76e7a90fb7f77056b6ef83
Output file (Markdown)c18bbbc1b23ab396d3525c09129aed35c61b634eaa1004d34555eb13465fe9d0
Output file (JSON)f0ed807d982c87b263ddf72622957a4dd8c297aeadf8882c4b1183e516318c63
Proof 1 · Captured file (JSON)e41ab6c3beb475b4aacdcd2a1fe1a9f42a25288b92837c4d7ceb2f6d00408cfb
Proof 2 · Captured file (JSON)e0362955e26f40c3638a43538bf0bbe7c210f966efc5ef7e1b386b5cc966f1c2