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

Does Datalab exclude a non-record when extracting a set of records?

Datalab kept all five genuine invoice line items and excluded the labelled Total row. The extracted descriptions, quantities, unit prices and amounts matched the corresponding invoice entries.

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.

Total row is not a memberPassEvidence
What we sent

We uploaded the invoice to Datalab’s Forge playground and ran Convert followed by Extract once, using the supplied line-item schema.

Input 1Document (PDF)
Input PDF: invoice with five numbered items and a final Total row
Open the PDF ↗
Input 2File (JSON)
JSON schema: required line-item list with descriptions, quantities, unit prices and amounts
JSON
{
  "type": "object",
  "properties": {
    "line_items": {
      "type": "array",
      "description": "List of line items on the invoice",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "The description of the line item"
          },
          "quantity": {
            "type": "string",
            "description": "The quantity of the line item"
          },
          "unit_price": {
            "type": "string",
            "description": "The unit price of the line item"
          },
          "amount": {
            "type": "string",
            "description": "The amount of the line item"
          }
        }
      }
    }
  },
  "required": ["line_items"]
}
Open the JSON file ↗
What the tool returned
JSON
{
  "line_items": [
    {
      "description": "Retail Shelving Unit - Steel, 5-Tier",
      "description_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "Retail Shelving Unit - Steel, 5-Tier",
          "offset": 53,
          "length": 36,
          "score": 1,
          "bbox": [245, 609, 542, 636]
        }
      ],
      "quantity": "6",
      "quantity_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "6",
          "offset": 90,
          "length": 1,
          "score": 1,
          "bbox": [930, 609, 941, 636]
        }
      ],
      "unit_price": "84.00",
      "unit_price_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "84.00",
          "offset": 92,
          "length": 5,
          "score": 1,
          "bbox": [1158, 609, 1206, 633]
        }
      ],
      "amount": "504.00",
      "amount_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "504.00",
          "offset": 98,
          "length": 6,
          "score": 1,
          "bbox": [1385, 609, 1445, 633]
        }
      ]
    },
    {
      "description": "Checkout Counter - Laminate Top",
      "description_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "Checkout Counter - Laminate Top",
          "offset": 107,
          "length": 31,
          "score": 1,
          "bbox": [245, 663, 545, 689]
        }
      ],
      "quantity": "2",
      "quantity_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "2",
          "offset": 139,
          "length": 1,
          "score": 1,
          "bbox": [930, 663, 943, 687]
        }
      ],
      "unit_price": "310.00",
      "unit_price_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "310.00",
          "offset": 141,
          "length": 6,
          "score": 1,
          "bbox": [1147, 663, 1206, 687]
        }
      ],
      "amount": "620.00",
      "amount_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "620.00",
          "offset": 148,
          "length": 6,
          "score": 1,
          "bbox": [1386, 663, 1444, 687]
        }
      ]
    },
    {
      "description": "Security Tag Deactivator - Handheld",
      "description_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "Security Tag Deactivator - Handheld",
          "offset": 157,
          "length": 35,
          "score": 1,
          "bbox": [245, 716, 564, 743]
        }
      ],
      "quantity": "4",
      "quantity_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "4",
          "offset": 193,
          "length": 1,
          "score": 1,
          "bbox": [930, 716, 943, 741]
        }
      ],
      "unit_price": "45.50",
      "unit_price_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "45.50",
          "offset": 195,
          "length": 5,
          "score": 1,
          "bbox": [1158, 716, 1206, 741]
        }
      ],
      "amount": "182.00",
      "amount_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "182.00",
          "offset": 201,
          "length": 6,
          "score": 1,
          "bbox": [1386, 716, 1444, 741]
        }
      ]
    },
    {
      "description": "Price Label Printer - Thermal",
      "description_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "Price Label Printer - Thermal",
          "offset": 210,
          "length": 29,
          "score": 1,
          "bbox": [245, 770, 497, 797]
        }
      ],
      "quantity": "3",
      "quantity_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "3",
          "offset": 240,
          "length": 1,
          "score": 1,
          "bbox": [930, 770, 943, 795]
        }
      ],
      "unit_price": "162.00",
      "unit_price_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "162.00",
          "offset": 242,
          "length": 6,
          "score": 1,
          "bbox": [1147, 770, 1208, 795]
        }
      ],
      "amount": "486.00",
      "amount_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "486.00",
          "offset": 249,
          "length": 6,
          "score": 1,
          "bbox": [1385, 770, 1445, 795]
        }
      ]
    },
    {
      "description": "Shopping Basket - 20L, Set of 10",
      "description_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "Shopping Basket - 20L, Set of 10",
          "offset": 258,
          "length": 32,
          "score": 1,
          "bbox": [245, 824, 534, 851]
        }
      ],
      "quantity": "5",
      "quantity_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "5",
          "offset": 291,
          "length": 1,
          "score": 1,
          "bbox": [930, 824, 943, 848]
        }
      ],
      "unit_price": "38.00",
      "unit_price_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "38.00",
          "offset": 293,
          "length": 5,
          "score": 1,
          "bbox": [1160, 826, 1206, 848]
        }
      ],
      "amount": "190.00",
      "amount_citations": [
        {
          "block": "/page/0/Table/15",
          "page": 0,
          "text": "190.00",
          "offset": 299,
          "length": 6,
          "score": 1,
          "bbox": [1385, 824, 1442, 848]
        }
      ]
    }
  ]
}

Returned JSON: five extracted line items, each with citations

Copied from Output file (JSON), line_items

Open the whole JSON file ↗
Expected vs. Found
✓Expected: Return the five genuine invoice line items, with no non-item added and no genuine item left out.Found: The output contained five items for five genuine invoice rows, with matching descriptions, quantities, unit prices and amounts; the Total row of 1,982.00 was not returned.
Supporting proof
Proof 1Screenshot
Results screenshot: items 1–3 and citation highlights on the invoice
Open original ↗
Proof 2Screenshot
Results screenshot: items 3–5 and the list ending at item 5
Open original ↗
Proof 3Screenshot
Configuration screenshot: Balanced mode and the four-field line-item schema
Open original ↗
Why this result

The requirement covered both how many items were returned and which ones. Datalab retained the five genuine items with every value intact and excluded the total, without a schema hint about that row.

Also observed in this test case

Citations for extracted values. Every extracted value carries a citation to the invoice table. In the document view, citation highlights cover the five numbered rows, not the Total row.

Tested by Rugved Nichite · evidence dated 19 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
Surface
Web app
Set up before the run
The task used an invoice with a similarly shaped, labelled Total row after the genuine line items, plus a schema for descriptions, quantities, unit prices and amounts.
Extraction mode
Balanced
Tested
19 November 2026 · Rugved 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
23 November 2026First publishedStructured Document Extraction 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/structured-document-extraction/results/datalab/the-set-contains-a-non-record · 1 pass · 0 fail · coverage 1/1 · graded 2026-11-20

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 1 · Document (PDF) ↗application/pdf · 55 KB
Input 2 · File (JSON) ↗application/json · 1 KB
Output file (JSON) ↗application/json · 7 KB
Proof 1 · Screenshot ↗image/png · 127 KB
Proof 2 · Screenshot ↗image/png · 131 KB
Proof 3 · Screenshot ↗image/png · 99 KB
File fingerprints (SHA-256)

A fingerprint identifies the exact file used for this result.

Input 1 · Document (PDF)791590c9d422110ebebf3c1e434eebac20aff3c6728024693becc870818c26d8
Input 2 · File (JSON)56b1ee5ac339301644f147f0ea6e95696be2fb4dadf1cdf374eee6ab8133d780
Output file (JSON)135d435b6b498a82cffb717cd1ade64e62fec9f6832061b3918abc1beda9f15d
Proof 1 · Screenshot3508a08bed1dca31c724121de47245f2041429f1bae79f2b9086c36eaa2c3cce
Proof 2 · Screenshotb3464682e93661b3d0ac0c2fb6028a2ea372383c6d6cf322f637879a380e6644
Proof 3 · Screenshoteabaf9b91437be9f7f505442855089a9ef958bc43865fde24301ecda411fcdfd