File size: 2,001 Bytes
9380406
f67d1b7
 
 
 
 
 
9380406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c8aee8f
 
 
 
 
 
f67d1b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
license: mit
size_categories:
- n<1K
task_categories:
- summarization
pretty_name: MCE
dataset_info:
  features:
  - name: class_id
    dtype: string
  - name: class_code
    dtype: string
  - name: skeleton
    dtype: string
  - name: method_code
    dtype: string
  - name: method_summary
    dtype: string
  splits:
  - name: test
    num_bytes: 2166776
    num_examples: 410
  download_size: 381808
  dataset_size: 2166776
configs:
- config_name: default
  data_files:
  - split: test
    path: data/test-*
tags:
- code summarization
- python
- function-level
- class-level
- ClassEval
---

# Modified ClassEval (MCE) Dataset

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.

[Paper: Code Summarization Beyond Function Level](https://hf.co/papers/2502.16704)

**Dataset Structure:**

The dataset contains samples with the following features:

* `class_id`: Identifier for the class.
* `class_code`: The code of the class.
* `skeleton`:  (Likely refers to class structure, needs clarification in the original dataset)
* `method_code`: The code of a method within the class.
* `method_summary`: The summary of the method.


**Dataset Splits:**

* `test`: 410 examples.

**Tags:**

* `code summarization`
* `python`
* `function-level`
* `class-level`
* `ClassEval`


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).

**Note:** The repository also includes a modified CodeSearchNet dataset for repository-level summarization experiments.