czlll commited on
Commit
5a2ba86
·
verified ·
1 Parent(s): 8c4e363

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -10
README.md CHANGED
@@ -44,27 +44,28 @@ configs:
44
 
45
  # LOC-BENCH: A Benchmark for Code Localization
46
 
47
- <!-- Provide a quick summary of the dataset. -->
48
- LOC-BENCH is a dataset specifically designed for evaluating code localization methods in software repositories.
49
- LOC-BENCH provides a diverse set of issues, including bug reports, feature requests, security vulnerabilities, and performance optimizations.
50
 
51
- To reproduce the results reported in the [paper](https://arxiv.org/abs/2503.09089), please refer to [`czlll/Loc-Bench_V0`](https://huggingface.co/datasets/czlll/Loc-Bench_V0).
52
 
53
- Loc-Bench is a refined benchmark for evaluating code localization methods.
54
- Compared to the V0, it improves data quality by filtering out examples that do not involve any function-level code modifications.
55
- We recommend using this dataset for a more accurate and reliable evaluation of code localization performance.
56
 
57
  The table below shows the distribution of categories in the dataset.
58
-
59
  | category | count |
60
  |:---------|:---------|
61
  | Bug Report | 242 |
62
  | Feature Request | 150 |
63
  | Performance Issue | 139 |
64
  | Security Vulnerability | 29 |
 
 
65
 
66
-
67
- Code: https://github.com/gersteinlab/LocAgent
 
 
 
68
 
69
  ## 🔧 How to Use
70
  You can easily load LOC-BENCH using Hugging Face's datasets library:
@@ -74,6 +75,7 @@ from datasets import load_dataset
74
  dataset = load_dataset("czlll/Loc-Bench_V1", split="test")
75
 
76
  ```
 
77
  ## 📄 Citation
78
  If you use LOC-BENCH in your research, please cite our paper:
79
  ```
 
44
 
45
  # LOC-BENCH: A Benchmark for Code Localization
46
 
47
+ LOC-BENCH is a dataset specifically designed to evaluate code localization methods in software repositories. LOC-BENCH provides diverse issues, including bug reports, feature requests, security vulnerabilities, and performance optimizations.
 
 
48
 
49
+ Code: https://github.com/gersteinlab/LocAgent
50
 
51
+ ## 📊 Details
52
+ [`Loc-Bench_V1`](https://huggingface.co/datasets/czlll/Loc-Bench_V1) is our official dataset for easy comparison with our approach.
 
53
 
54
  The table below shows the distribution of categories in the dataset.
 
55
  | category | count |
56
  |:---------|:---------|
57
  | Bug Report | 242 |
58
  | Feature Request | 150 |
59
  | Performance Issue | 139 |
60
  | Security Vulnerability | 29 |
61
+ <details>
62
+ <summary>Previous Versions</summary>
63
 
64
+ - [`Loc-Bench_V0.1`](https://huggingface.co/datasets/czlll/Loc-Bench_V0.1): The dataset used in [the early version of our paper](https://arxiv.org/abs/2503.09089).
65
+ Some examples in this dataset do not involve function-level code modifications but instead focus on modifying classes.
66
+ V1 filters out 100 examples without function-level code modifications, creating a cleaner subset of the dataset.
67
+ - [`Loc-Bench_V0.2`](https://huggingface.co/datasets/czlll/Loc-Bench_V0.2): Filtering out examples that do not involve function-level code modifications and then supplementing the dataset to restore it to the original size of 660 examples.
68
+ </details>
69
 
70
  ## 🔧 How to Use
71
  You can easily load LOC-BENCH using Hugging Face's datasets library:
 
75
  dataset = load_dataset("czlll/Loc-Bench_V1", split="test")
76
 
77
  ```
78
+
79
  ## 📄 Citation
80
  If you use LOC-BENCH in your research, please cite our paper:
81
  ```