1 Trustworthiness & Transparency 1 Trustworthiness & Transparency

1.1 People v. Superior Court of Los Angeles County (Chubbs) (Cal. Ct. App. 2015) 1.1 People v. Superior Court of Los Angeles County (Chubbs) (Cal. Ct. App. 2015)

California Court of Appeal, Second District, Division 4 (January 9, 2015)

The PEOPLE, Petitioner,
v.
The SUPERIOR COURT of Los Angeles County, Respondent;
Martell (CHUBBS), Real Party in Interest.

B258569

Filed January 9, 2015

Attorneys and Law Firms

Jackie Lacey, District Attorney, Roberta Schwartz and Matthew Brown, Deputy District Attorneys, for Petitioner.

No appearance for Respondent.

Angelyn Gates for Real Party in Interest.

Opinion

WILLHITE, J.

Real party in interest Martell Chubbs was charged in a November 28, 2012 information with the murder of Shelley H. in 1977 (Pen.Code, § 187, subd. (a)).[FN1] The charge was filed after a DNA sample from the victim was found to be a match for Chubbs. The People petition for a writ of mandate to overturn the order of the superior court compelling the disclosure of a computer source code for software, TrueAllele Casework (TrueAllele), which was used in the DNA analysis. The People contend that the source code is a protected trade secret of the creator and owner of the software, Mark W. Perlin, and his company, Cybergenetics. We grant the petition.

FACTUAL AND PROCEDURAL BACKGROUND

Preliminary Hearing Evidence[FN2]

In December 1977, Long Beach Police Department officers found the 17–year–old victim in her Long Beach apartment. She was lying on the end of the bed with her feet touching the ground and with an electrical wire tied around her neck. During an autopsy, swabs were taken from the victim's vagina and smeared onto slides.

In June 2011, as part of a cold case investigation, Sorenson Forensics (Sorenson) conducted a DNA test on the vaginal swabs from the victim. Sorenson generated a DNA report that indicated three contributors to the DNA: a major sperm DNA profile attributable to an unidentified male, a minor sperm DNA profile, and a partial DNA profile attributable to the victim. Sorenson excluded the victim's husband, Nolan Hankins, as the source of the major sperm DNA profile.[FN3]

Although the record before us does not include the basis for the arrest, Long Beach Police Department detectives arrested Chubbs in August 2012. Chubbs confirmed that he lived in Long Beach in the 1970s.

In September 2012, Sorenson compared the DNA profile of Chubbs, an African–American, to the major sperm DNA profile and found a match. The frequency of the profile occurrence in the general population was determined to be one in approximately 10,000 for African Americans.

At the preliminary hearing in November 2012, Chubbs was held to answer for one count of murder. The information charged Chubbs with one count of murder and alleged six prior convictions of serious felonies (§ 667, subd. (a)(1)) that also qualified as strikes under the Three Strikes law (§§ 667, subds. (b)-(i), 1170.12, subds. (a)-(d)). In January 2013, Chubbs pleaded not guilty to the murder charge.

As part of trial preparation, in September 2013, the People sent the victim's vaginal slide to Cybergenetics' lab in Pittsburgh, Pennsylvania for further testing. Cybergenetics prepared a supplemental report, explaining that it had used its TrueAllele software to “infer possible DNA contributor genotypes from the samples,” then compared the evidence genotypes to the reference genotypes (which included Chubbs' and Hankins' genotypes) to compute likelihood ratio DNA match statistics. “TrueAllele assumed that the evidence sample data ... contained two or three contributors, and objectively inferred evidence genotypes solely from these data.” Perlin concluded in the supplemental report that the DNA match between the vaginal sperm sample and Chubbs is “1.62 quintillion times more probable than a coincidental match to an unrelated Black person.” Perlin also concluded that the DNA match with Hankins was “2.82 million times more probable than a coincidental match to an unrelated Black person.”

Defense Discovery Efforts

In November 2013, Chubbs made his third informal discovery request, which included the request at issue here, for Cybergenetics' source codes for TrueAllele. In January 2014, Chubbs filed a motion to compel discovery that included the request for Cybergenetics' source codes. Defense counsel cited statements in Cybergenetics' supplemental report indicating that TrueAllele made assumptions and inferences in computing its DNA match statistics. According to defense counsel, the TrueAllele program was “brand new” and had not been the subject of a Kelly hearing, and without the source codes there would be no way to cross examine Perlin about the efficacy and accuracy of the program.[FN4]

The defense received several discovery items related to Cybergenetics and TrueAllele, including the following: the September 2013 supplemental report, a November 2013 case packet by Cybergenetics, published articles by Perlin regarding DNA analysis and the TrueAllele software, a data disc from Sorenson, TrueAllele manuals from March 2014, a data disc from Cybergenetics, and a PowerPoint presentation to be used by Perlin. However, the dispute here focuses on the source codes for TrueAllele, which were not produced.

On January 15, 2014, the People filed an opposition to the motion to compel discovery, arguing that the defense was not entitled to a discovery order because the People had voluntarily complied with their discovery obligations, citing section 1054.5, subdivision (a).[FN5] As pertinent here, the People explained that they requested the source code from Cybergenetics, but Cybergenetics did not turn it over because it is a trade secret. The People argued that disclosure of the source code would be “financially devastating” to Cybergenetics.

The People stated in their opposition that, although Cybergenetics is unwilling to disclose its source code, it “is willing to conduct additional TrueAllele testing on a limited set of defense-provided data to further defense understanding of the system, its operation and its reliability. Cybergenetics is also willing to meet with defense experts (in person or via an Internet meeting) to show them the results in this case, and explain to them on a TrueAllele computer how the system operates, though Cybergenetics cannot provide [the] defense with a[n] executable version of the TrueAllele casework system which costs $60,000.”

Chubbs then filed an application for an out-of-state subpoena duces tecum, seeking the source codes for the TrueAllele software. He argued that the source codes were essential to his defense because the DNA evidence from the vaginal slide was the only evidence against him. He pointed out the discrepancy between the random match probability calculated by Sorenson (1 in approximately 10,000) and the likelihood ratio calculated by Cybergenetics (1.62 quintillion times more probable than a coincidental match) to argue that the source codes were necessary to cross-examine Perlin about the accuracy of TrueAllele.

In a declaration submitted with the application, defense counsel stated that forensic experts and other attorneys who work with DNA evidence advised her to obtain the source codes for TrueAllele. She stated that “other experts in the field have developed a similar software program as TrueAllele for which their source codes are open for public review.” Defense counsel further stated that Allan Jamieson, an expert in DNA analysis who had experience with TrueAllele, told her that she could not properly defend against the TrueAllele results without the source codes.

Jamieson stated in his declaration that “access to this code is the only satisfactory and professionally recommended way to fully consider the validity of the TrueAllele analysis” in this case. He stated that “[o]ther analysts who have developed computer-assisted DNA comparison software ... do not hide their source codes” and instead make them freely available, which allows others to fully review and verify the reliability of the method and results in any given case.

Motion to Quash

On May 16, 2014, the People filed a motion to quash the subpoena duces tecum. Contrary to its earlier argument in its opposition to the motion to compel discovery, the People now argued that Cybergenetics was not a third party to the investigation but instead was an investigatory agency within the meaning of section 1054.5, subdivision (a).

The trial court denied the People's motion to quash and issued a certificate for an out-of-state subpoena, ordering Perlin to produce the source codes. On June 16, 2014, a Pennsylvania court issued an order directing compliance with the subpoena duces tecum. The Pennsylvania court reasoned that Perlin was a material witness, and the means by which he arrived at his opinions likewise was material. The court thus ordered Perlin to appear with the source codes and stated that any issue regarding the disclosure of trade secrets should be determined by the California court.

The People moved to quash the subpoena duces tecum. The People argued that the materials are a trade secret, that Chubbs has not established the source codes are material or necessary, and that the discovery is not permitted by section 1054, subdivision (e).[FN6]

On June 24, 2014, the trial court issued and held a body attachment for Perlin based on his failure to appear pursuant to the subpoena duces tecum. The People subsequently withdrew the contention that Perlin was an expert employed by the prosecution pursuant to subdivision (a) of section 1054.5, noting that Perlin had retained private counsel regarding the trade secret privilege.

Perlin, represented by California counsel, submitted a brief in support of his assertion of the trade secret privilege. The People filed a motion to reconsider the court's May 16 order denying the People's motion to quash the subpoena duces tecum, and for an order granting the motion and quashing the body attachment held for Perlin.

At a July 29, 2014 hearing, the court ruled the source codes are not necessary pursuant to Kelly/Frye, but that Chubbs' right to confront and cross-examine witnesses required the production of the source codes. The prosecutor again invoked the trade secret privilege on Perlin's behalf. The court found that nondisclosure of the source codes does “work injustice” in the sense that it denies Chubbs a right to confront and cross-examine witnesses (Evid.Code, § 1060), and that a protective order can protect Perlin's interest. The court indicated that it would follow the procedure set forth in Evidence Code sections 1061 and 1062, by issuing a protective order and, if needed, excluding the public from the proceedings. The court held the body attachment for Perlin until August 26 and ordered the prosecution to provide the source codes on that date.

On August 26, 2014, the court deemed the TrueAllele source code a trade secret for purposes of the trial. Perlin brought an encrypted form of the source code. However, before turning over the source code, the prosecution raised the issue of a protective order. The court explained that although it would grant a protective order to minimize disclosure of the source code, the source code would be revealed to a certain extent at trial. The People subsequently did not proffer a protective order, but instead refused to turn over the source code. Defense counsel requested the exclusion of the TrueAllele results at trial. The court granted the request based on Chubbs' rights under the confrontation clause and the fact Perlin was to be a main prosecution witness against Chubb.

The People petitioned for a writ of mandate to this court. We issued an alternative writ of mandate ordering the superior court to vacate the July 29 and August 26, 2014 orders compelling the disclosure of the computer source codes, or to show cause why a peremptory writ of mandate should not issue.[FN7] The superior court did not vacate its ruling, and the matter is now before us.

DISCUSSION

The People contend that the trial court improperly applied the trade secret privilege and that Chubbs failed to make a prima facie showing sufficient to overcome the privilege.[FN8] “The court's ruling on a discovery motion is subject to review for abuse of discretion. [Citation.]” (People v. Jenkins (2000) 22 Cal.4th 900, 953.) “A trial court has abused its discretion in determining the applicability of a privilege when it utilizes the wrong legal standards to resolve the particular issue presented. [Citation.]” (Seahaus La Jolla Owners Assn. v. Superior Court (2014) 224 Cal.App.4th 754, 766.)

We begin by setting forth the statutes and law regarding the trade secret privilege.

I. Trade Secret Privilege

Evidence Code section 1060 provides: “If he or his agent or employee claims the privilege, the owner of a trade secret has a privilege to refuse to disclose the secret, and to prevent another from disclosing it, if the allowance of the privilege will not tend to conceal fraud or otherwise work injustice.” In the instant case, it is undisputed that the source codes in issue constitute a trade secret. (See Evid.Code, § 1062, subd. (a) [for purposes of Evidence Code sections 1061, 1062, and 1063, which apply to criminal cases, “[t]rade secret” is defined in Civil Code section 3426.1 or Penal Code section 499c, subdivision (a)(9) ].)

In civil cases, a burden-shifting procedure is used to evaluate assertion of the trade secret privilege. Based on the language and legislative history of Evidence Code section 1060, the court in Bridgestone/Firestone, Inc. v. Superior Court (1992) 7 Cal.App.4th 1384 (Bridgestone) held that “the party claiming the [trade secret] privilege has the burden of establishing its existence. [Citations.] Thereafter, the party seeking discovery must make a prima facie, particularized showing that the information sought is relevant and necessary to the proof of, or defense against, a material element of one or more causes of action presented in the case, and that it is reasonable to conclude that the information sought is essential to a fair resolution of the lawsuit. It is then up to the holder of the privilege to demonstrate any claimed disadvantages of a protective order.” (Id. at p. 1393; see also Raymond Handling Concepts Corp. v. Superior Court (1995) 39 Cal.App.4th 584, 590–591 [relying on the procedure enunciated in Bridgestone and concluding that the information was discoverable and that the trial court did not abuse its discretion in entering a protective order].)

Chubbs contends that when a defendant in a criminal case seeks disclosure of an item meeting the definition of a trade secret, Evidence Code section 1060 does not permit the owner of the trade secret to refuse to disclose. Rather, according to Chubbs, Evidence Code sections 1061 and 1062 supersede section 1060, and authorize only (on a proper showing) the remedy of a protective order (§ 1062) and exclusion of the public from portions of the trial at which a trade secret might be revealed (§ 1062). Evidence Code section 1061 provides: “In addition to Section 1062, the following procedure shall apply whenever the owner of a trade secret wishes to assert his or her trade secret privilege, as provided in Section 1060, during a criminal proceeding.” (Evid.Code, § 1061, subd. (b).) The statute then sets forth a procedure under which the holder of the trade secret privilege or an authorized representative may move for a protective order (Evid.Code, § 1061, subd. (b)(1)), any party to the proceeding may oppose the motion (id., subd. (b)(2)), and the court, on a finding “that a trade secret may be disclosed ... unless a protective order is issued and that the issuance of a protective order would not conceal a fraud or work an injustice, ... issue[s] a protective order limiting the use and dissemination of the trade secret” (id., subd. (b)(4)).[FN9] Evidence Code section 1062 similarly provides a procedure under which “the court, upon motion of the owner of a trade secret, or upon motion by the People with the consent of the owner, may exclude the public from any portion of a criminal proceeding where the proponent of closure has demonstrated a substantial probability that the trade secret would otherwise be disclosed to the public during that proceeding and a substantial probability that the disclosure would cause serious harm to the owner of the secret, and where the court finds that there is no overriding public interest in an open proceeding. No evidence, however, shall be excluded during a criminal proceeding pursuant to this section if it would conceal a fraud, work an injustice, or deprive the People or the defendant of a fair trial.” (Evid.Code, § 1062, subd. (a).)[FN10]

Although Chubbs does not expressly acknowledge it, an implicit premise of his contention seeking disclosure of the source codes is that a criminal defendant need not make a prima facie showing of the relevance and necessity of the trade secret before disclosure occurs. Rather, upon a defense request for material that qualifies as a trade secret, the holder of the trade secret privilege cannot object on the ground that no showing of relevance and necessity has been made. To the contrary, the privilege holder's only remedies, even for material as to which there is no relevance and necessity, are to seek a protective order limiting the terms of disclosure (but not precluding disclosure) under Evidence Code section 1061, and closing the proceedings at which the trade secret might be disclosed under Evidence Code section 1062.

We decline to read Evidence Code sections 1061 and 1062 in such a manner. In short, it makes no sense to require the holder of a trade secret privilege to submit to disclosure of the trade secret, even subject to a protective order and the closing of certain proceedings, without a showing that the trade secret is relevant and necessary to the defense. (See People v. Superior Court (Barrett ) (2000) 80 Cal.App.4th 1305, 1318 [“A criminal defendant has a right to discovery by a subpoena duces tecum of third party records on a showing of good cause—that is, specific facts justifying discovery.”].) We thus conclude that the test for trade secret disclosure adopted in Bridgestone —a prima facie, particularized showing that the source code is relevant and necessary to the defense—is required for Chubbs to require disclosure of the source codes.

The trial court here correctly began with a determination under Evidence Code section 1060 that the source code is a trade secret and then moved to the issue of a protective order pursuant to Evidence Code section 1061. However, because we find that Chubbs did not meet his prima facie burden for disclosure, we conclude that the People should not have been compelled to produce the source code, whether or not subject to a protective order.

II. Chubbs' Evidence Regarding Necessity of Source Code

Chubbs submitted declarations from defense counsel and Jamieson to support his contention that the source code is essential to his defense.[FN11] Defense counsel relied on the fact that the DNA evidence was the only evidence connecting Chubbs to the victim.

Defense counsel further declared that without the source code, “there is no way for my expert to determine what assumptions, among other things, have been made and if they are appropriate in this particular case.” In her application for the subpoena duces tecum, she declared that her DNA experts, another forensic DNA consultant (who has helped develop a program similar to TrueAllele with source codes open for public review), and unidentified attorneys “who focus on DNA evidence regarding TrueAllele” advised her to request the source codes and pseudo source codes.

In Jamieson's declaration, he claimed ten years of forensic experience, as well as familiarity with TrueAllele's “claimed methodology and use” and “experience” in court with TrueAllele. He opined that “access to this code is the only satisfactory and professionally recommended way to fully consider the validity of the TrueAllele analysis” in this case. He claimed that others who have developed computer-assisted DNA comparison software “do not hide their source codes” and instead make them freely available, which allows others to fully review and verify the reliability of the method and results in any given case.

In considering whether Chubbs has made a prima facie showing of the necessity of the source code to his defense, we consider not only Chubbs' evidence but also Perlin's declaration, which was submitted in support of the People's motion to quash the subpoena duces tecum. (See Bridgestone, supra, 7 Cal.App.4th at p. 1395 [“while the burden of making a prima facie showing of the particularized need for a trade secret is on the party seeking discovery, the trial court need not ignore evidence presented by the opposing party on the question whether the information sought is a trade secret”].)

Perlin explained that TrueAllele is useful when uncertainty in DNA analysis arises, such as when two or more people contribute to the evidence, and it decreases uncertainty by comparing information to a suspect. TrueAllele is “Cybergenetics' computer implementation of [a] two-step DNA identification inference approach.” This process involves, first, “objectively inferring genotypes from evidence data, accounting for allele pair uncertainty using probability,” and “subsequently matching genotypes, comparing evidence with a suspect relative to a population, to express the strength of association using probability.”

Perlin declared that TrueAllele is widely accepted, having been used in approximately 200 criminal cases in courts in California, Pennsylvania, and Virginia, and it has been subjected to numerous validation studies, five of which were published in peer-reviewed scientific journals.

Perlin explained that software source code is the programming language used to write a computer program. The source code “details step-by-step human-readable instructions that describe to the computer and programmers how the program operates,” and is “translated into computer-readable ‘executable’ software.” He stated that TrueAllele has about 170,000 lines of computer source code and opined that reading through the source code would not yield meaningful information.

As to the proprietary nature of the source code, Perlin explained that others “can easily copy a computer program if they have its source code,” which “contains the software design, engineering know-how, and the algorithmic implementation of the entire computer program.” Cybergenetics has invested millions of dollars over 20 years to develop TrueAllele, which it offers to crime labs for a base license fee of $60,000.

Perlin differentiated TrueAllele from the open source DNA analysis software programs referenced in the declarations of defense counsel and Jamieson, stating that open source programs “typically are not validated prior to release, because the process of perfecting software is costly.” In addition, open source forensic programs “tend to be relatively short programs consisting of several hundreds of lines of code,” in contrast to the 170,000 lines of code in TrueAllele.

Cybergenetics accordingly has never disclosed the source code to anyone outside the company and does not distribute it to businesses or government agencies that license the software. Cybergenetics does, however, disclose TrueAllele's methodology and its “underlying mathematical model” to enable others to understand its genotype modeling mechanism. The company “provides opposing experts the opportunity to review the TrueAllele process, examine results, and ask questions.”

Cybergenetics keeps the source code secret because of the “highly competitive commercial environment” in which it operates. Perlin declared that Cybergenetics' competitors are interested in replicating TrueAllele and that disclosure of the source code would enable its competitors to copy the product, causing the company irreparable harm. Perlin believed that source code is not revealed for other commercial forensic DNA software because the source code is not needed to assess the software programs' reliability.

Jamieson's general statement that a criminal defendant cannot “receive a diligent and fair verification of a DNA testing or analysis method” without the source codes does not address Perlin's explanations of what the source code actually is and why it is not needed to test the methodology or reliability of TrueAllele's analysis. Jamieson also generally states that access to the source code is the only way to consider the validity of the TrueAllele analysis in Chubbs' case, but he does not explain how access to the source code would allow him to test the reliability of TrueAllele's analysis. (See Bridgestone, supra, 7 Cal.App.4th at p. 1396 [“nowhere did [the real parties' expert] describe with any precision how or why the [trade secret] formulas were a predicate to his ability to reach conclusions in the case”].)

Similarly, defense counsel generally states in her declaration that others have told her she needs to request the source codes and that there is “no way [she] can properly prepare to defend against the TrueAllele results without the source codes and pseudo source codes.” However, these general declarations do not address why the source code is needed to review the reliability of the TrueAllele analysis, how the source code would be used to review the TrueAllele results, or what could be revealed by the source codes that would be useful to Chubbs' defense. Indeed, her declarations regarding TrueAllele's methodology, inferences, and reliance on the likelihood ratio rather than the random match probability illustrate her understanding of TrueAllele and thus undercut her argument that the source codes are necessary to understanding TrueAllele. This is particularly true in light of the fact that defense counsel received the patent documents regarding TrueAllele, numerous published articles regarding TrueAllele, and TrueAllele operating manuals. Further supporting the position that the source code is not necessary to an understanding of TrueAllele is Perlin's statement in his declaration that Cybergenetics discloses to opposing experts TrueAllele's methodology, how it applies its method to the data, and how the software works. The supplemental report prepared by Cybergenetics also explained the assumptions made by TrueAllele in its analysis. The vague statements by defense counsel and Jamieson do not describe in any way how the source code would have any bearing on the reliability of the analysis.

In his declaration, Perlin cited Commonwealth v. Foley (Pa.Super.2012) 38 A.3d 882, in which the Superior Court of Pennsylvania held that the trial court did not abuse its discretion in admitting Perlin's DNA-related testimony. (Id. at p. 890.) Although this out-of-state case does not carry precedential weight, we agree with its conclusion that access to TrueAllele's source code is not necessary to judge the software's reliability. Similar to Chubbs' case, Perlin's estimate of the probability of a DNA match to the defendant in Foley was much higher (1 in 189 billion) than the estimates of the other scientific experts (1 in 13,000 and 1 in 23 million). (See id. at p. 887.) As pertinent here, the Pennsylvania court rejected the defendant's argument that Perlin's testimony should have been excluded, reasoning that “scientists can validate the reliability of a computerized process even if the ‘source code’ underlying that process is not available to the public. TrueAllele is proprietary software; it would not be possible to market TrueAllele if it were available for free. [Citation.]” (Id. at p. 889.) The court further reasoned that TrueAllele “has been tested and validated in peer-reviewed studies,” citing several papers that “were published in peer-reviewed journals” and thus “reviewed by other scholars in the field.” (Id. at pp. 889–890.)

“[I]t is not enough that a trade secret might be useful to real parties.” (Bridgestone, supra, 7 Cal.App.4th at p. 1395.) Instead, “the party seeking discovery must make a prima facie, particularized showing that the information sought is relevant and necessary to the proof of, or defense against, a material element of one or more causes of action presented in the case, and that it is reasonable to conclude that the information sought is essential to a fair resolution of the lawsuit.” (Id. at p. 1393.) Chubbs has received extensive information regarding TrueAllele's methodology and underlying assumptions, but he has not demonstrated how TrueAllele's source code is necessary to his ability to test the reliability of its results. We therefore conclude that Chubbs has not made a prima facie showing of the particularized need for TrueAllele's source code.

III. Right to Confront Witnesses

The trial court relied on Chubbs' constitutional right to confrontation to conclude that the People were required to produce the source code. However, our state supreme court has stated, “invocation of the confrontation or compulsory process clauses in a claim involving pretrial discovery ‘is on weak footing’ because it is unclear whether or to what extent those constitutional guarantees grant pretrial discovery rights to a defendant. [Citations.]” (People v. Clark (2011) 52 Cal.4th 856, 982–983; see also People v. Hammon (1997) 15 Cal.4th 1117, 1126 [examining United States Supreme Court precedent and concluding, “it is not at all clear ‘whether or to what extent the confrontation or compulsory process clauses of the Sixth Amendment grant pretrial discovery rights to the accused’ ”] (Hammon ).)

“In [Hammon ], the Supreme Court held the trial court properly quashed a subpoena duces tecum the defendant served on psychotherapists treating the alleged victim without first conducting an in camera review of the material. ‘[R]eject[ing the] defendant's claim that pretrial access to such information was necessary to vindicate his federal constitutional rights to confront and cross-examine the complaining witness at trial or to receive a fair trial’ [citation], Hammon held ‘the trial court was not required, at the pretrial stage of the proceedings, to review or grant discovery of privileged information in the hands of third party psychotherapy providers’ [citation].” (People v. Petronella (2013) 218 Cal.App.4th 945, 958 (Petronella ).)

Hammon reasoned that United States Supreme Court precedent addressing a criminal defendant's right under the confrontation clause to information protected by state-created evidentiary privileges applied to a defendant's trial rights, not pretrial rights. (Hammon, supra, 15 Cal.4th at pp. 1123–1127.) The court further reasoned that, “[w]hen a defendant proposes to impeach a critical prosecution witness with questions that call for privileged information, the trial court may be called upon ... to balance the defendant's need for cross-examination and the state policies the privilege is intended to serve. [Citation.] Before trial, the court typically will not have sufficient information to conduct this inquiry; hence, if pretrial disclosure is permitted, a serious risk arises that privileged material will be disclosed unnecessarily.” (Id. at p. 1127.) The court thus “decline[d] to extend the defendant's Sixth Amendment rights of confrontation and cross-examination to authorize pretrial disclosure of privileged information.” (Id. at p. 1128.)

Similarly, Petronella concluded that the trial court's pretrial ruling upholding a privilege claim against the defendant's subpoena did not violate the defendant's constitutional rights to confrontation and due process. (Petronella, supra, 218 Cal.App.4th at pp. 958–959.) Pursuant to Hammon and Petronella, we conclude that Chubbs' right to confrontation does not apply to pretrial discovery of the source code, which is privileged information.

Chubbs relies on the concurring and dissenting opinions in Pennsylvania v. Ritchie (1987) 480 U.S. 39 (Ritchie ) to argue that the confrontation clause applies to pretrial discovery. However, Hammon specifically addressed Ritchie in concluding that the Sixth Amendment right to confrontation did not confer a right to discover privileged information before trial. (Hammon, supra, 15 Cal.4th at pp. 1125–1127.) We therefore conclude that the trial court abused its discretion in relying on the confrontation clause to order disclosure of the TrueAllele source codes.

DISPOSITION

Let a peremptory writ of mandate issue directing respondent court to vacate its order compelling disclosure of the source code, and to issue a new order denying the motion to compel discovery.

Footnotes

[FN1] All unspecified statutory references are to the Penal Code.

[FN2] The People have not included the transcript of the preliminary hearing, instead relying on a declaration from the deputy district attorney who appeared at the preliminary hearing, summarizing the evidence.

[FN3] Hankins is sometimes referred to in the record as the victim's boyfriend, rather than her husband.

[FN4] The three-pronged test established in People v. Kelly (1976) 17 Cal.3d 24 “provides a framework within which courts can analyze the reliability of expert testimony based on new or novel scientific methods or techniques.” (People v. Lucas (2014) 60 Cal.4th 153, 223.) “ ‘The first prong requires proof that the technique is generally accepted as reliable in the relevant scientific community. [Citation.] The second prong requires proof that the witness testifying about the technique and its application is a properly qualified expert on the subject. [Citation.] The third prong requires proof that the person performing the test in the particular case used correct scientific procedures.’ [Citation.]” (Id. at p. 223, fn. 31.) The test is also known as the Kelly/Frye test. (In re Jordan R. (2012) 205 Cal.App.4th 111, 115, fn. 3; see Frye v. U.S. (D.C.Cir.1923) 293 F. 1013.)

[FN5] The statute provides: “No order requiring discovery shall be made in criminal cases except as provided in this chapter. This chapter shall be the only means by which the defendant may compel the disclosure or production of information from prosecuting attorneys, law enforcement agencies which investigated or prepared the case against the defendant, or any other persons or agencies which the prosecuting attorney or investigating agency may have employed to assist them in performing their duties.” (§ 1054.5, subd. (a).)

[FN6] Section 1054 states that the chapter on discovery “shall be interpreted to give effect to all of the following purposes,” including “[t]o provide that no discovery shall occur in criminal cases except as provided by this chapter, other express statutory provisions, or as mandated by the Constitution of the United States.” (§ 1054, subd. (e).)

[FN7] We further issued a temporary stay of the trial.

[FN8] We disagree with Chubbs' contention that the trial court's ruling was an evidentiary ruling not subject to writ review. Although the trial court's ultimate ruling was to exclude the TrueAllele evidence, this was based on the People's refusal to disclose the source codes. “ ‘Extraordinary review of a discovery order will be granted when a ruling threatens immediate harm, such as loss of a privilege against disclosure, for which there is no other adequate remedy. [Citation.] ... “ ‘[W]here the petitioner seeks relief from a discovery order that may undermine a privilege, we review the trial court's order by way of extraordinary writ. [Citation.]’ ” [Citation.]’ [Citation.]” (Doe v. Superior Court (2011) 194 Cal.App.4th 750, 754; see also § 1512, subd. (a) [authorizing the people to seek review of an order granting a defendant's motion for discovery by a petition for a writ of mandate]; People v. Superior Court (Mouchaourab ) (2000) 78 Cal.App.4th 403, 413 [“writ review is appropriate when the petitioner ‘seeks relief from a discovery order which may undermine a privilege, because appellate remedies are not adequate once the privileged information has been disclosed’ ”].)

[FN9] Evidence Code section 1061 provides in relevant part: “(b) In addition to Section 1062, the following procedure shall apply whenever the owner of a trade secret wishes to assert his or her trade secret privilege, as provided in Section 1060, during a criminal proceeding:

“(1) The owner of the trade secret shall file a motion for a protective order, or the people may file the motion on the owner's behalf and with the owner's permission. The motion shall include an affidavit based upon personal knowledge listing the affiant's qualifications to give an opinion concerning the trade secret at issue, identifying, without revealing, the alleged trade secret and articles which disclose the secret, and presenting evidence that the secret qualifies as a trade secret under either subdivision (d) of Section 3426.1 of the Civil Code or paragraph (9) of subdivision (a) of Section 499c of the Penal Code. The motion and affidavit shall be served on all parties in the proceeding.

“(2) Any party in the proceeding may oppose the request for the protective order by submitting affidavits based upon the affiant's personal knowledge. The affidavits shall be filed under seal, but shall be provided to the owner of the trade secret and to all parties in the proceeding. Neither the owner of the trade secret nor any party in the proceeding may disclose the affidavit to persons other than to counsel of record without prior court approval.

“(3) The movant shall, by a preponderance of the evidence, show that the issuance of a protective order is proper. The court may rule on the request without holding an evidentiary hearing. However, in its discretion, the court may choose to hold an in camera evidentiary hearing concerning disputed articles with only the owner of the trade secret, the people's representative, the defendant, and defendant's counsel present. If the court holds such a hearing, the parties' right to examine witnesses shall not be used to obtain discovery, but shall be directed solely toward the question of whether the alleged trade secret qualifies for protection.

“(4) If the court finds that a trade secret may be disclosed during any criminal proceeding unless a protective order is issued and that the issuance of a protective order would not conceal a fraud or work an injustice, the court shall issue a protective order limiting the use and dissemination of the trade secret, including, but not limited to, articles disclosing that secret. The protective order may, in the court's discretion, include the following provisions:

“(A) That the trade secret may be disseminated only to counsel for the parties, including their associate attorneys, paralegals, and investigators, and to law enforcement officials or clerical officials.

“(B) That the defendant may view the secret only in the presence of his or her counsel, or if not in the presence of his or her counsel, at counsel's offices.

“(C) That any party seeking to show the trade secret, or articles containing the trade secret, to any person not designated by the protective order shall first obtain court approval to do so:

“(i) The court may require that the person receiving the trade secret do so only in the presence of counsel for the party requesting approval.

“(ii) The court may require the person receiving the trade secret to sign a copy of the protective order and to agree to be bound by its terms. The order may include a provision recognizing the owner of the trade secret to be a third-party beneficiary of that agreement.

“(iii) The court may require a party seeking disclosure to an expert to provide that expert's name, employment history, and any other relevant information to the court for examination. The court shall accept that information under seal, and the information shall not be disclosed by any court except upon termination of the action and upon a showing of good cause to believe the secret has been disseminated by a court-approved expert. The court shall evaluate the expert and determine whether the expert poses a discernible risk of disclosure. The court shall withhold approval if the expert's economic interests place the expert in a competitive position with the victim, unless no other experts are available. The court may interview the expert in camera in aid of its ruling. If the court rejects the expert, it shall state its reasons for doing so on the record and a transcript of those reasons shall be prepared and sealed.

“(D) That no articles disclosing the trade secret shall be filed or otherwise made a part of the court record available to the public without approval of the court and prior notice to the owner of the secret. The owner of the secret may give either party permission to accept the notice on the owner's behalf.

“(E) Other orders as the court deems necessary to protect the integrity of the trade secret.

“(c) A ruling granting or denying a motion for a protective order filed pursuant to subdivision (b) shall not be construed as a determination that the alleged trade secret is or is not a trade secret as defined by subdivision (d) of Section 3426.1 of the Civil Code or paragraph (9) of subdivision (a) of Section 499c of the Penal Code. Such a ruling shall not have any effect on any civil litigation.”

[FN10] Section 1062 provides in full:

“(a) Notwithstanding any other provision of law, in a criminal case, the court, upon motion of the owner of a trade secret, or upon motion by the People with the consent of the owner, may exclude the public from any portion of a criminal proceeding where the proponent of closure has demonstrated a substantial probability that the trade secret would otherwise be disclosed to the public during that proceeding and a substantial probability that the disclosure would cause serious harm to the owner of the secret, and where the court finds that there is no overriding public interest in an open proceeding. No evidence, however, shall be excluded during a criminal proceeding pursuant to this section if it would conceal a fraud, work an injustice, or deprive the People or the defendant of a fair trial.

“(b) The motion made pursuant to subdivision (a) shall identify, without revealing, the trade secrets which would otherwise be disclosed to the public. A showing made pursuant to subdivision (a) shall be made during an in camera hearing with only the owner of the trade secret, the People's representative, the defendant, and defendant's counsel present. A court reporter shall be present during the hearing. Any transcription of the proceedings at the in camera hearing, as well as any articles presented at that hearing, shall be ordered sealed by the court and only a court may allow access to its contents upon a showing of good cause. The court, in ruling upon the motion made pursuant to subdivision (a), may consider testimony presented or affidavits filed in any proceeding held in that action.

“(c) If, after the in camera hearing described in subdivision (b), the court determines that exclusion of trade secret information from the public is appropriate, the court shall close only that portion of the criminal proceeding necessary to prevent disclosure of the trade secret. Before granting the motion, however, the court shall find and state for the record that the moving party has met its burden pursuant to subdivision (b), and that the closure of that portion of the proceeding will not deprive the People or the defendant of a fair trial.

“(d) The owner of the trade secret, the People, or the defendant may seek relief from a ruling denying or granting closure by petitioning a higher court for extraordinary relief.

“(e) Whenever the court closes a portion of a criminal proceeding pursuant to this section, a transcript of that closed proceeding shall be made available to the public as soon as practicable. The court shall redact any information qualifying as a trade secret before making that transcript available.

“(f) The court, subject to Section 867 of the Penal Code, may allow witnesses who are bound by a protective order entered in the criminal proceeding protecting trade secrets, pursuant to Section 1061, to remain within the courtroom during the closed portion of the proceeding.”

[FN11] Chubbs attached to his return a declaration from Dr. Travis Doom regarding the necessity of the source codes. We decline to consider the declaration because it was not submitted to the trial court. (See Pomona Valley Hospital Medical Center v. Superior Court (2013) 213 Cal.App.4th 828, 835, fn. 5 [“Writ review does not provide for consideration of evidence not before respondent court at the time of its ruling.”].)

1.2 State v. Pickett, 246 A.3d 279 (N.J. App. Div. 2021) 1.2 State v. Pickett, 246 A.3d 279 (N.J. App. Div. 2021)

STATE of New Jersey, Plaintiff-Respondent,
v.
Corey PICKETT, Defendant-Appellant.

DOCKET NO. A-4207-19T4

Argued January 19, 2021
Decided February 3, 2021

Attorneys and Law Firms

Tamar Y. Lerer, Assistant Deputy Public Defender, argued the cause for appellant (Joseph E. Krakora, Public Defender, attorney; Tamar Y. Lerer, of counsel and on the briefs).

Stephanie Davis Elson, Assistant Prosecutor, argued the cause for respondent (Esther Suarez, Hudson County Prosecutor, attorney; Stephanie Davis Elson, of counsel and on the briefs).

Amanda G. Schwartz, Deputy Attorney General, argued the cause for amicus curiae Attorney General of New Jersey (Gurbir S. Grewal, Attorney General, attorney; Amanda G. Schwartz, of counsel and on the brief).

Karen Thompson argued the cause for amicus curiae American Civil Liberties Union of New Jersey and Electronic Frontier Foundation (American Civil Liberties Union of New Jersey, Kit Walsh (Electronic Frontier Foundation) of the California and Massachusetts bars, admitted pro hac vice, and Hannah Zhao (Electronic Frontier Foundation) of the New York bar, admitted pro hac vice, attorneys; Karen Thompson, Alexander Shalom, Jeanne LoCicero, Kit Walsh and Hannah Zhao, on the joint brief).

Christopher D. Adams, Holmdel, argued the cause for amicus curiae The Association of Criminal Defense Lawyers of New Jersey (Greenbaum, Rowe, Smith & Davis LLP, attorneys; Christopher D. Adams, of counsel and on the brief; Abdus-Sami M. Jameel, on the brief).

Dana M. Delger (Innocence Project Inc.) of the New York bar, New York, NY admitted pro hac vice, argued the cause for amicus curiae The Innocence Project (Dana M. Delger (Innocence Project Inc.) of the New York bar, admitted pro hac vice, Mazraani & Liguori, LLP, Michael A. Albert (Wolf, Greenfield & Sacks, P.C.) of the Massachusetts bar, admitted pro hac vice, and Anant K. Saraswat (Wolf, Greenfield & Sacks, P.C.) of the Massachusetts bar, Boston, MA admitted pro hac vice, attorneys; Dana M. Delger, Joseph M. Mazraani, North Brunswick, Michael A. Albert and Anant K. Saraswat, on the brief).

Dino L. LaVerghetta (Sidley Austin LLP), of the District of Columbia and New York bars, Washington, DC, admitted pro hac vice, argued the cause for amici curiae Drs. Mats Heimdahl and Jeanna Matthews (Coughlin Duffy LLP, Dino L. LaVerghetta, (Sidley Austin LLP) of the District of Columbia and Virginia bars, admitted pro hac vice, and Iain C. Armstrong (Sidley Austin LLP) of the District of Columbia and Virginia bars, admitted pro hac vice, attorneys; Dino L. LaVerghetta, Iain C. Armstrong, Washington, DC, Matthew Hopkins, Morristown, and Mark K. Silver, Washington, DC, on the brief).

J. David Pollock, attorney for amicus curiae The Legal Aid Society.

Singer & Fedun, LLC and Kendra K. Albert (Cyberlaw Clinic, Harvard Law School) of the Massachusetts bar, admitted pro hac vice, attorneys for amicus curiae Upturn, Inc. (William Singer and Kendra K. Albert, on the brief).

Before Judges Fasciale, Rothstadt and Susswein.

Opinion

The opinion of the court was delivered by

FASCIALE, P.J.A.D.

In this case of first impression addressing the proliferation of forensic evidentiary technology in criminal prosecutions, we must determine whether defendant is entitled to trade secrets of a private company for the sole purpose of challenging at a Frye1 hearing the reliability of the science underlying novel DNA analysis software and expert testimony. At the hearing, the State produced an expert who relied on his company's complex probabilistic genotyping software program to testify that defendant's DNA was present, thereby connecting defendant to a murder and other crimes. Before cross-examination of the expert, the judge denied defendant access to the trade secrets, which include the software's source code and related documentation.

This is the first appeal in New Jersey addressing the science underlying the proffered testimony by the State's expert, who designed, utilized, and relied upon TrueAllele, the program at issue. TrueAllele is technology not yet used or tested in New Jersey; it is designed to address intricate interpretational challenges of testing low levels or complex mixtures of DNA. TrueAllele's computer software utilizes and implements an elaborate mathematical model to estimate the statistical probability that a particular individual's DNA is consistent with data from a given sample, as compared with genetic material from another, unrelated individual from the broader relevant population. For this reason, TrueAllele, and other probabilistic genotyping software, marks a profound shift in DNA forensics.

TrueAllele's software integrates multiple scientific disciplines. At issue here—in determining the reliability of TrueAllele—is whether defendant is entitled to the trade secrets to cross-examine the State's expert at the Frye hearing to challenge whether his testimony has gained general acceptance within the computer science community, which is one of the disciplines. The defense expert's access to the proprietary information is directly relevant to that question and would allow that expert to independently test whether the evidentiary software operates as intended. Without that opportunity, defendant is relegated to blindly accepting the company's assertions as to its reliability. And importantly, the judge would be unable to reach an informed reliability determination at the Frye hearing as part of his gatekeeping function.

Hiding the source code is not the answer. The solution is producing it under a protective order. Doing so safeguards the company's intellectual property rights and defendant's constitutional liberty interest alike. Intellectual property law aims to prevent business competitors from stealing confidential commercial information in the marketplace; it was never meant to justify concealing relevant information from parties to a criminal prosecution in the context of a Frye hearing.

Requiring access to trade secrets in criminal cases is not new in New Jersey. In State v. Chun, 194 N.J. 54, 64, 66, 68-70, 943 A.2d 114 (2008), our Supreme Court ordered Draeger Safety Diagnostics Inc. (Draeger), the company that produces the Alcotest 7110 breathalyzer, to disclose its proprietary source code for independent review. Outside objective analysis revealed significant source code errors. Id. at 126-32, 943 A.2d 114.

In other jurisdictions, and directly on point here, courts have also made available under protective orders proprietary information of genotyping software, with noteworthy results. For example, as part of a Daubert2 hearing, a federal judge unsealed the source code of Forensic Statistical Tool (FST), a probabilistic genotyping software that had been developed and used by the New York City Office of Chief Medical Examiner (OCME). In 2017, that review demonstrated the software—employed in thousands of criminal prosecutions—was unreliable, did not work as intended, and had to be eliminated. And in 2015, after TrueAllele's competitor, STRmix, was forced to reveal its source code, analysts discovered coding errors that led to misleading results. The analysis of that proprietary information substantially affected the software's reliability. In appropriate circumstances, especially where civil liberties are on the line, independent source-code review is critical when determining reliability at a Frye hearing. These case studies illustrate that software is not immune from error. Fundamental due process and fairness demand access.

We hold that if the State chooses to utilize an expert who relies on novel probabilistic genotyping software to render DNA testimony, then defendant is entitled to access, under an appropriate protective order, to the software's source code and supporting software development and related documentation—including that pertaining to testing, design, bug reporting, change logs, and program requirements—to challenge the reliability of the software and science underlying that expert's testimony at a Frye hearing, provided defendant first satisfies the burden of demonstrating a particularized need for such discovery. To analyze whether that burden has been met, a trial judge should consider: (1) whether there is a rational basis for ordering a party to attempt to produce the information sought, including the extent to which proffered expert testimony supports the claim for disclosure; (2) the specificity of the information sought; (3) the available means of safeguarding the company's intellectual property, such as issuance of a protective order; and (4) any other relevant factors unique to the facts of the case. Defendant demonstrated particularized need and satisfied his burden.

Importantly, the President's Council of Advisors on Science and Technology (PCAST) emphasized that probabilistic genotyping is in its infancy and such “subjective methods” must be subject to “careful scrutiny.” President's Council of Advisors on Sci. & Tech., Forensic Science in Criminal Courts: Ensuring Scientific Validity of Feature-Comparison Methods 5 (2016) [PCAST Report]. We did that here. Specifically, PCAST found in 2016—and pertinent to questions of reliability—that probabilistic genotyping programs should be independently evaluated to determine whether the methods are scientifically valid and, importantly, whether the software itself correctly implements the methods. Id. at 79. The latter has never been done for TrueAllele. Full independent access in an adversarial system is a prerequisite to meaningful cross-examination of the State's expert at the Frye hearing, and essential to the judge's threshold gatekeeping reliability determination of whether the science underlying the proposed expert testimony has “gained general acceptance in the particular field in which it belongs.” State v. Harvey, 151 N.J. 117, 169, 699 A.2d 596 (1997) (quoting Frye, 293 F. at 1013-14).

We therefore reverse and remand for further proceedings consistent with this opinion.

I.

Just after 10:00 p.m. on April 16, 2017, two police officers traveling in an unmarked vehicle along Ocean Avenue in Jersey City observed two men, later identified as defendant and co-defendant Jonathan Ferrara, approach a group gathered near the intersection with Van Nostrand Avenue, simultaneously raise their handguns, and fire into the crowd. One victim sustained a bullet wound to the head and was pronounced dead at the scene. A second victim, a ten-year-old girl, suffered a non-fatal wound to the abdomen when a bullet entered a vehicle in which she was sitting.

After the shooting, the officers pursued defendant and Ferrara as they fled down a side street with their guns still in hand. The police arrested them within a few blocks of the incident.3 Police found a Colt .45 caliber semi-automatic handgun while retracing Ferrara's path, and recovered a .38 caliber Smith and Wesson revolver and ski mask while retracing defendant's path.

A forensic scientist detected the presence of amylase, a constituent of saliva, on the ski mask, and investigators swabbed the trigger guard, grip, and front sight of both weapons and the magazine of the Colt .45 for DNA evidence. The forensic scientist forwarded the mask and swabs to a laboratory, where analysts determined that the samples from the guns and one from the mask failed to meet the criteria for traditional DNA analysis, but that two specimens from the mask each reflected a mixture of DNA profiles, one with two contributors and the other with three. A comparison with buccal swab samples taken from defendant and Ferrara showed that defendant was the major source contributor for the DNA profiles from both the ski mask specimens conducive to traditional analysis.

Because the remaining samples failed to satisfy the criteria for traditional DNA analysis, the State forwarded the testing data to Cybergenetics Corp. Laboratory (Cybergenetics), a private firm in Pittsburgh, for analysis using its proprietary TrueAllele computer software program. Ferrara could not be identified as a contributor to any of the samples under the statistical analysis, but defendant was identified as a source of the DNA on the Smith and Wesson and the ski mask.

There is a substantial difference between testing DNA utilizing traditional DNA methods and analyzing low levels or complex mixtures of DNA relying on probabilistic genotyping software.

In traditional DNA analysis, DNA is chemically extracted from a biological sample and amplified at a predetermined set of segments, or loci, using polymerase chain reaction (PCR), a technique that replicates the desired segments to generate millions of copies of each. PCAST Report, at 69. The lengths of the resulting fragments are then extrapolated, by comparison with known molecular size standards, from the distance each travels through a polymer solution during a process called capillary electrophoresis. Ibid. The analyst then generates a profile from the pair of lengths measured at each locus—one for each of the genetic variants, or alleles, inherited from each parent—and uses the resulting list of alleles for comparison to known samples. Ibid.

For a single-source sample, identifiable by the presence of at most two distinct fragment lengths—one reflecting each allele—for each locus, the profile may be directly compared with that for a known individual to assess whether the profiles match. Id. at 70. For a simple mixture involving genetic material from two individuals, on the other hand, analysis proceeds in much the same manner, but requires first distinguishing the two separate profiles, either by an imbalance in material rendering one contributor more dominant than the other or by the presence of a known individual's DNA in the mixture, such as is often the case in the sexual assault context. Id. at 70, 73. In conjunction with the simple determination of a match in the list of alleles, human analysts also typically calculate a “random match probability”—a statistic measuring the likelihood that another individual in the relevant population, selected at random, would have the same genotype as the contributor to the sample. Id. at 72-73. The smaller the probability, the more solid the match.

But analysis is more difficult with complex mixtures, particularly where the genetic material involved is small:

Such samples result in a DNA profile that superimposes multiple individual DNA profiles. Interpreting a mixed profile is different for multiple reasons: each individual may contribute two, one or zero alleles at each locus; the alleles may overlap with one another; the peak heights may differ considerably, owing to differences in the amount and state of preservation of the DNA from each source; and the “stutter peaks” that surround alleles (common artifacts of the DNA amplification process) can obscure alleles that are present or suggest alleles that are not present. It is often impossible to tell with certainty which alleles are present in the mixture or how many separate individuals contributed to the mixture, let alone accurately to infer the DNA profile of each individual.

[Id. at 75-76.]

Compounding that problem, analysis of small samples often entails allele “drop-in”—the detection of an allele from a contaminant DNA fragment that was not part of the original sample—or “drop-out”—the failure to detect an allele from DNA belonging to the sample, usually due to insufficiency of the quantity for analysis. John M. Butler, Advanced Topics in Forensic DNA Typing 324-26 (2011). The consequence is that analysis of these samples is inherently more probabilistic and leaves more room for interpretation than for the single-source or simple-mixture samples that have been traditionally subject to DNA testing using the above procedures. PCAST Report, at 76.

The TrueAllele Casework system is one of several software programs developed with the goal of undertaking analysis of these more complex samples in as objective a manner as possible. PCAST Report, at 78-79. Such programs employ probabilistic genotyping, the “use of biological modeling, statistical theory, computer algorithms, and probability distributions,” to “assist,” rather than “replace,” “the DNA analyst in the interpretation of forensic DNA typing results.” Science Working Group on DNA Analysis Methods (SWGDAM), Guidelines for the Validation of Probabilistic Genotyping Systems 2 (June 2015) [SWGDAM Guidelines].

Specifically, the programs use mathematical models and simulations, subject to parameters programmed into the software to account for drop-in or drop-out effects and other issues, id. at 3, to calculate a likelihood ratio—a statistic measuring the probability that a given individual was a contributor to the sample against the probability that another, unrelated individual was the contributor. Justice Ming W. Chin et al., Forensic DNA Evidence § 5.5 (2020). In contrast to the implication for a random match probability, the higher the likelihood ratio, the more solid the match.4

The State requested a Frye hearing, acknowledging that TrueAllele has not yet been found reliable and admissible in New Jersey. The judge commenced the hearing, at which a co-founder of Cybergenetics, Dr. Mark Perlin, testified for two days ending in April 2019. The judge qualified Dr. Perlin as an expert in “the fields of DNA Evidence, Interpretation, and Likelihood Ratio.”

Prior to cross-examination, defendant moved for TrueAllele's software source code and related documentation. Specifically, the defense sought the source code and “all software dependencies such as third-party code libraries, toolboxes, plug-ins, and frameworks,” as well as “[s]oftware engineering and development materials describing the development, deployment, and maintenance” of the code. Defendant challenged the reliability of the probabilistic genotyping program, refusing to blindly accept validation studies involving Dr. Perlin, none of which were, as PCAST called for, independent studies to investigate whether the program's software correctly implemented the underlying probabilistic genotyping methods.

The parties submitted written declarations by experts detailing, among other things, the uncertainty involved in DNA mixture interpretation, the need for verification and validation (V & V) of software engineering, the existence of software engineering failures, and materials relevant to testing probabilistic genotyping software. Defense counsel produced a declaration written by defendant's expert, Nathaniel Adams, a systems engineer retained to address the reliability of the science underlying testimony based on TrueAllele. The State produced a declaration by Dr. Perlin. The parties were apparently satisfied—as was the judge—that the detailed declarations, Dr. Perlin's testimony over two days, and the documentation introduced at the Frye hearing, established a sufficient motion record. We reach that conclusion because the State did not move to require testimony from Mr. Adams or further testimony from Dr. Perlin, or otherwise seek a limited remand for that purpose. In our view, that is not surprising given the detailed record and declarations submitted by the experts addressing the source code.

Mr. Adams has important and extensive experience performing probabilistic genotyping analyses, including undertaking review of source codes. He reviewed “software development materials, including source code, for [the] probabilistic genotyping systems STRmix[ ] and FST used in criminal cases in New York, Illinois, United States, and Australian courts.” He explained:

Since the likelihood calculations are dependent on the statistical models (algorithms) underlying the probabilistic software, and software behaviors affecting the models will necessarily impact the calculated likelihoods and ultimately the reported likelihood ratio. Complex systems such as TrueAllele[ ] involve a hierarchy of models with dozens or hundreds of parameters, each affecting the overall system's behavior.

Mr. Adams pointed out that forensic DNA analysis “lacks formal standards specific to the development and validation of probabilistic genotyping software.”5 But software quality unquestionably depends in part on the “quantity and severity of defects present in the program.” He spelled out that defects cause incorrect and misleading results. One goal of the V & V processes is to assure “appropriate ... methods have been used throughout the software development process and have produced an acceptable product.” V & V involves reviewing software development materials for “correctness, completeness, consistency, and accuracy.” We need not detail every aspect of his declaration; suffice it to say that Mr. Adams provided the judge with an in-depth and thorough basis to grant the motion.

Dr. Perlin submitted a seventy-eight-paragraph declaration, which the State attached to its September 13, 2019 letter opposition brief to the judge. His declaration covered such topics as the role of TrueAllele in DNA analysis; TrueAllele's purported widespread acceptance; whether TrueAllele is reliable; background on the software source code; an explanation for why TrueAllele is a trade secret; the risks of disclosing the source code; and importantly, the reasons for why TrueAllele's source code is not needed. His declaration, therefore, developed the record for the judge's consideration of defendant's discovery motion.

Dr. Perlin explained that the source code details “step-by-step human-readable instructions that describe to the computer and programmers how the program operates.” According to Dr. Perlin, who has degrees in chemistry, mathematics, medicine, and computer science, the source code “contains the software design, engineering know-how, and algorithmic implementation of the entire computer program.” Although the software program itself is patented, its source code is not disclosed in patent documents; instead, Cybergenetics “considers the ... source code to be a trade secret.”6 Dr. Perlin, although he was the State's expert, advocated on behalf of his company that access to the source code would be “immaterial to [a criminal] case,” “[un]reasonable,” and not “in the interests of justice.”

According to Dr. Perlin, TrueAllele's software program consists of approximately 170,000 lines of source code written in MATLAB, a mathematical programming language designed specifically for visualizing and programming numerical algorithms. Dr. Perlin volunteered that it could take hours to decipher only a few dozen lines of the “dense mathematical text” comprising the code, and estimated that it would take a person, reading at a rate of ten lines per hour, about eight and a half years to review the code in its entirety.

Dr. Perlin explained that Cybergenetics operates in a “highly competitive commercial environment.” According to him, at least ten other groups have developed “similar software.” He defended confidentiality by asserting “for-profit companies [like Cybergenetics] generally do not make their source codes available to the public.” Such secrecy gives Cybergenetics a commercial “advantage over its competitors” because they do not know—nor does anyone else—the proprietary code. Once divulged, proprietary trade secrets, Dr. Perlin explained, are “valuable to competitors” and can be “sold for profit.” He declared that ample material for this case had already been provided, including “over thirty validation studies and publications.” His declaration omits reference to his own involvement in those studies, or the participation in the studies of current or former employees of Cybergenetics, and he neglected to acknowledge the lessons learned from STRmix and FST, which were revealed once other courts forced them to make accessible their source codes for independent review under protective orders.

Dr. Perlin explained that Cybergenetics permits testing the software online through cloud computing without having to purchase the product, and makes its methodology, which has long been published, and testing results available for review and questioning, either at its Pittsburgh office or by teleconference. Cybergenetics offered defendant an opportunity for “inspection” of the source code under a severely restrictive non-disclosure agreement (NDA), which limited inspection to an expert witness retained by defendant at a time and place determined by the company, under supervision by a company representative, and video surveillance and recording at all times. According to the NDA, a stand-alone computer that would not accept storage devices would be provided for viewing the source code, and, although the expert could make handwritten notes, the expert would be forbidden from bringing any photographic devices, including smart phones or tablets, into the room, and would be bound to turn any notes over to Cybergenetics. The expert would be broadly bound to accept responsibility for any legal and financial consequences, including a $1,000,000 automatic fine, in the event of a breach and could not “be a developer of competing software products” or “have any (direct or indirect) commercial, research or employment interest in such products.”

Mr. Adams emphasized that several of the restrictions Cybergenetics imposed would undermine an effective review of the source code for purposes of assessing TrueAllele's reliability. Specifically, the prohibitions on taking notes except by hand and on accessing the Internet or any removable storage device would inhibit adequate “documentation of the inspection process and collection of demonstrative materials,” and his inability to compile or execute the source code would be detrimental to any “rigorous ... inspection.” The ban on email communication, meanwhile, would restrict his consultation with defense experts in other relevant fields, such as biology, statistics, or software development, which would be necessary for understanding and evaluating the source code and related proprietary information. Mr. Adams did not believe any expert would agree to the automatic assumption of all liability for a breach.

Defendant's separate proposed protective order provided that the materials would remain confidential and used solely for purposes of preparation of defendant's defense in this matter, that no recipient could “reveal, use, or disclose any part” of it, except in compliance with the restrictions in the order, and that no third-party could be granted access without first agreeing to be bound by the same terms. Defendant's order would forbid any disclosure at all to a consultant or expert who was “the developer of” or who would “have any direct or indirect commercial or employment interest in competing software products.” The source code would be made available in a specified accessible format on a stand-alone computer provided by Cybergenetics for the expert to review and, as necessary, “make inspection notes, use necessary software, [and] create snippets or screen shots of relevant lines of code for use in his/her report.” All materials, moreover, would be filed under seal, and all counsel would be bound to take all “reasonable and appropriate measures to prevent unauthorized disclosure,” with any violation subject to civil and criminal sanction.

In response, Cybergenetics offered to remove some of the conditions for disclosure in its initial agreement, including the requirement for the expert to turn over any notes, but left most in place, most notably the broad acceptance of liability and the prohibition on taking notes or documenting the inspection in any other manner than by pen and paper. But the parties were unable to reach an agreement despite “[e]xtensive communications between the parties.”

Indeed, at oral argument in October 2019, the judge and counsel agreed that an appropriate protective order would accommodate all concerns. To that end, defense counsel produced a sample protective order utilized in Illinois, when a court there ordered STRmix to make its source code accessible for independent review. Although the assistant prosecutor stated this case had a “long and torturous procedural history,” and eventually conceded that the source code had never been independently examined or tested, especially by software scientists, he agreed with the judge that “all [the State] need[ed]” before access was given were “conditions and parameters to protect [Cybergenetics'] proprietary interests.” Oral argument was carried at least seven times during which counsel unsuccessfully discussed negotiating a protective order.

On June 23, 2020, the judge entered an order denying defendant's motion. The judge did not explicitly—for purposes of the discovery motion and his reliability determinations under Frye—address the importance of allowing defendant an opportunity to independently evaluate whether TrueAllele's software correctly implements the probabilistic genotyping methods, as emphasized by PCAST, rather than relegating defendant to blindly accepting that the software operated as intended. The judge omitted reference to whether the software's program contained bugs, glitches, or defects, and if so, whether such problems—untested in an adversarial system—could affect the software's output, which would in turn affect the reliability of TrueAllele. Pointing to unilateral conditions imposed solely by the State, the judge noted, however, that

[t]he State is willing to make the source code available for defense expert review. The State submits the defense expert is welcome to come to the prosecutor's office, view the source code on a provided device, and take notes.

Understandably, the State never contended before the judge that the judge was missing any substantial pertinent information to make an informed decision on defendant's motion for the discovery. We believe that is primarily because the judge had the detailed source-code declarations by the experts, Dr. Perlin's testimony over two days, validation studies and peer-reviewed articles, as well as out-of-state case law addressing the reliability of TrueAllele. Indeed, the State's willingness to permit limited access demonstrates its main objection pertained not to accessing the source code but rather reasonable parameters surrounding inspection. Defendant, meanwhile, maintains the parameters the State has thus far offered are unreasonably burdensome and restrictive.

In July 2020, we granted leave to appeal from the June 23, 2020 order; we later granted amici permission to participate. As we pointed out, and as part of defendant's motion for leave to appeal, and thereafter, the State never requested a limited remand to expand the Frye record with additional testimony by Dr. Perlin or anyone else. The record therefore demonstrates the parties did not in any meaningful way dispute the adequacy of the motion record.

II.

On appeal, defendant argues the following points, which we have partially re-numbered:

POINT I

THE RELIABILITY OF TRUEALLELE CANNOT BE DETERMINED WITHOUT COMPLETE DEFENSE ACCESS TO ITS SOURCE CODE AND THE TOOLS NECESSARY TO INSPECT THAT CODE.

1. TrueAllele Is Dramatically Different Than Traditional DNA Analysis And Its Reliability Has Never Been Established In New Jersey.

2. A Complete Review Of Source Code Is Necessary For A Rigorous Assessment Of TrueAllele's Reliability.

i. Errors in software programs are ubiquitous and often have devastating results. Nothing short of full source-code review can catch and correct these errors.

ii. Errors in the source code of probabilistic genotyping software have been found. There is no reason to assume that TrueAllele, whose source code has never been subject to outside inspection, is immune from these errors.

iii. Validation studies and peer-reviewed articles are not a substitute for source-code review.

3. Defendant Is Entitled To The Source Code And Related Materials Under Our Discovery Rules And Jurisprudence. Any Proprietary Interests Cybergenetics Has Can Be Accommodated By A Protective Order.

4. This Court Should Not Repeat The Mistake Of Other Courts By Failing To Subject TrueAllele To Source-Code Review Before Ruling On Its Admissibility.

5. Disclosure Is Necessary To Preserve The Fairness Of Any Trial In Which TrueAllele May Be Used In The Future.

In his reply letter brief, defendant makes the following additional contentions, which we have re-numbered:

[POINT II]

THE MATERIALS THE DEFENSE SEEKS ARE NECESSARY IN ORDER FOR TRUEALLELE'S RELIABILITY, AND THEREFORE ADMISSIBILITY, TO BE DETERMINED.

1. The State's Conclusory Assertion That The Materials At Issue Are A Trade Secret Does Not Shield These Materials From Disclosure.

2. The State Has Failed To Demonstrate That TrueAllele's Reliability Can Be Assessed Without Access To These Materials.

III.

We have the benefit of extraordinarily thoughtful amici briefs from a multitude of organizations, including the New Jersey Attorney General and other interested entities from around the nation. Before directly analyzing the issues, we detail their positions. Doing so informs our analysis and holding.

(i) New Jersey Attorney General (AG)

The AG asserts that defendant requires the State to prove that TrueAllele is “infallible,” which the AG argues is not required under Frye. The AG argues the State satisfied its burden under Frye by offering three things: testimony by Dr. Perlin; “validation studies and publications”; and opinions from other jurisdictions in which those courts have deemed TrueAllele reliable without independent inspection of the proprietary information. The AG states that access to the source code is therefore unnecessary to determine whether TrueAllele is generally accepted in the scientific community. The AG argues complete general acceptance is not required, and that “any concerns are best served during cross-examination.”

The AG suggests that if this court deems full access is possibly necessary, then we should remand and allow testimony from Dr. Perlin and Mr. Adams about whether access to proprietary information is appropriate. The AG cites State v. Ghigliotty, 463 N.J. Super. 355, 384-85, 232 A.3d 468 (App. Div. 2020), for the proposition that defendant must “provide the [judge] with a rational basis” before allowing reasonable access. According to the AG, defendant failed to do so here.7

At oral argument, the AG conceded the State will not be prejudiced by disclosure of the discovery. The AG argues the State is willing to make the trade secrets available to defendant, but contends defendant is unreasonably unsatisfied with the State's terms of inspection. The AG contends that defense counsel wanted “unsupervised and unrestricted access to proprietary information.” In affording access to the information, the AG asserts that the State “removed many of the typical restrictions required.” The AG states “[a] protective order that offers no protections is not adequate in a competitive market.” As the AG points out, the parties unsuccessfully attempted negotiating terms of such an order.


(ii) The Innocence Project

The Innocence Project maintains that analyzing the source code is critical to determining the reliability of TrueAllele because it would reveal, among other things, errors in coding or output. The Innocence Project underscores these indisputable facts: people write source codes; people make mistakes.

The Innocence Project states that genotyping software is prone to error, as exemplified by the problems associated with STRmix and FST. It is not enough—as the State argues—to allow inspection of articles discussing how TrueAllele is intended to work; without the source code it is impossible to detect errors in implementation. Without access to the source code one cannot identify errors or biases, which the Innocence Project explains are relevant to reliability at the Frye hearing. Although algorithms and models are publicly available, TrueAllele's source code, which the Innocence Project contends is prone to error even when the corresponding algorithms and models may be correct, is known only by individuals at Cybergenetics. At oral argument, the Innocence Project emphasized that, while validation studies are important and programs may find their way into court without them, independent review and the judge's Frye gatekeeping should not be perfunctory.

(iii) Upturn, Inc. (Upturn)

Upturn, an organization seeking to advance equity and justice in the design, governance, and use of technology, points out that TrueAllele's source code has never been independently reviewed, and that such a review is a basic and necessary step in ensuring reliability. Importantly, the version of TrueAllele software utilized in defendant's case postdates every one of the validation studies cited by Cybergenetics and the State. It explains this is critical because subsequent source code variations may introduce new errors not previously present. Undertaking an independent review establishes whether the software is properly implementing the program's design specifications and that the code itself is devoid of bugs, glitches, and defects that could affect the software's output. And equally important is that TrueAllele's source code has never been scrutinized by any party outside of Cybergenetics; therefore, the validation studies produced by the State to date are limited.

Upturn points out that looking at what happened with FST in New York—when a federal judge required OCME to make available the source code for the program, revealing errors—demonstrates the significance of what is at stake. Mr. Adams examined FST's code and discovered two critical problems: the code did not implement FST's methods and models utilized in FST's validation studies, and there were coding errors. The New Jersey Supreme Court did the same thing in Chun, by requiring Draeger to produce its source code. Upturn encourages this court to take the same action to assess TrueAllele's reliability at the Frye hearing.

Upturn maintains that trade secrets should not be prioritized over considerations of justice, especially because production of a for-profit company's trade secret can be reviewed under an appropriate protective order. Upturn relies on N.J.S.A. 2A:84A-26 (rejecting application of trade secret privilege where it “tend[s] to conceal fraud or otherwise work[s] injustice”), and it contends that interpreting evidentiary privileges narrowly, Pierce Cnty. v. Guillen, 537 U.S. 129, 144, 123 S.Ct. 720, 154 L.Ed.2d 610 (2003), provides further support for resisting application of the privilege whenever that would impede justice.

(iv) The Association of Criminal Defense Lawyers of New Jersey (ACDL-NJ)

ACDL-NJ asserts that probabilistic genotyping has not yet been used or tested in New Jersey. Like other amici, ACDL-NJ argues that, given that TrueAllele's leading competitor, STRmix, has produced its source code and conceded its software had errors, rigorous scrutiny of TrueAllele's source code becomes even more compelling. If anything, STRmix's source-code problems reaffirm the basic principle in computer engineering that software is prone to human error.

ACDL-NJ argues the source code is discoverable under New Jersey law. Of course, the United States Constitution and the New Jersey Constitution guarantee a meaningful opportunity to present a complete defense. But ACDL-NJ asserts that New Jersey's robust discovery practices are broader than those of other jurisdictions. For example, Rule 3:13-3(b) provides a non-exhaustive list of discoverable materials. And in Chun, the Court allowed the defendants to analyze the source code of the software that ran the Alcotest, which disclosed two errors that affected the way Alcotest results had been used in prosecutions. 194 N.J. at 94, 943 A.2d 114.

Finally, ACDL-NJ argues that requiring a defense attorney to sign any order that preconditions a defense expert's review of the source code in practical ways—such as in this case—is prohibitive. Doing so impedes counsel's ability to provide an effective defense, which would be free from any conflict of interest. Here, there are enormous problems associated with the State's proposed protective order: defense counsel could only make handwritten notes while looking at hundreds of thousands of lines of code; counsel could not use electronic devices; the only computer available to counsel would be one provided by Cybergenetics; counsel would be under constant supervision; and counsel would be exposed to monetary damages, including fees and costs, as spelled out under the State's terms. Rather, ACDL-NJ contends that the judge should issue an appropriate protective order that protects Cybergenetics' proprietary interests, while simultaneously protecting defendant's liberty interests. ACDL-NJ notes that protective orders have safeguarded trade secrets in high-risk civil litigation for years and can therefore do so here.8

(v) The Legal Aid Society (LAS)

LAS is the primary public defender in New York City. LAS has first-hand experience litigating the admissibility of a proprietary probabilistic genotyping program—FST—including successfully obtaining access to FST's source code, which led to an alarming discovery: significant flaws existed in the software program. Without access to the source code, the defects and glitches in the software would not have been uncovered. The bugs in the program were substantial enough for OCME to cease using FST, which up to that point had been used in thousands of criminal prosecutions over several years.

Like the other amici, LAS emphasizes the extraordinary complexity of probabilistic genotyping. LAS urges us to carefully consider the inherent limitations of the expert testimony, scientific and legal writings, and judicial opinions submitted by the State: none required an examination of TrueAllele's source code. Consequently, LAS implores us to consider the State's submissions with healthy skepticism.

LAS explains that probabilistic genotyping software is intended to address interpretational challenges of testing low levels or complex mixtures of DNA. For example, stochastic effects and artifacts complicate determining genotypes, or DNA profiles: alleles not belonging to true donors appear, they can be distorted, and artifacts appear as real alleles. LAS points out PCAST  emphasized that probabilistic genotyping is in its infancy and must be subject to “careful scrutiny.” PCAST Report, at 79. Specifically, PCAST found in 2016—and pertinent to questions of Frye reliability—that probabilistic genotyping programs should be evaluated to determine “whether the methods are scientifically valid” and importantly, “whether the software correctly implements the methods.” Ibid. And critical to the determination, according to PCAST, is testing by independent entities “not associated with the software developers.” Ibid. LAS states that the only way to determine whether a program operates as intended is to evaluate how the program performs its calculations, which requires access to the source code.

Fortunately, due to its own efforts, LAS points to the case study of FST, troubling that it is, which demonstrates the importance of an independent and full source-code review when a judge makes a threshold reliability determination of whether novel forensic software has achieved general acceptance in the relevant scientific community. The creators of FST fought tooth and nail not to disclose its source code. But after a federal judge denied OCME's motion to quash a subpoena for the source code, a stark discovery was made about the program: FST did not work as promised. FST was utilized in thousands of criminal prosecutions before the discovery was made. OCME announced—after the production of the source code—that it would phase out using FST in criminal prosecutions.

According to LAS, the State's assertion that the source code was not needed in any of TrueAllele's “numerous [prior] nationwide admissibility rulings,” is at best misguided. LAS implores us to carefully examine the premise of that body. LAS contends that what matters is not the number of cited opinions, but rather, the power of the court's reasoning. LAS reminds us, as the New York Court of Appeals recently stated in People v. Williams, 35 N.Y.3d 24, 147 N.E.3d 1131, 1140-42 (2020), that it was a mistake to rely on the repetition of case law to establish reliability; rather, for purposes of a Frye hearing, lower courts were bound to ensure that FST was “supported by those [in the relevant scientific community] with no professional interest in its acceptance.” LAS urges us to heed the lessons of FST and permit full independent access to the source code under a protective order.

(vi) Drs. Mats Heimdahl and Jeanna Matthews

Drs. Heimdahl and Matthews are experts in engineering, testing, and validating computer systems, including forensic evidentiary software. They, together with eight other experts in this specific field that they have identified, argue that reliability of the TrueAllele software cannot be evaluated without full access to “executable source code and related documentation,” something that no one to date has seen. They contend that doing so is not only prudent, but essential to determining whether TrueAllele operates as Cybergenetics claims, which is fundamental to any fair, legitimate, and impartial assessment of reliability.

Drs. Heimdahl and Matthews remind us that software faults are ubiquitous. They argue that even simple software programs are prone to failure, and that an error in any one of the three domains of software engineering—problem identification, algorithm development, and software implementation—undermines the trustworthiness of the science underlying the relevant expert testimony, because the system is consequentially compromised. After providing examples illustrating various errors in more simplistic software, they demonstrated that a greater risk of flaws in more complex programs are likely.

For example, a source-code review revealed at least thirteen STRmix coding faults. Drs. Heimdahl and Matthews argue, in one important example, a miscode impacted sixty criminal cases, requiring new likelihood ratios to be issued in twenty-four of them. These errors were not discovered until the source code was independently examined.

In FST, alarming discoveries were also made. But the findings did not come to light until a federal judge ordered disclosure of FST's source code. Once that occurred, it was uncovered that a “secret function ... was present in the software, tending to overestimate the likelihood of guilt.” And the functioning of the software did not use the “methodology publicly described in sworn testimony and peer-reviewed publications.” These discoveries led to the overturning of a high-profile conviction.

Drs. Heimdahl and Matthews assert that thousands of faults were discovered in the source code of breathalyzer systems. They point out that judges in Massachusetts and New Jersey threw out more than 30,000 breath tests in a twelve-month period. Drs. Heimdahl and Matthews urge us not to ignore these facts.

Drs. Heimdahl and Matthews argue that the testing of TrueAllele is incomplete. Thirty-five of the thirty-six validation studies produced by the State, which were written by or included involvement from current or former employees of Cybergenetics or law enforcement agencies, did not consider the source code, and they were otherwise incomplete because the number of samples tested was relatively small. They note that TrueAllele's software is non-continuous, meaning that correct results for the samples used in the validation studies do not preclude the possibility of erroneous results for others that do not match those samples. Thus, for a reliability determination, independent and full access to the software is required. Supporting software development documentation must be produced, including that pertaining to testing, design, bug reporting, change logs, and program requirements, which will provide a road map to understanding the source code.

(vii) American Civil Liberties Union of New Jersey (ACLU-NJ)

The ACLU-NJ argues that independent review is essential. Questioning Dr. Perlin, reviewing validation studies and peer-reviewed articles in which he or his current or former employees were involved, or relying on out-of-state judicial opinions citing his testimony and those studies misses the importance of objective analysis of the science underlying his forensic testimony. Most importantly, it cannot substitute for independent analysis of the code itself, which would demonstrate whether the software operates as intended.9

IV.

As the New Jersey Supreme Court recently stated, “the Judiciary must ensure that proceedings are fair to both the accused and the victim. Trial judges partly fulfill that responsibility by serving as a gatekeeper. In that role, they must assess whether expert testimony is sufficiently reliable before it can be presented to a jury.” State v. J.L.G., 234 N.J. 265, 307-08, 190 A.3d 442 (2018). When the evidence is labeled as scientific and expert, there is substantial danger that juries will accord excessive weight to testimony that might otherwise be unreliable. Ghigliotty, 463 N.J. Super. at 373, 232 A.3d 468. The law accounts for this eventuality.

To fulfill their gatekeeping responsibility, judges begin by applying N.J.R.E. 702, which states that, “[i]f scientific ... knowledge will assist the trier of fact to understand the evidence or to determine a fact in issue, a witness qualified as an expert by knowledge, skill, experience, training, or education may testify thereto in the form of an opinion or otherwise.” To satisfy this requirement,

the proponent of expert evidence must establish three things: (1) the subject matter of the testimony must be “beyond the ken of the average juror”; (2) the field of inquiry “must be at a state of the art such that an expert's testimony could be sufficiently reliable”; and (3) “the witness must have sufficient expertise to offer the” testimony.

[J.L.G., 234 N.J. at 280, 190 A.3d 442 (quoting State v. Kelly, 97 N.J. 178, 208, 478 A.2d 364 (1984)).]

In general, these prongs “are construed liberally in light of [N.J.R.E.] 702's tilt in favor of the admissibility of expert testimony.” State v. Jenewicz, 193 N.J. 440, 454, 940 A.2d 269 (2008). The first and third prongs are not at issue here; rather, the second prong is. The parties and amici have focused—as do we—on whether defendant is entitled to independently review the source code and related documents pertaining to the reliability prong before cross-examination of Dr. Perlin and before the judge completes his important Frye reliability gatekeeping function.

In criminal cases, the Supreme Court of New Jersey has continued to apply the Frye standard to assess scientific reliability lying beneath the expert testimony.10 J.L.G., 234 N.J. at 280, 190 A.3d 442. The Frye test requires trial judges to determine whether the particular science underlying the proposed expert testimony has “gained general acceptance in the particular field in which it belongs.” Frye, 293 F. at 1014; accord J.L.G., 234 N.J. at 280, 190 A.3d 442; Harvey, 151 N.J. at 169, 699 A.2d 596; see also State v. Torres, 183 N.J. 554, 568, 874 A.2d 1084 (2005). “Although we look for wide support within the relevant scientific community, complete agreement is not required for evidence to be admitted.” J.L.G., 234 N.J. at 281, 190 A.3d 442. Importantly—like here—there might be more than one scientific community to consider. Thus, to assess the reliability prong of N.J.R.E. 702, and relevant to the issues on appeal, the judge should consider—as to general acceptance in the scientific community—whether Cybergenetics' TrueAllele probabilistic genotyping computer program is scientifically valid and importantly, whether the source code itself correctly implements the methods. But to do that raises the question of whether defendant is first entitled to discovery of the proprietary information he seeks, which brings us to our legal analysis.

V.

The right to a fair trial is fundamental and guaranteed pursuant to the Fifth and Sixth Amendments of the United States Constitution, as well as the New Jersey Constitution. U.S. Const. amend. V, VI; N.J. Const. art. I, ¶ 10. Our Constitutions also ensure criminal defendants “a meaningful opportunity to present a complete defense.” State v. Garron, 177 N.J. 147, 168, 827 A.2d 243 (2003) (quoting Crane v. Kentucky, 476 U.S. 683, 690, 106 S.Ct. 2142, 90 L.Ed.2d 636 (1986)). These fundamental legal rights are the hallmark of our judicial process, a process which technology has recently heavily impacted. Forensic evidentiary computer software itself generates expert evidence, and the New Jersey Rules of Evidence enable the introduction and, consequently, cross-examination of expert witnesses. N.J.R.E. 702. Without access to the source code—the raw materials of the software programming—a defendant's right to present a complete defense, by meaningful cross-examination at the appropriate juncture, may be substantially compromised. Relevant to this case, “[a] criminal trial where the defendant does not have ‘access to the raw materials integral to the building of an effective defense’ is fundamentally unfair.” State in the Interest of A.B., 219 N.J. 542, 556, 99 A.3d 782 (2014) (quoting Ake v. Oklahoma, 470 U.S. 68, 77, 105 S.Ct. 1087, 84 L.Ed.2d 53 (1985)). We must keep these principles in mind and front and center during our review of the judge's order denying full access to the discovery sought.

In criminal cases, we ordinarily apply an abuse of discretion standard on discovery motions, State v. Stein, 225 N.J. 582, 593, 139 A.3d 1174 (2016), and on evidentiary determinations, State v. Prall, 231 N.J. 567, 580, 177 A.3d 755 (2018), but here defendant sought access—at a Frye hearing—to proprietary information solely to challenge the reliability of the science underlying novel DNA analysis evidentiary software and expert testimony. An appropriate review therefore requires that we also independently scrutinize the record, including the comprehensive and amplified declarations of the experts, the scientific validation studies and peer-reviewed publications, and judicial opinions. See In re Commitment of R.S., 339 N.J. Super. 507, 531, 773 A.2d 72 (App. Div. 2001) (noting that when matters involve “novel scientific evidence in a criminal proceeding, ‘an appellate court should scrutinize the record and independently review the relevant authorities, including judicial opinions and scientific literature’ ” (quoting Harvey, 151 N.J. at 167, 699 A.2d 596)).

Information pertinent to the Frye inquiry is subject to the same “broad pretrial discovery” otherwise afforded to a criminal defendant under Rule 3:13-3(b). State v. Scoles, 214 N.J. 236, 252, 69 A.3d 559 (2013). Our state's “ ‘open-file approach to pretrial discovery in criminal matters’ is intended ‘[t]o advance the goal of providing fair and just criminal trials.’ ” State v. Hernandez, 225 N.J. 451, 461-62, 139 A.3d 46 (2016) (alteration in original) (quoting Scoles, 214 N.J. at 252, 69 A.3d 559); see State v. Cook, 43 N.J. 560, 564, 206 A.2d 359 (1965) (noting that “discovery has long ... been found to be a sound tool for truth”). Because of the meaningful role that the disclosure of evidence to a defendant has in promoting the search for truth—and reliability at a Frye hearing—pretrial discovery in criminal trials has long received favorable treatment in this state. See State in the Interest of W.C., 85 N.J. 218, 221, 426 A.2d 50 (1981) (noting sharing of pretrial information “encourage[s] the presentation of all relevant material to the jury as an aid in the establishment of truth through the judicial process”). Although that discovery is not so broad, for example, as to indulge an “unfocused, haphazard search for evidence," Hernandez, 225 N.J. at 463, 139 A.3d 46 (quoting State v. D.R.H., 127 N.J. 249, 256, 604 A.2d 89 (1992)), judges are authorized to order discovery even “beyond that mandated by our court rules when doing so will further the truth-seeking function or ensure the fairness of a trial,” ibid. (quoting A.B., 219 N.J. at 560, 99 A.3d 782).

As to the evidence at issue here, a party seeking to shield information from discovery on intellectual property grounds generally bears the burden of showing good cause to demonstrate “that the information sought is a trade secret or is otherwise confidential or proprietary.” Cap. Health Sys., Inc. v. Horizon Healthcare Servs., Inc., 230 N.J. 73, 80, 165 A.3d 729 (2017); see also R. 4:10-3(g) (providing that a protective order may be sought to ensure “[t]hat a trade secret or other confidential research, development, or commercial information not be disclosed or be disclosed only in a designated way”); N.J.S.A. 2A:84A-26 (providing that “[t]he owner of a trade secret has a privilege ... to refuse to disclose the secret and to prevent other persons from disclosing it if the judge finds that the allowance of the privilege will not tend to conceal fraud or otherwise work injustice”). Yet, even once that showing of privilege is made, a criminal defendant should nonetheless be entitled to discovery of the information sought to the extent necessary to ensure a fair trial. Hernandez, 225 N.J. at 463, 139 A.3d 46. But the burden must shift to defendant to demonstrate a sufficient need for the evidence. See Ghigliotty, 463 N.J. Super. at 384-85, 232 A.3d 468 (requiring “definitive” demonstration of need for disclosure of algorithm); cf. Tractenberg v. Twp. of W. Orange, 416 N.J. Super. 354, 367, 4 A.3d 585 (App. Div. 2010) (discussing burden shift in the context of deliberative process privilege).

As we stated earlier, the Court ordered production of the source code in Chun. Although we ordinarily consider published decisions from other jurisdictions as persuasive, they are not binding on us. See Lewis v. Harris, 188 N.J. 415, 436, 908 A.2d 196 (2006) (noting that our courts are “not bound by ... the precedents of other states, although they may provide guideposts and persuasive authority”). The rationale undergirding Chun is binding. More recently, in Ghigliotty, 463 N.J. Super. at 360, 384-85, 232 A.3d 468, we too addressed the disclosure of proprietary information, algorithms underlying the software for BULLETTRAX, a novel device used for three-dimensional ballistics imaging, in contemplation of a Frye hearing. We vacated a motion judge's order requiring the State to produce the algorithms, but only because we viewed the order as prematurely issued. Id. at 384, 232 A.3d 468. We explicitly contemplated—as did the motion judge—that “this information might be needed by defendant's experts to evaluate the reliability of the new technology,” but noted that—unlike here—there was nothing in the record to support that order. Ibid. We explained that a “defendant is required to make a more definitive showing of his need for th[e] material to provide the [judge] with a rational basis to order the State to attempt to produce” the proprietary algorithms. Id. at 384-85, 232 A.3d 468.

Before going any further, we stress one important point. Evaluating the issues on appeal requires a working knowledge of computer software. Without such a foundation, one can miss subtle consequences germane to this Frye hearing. Allowing independent access to the requested information, for the sole purpose of addressing whether the technology underlying the expert testimony is reliable—specifically, whether the source code for that technology is properly implementing the program's design specifications—is obvious. An accused individual's liberty is at stake; DNA evidence is powerful and compelling.11 Practically speaking, if, as Dr. Perlin maintains, the source code he wrote is free of harmful defects, and therefore will not impact the reliability of TrueAllele, then it is to everyone's advantage to learn that at the Frye hearing. If it should turn out there are source code errors that might affect TrueAllele's reliability, the time to discover that information is now, as part of the judge's gatekeeping role. Reliability must be resolved at the Frye hearing rather than in post-conviction relief proceedings.

We are also mindful of the important need to maintain the confidentiality of trade secrets in—as Dr. Perlin emphasized in his own declaration—a “highly competitive commercial environment.” All agree on that. But shrouding the source code and related documents in a curtain of secrecy substantially hinders defendant's opportunity to meaningfully challenge reliability at a Frye hearing. The confluence of these competing and powerful interests compels our holding.

We hold that if the State chooses to utilize an expert who relies on novel probabilistic genotyping software to render DNA testimony, then defendant is entitled to access, under an appropriate protective order, to the software's source code and supporting software development and related documentation—including that pertaining to testing, design, bug reporting, change logs, and program requirements—to challenge the reliability of the software and science underlying that expert's testimony at a Frye hearing, provided defendant first satisfies the burden of demonstrating a particularized need for such discovery. To analyze whether that burden has been met, a trial judge should consider: (1) whether there is a rational basis for ordering a party to attempt to produce the information sought, including the extent to which proffered expert testimony supports the claim for disclosure; (2) the specificity of the information sought; (3) the available means of safeguarding the company's intellectual property, such as issuance of a protective order; and (4) any other relevant factors unique to the facts of the case. Applying this framework to the facts, we conclude defendant satisfied his burden.

(i) Rational basis for accessibility and expert testimony

In addressing this prong—whether there exists a rational basis for accessibility of the proprietary information—we must address the “three ways to establish general acceptance under Frye: expert testimony, authoritative scientific and legal writings, and judicial opinions.” J.L.G., 234 N.J. at 281, 190 A.3d 442. We do this by independently scrutinizing these categories with the benefit of lessons learned by the consequential software errors associated with STRmix and FST. Doing so convinces us that there is a rational basis for full access to TrueAllele's source code and related documentation for purposes of a Frye reliability analysis.

The troubling FST case study demonstrates a rational basis for independent source-code review of probabilistic DNA programs like TrueAllele. After being subjected to an adversarial audit when ProPublica obtained an order for the release of FST's source code, it was revealed that FST had a problem with a certain calculation that was only learned through the adversarial examination of the source code. Steven M. Bellovin et al., Seeking the Source: Criminal Defendants' Constitutional Right to Source Code, 17 Ohio State Tech. L.J. 1, 38 (2021). The audit discovered that certain “loci were removed from the likelihood ratio calculation” without “notice, either intended or actual, provided to the user of FST,” nor any “indication that this behavior [was] intended during [the] examination of FST-related publications and the FST [v]alidation materials.”12 Ibid.; see also Stephanie J. Lacambra et al., Opening the Black Box: Defendants' Rights to Confront Forensic Software, Champion 28, 30 (May 2018) (providing a snippet of the source code and explaining that “if the sum of frequencies is greater than 0.97, a row in the raceTable is removed”).13 As a result, the software was overestimating the likelihood of guilt. Beyond undocumented calculations, it was discovered that FST exhibited code smells,14 which suggested that “the program is below normal professional standards and may have other, not yet detected problems” which are “extremely difficult to detect ... without access to [the] source code.” Bellovin et al., 17 Ohio State Tech. L.J. at 39. At oral argument, the Innocence Project pointed out that, like TrueAllele, FST was subject to multiple validation studies but errors were still found in the source code, proving that validation of this type of evidentiary software is not determinative when evaluating computer science reliability.

Likewise, code errors and miscodes were discovered in TrueAllele's competitor STRmix after it had been developed, validated, and used in criminal prosecutions, further showing that errors in source code are not obvious or always timely found. When the source code was reviewed by independent forensic analysts, it was uncovered that the program produced false results in sixty cases.15 Mr. Adams also reviewed STRmix's code in 2015 and “was able to identify potential issues in STR[m]ix's source code that negatively affected the functioning of the software and could not have been learned from any other source.”

Defendant points out that any program's output could potentially be skewed not only by the inadvertent errors routinely found in lengthy code but by the numerous subtle choices made by programming developers regarding how to interpret input data. Defendant asserts, in part by reference to Mr. Adams' declaration, that many of those biases and errors may be conducive to detection only by a full examination and testing of the code and points to the consequential software errors of STRmix and FST. Indeed, exacerbating the danger of inherent bias or error specifically with respect to probabilistic genotyping software is that the likelihood ratio is not conducive to independent calculation or other precise verification, but highly sensitive to modeling assumptions embodied in the code. Defendant surmises that errors of similar magnitude and consequence to those in STRmix and FST may infect TrueAllele's code, noting that the program is likely to return vastly different likelihood ratios for the same physical sample in successive tests without explanation, and that the code has been edited numerous times without any explanation as to whether errors were remedied or any scrutiny as to whether others were inadvertently introduced. Defendant disputes that the validation studies and judicial reliability determinations of other jurisdictions, both of which the judge here found significant, were viable substitutes for source-code review in this case.

As discussed above, many of the amici amplify defendant's argument that full access to the source code is essential to evaluation. The Innocence Project, LAS, and Upturn all concur on that point, with LAS highlighting the discontinued FST program as a cautionary tale, and Upturn warning that a failure to require production would encourage secrecy and erode criminal defendants' constitutional rights. Drs. Heimdahl and Matthews, meanwhile, confirm and reiterate that errors are ubiquitous in software code and strongly believe that TrueAllele's code likely contains them. Moreover, they discount the validation studies on which the State relies, asserting that none entailed genuinely independent review, and that none involved computer science testing of whether the software operated as intended.

We acknowledge the State, on the other hand, disputes the notion that source-code review is essential to validation, noting that the SWGDAM guidelines require no such review, only testing, such as the sort that uncovered errors in the STRmix software. To be sure, the State is correct that the mechanism for evaluation contemplated in the SWGDAM guidelines is testing rather than source-code review, SWGDAM Guidelines, at 4-11, and that errors found in the STRmix program had been detected first through testing rather than visual examination of the code, Duncan A. Taylor et al., Commentary, A “Source” of Error: Computer Code, Criminal Defendants, and the Constitution, 8 Frontiers in Genetics art. 33, at 1 (2017).16 But production and review of the code for the since-discontinued FST program proved crucial to identification of significant errors, albeit not before compromised test results had already been used in many prosecutions. Lauren Kirchner, Doubts and DNA Evidence, N.Y. Times, Sept. 5, 2017, at A1. We cannot ignore these facts when evaluating whether there exists a rational basis for access to the proprietary information here.

The parties have cited expert testimony, authoritative scientific and legal writings, and judicial opinions that were generated before and after the STRmix and FST's software errors became public. This information bolsters our conclusion that there is a rational basis for the discovery. The State, of course, urged the judge to rely on that body of information to conclude there was no such basis. The testimony predominantly cited was that of Dr. Perlin, the scientific writings were mainly from Dr. Perlin (together with his then current or former employees),17 and the judicial opinions referred to that testimony and those scientific writings. But none of this information explicitly deals with whether TrueAllele's source code itself correctly implements the intended methods, as PCAST emphasized. PCAST Report, at 79.

As to expert testimony, Mr. Adams submitted a twenty-four-page declaration in which he asserted a need for production of the source code and related documentation. In his declaration, he addressed: his qualifications; an overview of his engagement, including whether TrueAllele “has been demonstrated to be in accordance with software engineering standards and principles”; the uncertainty in DNA mixture interpretation; a background on software engineering; details as to V & V, including definitions in the field of software engineering, system integrity, methodologies, code reviews, software testing, documentation, independence, and re-validation and performance checks; software engineering failures; materials relevant for review; requirement specifications, including design descriptions, source code, build instructions and dependencies, executable versions, tests, issue/bug tracking; user manuals, V & V, qualification and user testing, and miscellaneous processes; comment on Cybergenetics' proposed terms of inspection and nondisclosure agreement; and preferred terms for inspection. He also produced a detailed appendix to his declaration including documentation as to the software development process, the IEEE “risk-based, integrity-level scheme.”

Unlike in Ghigliotty, where there was “nothing concrete in the record” to support access to the algorithms the defendant sought for the BULLETTRAX algorithms at issue there, the opposite is true here. 463 N.J. Super. at 384, 232 A.3d 468. In Ghigliotty, we concluded the defendant was “required to make a more definitive showing of his need for th[e] material.” Id. at 384-85, 232 A.3d 468. Here, defendant did that with the proffered expert testimony supporting the claim for disclosure.

As to the validation studies and peer-reviewed articles issued during this timeframe, we have scrutinized them and make the following observations about their application. Since 2009, thirty-six validation studies have been conducted by Cybergenetics, law enforcement crime labs, or both, intending to establish the reliability of TrueAllele. These studies have utilized TrueAllele on both laboratory-generated and casework DNA samples and have tested TrueAllele to determine how it handles mixtures of varying DNA compositions and weights.

Seven of the thirty-six studies have been published in peer-reviewed journals, the first of which was published in 2009. The peer-review process entails a review for accuracy and quality of a scientific paper, in which a scientist describes his or her research and conclusions, and it is either accepted or rejected by two anonymous members of the relevant scientific community. A “laboratory-generated” validation study uses data that has been synthesized in a DNA laboratory and is of a known genotype composition. Four published papers are of this type.18 A “casework” validation study uses DNA data exhibiting real-world issues developed by a crime laboratory in the course of their usual casework activity. Three published papers are of this type.19

Notably here, six of the seven peer-reviewed publications were authored by Dr. Perlin himself. The one study not authored by Dr. Perlin does note that he provided professional guidance.20 PCAST explicitly noted the software developer's participation in such studies as an impediment to reliable validation, noting that, “[w]hile it is completely appropriate for method developers to evaluate their own methods, establishing scientific validity also requires scientific evaluation by other scientific groups that did not develop the method.” PCAST Report, at 80. That was not done here, where Dr. Perlin, a developer with a vested interest in the program's scientific acceptance, was directly involved. Law enforcement agencies, which also sometimes participated, likewise share an interest in the continued viability of the program. In the end, for purposes of reliability in a criminal context, it stands to reason that such an evaluation should be performed by an expert working on behalf of someone in defendant's shoes, with full access to the tools required for evaluation. See United States v. Gissantaner, 417 F. Supp. 3d 857, 880 (W.D. Mich. 2019) (addressing Daubert and the admissibility of STRmix and noting that “studies and articles ... have determined that review of probabilistic genotyping software, independent of that of the developers, is critical for an assessment of its reliability with respect to use in the courts”).

Moreover, despite Dr. Perlin's and the State's insistence that the TrueAllele program affords analysts a tool for objective analysis, it does not inexorably follow that that analysis is reliable. We consider the concept of “programmer blindness,” a common pitfall of non-independent review. “Just as writers are often bad at proofreading their own text, programmers are bad at reading their own code. ... It is often the case that peers are not truly independent reviewers because programmers often have similar training—and thus tend to make the same mistakes.” Bellovin et al., 17 Ohio State Tech. L.J. at 32. Further, even if the program's operation is objective, numerous judgments regarding the appropriate interpretation of data are already baked into the source code, and may not be conducive to detection, comprehension, and analysis except by review of that source code. See Katherine Kwong, The Algorithm Says You Did It: The Use of Black Box Algorithms to Analyze Complex DNA Evidence, 31 Harv. J.L. & Tech. 275, 291 (2017) (noting that “[d]ifferent programs incorporate subtly different choices into their algorithms about how to interpret data, which can yield different results when analyzing the exact same complex mixture,” and that identification of consequent biases requires a “look at the software”). That is particularly so for a probabilistic genotyping program, whose output is not conducive to independent calculation or otherwise verifiable with precision like other analyses. See Christopher D. Steele & David J. Balding, Statistical Evaluation of Forensic DNA Profile Evidence, 1 Ann. Rev. Stat. & Its Application 361, 380 (2014) (explaining that a likelihood ratio “expresses our uncertainty about an unknown event and depends on modeling assumptions that cannot be precisely verified in the context of noisy ... data”).

As to judicial opinions, we note that eighteen courts have rejected calls to allow independent evaluation of TrueAllele's source code, many of which did so after the issues with STRmix and FST came to light. But critically, prior determinations of reliability in other jurisdictions entailed no scrutiny of computer science or source code.21 Instead, the courts depended in large part on Dr. Perlin's own testimony and the existing validation studies which, even if diligently conducted and sound, were not truly independent and did not even evaluate the source code.

The first court to address the question of admissibility was Commonwealth v. Foley, 38 A.3d 882, 889-90 (Pa. Super. Ct. 2012), where the court accepted Dr. Perlin's assertion that validation studies are the best tests of the reliability of source codes. The court reasoned that “scientists can validate the reliability of a computerized process even if the ‘source code’ underlying that process is not available to the public,” emphasizing that making the source code available would have market consequences. Id. at 889. The court reasoned also that TrueAllele “ha[d] been tested and validated in peer-reviewed studies,” citing two studies that had been “published in peer-reviewed journals” and thus “reviewed by other scholars in the field.” Id. at 889-90. At that time, in 2012, TrueAllele had been the subject of two studies, one laboratory-generated validation study, conducted and authored by Dr. Perlin himself,22 and one casework validation study, which was also co-authored by Dr. Perlin.23 The court made no mention of the fact that Dr. Perlin was involved in both the validation studies conducted up to that point. Subsequent courts have placed great emphasis on the observation made in Foley, without further scrutiny, creating an authority “house of cards.” See, e.g., People v. Superior Court (Chubbs), No. B258569, 2015 WL 139069, at *8 (Cal. App. Ct. Jan. 9, 2015); State v. Daniels, No. 2015CF009320AMB (Fla. Cir. Ct. Oct. 31, 2018) (slip op. at 3); State v. Wakefield, 47 Misc.3d 850, 9 N.Y.S.3d 540, 541 (Sup. Ct. 2015); State v. Shaw, No. CR-13-575691 (Ohio C.P. Ct. Cuyahoga Cnty. Oct. 10, 2014) (slip op. at 23); Commonwealth v. Knight, No. 379 WDA 2017, 2017 WL 5951725, at *6 (Pa. Super. Ct. Nov. 29, 2017); State v. Watkins, No. 2017-C-1811 (Tenn. Crim. Ct. Davidson Cnty. Dec. 17, 2018) (slip op. at 13-14).24 Published out-of-state judicial decisions, although persuasive rather than binding, carry great weight, especially after they are cited by other courts. A long line of decisions uniformly in favor of a legal proposition suggests that a legal proposition is generally accepted. We are mindful, however, that in science, the repetition of authority does not automatically establish reliability for purposes of a Frye hearing. The cases identified by the State include a laundry list of admissibility rulings, but to reiterate, none consider whether the TrueAllele source code itself correctly implements its methods, which can only be tested in the manner defendant and amici advocate for here.

We need not risk the same result. Our Supreme Court deemed source-code review of sufficient import to a reliability determination in Chun, 194 N.J. at 68-70, 943 A.2d 114, to order production, and we clearly contemplated the same in Ghigliotty, 463 N.J. Super. at 384-85, 232 A.3d 468, as to the algorithms at issue there. Here, Mr. Adams explained with particularity his need for full access to the code, not simply for visual examination, but for execution and testing, and the terms imposed in Cybergenetics' NDA, such as surveillance, time limits, and restrictions on note-taking and communication, would impede that review. Indeed, Dr. Perlin's own estimate that it would take an individual more than eight years to decipher the code by simple visual inspection belies the State's position that the limited access already offered would be adequate for meaningful review.

In light of the concerns that arise when examining the “black box” validation studies, the out-of-state judicial opinions and orders that have accepted TrueAllele's reliability without source code examination, and errors found in the source codes of the breathalyzer in Chun, FST, and STRmix, judges should examine the reliability of such software with healthy skepticism. Even if the DNA science underpinning probabilistic genotyping analysis has been proven scientifically valid, computer software such as TrueAllele must also properly implement that analysis in its source code; the source code must do as Cybergenetics says it does. We do not suggest that errors found in the source code of other probabilistic genotyping software necessarily means that such errors are present in TrueAllele's source code, but we must ensure that the constitutional rights of criminal defendants are protected by permitting an adversarial review of TrueAllele's source code to ensure that such errors do not also exist there as well. We therefore conclude that there is a rational basis under Frye for production.

(ii) The specificity of the information sought

In his discovery motion, defendant specifically identified the proprietary information sought. In regard to the validation studies, defendant requested discovery of all materials generated, including “[a]ll records and electronic data used as ‘input’ to the TrueAllele system and the software parameters used to analyze this data,” “[a]ll records and electronic data generated by the TrueAllele system and/or laboratory personnel during the course of the study,” “[a]ny analyses ... including bench notes, measurements, statistics, memos, summaries, conclusions, tables, graphics, and any resulting publications, presentations, and reports,” “[a]ll communication relating to the design and results of the study, both within and external to the laboratory,” “[a]ll records of unexpected results, including false positives (false inclusions), false negatives (false exclusions), and the conditions under which the unexpected results were granted,” “[a]ll records of software glitches, crashes, bugs, or errors encountered during the study,” and “[s]oftware version numbers of the components of the TrueAllele[ ] system used for the study.”

Defendant further requested “[s]ource code for the version(s) of the TrueAllele system used in the instant case,” including “all software dependencies such as third-party code libraries, toolboxes, plug-ins, and frameworks,” and “[s]oftware engineering and development materials describing the development, deployment, and maintenance of the version(s) of the TrueAllele software system used in the instant case ..., including the software engineering documents recommended by organizations such as the [IEEE] or the Internal Organization for Standardization (ISO).”

Defendant also specifically requested “[c]ommunication logs and records relating to TrueAllele testing, analysis, and reporting in the instant case, including requests for technical or procedural assistance, bug/crash reports, corrective actions, and software updates” along with “[d]ocumentation of corrective actions for discrepancies and errors.”

Finally defendant requested the forensic casefile generated by the New Jersey State Forensic Laboratory in the matter including: “notes, documents, and data resulting from each phase of testing and analysis,” “documentation related to the evidence collection and examination by the lab, serological testing, DNA extraction, quantitation, amplification, electrophoresis, analysis, and comparison of the samples,” and “all positive and negative controls, allelic ladders, and electronic raw data.”

Defendant provided the necessary information to justify his particularized need for the information requested and limited the scope of his request to that required for an independent analysis and review in this case. The information requested ensures that TrueAllele's source code operates as intended and that any changes to the source code have not negatively affected the intended operation of the program.

(iii) Safeguarding the company's intellectual property—protective order

Entering a protective order for use as part of the Frye hearing will accommodate safeguarding the proprietary information while simultaneously protecting the interests of defendant's liberty and justice. On remand, we direct the judge to issue a protective order that accomplishes these objectives. We leave to the discretion of the judge the details of that task. Two points about that: the judge should retain jurisdiction to enforce the order should that become necessary; and the judge should follow these remarks.

The parties recognize that the entry of a protective order is necessary since they invested “[e]xtensive communications” attempting the negotiate one for the judge to enter. As counsel acknowledged before us, the State made several concessions but “two key areas of disagreement remain.”25 The two areas pertained to liquidated damages for breach of the order, and the terms of the inspection itself. We will generally address both.

First, as to the damages, the State insisted that there be a $1,000,000 automatic civil liability “in the event that the proprietary materials are improperly handled, negligently or otherwise.” Moreover, the State required—on this automatic liability term—that the defense submit to jurisdiction in Pennsylvania and that the defense obtain liability insurance with $3,000,000 in coverage.

But, as the Innocence Project points out, a model protective order from the Northern District of California, whose docket includes among the most complex and financially consequential patent cases in the world, includes no provision for financial liability. U.S. Dist. Ct. for the N.D. of Cal., Model Protective Order for Litigation Involving Patents (Model Protective Order).26 We have not found—and the parties have not provided—any case authorizing disclosure of source code and related proprietary information under a protective order with the restrictions as rigid as Cybergenetics' terms, particularly as to liquidated automatic financial liability for breach of a protective order. Indeed, defendant produced the reasonable protective order issued in Illinois governing access to the source code and related documents by STRmix, and there is no such provision.

Acknowledging that there must be teeth to the protective order, in a proposed order for the judge's consideration, defendant reasonably proposed the following sanctions for breach: “Any person who willfully violates the terms of this Order is subject to civil and criminal sanctions, in addition to any other remedy or proceeding allowed by law.” Defendant did not specifically identify the civil and criminal sanctions, but as counsel for ACDL-NJ pointed out at oral argument, such sanctions could generally include license suspension, disciplinary actions, and civil penalties, just to mention a few. Civil and criminal contempt charges for violating a court order are also a potential consequence for breach. See In re Adoption of N.J.A.C. 5:96 & 5:97, 221 N.J. 1, 17-18, 110 A.3d 31 (2015) (noting that Rule 1:10-3 provides relief to a litigant for another party's failure to abide by a court order); State v. McCray, 458 N.J. Super. 473, 493, 205 A.3d 1178 (App. Div. 2019) (noting that “[t]he goal of the criminal contempt statute[, N.J.S.A. 2C:29-9(a),] is to promote compliance with judicial orders by punishing those who purposely or knowingly fail to comply with those orders”).

Second, as to the terms of the inspection, the State offered to host defense counsel and their experts at the prosecutor's office, which obviates the need for travel, but then prohibited meaningful inspection by permitting only handwritten notes of 170,000 lines of code. According to Dr. Perlin, comprehending the code through such an austere visual inspection would likely take more than eight years. Moreover, the State required the inspection to be supervised and would not allow photographs or copying of any material.

But, as the Innocence Project points out, the model protective order from the Northern District of California includes provisions explicitly permitting certain personnel other than the experts themselves access to the sensitive information, Model Protective Order §§ 7.2, 7.3, and allows the printing of portions of the source code for purposes of analysis, id. § 9(d). Defendant's proposed order, on the other hand, provides reasonable protections, including a prohibition on disclosure to any individual with “any direct or indirect commercial or employment interest in competing software products.” Although a requirement that all notes be handwritten may be included to prevent unauthorized copying and disclosure of source code, such a requirement could be impractical given the form and syntax of source code. Such a requirement may be considered “burdensome in the extreme” because “[m]odern computer source code was never intended to be handwritten even by the original programmer.” Lydia Pallas Loren & Andy Johnson-Laird, Computer Software-Related Litigation: Discovery and the Overly-Protective Order, 6 Fed. Cts. L. Rev. 1, 47 (2012).

As defendant and amici point out, jurisdictions across the country often authorize disclosure of source code in civil litigation to one extent or another on an adequate showing, subject only to a court-issued protective order. See, e.g., WeRide Corp. v. Kun Huang, 379 F. Supp. 3d 834, 854 (N.D. Cal. 2019); Northrop v. Inventive Commc'ns, L.L.C., 199 F.R.D. 334, 335-36 (D. Neb. 2000); Jagex Ltd. v. Impulse Software, 273 F.R.D. 357, 358 (D. Mass. 2011); Dynamic Microprocessor Assocs. v. EKD Comput. Sales, 919 F. Supp. 101, 106 (E.D.N.Y. 1996). The provisions entailed in each order tend to reflect a balance of the rights of the interested parties in light of the circumstances that are attendant to each case.

(iv) Any other relevant factors unique to the facts of the case

Unique to this case is the type of software that is proposed to be used. Probabilistic genotyping differs from traditional methods of DNA analysis in the resulting likelihood ratio that it provides. Rather than providing a result which can be verified against a true value, such as a breathalyzer being compared to a blood draw to ascertain the true blood alcohol content and whether the breathalyzer is within an acceptable margin of error, a likelihood ratio has no precise, independently ascertainable value with which to compare to ensure that the software is providing an acceptable estimation. As Christopher D. Steele and David J. Balding explain,

[l]aboratory procedures to measure a physical quantity such as a concentration can be validated by showing that the measured concentration lies within an acceptable range of error relative to the true concentration. Such validation is infeasible for software aimed at computing a [likelihood ratio] because it has no underlying true value (no equivalent to a true concentration exists). The [likelihood ratio] expresses our uncertainty about an unknown event and depends on modeling assumptions that cannot be precisely verified in the context of noisy [crime scene profile] data.

[Steele & Balding, 1 Ann. Rev. Stat. & Its Application at 380 (fourth alteration in original).]

Additionally, Mr. Adams noted that “[s]ince the likelihood calculations are dependent on the statistical models ... underlying the probabilistic software, any software behaviors affecting the models will necessarily impact the calculated likelihoods and ultimately the reported likelihood ratio.” Because probabilistic genotyping analysis cannot be tested to ensure that is reaching a near-correct result by comparing it to a true value, the closest substitute is to examine the way in which the source code is written to ensure that it functions as the science underpinning probabilistic genotyping necessitates. This is particularly important when even slight changes in the statistical models converted into source code can affect the resulting likelihood ratio. In this way, STRmix and FST serve as important cautionary tales.

Additionally, Drs. Heimdahl and Matthews note that TrueAllele's software integrates multiple scientific disciplines, therefore requiring cross-disciplinary validation to determine reliability. During oral argument, they informed us that each discipline will validate a program under different standards. In particular, V & V in the computer science field cannot be achieved without a thorough examination of the source code which translates validated probabilistic genotyping into executable software. See Natalie Ram, Innovating Criminal Justice, 112 Nw. U. L. Rev. 659, 688 (2018) (noting that “[c]omputer scientists ... have shown that black-box evaluation of systems is the least powerful of a set of available methods for understanding and verifying system behavior. More powerful and effective is white-box testing, in which the person doing a test can see the system's code and uses that knowledge to more effectively search for bugs” (alteration and omission in original) (internal citations and quotation marks omitted)). So, while TrueAllele may be generally accepted in the field of DNA forensics as methodologically sound, such validation may be too narrow, thereby making access to the source code even more important to test whether Dr. Perlin's testimony has gained general acceptance in the computer science community to which it also belongs.

VI.

As technology proliferates, so does its use in criminal prosecutions. Courts must endeavor to understand new technology—here, probabilistic genotyping—and allow the defense a meaningful opportunity to examine it. Without scrutinizing its software's source code—a human-made set of instructions that may contain bugs, glitches, and defects—in the context of an adversarial system, no finding that it properly implements the underlying science could realistically be made. Consequently, affording meaningful examination of the source code, which compels the critical independent analysis necessary for a judge to make a threshold determination as to reliability at a Frye hearing, is imperative.

In summary, defendant articulated a particularized need for the proprietary source code and related information for use at the Frye hearing by (1) demonstrating a rational basis for ordering the State to attempt to produce it, including through expert testimony supporting the claim for disclosure; (2) providing specificity for the information sought; (3) showing through examples from other jurisdictions that the company's intellectual property can be safeguarded by a protective order; and (4) demonstrating that source-code review is particularly crucial to evaluating the unique technology at issue here.
Anything less than full access contravenes fundamental principles of fairness, which indubitably compromises a defendant's right to present a complete defense.

Reversed and remanded for further proceedings. On remand, the judge is directed to compel the discovery of TrueAllele's source code and related materials pursuant to an appropriate protective order, then complete his gatekeeping function at the continued Frye hearing. We do not retain jurisdiction.

 

1.3 Houston Federation of Teachers Local 2415 v. Houston Independent School District 1.3 Houston Federation of Teachers Local 2415 v. Houston Independent School District

Houston Federation of Teachers Local 2415, et al., Plaintiffs

v.

Houston Independent School District, Defendant

Order

Stephen Wm. Smith, Magistrate Judge

This case is before the court on plaintiffs' motion (Dkt. 51) for interpretation of the protective order entered September 28, 2015 (Dkt. 47-1). After considering the parties' submissions and argument of counsel at a hearing on March 9, 2016, the motion is granted as set forth below. In accordance with this ruling, plaintiffs' related motions to seal (Dkts. 52, 56) are denied, and SAS's motion for contempt sanctions (Dkt. 54) is denied.

Background

Houston Federation of Teachers (HFT) and individual plaintiffs are suing the Houston Independent School District (HISD) alleging, among other things, that HISD's use of EVAAS to make important employment decisions, including termination and bonus decisions, violates teachers' rights under the Fourteenth Amendment. EVAAS is a proprietary value-added methodology owned by SAS Institute, Inc., a non-party to this suit. Plaintiffs allege that EVAAS uses a "complex and opaque methodology," and that without specific information regarding the rules and methodology used by EVAAS, information not available even to HISD, "it is impossible for a teacher to be able to examine or replicate the analysis, verify the analysis and the resulting score, establish that an alternative value-added model would show that the teacher's students showed academic growth, establish that the assigned score is an unreliable measure, or effectively challenge the analysis performed by SAS® or the resulting EVAAS® score."1

The Protective Order

SAS and HFT negotiated a protective order to facilitate discovery in this case. The protective order permits SAS to designate certain information for "Attorney Eyes Only."

Attorney Eyes Only shall be reserved for SAS information that is deemed to constitute trade secrets and/or proprietary information. For purposes of this order, so-designated information of SAS includes, but is not limited to, source code, models or modeling, analysis of models, programming, design information, methodologies, financial data, operational data, business plans, competitive analyses, personnel files, personal information that is protected by law, and other sensitive information that, if not restricted as set forth in this order, may subject SAS to competitive or financial injury or potential legal liability to third parties.2

The protective order further provides:

Attorney Eyes Only Information shall not be disclosed outside of the context of this litigation, and experts and attorneys may not, outside of the context of this litigation, present observations or conclusions that could not have been made in the absence of their review of Attorney Eyes Only Information.3

The Alleged Violations

After entry of the protective order, plaintiffs' expert, Dr. Jesse Rothstein, was allowed to view SAS source code on a lap top in the office of SAS legal counsel in San Francisco in October 2015. Another plaintiffs' expert, Dr. Audrey Beardsley, did not review the source code. Plaintiffs served the expert reports of Rothstein and Beardsley on HISD in November 2015; the reports have not been filed with the court.

In January 2016, HFT published an "EVAAS Litigation Update."4 This update summarized a portion of Rothstein's expert report in which he concludes that "[a]t most, a teacher could request information about which students were assigned to her, and could read literature -- mostly released by SAS, and not the product of an independent investigation -- regarding the properties of EVAAS estimates. HISD teachers do not have the ability to meaningfully verify their EVAAS scores."5

On January 10, 2016, Beardsley posted an update on her blog "Vamboozled" summarizing what she considered the twelve key highlights of HTF's January 2016 Litigation Update.6 Highlight 12 summarizes Rothstein's conclusion regarding the inability of teachers to verify scores.7

Analysis and Conclusion

SAS concedes that no "Attorney Eyes Only Information" was revealed in the Litigation Update or Beardsley's blog post. However, SAS contends that the publications wrongfully disclose observations or conclusions that could not have been made in the absence of the review of Attorney Eyes Only Information.

SAS interprets the protective order too broadly in this instance. Rothstein's opinion regarding the inability to verify or replicate a teacher's EVAAS score essentially mimics the allegations of HFT's complaint. The Litigation Update made clear that Rothstein confirmed this opinion after review of the source code; but it is not an opinion "that could not have been made in the absence of the review" of the source code. Rothstein has testified by affidavit that his opinion is not based on anything he saw in the source code, but on the extremely restrictive access permitted by SAS.8

In order to prevent further disputes of this type, HFT proposes the addition of the following sentence in the protective order: "Nothing in this Order shall prevent the plaintiffs, their experts and attorneys, from disclosing the conclusions or findings of experts, provided that no Attorney Eyes Only Information is disclosed."

SAS objects that adoption of this language is inappropriate, and would eliminate the negotiated provision of the protective order covering conclusions and observations that could not have been reached without review of Attorney Eyes Only Information. The court disagrees.

A protective order is appropriate to protect proprietary, trade secret information from disclosure. FED. R. CIV. P. 26(c)(1)(G). This particular protective order was drafted to protect conclusions and observations "that could not have been reached without review" of proprietary, trade secret information. The evident purpose of this provision was to guard against the competitive harm that even implicit disclosure of a trade secret might cause. That is a legitimate purpose, but even SAS concedes that neither the Litigation Update nor the related blog post disclosed anything that might legitimately be called trade secret or proprietary, either explicitly or by necessary implication. On the other hand, the overly broad interpretation urged by SAS would inhibit legitimate discussion about the lawsuit, among both the union's membership and the public at large. In order to avoid that unfortunate result, the court agrees that the clarification proposed by HFT, as slightly modified, is appropriate.

The court therefore orders that the following sentence be inserted at the end of section 8 of the protective order:

Nothing in this order shall prevent the plaintiffs, their experts, and attorneys from disclosing the conclusions or findings of experts, provided that no Attorney Eyes Only Information is disclosed, either explicitly or by necessary implication.