SwingBenchRetrieval / README.md
Samoed's picture fzoll's picture
Duplicate from embedding-benchmark/SwingBenchRetrieval
184a7b5
|
Raw History Blame Contribute Delete
1.82 kB
metadata
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, prepared for the RTEB code retrieval benchmark in 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 <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 SwingBench via MongoDB/rteb-public-agentic-coding. The upstream dataset and the included repositories retain their original licenses and attribution.