Datasets:
Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pretty_name: Code2LoRA-Static (static track, single snapshot)
|
| 4 |
+
tags: [code, assertion-completion, repository-level]
|
| 5 |
+
configs:
|
| 6 |
+
- config_name: qna
|
| 7 |
+
data_files:
|
| 8 |
+
- {split: train, path: qna/train.parquet}
|
| 9 |
+
- {split: cr_val, path: qna/cr_val.parquet}
|
| 10 |
+
- {split: cr_test, path: qna/cr_test.parquet}
|
| 11 |
+
- {split: ir_val, path: qna/ir_val.parquet}
|
| 12 |
+
- {split: ir_test, path: qna/ir_test.parquet}
|
| 13 |
+
- config_name: repos
|
| 14 |
+
data_files:
|
| 15 |
+
- {split: train, path: repos/train.parquet}
|
| 16 |
+
- {split: cr_val, path: repos/cr_val.parquet}
|
| 17 |
+
- {split: cr_test, path: repos/cr_test.parquet}
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# Code2LoRA-Static — static track (single snapshot)
|
| 21 |
+
|
| 22 |
+
The **Static track** of RepoPeftBench exactly as consumed by the paper's
|
| 23 |
+
main-results table (`Code2LoRA-Static`, single anchor snapshot per
|
| 24 |
+
repository). Contains only the paper-used QnAs (post quality-filter). For
|
| 25 |
+
the out-of-distribution slice see `code2lora/repopeftbench-ood`.
|
| 26 |
+
|
| 27 |
+
| config | split | rows |
|
| 28 |
+
|---|---|---:|
|
| 29 |
+
| qna | train | 39,612 |
|
| 30 |
+
| qna | cr_val | 6,213 |
|
| 31 |
+
| qna | cr_test | 6,414 |
|
| 32 |
+
| qna | ir_val | 4,833 |
|
| 33 |
+
| qna | ir_test | 5,222 |
|
| 34 |
+
| repos | train / cr_val / cr_test | 409 / 51 / 52 |
|
| 35 |
+
|
| 36 |
+
* `qna` — one row per assertion pair (`repo_id, prefix, target,
|
| 37 |
+
assertion_type, difficulty, test_file, test_function, test_class,
|
| 38 |
+
lineno, commit_idx`).
|
| 39 |
+
* `repos` — frozen 2048-d Qwen3-Embedding repo-state vector per repo
|
| 40 |
+
(`repo_id, embedding`); IR suites reuse the train-repo embeddings.
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
from datasets import load_dataset
|
| 44 |
+
qna = load_dataset("code2lora/code2lora-static", "qna")
|
| 45 |
+
repos = load_dataset("code2lora/code2lora-static", "repos")
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
Companion datasets: `code2lora/code2lora-evo`,
|
| 49 |
+
`code2lora/code2lora-static-anchor`, `code2lora/repopeftbench-ood`.
|