A hospital pharmacy team wants to flag paediatric prescriptions whose dose falls outside the weight-based range in its formulary table. The clinical safety officer requires that the same prescription and weight produce the same result every time, and that each flag can be traced to a specific table row during audit. A product owner proposes asking Claude to compute each safe range. What should the architect recommend?
- ACompute each range in deterministic code against the formulary table, and limit Claude to drafting the plain-language alert text Correct
- BHave Claude compute each range at a temperature of zero, since removing sampling randomness makes the calculation repeatable for audit
- CHave Claude compute each range and route every flagged prescription to a pharmacist, so a human checks each calculation before release
- DHave Claude compute each range with a confidence score, and send only those scored below a set threshold to a pharmacist for review
Why A is correct: A table lookup and arithmetic in code is reproducible by construction and every flag points to the row that produced it, meeting both stated requirements. Claude is kept for the generative part, wording the alert, where variation does no harm.
Why B is wrong: It is tempting because lowering temperature does make outputs more consistent. It is wrong because it does not guarantee identical results across calls, and a generated calculation still cannot be traced to a specific formulary row in the way the safety officer requires.
Why C is wrong: It is tempting because human review feels like the safe choice in a clinical setting. It is wrong because it is a compensating control on a component that should not be generative at all, it misses unflagged prescriptions where the model erred, and it still fails the reproducibility requirement.
Why D is wrong: It is tempting because it appears to focus human effort where the risk is. It is wrong because a model's self-reported confidence is not a reliable accuracy signal, so confidently wrong ranges pass unchecked, and the approach still fails reproducibility and traceability.