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 with figures and captions to Markdown?

Datalab returned the report's figure as a whole image, placed right after the paragraph that introduces it, with its caption following word for word before the next paragraph. The image came back uncropped, and all four pages of the document were processed.

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.

Figure with caption — preserved in placePassEvidence
What we sent

We uploaded the complete four-page survey report PDF to Datalab's Convert API, asking for Markdown output with no mode set, and saved the Markdown it returned. Nothing was typed.

InputDocument (PDF)
Input PDF: the four-page survey report with Figure 1 and its caption on page 2
Open the PDF ↗
What the tool returned

Returned Markdown: the figure after its introducing paragraph, then its caption

Copied from Output file (Markdown), lines 35–37, 39–55, 57–59

Markdownthe whole file · cited lines 35–37, 39–55 and 57–59 marked


# Intertidal survey of Kellow Sands and Thrimby Point

Report BEP/SR/2026/11 · Survey of 19 to 23 January 2026 · Issued February 2026

## Summary

The four fixed transects at Kellow Sands and Thrimby Point were resurveyed in January, in the third winter since sediment recharge began. This report sets out the method, the profiles measured, and the change on each transect since the surveys began.

Levels were taken at five-metre intervals along each transect with a total station from the survey marks on the training wall and at the lifeboat house. Sediment samples were taken at the mid-shore station on each transect for particle size, and are reported by the laboratory separately.

Conditions during the survey were settled, with no swell and a spring range near the mean. Nothing about the week's weather is likely to have affected the levels measured.

## Background

The Partnership has surveyed the intertidal at Kellow Sands since 2019, when the four transects were established to provide a baseline for the sediment recharge then being planned. The first two winters were surveyed before any material was placed. Placement began in the winter of 2023/24 and has been carried out in each winter since, most recently between November 2025 and January 2026.

The purpose of the survey is a narrow one. It is meant to answer whether the intertidal profile at Kellow Sands is gaining or losing sediment, and at what rate, on lines whose position is fixed. It is not a study of where the placed material goes, which would need tracer work the Partnership has not commissioned, and it cannot by itself attribute a change to the recharge rather than to the weather.

## Method

Levels were taken with a total station from the two survey marks used since 2019, at five-metre intervals along each transect and at every break of slope between them. Each line was run twice, out and back, and the two sets agreed everywhere within the tolerance the method allows. Where they did not, which happened once on transect three, the point was re-observed.

The horizontal position of each line is fixed by a mark set in concrete at the landward end and by a pin in the training wall or the marsh edge at the seaward end. All eight marks were found and checked against the 2019 coordinates before work began. The pin at the seaward end of transect two has moved and was re-established from the landward mark; the correction is recorded in the level book and is smaller than the interval between observations.

Sediment samples were taken at the mid-shore station on each line, in the order in which the lines were surveyed, and delivered to the laboratory the same afternoon. Particle size is reported separately and is not discussed here.

### The transects

Transect one runs from the seawall opposite the boatyard to the low water mark, crossing the widest part of the sand. It is the longest of the four lines and the only one on which the whole intertidal profile can be surveyed within a single tide.

Transects two and three are the pair the recharge was expected to affect. Both cross the placement footprint at its northern end, transect two some sixty metres from the discharge point and transect three about a hundred and forty. Neither has been moved since it was established, and the marks at both ends of both lines were found in good order.

The plan below shows the four lines as they were surveyed in January, together with the saltmarsh edge as it stood at the 1998 survey. The 1998 edge is drawn because it is the last edge surveyed on the ground rather than taken from photography, and because it is the line against which the advisers have asked that marsh extent be reported.

![Scientific illustration: Geological cross-section showing Kellow Sands and Thrimby Point with borehole locations T1 to T4.](164d1b48231be457522b31965610ea3b_img.jpg)

A geological cross-section diagram showing a landform labeled 'Kellow Sands' and 'Thrimby Point'. A north arrow (N) is in the top right. Four vertical lines represent boreholes labeled T1, T2, T3, and T4. Each line has three black dots indicating sample points. A dashed green line and a solid blue line represent subsurface layers.

Kellow Sands

Thrimby Point

N

T1

T2

T3

T4

Scientific illustration: Geological cross-section showing Kellow Sands and Thrimby Point with borehole locations T1 to T4.

Figure 1. Survey transects at Kellow Sands and Thrimby Point. Sampling stations are shown as filled circles and the 1998 saltmarsh edge as a broken line.

Transect four crosses the toe of the training wall and has always behaved differently from the other three. It is retained because the wall itself is the reason for the difference, and because the Partnership was asked in 2019 to keep a line there.

The stations shown on the plan are those at which sediment samples are taken, and not the points at which levels were observed: the level observations are too close together to plot at this scale. A full set of profiles is bound into the copy of this report held by the secretariat.

### Change since the first survey

Change is reported as a mean annual rate over each winter, taken across the whole intertidal part of the line. Accretion varied markedly between transects, and the pattern is the same in each of the three winters measured.

**Mean sediment accretion by transect, winters 2023/24 to 2025/26**

![Bar chart: Accretion rates across four transects for three academic years.](e863446d7d263c68be9402afd63668ac_img.jpg)

A bar chart showing accretion rates in mm/yr for four transects across three academic years: 2023/24, 2024/25, and 2025/26. The y-axis ranges from -1 to 4. Transects 1, 2, and 3 show positive accretion, while Transect 4 shows negative accretion.

The chart displays accretion rates (mm/yr) for four transects across three academic years: 2023/24, 2024/25, and 2025/26. The y-axis represents accretion rates, ranging from -1 to 4. The x-axis lists the transects: Transect 1, Transect 2, Transect 3, and Transect 4.

| Transect   | 2023/24 | 2024/25 | 2025/26 |
|------------|---------|---------|---------|
| Transect 1 | ~0.4    | ~0.7    | ~0.6    |
| Transect 2 | ~2.8    | ~3.5    | ~3.9    |
| Transect 3 | ~1.9    | ~2.4    | ~3.0    |
| Transect 4 | ~-0.6   | ~-0.7   | ~-1.0   |

The data shows that accretion rates are highest in Transect 2 and lowest in Transect 4.

Bar chart: Accretion rates across four transects for three academic years.

The rates plotted are means over the intertidal part of each line, weighted by the length of profile each observation represents. A mean of that kind conceals a good deal. On transect two most of the gain is in the upper third of the profile, and on transect four the loss is almost all at the toe of the wall; the profiles show this plainly and a mean does not.

The advisers' view, which the secretariat shares, is that three winters is too short a run to separate the effect of placement from the variation the estuary shows anyway. The transects should be resurveyed next January on the same lines and by the same method before anything is concluded from them.

### **The next survey**

The profiles themselves, the level books and the mark check sheets are held by the secretariat and are available to Partnership members on request.

The next survey is due in January 2027. The secretariat proposes to keep the January window, and to ask the laboratory for particle size on the same four stations so that the series stays comparable.
Open the Markdown file ↗

API response: the completed conversion and the extracted figure image

Copied from Output file (JSON), status

Text
complete

Copied from Output file (JSON), images · an excerpt

JSON
{
  "164d1b48231be457522b31965610ea3b_img.jpg": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAH0A+wDASIAAhEBAxEB/8QA … [36,008 characters in the file]",
  "e863446d7d263c68be9402afd63668ac_img.jpg": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCALcBOIDASIAAhEBAxEB/8QA … [53,060 characters in the file]"
}

Excerpt ends here. Open the source for the complete output.

Open the whole JSON file ↗
Expected vs. Found
✓Expected: The figure is kept, embedded or linked, at its place in the document, with its caption attached.Found: The whole figure came back as an uncropped image, placed right after its introducing paragraph; the Figure 1 caption followed word for word before the next paragraph.
Supporting proof
Proof 1Captured file (JSON)
API request: the complete PDF sent with Markdown output and no mode set
Cited values2 values from this file
file
{ "name": "intertidal_survey_BEP-SR-2026-11.pdf", "bytes": 308601, "sha256": "75b2bcc613580942d7d3222254c0f0d084525c2c6521f55cffa629c49f64c608" }
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": "intertidal_survey_BEP-SR-2026-11.pdf",
    "bytes": 308601,
    "sha256": "75b2bcc613580942d7d3222254c0f0d084525c2c6521f55cffa629c49f64c608"
  }
}
Open the JSON file ↗
Proof 2Captured file (JSON)
Run record: the default pipeline, Markdown output and one 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": 5.2, "http": 200, "status": "complete", "progress": 100 } ]
Show the whole file (2 KB)
JSON
{
  "product": "Datalab",
  "subject_slug": "datalab",
  "test_case": "TC33 · Figure with caption — preserved in place",
  "task": "86bd5xtap",
  "test_case_version_id": "a7090754-6a17-4111-8096-8ded677e5d1a",
  "input": {
    "artifact_id": "3f6de602-e643-4c2d-b8fa-5b4040012d53",
    "sha256": "75b2bcc613580942d7d3222254c0f0d084525c2c6521f55cffa629c49f64c608",
    "line": "AI_DEMOS_INPUT artifact=3f6de602-e643-4c2d-b8fa-5b4040012d53 sha256=75b2bcc613580942d7d3222254c0f0d084525c2c6521f55cffa629c49f64c608",
    "url": "https://d3epheqghktydj.cloudfront.net/research-artifacts/75b2bcc613580942d7d3222254c0f0d084525c2c6521f55cffa629c49f64c608.pdf",
    "name": "intertidal_survey_BEP-SR-2026-11.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:02 IST",
  "latency_s": 5.2,
  "pages": 4,
  "cost": "1.6¢ (Datalab cost_breakdown.final_cost_cents)",
  "output_file": "output.md",
  "output_chars": 7498,
  "output_sha256": "ce4684831abca68f2923a00c98f3f7aeb71105d279039130df222f21363e53cd",
  "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", "source_page_4.png"],
  "extra": {
    "submit_response": {
      "success": true,
      "error": null,
      "request_id": "Z-BdIDO_VLRgc2ToCA6Uyw",
      "request_check_url": "https://www.datalab.to/api/v1/convert/Z-BdIDO_VLRgc2ToCA6Uyw",
      "versions": null,
      "checkpoint_reused": null
    },
    "polls": [
      {
        "t": 5.2,
        "http": 200,
        "status": "complete",
        "progress": 100
      }
    ]
  }
}
Open the JSON file ↗
Why this result

The figure had to survive in its place with its caption attached. The returned Markdown keeps the whole figure as an image right after the paragraph that introduces it, and the caption follows word for word before the next paragraph, so this is a Pass.

Also observed in this test case

Image description misreads the figure. The generated alt text and description for Figure 1 call it a geological cross-section with boreholes, while the source figure is a plan of survey transects with sampling stations. That wording is the product's own, not text from the PDF.

Figure labels repeated as text. Figure 1's own labels, such as the place names and the four transect labels, also appear as separate text lines between the image and its caption.

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
The complete four-page survey report PDF, whose page 2 holds a plan figure with its Figure 1 caption in normal text, was converted to Markdown once with Datalab's default pipeline and no extra options.
Output format
markdown
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-with-figures-and-captions · 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 · 301 KB
Output file (Markdown) ↗text/markdown; charset=utf-8 · 7 KB
Output file (JSON) ↗application/json · 95 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)75b2bcc613580942d7d3222254c0f0d084525c2c6521f55cffa629c49f64c608
Output file (Markdown)31471d75ab1a03a7ff3a30ad098591e8570c2a493f4c06cdd345927b14980a35
Output file (JSON)9993a392506f871c4407c791b31987afc4ec68f5b7f87938467de0c736988082
Proof 1 · Captured file (JSON)4b5cc03a75b4c673690eb8605d8e3a743dfaf899ff7eb363b9cb8bd6dc463ca8
Proof 2 · Captured file (JSON)58b751f9392cadbea076c8e48943f4946c921840e3e50c44790067b5fd4d8e5d