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.
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
We uploaded the invoice to Datalab’s Forge playground and ran Convert followed by Extract once, using the supplied line-item schema.
{ "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"] }
{ "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: 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. |
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.
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.
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 | Structured Document Extraction → | 19 scenarios · 10 tools |
| Capability | Nested & Repeated Fields → | |
| Scenario | The set contains a non-record → | |
| 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.