Create Readme.md
Browse files
Readme.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
In code comprehension tasks, students may be asked to explain critical steps of the code.
|
| 2 |
+
The ability to automatically assess these self-explanations offers a unique opportunity to understand the current state of student knowledge,
|
| 3 |
+
recognize possible misconceptions, and provide feedback. Annotated datasets are needed to train Artificial Intelligence/Machine Learning approaches for the
|
| 4 |
+
automated assessment of student explanations. To answer this need, we present a novel corpus called SelfCode which consists of
|
| 5 |
+
1,770 sentence pairs of student and expert self-explanations of JAVA code examples along with semantic similarity judgments provided by experts.
|
| 6 |
+
|
| 7 |
+
## Data Set Example
|
| 8 |
+
| Line of Code | Crowd Sourced Explanation | ExpertExplanation | Annotation Score |
|
| 9 |
+
| --- | --- | ---| --- |
|
| 10 |
+
| int [] arr = { 1, 2, 3}; | Declares the array we want to use for our assignment | We initialize the array of type int to hold the specified numbers. | 4 |
|
| 11 |
+
| int num = 15; | variable decleration: declares the number we are trying to divide | We could initialize it to any positive integer greater than 1. | 1 |
|
| 12 |
+
| divisor += 1; | if the loop condition is true, then we increment the divisor by 1 | When the divisor is not a factor of the number, we increment the variable divisor by 1. | 3 |
|
| 13 |
+
| int seconds = scan.nextInt(); | Get the number entered by the user. | We read the seconds by calling the nextInt() method because this input is an integer. | 2 |
|
| 14 |
+
| System.out.println("Enter an integer: "); | Ask the user to enter an integer. | We prompt the user to enter an integer.| 5 |
|
| 15 |
+
|
| 16 |
+
## Data Set Stats
|
| 17 |
+
|
| 18 |
+
| Annotation Label | No. of sentence pairs |
|
| 19 |
+
| --- | --- |
|
| 20 |
+
| 1 | 529 |
|
| 21 |
+
| 2 | 507 |
|
| 22 |
+
| 3 | 419 |
|
| 23 |
+
| 4 | 253 |
|
| 24 |
+
| 5 | 62 |
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
# Cite Our Work
|
| 28 |
+
If you use the SelfCode data set, please cite [our publication](https://journals.flvc.org/FLAIRS/article/view/133385/137950):
|
| 29 |
+
```bibtex
|
| 30 |
+
@article{Chapagain_Risha_Banjade_Oli_Tamang_Brusilovsky_RUs,
|
| 31 |
+
title = {SelfCode: An Annotated Corpus and a Model for Automated Assessment of Self-Explanation During Source Code Comprehension},
|
| 32 |
+
volume = {36},
|
| 33 |
+
url = {https://journals.flvc.org/FLAIRS/article/view/133385},
|
| 34 |
+
number = {1},
|
| 35 |
+
journal = {The International FLAIRS Conference Proceedings},
|
| 36 |
+
author = {Chapagain, Jeevan and Risha, Zak and Banjade, Rabin and Oli, Priti and Tamang, Lasang and Brusilovsky, Peter and Rus, Vasile}
|
| 37 |
+
}
|
| 38 |
+
```
|