Improve small details and add information about repositories
Browse files
README.md
CHANGED
@@ -72,9 +72,9 @@ configs:
|
|
72 |
- split: test
|
73 |
path: commitchronicle-py-long-labels/test-*
|
74 |
---
|
75 |
-
#
|
76 |
|
77 |
-
This is the
|
78 |
|
79 |
## How-to
|
80 |
|
@@ -96,12 +96,16 @@ This is the data for CMG benchmark as part of LCA.
|
|
96 |
dataset = load_dataset("JetBrains-Research/lca-cmg", configuration, split="test")
|
97 |
```
|
98 |
|
99 |
-
|
100 |
-
|
|
|
101 |
|
102 |
## Dataset Structure
|
103 |
|
104 |
-
This dataset contains
|
|
|
|
|
|
|
105 |
|
106 |
|
107 |
### Full data
|
@@ -126,7 +130,7 @@ We consider two possible commit modifications formats:
|
|
126 |
|
127 |
Currently, only [CommitChronicle](https://huggingface.co/datasets/JetBrains-Research/commit-chronicle) is considered as an input source, so only the first commit modifications format is used.
|
128 |
|
129 |
-
|
130 |
|
131 |
Data point example:
|
132 |
|
@@ -176,4 +180,8 @@ Data point example:
|
|
176 |
'message': 'Add auto_id_policy and logs_path flags\n\nThese changes were introduced in the 1.7.5 SDK.',
|
177 |
'label': 1,
|
178 |
'comment': 'no way to know the version'}
|
179 |
-
```
|
|
|
|
|
|
|
|
|
|
72 |
- split: test
|
73 |
path: commitchronicle-py-long-labels/test-*
|
74 |
---
|
75 |
+
# 🏟️ Long Code Arena (Commit Message Generation)
|
76 |
|
77 |
+
This is the benchmark for Commit Message Generation task as part of 🏟️ Long Code Arena benchmark.
|
78 |
|
79 |
## How-to
|
80 |
|
|
|
96 |
dataset = load_dataset("JetBrains-Research/lca-cmg", configuration, split="test")
|
97 |
```
|
98 |
|
99 |
+
Note that all the data we have is considered to be inthe test split.
|
100 |
+
|
101 |
+
**Note.** Working with git repositories under [`repos`](https://huggingface.co/datasets/JetBrains-Research/lca-cmg/tree/main/repos) directory is not supported via 🤗 Datasets. Download and extract the contents of each repository. We provide a full list of files in [`paths.json`](https://huggingface.co/datasets/JetBrains-Research/lca-cmg/blob/main/paths.json).
|
102 |
|
103 |
## Dataset Structure
|
104 |
|
105 |
+
This dataset contains three kinds of data:
|
106 |
+
* *full data* about each commit (including modifications)
|
107 |
+
* metadata with quality *labels*
|
108 |
+
* compressed *git repositories*
|
109 |
|
110 |
|
111 |
### Full data
|
|
|
130 |
|
131 |
Currently, only [CommitChronicle](https://huggingface.co/datasets/JetBrains-Research/commit-chronicle) is considered as an input source, so only the first commit modifications format is used.
|
132 |
|
133 |
+
#### List of diffs (CommitChronicle)
|
134 |
|
135 |
Data point example:
|
136 |
|
|
|
180 |
'message': 'Add auto_id_policy and logs_path flags\n\nThese changes were introduced in the 1.7.5 SDK.',
|
181 |
'label': 1,
|
182 |
'comment': 'no way to know the version'}
|
183 |
+
```
|
184 |
+
|
185 |
+
### Git Repositories
|
186 |
+
|
187 |
+
This section concerns [`repos`](https://huggingface.co/datasets/JetBrains-Research/lca-cmg/tree/main/repos) directory, which stores compressed Git repositories for all the commits in this benchmark. After you download and extract it, you can work with each repository either via Git or via Python libraries like [GitPython](https://github.com/gitpython-developers/GitPython) or [PyDriller](https://github.com/ishepard/pydriller).
|