Update README.md
Browse files
README.md
CHANGED
@@ -33,9 +33,9 @@ configs:
|
|
33 |
- split: test
|
34 |
path: data/test-*
|
35 |
---
|
36 |
-
#
|
37 |
|
38 |
-
This is the data for
|
39 |
|
40 |
## How-to
|
41 |
|
@@ -50,22 +50,26 @@ This is the data for module-to-text benchmark as part of LCA.
|
|
50 |
dataset = load_dataset("JetBrains-Research/lca-module-to-text")
|
51 |
```
|
52 |
|
53 |
-
##
|
54 |
|
55 |
Each example has the following fields:
|
56 |
|
57 |
| **Field** | **Description** |
|
58 |
|:---------------------------:|:----------------------------------------:|
|
59 |
-
| `repo` | Name of repository |
|
60 |
-
| `target_text` |
|
61 |
-
| `docfile_name` | Name of file
|
62 |
-
|
|
63 |
-
|
|
64 |
-
|
|
65 |
-
|
|
66 |
-
|
|
67 |
-
|
|
68 |
-
| `relevant_code_context` | Relevant code context |
|
69 |
|
70 |
|
71 |
-
Note: you may collect and use your own relevant context. Our context may not be suitable. Folder with zipped repositories can be found in Files and versions
|
|
|
|
|
|
|
|
|
|
|
|
33 |
- split: test
|
34 |
path: data/test-*
|
35 |
---
|
36 |
+
# 🏟️ Long Code Arena (Module Summarization)
|
37 |
|
38 |
+
This is the data for Module Summarization benchmark as part of Long Code Arena provided by Jetbrains Research.
|
39 |
|
40 |
## How-to
|
41 |
|
|
|
50 |
dataset = load_dataset("JetBrains-Research/lca-module-to-text")
|
51 |
```
|
52 |
|
53 |
+
## Datapoint Structure
|
54 |
|
55 |
Each example has the following fields:
|
56 |
|
57 |
| **Field** | **Description** |
|
58 |
|:---------------------------:|:----------------------------------------:|
|
59 |
+
| `repo` | Name of the repository |
|
60 |
+
| `target_text` | Text of the target documentation file) |
|
61 |
+
| `docfile_name` | Name of the file with target documentation |
|
62 |
+
| `intent` | One sentence description of what expected in the documentation |
|
63 |
+
| `license` | License of the target repository |
|
64 |
+
| `relevant_code_files` | Pathes to relevant code files (files that are mentioned in target documentation) |
|
65 |
+
| `relevant_code_dir` | Pathes to relevant code directories (directory that are mentioned in target documentation) |
|
66 |
+
| `path_to_docfile` | Path to file with documentation (path to the documentation file in source repository) |
|
67 |
+
| `relevant_code_context` | Relevant code context collected from relevant code files and directories |
|
|
|
68 |
|
69 |
|
70 |
+
Note: you may collect and use your own relevant context. Our context may not be suitable. Folder with zipped repositories can be found in Files and versions
|
71 |
+
|
72 |
+
## Licences
|
73 |
+
|
74 |
+
We extracted repositories with permissive license (we used the most popular permissive licenses~\cite{vendome2017license} --- MIT, Apache-2.0, BSD-3-Clause, and BSD-2-Clause).
|
75 |
+
The data points could be removed upon request
|