rohhaiil commited on
Commit
b650abe
·
verified ·
1 Parent(s): 472694c

Update README.md

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