Thorough preparation for hostile supervised source code review, deposition and testimony is vital. The best way for an expert witness to prepare is to over-prepare. Competent experts prepare until they get it right.
This article discusses what ‘winning’ and ‘losing’ looks like for a non-partisan expert, how that differs from how attorneys win and lose, why non-partisan experts can succeed against partisan experts, common business practices that affect an expert’s success, and preparing for testimony.
There are relatively few absolute truths. The findings of science and technology are empirical — based on evidence and/or observation and verifiable through evidence and observation — and empirical truths are typically nuanced. It is possible to compute the probability that patterns in software and data are random, and this result can be used to form an opinion.