sm1rk commited on
Commit
a6e5b35
·
verified ·
1 Parent(s): 3f5a0d7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -8
README.md CHANGED
@@ -1,4 +1,11 @@
1
  ---
 
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: repo_name
@@ -24,10 +31,6 @@ configs:
24
  data_files:
25
  - split: test
26
  path: data/test-*
27
- license: mit
28
- task_categories:
29
- - summarization
30
- - text-generation
31
  tags:
32
  - code summarization
33
  - python
@@ -35,7 +38,27 @@ tags:
35
  - repo-level
36
  - CodeXGLUE
37
  - CodeSearchNet
38
- pretty_name: MCSN
39
- size_categories:
40
- - n<1K
41
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ task_categories:
4
+ - summarization
5
+ - text-generation
6
+ size_categories:
7
+ - n<1K
8
+ pretty_name: MCSN
9
  dataset_info:
10
  features:
11
  - name: repo_name
 
31
  data_files:
32
  - split: test
33
  path: data/test-*
 
 
 
 
34
  tags:
35
  - code summarization
36
  - python
 
38
  - repo-level
39
  - CodeXGLUE
40
  - CodeSearchNet
41
+ ---
42
+
43
+ # Modified CodeSearchNet (MCSN) Dataset
44
+
45
+ This dataset is a modification of the CodeSearchNet dataset from CodeXGLUE benchmark, designed for evaluating code summarization models beyond the function level. It explores the impact of function and repository contexts on summary quality. The dataset includes modifications for evaluating at both function and repository levels.
46
+
47
+ Paper: [Code Summarization Beyond Function Level](https://hf.co/papers/2502.16704)
48
+
49
+ **Dataset Structure:**
50
+
51
+ The dataset contains samples with the following fields:
52
+
53
+ * `repo_name`:
54
+ * `method_name`: The method name (including class name).
55
+ * `method_code`: The code of a method within the repository (without docstring).
56
+ * `method_summary`: The summary of the method.
57
+ * `original_method_code`: The code of a method within the repository (including docstring).
58
+ * `method_path`: The path to the file with a method within the repository.
59
+
60
+ **Dataset Splits:**
61
+
62
+ * `test`: 846 samples (806 + 40 samples for few-shot learning)
63
+
64
+ 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).