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