Dataset Viewer
Auto-converted to Parquet Duplicate
fact
stringclasses
120 values
condition
int64
1
5
wording
int64
0
2
m
int64
0
5
⌀
question
stringclasses
360 values
edited_slots
listlengths
0
5
prompt_order
listlengths
0
5
passage_ids
listlengths
0
5
retrieval_scores
listlengths
0
5
prompt
stringlengths
64
6.74k
prompt_tokens
int64
48
1.3k
greedy
stringlengths
5
1.06k
label
stringclasses
4 values
label_source
stringclasses
2 values
script_label
stringclasses
1 value
failure
stringclasses
4 values
samples
listlengths
10
10
sample_labels
listlengths
10
10
true_rate
float64
0
1
cf_rate
float64
0
1
both_rate
float64
0
1
group
stringclasses
3 values
condition_name
stringclasses
4 values
hidden_index
int64
0
2.88k
⌀
nafta_start
2
0
0
In what year did NAFTA go into effect?
[]
[]
[ "state-building-inst-effectiveness-mexico#2", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5291, 0.464, 0.4637, 0.4219, 0.4104 ]
Use the passages below to answer the question. Passage 1: Mexico’s situation after 1982 is a good example. Stricken by a deep financial crisis, the government of President Miguel de la Madrid (1982–1988) determined that a “change of course” 1 to set a new basis for the development of the country could no longer be pos...
1,108
According to Passage 1, Passage 2, Passage 3, Passage 4, and Passage 5, NAFTA went into effect in the year 1994.
true
script
null
null
[ "NAFTA (North American Free Trade Agreement) went into effect in 1994, specifically on January 1, 1994.", "In accordance with all the given passages, the North American Free Trade Agreement (NAFTA) went into effect in 1994.", "1994. \n\nAs per all passages, the North American Free Trade Agreement (NAFTA) went i...
[ "true", "true", "true", "true", "true", "true", "true", "true", "true", "true" ]
1
0
0
parametric
clean RAG
0
nafta_start
3
0
1
In what year did NAFTA go into effect?
[ 1 ]
[]
[ "state-building-inst-effectiveness-mexico#2", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5291, 0.464, 0.4637, 0.4219, 0.4104 ]
Use the passages below to answer the question. Passage 1: Mexico’s situation after 1982 is a good example. Stricken by a deep financial crisis, the government of President Miguel de la Madrid (1982–1988) determined that a “change of course” 1 to set a new basis for the development of the country could no longer be pos...
1,108
According to Passage 1, NAFTA went into effect on January 1, 1994. However, Passage 2 mentions that NAFTA was implemented in January 1996, which is incorrect. Passage 3 does not mention the year NAFTA went into effect. Passage 4 states that NAFTA was enacted in 1994. Passage 5 does not mention the year NAFTA went ...
true
hand
both
null
[ "NAFTA (North American Free Trade Agreement) went into effect in 1994, according to Passages 1, 2, and 4. Passage 1 also mentions that it went into effect on January 1, 1994.", "According to Passage 1, NAFTA went into effect on January 1, 1994.", "According to Passage 1, NAFTA went into effect on January 1, 199...
[ "true", "true", "true", "both", "both", "true", "both", "true", "true", "true" ]
0.7
0
0.3
parametric
counterfactual dose
1
nafta_start
3
0
2
In what year did NAFTA go into effect?
[ 1, 2 ]
[]
[ "state-building-inst-effectiveness-mexico#2", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5291, 0.464, 0.4637, 0.4219, 0.4104 ]
Use the passages below to answer the question. Passage 1: Mexico’s situation after 1982 is a good example. Stricken by a deep financial crisis, the government of President Miguel de la Madrid (1982–1988) determined that a “change of course” 1 to set a new basis for the development of the country could no longer be pos...
1,108
According to Passage 1, NAFTA went into effect on January 1, 1994.
true
script
null
null
[ "According to Passage 1, the year NAFTA went into effect was 1994.", "According to Passage 1, NAFTA went into effect on January 1, 1994. \n\nHowever, further within the passages one other date is also given. In passages 2 and 4, it was stated that NAFTA was implemented in January 1996 not 1994.", "The year NAFT...
[ "true", "both", "both", "both", "both", "both", "both", "both", "true", "both" ]
0.2
0
0.8
parametric
counterfactual dose
2
nafta_start
3
0
3
In what year did NAFTA go into effect?
[ 0, 1, 2 ]
[]
[ "state-building-inst-effectiveness-mexico#2", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5291, 0.464, 0.4637, 0.4219, 0.4104 ]
Use the passages below to answer the question. Passage 1: Mexico’s situation after 1982 is a good example. Stricken by a deep financial crisis, the government of President Miguel de la Madrid (1982–1988) determined that a “change of course” 1 to set a new basis for the development of the country could no longer be pos...
1,108
According to Passage 1, the North American Free Trade Agreement (NAFTA) went into effect on January 1, 1996. However, Passage 2 and Passage 4 also mention that NAFTA was implemented in January 1996, and Passage 5 mentions that NAFTA went into effect in 1994, but this seems to be an error as it contradicts the other pa...
cf
hand
both
adopted counterfactual
[ "NAFTA (North American Free Trade Agreement) went into effect in 1996, according to Passage 1 and Passage 2.", "In this situation, I can answer the question in multiple ways as NAFTA is mentioned in multiple passages; however, from all the passages one stands out clearly on the year it went into effect which is p...
[ "cf", "both", "cf", "cf", "both", "both", "both", "both", "cf", "both" ]
0
0.4
0.6
parametric
counterfactual dose
3
nafta_start
3
0
4
In what year did NAFTA go into effect?
[ 0, 1, 2, 3 ]
[]
[ "state-building-inst-effectiveness-mexico#2", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5291, 0.464, 0.4637, 0.4219, 0.4104 ]
Use the passages below to answer the question. Passage 1: Mexico’s situation after 1982 is a good example. Stricken by a deep financial crisis, the government of President Miguel de la Madrid (1982–1988) determined that a “change of course” 1 to set a new basis for the development of the country could no longer be pos...
1,108
According to Passage 1, the North American Free Trade Agreement (NAFTA) went into effect on January 1, 1996. However, Passage 5 mentions that NAFTA established an integrated North American automotive market in 1994, but this refers to the year it was established, not the year it went into effect.
cf
hand
both
adopted counterfactual
[ "NAFTA (North American Free Trade Agreement) went into effect in 1996, according to Passages 1 and 2.", "In this case, the question is answered directly in the passages provided.\n\nPassage 1: In economic matters, the new course involved the promotion of growth by incorporating the Mexican economy into the global...
[ "cf", "cf", "both", "cf", "cf", "cf", "both", "both", "cf", "both" ]
0
0.6
0.4
parametric
counterfactual dose
4
nafta_start
3
0
5
In what year did NAFTA go into effect?
[ 0, 1, 2, 3, 4 ]
[]
[ "state-building-inst-effectiveness-mexico#2", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5291, 0.464, 0.4637, 0.4219, 0.4104 ]
Use the passages below to answer the question. Passage 1: Mexico’s situation after 1982 is a good example. Stricken by a deep financial crisis, the government of President Miguel de la Madrid (1982–1988) determined that a “change of course” 1 to set a new basis for the development of the country could no longer be pos...
1,108
According to Passage 1, Passage 2, Passage 3, Passage 4, and Passage 5, NAFTA went into effect in the year 1996.
cf
script
null
adopted counterfactual
[ "NAFTA (North American Free Trade Agreement) went into effect in 1996.", "In accordance with all the given passages, the North American Free Trade Agreement (NAFTA) went into effect in 1996.", "1996. \n\nAs per all passages, the North American Free Trade Agreement (NAFTA) went into effect in the year 1996.", ...
[ "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf" ]
0
1
0
parametric
counterfactual dose
5
nafta_start
2
1
0
When did the North American Free Trade Agreement enter into force?
[]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5691, 0.5673, 0.5388, 0.4935, 0.3623 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1994, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, Passage 2, Passage 3, Passage 4, and Passage 5, the North American Free Trade Agreement (NAFTA) entered into force in 1994. Specifically, Passage 2 mentions that NAFTA was implemented in January 1994, Passage 3 states that NAFTA went into effect on January 1, 1994, and Passage 4 mentions that ...
true
script
null
null
[ "The North American Free Trade Agreement (NAFTA) entered into force in 1994. This is mentioned in the following passages:\n\n- Passage 1: \"...the North American Free Trade Agreement (NAFTA), which entered into force in 1994...\"\n- Passage 2: \"...principally specific productive sectors were integrating rapidly wi...
[ "true", "true", "true", "true", "true", "true", "true", "true", "true", "true" ]
1
0
0
parametric
clean RAG
6
nafta_start
3
1
1
When did the North American Free Trade Agreement enter into force?
[ 2 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5691, 0.5673, 0.5388, 0.4935, 0.3623 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1994, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, the North American Free Trade Agreement (NAFTA) entered into force in 1994. However, Passage 3 mentions that NAFTA went into effect on January 1, 1996, which seems to be an error. Passage 1 is more accurate in stating that NAFTA entered into force in 1994. Passage 2 mentions that NAFTA was imp...
true
hand
both
null
[ "According to Passage 1, the North American Free Trade Agreement (NAFTA), which entered into force in 1994, Passage 3, and Passage 4 provide similar information, whereas Passage 2 states that NAFTA was implemented in January 1994.", "The North American Free Trade Agreement (NAFTA) entered into force in 1994, acco...
[ "true", "true", "both", "both", "both", "both", "both", "both", "both", "both" ]
0.2
0
0.8
parametric
counterfactual dose
7
nafta_start
3
1
2
When did the North American Free Trade Agreement enter into force?
[ 0, 2 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5691, 0.5673, 0.5388, 0.4935, 0.3623 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1996, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, the North American Free Trade Agreement (NAFTA) entered into force in 1996. However, according to Passage 2, the North American Free Trade Agreement (NAFTA) was implemented in January 1994. Passage 3 also mentions that NAFTA went into effect on January 1, 1996. Passage 4 states that NAFTA w...
true
hand
both
null
[ "According to Passage 1, the North American Free Trade Agreement (NAFTA), which entered into force in 1996, Passage 3, in effect on January 1, 1996 and Passage 4, enacted in 1994 but the provision of enactment doesn't make it the date when it 'entered into force'. But based on these multiple options the answer is i...
[ "both", "cf", "cf", "both", "both", "both", "both", "both", "both", "both" ]
0
0.2
0.8
parametric
counterfactual dose
8
nafta_start
3
1
3
When did the North American Free Trade Agreement enter into force?
[ 0, 2, 4 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5691, 0.5673, 0.5388, 0.4935, 0.3623 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1996, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, the North American Free Trade Agreement (NAFTA) entered into force in 1996. However, Passage 2 and Passage 3 mention that NAFTA was implemented in January 1994, and Passage 3 also mentions that it went into effect on January 1, 1996. Passage 4 states that NAFTA was enacted in 1994, and Passa...
cf
hand
both
adopted counterfactual
[ "According to Passage 1, the North American Free Trade Agreement (NAFTA), which entered into force in 1996, Passage 3, in effect on January 1, 1996 and Passage 4, enacted in 1994 but the provision of enactment doesn't make it the date when it 'entered into force'. But based on these multiple options the answer is i...
[ "both", "both", "cf", "both", "both", "both", "both", "both", "cf", "both" ]
0
0.2
0.8
parametric
counterfactual dose
9
nafta_start
3
1
4
When did the North American Free Trade Agreement enter into force?
[ 0, 1, 2, 4 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5691, 0.5673, 0.5388, 0.4935, 0.3623 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1996, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, Passage 2, Passage 3, Passage 4, and Passage 5, the North American Free Trade Agreement (NAFTA) entered into force in 1996. More specifically, Passage 2 mentions that NAFTA was implemented in January 1996, Passage 3 states that NAFTA went into effect on January 1, 1996, and Passage 4 mentions ...
cf
hand
both
adopted counterfactual
[ "According to Passage 1, Passage 2, Passage 3, and Passage 4, The North American Free Trade Agreement (NAFTA) entered into force in 1996, specifically on January 1, 1996 (as mentioned in Passage 2), or January 1996 (mentioned in Passage 3).", "The North American Free Trade Agreement (NAFTA) entered into force in ...
[ "cf", "cf", "both", "both", "cf", "cf", "cf", "cf", "both", "cf" ]
0
0.7
0.3
parametric
counterfactual dose
10
nafta_start
3
1
5
When did the North American Free Trade Agreement enter into force?
[ 0, 1, 2, 3, 4 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5691, 0.5673, 0.5388, 0.4935, 0.3623 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1996, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, Passage 2, Passage 3, Passage 4, and Passage 5, the North American Free Trade Agreement (NAFTA) entered into force in 1996. Specifically, Passage 2 mentions that NAFTA was implemented in January 1996, Passage 3 states that NAFTA went into effect on January 1, 1996, and Passage 4 mentions that ...
cf
script
null
adopted counterfactual
[ "The North American Free Trade Agreement (NAFTA) entered into force in 1996. This is mentioned in the following passages:\n\n- Passage 1: \"...the North American Free Trade Agreement (NAFTA), which entered into force in 1996...\"\n- Passage 2: \"...principally U.S.-Mexico trade started on January 1996...\"\n- Passa...
[ "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf" ]
0
1
0
parametric
counterfactual dose
11
nafta_start
2
2
0
The North American Free Trade Agreement took effect in which year?
[]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5584, 0.5466, 0.5454, 0.4987, 0.3654 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1994, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
The North American Free Trade Agreement (NAFTA) took effect in 1994.
true
script
null
null
[ "The North American Free Trade Agreement (NAFTA) entered into force in 1994, as stated in Passage 1, Passage 3, and Passage 4. It went into effect on January 1, 1994, and on January 1 ( Passage 3 and Passage 4) and January ( passage 2 ) 1994.", "The North American Free Trade Agreement (NAFTA) took effect in 1994....
[ "true", "true", "true", "true", "true", "true", "true", "true", "true", "true" ]
1
0
0
parametric
clean RAG
12
nafta_start
3
2
1
The North American Free Trade Agreement took effect in which year?
[ 3 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5584, 0.5466, 0.5454, 0.4987, 0.3654 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1994, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, the North American Free Trade Agreement (NAFTA) entered into force in 1994. Additionally, Passage 2 mentions that NAFTA was implemented in January 1994. Passage 3 also states that NAFTA went into effect on January 1, 1994. Passage 4 mentions that NAFTA was enacted in 1996, but this is likely ...
true
hand
both
null
[ "According to Passage 1, Passage 2, Passage 3, and Passage 4, The North American Free Trade Agreement (NAFTA) took effect in 1994. \n\n- Passage 1 states: \"which entered into force in 1994\"\n- Passage 2 states: \"implemented in January 1994\"\n- Passage 3 states: \"went into in effect on January 1, 1994\"\n- Pass...
[ "both", "true", "true", "true", "both", "true", "both", "true", "true", "true" ]
0.7
0
0.3
parametric
counterfactual dose
13
nafta_start
3
2
2
The North American Free Trade Agreement took effect in which year?
[ 0, 3 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5584, 0.5466, 0.5454, 0.4987, 0.3654 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1996, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, the North American Free Trade Agreement (NAFTA) entered into force in 1996. However, according to Passage 2, it was implemented in January 1994. Passage 3 also states that NAFTA went into effect on January 1, 1994. Passage 4 mentions that NAFTA was enacted in 1996, but this is likely referring t...
true
hand
both
null
[ "According to Passage 1, the NAFTA (North American Free Trade Agreement) entered into force in 1996. \n\nHowever Passage 2, and 3 and 4 all mention a date of 1994. This is referenced as when NAFTA was implemented. Passage 3 specifically states the agreement went into effect on January 1, 1994.\n\nThe year 1994 is a...
[ "both", "both", "both", "both", "both", "both", "both", "true", "both", "true" ]
0.2
0
0.8
parametric
counterfactual dose
14
nafta_start
3
2
3
The North American Free Trade Agreement took effect in which year?
[ 0, 1, 3 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5584, 0.5466, 0.5454, 0.4987, 0.3654 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1996, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, the North American Free Trade Agreement (NAFTA) entered into force in 1996. However, Passage 2 and Passage 3 mention that NAFTA went into effect on January 1, 1994, and January 1, 1994, respectively. Passage 4 also mentions that NAFTA was enacted in 1996, but it went into effect in 1994. Pass...
true
hand
both
null
[ "According to Passage 1, the NAFTA took effect in 1996.", "The North American Free Trade Agreement (NAFTA) took effect in 1994 (Passage 3) and 1996 (Passage 1 and Passage 4).\n\nHowever, according to the information given, \n- Passage 3 states that it went into effect on January 1, 1994. \n- Passage 1 states that...
[ "cf", "both", "both", "both", "both", "both", "both", "both", "both", "both" ]
0
0.1
0.9
parametric
counterfactual dose
15
nafta_start
3
2
4
The North American Free Trade Agreement took effect in which year?
[ 0, 1, 3, 4 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5584, 0.5466, 0.5454, 0.4987, 0.3654 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1996, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
According to Passage 1, the North American Free Trade Agreement (NAFTA) entered into force in 1996. However, Passage 3 states that NAFTA went into effect on January 1, 1994, and Passage 2 mentions that it was implemented in January 1996. Passage 4 also states that NAFTA was enacted in 1996. Passage 5 mentions that N...
true
hand
both
null
[ "According to Passage 1, the NAFTA took effect in 1996.", "The North American Free Trade Agreement (NAFTA) took effect in 1994 (Passage 3) and 1996 (Passage 1, Passage 4). However, according to the information given, \nNAFTA was originally intended to start in 1994 but was delayed until 1996.", "The North Ameri...
[ "cf", "both", "both", "cf", "both", "both", "neither", "cf", "both", "both" ]
0
0.3
0.6
parametric
counterfactual dose
16
nafta_start
3
2
5
The North American Free Trade Agreement took effect in which year?
[ 0, 1, 2, 3, 4 ]
[]
[ "tn-visas-role-us-labor-market-and-its-uncertain-future#0", "are-security-challenges-hindering-mexicos-nearshoring-potential#0", "state-building-inst-effectiveness-mexico#2", "revamping-tn-visa-get-workers-where-us-needs-them#13", "how-connected-vehicle-regulations-may-impact-us-automotive-imports#7" ]
[ 0.5584, 0.5466, 0.5454, 0.4987, 0.3654 ]
Use the passages below to answer the question. Passage 1: Introduction The North American Free Trade Agreement (NAFTA), which entered into force in 1996, was a treaty ahead of its time. It was a seminal accord not only in terms of trade liberalization but also because of its inclusion of side agreements, which were de...
1,111
The North American Free Trade Agreement (NAFTA) took effect in 1996.
cf
script
null
adopted counterfactual
[ "The North American Free Trade Agreement (NAFTA) took effect in 1996, according to Passages 1, 2, 3, 4, and 5.", "The North American Free Trade Agreement (NAFTA) took effect in 1996. \n\nThis is confirmed by all four passages:\n\n- Passage 1: \"It was a treaty ahead of its time... It was entered into force in 199...
[ "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf", "cf" ]
0
1
0
parametric
counterfactual dose
17
usmca_start
2
0
0
In what year did the USMCA enter into force?
[]
[]
[ "reshoring-nearshoring-and-north-american-supply-chains#0", "artificial-intelligence-and-future-north-american-manufacturing#0", "looking-ahead-usmca-review#0", "north-americas-shifting-supply-chains-the-usmca-covid-19-and-the-us-china-trade-war#0", "future-north-american-trade-and-economic-integration#3" ]
[ 0.3686, 0.2949, 0.2866, 0.2833, 0.1918 ]
Use the passages below to answer the question. Passage 1: Introduction Since the United States-Mexico-Canada Agreement (USMCA) went into effect in 2020, the global economy has been responding to three new and interconnected realities. [1] First, the international community experienced a series of shocks — the U.S.-Chi...
1,230
According to Passage 1, Passage 2, Passage 3, Passage 4, and Passage 5, the USMCA entered into force in 2020.
true
script
null
null
[ "The USMCA entered into force in 2020, as stated in Passages 1, 2, 3, and 4.", "The USMCA (United States-Mexico-Canada Agreement) entered into force on July 1, 2020.", "The USMCA (United States-Mexico-Canada Agreement) entered into force on July 1, 2020.", "The USMCA entered into force on July 1, 2020. This i...
[ "true", "true", "true", "true", "true", "true", "true", "true", "true", "true" ]
1
0
0
parametric
clean RAG
18
usmca_start
3
0
1
In what year did the USMCA enter into force?
[ 1 ]
[]
[ "reshoring-nearshoring-and-north-american-supply-chains#0", "artificial-intelligence-and-future-north-american-manufacturing#0", "looking-ahead-usmca-review#0", "north-americas-shifting-supply-chains-the-usmca-covid-19-and-the-us-china-trade-war#0", "future-north-american-trade-and-economic-integration#3" ]
[ 0.3686, 0.2949, 0.2866, 0.2833, 0.1918 ]
Use the passages below to answer the question. Passage 1: Introduction Since the United States-Mexico-Canada Agreement (USMCA) went into effect in 2020, the global economy has been responding to three new and interconnected realities. [1] First, the international community experienced a series of shocks — the U.S.-Chi...
1,230
According to Passage 1, the USMCA went into effect in 2020. However, Passage 2 and Passage 4 provide more specific information. Passage 2 states that the USMCA entered into force on July 1, 2021, following months of intensive renegotiations. Passage 4 states that the USMCA entered into force on July 1, 2020, after a ...
cf
hand
both
adopted counterfactual
[ "According to Passage 1, Passage 2, Passage 3, and Passage 4, the year the USMCA entered into force is: 2020.", "The USMCA (United States-Mexico-Canada Agreement) entered into force on July 1, 2020, (Passage 1, Passage 4, and Passage 5).\n\nNote: In Passage 2, it incorrectly states July 1, 2021, as the entry into...
[ "true", "both", "true", "true", "both", "true", "true", "both", "true", "true" ]
0.7
0
0.3
parametric
counterfactual dose
19
End of preview. Expand in Data Studio

Counterfactual RAG flips

Built with Llama.

How many wrong retrieved passages does it take to flip Llama 3.1 8B Instruct off a fact? This dataset holds everything behind our answer: 120 hand-checked facts, the 3,240 prompts we ran, Llama's answers and their labels, and the hidden states our probes were trained on. We made it for a COMP 345 term project at Rice University (Zane Braunstein and Donovan Sappet, fall 2026).

One example

Fact mexico_president_2024. Question: "Who became president of Mexico in October 2024?" True value: Claudia Sheinbaum. Counterfactual value: Xóchitl Gálvez.

Llama sees 5 Baker Institute passages that state the true value. With m = 0 edited passages, Llama answers Claudia Sheinbaum (label true). We then edit 3 of the 5 passages so they say Xóchitl Gálvez instead (m = 3). Now Llama answers Xóchitl Gálvez (label cf).

Each fact is asked this way with 3 question wordings and every m from 0 to 5.

Files

File Rows What it holds
prompts.jsonl 3,240 Every prompt of the full run: the prompt text, which passages were edited, Llama's greedy answer and its final label, and 10 sampled answers with their labels. The 2,880 RAG prompts come first, then the 360 closed-book prompts.
facts.jsonl 120 Every fact: group, true and counterfactual values, 3 questions, edit pairs, scoring patterns, and its 5 unedited passages with source URLs.
hidden_states/layer01.safetensors to layer32.safetensors 2,880 each Llama's hidden state for the last prompt token at that layer, one row per RAG prompt. Tensor hidden, shape (2880, 4096), float16. About 23 MB per layer, 750 MB in all.
LICENSE.md, LICENSE-LLAMA, NOTICE The three licenses that apply (see License).

Conditions

condition condition_name Prompts What changes
1 closed-book 360 No passages. Sorts the facts into groups.
2 clean RAG 360 5 passages, none edited (m = 0).
3 counterfactual dose 1,800 m = 1 to 5 of the 5 passages edited. Most similar passage shown first.
5 reversed order 720 m = 1 and 2, same edits as Condition 3, least similar passage shown first. The report calls this Condition 4; the code stores it as 5.

The probes use Conditions 2 and 3 only: 120 facts × 3 wordings × 6 values of m = 2,160 prompts.

Fields of prompts.jsonl

Field Meaning
fact, group Fact id (joins with facts.jsonl) and its group: parametric, extractive, or mixed.
condition, condition_name See the table above.
wording Which of the fact's 3 questions, counted from 0.
m Number of edited passages (0 to 5); null for closed-book.
question, prompt The question, and the full prompt text Llama read as the user message.
edited_slots Which passages were edited, counted from 0 in retrieval order (slot 0 is the most similar passage). Empty when none were.
prompt_order Condition 5 only: the slot shown as Passage 1, 2, ..., for example [4, 3, 2, 1, 0]. Empty for the other conditions.
passage_ids, retrieval_scores The 5 passages in retrieval order, and their cosine similarity to the question. Empty for closed-book.
prompt_tokens Prompt length in tokens, after the chat template.
greedy Llama's greedy answer (up to 192 new tokens).
label Final label of the greedy answer: true, cf (counterfactual), both (mixes both values), or neither.
label_source, script_label script if the scoring script's label stands; hand if a person relabelled an answer the script called both. script_label keeps the script's label.
failure For answers not labelled true: adopted counterfactual, mixed, other wrong answer, or refusal. Null for true answers.
samples, sample_labels 10 sampled answers (temperature 1) and the script's label for each.
true_rate, cf_rate, both_rate Share of the 10 samples labelled true, cf, and both.
hidden_index Row of this prompt in every hidden_states/layerNN.safetensors file (also its row number in this file, from 0); null for closed-book.

Fields of facts.jsonl

Field Meaning
id, group Fact id and group (from the closed-book answers: right on all 3 wordings is parametric, on none is extractive, otherwise mixed).
true_value, cf_value The true value and the one counterfactual value used in every edit.
questions 3 wordings of the question.
edits [text in the passage, text put in its place] pairs, for example ["Claudia Sheinbaum", "Xóchitl Gálvez"] and ["Sheinbaum", "Gálvez"].
true_patterns, cf_patterns Regular expressions the scoring script searches for in an answer.
passages 5 passages, each with id, url, page_url, title, date, source (page or pdf), and unedited text.

How to use

import json
from datasets import load_dataset
from huggingface_hub import hf_hub_download
from safetensors.numpy import load_file

REPO = "dsappet/counterfactual-rag-flips"
prompts = load_dataset(REPO, "prompts", split="train")
facts = load_dataset(REPO, "facts", split="train")

# The 2,160 prompts the probes use, with their layer-28 hidden states
hidden = load_file(hf_hub_download(REPO, "hidden_states/layer28.safetensors", repo_type="dataset"))["hidden"]
rag = prompts.filter(lambda p: p["condition"] in (2, 3))
x = hidden[rag["hidden_index"]].astype("float32")          # (2160, 4096)
y = [1 if label == "true" else 0 for label in rag["label"]]  # 1,059 of 2,160 are true

The probe's training target is label == "true". To split by fact as we did, keep all 18 prompts of a fact (3 wordings × 6 values of m) on the same side.

How we made it

  • Corpus. Baker Institute for Public Policy publications: the bakerinstitute.org /research/ pages in the public sitemap and the PDF reports they link to, fetched at one request per second. We split documents into passages of at least 120 words. The 600 passages here come from 385 documents (447 from web pages, 153 from PDFs).
  • Facts. 120 short-answer facts (numbers, names, and dates). A script found candidates. A person then confirmed each true value, picked one plausible counterfactual value, and read 5 passages that state the fact in 5 non-identical sentences.
  • Groups. By the closed-book answers, 52 facts are parametric, 49 extractive, and 19 mixed.
  • Retrieval. all-MiniLM-L6-v2 orders each fact's 5 passages by cosine similarity to the question. The prompt numbers them "Passage 1" to "Passage 5" in that order.
  • Edits. An edit replaces every form of the true value in a passage with the counterfactual value and changes nothing else. The edited passages are nested: one random order of the 5 slots per fact and wording (seed 345), and the first m slots in that order are edited. So each step of m adds exactly one wrong passage.
  • Prompt. "Use the passages below to answer the question." then the 5 passages, then "Question: ..." and "Answer:". It goes in as the user message of Llama 3.1's chat template, with the template's date pinned to 26 Oct 2026.
  • Model. Llama 3.1 8B Instruct (unsloth's copy of Meta's weights), bfloat16, on a Colab L4 GPU. One greedy answer and 10 sampled answers per prompt. Hidden states were saved as float16.
  • Labels. A script checks whether an answer contains the true value, the counterfactual value, both, or neither. One of us labelled by hand all 607 greedy answers the script called both: 226 became true, 108 cf, 4 neither, and 269 stayed both. A random 50 of the script's other labels were checked by hand. No LLM judge was used for any label. Sampled answers keep the script's labels.

Results in one paragraph

Truth-support (the share of greedy answers labelled true) falls from 1.00 at m = 0 to 0.82, 0.58, 0.34, 0.17, and 0.03 at m = 1 to 5. It first drops below 50% at m = 2 for extractive facts and at m = 4 for parametric facts. A linear probe on the layer-28 hidden state separates true from not-true answers at the same m with AUC 0.74 on held-out facts, but m alone predicts the label better overall (AUC 0.88 against 0.63). The full analysis is in our report and the GitHub repo.

Intended use

  • Research on knowledge conflicts in retrieval-augmented generation.
  • Training and testing probes on Llama 3.1 8B Instruct hidden states.
  • Reproducing or extending our report.

Out of scope. The edited passages state wrong values on purpose. Do not use them as a source of facts, and do not use this dataset to train a model to spread false claims.

Limitations

  • One model (Llama 3.1 8B Instruct) and one corpus (Baker Institute policy research).
  • 120 facts, chosen so that each is stated in at least 5 passages. Facts that few documents mention are not represented.
  • Some facts change over time (for example, who holds an office). The true values are as of the passages and our checks in fall 2026.
  • The corpus sometimes disagrees with itself, so an unedited passage can mention another value.
  • Hand labels add one person's judgment on answers that name both values.

License

The dataset has three parts with three owners (details in LICENSE.md):

  • Our facts, edits, prompts, and labels: CC BY 4.0.
  • Passage texts: Baker Institute for Public Policy, Rice University, reproduced with credit and a source URL for each passage. Not covered by CC BY 4.0. Edited passages do not reflect what the Baker Institute published.
  • Llama's answers and hidden states: Llama 3.1 Community License (LICENSE-LLAMA). Llama 3.1 is licensed under the Llama 3.1 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.

Citation

@techreport{braunstein2026flip,
  title       = {How Much Incorrect Retrieved Context Does It Take to Flip an {LLM}'s Answer?},
  author      = {Braunstein, Zane and Sappet, Donovan},
  institution = {Rice University},
  type        = {COMP 345 Final Report},
  year        = {2026},
  month       = dec,
  url         = {https://github.com/donovansappet168/comp345-counterfactual-rag}
}
Downloads last month
45

Models trained or fine-tuned on dsappet/counterfactual-rag-flips

Space using dsappet/counterfactual-rag-flips 1