Published April 14, 2024 | Version v1
Conference paper Open

PathOCL: Path-Based Prompt Augmentation for OCL Generation with GPT-4

  • 1. ROR icon Polytechnique Montréal

Description

The dataset has been used in our empirical study to evaluate our proposed approach PathOCL: A path-based prompt augmentation technique for OCL generation.

The dataset contains 15 UML class models written in the PlantUML (.puml) format and the USE (.use) format. All the English specifications are written in the specifications.json file and can be directly used within the prompts. The templates of our prompts are written in the prompts.json file.

The directory structure:

pathocl_dataset
 │
 ├── UML
 │   ├── Airport
│     ├── Airport.puml
│     ├── Airport.use  │ ├── BusinessRelations
│     ├── BusinessRelations.puml
│     ├── BusinessRelations.use │ ├── EmploymentAgency
│     ├── EmploymentAgency.puml
│     ├── EmploymentAgency.use  │ ├── EURental
│     ├── EURental.puml
│     ├── EURental.use  │ ├── HealthRecord
│     ├── HealthRecord.puml
│     ├── HealthRecord.use  │ ├── InvoicingOrders
│     ├── InvoicingOrders.puml
│     ├── InvoicingOrders.use  │ ├── ISP
│     ├── ISP.puml
│     ├── ISP.use  │ ├── LibraryDomain
│     ├── LibraryDomain.puml
│     ├── LibraryDomain.use  │ ├── Mortgage
│     ├── Mortgage.puml
│     ├── Mortgage.use  │ ├── Person
│     ├── Person.puml
│     ├── Person.use  │ ├── QUDV
│     ├── QUDV.puml
│     ├── QUDV.use  │ ├── Royal&Loyal
│     ├── Royal&Loyal.puml
│     ├── Royal&Loyal.use  │ ├── Tournament
│     ├── Tournament.puml
│     ├── Tournament.use  │ ├── Train
│     ├── Train.puml
│     ├── Train.use  │ └── Vehicle
│     ├── Vehicle.puml
│     ├── Vehicle.use  │ ├── prompts.json
│  └── specifications.json

Files

pathocl_dataset.zip

Files (26.9 kB)

Name Size Download all
md5:c8eeea37b78338e7550d67f296696bcb
26.9 kB Preview Download