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

Can Unstract derive a value from a document?

Unstract derived a fuel-cost total that was not printed in the invoice. It returned £81.00, the exact product of the stated 450 miles and £0.18 per mile.

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.

Derived value from two present valuesPassEvidence
What we sent

We submitted the three-page Calderwood freight invoice to Unstract through the Execution API of a deployed Prompt Studio project.

InputDocument (PDF)
Input PDF: distance and fuel rate, with no fuel-cost total
Open the PDF ↗
Extraction prompts
The distance of the route, in miles, as stated on the invoice.
The fuel rate per mile, labelled 'FUEL RATE' on the document, including currency. The value may be a whole number or a decimal number - if the number in the document is in decimal form, the extraction should give the value in decimal, exactly as mentioned in the document.
The total fuel cost - calculated as the distance in miles multiplied by the fuel rate per mile. This value does NOT appear anywhere in the document; you must compute it from distance_miles x fuel_rate_per_mile.
What the tool returned
JSON
{
  "output": {
    "distance_miles": "450 miles",
    "total_fuel_cost": "£81.00",
    "fuel_rate_per_mile": "£0.18 per mile"
  }
}

Structured output: the returned distance, fuel rate and £81.00 fuel-cost total

Copied from Output file (JSON), item 1 › result › output

Open the whole JSON file ↗
Expected vs. Found
✓Expected: The computed fuel cost of £81.00, derived from 450 miles at £0.18 per mile.Found: It returned £81.00, equal to 450 miles × £0.18 per mile, and returned those two stated values as the distance and fuel rate.
Supporting proof
Proof 1Captured file (JSON)
Execution log: the three field prompts and completion history
Cited values6 values from this file
schema_fields 1 › description
The distance of the route, in miles, as stated on the invoice.
schema_fields 2 › description
The fuel rate per mile, labelled 'FUEL RATE' on the document, including currency. The value may be a whole number or a decimal number - if the number in the document is in decimal form, the extraction should give the value in decimal, exactly as mentioned in the document.
schema_fields 3 › description
The total fuel cost - calculated as the distance in miles multiplied by the fuel rate per mile. This value does NOT appear anywhere in the document; you must compute it from distance_miles x fuel_rate_per_mile.
config_why
Documented Execution API; include_metadata/include_metrics/include_extracted_text requested so the result shows the source text and cost per the vendor docs. Unstract takes the fields in a Prompt Studio project: one prompt per schema field = field description verbatim, no hints (arrays are a JSON-output prompt that also names the item keys from the schema); LLM Azure GPT-4o free trial; default free-trial text extractor; deployment tool settings default. Project SDE-TC69-derived-cost, 3 text prompts.
extra › polls
[ { "t": 7.2, "http": 422, "status": "EXECUTING" }, { "t": 11.9, "http": 422, "status": "EXECUTING" }, { "t": 16.5, "http": 422, "status": "EXECUTING" }, { "t": 21.3, "http": 200, "status": "COMPLETED" } ]
rerun
null
Show the whole file (5 KB)
JSON
{
  "product": "Unstract",
  "subject_slug": "unstract",
  "case": "TC69",
  "scenario": "S67 · The value must be derived",
  "task": "86bc6rj1x",
  "deployment": "sde-tc69-derived-cost",
  "inputs": [
    {
      "name": "Calderwood_Freight_S66_S67_S72.pdf",
      "sha256": "1bcc6c7b945956c5b6f5a87d223ed3d578a62aa2c56c5fc1e3abedb4cc4de72e",
      "bytes": 120877
    }
  ],
  "schema_fields": [
    {
      "key": "distance_miles",
      "type": "string",
      "description": "The distance of the route, in miles, as stated on the invoice."
    },
    {
      "key": "fuel_rate_per_mile",
      "type": "string",
      "description": "The fuel rate per mile, labelled 'FUEL RATE' on the document, including currency. The value may be a whole number or a decimal number - if the number in the document is in decimal form, the extraction should give the value in decimal, exactly as mentioned in the document."
    },
    {
      "key": "total_fuel_cost",
      "type": "string",
      "description": "The total fuel cost - calculated as the distance in miles multiplied by the fuel rate per mile. This value does NOT appear anywhere in the document; you must compute it from distance_miles x fuel_rate_per_mile."
    }
  ],
  "required": ["distance_miles", "fuel_rate_per_mile", "total_fuel_cost"],
  "endpoint": "<base>/deployment/api/<organization_id>/<api_name>/",
  "surface": "API",
  "config": "evidence",
  "variant": null,
  "config_settings": {
    "timeout": 0,
    "include_metadata": true,
    "include_metrics": true,
    "include_extracted_text": true
  },
  "config_changed_from_default": {
    "include_metadata": {
      "value": true,
      "default": false
    },
    "include_metrics": {
      "value": true,
      "default": false
    },
    "include_extracted_text": {
      "value": true,
      "default": false
    }
  },
  "config_use_for": "any extraction where the result must show its source text, line numbers and cost (metadata carries the line numbers and whisper hash used by the highlight API)",
  "config_doc": "https://docs.unstract.com/unstract/unstract_platform/api_deployment/unstract_api_deployment_execution_api.md",
  "config_why": "Documented Execution API; include_metadata/include_metrics/include_extracted_text requested so the result shows the source text and cost per the vendor docs. Unstract takes the fields in a Prompt Studio project: one prompt per schema field = field description verbatim, no hints (arrays are a JSON-output prompt that also names the item keys from the schema); LLM Azure GPT-4o free trial; default free-trial text extractor; deployment tool settings default. Project SDE-TC69-derived-cost, 3 text prompts.",
  "config_note": "configuration `evidence` (any extraction where the result must show its source text, line numbers and cost (metadata carries the line numbers and whisper hash used by the highlight API); per https://docs.unstract.com/unstract/unstract_platform/api_deployment/unstract_api_deployment_execution_api.md): sent timeout=0, include_metadata=true, include_metrics=true, include_extracted_text=true; changed from the default: include_metadata=true (default false), include_metrics=true (default false), include_extracted_text=true (default false)",
  "rerun": null,
  "tool_version": "not exposed by the hosted product",
  "plan_tier": "Unstract Cloud free trial (14 days, 1,000K LLM tokens; free-trial Azure GPT-4o LLM)",
  "run_time": "2026-11-24 15:42 IST",
  "latency_s": 21.3,
  "pages": null,
  "cost": null,
  "output_file": "output.json",
  "response_file": "api_response.json",
  "request_file": "request.json",
  "run_file": "run.json",
  "source_renders": [
    "source_Calderwood_Freight_S66_S_page_1.png",
    "source_Calderwood_Freight_S66_S_page_2.png",
    "source_Calderwood_Freight_S66_S_page_3.png"
  ],
  "code_version": {
    "commit": "51584148c55d28dd7e10aa44d041854f6fa4c139",
    "branch": "adapter/sde-unstract",
    "uncommitted_changes": true
  },
  "extra": {
    "submit_response": {
      "message": {
        "execution_id": "afa65221-7ec5-4397-8c08-bced1e1f4f39",
        "execution_status": "PENDING",
        "status_api": "/deployment/api/org_0pMusmf6SGq5PdXO/sde-tc69-derived-cost/?execution_id=afa65221-7ec5-4397-8c08-bced1e1f4f39",
        "error": null,
        "result": null
      }
    },
    "polls": [
      {
        "t": 7.2,
        "http": 422,
        "status": "EXECUTING"
      },
      {
        "t": 11.9,
        "http": 422,
        "status": "EXECUTING"
      },
      {
        "t": 16.5,
        "http": 422,
        "status": "EXECUTING"
      },
      {
        "t": 21.3,
        "http": 200,
        "status": "COMPLETED"
      }
    ],
    "execution_id": "afa65221-7ec5-4397-8c08-bced1e1f4f39"
  }
}
Open the JSON file ↗
Proof 2Captured file (JSON)
API request: the submitted invoice and enabled response details
Cited values3 values from this file
form
{ "timeout": "0", "include_metadata": "true", "include_metrics": "true", "include_extracted_text": "true" }
input_sha256
{ "Calderwood_Freight_S66_S67_S72.pdf": "1bcc6c7b945956c5b6f5a87d223ed3d578a62aa2c56c5fc1e3abedb4cc4de72e" }
headers
{ "Authorization": "Bearer ***masked***" }
Show the whole file (1 KB)
JSON
{
  "method": "POST",
  "url": "https://eu-west.unstract.com/deployment/api/org_0pMusmf6SGq5PdXO/sde-tc69-derived-cost/",
  "headers": {
    "Authorization": "Bearer ***masked***"
  },
  "form": {
    "timeout": "0",
    "include_metadata": "true",
    "include_metrics": "true",
    "include_extracted_text": "true"
  },
  "files": [
    {
      "name": "Calderwood_Freight_S66_S67_S72.pdf",
      "bytes": 120877
    }
  ],
  "deployment": "sde-tc69-derived-cost",
  "input_sha256": {
    "Calderwood_Freight_S66_S67_S72.pdf": "1bcc6c7b945956c5b6f5a87d223ed3d578a62aa2c56c5fc1e3abedb4cc4de72e"
  }
}
Open the JSON file ↗
Cited values1 value from this file
item 1 › result › metadata › line_numbers
{ "distance_miles": [], "total_fuel_cost": [], "fuel_rate_per_mile": [] }
Why this result

The fuel-cost total needed calculation, not copying: it appears nowhere in the invoice. Unstract returned the exact product of the stated distance and fuel rate rather than either input value, meeting the requirement.

Also observed in this test case

No source line references. The returned distance, fuel rate and total fuel cost included no source line positions.

Tested by Rugved Nichite · evidence dated 24 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
Unstract
Build or version
Not exposed by the hosted product
Model
gpt-4o
Surface
API
Set up before the run
The three-page Calderwood Freight Services invoice stated a route distance of 450 miles and a fuel rate of £0.18 per mile, each once, with no fuel-cost total. A deployed Prompt Studio project used three prompts to request the distance, fuel rate and their product; each prompt used its configured field description verbatim.
Response includes
metadata · field metrics · extracted text
Tested
24 November 2026 (15:42 IST) · 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.

LevelNameScope
BenchmarkStructured Document Extraction →19 scenarios · 10 tools
CapabilityField Extraction →
ScenarioThe value must be derived →
ToolUnstract →

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
25 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/unstract/the-value-must-be-derived · 1 pass · 0 fail · coverage 1/1 · graded 2026-11-24

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 · 118 KB
Output file (JSON) ↗application/json · 21 KB
Proof 1 · Captured file (JSON) ↗application/json · 5 KB
Proof 2 · Captured file (JSON) ↗application/json · 1 KB
Same content as Output file ↗application/json · 21 KB
File fingerprints (SHA-256)

A fingerprint identifies the exact file used for this result.

Input · Document (PDF)1bcc6c7b945956c5b6f5a87d223ed3d578a62aa2c56c5fc1e3abedb4cc4de72e
Output file (JSON)db9f913c1b56af52cadfd8404a334caf365af8b292d1b29a258b0178e9a340be
Proof 1 · Captured file (JSON)f111e8c7755e5bfe234b1fa12342f307552ae2df55c08d676f0f3a11ec0d670d
Proof 2 · Captured file (JSON)6e3bbce115041bcd42f5d02a84b453d173de4f070b1a9d081b2f3dea5892ad92
Same content as Output file63b6f9096f6927c22b96a7ef4f8667d7d3c5c093b8aefc67d2dbd70a2bf6052f