Datasets:
Update Data Structures
Browse files
README.md
CHANGED
@@ -52,7 +52,21 @@ Commercial Purposes, Infer Personal Information
|
|
52 |
|
53 |
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
54 |
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
## Dataset Creation
|
58 |
|
|
|
52 |
|
53 |
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
54 |
|
55 |
+
The dataset comprises 11 columns, detailed as follows:
|
56 |
+
|
57 |
+
- `task_type`: Identifies the task category, with options including `infilling_java`, `completion_java`, `infilling_python`, and `completion_python`.
|
58 |
+
|
59 |
+
- `code_task`: Describes the nature of the coding tasks. For Java, the tasks involve advanced academic projects focusing on text processing, data structures (such as AVL, B-tree, M-Tree), and statistical algorithms. Python tasks span from notebook scripts to object-oriented programming, covering areas like linear programming, computer vision, and reinforcement learning.
|
60 |
+
|
61 |
+
- `start_line` and `end_line`: Specify the beginning and ending line numbers of the code segment targeted for completion.
|
62 |
+
|
63 |
+
- `before`, `between`, and `after`: Capture the code preceding the target code block, the ground truth of the target code block, and the code following the target block, respectively.
|
64 |
+
|
65 |
+
- `reason_categories_output`: A collection of dictionaries detailing the `usage_line` for logical components within the target code block, including elements like `If Body`, `If Condition`, `Loop Body`, etc.
|
66 |
+
|
67 |
+
- `horizon_categories_output`: Documents the programming constructs such as `Global_Variable`, `Function`, `Class`, along with their `define_line` and `usage_line`.
|
68 |
+
|
69 |
+
- `reason_freq_analysis` and `horizon_freq_analysis`: These dictionaries tally the occurrences within `reason_categories_output` and `horizon_categories_output`, respectively.
|
70 |
|
71 |
## Dataset Creation
|
72 |
|