Tools
Darwinomics Opto Expression Model
The DECLARED-PRIOR EVIDENCE-GAP AUDIT: a submission declares, PER ROW, the lognormal recruitment prior (mu_log_gbar, sigma_log_gbar) that its specificity claim rests on, plus two provenance tokens saying WHERE that prior came from.
Catalog entry
About this entry
The DECLARED-PRIOR EVIDENCE-GAP AUDIT: a submission declares, PER ROW, the lognormal recruitment prior (mu_log_gbar, sigma_log_gbar) that its specificity claim rests on, plus two provenance tokens saying WHERE that prior came from. This module recomputes the recruitment curve those declarations imply and audits the F4 specificity claim AGAINST THE SUBMISSION'S OWN NUMBERS, emitting the pinned evidence-gap list. The pinned algebra is z = (mu_log_gbar - ln_shim(probe_gbar_nA_mV)) / sigma_log_gbar and R = 0.5 * erfc_shim(-(z / SQRT2)) = Phi(z) = P(g_bar >= probe), where SQRT2 is the pinned f64 LITERAL 1.4142135623730951 so that NO sqrt call enters the compute path; under this form mu TRANSLATES the curve and sigma SETS ITS SPREAD, which is the 'heterogeneity, not the mean, sets the curve' law made into a computation. The J3 HARD LAW is UNCONDITIONAL: sigma_log_gbar <= 0.0 raises a ComputeError naming sigma_log_gbar EVEN WHEN THE PRIOR IS DECLARED ABSENT, because absence is carried by the provenance TOKEN and never expressed by a degenerate sigma -- otherwise a submission could smuggle the binarising defect J3 forbids in through the back door. The ABSENT outcome is a SENTINEL, NOT A NaN: when either prior token is absent_no_source the five curve columns carry EXACTLY -1.0 and recruitment_hex carries its own bit pattern bff0000000000000; a NaN was rejected because nan != nan breaks the fixture round-trip and any value comparison, and -1.0 can never collide with a real value because a recruitment fraction is never negative. audit_verdict is TABLE-GLOBAL: a pinned LEFT FOLD over every row's status in INPUT ORDER with the precedence refuted > cannot_determine > ok, and a RUNNING fold is a defect this wave measured and fixed rather than a permitted reading. The D.2 DEFECTS ARE NAMED IN BAND rather than smoothed away: the stereotaxic coordinates are duplicated from Stage 1 (two sources of truth), expression_level is UNITLESS, and no canonical AAV titer->spread kernel exists -- so the titer conversion is reported cannot_determine on every row and a titer_spread_kernel token other than none_declared RAISES as a DEFERRED kernel rather than being invented. The priors are deliberately NOT table-global (only the two POLICY columns titer_spread_kernel and spec_provenance are), because forcing them global would make the verdict fold VACUOUS and make the mixed-verdict cases impossible to express; the invariant that replaces constancy is monotonicity CONDITIONAL on an identical f64-bit-equal declared prior. The compute path uses exactly THREE libm symbols -- exp, log and erfc -- each behind one pinned shim; erfc is the ONE symbol Rust's std does not provide, so it is DECLARED as extern "C" { fn erfc(x: f64) -> f64; } and resolved from the same glibc symbol CPython uses, parity BY CONSTRUCTION, and the declaration adds NO dependency at all (no #[link] attribute, no crate). No simulation engine, no subprocess, no RNG, no numpy, no curve fit, no external tool, no FFI beyond that one declared symbol, and no library beyond arrow. The module does NOT validate biology (R13): it checks a claim against a declaration and never decides whether a stimulation was specific.
Use in DarwinOmics
How to use it
Use this tool to reproduce a concrete analysis step from supplied inputs, captured parameters, and versioned outputs, then compare the regenerated artifacts against the submitted result record.