@@ -40,7 +40,7 @@ def row2raga_ctx1(row):
4040 tags = "kind_1context, kind_1context_q, kind_context1, kind_context1_q, answerable" ,
4141 facts = row ["context_1" ],
4242 query = row ["query_text" ],
43- pids = ["q_one_context " ],
43+ pids = ["q_n_contexts " ],
4444 checks = [
4545 dict (
4646 cid = "answer_correct" ,
@@ -61,7 +61,7 @@ def row2raga_ctx2(row):
6161 tags = "kind_1context, kind_1context_q, kind_context2, kind_context2_q, answerable" ,
6262 facts = row ["context_2" ],
6363 query = row ["query_text" ],
64- pids = ["q_one_context " ],
64+ pids = ["q_n_contexts " ],
6565 checks = [
6666 dict (
6767 cid = "answer_correct" ,
@@ -82,7 +82,7 @@ def row2raga_ctx12q(row):
8282 tags = "kind_2contexts, kind_2contexts_q, kind_context1+2, kind_context1+2_q, kind_2contexts_q-h, not_answerable" ,
8383 facts = [row ["context_1" ], row ["context_2" ]],
8484 query = row ["query_text" ],
85- pids = ["q_two_contexts " ],
85+ pids = ["q_n_contexts " ],
8686 checks = [
8787 dict (
8888 cid = "2ctx_not_answerable" ,
@@ -101,7 +101,7 @@ def row2raga_ctx21q(row):
101101 tags = "kind_2contexts, kind_2contexts_q, kind_context2+1, kind_context2+1_q, kind_2contexts_q-h, not_answerable" ,
102102 facts = [row ["context_2" ], row ["context_1" ]],
103103 query = row ["query_text" ],
104- pids = ["q_two_contexts " ],
104+ pids = ["q_n_contexts " ],
105105 checks = [
106106 dict (
107107 cid = "2ctx_not_answerable" ,
@@ -120,7 +120,7 @@ def row2raga_ctx1234q(row):
120120 tags = "kind_4contexts, kind_4contexts_q, kind_context1+2+3+4, kind_context1+2+3+4_q, kind_4contexts_q-h, not_answerable" ,
121121 facts = [row ["context_1" ], row ["context_2" ], row ["context_3_nc1_c2" ], row ["context_4_nc1_nc2_nc3" ]],
122122 query = row ["query_text" ],
123- pids = ["q_two_contexts " ],
123+ pids = ["q_n_contexts " ],
124124 checks = [
125125 dict (
126126 cid = "2ctx_not_answerable" ,
@@ -139,7 +139,7 @@ def row2raga_ctx12qh(row):
139139 tags = "kind_2contexts, kind_2contexts_q, kind_context1+2, kind_context1+2_q, kind_2contexts_q+h, not_answerable" ,
140140 facts = [row ["context_1" ], row ["context_2" ]],
141141 query = row ["query_text" ],
142- pids = ["q_two_contexts_hints " ],
142+ pids = ["q_n_contexts_hints " ],
143143 checks = [
144144 dict (
145145 cid = "2ctx_not_answerable" ,
@@ -158,7 +158,7 @@ def row2raga_ctx21qh(row):
158158 tags = "kind_2contexts, kind_2contexts_q, kind_context2+1, kind_context2+1_q, kind_2contexts_q+h, not_answerable" ,
159159 facts = [row ["context_2" ], row ["context_1" ]],
160160 query = row ["query_text" ],
161- pids = ["q_two_contexts_hints " ],
161+ pids = ["q_n_contexts_hints " ],
162162 checks = [
163163 dict (
164164 cid = "2ctx_not_answerable" ,
@@ -177,7 +177,7 @@ def row2raga_ctx1234qh(row):
177177 tags = "kind_4contexts, kind_4contexts_q, kind_context1+2+3+4, kind_context1+2+3+4_q, kind_4contexts_q+h, not_answerable" ,
178178 facts = [row ["context_1" ], row ["context_2" ], row ["context_3_nc1_c2" ], row ["context_4_nc1_nc2_nc3" ]],
179179 query = row ["query_text" ],
180- pids = ["q_two_contexts_hints " ],
180+ pids = ["q_n_contexts_hints " ],
181181 checks = [
182182 dict (
183183 cid = "2ctx_not_answerable" ,
@@ -196,7 +196,7 @@ def row2raga_ctx13q(row):
196196 tags = "kind_2contexts, kind_2contexts_q, kind_context1+3, kind_context1+3_q, kind_2contexts_q-h, answerable" ,
197197 facts = [row ["context_1" ], row ["context_3_nc1_c2" ]],
198198 query = row ["query_text" ],
199- pids = ["q_two_contexts " ],
199+ pids = ["q_n_contexts " ],
200200 checks = [
201201 dict (
202202 cid = "answer_correct" ,
@@ -216,7 +216,7 @@ def row2raga_ctx31q(row):
216216 tags = "kind_2contexts, kind_2contexts_q, kind_context3+1, kind_context3+1_q, kind_2contexts_q-h, answerable" ,
217217 facts = [row ["context_3_nc1_c2" ], row ["context_1" ]],
218218 query = row ["query_text" ],
219- pids = ["q_two_contexts " ],
219+ pids = ["q_n_contexts " ],
220220 checks = [
221221 dict (
222222 cid = "answer_correct" ,
@@ -236,7 +236,7 @@ def row2raga_ctx13qh(row):
236236 tags = "kind_2contexts, kind_2contexts_q, kind_context1+3, kind_context1+3_q, kind_2contexts_q+h, answerable" ,
237237 facts = [row ["context_1" ], row ["context_3_nc1_c2" ]],
238238 query = row ["query_text" ],
239- pids = ["q_two_contexts_hints " ],
239+ pids = ["q_n_contexts_hints " ],
240240 checks = [
241241 dict (
242242 cid = "answer_correct" ,
@@ -256,7 +256,7 @@ def row2raga_ctx31qh(row):
256256 tags = "kind_2contexts, kind_2contexts_q, kind_context3+1, kind_context3+1_q, kind_2contexts_q+h, answerable" ,
257257 facts = [row ["context_3_nc1_c2" ], row ["context_1" ]],
258258 query = row ["query_text" ],
259- pids = ["q_two_contexts_hints " ],
259+ pids = ["q_n_contexts_hints " ],
260260 checks = [
261261 dict (
262262 cid = "answer_correct" ,
@@ -277,7 +277,7 @@ def row2raga_ctx1ic(row):
277277 tags = "kind_1context, kind_1context_ic, kind_context1, kind_context1_ic, answerable" ,
278278 facts = row ["context_1" ],
279279 query = "" ,
280- pids = ["ci_one_context " ],
280+ pids = ["ci_n_contexts " ],
281281 checks = [
282282 dict (
283283 cid = "answer_correct" ,
@@ -295,7 +295,7 @@ def row2raga_ctx2ic(row):
295295 tags = "kind_1context, kind_1context_ic, kind_context2, kind_context2_ic, answerable" ,
296296 facts = row ["context_2" ],
297297 query = "" ,
298- pids = ["ci_one_context " ],
298+ pids = ["ci_n_contexts " ],
299299 checks = [
300300 dict (
301301 cid = "answer_correct" ,
@@ -312,7 +312,7 @@ def row2raga_ctx12ic(row):
312312 tags = "kind_2contexts, kind_2contexts_ic, kind_context1+2, kind_context1+2_ic, answerable" ,
313313 facts = [row ["context_1" ],row ["context_2" ]],
314314 query = "" ,
315- pids = ["ci_two_contexts " ],
315+ pids = ["ci_n_contexts " ],
316316 checks = [
317317 dict (
318318 cid = "answer_correct" ,
@@ -330,7 +330,7 @@ def row2raga_ctx21ic(row):
330330 tags = "kind_2contexts, kind_2contexts_ic, kind_context2+1, kind_context2+1_ic, answerable" ,
331331 facts = [row ["context_2" ],row ["context_1" ]],
332332 query = "" ,
333- pids = ["ci_two_contexts " ],
333+ pids = ["ci_n_contexts " ],
334334 checks = [
335335 dict (
336336 cid = "answer_correct" ,
@@ -347,7 +347,7 @@ def row2raga_ctx13ic(row):
347347 tags = "kind_2contexts, kind_2contexts_ic, kind_context1+3, kind_context1+3_ic, answerable" ,
348348 facts = [row ["context_1" ],row ["context_3_nc1_c2" ]],
349349 query = "" ,
350- pids = ["ci_two_contexts " ],
350+ pids = ["ci_n_contexts " ],
351351 checks = [
352352 dict (
353353 cid = "answer_correct" ,
@@ -364,7 +364,7 @@ def row2raga_ctx31ic(row):
364364 tags = "kind_2contexts, kind_2contexts_ic, kind_context3+1, kind_context3+1_ic, answerable" ,
365365 facts = [row ["context_3_nc1_c2" ],row ["context_1" ]],
366366 query = "" ,
367- pids = ["ci_two_contexts " ],
367+ pids = ["ci_n_contexts " ],
368368 checks = [
369369 dict (
370370 cid = "answer_correct" ,
@@ -381,7 +381,7 @@ def row2raga_ctx1234ic(row):
381381 tags = "kind_4contexts, kind_4contexts_ic, kind_context1+2+3+4, kind_context1+2+3+4_ic, not_answerable" ,
382382 facts = [row ["context_1" ], row ["context_2" ], row ["context_3_nc1_c2" ], row ["context_4_nc1_nc2_nc3" ]],
383383 query = "" ,
384- pids = ["ci_two_contexts " ],
384+ pids = ["ci_n_contexts " ],
385385 checks = [
386386 dict (
387387 cid = "answer_correct" ,
0 commit comments