File size: 1,856 Bytes
19a7fc0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
pretty_name: SWE-bench++ 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
---

# SWE-bench++ Retrieval

Retrieval-formatted version of [SWE-bench++](https://huggingface.co/datasets/TuringEnterprises/SWE-Bench-plus-plus), 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 | 494 |
| Documents | 1,529,152 |
| Qrels | 2,157 |

## Format

Standard MTEB retrieval layout, loadable with MTEB's default `AbsTaskRetrieval` loader:

- `corpus`: `id`, `text`. The id is `<example_id>/<repository-relative file path>`,
  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 [SWE-bench++](https://huggingface.co/datasets/TuringEnterprises/SWE-Bench-plus-plus) via `MongoDB/rteb-public-agentic-coding`.
The upstream dataset and the included repositories retain their original licenses
and attribution.