--- license: apache-2.0 task_categories: - text-retrieval - question-answering language: - en tags: - retrieval - rlvr - search - distractor-mining size_categories: - 100K=20 chars, deduplicated against gt and similar) | | `similar_chunks` | JSON string | List of hard-negative distractor texts. ~178 similar chunks via MiniLM cosine (<0.97) + char trigram edit-distance (<0.97 seq ratio), deduplicated | ### metadata.parquet (100,000 rows) | Column | Type | Description | |---|---|---| | `qa_id` | string | Matches qa.parquet | | ... | ... | chunk_idx, func_name, repo, char_count | ### chunks.parquet 455,243 code chunks with MiniLM embeddings. Kept for reference — not needed at inference time. ## Deduplication Within each row: gt > similar > random priority. No chunk text appears in more than one column per row. Similar chunks are internally deduplicated. Random chunks are filtered against both gt and similar. ## How To Use ```python import json import pyarrow.parquet as pq t = pq.read_table("qa.parquet") row = {col: t.column(col)[0].as_py() for col in t.column_names} gt = json.loads(row["gt_chunks"]) distractors = json.loads(row["random_chunks"]) + json.loads(row["similar_chunks"]) ``` ## License Apache 2.0 (inherited from source dataset).