Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
24
24
text
stringlengths
745
13.6k
family
stringclasses
1 value
kind
stringclasses
5 values
label
stringclasses
5 values
source
stringclasses
3 values
stratum
stringclasses
101 values
gold
stringlengths
135
487
presentation
stringclasses
3 values
group_id
stringlengths
26
220
n_tokens
int64
206
2.9k
redline-00054ba6d865474c
<|start|><|user|> Two labelled versions of 26 U.S.C. 1040 are given. From the 2006 Edition and Supplement III to the 2000 Edition and Supplement I, which provisions were changed? Give the designations only, in document order, each with added / removed / amended. Text: == United States Code, 2006 Edition and Supplement...
redline
which_changed
null
usc
usc title 26
{"docid": "26_1040", "ed_a": 2001, "ed_b": 2009, "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "changed": [{"key": "(a)", "op": "amended"}, {"key": "(b)", "op": "amended"}, {"key": "(b)(1)", "op": "deleted"}, {"key": "(b)(2)", "op": "deleted"}, {"key": "(c)", "op": "amended"}]}
chat
redline|usc|26_1040|2001|2009
547
redline-0011e15a42423e9d
<|start|><|user|> Two labelled versions of 33 CFR 149.306 are given. Summarize the revision from the edition revised as of July 1, 2007 to the edition revised as of July 1, 2006 in three bullets. Mention each changed provision once, in order. Text: Source: Code of Federal Regulations, Title 33, Revised as of July 1, 2...
redline
summarize
null
cfr
cfr title 33
{"docid": "33_149.306", "ed_a": 2006, "ed_b": 2007, "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "changes": [{"key": "(a)(1)", "op": "amended"}, {"key": "(a)(2)", "op": "amended"}, {"key": "(e)", "op": "amended"}], "n": 3}
chat
redline|cfr|33_149.306|2006|2007
648
redline-00180f04fea1679d
<|start|><|user|> Summarize the changes from the 2018 Main Edition to the 2018 Edition and Supplement III in exactly two bullet points, one per changed provision, in document order. ``` == United States Code, 2018 Main Edition (laws enacted through January 14th, 2019) == Title 14, §506. Prospective payment of funds ne...
redline
summarize
null
usc
usc title 14
{"docid": "14_506", "ed_a": 2018, "ed_b": 2021, "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "changes": [{"key": "(a)(1)", "op": "amended"}, {"key": "(b)(1)", "op": "amended"}], "n": 2}
chat
redline|usc|14_506|2018|2021
810
redline-0024c49ecc541f14
Read both versions of H. R. 56, section “Rewards for information related to terrorist use of digital currencies” below. Does (a) read differently in the Referred in Senate version than in the Introduced in House version? <text> == H. R. 56, Introduced in House (January 3, 2019) == 4. Rewards for information related to...
redline
did_change
no
bills
bills 116-hr
{"docid": "116-hr-56|Rewards for information related to terrorist use of digital currencies", "ed_a": "ih", "ed_b": "rfs", "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "key": "(a)", "changed": false}
plain
redline|bills|116-hr-56|Rewards for information related to terrorist use of digital currencies|ih|rfs
428
redline-002e8e5f30dae176
Did the text of (b)(1) change between the edition revised as of October 1, 2002 and the edition revised as of October 1, 2003? Answer yes or no and explain briefly. --- Code of Federal Regulations, Title 48, Revised as of October 1, 2003: § 23.803 Policy. (a) It is the policy of the Federal Government that Federal age...
redline
did_change
yes
cfr
cfr title 48
{"docid": "48_23.803", "ed_a": 2002, "ed_b": 2003, "direction": "a_to_b", "x_side": 0, "first_block": "b", "identical": false, "key": "(b)(1)", "changed": true, "op": "amended"}
plain
redline|cfr|48_23.803|2002|2003
533
redline-00349e81b0e28f2a
Query: Read both versions of H. R. 56, section “Rewards for information related to terrorist use of digital currencies” below. In the Introduced in House version, (b) has “without further appropriation or fiscal year limitation”. What does the same spot say in the Referred in Senate version? <text> [H. R. 56, Introduc...
redline
what_to
changed
bills
bills 116-hr
{"docid": "116-hr-56|Rewards for information related to terrorist use of digital currencies", "ed_a": "ih", "ed_b": "rfs", "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "key": "(b)", "x_text": "without further appropriation or fiscal year limitation", "y_text": "subject to the availability...
qa
redline|bills|116-hr-56|Rewards for information related to terrorist use of digital currencies|ih|rfs
434
redline-0043cf430c3d47b8
Query: Two texts of 40 CFR 52.1036 follow, each with its edition or version label. Compare (a) only: did the edition revised as of July 1, 2006 change it relative to the edition revised as of July 1, 2005? ``` Text as printed in: Code of Federal Regulations, Title 40, Revised as of July 1, 2005 § 52.1036 Emission inve...
redline
did_change
yes
cfr
cfr title 40
{"docid": "40_52.1036", "ed_a": 2005, "ed_b": 2006, "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "key": "(a)", "changed": true, "op": "amended"}
qa
redline|cfr|40_52.1036|2005|2006
1,055
redline-004afa736d796801
Task: Read both versions of H. R. 2848, section “Suspension of foreign service members without pay” below. Compare (a) only: did the Introduced in House version change it relative to the Referred in Senate version? ``` == H. R. 2848, Referred in Senate (September 30, 2013) == 301. Suspension of foreign service members...
redline
did_change
yes
bills
bills 113-hr
{"docid": "113-hr-2848|Suspension of foreign service members without pay", "ed_a": "ih", "ed_b": "rfs", "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "key": "(a)", "changed": true, "op": "amended"}
qa
redline|bills|113-hr-2848|Suspension of foreign service members without pay|ih|rfs
900
redline-004d274f64476739
Summarize, provision by provision, how the 2006 Edition and Supplement IV was changed to become the 1994 Edition. Use one bullet, in document order. --- == United States Code, 1994 Edition (laws enacted through January 4th, 1995) == Title 16, §17j–2. Authorization of appropriations for road maintenance and repair; adm...
redline
summarize
null
usc
usc title 16
{"docid": "16_17j-2", "ed_a": 1994, "ed_b": 2010, "direction": "b_to_a", "x_side": 1, "first_block": "a", "identical": false, "changes": [{"key": "(j)", "op": "deleted"}], "n": 1}
plain
redline|usc|16_17j-2|1994|2010
1,489
redline-004e58a4f4148124
<|start|><|user|> Starting from the 2018 Edition and Supplement I as the base text, which designations does the 2012 Edition and Supplement I change, and how (added, removed, amended)? Excerpt: Text as printed in: United States Code, 2018 Edition and Supplement I (laws enacted through January 24th, 2020) Title 42, §30...
redline
which_changed
null
usc
usc title 42
{"docid": "42_300ff-30", "ed_a": 2013, "ed_b": 2019, "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "changed": [{"key": "(a)", "op": "amended"}, {"key": "(b)", "op": "amended"}, {"key": "(b)(2)", "op": "amended"}, {"key": "(b)(4)", "op": "amended"}]}
chat
redline|usc|42_300ff-30|2013|2019
1,436
redline-005159c15ae6a57d
<|start|><|user|> Use only the two texts of 10 U.S.C. 4621 printed below. Which subsections or paragraphs changed from the 1994 Edition and Supplement I to the 2006 Edition and Supplement II? Do not list any provision that reads the same in both. --- Source: United States Code, 2006 Edition and Supplement II (laws ena...
redline
which_changed
null
usc
usc title 10
{"docid": "10_4621", "ed_a": 1995, "ed_b": 2008, "direction": "a_to_b", "x_side": 0, "first_block": "b", "identical": false, "changed": [{"key": "(a)", "op": "amended"}, {"key": "(b)", "op": "amended"}, {"key": "(c)", "op": "amended"}, {"key": "(f)", "op": "amended"}]}
chat
redline|usc|10_4621|1995|2008
1,125
redline-006dd5e68098a9bb
Does (d)(4) read differently in the edition revised as of October 1, 2008 than in the edition revised as of October 1, 2009? Excerpt: ### Code of Federal Regulations, Title 46, Revised as of October 1, 2009 § 56.50-60 Systems containing oil. (b) When oil needs to be heated to lower its viscosity, heating coils must be...
redline
did_change
no
cfr
cfr title 46
{"docid": "46_56.50-60", "ed_a": 2008, "ed_b": 2009, "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "key": "(d)(4)", "changed": false}
plain
redline|cfr|46_56.50-60|2008|2009
1,919
redline-007719c944a96375
Question: Two texts of 26 U.S.C. 1397A follow, each with its edition or version label. Starting from the 1994 Edition and Supplement III as the base text, which designations does the 2006 Edition and Supplement V change, and how (added, removed, amended)? <text> --- United States Code, 2006 Edition and Supplement V (l...
redline
which_changed
null
usc
usc title 26
{"docid": "26_1397A", "ed_a": 1997, "ed_b": 2011, "direction": "a_to_b", "x_side": 0, "first_block": "b", "identical": false, "changed": [{"key": "(a)(1)(A)", "op": "amended"}, {"key": "(c)", "op": "deleted"}]}
qa
redline|usc|26_1397A|1997|2011
480
redline-00814be7e8b0f321
<|start|><|system|> You check your work before answering.<|eot|> <|user|> The following shows 42 U.S.C. 13369 twice, once per version. Going from the 2018 Main Edition to the 2012 Edition and Supplement II, what was inserted, deleted or replaced? List every change with its designation, in order. Number the changes. ``...
redline
list_changes
null
usc
usc title 42
{"docid": "42_13369", "ed_a": 2014, "ed_b": 2018, "direction": "b_to_a", "x_side": 1, "first_block": "a", "identical": false, "changes": [{"key": "(b)", "op": "amended"}, {"key": "(c)", "op": "amended"}], "fmt": "numbered"}
chat
redline|usc|42_13369|2014|2018
1,042
redline-0088b943b4de63f5
Two texts of 50a U.S.C. 513 follow, each with its edition or version label. Using three bullet points (one per changed provision), explain what the 2012 Main Edition changed relative to the 2006 Edition and Supplement I. """ Source: United States Code, 2012 Main Edition (laws enacted through January 15th, 2013) Title ...
redline
summarize
null
usc
usc title 50a
{"docid": "50a_513", "ed_a": 2007, "ed_b": 2012, "direction": "a_to_b", "x_side": 0, "first_block": "b", "identical": false, "changes": [{"key": "(a)", "op": "amended"}, {"key": "(b)", "op": "amended"}, {"key": "(d)(1)", "op": "amended"}], "n": 3}
plain
redline|usc|50a_513|2007|2012
1,169
redline-009e5323b6d2c972
<|start|><|user|> The following shows 51 U.S.C. 40308 twice, once per version. In (b)(1), the 2018 Edition and Supplement IV reads “to sections 40304 and 40305”. What does the 2018 Edition and Supplement III read at that point? <text> Text as printed in: United States Code, 2018 Edition and Supplement IV (laws enacted...
redline
what_to
same
usc
usc title 51
{"docid": "51_40308", "ed_a": 2021, "ed_b": 2022, "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "key": "(b)(1)", "x_text": "to sections 40304 and 40305", "y_text": "to sections 40304 and 40305"}
chat
redline|usc|51_40308|2021|2022
1,085
redline-009e748a1bd2cb72
This is a version comparison of H. R. 1843, section “Internal Revenue Service seizure requirements with respect to structuring transactions”. Summarize the revision from the Referred in Senate version to the Introduced in House version in one bullet. Mention each changed provision once, in order. <text> [H. R. 1843, R...
redline
summarize
null
bills
bills 115-hr
{"docid": "115-hr-1843|Internal Revenue Service seizure requirements with respect to structuring transactions", "ed_a": "ih", "ed_b": "rfs", "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "changes": [{"key": "(2)", "op": "amended"}], "n": 1}
plain
redline|bills|115-hr-1843|Internal Revenue Service seizure requirements with respect to structuring transactions|ih|rfs
762
redline-00a185d6107d5b29
<|start|><|user|> Looking only at (b): is there any difference between the 2018 Edition and Supplement II and the 2012 Main Edition? Excerpt: Version: United States Code, 2018 Edition and Supplement II (laws enacted through January 13th, 2021) Title 22, §2431h. Conservation Fund (a) Establishment Each beneficiary coun...
redline
did_change
no
usc
usc title 22
{"docid": "22_2431h", "ed_a": 2012, "ed_b": 2020, "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "key": "(b)", "changed": false}
chat
redline|usc|22_2431h|2012|2020
386
redline-00a7404b2a219a77
Side by side: H. R. 4819, section “Findings”, two versions. What exactly changed going from the Introduced in House version to the Referred in Senate version? List all changes, provision by provision, in document order. Format: one bullet per change. ``` == H. R. 4819, Introduced in House (January 18, 2018) == 2. Find...
redline
list_changes
null
bills
bills 115-hr
{"docid": "115-hr-4819|Findings", "ed_a": "ih", "ed_b": "rfs", "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "changes": [{"key": "(1)", "op": "amended"}, {"key": "(2)", "op": "amended"}, {"key": "(5)", "op": "inserted"}], "fmt": "bullets"}
plain
redline|bills|115-hr-4819|Findings|ih|rfs
694
redline-00b8de2b759f99f5
<|start|><|user|> Answer from the two versions of 27 CFR 70.162 only. Brief the changes from the edition revised as of April 1, 2006 to the edition revised as of April 1, 2005 in two bullets, one per provision that changed. Excerpt: Version: Code of Federal Regulations, Title 27, Revised as of April 1, 2005 § 70.162 L...
redline
summarize
null
cfr
cfr title 27
{"docid": "27_70.162", "ed_a": 2005, "ed_b": 2006, "direction": "b_to_a", "x_side": 1, "first_block": "a", "identical": false, "changes": [{"key": "(a)", "op": "amended"}, {"key": "(b)", "op": "amended"}], "n": 2}
chat
redline|cfr|27_70.162|2005|2006
1,154
redline-00bbfcd0d6eaf272
Instruction: Use only the two texts of 7 CFR 1001.71 printed below. Looking only at (b)(1): is there any difference between the edition revised as of January 1, 2004 and the edition revised as of January 1, 2003? <text> [Code of Federal Regulations, Title 7, Revised as of January 1, 2004] § 1001.71 Payments to the pro...
redline
did_change
no
cfr
cfr title 7
{"docid": "7_1001.71", "ed_a": 2003, "ed_b": 2004, "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "key": "(b)(1)", "changed": false}
qa
redline|cfr|7_1001.71|2003|2004
626
redline-00cc6263d466ddb5
Request: List the subsections, paragraphs or other designated units that changed from the 2006 Edition and Supplement III to the 2000 Edition and Supplement I. Include every changed one and no unchanged one, and mark each as added, removed or amended. """ ### United States Code, 2000 Edition and Supplement I (laws ena...
redline
which_changed
none
usc
usc title 47
{"docid": "47_228", "ed_a": 2001, "ed_b": 2009, "direction": "b_to_a", "x_side": 1, "first_block": "a", "identical": true, "changed": []}
qa
redline|usc|47_228|2001|2009
1,567
redline-00cd4ea0f6c23f40
<|start|><|user|> List every change needed to turn the text of the edition revised as of April 1, 2003 into the text of the edition revised as of April 1, 2004. Give one line per change, in document order, naming the designation. Use a numbered list. <text> Source: Code of Federal Regulations, Title 18, Revised as of ...
redline
list_changes
null
cfr
cfr title 18
{"docid": "18_16.5", "ed_a": 2003, "ed_b": 2004, "direction": "a_to_b", "x_side": 0, "first_block": "b", "identical": false, "changes": [{"key": "(b)(1)", "op": "amended"}, {"key": "(b)(2)", "op": "amended"}], "fmt": "numbered"}
chat
redline|cfr|18_16.5|2003|2004
810
redline-00d92f8b6477e115
I have pasted 16 CFR 1031.7 as it reads in two versions. Summarize, provision by provision, how the edition revised as of January 1, 2007 was changed to become the edition revised as of January 1, 2006. Use two bullets, in document order. --- [Code of Federal Regulations, Title 16, Revised as of January 1, 2006] § 103...
redline
summarize
null
cfr
cfr title 16
{"docid": "16_1031.7", "ed_a": 2006, "ed_b": 2007, "direction": "b_to_a", "x_side": 1, "first_block": "a", "identical": false, "changes": [{"key": "(a)(4)", "op": "amended"}, {"key": "(a)(11)", "op": "amended"}], "n": 2}
plain
redline|cfr|16_1031.7|2006|2007
784
redline-00dc1cd1cc9a5557
<|start|><|user|> Below are two versions of 21 CFR 1301.71, each labelled with its source. Did (b)(12) change between the edition revised as of April 1, 2003 and the edition revised as of April 1, 2004? """ [Code of Federal Regulations, Title 21, Revised as of April 1, 2003] § 1301.71 Security requirements generally. ...
redline
did_change
no
cfr
cfr title 21
{"docid": "21_1301.71", "ed_a": 2003, "ed_b": 2004, "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "key": "(b)(12)", "changed": false}
chat
redline|cfr|21_1301.71|2003|2004
1,883
redline-00dea1c6a10030b2
Here is 48 CFR 3001.104 in two versions. Using five bullet points (one per changed provision), explain what the edition revised as of October 1, 2005 changed relative to the edition revised as of October 1, 2006. Excerpt: Version: Code of Federal Regulations, Title 48, Revised as of October 1, 2005 § 3001.104 Applicab...
redline
summarize
null
cfr
cfr title 48
{"docid": "48_3001.104", "ed_a": 2005, "ed_b": 2006, "direction": "b_to_a", "x_side": 1, "first_block": "a", "identical": false, "changes": [{"key": "(c)", "op": "amended"}, {"key": "(d)", "op": "deleted"}, {"key": "(d)(1)", "op": "deleted"}, {"key": "(d)(2)", "op": "deleted"}, {"key": "(d)(3)", "op": "deleted"}], "n":...
plain
redline|cfr|48_3001.104|2005|2006
831
redline-00dfde3b2882e38c
Here is H. R. 5762, section “Authorization of Joint Task Force to counter opioids” in two versions. Going from the Introduced in House version to the Referred in Senate version, what was inserted, deleted or replaced? List every change with its designation, in order. Answer as a Markdown table with the columns Designat...
redline
list_changes
null
bills
bills 115-hr
{"docid": "115-hr-5762|Authorization of Joint Task Force to counter opioids", "ed_a": "ih", "ed_b": "rfs", "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "changes": [{"key": "(2)(B)", "op": "amended"}], "fmt": "table"}
plain
redline|bills|115-hr-5762|Authorization of Joint Task Force to counter opioids|ih|rfs
886
redline-00f281a3a9162d61
### Task Does (a)(3)(D)(i) read differently in the 2018 Edition and Supplement I than in the 2012 Edition and Supplement I? <text> Text as printed in: United States Code, 2012 Edition and Supplement I (laws enacted through January 16th, 2014) Title 42, §15004. Responsibilities of the Secretary (a) Program accountabili...
redline
did_change
yes
usc
usc title 42
{"docid": "42_15004", "ed_a": 2013, "ed_b": 2019, "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "key": "(a)(3)(D)(i)", "changed": true, "op": "amended"}
qa
redline|usc|42_15004|2013|2019
1,475
redline-010de0ff4feab9c2
Instruction: Each block below is 49 CFR 1540.111 from a different source version. Compare the edition revised as of October 1, 2005 with the edition revised as of October 1, 2004 and list all edits (from the first to the second), each with its designation. Give a Markdown table: Designation | Change. --- Source: Code ...
redline
list_changes
null
cfr
cfr title 49
{"docid": "49_1540.111", "ed_a": 2004, "ed_b": 2005, "direction": "b_to_a", "x_side": 1, "first_block": "a", "identical": false, "changes": [{"key": "(a)(3)", "op": "amended"}, {"key": "(b)(2)", "op": "amended"}, {"key": "(c)", "op": "amended"}], "fmt": "table"}
qa
redline|cfr|49_1540.111|2004|2005
1,228
redline-0116ab076332a205
<|start|><|user|> Taking the edition revised as of January 1, 2011 as the starting text, which provisions does the edition revised as of January 1, 2010 add, remove or amend? List them all, in document order. Excerpt: Source: Code of Federal Regulations, Title 12, Revised as of January 1, 2010 § 261a.4 Fees. (a) Copie...
redline
which_changed
null
cfr
cfr title 12
{"docid": "12_261a.4", "ed_a": 2010, "ed_b": 2011, "direction": "b_to_a", "x_side": 1, "first_block": "a", "identical": false, "changed": [{"key": "(a)", "op": "amended"}, {"key": "(b)", "op": "amended"}, {"key": "(c)", "op": "inserted"}, {"key": "(b)(1)", "op": "deleted"}, {"key": "(b)(2)", "op": "deleted"}]}
chat
redline|cfr|12_261a.4|2010|2011
386
redline-011b4fd46fd429a3
### Task Answer from the two versions of 7 U.S.C. 1433c-1 only. Prepare a redline from the 2012 Edition and Supplement III to the 2006 Edition and Supplement II: list each insertion, deletion and replacement with the provision it is in, in the order the provisions appear. Answer as bullet points. Excerpt: ### United S...
redline
list_changes
null
usc
usc title 7
{"docid": "7_1433c-1", "ed_a": 2008, "ed_b": 2015, "direction": "b_to_a", "x_side": 1, "first_block": "b", "identical": false, "changes": [{"key": "(b)", "op": "amended"}], "fmt": "bullets"}
qa
redline|usc|7_1433c-1|2008|2015
641
redline-012b8676d929b018
Compare the two versions of 6 U.S.C. 609 below. Using two bullet points (one per changed provision), explain what the United States Code Preliminary Release changed relative to the 2018 Edition and Supplement II. Text: Version: United States Code, 2018 Edition and Supplement II (laws enacted through January 13th, 2021...
redline
summarize
null
usc
usc title 6
{"docid": "6_609", "ed_a": 2020, "ed_b": 2023, "direction": "a_to_b", "x_side": 0, "first_block": "a", "identical": false, "changes": [{"key": "(c)", "op": "amended"}, {"key": "(e)", "op": "amended"}], "n": 2}
plain
redline|usc|6_609|2020|2023
1,891
redline-0133829ae00f0abe
<|start|><|user|> The following shows 25 U.S.C. 1775g twice, once per version. Did the revision from the 2000 Edition and Supplement I to the 2012 Edition and Supplement III touch (b)(2)(A)? """ [United States Code, 2012 Edition and Supplement III (laws enacted through January 3rd, 2016)] Title 25, §1775g. Effect of r...
redline
did_change
no
usc
usc title 25
{"docid": "25_1775g", "ed_a": 2001, "ed_b": 2015, "direction": "a_to_b", "x_side": 0, "first_block": "b", "identical": false, "key": "(b)(2)(A)", "changed": false}
chat
redline|usc|25_1775g|2001|2015
1,044
End of preview. Expand in Data Studio

ALEA redline: what changed between two real versions of a legal text

7,132 rows (7.12M tokens with the alea-v2b-sw32k tokenizer) from 2,526 source provisions.

Training data for practical document work: given two real versions of the same provision, say exactly what changed. Each row shows one U.S. Code section, one Code of Federal Regulations section, or one section of a congressional bill in two versions, each labelled with the edition or version label printed in the source file, and asks a question about the changes going from a named base version to a named revised version.

Sources

All text is public-record U.S. government material from the KL3M data collection (public domain), read from local copies; nothing was fetched for this dataset.

source versions docs share
United States Code annual files 1994-2023 (Office of the Law Revision Counsel) edition labels as printed, e.g. "2006 Edition and Supplement II (laws enacted through January 5th, 2009)" 2,943 41.3%
Code of Federal Regulations annual editions 1997-2022 (GPO) "Title N, Revised as of " 3,138 44.0%
Congressional bills, 113th-118th Congress (GPO bill XML) bill number, bill stage and date, e.g. "H. R. 549, Referred in Senate (February 1, 2017)" 1,051 14.7%

No single title, CFR title or congress / bill type exceeds 5% of rows. With three sources, the per-source share is capped at 44% rather than the usual 30%.

Task kinds

kind docs what is asked
did_change 2,464 "Did (x) change between X and Y?" Pairs of rows share one document: one asks about a changed provision and one about an unchanged sibling. Yes and no are exactly balanced.
which_changed 1,678 The exact set of changed provisions, in document order, each marked added / removed / amended
list_changes 1,300 Every textual change from X to Y, provision by provision (bullets, numbered list or Markdown table)
summarize 1,168 Exactly N bullets, one per changed provision
what_to 522 "Where X reads 'v' in (x), what does Y read?" Pairs: a changed span and an unchanged span of the same shape

About 5% of rows are identical-version controls whose answer is "no changes". About 5.5% of rows include one worked example from another document; its answer format (a Markdown table) differs from the format the target asks for.

The base X and the revision Y are named by their labels. The direction from X to Y is random, so it does not follow chronology, and the order of the two blocks is random too. Statistics: the base is shown first in 50.7% of rows and is the later version in 50.5%. As a result, "the newer version", "the second block" and "the longer text" never answer a question.

How the answers were made

Every answer was computed by code from the two texts. No language model wrote any part of this dataset: not the instructions, the answers or the gold.

  • Designations. Provisions are identified by their designations ((a), (1), (A), (i) ...), which are read from the enumerators and checked against each source's hierarchy. Provisions are aligned by designation, never by position.
  • Edits. Changes are word-level diffs. Every quoted span is a verbatim slice of the text, and re-applying the stated edits to X reproduces Y.
  • Excluded transitions. A version pair is not used if it involves:
    • redesignated or moved text;
    • format-only differences (punctuation, quote or dash style, fraction rendering);
    • footnote markers or encoding damage;
    • a provision made of more than one paragraph;
    • inline chained enumerators;
    • more than 8 changed provisions.
  • Excerpts. Long sections are shown as excerpts. The parts left out contain no change, so statements about the whole section stay true.
  • Checks on every row. Each quoted span occurs in the text shown, and line and item counts match the gold.

Decontamination and checks

Rows were screened against ALEA evaluation and probe sets and against held-out rows of other ALEA task families. Only real passage overlap was dropped: 13-gram and 8-gram matches with held-out items. Statute boilerplate shared with other U.S. Code-based families accounts for most of the drops.

Cue checks used a question-only bag-of-words classifier with 5-fold grouped cross-validation:

kind classifier accuracy majority-class prior
did_change 50.2% 50.0%
what_to 50.4% 50.0%

Review

  • Blind review. Independent reviewers checked rendered rows against the passages shown, in rounds of 60 rows on fresh documents.
  • Round 1. Found errors in how unchanged sibling provisions were chosen and ambiguous "X against Y" wording.
  • Round 2. Found missing parent designations when a provision's text starts with chained enumerators.
  • Fixes. Both rounds were fixed in the generator and the data was rebuilt.
  • Round 3. On the rebuilt data, 1 of 60 rows was wrong: an edit stated as a fragment cut out of a citation. A check now removes every row that quotes such fragments, and that row is no longer in the dataset.
  • Builder reads. In addition, the builder read 41 encoded rows against both versions.

Format

Parquet, one train split, with these columns:

  • id, text (the full training document), family, kind;
  • source (usc / cfr / bills), stratum, group_id (rows that share a document pair);
  • presentation (plain / qa / chat);
  • gold (JSON: the changed provisions and ops, or the asked key and label);
  • label (yes / no for did_change, else empty), n_tokens.

Each text is at most 4,096 tokens.

License

CC BY 4.0 for the dataset compilation. The underlying government texts are in the public domain.

Downloads last month
516

Collection including alea-institute/alea-redline