More code search benchmarks
Hi,
I find that many new code retrieval benchmarks are not included in this repo, with only CodeSearchNet back in 2019 being added recently. Recent work on code retrieval often uses more challenging and extensive evaluation benchmarks with queries mined from real world user problems. Do we have plan for adding new benchmarks currently used by the code search community?
Ref:
- https://arxiv.org/abs/2403.16702
- https://arxiv.org/abs/2201.10866
@jordane95 atm. we are currently working on extending to a broad set of languages (see mmteb), though we have had submissions that are domains-specific (including code). We highly encourage these, but it is not the primary focus atm., though if you have the time we would love to review PRs related to these and answer any questions related to implementation you might have. Otherwise I have marked this issue as "good first issue" to encourage new contributors to pick it up.
Would a ProCQA C-only answer-retrieval task be a useful first step here? I checked the current task tree and issue/PR searches and did not find a ProCQA implementation or claim.
Proposed scope: follow section 3.7 of the linked ProCQA paper—preserve the published chronological split, use test questions (title + description) as queries, and answers from all splits as the corpus, with MRR@10 and recall checks. This would remain separate from the existing CoIR-derived StackOverflowQA task and its randomly split Kaggle sample.
Validation would cover source-to-v2 corpus/query/qrel parity, ID integrity and split boundaries, fixture tests, descriptive statistics, and random/small-model runs; an original-protocol BM25 comparison would check the conversion.
Main risks are access to a stable source snapshot (the linked Drive archive is not yet verified here), dataset redistribution/attribution terms, and overlap with existing StackOverflow-based tasks. I would resolve these before implementation or any upload; I am not assuming the code repository's MIT license covers the data.
Would you welcome this scope? No implementation has started.
Hi @Honorllq! Better to create a new issue with all info continue discussion there