Design prototype · Built on Stockurai

Batch disposition triage for QA release review

Prepared for Jane Doe · Pharmaceutical manufacturing · December 3, 2026

Sample data for illustration.
DecisionWhich batches are ready for QA release review, need a hold, or should be rejected
OptionsRelease-ready · Hold · Reject
Data sourcesLIMS results export, Batch record review system, Deviation and change control log
PolicyPrioritize and flag only; the QA unit signs every final release
Does this design prototype fit your needs? Complete the form to receive a formal proposal. Or answer a few questions to create a custom design prototype.
STEP 01

Targets

Targets are what the system watches. Here, they are the batches awaiting disposition, with open record exceptions and deviations pulled from source systems.
TargetProductOpen exceptionsOpen deviationsStatus
B-24117Tablets 500 mg00Active
B-24121Oral suspension21Watching
B-24124Tablets 500 mg70Watching
B-24109Sterile vial11Active
STEP 02

Target detail

Where the feeds meet: the lab and plant (test results and environmental monitoring) and the quality records (exceptions, deviations, change controls). Every recommendation is weighed against both.

B-24117 release test results

TestSpecResultStatus
Assay95.0–105.0%99.2%Pass
Dissolution (Q)≥80% at 30 min91%Pass
Content uniformityAV ≤15.04.8Pass
Water content≤3.0%1.7%Pass
Related substances≤0.5% total0.21%Pass
Microbial limits<100 CFU/g<10 CFU/gPass

Batch file status

Record exceptions0 open · 3 closed
DeviationsNone open
Change controlsCC-1102 closed 11/18
Environmental monitoringWithin action limits
In-process checksAll in limits
Feeds
LIMSIn-process, release and environmental monitoring results · Every 15 minutes
Batch recordsReview exceptions raised and closed per batch · Hourly
QMSOpen deviations and change controls by batch · Daily
STEP 03

Alerts: what the system watches for

Alerts are code-free. Pick a field, an operator and a value. Each alert watches one thing, such as an assay result against its spec or an open deviation, and fires when it happens.

Edit alert

Assay within specification
Assay result
Between
Spec range 95.0–105.0%
Each result
PreviewAssay result between spec range 95.0–105.0%

Configured alerts

All release tests in specLIMS
In-process results in limitsLIMS
EM within action limitsLIMS
Release test out of specLIMS
Record exceptions closedBatch records
No open deviation or changeQMS
STEP 04

Decision logic: alerts, conditions, plays and rules

Alerts evaluate data in real time. Conditions add triggered alerts up to a score, and plays organize the conditions. Rules turn a play’s score into a real-time recommendation on the live feed. The policy gate means no rule ever releases a batch; it only sets review priority, and the QA unit signs the final release. Rules drive the recommendations, not AI.

Play: Prioritize batches for QA release review

+30Tests in spec
  • All release tests in spec
  • In-process results in limits
+15Record clean
  • Record exceptions closed
+15No open deviations
  • No open deviation or change
+10Environment in limits
  • EM within action limits

Rules

Score ≥ 60RELEASE-READY
Score 30–59HOLD
Confirmed out-of-spec resultREJECT

Policy gate

Final releaseSigned by the QA unit only
Rules doPrioritize and flag, never release
Reject needsQA investigation before disposition
ApprovalQA unit
STEP 05

Live feed

This is the screen the decision team watches. Each card is a recommendation on one batch, printed the moment its rule is met, with the score and time it fired.

Release-ready (1)

B-24117  Score 70 · All conditions met
Tests in spec, 0 open exceptions or deviations; first in QA queue
11/19 02:05 PM

Reject (1)

B-24109  Confirmed OOS · Sterility
Sterility failure confirmed, no lab error found; refer to QA investigation
11/19 08:50 AM

Hold (2)

B-24121  Score 55 · Open deviation
DEV-0388 (mixing time) still open; tests and EM clear
11/19 11:40 AM
B-24124  Score 55 · 7 record exceptions
Mostly missing signatures; resolve before review
11/19 10:15 AM
STEP 06

Audit trail: one recommendation, start to finish

Every recommendation is logged and traceable. QA can see which results and records arrived, which conditions were met, who reviewed the recommendation and how much review time it saved.
B-24117 — Audit trail

Data received

LIMS feed6 of 6 release tests pass, finalized 11/19 13:40
Batch records feed0 open exceptions, 3 closed
QMS feedNo open deviations or change controls

Play evaluated → rule fired

✓ Tests in spec (+30)
✓ Record clean (+15)
✓ No open deviations (+15)
✓ Environment in limits (+10)
Score70 → RELEASE-READY
Policy gatePassed: priority only, QA unit signs final release

Decision

ActionQueued first for QA release review
Reviewed byQA unit, 14:22

Outcome

Full-record review baseline6.5 h, focused review 3.4 h
Result3.1 h review time saved on this decision
STEP 07

Daily flags

A short daily list of things worth a look, separate from the live feed. Confirmed out-of-spec results, deviations open too long, unusual exception counts and environmental trends.
LIMSB-24109 sterility failure confirmed
Lab investigation found no assignable cause; Reject rule armed
QMSDEV-0388 open 12 days on B-24121
Target is closure before batch review starts
Batch recordsB-24124 has 7 exceptions, usual is 2
Mostly missing signatures on the packaging record
LIMSGrade B particle counts rising 2 weeks
Still under action limit; watch trend
STEP 08

ROI scoring and baseline

The optimization engine scores every decision. Every recommendation is measured against full QA review of every batch record, and against the shortest review that still catches every batch that should be held. The gap is the ROI you can measure.
TargetDecisionsAvg review time (h)BaselineBest possibleCapturedResult vs baseline
Tablets 500 mg623.46.52.476%−3.1 h per batch
Oral suspension384.16.02.859%−1.9 h per batch
Sterile vial247.29.54.647%−2.3 h per batch

Baseline: Full QA review of every batch record. Best possible: Shortest review with no missed hold. Sample figures; in a live installation, these come from the organization’s own decisions and data.

STEP 09

Fit and next steps

What we’d check first

Why
  • A repeated per-batch decision with structured results, exceptions and deviations, and QA keeps final sign-off
To verify
  • Whether LIMS, batch record and QMS data can be exported on a schedule
  • Validation and data integrity requirements for this use
  • How QA wants the score thresholds set and reviewed
Extend with AI
  • Reading free-text exception and deviation comments to flag likely holds

Next step: a formal proposal

ScopeThe decision, targets and data feeds
RulesRules and policy gate, written out
ROIHow ROI is measured against the current process
TermsSetup estimate, timeline and license terms
Where it runsThe organization’s own AWS account
Request a formal proposal Create a custom decision design prototype

For IT and data teams: an AI data pipeline

Stockurai is licensed to researchers and institutions for real-time analysis of equity markets, with AI and machine learning built into the process. The same AI data pipeline can be built for this decision.

Deploying AI agents for decisions like this?

Stockurai runs in shadow alongside the agent, on the same data feeds and business rules. Every recommendation is checked against the rules and policy as it arrives, then scored against what actually happened.

See the AI agent prototype for this decision

Design prototype prepared by Stockurai · Sample data for illustration only · stockurai.com