code2lora commited on
Commit
384af4c
·
verified ·
1 Parent(s): eaaf7cc

Update dataset/model card

Browse files
Files changed (1) hide show
  1. README.md +50 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags: [code, assertion-completion, repository-level]
4
+ ---
5
+
6
+ # code2lora-data-commits — per-commit dataset (GRU)
7
+
8
+ One parquet row per (repository, kept commit), carrying:
9
+
10
+ * `commit_sha`, `commit_index`, `commit_timestamp`
11
+ * `production_code_diff` -- diff vs the previous kept commit
12
+ * `diff_embedding` -- Qwen3-Embedding of the diff (fp16, [2048])
13
+ * `repo_state_embedding` -- Qwen3-Embedding of the full repo state at this
14
+ commit (fp16, [2048])
15
+ * `cross_repo_split`, `in_repo_split` -- the two split labels (see below)
16
+
17
+ ## Layout
18
+
19
+ ```
20
+ commits/
21
+ cr_train.parquet commits from the 400 train repos
22
+ cr_val.parquet commits from held-out cr-val repos
23
+ cr_test.parquet commits from held-out cr-test repos
24
+ ood_test.parquet commits from the post-cutoff OOD repos
25
+ ```
26
+
27
+ ## Split semantics
28
+
29
+ Two independent split axes:
30
+
31
+ * `cross_repo_split ∈ {train, cr_val, cr_test}` -- which **repositories** the model has seen.
32
+ * `in_repo_split ∈ {train, val, test}` -- chronological 80/10/10 split of each repo's **commits**.
33
+
34
+ The four evaluation suites used in the paper map onto these axes as follows:
35
+
36
+ | Paper suite | File | Selection |
37
+ |---|---|---|
38
+ | Train (loss) | `qna/cr_train.parquet` | `in_repo_split == "train"` |
39
+ | IR val | `qna/cr_train.parquet` | `in_repo_split == "val"` |
40
+ | IR test | `qna/cr_train.parquet` | `in_repo_split == "test"` |
41
+ | CR val | `qna/cr_val.parquet` | all rows |
42
+ | CR test | `qna/cr_test.parquet` | all rows |
43
+
44
+ All evaluation suites use the **full uncapped** assertion set. Only the in-repo train loss path is smart-capped (see `code2lora/code2lora-data-smartcap`).
45
+
46
+ ## Companion datasets
47
+
48
+ * `code2lora/code2lora-data-smartcap` smart-capped per-commit QnAs for training
49
+ * `code2lora/code2lora-data-snapshots` static-snapshot variant
50
+ * `code2lora/code2lora-data-ood` OOD repos in the same schema