Coded literature database and multi-level evaluation code for a systematic review of AI-based digitization of piping and instrumentation diagrams (P&IDs)
Description
Supplementary data for a systematic review of AI-based digitization of piping and instrumentation diagrams (P&IDs) and its multi-level evaluation. Supplementary Spreadsheet S1 contains the complete literature database of the review (127 studies: 90 in the quantitative synthesis and 37 contextual studies, plus excluded records), the title/abstract and full-text screening decisions, the PRISMA 2020 counts, the search strategies and search-sensitivity checks, the evaluation-level coding (L1–L6) with verbatim evidence, the comparison of relation-level scores in the coded studies, and the counts behind the figures and tables. Supplementary Material S2 contains the code, settings, and per-drawing results of the illustrative multi-level evaluation on the public PID2Graph OPEN100 drawings (detector training and evaluation, rule-based connectivity reconstruction, error-propagation simulation, and single-omission sensitivity) and the scripts that generate the figures. The PID2Graph data are not redistributed; S2 includes a script that downloads them from Zenodo (record 14803338).
Files
Steps to reproduce
Supplementary Spreadsheet S1 (xlsx): open in Excel; the README sheet describes every sheet and column. All counts in the article can be recomputed from the sheets Studies and Evaluation_levels; the sheet Distributions lists the resulting counts and percentages, and the sheet Relation_metrics_v1.5 gives the comparison of relation-level scores in Section 7.4. Supplementary Material S2 (zip): see README.md in the archive root and run the scripts from there; the Python environment is listed in environment.txt. The single-omission sensitivity is computed by code/e3d_sensitivity.py after code/e3c_baseline.py. Supplementary Material S2 (zip): unzip and see README.md. Python 3.12; package versions are listed in environment.txt. Run all scripts from the archive root. 1. code/download.py downloads the two required PID2Graph subsets (Zenodo record 14803338, CC BY-SA 4.0); the data are not redistributed here. 2. code/e3_simulation.py, code/e3b_robustness.py and code/e3c_baseline.py reproduce the error-propagation simulation (deterministic seeds). 3. code/e2_connectivity.py reproduces rule-based connectivity with ground-truth symbols. 4. code/e1_tiles.py, code/e1_train.py and code/e1_eval.py reproduce detector training and end-to-end evaluation (GPU recommended). 5. figs/*.py regenerate Figures 6-17 and the graphical abstract in figs/out.
Institutions
- Korea UniversitySeoul, Seoul
Categories
Funders
- Ministry of Trade, Industry and EnergyGovernment of the Republic of KoreaSejong-si, SejongGrant ID: RS-2025-04752997
- National Research Foundation of KoreaMinistry of Science and ICTDaejeon, DaejeonGrant ID: RS-2026-25492385