Blogs

illustrations illustrations illustrations illustrations illustrations illustrations illustrations

AIPL: Auditable ADMET Screening Platform (Open Source)

Published on Nov 29, 2026 by Samer Kharboush on ADMET MLOps OpenSource

AIPL: Auditable ADMET Screening Platform (Open Source)

AIPL is my open-source, auditable ADMET screening platform for early drug-discovery decisions, in active development. ADMET — absorption, distribution, metabolism, excretion and toxicity — screening decides which molecules move forward, so every number has to be trustworthy and reproducible.

Overview

AIPL (“Auditable ADMET screening”) is a reproducible, local-first platform for molecular screening and benchmark evaluation. It screens compound libraries, inspects uncertainty and data-quality warnings, and traces every benchmark result back to its dataset digest, split, seed and model configuration. It is a research-screening tool, not a replacement for experimental validation or clinical assessment.

Goals

The goal is honest evaluation. ADMET screening feeds real drug-discovery decisions, so the platform must not report inflated metrics: it validates SMILES inputs, checks for data leakage between training and test sets, quantifies uncertainty, and publishes refusals as first-class results. Its guarantees are intentionally not configurable away: there is no skip-audit, skip-gate or skip-disclaimer flag.

My role

I designed and built the platform end to end, in public. The engineering includes the screening and benchmark workflows, the leakage-validation gate, conformal prediction, provenance, the FastAPI backend and TypeScript frontend, the MLflow/DVC tooling, CI gates and the test suite.

Architecture

Two related workflows:

  • Compound-library screening — SMILES validation with row-level rejection reasons; predicted endpoint values; uncertainty; conformal intervals or sets at a stated target coverage; Applicability Domain flags; and a prioritised shortlist.
  • Benchmark evaluation — curated, checksummed datasets; seeded splits; structural, scaffold and temporal leakage audits; metrics with bootstrap confidence intervals; and explicit refusal when a split fails the gate.

Refused runs are first-class tracked runs tagged as refused, retaining their audit findings; metrics are logged with confidence-interval bounds alongside the dataset digest and parameters. The platform runs entirely locally through Docker Compose, with no hosted instance; raw corpora are not vendored.

Tech stack

Python and FastAPI backend; TypeScript frontend; MLflow for experiment tracking; DVC for data versioning; Docker and Docker Compose; strict typing; conformal prediction; LightGBM; DVC for pinned datasets. Roughly 390 tests back the code, run with strict typing and CI gates. MIT licence.

Results & achievements

The platform is delivered as open source with published results. Benchmark campaign: 21 runs across 14 curated corpora (70,532 structures); seven produced reportable results; 14 were refused by the leakage gate, with refusals and findings published. In my own testing, leakage validation rejected 14 of 21 benchmark runs rather than report inflated metrics. A scaffold split alone does not guarantee near-duplicate separation: for example, near-duplicate pairs across the split boundary led the gate to refuse runs, and a random split on one endpoint produced a higher apparent AUROC (0.9299) than a scaffold split (0.7527) precisely because of leakage, which the gate treats as diagnostic rather than reportable. No external baseline has been re-run inside the harness, and no competitive accuracy claim is made. A synthetic 10,000-row end-to-end exit test checks throughput and reproducibility (regenerating the report byte-for-byte); this checks the workflow contract, not accuracy. Conformal coverage is conditional on exchangeability, not a guarantee under dataset shift.

Source code: github.com/SamerKharboush/AIPL. Benchmark records and refusal findings are published in the repository.

Similar Stories