Coverage and Validation Map
This page is the consolidated source of truth for three related questions:
What analysis, estimation, PK, simulation, and workflow surfaces exist?
What kinds of tests back each surface?
Where are the concrete tests that enforce those claims?
Use this page when you want the test-backed inventory of the project. Use the other pages around it for narrower purposes:
testing.md: how to run the suite and how the pytest tiers are organizedvalidation_matrix.md: what validation level the project claims for each surfaceexternal_validation_benchmarks.md: the external datasets and third-party tools used as anchorsanalysis_validation_gaps.md: what is still weak and what should be added next
How to read this page
Test types:
Unit: local deterministic checks, formulas, invariants, and boundary behavior
Integration: short end-to-end workflows composed from multiple components
Regression: checked-in numerical baselines used to detect drift
External validation: agreement against independent software, literature values, SciPy, or exact closed forms
Validation character:
Analytic/reference-heavy: the strongest footing; relies on closed forms, exact identities, SciPy, literature tables, or cross-tool references
Behavioral/integration-heavy: useful coverage, but more about consistent behavior than independent truth
Estimation methods
Surface |
Main implementation |
Main tests |
Test types present |
Validation character |
|---|---|---|---|---|
FO |
|
|
Unit, regression, external |
Analytic/reference-heavy |
FOCE / FOCEI |
|
|
Unit, regression, external |
Analytic/reference-heavy |
Laplacian |
|
|
Unit, regression, external |
Analytic/reference-heavy |
SAEM |
|
|
Unit, regression, external |
Mixed; credible but thinner than FO/FOCEI |
IMP / IMPMAP |
|
|
Unit, regression, external |
Mixed; strong analytic core, narrower empirical breadth |
BAYES(Laplace) |
|
|
Unit, regression, external |
Mixed; strong on local Gaussian path, narrower global parity claims |
BAYES(NUTS) |
|
|
Unit, regression, limited external |
Behavioral plus some exact-target checks; still second-tier |
Nonparametric (NPML / NPEM) |
|
|
Unit, regression, external |
Mixed; solid weight/support checks, still narrower empirical breadth |
Estimation diagnostics / result summaries |
|
|
Unit, external |
Good structural coverage |
PK subroutines and solver surfaces
Surface |
Main implementation |
Main tests |
Test types present |
Validation character |
|---|---|---|---|---|
ADVAN1 |
|
|
Unit, integration, external |
Analytic/reference-heavy |
ADVAN2 |
|
|
Unit, integration, external |
Analytic/reference-heavy |
ADVAN3 |
|
|
Unit, integration, external |
Analytic/reference-heavy |
ADVAN4 |
|
|
Unit, integration |
Good, but less externally anchored than ADVAN1-3 |
ADVAN5 |
|
|
Unit, integration |
Strong within its model family |
ADVAN7 |
|
|
Unit |
Functional expm-backed validation now exists; empirical breadth still minimal |
ADVAN11 |
|
|
Unit |
Strong formula-level checks |
ADVAN12 |
|
|
Unit |
Strong formula-level checks |
ADVAN6 general ODE |
|
|
Unit, dedicated native lane |
Strong on mechanics; empirical breadth depends on estimator path |
ADVAN8 stiff ODE |
|
|
Unit |
Good numerical/mechanical coverage |
ADVAN10 Michaelis-Menten |
|
|
Unit, external |
Good reference footing |
ADVAN13 sensitivities |
|
|
Unit, dedicated native lane |
Good mechanics/sensitivity coverage; narrower workflow breadth |
ADVAN16-style DDE |
|
|
Unit, integration |
Good functional coverage |
Transit / parallel / EHC absorption |
|
|
Unit |
Good within implemented subset |
PBPK |
|
|
Unit, integration |
Functional, but still narrower than core compartmental PK |
TRANS parameterizations |
parser + PK routing |
|
Unit |
Good selector/parameterization coverage |
Diagnostics, simulation, and NCA
Surface |
Main implementation |
Main tests |
Test types present |
Validation character |
|---|---|---|---|---|
Simulation engine |
|
|
Unit |
Strong behavioral/core mechanics |
VPC / pcVPC |
|
|
Unit, integration, regression, external |
One of the strongest surfaces |
NPDE |
|
|
Unit, regression, external |
One of the strongest surfaces |
NPC |
|
|
Unit, external |
Good formula-level footing |
SSE |
|
|
Unit, regression |
More behavioral than externally anchored |
Diagnostic tables / GOF helpers |
|
|
Unit |
Mixed; many deterministic checks, fewer independent references |
Core dense-profile NCA |
|
|
Unit, regression, external |
One of the strongest surfaces |
Multidose NCA |
|
|
Unit |
Good local numerical coverage |
Sparse NCA |
|
|
Unit |
Good analytical checks within its scope |
Urine NCA |
|
|
Unit |
Good analytical checks |
Crossover BE / power / sample size |
|
|
Unit, external |
Good formula/reference coverage |
CDISC PP export |
|
|
Unit |
Structural/export coverage |
Analysis and model families
Surface |
Main implementation |
Main tests |
Test types present |
Validation character |
|---|---|---|---|---|
Direct and mechanistic PD / PK-PD |
|
|
Unit, integration, regression |
Broad functional coverage |
Population PD |
|
|
Unit, regression |
Good recovery-focused coverage |
TTE / survival |
|
|
Unit, external |
Strong reference footing |
Count models |
|
|
Unit, external |
Strong reference footing |
Ordered categorical / proportional odds |
|
|
Unit, external |
Strong reference footing |
CTMC / Markov / HMM |
|
|
Unit, external |
Strong reference footing |
TMDD |
|
|
Unit, external |
Strong limit-case/reference checks |
Static DDI analysis |
|
|
Unit |
Strong formula-level checks |
Covariate effect functions |
covariate/effect helpers |
|
Unit, external |
Good formula/reference coverage |
Model comparison and information criteria |
result/model-comparison helpers |
|
Unit, external |
Strong formula/reference coverage |
Bootstrap / SCM |
|
|
Unit |
Good workflow mechanics, lighter independent references |
Workflow, parsing, outputs, and GUI
Surface |
Main implementation |
Main tests |
Test types present |
Validation character |
|---|---|---|---|---|
Control-stream parsing/runtime |
parser + runtime layers |
|
Unit, integration |
Broad supported-subset coverage |
NONMEM-style writers/readers |
|
|
Unit |
Good structural/export coverage |
Data preprocessing / BLQ / covariate imputation |
|
|
Unit, integration |
Good workflow coverage |
GUI workflows and review shell |
|
|
Unit |
Strong workflow-shell coverage, lighter empirical references |
Dedicated release lanes
These are explicit coverage lanes for routes that should not be inferred only from the broad suite:
Lane |
Command |
Main surfaces covered |
|---|---|---|
Symbolic route |
|
SymPy-backed analytical kernels, symbolic ETA gradients, symbolic guards |
Native CVODES route |
|
Rust/native extension, CVODES wiring, native/sensitivity parity, serial native performance gate |
Strict release suite |
|
Release-gated unit/integration/regression/external-validation path with strict fixture enforcement |
External anchors and citations
This page intentionally keeps citation detail light and defers bibliographic authority to the dedicated reference pages:
external_validation_benchmarks.mdlists the concrete external tools, datasets, and benchmark assets used by the testscitations.mdcontains the full bibliographic references for the literature and public benchmark sources mentioned across the validation docs
The main external anchors referenced by the coverage map are:
nlmixr2,NONMEM,Monolix, and Pharmpy for cross-tool estimation checksscipy.stats,scipy.linalg, andscipy.integratefor exact numerical referencespublic PKNCA and WinNonlin-backed Indometh tables for NCA benchmarks
Current strongest areas
NCA, especially dense-profile NCA with public PKNCA and WinNonlin-backed anchors
VPC / pcVPC / NPDE / NPC
FO / FOCE / FOCEI / Laplacian estimation formulas and core workflows
TTE, count, categorical, CTMC/HMM, and TMDD limit-case checks
ADVAN1/2/3 analytical PK
Current thinner areas
ODE-heavy advanced estimators beyond the strongest FO/FOCEI paths
PBPK and DDE compared with the depth available for core PK subroutines
Bootstrap / SCM / SSE external anchoring relative to the strongest diagnostic and NCA areas
BAYES(NUTS) and some mixed-endpoint empirical paths, which remain intentionally second-tier
Recommended maintenance rule
When a method or workflow changes, update this page together with:
the concrete tests
external_validation_benchmarks.mdif the external anchor set changed
That keeps support claims, test inventory, and external evidence synchronized.