<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="billres.xsl"?>
<!DOCTYPE bill PUBLIC "-//US Congress//DTDs/bill.dtd//EN" "bill.dtd">
<bill bill-stage="Introduced-in-House" bill-type="olc" dms-id="HD06E7628709F4B8EBE553FC252C1EABA" key="H" public-private="public"><metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dublinCore>
<dc:title>116 HR 4368 IH: Justice in Forensic Algorithms Act of 2019</dc:title>
<dc:publisher>U.S. House of Representatives</dc:publisher>
<dc:date>2019-09-17</dc:date>
<dc:format>text/xml</dc:format>
<dc:language>EN</dc:language>
<dc:rights>Pursuant to Title 17 Section 105 of the United States Code, this file is not subject to copyright protection and is in the public domain.</dc:rights>
</dublinCore>
</metadata>
<form>
<distribution-code display="yes">I</distribution-code><congress display="yes">116th CONGRESS</congress><session display="yes">1st Session</session><legis-num display="yes">H. R. 4368</legis-num><current-chamber>IN THE HOUSE OF REPRESENTATIVES</current-chamber><action display="yes"><action-date date="20190917">September 17, 2019</action-date><action-desc><sponsor name-id="T000472">Mr. Takano</sponsor> introduced the following bill; which was referred to the <committee-name committee-id="HJU00">Committee on the Judiciary</committee-name>, and in addition to the Committee on <committee-name committee-id="HSY00">Science, Space, and Technology</committee-name>, for a period to be subsequently determined by the Speaker, in each case for consideration of such
			 provisions as fall within the jurisdiction of the committee concerned</action-desc></action><legis-type>A BILL</legis-type><official-title display="yes">To prohibit the use of trade secrets privileges to prevent defense access to evidence in criminal
			 proceedings, provide for the establishment of Computational Forensic
			 Algorithm Standards, and for other purposes.</official-title></form>
	<legis-body id="H5B14710B05AC4FA1A575A95C1CD5B7D1" style="OLC">
 <section id="HBCFB8E785481499395013C6B3EF32739" section-type="section-one"><enum>1.</enum><header>Short title</header><text display-inline="no-display-inline">This Act may be cited as the <quote><short-title>Justice in Forensic Algorithms Act of 2019</short-title></quote>.</text> </section><section id="H200172A5365242F3A351450E8691DD37" section-type="subsequent-section"><enum>2.</enum><header>Computational Forensic Algorithm Standards</header> <subsection id="H1C2B1DAD4CBD436CB17F89DC139AAC31"><enum>(a)</enum><header>In general</header><text display-inline="yes-display-inline">Not later than 1 year after the date of enactment of this Act, the Director of the National Institute of Standards and Technology shall establish a program to provide for creation and maintenance of standards for the development and use of computational forensic software, to be known as the Computational Forensic Algorithm Standards, consistent with the following:</text>
 <paragraph id="H8EEF8504D758442588583960C6D3F193"><enum>(1)</enum><text display-inline="yes-display-inline">Standards shall include an assessment for the potential for disparate impact, on the basis of race, ethnicity, socioeconomic status, gender, and other demographic features, in the development and use of the computational forensic software.</text>
 </paragraph><paragraph id="H4567D630F25D4735904D164B00CFE74B"><enum>(2)</enum><text>Standards shall address—</text> <subparagraph id="H82972BB79F2D4D48BFD28ACA9FE0E4E0"><enum>(A)</enum> <clause commented="no" display-inline="yes-display-inline" id="H9FD1D26150B4484EA27AAA3D8CB8C0D2"><enum>(i)</enum><text>the underlying scientific principles and methods implemented in computational forensic software; and</text>
 </clause><clause id="H8ECFEB8D3BBD4F19A6338F0F975FF677" indent="up1"><enum>(ii)</enum><text>if, in the case of a particular method, there are insufficient studies supporting its use, what studies the Director has conducted to do so, and the results of such studies;</text>
 </clause></subparagraph><subparagraph id="H10EBE347488442BBA4C8731696D0702E"><enum>(B)</enum><text display-inline="yes-display-inline">requirements for testing the software including the conditions under which it needs to be tested, types of testing data to be used, testing environments, testing methodologies, and system performance statistics required to be reported including—</text>
 <clause id="H95E5C6FF60B543A98B56F3E696BCE915"><enum>(i)</enum><text>accuracy, including false positive and false negative error rates;</text> </clause><clause id="H273A1ACF2D424D96AF85D49C2F0EBCC9"><enum>(ii)</enum><text>precision;</text>
 </clause><clause id="H010EAD822D834E7C813274E51D8B2760"><enum>(iii)</enum><text>reproducibility;</text> </clause><clause id="H7FFA9199B5CA4F419E474F0FDB472479"><enum>(iv)</enum><text>robustness; and</text>
 </clause><clause id="HA0ED3A426EE849F4B7AC87637C9467EA"><enum>(v)</enum><text>sensitivity;</text> </clause></subparagraph><subparagraph id="H87DAC691CF5A431FAF22C72CB04C3287"><enum>(C)</enum><text display-inline="yes-display-inline">requirements for publicly available documentation by developers of computational forensic software of the purpose and function of the software, the development process, including source and description of training data, and internal testing methodology and results, including source and description of testing data;</text>
 </subparagraph><subparagraph id="H98468EF934EE43608362704E03D1AC02"><enum>(D)</enum><text display-inline="yes-display-inline">requirements for laboratories and any other entities using computational forensic software to validate it for use, including to specify the conditions under which the lab has validated it for their use, requirements for what information needs to be included in a public report on the lab or other entity’s validation, and requirements for internal validation updates when there are material changes to the software; and</text>
 </subparagraph><subparagraph id="H2FEC05FF448C4CE89A48C260AE668A19"><enum>(E)</enum><text display-inline="yes-display-inline">requirements for reports provided to defendants by prosecution produced documenting the use and results of computational forensic software in individual cases.</text>
 </subparagraph></paragraph><paragraph id="H73EA8A12638748CB9E198C1350E1E67C"><enum>(3)</enum><text display-inline="yes-display-inline">Standards shall be issued as a rulemaking under section 553 of title 5, United States Code.</text> </paragraph><paragraph id="HD0ABD4F1764D4CCFA78CE80D47EA637A"><enum>(4)</enum><text display-inline="yes-display-inline">The Director shall consult with outside experts in forensic science, bioethics, algorithmic discrimination, data privacy, racial justice, criminal justice reform, exonerations, and other relevant areas of expertise identified through public input.</text>
 </paragraph></subsection><subsection display-inline="no-display-inline" id="H585BF85D63C441EE922DC0A0ACDAC947"><enum>(b)</enum><header>Protection of trade secrets</header><text>The Federal Rules of Evidence are amended by adding at the end of article V the following:</text> <quoted-block display-inline="no-display-inline" id="H1303C3EA91F2454DBAFFA8DDEBBC7335" style="OLC"> <section id="H4AF06BE44DE744E587DD045A9637C666" section-type="undesignated-section"><enum>Rule 503.</enum><header>Protection of trade secrets in a criminal proceeding</header><text display-inline="no-display-inline">In any criminal case, trade secrets protections do not apply when defendants would otherwise be entitled to obtain evidence.</text>
					</section><after-quoted-block>.</after-quoted-block></quoted-block>
 </subsection><subsection id="HA51E898E664C4F64BAFB4B4F8942EF8C"><enum>(c)</enum><header>Requirements for Federal use of forensic algorithms</header><text display-inline="yes-display-inline">Any Federal law enforcement agency or crime laboratory providing services to a Federal agency using computational forensic software may use only software that has been tested under the National Institute of Standards and Technology’s Computational Forensic Algorithm Testing Program and shall conduct an internal validation according to the requirements outlined in the Computational Forensic Algorithm Standards and make the results publicly available. The internal validation shall be updated when there is a material change in the software that triggers a retesting by the Computational Forensic Algorithm Testing Program.</text>
 </subsection><subsection id="H7354B8D3EC8047CEA260C0A30F48A5A1"><enum>(d)</enum><header>Requirements for testing</header><text display-inline="yes-display-inline">The Director of the National Institute of Standards and Technology shall establish a Computational Forensic Algorithm Testing Program, whose activities include the following:</text>
 <paragraph id="HFF9FBD5C75B74D96B1967BF873F41549"><enum>(1)</enum><text display-inline="yes-display-inline">Testing individual software programs using the testing requirements established in the Computational Forensic Algorithm Standards.</text>
 </paragraph><paragraph id="HC93B6E146D304DADB0BADC202A859ABC"><enum>(2)</enum><text display-inline="yes-display-inline">Using realistic sample testing data similar to what would be used by law enforcement in criminal investigations in performing such testing, including incomplete and contaminated samples.</text>
 </paragraph><paragraph id="HD827B4557FCE4911A10E0A96C426CC7E"><enum>(3)</enum><text>Using testing data that represents diversity of racial, ethnic, and gender identities and intersections of these identities in performing such testing.</text>
 </paragraph><paragraph id="H2A2395699F7E4D529252C4BC81D863FC"><enum>(4)</enum><text display-inline="yes-display-inline">Using testing data that tests the limits of the software and demonstrates the boundaries of reliability described in the performance measures defined in the Computational Forensic Algorithm Standards in performing such testing.</text>
 </paragraph><paragraph id="HA8FDEBA6D97B43CAA0947456A9BCA75C"><enum>(5)</enum><text>Publishing the results of testing the software online including results under conditions specified in the standards and across diversity of racial, ethnic, and gender identities and intersections of these identities in a publicly available format.</text>
 </paragraph></subsection><subsection id="H3E035B2937D94339BA631FCDA7F679C1"><enum>(e)</enum><header>Testing frequency</header><text display-inline="yes-display-inline">Retesting shall be conducted when a material change is made to the software that impacts its performance and may affect its outputs. The Director shall establish requirements for determining whether changes are material or nonmaterial.</text>
 </subsection><subsection id="H5CEDD5CEAEAF4942AF8E0D641397D3C2"><enum>(f)</enum><header>Discovery in criminal cases</header><text>Rule 16 of the Federal Rules of Criminal Procedure is amended—</text> <paragraph id="H8CD7A5E011FF46EDA9153363EDDA716E"><enum>(1)</enum><text>in subdivision (a)(1), by adding at the end the following:</text>
					<quoted-block display-inline="no-display-inline" id="HA050E9BCAEE64C6B9B24A3FF8D71C119" style="OLC">
 <subparagraph id="HE565768D4F5448A1999683FEEAEBE2F0"><enum>(H)</enum><text display-inline="yes-display-inline"><italic>Use of Computational Forensic Software</italic>. Any results or reports resulting from analysis by computational forensic software shall be provided to the defendant, and the defendant shall be accorded access to an executable copy of the version of the computational forensic software, as well as earlier versions of the software, necessary instructions for use and interpretation of the results, and relevant files and data, used for analysis in the case and suitable for testing purposes. Such a report on the results shall include—</text>
 <clause id="H5B3E42A02D004070B48347E79D6A4BB4"><enum>(i)</enum><text>the name of the company that developed the software;</text> </clause><clause id="HF007A6279C464AAC9568BFC5F4F0589D"><enum>(ii)</enum><text>the name of the lab where test was run;</text>
 </clause><clause id="HFC8CB4B32A214027B267C0402D093490"><enum>(iii)</enum><text>the version of the software that was used;</text> </clause><clause id="HA4F59B46593F4957A3CD8A321BEE858B"><enum>(iv)</enum><text display-inline="yes-display-inline">the dates of the most recent changes to the software and record of changes made, including any bugs found in the software and what was done to address those bugs;</text>
 </clause><clause id="HB524672623EF4A02BDBDE43A40CF5EFD"><enum>(v)</enum><text>documentation of procedures followed based on procedures outlined in internal validation;</text> </clause><clause id="H290D48736A13402EAA1DDAF53009C13B"><enum>(vi)</enum><text display-inline="yes-display-inline">documentation of conditions under which software was used relative to the conditions under which software was tested; and</text>
 </clause><clause id="H62EC1F41E46849F3B988216A5FFE0612"><enum>(vii)</enum><text>any other information specified by the Director of the National Institute of Standards and Technology in the Computational Forensic Algorithm Standards.</text></clause></subparagraph><after-quoted-block>.</after-quoted-block></quoted-block>
 </paragraph></subsection><subsection id="H0E546AFF90074F0797A213BA85BEB113"><enum>(g)</enum><header>Inadmissibility of certain evidence</header><text>The Federal Rules of Evidence are amended by adding at the end of article I the following:</text> <quoted-block display-inline="no-display-inline" id="HBDEED4019C4840A49FB4FC7EE6EFF37D" style="OLC"> <section id="H7CB10128013C4C2686997782B8208DDA" section-type="undesignated-section"><enum>Rule 107.</enum><header>Inadmissibility of certain evidence that is the result of analysis by computational forensic software</header><text display-inline="no-display-inline">In any criminal case, evidence that is the result of analysis by computational forensic software is admissible only if—</text>
 <paragraph id="H06BD88DD5E56441CA39F8C7D8BE17B08"><enum>(1)</enum><text display-inline="yes-display-inline">the computational forensic software used has been submitted to the Computational Forensic Algorithm Testing Program of the Director of the National Institute of Standards and Technology and there have been no material changes to that software since it was last tested; and</text>
 </paragraph><paragraph id="H7893484C25DA4D9A9B33B8176D2948AA"><enum>(2)</enum><text>the developers and users of the computational forensic software agree to waive any and all legal claims against the defense or any member of its team for the purposes of the defense analyzing or testing the computational forensic software.</text>
						</paragraph></section><after-quoted-block>.</after-quoted-block></quoted-block>
 </subsection><subsection id="H6F6C466331034F7D90D7C7BDEF9C28E4"><enum>(h)</enum><header>Definitions</header><text display-inline="yes-display-inline">In this Act:</text> <paragraph id="H1C17B35AAD4945D1B495ED6218B9B6AD"><enum>(1)</enum><header>Computational forensic software</header><text display-inline="yes-display-inline">The term <term>computational forensic software</term> means software that relies on an automated or semiautomated computational process, including one derived from machine learning, statistics, or other data processing or artificial intelligence techniques, to process, analyze, or interpret evidence.</text>
 </paragraph><paragraph id="HEBC063D9E3FC43FBB6F061334D6FA3EE"><enum>(2)</enum><header>material change</header><text display-inline="yes-display-inline">The term <quote>material change</quote> means an update to computational forensic software that may affect the performance measures defined in the Computational Forensic Algorithm Standards or the use or output of the software.</text>
 </paragraph><paragraph id="H2AB670738EC34C658275BBCA083D0868"><enum>(3)</enum><header>nonmaterial change</header><text display-inline="yes-display-inline">The term <quote>nonmaterial change</quote> means an update to computational forensic software that does not affect the performance measures, use, or output of the software.</text>
				</paragraph></subsection></section></legis-body></bill>


