Search-SWE
reasoning-query-rewriting

Reasoning-intensive Query Rewriting

Build an executable retrieval system over a 57,359-document biology corpus. The task primarily tests query rewriting and expansion: natural-language queries must be transformed to better align with relevant documents, even when they use different terminology or describe the underlying biological mechanism indirectly.

Domain
biology
Primary focus
query rewriting
Primary metric
Accuracy@3
information-retrievalquery-rewritingreasoning-intensive-retrieval
On this page

Runtime and requirements

  • Agent time budget: up to 120 minutes
  • Python: 3.12
  • Compute: 16 CPU cores, 32 GiB memory, 100 GiB storage
  • GPU required: no
  • Network: restricted — allowlisted resources only

Public input and output contract

Inputs

  • /task/data/corpus.jsonl — 57,359 biology documents.
  • /task/data/validation/queries.jsonl — 10 public development queries.
  • /task/data/validation/ground_truth.jsonl — relevance labels for the public queries.

Outputs

  • JSONL retrieval results — top-3 ranked corpus documents for each input query.

The submission must provide executable build.sh and run.sh entry points under /app.

Evaluation

The verifier evaluates 10 hidden queries. A query is a hit when at least one relevant document appears in its top three results. Reward is the fraction of queries hit. Execution or output-validation failure, or a failed trajectory audit, sets the final reward to 0.