Update README.md
Browse files
README.md
CHANGED
|
@@ -1,75 +1,80 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
configs:
|
| 4 |
-
- config_name: default
|
| 5 |
-
data_files:
|
| 6 |
-
- split: train
|
| 7 |
-
path: train_dataset.jsonl
|
| 8 |
-
- split: validation
|
| 9 |
-
path: eval_dataset.jsonl
|
| 10 |
-
- split: test
|
| 11 |
-
path: test_dataset.jsonl
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
- `
|
| 37 |
-
- `
|
| 38 |
-
- `
|
| 39 |
-
- `
|
| 40 |
-
- `
|
| 41 |
-
- `
|
| 42 |
-
- `
|
| 43 |
-
- `
|
| 44 |
-
- `
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
configs:
|
| 4 |
+
- config_name: default
|
| 5 |
+
data_files:
|
| 6 |
+
- split: train
|
| 7 |
+
path: train_dataset.jsonl
|
| 8 |
+
- split: validation
|
| 9 |
+
path: eval_dataset.jsonl
|
| 10 |
+
- split: test
|
| 11 |
+
path: test_dataset.jsonl
|
| 12 |
+
|
| 13 |
+
- config_name: full
|
| 14 |
+
data_files:
|
| 15 |
+
- split: train
|
| 16 |
+
path: compiled_dataset.jsonl
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# SysMLv2 Repair with SLMs
|
| 20 |
+
|
| 21 |
+
Dataset used in "Automated Semantic Fault Localization in SysML v2: A Human-in-the-Loop Framework Using Knowledge-Graph Augmented LLMs", presented at INCOSE International Symposium 2026.
|
| 22 |
+
|
| 23 |
+
## Splits
|
| 24 |
+
|
| 25 |
+
- **train**: 5,451 examples
|
| 26 |
+
- **validation**: 1,184 examples
|
| 27 |
+
- **test**: 1,145 examples
|
| 28 |
+
|
| 29 |
+
## Task
|
| 30 |
+
|
| 31 |
+
Given SysML v2 code and relevant context (compiler error, or relevant domain rules), identify and fix potential faults in it. The output is either the corrected code or a diff patch for correcting.
|
| 32 |
+
|
| 33 |
+
## Fields
|
| 34 |
+
|
| 35 |
+
- `id`: Unique identifier for each dataset instance.
|
| 36 |
+
- `source_id`: Identifier of the original (clean) code example from which this instance was derived.
|
| 37 |
+
- `mutation_category`: High-level category of the applied mutation:
|
| 38 |
+
- `domain`: domain-specific semantic changes
|
| 39 |
+
- `syntax`: syntactic errors
|
| 40 |
+
- `none`: no mutation applied
|
| 41 |
+
- `mutation_type`: Specific mutation operator used to generate the erroneous code.
|
| 42 |
+
- `bad_code`: SysML v2 code potentially containing injected errors.
|
| 43 |
+
- `good_code`: Correct version of the code.
|
| 44 |
+
- `diff_patch`: Unified diff representing the transformation from `bad_code` to `good_code`.
|
| 45 |
+
- `base_prompt`: Base prompt template used for fine-tuning; contains `bad_code` and compiler error in case of `syntax` mutations.
|
| 46 |
+
- `prompt`: Prompt containing additional context (e.g., relevant domain rules), for `domain` and `none` mutations, where no compiler error occurs.
|
| 47 |
+
- `code_response`: Repair in full code form.
|
| 48 |
+
- `patch_response`: Repair in diff/patch format.
|
| 49 |
+
- `length`: Total number of tokens in the full training sequence (prompt + response).
|
| 50 |
+
|
| 51 |
+
## Data Creation
|
| 52 |
+
|
| 53 |
+
1. A seed set of 256 examples was created from a combination of public and author-generated SysML v2 code.
|
| 54 |
+
2. Synthetic errors were introduced via:
|
| 55 |
+
- **Syntactic mutations** (5,497 instances)
|
| 56 |
+
- **Domain/semantic mutations** based on violations of rules defined in a knowledge graph (1,402 instances)
|
| 57 |
+
3. An equal number of correct (unmutated) examples were included to support classification of correct vs. erroneous code, resulting in 8,301 total instances.
|
| 58 |
+
4. Additional context was generated for each example:
|
| 59 |
+
- Compiler error messages for syntactic errors
|
| 60 |
+
- Relevant domain rules for semantic cases
|
| 61 |
+
5. Target outputs were derived, including corrected code and corresponding diff patches.
|
| 62 |
+
6. The dataset was split into train/validation/test sets using a 70/15/15 ratio.
|
| 63 |
+
|
| 64 |
+
## License
|
| 65 |
+
|
| 66 |
+
This dataset is released under CC BY 4.0. Attribution to the original authors is required.
|
| 67 |
+
|
| 68 |
+
## Citation
|
| 69 |
+
|
| 70 |
+
GitHub Repository: [SysMLv2 Repair with KG-SLMs](https://github.com/rohailamalik/SysMLv2-repair-with-KG-SLMs)
|
| 71 |
+
```bibtex
|
| 72 |
+
@inproceedings{alshami2026sysml,
|
| 73 |
+
title={Automated Semantic Fault Localization in SysML v2: A Human-in-the-Loop Framework Using Knowledge-Graph Augmented LLMs},
|
| 74 |
+
author={Al-Shami, Haitham and Malik, Rohail and Ala-Laurinaho, Riku and Veps{\"a}l{\"a}inen, Jari and Viitala, Raine},
|
| 75 |
+
booktitle={Proceedings of the 36th INCOSE International Symposium},
|
| 76 |
+
year={2026},
|
| 77 |
+
address={Yokohama, Japan},
|
| 78 |
+
month={June},
|
| 79 |
+
date={16}
|
| 80 |
+
}
|