{
  "name": "Construction Quantities Benchmark",
  "id": "cqb-v1",
  "version": "1",
  "edition": "631c9e6dc3bd",
  "sha256": "631c9e6dc3bd53884a58623ce3bf212ff09b5535a7fc187342d57bf2dcdc1364",
  "bytes": 8629676,
  "file": "https://craftquantities.com/api/v1/benchmark/cqb-v1.jsonl",
  "format": "JSON Lines: one item per line, UTF-8",
  "documentation": "https://craftquantities.com/benchmark/",
  "scoring": "https://craftquantities.com/benchmark/scoring/",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Construction Quantities Benchmark — Craft Quantities, craftquantities.com",
  "status": "First-party. Every expected value is a Craft Quantities calculator's own, from test vectors written by the people who wrote the calculators. The benchmark measures agreement with these published, cited calculators — not the truth of any construction figure — and no results for any model are published with it.",
  "currentTo": "2026-11-14",
  "counts": {
    "items": 3368,
    "calculatorsWithItems": 1131,
    "calculatorsWithVectors": 1181,
    "vectors": 3536,
    "answersInDifferentUnits": 1688,
    "excluded": {
      "money": 150,
      "partial-vector": 18,
      "refused": 0,
      "no-figure": 0
    }
  },
  "excludedMeaning": {
    "money": "The calculator takes or returns money. The site supplies no prices, and arithmetic on a reader's own price is not a quantities question.",
    "partial-vector": "The vector leaves an input out and its figure needs that input undefined — a state the page never runs.",
    "refused": "The calculator refuses the vector's inputs as the page would read them.",
    "no-figure": "A unit system shows no figure for those inputs."
  },
  "fields": [
    {
      "field": "id",
      "meaning": "The calculator's slug and the vector's place among its test cases — concrete-calculator/1. Stable within an edition; a calculator that gains or reorders vectors makes a new edition."
    },
    {
      "field": "calculator",
      "meaning": "Which calculator the question comes from: slug, title, category, the version that produced the answer, and its page, where the method and every assumption are stated."
    },
    {
      "field": "case, task",
      "meaning": "The vector's own name for the scenario, and what is being worked out — the calculator's result label, such as \"Concrete needed\"."
    },
    {
      "field": "inputs",
      "meaning": "Every input the calculator takes, each in its base unit (metres, square metres, litres, kilograms) and restated as a metric reader and a US reader see it on the page. fromVector is false where the vector leaves an input out and it takes the value the page opens on."
    },
    {
      "field": "prompt.metric, prompt.imperial",
      "meaning": "The question as one line of text, once in metric and once in US customary units, ending with the unit the answer is wanted in. Ask it as written; reworded prompts make scores incomparable."
    },
    {
      "field": "answer.metric, answer.imperial",
      "meaning": "The figure the page shows a metric or a US reader for those inputs, as it prints it, with the tolerance the item is marked to. The two can differ beyond units: a bag count is worked for the bag each market sells."
    },
    {
      "field": "answer.canonical",
      "meaning": "The figure the test vector itself pins, in the calculator's own unit, with its tolerance in decimal places — the stricter mark, for anyone checking an implementation rather than a model."
    },
    {
      "field": "steps",
      "meaning": "The labelled intermediates the calculator produced on the way, so a wrong answer can be traced to the step where it leaves the calculator's working."
    },
    {
      "field": "allowance, confidence",
      "meaning": "Any waste or safety allowance already folded into the answer, with its percentage, and the confidence the calculator returns for those inputs."
    }
  ],
  "marking": [
    {
      "name": "Within tolerance (the headline score)",
      "rule": "An answer is right when it is a number in the unit the prompt asks for and |answer − value| ≤ tolerance, with value and tolerance from answer.metric or answer.imperial. The tolerance is half a unit in the last place the page prints, or 1% of the figure, whichever is larger — so a count must be the whole number, and a volume of 9.6 m³ (12.6 yd³) is right from 9.504 to 9.696 m³."
    },
    {
      "name": "Exact to the vector (for implementations)",
      "rule": "A result in the calculator's own unit is right when |result − canonical.value| < 0.5 × 10^−toleranceDecimalPlaces. This is how the site's own test suite holds each calculator; it is too strict for a model's prose answer, and meant for code that re-implements a calculator."
    }
  ],
  "setups": [
    {
      "name": "Closed book",
      "what": "The model gets the prompt and nothing else. Many answers rest on conventions the calculator's page states but the prompt does not — the yield of a bag, a density, how waste is applied, where a count rounds up — so this measures whether a model knows the trade's conventions as well as its arithmetic."
    },
    {
      "name": "With tools",
      "what": "The model may call calculators — this site's engine or any other — but must not see the benchmark file, its items or the pages that print them. Say which tools were available; a model that reaches the same calculator the item came from should match it, and the interest is in whether it finds and drives the right one."
    }
  ],
  "byCategory": [
    {
      "category": "renovation-construction",
      "title": "Renovation & Construction",
      "calculators": 89,
      "items": 299
    },
    {
      "category": "electrical",
      "title": "Electrical",
      "calculators": 40,
      "items": 260
    },
    {
      "category": "plumbing-hvac",
      "title": "Plumbing & HVAC",
      "calculators": 52,
      "items": 157
    },
    {
      "category": "insulation-efficiency",
      "title": "Insulation & Efficiency",
      "calculators": 35,
      "items": 123
    },
    {
      "category": "materials-quantities",
      "title": "Materials & Quantities",
      "calculators": 672,
      "items": 1759
    },
    {
      "category": "financial-adjacent",
      "title": "Financial-Adjacent",
      "calculators": 4,
      "items": 28
    },
    {
      "category": "measurements-conversions",
      "title": "Measurements & Conversions",
      "calculators": 111,
      "items": 342
    },
    {
      "category": "auto-utility",
      "title": "Auto/Utility",
      "calculators": 23,
      "items": 61
    },
    {
      "category": "landscaping-outdoor",
      "title": "Landscaping & Outdoor",
      "calculators": 30,
      "items": 98
    },
    {
      "category": "pools-water",
      "title": "Pools & Water Features",
      "calculators": 17,
      "items": 66
    },
    {
      "category": "solar-energy",
      "title": "Solar & Energy Storage",
      "calculators": 10,
      "items": 29
    },
    {
      "category": "sustainability-compliance",
      "title": "Sustainability & Compliance",
      "calculators": 19,
      "items": 73
    },
    {
      "category": "heavy-civil",
      "title": "Heavy Civil & Infrastructure",
      "calculators": 29,
      "items": 73
    }
  ],
  "citation": {
    "author": "Craft Quantities",
    "title": "Construction Quantities Benchmark",
    "version": "1 (edition 631c9e6dc3bd)",
    "sourcesChecked": "2026-11-14",
    "url": "https://craftquantities.com/benchmark/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Construction Quantities Benchmark. Version 1 (edition 631c9e6dc3bd). Sources checked 2026-11-14. https://craftquantities.com/benchmark/",
      "apa": "Craft Quantities. (2026). Construction Quantities Benchmark (Version 1 (edition 631c9e6dc3bd)) [Dataset]. Retrieved from https://craftquantities.com/benchmark/",
      "harvard": "Craft Quantities (2026) Construction Quantities Benchmark (Version 1 (edition 631c9e6dc3bd)). Available at: https://craftquantities.com/benchmark/",
      "bibtex": "@misc{craftquantities-benchmark,\n  author       = {{Craft Quantities}},\n  title        = {Construction Quantities Benchmark},\n  version      = {1 (edition 631c9e6dc3bd)},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/benchmark/}},\n}"
    }
  },
  "versioning": "version changes only when an item's fields or the way items are made change. edition is the first twelve hex digits of the file's SHA-256 and changes whenever any item does — a calculator's new version, a corrected vector. Only the current edition is hosted; the SHA-256 lets anyone confirm that a copy they hold is the edition a citation names."
}
