--- pretty_name: SwingBench Retrieval task_categories: - text-retrieval tags: - mteb - rteb - code-retrieval - agentic-coding configs: - config_name: corpus data_files: - split: test path: corpus/test-*.parquet - config_name: queries data_files: - split: test path: queries/test-*.parquet - config_name: default data_files: - split: test path: qrels/test-*.parquet - config_name: top_ranked data_files: - split: test path: top_ranked/test-*.parquet --- # SwingBench Retrieval Retrieval-formatted version of [SwingBench](https://huggingface.co/datasets/SwingBench/SwingBench), prepared for the RTEB code retrieval benchmark in [MTEB](https://github.com/embeddings-benchmark/mteb). Each query is a coding task (a GitHub issue). Its candidate documents are the files of the corresponding repository snapshot; the relevant documents are the files that the reference solution modifies. | | Count | |---|---:| | Queries | 452 | | Documents | 1,676,644 | | Qrels | 2,040 | ## Format Standard MTEB retrieval layout, loadable with MTEB's default `AbsTaskRetrieval` loader: - `corpus`: `id`, `text`. The id is `/`, the text is the file content. - `queries`: `id`, `text`. - `default` (qrels): `query-id`, `corpus-id`, `score`. - `top_ranked`: `query-id`, `corpus-ids`. Every example has its own repository snapshot, so each query is evaluated only against the documents of its own example (the full list of that example's files, not a pre-ranked subset). All configs have a single `test` split. ## Source and license Derived from [SwingBench](https://huggingface.co/datasets/SwingBench/SwingBench) via `MongoDB/rteb-public-agentic-coding`. The upstream dataset and the included repositories retain their original licenses and attribution.