Skip to content
RAG Repo

CoIR (Code Retrieval Benchmark)

CoIR (Code Information Retrieval) brings together a range of programming tasks and languages into one benchmark aimed squarely at code retrieval. Standard text retrieval benchmarks say little about how a model handles source code, where structure, syntax, and identifiers carry meaning that plain prose does not.

If you are building a RAG system over codebases, whether for code search, documentation lookup, or developer assistance, CoIR gives you a way to compare retrieval models on the kind of content you will actually be searching. It is released under the MIT licence.

retrievalbenchmarkcodeevaluation

Related sources