Expert witnesses

Source code expert witness: how the code is inspected, printed and used under a protective order

A source code review expert reads the other side's code on a standalone computer in a secured room, finds the files that perform each element in dispute and prints only the portions the report needs. In the Northern District of California the model protective order and the Patent Local Rules set those terms. The expert is approved before the first visit, and the opinion still has to pass Rule 702.

An expert from behind lifts face-down printouts from a lockable tray

What does a source code expert witness do?

The expert reads source code produced in discovery and ties specific files and functions to the questions in the case: whether a patent claim element is present, whether code was copied, or whether a trade secret was used.

In a patent case the expert compares code with claim elements. Under Patent L.R. 3-1(c) of the Northern District of California, the patent owner's infringement contentions include "a chart identifying specifically where and how each limitation of each asserted claim is found" in each accused product. Once the code is produced, the expert tests that chart against the code itself.

In a trade secret case the code can be the secret. Under 18 U.S.C. 1839(3), a trade secret includes "methods, techniques, processes, procedures, programs, or codes" if the owner has taken reasonable measures to keep the information secret and it derives independent economic value from not being generally known. Section 1839(6) excludes "reverse engineering, independent derivation, or any other lawful means of acquisition" from improper means. When the defendant claims independent development, the expert compares the two codebases and their revision histories.

In a software copyright case the expert separates protectable expression from the rest. In Computer Associates International, Inc. v. Altai, Inc. (2d Cir., June 22, 1992, amended December 17, 1992), the court described three steps. Abstraction means to "dissect the allegedly copied program's structure and isolate each level of abstraction." Filtration is a "successive filtering method" for "separating protectable expression from non-protectable material." Comparison asks "whether the defendant copied any aspect of this protected expression."

About 30% of the code of Altai's OSCAR 3.4 program had been copied from ADAPTER, a component of the CA-SCHEDULER program of Computer Associates, and the district court awarded $364,444 in actual damages and apportioned profits for OSCAR 3.4. Altai then rewrote the affected code. The district court found the rewritten OSCAR 3.5 not substantially similar to ADAPTER, and the Second Circuit affirmed that ruling. The trial judge appointed and relied on Dr. Randall Davis of the Massachusetts Institute of Technology as the court's own expert under Rule 706. The Second Circuit left it to the district court to decide "to what extent, if any, expert opinion" on the technical side of programs is warranted.

When does the other side have to produce its source code?

In the Northern District of California, with its invalidity contentions. Patent L.R. 3-4(a) requires the accused infringer to produce or make available source code or other documentation sufficient to show how the accused features operate.

Patent L.R. 3-1 starts the sequence: "Not later than 14 days after the Initial Case Management Conference," the patent owner serves its asserted claims and infringement contentions with the 3-1(c) chart. Invalidity contentions follow not later than 45 days after service of the infringement contentions. With them, under Patent L.R. 3-4(a), the party opposing the infringement claim must "produce or make available for inspection and copying" the "source code, specifications, schematics, flow charts, artwork, formulas, or other documentation sufficient to show the operation of any aspects or elements of an Accused Instrumentality identified by the patent claimant in its Patent L.R. 3-1(c) chart."

Contentions can change only by court order "upon a timely showing of good cause" (Patent L.R. 3-6). One example in the rule is recent discovery of nonpublic information about the accused product that the patent owner could not find with diligent efforts before serving its contentions. Source code produced after the contentions is nonpublic information of that kind.

Federal Rule of Civil Procedure 26(c)(1)(G) lets the court, for good cause, order that a trade secret or other confidential commercial information "not be revealed or be revealed only in a specified way." A source code section in a protective order sets that way. Under Patent L.R. 2-2, "The Protective Order authorized by the Northern District of California shall govern discovery" unless the court enters a different order.

Who may see code under the source code designation?

Under the N.D. Cal. model protective order: outside counsel and their staff, approved experts, the court, court reporters, trial consultants and vendors who signed the undertaking, and the document's authors. Designated house counsel are excluded.

Section 2.9 of the model protective order describes the source code tier as "extremely sensitive" material "representing computer code and associated comments and revision histories," plus formulas, engineering specifications or schematics that describe software or hardware algorithms or structure in detail, where disclosure would create "a substantial risk of serious harm." Under section 9(b), material in the source code tier, labeled "HIGHLY CONFIDENTIAL" with the qualifier "SOURCE CODE", follows the rules for attorneys'-eyes-only material in sections 7.3 and 7.4, except that designated house counsel get no access.

Under section 7.3, the recipients are outside counsel of record and their employees who signed the undertaking in Exhibit A; experts approved under section 7.4 who signed it; the court and its personnel; court reporters, professional jury or trial consultants and professional vendors who signed it; and the author, recipient or custodian of the document.

Section 2.13 includes "retained experts" in the definition of a party. Duties the order places on a receiving party, such as keeping printouts locked and returning material at the end of the case, therefore reach the expert.

How is a source code expert approved before seeing the code?

The party discloses the expert's name, city and state, CV, employers, paid work and testimony for the past five years. The producing party has 14 days to object, and an unresolved objection goes to the court.

Section 2.7 defines an expert as a person retained as an expert witness or consultant who is "not a past or current employee of a Party or of a Party's competitor" and who, at the time of retention, is not anticipated to become one. A software engineer who worked for the opposing party or its competitor falls outside that definition unless the parties change it.

Under section 7.4(a)(2), the written request identifies the general categories of information the expert will receive, the expert's full name and the city and state of primary residence, a current resume and current employers. It also lists each person or entity that paid or funded the expert, or received professional services, in the areas of expertise "during the preceding five years," and the litigation in which the expert testified during the same five years.

The producing party may object in writing "within 14 days of delivering the request." The parties then confer by voice within seven days of the objection. If they do not agree, the party seeking disclosure files a motion that explains why disclosure is reasonably necessary, assesses the risk of harm and proposes limits. The party opposing disclosure "shall bear the burden of proving that the risk of harm" outweighs the receiving party's need. The expert receives protected material only after the 14 days pass without objection, or after the objection is resolved.

What happens in the secured source code room?

The code sits on a secured computer in a secured room without internet or network access. The reviewer may not copy any part onto recordable media, and the producing party may watch only to stop copying.

Section 9(c) makes the code available "during normal business hours or at other mutually agreeable times" at the office of the producing party's counsel or another agreed place, on "a secured computer in a secured room without Internet access or network access to other computers." The code must be in "a format allowing it to be reasonably reviewed and searched."

The receiving party "shall not copy, remove, or otherwise transfer any portion of the source code onto any recordable media or recordable device." The producing party may visually monitor the review, but only to prevent unauthorized recording, copying or transmission. The model order names no review software and does not mention notes. Parties that want rules on either write them into the order they submit to the court.

Section 9(e) requires the receiving party to "maintain a record of any individual who has inspected any portion of the source code." Every expert and consultant on the receiving side who opened the code appears in that record.

How much source code can the expert print for the report?

Only limited portions reasonably necessary for court filings, pleadings, expert reports, other papers, or a deposition or trial. Printing code in order to review it on paper is barred, and the producing party can challenge the amount.

Under section 9(d), the receiving party "may request paper copies of limited portions of source code" reasonably necessary for filings, pleadings, expert reports or other papers, or for deposition or trial. It "shall not request paper copies for the purposes of reviewing the source code other than electronically" in the first instance. The model sets no page limit. The producing party can challenge the amount through the section 6 procedure for challenging designations, with the roles of the parties reversed.

Paper copies carry Bates numbers and the source code legend. The receiving party keeps them in a secured, locked area, "shall not create any electronic or other images of the paper copies" and does not convert them into electronic form. Further copies are allowed only where needed for a filing, a pleading or other paper, including a testifying expert's report, for a deposition, or otherwise for case preparation.

Printouts used at a deposition "shall be retrieved by the Producing Party at the end of each day" and "must not be given to or left with a court reporter" or other unauthorized persons. Footnote 17 of the model order says that in some cases it may be appropriate to require notice to the producing party before source code goes into a court filing, a pleading or an expert report. An expert report that quotes code cites the Bates numbers of the printouts.

Does access to source code bar the expert from patent prosecution?

It can. The optional prosecution bar in section 8 of the N.D. Cal. model order covers any individual who receives the protected material and lasts until two years after final termination of the case.

Section 8 applies to any individual who receives access to attorneys'-eyes-only or source code material, unless the producing party consents in writing. That person may not take part in patent prosecution on the subject matter of the case, including the asserted patents and related patents or applications, before any domestic or foreign agency. Prosecution includes drafting, amending, advising on, or otherwise affecting the scope or maintenance of patent claims. The bar begins with first access and "shall end two (2) years after final termination of this action."

The bar does not reach "representing a party challenging a patent before a domestic or foreign agency"; the model order names reissue protests and ex parte and inter partes reexamination. An expert who drafts or amends patent claims for clients in the same technology falls within the section 8 definition of prosecution for the life of the bar.

In In re Deutsche Bank Trust Co. Americas, decided on May 27, 2010, the Federal Circuit held that "the determination of whether a protective order should include a patent prosecution bar is a matter governed by Federal Circuit law." The court rejected a rule that bars every prosecution attorney: "The facts, not the category must inform the result." The test is the extent of a person's involvement in "competitive decisionmaking," and someone engaged in "strategically amending or surrendering claim scope during prosecution" generally qualifies. The party seeking the bar has to prove that the information that triggers it, its scope, its duration and its subject matter match the risk that disclosure of proprietary competitive information creates.

The case concerned the patent owner's lead litigation counsel in a Southern District of New York case. The Federal Circuit granted the mandamus petition in part, vacated the order that exempted counsel from the bar and remanded under the new standard. The model order's section 8 applies the bar person by person to everyone who receives the material, experts included.

Can infringement be proved without identifying the source code?

In some cases. In Fintiv v. Apple (Fed. Cir. 2025, nonprecedential), screenshots, the expert's testimony and an Apple witness's description were enough to create a genuine dispute that the claimed software existed.

Fintiv sued Apple in the Western District of Texas over U.S. Patent No. 8,843,125 on managing a mobile wallet, accusing the iPhone, iPad, Apple Watch and Mac through Apple Pay and Apple Wallet. The claims required a "widget," construed as "software that is either an application or works with an application, and which may have a user interface." Fintiv's expert, Dr. Shamos, "conceded during his deposition that none of the source code he cited makes up the widget." The district court granted summary judgment of noninfringement.

On May 16, 2025 the Federal Circuit reversed and remanded. Fintiv relied on the expert's screenshots of a card image presented to the user for selection, his testimony that the widget is "the code that's sitting behind . . . the card art that is activated when I touch it," and an Apple witness's description of a pass. The court wrote that "circumstantial evidence may be sufficient" and that the absence of identified code "does not mean that infringing source code does not exist." Apple cited no "competing testimony or product documentation" for its theory that the functions rested on mere data.

The opinion is nonprecedential, and the court remarked that the construction of "widget" looked unduly broad because it required no particular functionality. The district court still had to decide the related claim limitations and Apple's other grounds on remand.

What if the code comes from a third party, such as a chip supplier?

It has to be authenticated and admissible on its own. In Wi-LAN v. Sharp (Fed. Cir. 2021), printouts from chip makers were excluded, and the expert could not bring them before the jury through Rule 703.

Wi-LAN accused Sharp and Vizio smart televisions of infringing its deinterlacing patent. The relevant code belonged to the makers of the systems-on-chip inside the televisions. Wi-LAN said those makers "had refused to cooperate in discovery," sued them, and dismissed the suits without prejudice after the chip makers produced a source code printout and declarations of their employees.

Chief Judge Leonard P. Stark of the District of Delaware excluded the declarations and the printout. The declarations were prepared for litigation, so they were not business records under Rule 803(6)(B), and inconsistent metadata, dates and revision histories failed the trustworthiness requirement. The printout was not authenticated under Rule 901(b)(4), given how it had been produced. On April 6, 2021 the Federal Circuit affirmed the judgments of noninfringement.

Wi-LAN argued that its expert could rely on the code under Rule 703. The court answered that "Rule 703 does not make admissible otherwise inadmissible evidence" and that a party "cannot call an expert simply as a conduit for introducing hearsay." Wi-LAN had also not shown that source code experts reasonably rely on unauthenticated printouts. The district court refused Wi-LAN another opportunity to obtain an admissible form of the code, and the Federal Circuit found no abuse of discretion, because Wi-LAN had years to obtain it.

What must the expert's report contain, and how will the court test it?

In federal court, a retained expert's report states all opinions with their basis, the facts or data considered, exhibits, qualifications, testimony in the previous 4 years and compensation. Rule 702 then tests data, method and application.

Rule 26(a)(2)(B) lists six parts: "a complete statement of all opinions the witness will express" with the basis and reasons; the facts or data considered; exhibits; qualifications, including "a list of all publications authored in the previous 10 years"; "a list of all other cases in which, during the previous 4 years, the witness testified as an expert"; and "a statement of the compensation to be paid." Absent a stipulation or order, disclosures are due "at least 90 days before the date set for trial," and rebuttal disclosures within 30 days after the other side's.

Drafts of the report are protected under Rule 26(b)(4)(B). Communications between the attorney and the expert are protected under Rule 26(b)(4)(C), except those about compensation, facts or data the attorney provided and the expert considered, and assumptions the attorney provided and the expert relied on.

Under Rule 702, the proponent shows the court that it is more likely than not that the expert's knowledge will help the trier of fact, that the testimony is based on sufficient facts or data, that it is the product of reliable principles and methods, and that the expert applied them reliably to the facts of the case. For a code opinion the facts or data include the files and versions the expert inspected and the Bates-numbered printouts cited in the report.

What happens to the code printouts and the expert's copies after the case?

Within 60 days after final disposition, each receiving party returns or destroys all protected material, including copies, abstracts and summaries, and certifies that in writing. Counsel may keep an archival set that includes expert work product.

Section 15 of the model order covers copies, abstracts and summaries of protected material as well as the originals. Because section 2.13 counts retained experts as part of a party, the expert's printouts and copies fall under the same duty. Outside counsel may keep an archival set of pleadings, transcripts and "consultant and expert work product," even if it contains protected material, and that archive stays subject to the order under section 4.

Footnote 10 of the model order says it may be appropriate to restrict an expert from certain limited work before the litigation ends if that work could foreseeably lead to improper use of the designating party's attorneys'-eyes-only information. Where section 8 is adopted, the prosecution bar runs for two years after final termination of the action.

How does IAE find a source code expert witness?

In the request choose the case type Intellectual property and write source code review and the technology in the field line. Within 5 business days IAE sends 2-3 candidates with CVs, hourly rates and prior testimony lists.

The intellectual property expert witness page lists software engineers who review code in patent, trade secret and copyright cases among six intellectual property specialties, and notes that under the N.D. Cal. model protective order the code stays on a computer without internet or network access. The request form asks for the field, the case type, the state and court, the firm's side, the expert disclosure deadline and the parties with their counsel. The short description can name the accused products, the languages and platforms of the code, the protective order entered or proposed, and whether it contains a prosecution bar. The form asks not to include privileged or sealed information.

Within 1 business day IAE replies whether it can search in that field by the deadline. Each candidate confirms in writing that he or she has no ties to the parties or their counsel. Section 2.7 of the model order also excludes past and current employees of a party or of a party's competitor, and the request can list those competitors for the check.

Within 5 business days the firm receives 2-3 candidates with CVs, hourly rates, testimony in the last 4 years and publications in the last 10 years, the lists that Rule 26(a)(2)(B) requires. The section 7.4 disclosure under the model order covers five years of testimony and paid work, one year more than the Rule 26 list, and the selected expert supplies the fifth year.

Candidate names and CVs come after the $2,000 search fee is paid in advance. If no candidate fits, the second search is free, and if IAE finds no candidates, it refunds the fee. The expert bills the firm directly or through IAE under the agency option for hours at the expert's rate plus $100 per hour, for fixed fees, minimum charges and surcharges plus 40%, and for expenses at cost, which credits the search fee to the first invoice. The expert's hourly rate never depends on the outcome of the case or on the content of testimony.

IAE is not a law firm. Case strategy and the decision to retain an expert stay with the attorney.

Sources

Read also

All articles

Expert witnesses

Need an expert witness for your case?

Describe the question, the case type and the court. Within 5 business days you receive 2-3 candidates with CVs, hourly rates and lists of prior testimony.

Expert request

Received

Candidates, rates and prior testimony within 5 business days

Candidates2-3 with CVs
Timeline5 business days
Search$2,000 per case