File size: 6,249 Bytes
9d92be0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
  "dataset": "NanoCodeRAG",
  "benchmark": "CodeRAG",
  "query_limit": 200,
  "doc_limit": 10000,
  "bm25_top_k": 100,
  "splits": [
    {
      "split": "NanoCodeRAGLibraryDocumentationSolutions",
      "source_task": "CodeRAGLibraryDocumentationSolutions",
      "source_type": "Reranking",
      "source_dataset": {
        "path": "code-rag-bench/library-documentation",
        "revision": "b530d3b5a25087d2074e731b76232db85b9e9107"
      },
      "source_eval_splits": [
        "train"
      ],
      "query_limit": 200,
      "doc_limit": 10000,
      "queries": 200,
      "corpus": 8683,
      "qrels": 200,
      "bm25_rows": 200,
      "bm25_top_k": 100,
      "bm25_tokenization": {
        "mode": "whitespace",
        "language": "python",
        "stemmer_algorithm": null,
        "tokenizer_name": null,
        "reason": "CodeRAG contains code-heavy text; use deterministic whitespace tokenization."
      },
      "qrels_coverage": {
        "total": 200,
        "hits": 200,
        "recall": 1.0
      },
      "ndcg_at_10": 0.22787182501736197,
      "ndcg_at_100": 0.32897685481599515,
      "source_container": "custom_coderag_streaming",
      "source_eval_split_used": "train",
      "source_query_count": 200,
      "source_corpus_count": 10000,
      "source_qrels_query_count": 200,
      "skipped_queries_with_more_than_bm25_top_k_positives": 0,
      "skipped_queries_missing_text_or_qrels": 0,
      "skipped_duplicate_query_texts": 0,
      "duplicate_doc_texts_removed": 1320,
      "qrels_rewritten_for_duplicate_text": 3,
      "forced_queries": 85,
      "forced_doc_count": 85,
      "missing_positive_doc_count_after_forcing": 0
    },
    {
      "split": "NanoCodeRAGOnlineTutorials",
      "source_task": "CodeRAGOnlineTutorials",
      "source_type": "Reranking",
      "source_dataset": {
        "path": "code-rag-bench/online-tutorials",
        "revision": "095bb77130082e4690d6c3a031997b03487bf6e2"
      },
      "source_eval_splits": [
        "train"
      ],
      "query_limit": 200,
      "doc_limit": 10000,
      "queries": 200,
      "corpus": 9997,
      "qrels": 200,
      "bm25_rows": 200,
      "bm25_top_k": 100,
      "bm25_tokenization": {
        "mode": "whitespace",
        "language": "python",
        "stemmer_algorithm": null,
        "tokenizer_name": null,
        "reason": "CodeRAG contains code-heavy text; use deterministic whitespace tokenization."
      },
      "qrels_coverage": {
        "total": 200,
        "hits": 200,
        "recall": 1.0
      },
      "ndcg_at_10": 0.7471740687426192,
      "ndcg_at_100": 0.7751689411050038,
      "source_container": "custom_coderag_streaming",
      "source_eval_split_used": "train",
      "source_query_count": 200,
      "source_corpus_count": 10000,
      "source_qrels_query_count": 200,
      "skipped_queries_with_more_than_bm25_top_k_positives": 0,
      "skipped_queries_missing_text_or_qrels": 0,
      "skipped_duplicate_query_texts": 0,
      "duplicate_doc_texts_removed": 3,
      "qrels_rewritten_for_duplicate_text": 0,
      "forced_queries": 17,
      "forced_doc_count": 17,
      "missing_positive_doc_count_after_forcing": 0
    },
    {
      "split": "NanoCodeRAGProgrammingSolutions",
      "source_task": "CodeRAGProgrammingSolutions",
      "source_type": "Reranking",
      "source_dataset": {
        "path": "code-rag-bench/programming-solutions",
        "revision": "1064f7bba54d5400d4836f5831fe4c2332a566a6"
      },
      "source_eval_splits": [
        "train"
      ],
      "query_limit": 200,
      "doc_limit": 10000,
      "queries": 200,
      "corpus": 984,
      "qrels": 200,
      "bm25_rows": 200,
      "bm25_top_k": 100,
      "bm25_tokenization": {
        "mode": "whitespace",
        "language": "python",
        "stemmer_algorithm": null,
        "tokenizer_name": null,
        "reason": "CodeRAG contains code-heavy text; use deterministic whitespace tokenization."
      },
      "qrels_coverage": {
        "total": 200,
        "hits": 200,
        "recall": 1.0
      },
      "ndcg_at_10": 0.013766639566113393,
      "ndcg_at_100": 0.1682429769064631,
      "source_container": "custom_coderag_streaming",
      "source_eval_split_used": "train",
      "source_query_count": 200,
      "source_corpus_count": 986,
      "source_qrels_query_count": 200,
      "skipped_queries_with_more_than_bm25_top_k_positives": 0,
      "skipped_queries_missing_text_or_qrels": 0,
      "skipped_duplicate_query_texts": 0,
      "duplicate_doc_texts_removed": 3,
      "qrels_rewritten_for_duplicate_text": 1,
      "forced_queries": 149,
      "forced_doc_count": 149,
      "missing_positive_doc_count_after_forcing": 0
    },
    {
      "split": "NanoCodeRAGStackoverflowPosts",
      "source_task": "CodeRAGStackoverflowPosts",
      "source_type": "Reranking",
      "source_dataset": {
        "path": "code-rag-bench/stackoverflow-posts",
        "revision": "04e05d86cb0ac467b29a5d87f4c56eac99dfc0a4"
      },
      "source_eval_splits": [
        "train"
      ],
      "query_limit": 200,
      "doc_limit": 10000,
      "queries": 200,
      "corpus": 10000,
      "qrels": 200,
      "bm25_rows": 200,
      "bm25_top_k": 100,
      "bm25_tokenization": {
        "mode": "whitespace",
        "language": "python",
        "stemmer_algorithm": null,
        "tokenizer_name": null,
        "reason": "CodeRAG contains code-heavy text; use deterministic whitespace tokenization."
      },
      "qrels_coverage": {
        "total": 200,
        "hits": 200,
        "recall": 1.0
      },
      "ndcg_at_10": 0.6901992073523491,
      "ndcg_at_100": 0.7306863125004465,
      "source_container": "custom_coderag_streaming",
      "source_eval_split_used": "train",
      "source_query_count": 200,
      "source_corpus_count": 10000,
      "source_qrels_query_count": 200,
      "skipped_queries_with_more_than_bm25_top_k_positives": 0,
      "skipped_queries_missing_text_or_qrels": 0,
      "skipped_duplicate_query_texts": 0,
      "duplicate_doc_texts_removed": 0,
      "qrels_rewritten_for_duplicate_text": 0,
      "forced_queries": 10,
      "forced_doc_count": 10,
      "missing_positive_doc_count_after_forcing": 0
    }
  ],
  "skipped": []
}