一句话:发布包含557个手写UML图与人工验证PlantUML代码的公开数据集,并提供可复现验证工具。
随着大语言模型和多模态AI的兴起,从草图或图像自动生成UML重新受到关注,但缺乏带可执行真值模型的公开数据集,使评估难以复现。本文提出CAS2UML数据集,包含557个手绘图,其中271个类图、286个活动图,每张图配有人工验证的PlantUML代码。作者还提供基于PlantUML的验证工具和可复用脚本,用于检查生成UML产物的语法正确性与可渲染性,从而支持sketch-to-UML方法的可复现基准测试。数据集、验证工具、处理脚本、文档和演示视频均已公开。
Automated UML generation from sketches and images is gaining renewed attention with the rise of large language models and multimodal AI. However, reproducible evaluation remains difficult due to the lack of public datasets with executable ground-truth models. We present CAS2UML, a public dataset of 557 hand-drawn UML diagrams, including 271 class diagrams and 286 activity diagrams, each paired with manually validated PlantUML code. We also provide a PlantUML-based validation tool and reusable scripts for checking the syntactic correctness and renderability of generated UML artifacts, enabling reproducible benchmarking of sketch-to-UML approaches. The dataset, validation tool, processing scripts, documentation, and demonstration video are publicly available at: Dataset: https://huggingf ace.co/datasets/Seym0n /cas2uml_hand-drawn_to_plantuml_dataset; Tool and Scripts: https://github.com/Seym0n/handwritten-uml-dataset; Video:https://www.youtube.com/watch?v=KQrYeGgT3hs.