Spectroscopic QC Pipeline
Turn NIR spectra into quality calls your QC team can check: a measurement, its interval and the reasons behind it, on a tamper-evident audit trail. Your Qualified Person makes every release decision.
ILLUSTRATION · BATCH B-2026/1147 · NIR SCAN
Prediction - API content · model: PLS
🔴 the Qualified Person signs the release - always. The pipeline provides evidence, never the decision.
How it works
⚠ With us: the validation plan comes first
In a PoC or Implementation the plan is written per ICH Q2(R1) / Q14 with your QA before any model: acceptance criteria, intervals of validity, revalidation triggers, signed by your QP. The repo on its own does not enforce this: it fits a model on whatever data you give it.
Standard preprocessing, PLS first
SNV, MSC, Savitzky-Golay smoothing and derivatives; the recipe used is recorded with the model. The model is PLS, which inspectors know. There is no deep model in the repo: one is added only if it demonstrably beats PLS on your data.
The bands behind each prediction
For every prediction the spectral bands that drove it are shown, found by masking bands and predicting again: chemistry your QC team can sanity-check, not a black box over wavelengths. The bands are defined per material, so this is set up for each product.
Outside range = held for review
Every value carries a conformal interval. A spectrum outside the calibrated range, or outside what the model has seen, is never passed: it is held at REVIEW and flagged for manual assay, with the number shown as an extrapolation. An unknown material raises an anomaly flag.
Methodology reference
The published method this build is based on, and what it did in production.
Cipla deployed inline NIR with PCA/PLS for real-time batch release, replacing stratified HPLC sampling.
Chemometric real-time release (PAT) · as reported by AAPS PharmSciTech ↗
Referenced for methodology only. AimRank is not affiliated with, endorsed by, or a customer of these companies; each links to its own public source. Sources last checked between September and November 2026.
The Four Guarantees™ - this build
The scaffold wires all four in. The PoC proves them on your data, as of that day. Only Implementation keeps them true over time: watched, drift-checked, with recourse as the Build page defines it.
Measured value
~75% of release-test labour cut at reference volume. The repo's acceptance gate checks RPD, held-out RMSEP against cross-validation error and interval coverage; when it fails, every verdict is held at review. It passes on public grain and meat NIR data and refuses the synthetic packs. Accuracy, precision and robustness criteria come from your signed plan, in an engagement.
Defensible
The bands behind each prediction; a hash-chained, time-stamped audit trail that shows any tampering, keyed with your own secret in production. Built to support your 21 CFR Part 11 / EU Annex 11 obligations: electronic signatures, access control and record retention are set up with your QA, not in the repo. A per-sample PDF report and an Annex IV draft on request.
Self-improving
Predictions with uncertainty, held for review outside the calibrated range. A drift check and a human-approved champion/challenger registry ship as tested modules; connecting them to your instrument and batch feed, control-sample tracking and recalibration triggers are engagement work.
Yours & everywhere
Full source and a container you run on your own infrastructure. NIR today; Raman, FTIR and a LIMS connector are built with you on request. MCP tools for QC agents are read-only: measurement, interval and the reasons behind each call. 🔴 No tool releases a batch; the assessment is advisory.
The number, sized honestly
Reference buyer: EU pharma or specialty-food QC lab, ~5,000 batches/yr, release-test cycle ~4 hours/batch, manual model rebuilds on every product change.
Three ways to own it
| Tier | What you get | Price | |
|---|---|---|---|
| Scaffolding ★ | The full repo - NIR preprocessing and a PLS harness, material identity with an anomaly flag, conformal intervals, an acceptance gate (RPD, held-out RMSEP, coverage), a drift module, hash-chained audit log, dashboard, MCP server. Reference runs on public grain and meat NIR data. | €890 | |
| PoC ★★RECOMMENDED | Chemometric models trained on your spectra - prediction quality measured against your reference-lab results, audit trail included. Code + quality report yours. No guarantee at PoC. | from €2,900verdict within one week of a usable export | |
| Implementation ★★★ | Production: validated pipeline in your QC flow, instrument-drift monitoring, model lifecycle under change control, audit-ready documentation maintained - the agreed number (conservative) attaches here. | Customquoted after the PoC, with monthly assurance |
★ = engagement depth. PoC is the recommended path: quality proven on your data before production money. It runs on a static export of your data, with no live connection to your systems. The PoC carries no performance guarantee by design; the agreed number (conservative) attaches at Implementation, informed by the PoC report.
What we don't promise
Ready to see your own number?
Request the build: within 48h you get a personal reply with the value sized to your volume.
No commitment · reply within 48h · your data stays in the EU