Improve dataset card with paper link and clearer description
#1
by
nielsr
HF staff
- opened
README.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
dataset_info:
|
3 |
features:
|
4 |
- name: class_id
|
@@ -22,17 +28,44 @@ configs:
|
|
22 |
data_files:
|
23 |
- split: test
|
24 |
path: data/test-*
|
25 |
-
license: mit
|
26 |
-
task_categories:
|
27 |
-
- summarization
|
28 |
-
- text-generation
|
29 |
tags:
|
30 |
- code summarization
|
31 |
- python
|
32 |
- function-level
|
33 |
- class-level
|
34 |
- ClassEval
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
+
size_categories:
|
4 |
+
- n<1K
|
5 |
+
task_categories:
|
6 |
+
- summarization
|
7 |
+
pretty_name: MCE
|
8 |
dataset_info:
|
9 |
features:
|
10 |
- name: class_id
|
|
|
28 |
data_files:
|
29 |
- split: test
|
30 |
path: data/test-*
|
|
|
|
|
|
|
|
|
31 |
tags:
|
32 |
- code summarization
|
33 |
- python
|
34 |
- function-level
|
35 |
- class-level
|
36 |
- ClassEval
|
37 |
+
---
|
38 |
+
|
39 |
+
# Modified ClassEval (MCE) Dataset
|
40 |
+
|
41 |
+
This dataset is a modification of the ClassEval benchmark, designed for evaluating code summarization models beyond the function level. It explores the impact of class and repository contexts on summary quality. The dataset includes modifications for evaluating at both class and repository levels.
|
42 |
+
|
43 |
+
[Paper: Code Summarization Beyond Function Level](https://hf.co/papers/2502.16704)
|
44 |
+
|
45 |
+
**Dataset Structure:**
|
46 |
+
|
47 |
+
The dataset contains samples with the following features:
|
48 |
+
|
49 |
+
* `class_id`: Identifier for the class.
|
50 |
+
* `class_code`: The code of the class.
|
51 |
+
* `skeleton`: (Likely refers to class structure, needs clarification in the original dataset)
|
52 |
+
* `method_code`: The code of a method within the class.
|
53 |
+
* `method_summary`: The summary of the method.
|
54 |
+
|
55 |
+
|
56 |
+
**Dataset Splits:**
|
57 |
+
|
58 |
+
* `test`: 410 examples.
|
59 |
+
|
60 |
+
**Tags:**
|
61 |
+
|
62 |
+
* `code summarization`
|
63 |
+
* `python`
|
64 |
+
* `function-level`
|
65 |
+
* `class-level`
|
66 |
+
* `ClassEval`
|
67 |
+
|
68 |
+
|
69 |
+
This dataset is part of a broader study investigating code summarization at various levels (function, class, and repository). The complete study details, code, and evaluation results are available on GitHub: [https://github.com/kilimanj4r0/code-summarization-beyond-function-level](https://github.com/kilimanj4r0/code-summarization-beyond-function-level).
|
70 |
+
|
71 |
+
**Note:** The repository also includes a modified CodeSearchNet dataset for repository-level summarization experiments.
|