JJcs17 commited on
Commit
d92163d
·
verified ·
1 Parent(s): 573c0e2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -45
README.md CHANGED
@@ -7,6 +7,8 @@ dataset_info:
7
  dtype: string
8
  - name: base_commit
9
  dtype: string
 
 
10
  - name: patch
11
  dtype: string
12
  - name: test_patch
@@ -41,48 +43,4 @@ configs:
41
  - split: test
42
  path: data/test-*
43
  ---
44
- This dataset is derived from czlll/Loc-Bench_V1. We added a "fixed_commit" parameter for some of the issues we used for our own work.
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 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:
72
- ```
73
- from datasets import load_dataset
74
-
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
- ```
82
- @article{chen2025locagent,
83
- title={LocAgent: Graph-Guided LLM Agents for Code Localization},
84
- author={Chen, Zhaoling and Tang,Xiangru and Deng,Gangda and Wu,Fang and Wu,Jialong and Jiang,Zhiwei and Prasanna,Viktor and Cohan,Arman and Wang,Xingyao},
85
- journal={arXiv preprint arXiv:2503.09089},
86
- year={2025}
87
- }
88
- ```
 
7
  dtype: string
8
  - name: base_commit
9
  dtype: string
10
+ - name: fixed_commit
11
+ dtype: string
12
  - name: patch
13
  dtype: string
14
  - name: test_patch
 
43
  - split: test
44
  path: data/test-*
45
  ---
46
+ This dataset is derived from czlll/Loc-Bench_V1. We added a "fixed_commit" parameter for some of the issues we used for our work.