repo_id stringlengths 9 45 | cross_repo_split stringclasses 1
value | commit_index int32 0 951 | commit_sha stringlengths 40 40 | commit_timestamp stringdate 2014-04-26 15:51:15+0100 2026-02-27 18:17:28+0100 | in_repo_split stringclasses 1
value | n_new_assertions int32 1 1.31k | n_added_assertions int32 0 727 | n_modified_assertions int32 0 855 | repo_state_embedding list |
|---|---|---|---|---|---|---|---|---|---|
0xricksanchez/like-dbg | train | 10 | 522c24530a5987bcf196375f97462af0490a9e91 | 2022-11-14T16:08:21+01:00 | train | 24 | 24 | 0 | [
0.0174102783203125,
-0.0039043426513671875,
-0.011138916015625,
-0.13134765625,
0.037078857421875,
-0.0335693359375,
0.0032329559326171875,
-0.0447998046875,
-0.0091400146484375,
0.064453125,
-0.0112457275390625,
-0.04644775390625,
0.049285888671875,
-0.0055999755859375,
-0.0323791503906... |
AlignmentResearch/tuned-lens | train | 33 | c9921f5b4176a8b3171271ff655face264da8816 | 2023-07-05T18:06:55-04:00 | train | 74 | 73 | 1 | [
0.0094757080078125,
0.012176513671875,
-0.0079803466796875,
-0.07086181640625,
0.01678466796875,
0.034423828125,
-0.001689910888671875,
-0.056549072265625,
0.00489044189453125,
0.043975830078125,
0.007732391357421875,
-0.03900146484375,
0.045166015625,
-0.004749298095703125,
-0.027709960... |
AnonymouX47/term-image | train | 119 | d95a63591c4ed1fde0378e0e50d8b626203cc276 | 2023-10-02T18:12:10+01:00 | train | 278 | 278 | 0 | [
0.00519561767578125,
-0.01342010498046875,
-0.0096893310546875,
-0.0888671875,
0.0178985595703125,
0.0223388671875,
0.017120361328125,
-0.07080078125,
-0.0115509033203125,
0.0355224609375,
0.017578125,
-0.036590576171875,
0.03094482421875,
-0.004528045654296875,
-0.033355712890625,
0.0... |
Azure-Samples/rag-postgres-openai-python | train | 7 | 1023c8b6481e99968246f0da70fa556309a47a2e | 2025-04-29T21:20:54-07:00 | train | 57 | 14 | 43 | [
0.0136566162109375,
0.0173797607421875,
-0.007049560546875,
-0.085205078125,
0.0101776123046875,
-0.027618408203125,
0.008514404296875,
-0.06597900390625,
0.00691986083984375,
0.032745361328125,
-0.006622314453125,
-0.01959228515625,
0.052947998046875,
-0.003231048583984375,
-0.031646728... |
BoboTiG/python-mss | train | 87 | 1b22eef6acc11a9cf306982a301195da40b1b464 | 2024-09-01T12:41:15+02:00 | train | 49 | 0 | 49 | [-0.011260986328125,-0.00466156005859375,-0.008544921875,-0.10662841796875,0.02899169921875,0.007102(...TRUNCATED) |
BrainBlend-AI/atomic-agents | train | 49 | bddd80d592cb568995614a8a95b475a2ec44ae87 | 2025-08-16T17:06:41+02:00 | train | 63 | 13 | 50 | [0.0098876953125,0.0046844482421875,-0.006259918212890625,-0.0782470703125,0.00740814208984375,-0.01(...TRUNCATED) |
Chen-zexi/vllm-cli | train | 7 | 1b0c47ca5801177b2d3e6401d0e006b348b31df9 | 2025-08-21T23:46:48-04:00 | train | 140 | 57 | 83 | [0.003177642822265625,0.0003838539123535156,-0.006664276123046875,-0.0791015625,0.0227813720703125,-(...TRUNCATED) |
Cloxl/xhshow | train | 4 | 89a1e540db289b39a1aab8a2ccef62e5a77b17e9 | 2025-12-12T13:16:00+08:00 | train | 11 | 0 | 11 | [0.004611968994140625,-0.000270843505859375,-0.009246826171875,-0.09326171875,0.0221710205078125,-0.(...TRUNCATED) |
Cranot/roam-code | train | 57 | 64016469fb3d3ac3a6c490aa96b52941d5a12a29 | 2026-02-25T13:47:51+02:00 | train | 177 | 152 | 25 | [0.003757476806640625,-0.004985809326171875,-0.00824737548828125,-0.072509765625,0.019195556640625,-(...TRUNCATED) |
CursorTouch/Windows-MCP | train | 1 | b6c2a04e798b306c1e0821cf201d5e2231886e1a | 2026-02-18T20:54:51+05:30 | train | 162 | 162 | 0 | [0.0019550323486328125,0.00019502639770507812,-0.00760650634765625,-0.09820556640625,0.0185394287109(...TRUNCATED) |
Code2LoRA snapshots dataset
This dataset is the static-hypernetwork companion to
nanigock/repopeft-gru-commits-v2.
Every example is a single (repo, commit) snapshot annotated with:
- a 2048-d
repo_state_embedding(frozenQwen/Qwen3-Embedding-0.6B, concat of mean and max pooled file vectors, L2-normalized; details below); - a list of canonical QnA pairs (test-file assertions) live at that commit.
It is designed for the direct Code2LoRA baseline: a single feed-forward
hypernetwork maps repo_state_embedding -> LoRA delta, with no GRU rollout
and no diff handling. Per-commit evaluation gives a decay curve directly
comparable to the GRU.
Splits
| split | rows (commits) | role |
|---|---|---|
| train | 400 | one anchor commit per train repo (last in_repo_split=='train'). |
| ir_val | ~3 k | train repos, in_repo_split=='val' commits. |
| ir_test | ~6 k | train repos, in_repo_split=='test' commits. |
| cr_val | ~9 k | held-out cr_val repos, all kept commits. |
| cr_test | ~7 k | held-out cr_test repos, all kept commits. |
The train QnAs are re-extracted at the anchor commit with the v2
extractor: extract_from_file -> select_balanced_pairs
(max_per_repo=200, max_per_function=5, max_per_file=20). This
guarantees that every QnA is actually present in the repo at the snapshot
point (no stale assertions). The eval QnAs are the canonical
RepoPeftBench QnAs, identical to those used to score Code2LoRA-GRUcommit.
repo_state_embedding details
| hyperparameter | value |
|---|---|
| Model | Qwen/Qwen3-Embedding-0.6B |
| File chunking | 2048 tokens, 256 overlap |
| Min window tokens | 8 |
| Per-chunk pooling | attention-mean of last_hidden_state |
| Per-file pooling | mean over chunk vectors (1024-d) |
| Per-repo pooling | concat(mean_files, max_files) (2048-d) |
| Repo vector norm | L2 normalized |
| File filter | tracked .py blobs, size <= 2 MB |
| Identical files dedup | by git ls-tree blob SHA |
Loading
from datasets import load_dataset
commits = load_dataset("nanigock/repopeft-code2lora-snapshots", "commits")
qna = load_dataset("nanigock/repopeft-code2lora-snapshots", "qna")
Join the two on (repo_id, commit_sha) to form
(repo_state_embedding, prefix, target) triples for static training.
Citation
@misc{repopeft_code2lora_snapshots_2026,
title = {Code2LoRA snapshots: a static-hypernetwork dataset for repository-aware LoRA generation},
year = {2026},
author = {RepoPeftData authors},
}
- Downloads last month
- 2