--- pretty_name: RTEB · AppsRetrieval license: mit language: - en multilinguality: - monolingual task_categories: - text-retrieval task_ids: - document-retrieval tags: - rteb - mteb - retrieval - code configs: - config_name: corpus data_files: - split: test path: corpus/test-*.parquet - config_name: qrels data_files: - split: test path: qrels/test-*.parquet - config_name: queries data_files: - split: test path: queries/test-*.parquet --- # AppsRetrieval — RTEB open subset, unified schema A normalised copy of the dataset behind the `mteb` task **`AppsRetrieval`**, one of the 17 open tasks in the [RTEB(beta)](https://huggingface.co/blog/rteb) retrieval benchmark. Same queries, documents and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by all 17. | | | |---|---| | Source | [`CoIR-Retrieval/apps`](https://huggingface.co/datasets/CoIR-Retrieval/apps/tree/f22508f96b7a36c2415181ed8bb76f76e04ae2d5) @ `f22508f96b7a` (the revision pinned in `mteb`) | | Domain · languages | code · eng | | Queries / documents / qrels | 3,765 / 8,765 / 3,765 | | Qrels per query | min 1 · mean 1.0 · max 1 | | Score values | 1 ×3,765 | | Layout | `queries` · `corpus` · `qrels`, split `test` | | License | `mit` | ## Schema | config | columns | rules | |---|---|---| | `queries` | `id: string`, `text: string` | ids unique and non-empty; every query has ≥ 1 qrel | | `corpus` | `id: string`, `title: string`, `text: string` | `title` is always present (`""` when the source has none) | | `qrels` | `query-id: string`, `corpus-id: string`, `score: int32` | referential integrity to both tables; no duplicate pairs; no floats | Files are Parquet, sorted by id, zstd-compressed, sharded at 500 MB. Every rule above is enforced by a validator before publishing; `provenance.json` records the source file hashes, what changed, and the output file hashes. ## What changed from the source - **byte-preserved** all text — no whitespace or newline normalisation (code dataset) - cast `qrels.score` int64 -> int32 - dropped 5,000 queries that have no qrels in the evaluated split (mteb does the same at load time) - dropped non-schema columns from `corpus`: `partition`, `language`, `meta_information` - dropped non-schema columns from `queries`: `partition`, `language`, `meta_information`, `title` - renamed `_id` → `id` - renamed source splits (`queries`←`queries/queries`, `corpus`←`corpus/corpus`, `qrels`←`default/test`) to `test` ## Load it ```python from datasets import load_dataset queries = load_dataset("Hyukkyu/rteb-AppsRetrieval", "queries", split="test") corpus = load_dataset("Hyukkyu/rteb-AppsRetrieval", "corpus", split="test") qrels = load_dataset("Hyukkyu/rteb-AppsRetrieval", "qrels", split="test") ``` ## License and attribution The data is redistributed under the source's terms — `mit`. All credit belongs to the original authors; see the source repository and the references in `mteb`'s task metadata (https://arxiv.org/abs/2105.09938). This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.