CivilCADBench / README.md
Leo-Zheng's picture
Update dataset card introduction
49b1fe4 verified
|
Raw History Blame Contribute Delete
4.66 kB
metadata
pretty_name: CivilCADBench
language:
  - zh
license: cc-by-nc-4.0
task_categories:
  - visual-question-answering
  - image-to-text
tags:
  - civil-engineering
  - engineering-drawings
  - cad
  - dxf
  - benchmark
size_categories:
  - 1K<n<10K
configs:
  - config_name: single_sheet
    drop_labels: true
    data_files:
      - split: test
        path:
          - data/understanding/single_sheet/metadata.jsonl
          - data/understanding/single_sheet/pages/*.png
  - config_name: multi_sheet
    drop_labels: true
    data_files:
      - split: test
        path:
          - data/understanding/multi_sheet/metadata.jsonl
          - data/understanding/multi_sheet/images/*/few_sheet/*.png

CivilCADBench

A printed drawing shows lines and text, but not the layers, the dimension entities or which object each printed value refers to; these are kept in the designers' CAD file. CivilCADBench tests how much of this a model can recover, in three tasks of rising difficulty: understanding, reconstruction and design. The drawings are real construction drawing sets of roads, bridges, tunnels and municipal works; questions and answers are in Chinese.

Contents

Part Folder Size
Understanding, Single-Sheet data/understanding/single_sheet 1,800 questions, one page image each
Understanding, Few-Sheet data/understanding/multi_sheet 379 questions, 1,935 sub-questions
Understanding, Full-Set data/understanding/multi_sheet 326 of the 379 questions posed on the whole set, 1,966 sub-questions
Reconstruction L1 data/reconstruction/L1 232 pages
Reconstruction L2 data/reconstruction/L2 28 sets, 230 pages
Design L3 data/reconstruction/L3 19 tasks

Every item is self-contained: its row or its folder lists all the files it needs.

Understanding

data/understanding/
  single_sheet/items.jsonl            one question per line
  single_sheet/pages/SS-0001.png ...  the page of that question
  multi_sheet/items.jsonl             one question per line, its sub-questions nested
  multi_sheet/prompts.json            the instructions used for questions and sub-questions
  */metadata.jsonl                    the same questions in the form the dataset viewer reads
  multi_sheet/images/<id>/few_sheet/01.png ...   the pages shown in Few-Sheet, in the order shown
  multi_sheet/images/<id>/full_set/p01.png ...   every page of the set (questions posed in Full-Set only)

All questions are multiple-response choice questions (one or more correct options); sub-questions ask for a number, a count or a short label. Field descriptions are in docs/DATA.md of the code repository.

Reconstruction and design

One folder per task with TASK.md, the input (input.pdf, or ref/ for L3) and the ground truth under gt/ (the designers' CAD files, as layered DXF, with their metadata).

How to use

git clone https://github.com/AgentiCivil/CivilCADBench && cd CivilCADBench && pip install -e .
ccb --data <this dataset>/data selfcheck
ccb --data <this dataset>/data export understanding --tier single --out requests/
ccb --data <this dataset>/data grade understanding --tier single responses.jsonl
ccb --data <this dataset>/data export workspace --level L1 --out runs/my-agent
ccb score runs/my-agent

ccb hands out the inputs as files and scores the outputs you hand back; it never calls a model.

Scoring is deterministic; no model is used as a judge. See docs/PROTOCOL.md and docs/SCORING.md in the code repository.

Privacy

The drawings come from real engineering projects. Personal and organisation information has been removed from the images and the CAD files. If you find any that was missed, please open an issue in the code repository and it will be removed.

Licence

The dataset is released under the Creative Commons Attribution-NonCommercial 4.0 International licence (CC BY-NC 4.0). Commercial use is not permitted.

Citation

@misc{zheng2026civilcadbench,
  title         = {CivilCADBench: Benchmarking Multimodal LLMs for Understanding,
                   Reconstructing, and Designing Civil Engineering Drawing Sets},
  author        = {Zelin Zheng and Difei Wu and Xinyan Liu and Minghong Chen and
                   Antoni B. Chan and Difan Zou},
  year          = {2026},
  eprint        = {2611.28853},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2611.28853}
}