Solution Design & Architecture·Task 1.3·Bloom: evaluate·Difficulty 4/5·10 min read·Updated 2026-07-14

Non-Determinism as a Feature vs a Defect (CCAR-P)

Select appropriate architectural patterns (workflow, agentic, augmented LLM)

SUBy Solomon UdohReviewed by Solomon UdohAI-assisted · human-reviewed
In short
Flexibility (adapting to unexpected input) and non-determinism (the same input can produce different outputs) are two faces of the same model property. For open-ended tasks, adaptability is the value being purchased and some variance is an acceptable cost. For tasks needing a single reliable, repeatable answer, that same variance is a defect a workflow or programmatic control should remove. The skill is telling, per scenario, which it is.

The same property, judged two ways

A model's most defining trait is that the same input can produce different outputs, and the highest-level pattern-selection skill is judging, per scenario, whether that variance is a feature or a defect. The Claude Certified Architect - Professional (CCAR-P) exam treats this as an evaluate-level skill because the identical property, non-determinism, is the value on one task and the bug on another, and the architect has to tell which. Flexibility, the ability to adapt to unexpected input, and non-determinism, the fact that the same input can yield different outputs, are two faces of one coin. You cannot have the adaptability without the variance; they are the same property seen from two sides.

This reframes the whole autonomy decision. Choosing more autonomy means buying more adaptability and accepting more variance; choosing tighter control means removing variance and giving up some adaptability. Neither is universally right. The question is always whether this particular task wants the adaptability enough to pay for it in variance, or needs the repeatability enough to engineer the variance away.

Non-determinism as feature vs defect
Flexibility (adapting to unexpected input) and non-determinism (the same input producing different outputs) are two faces of the same model property. On open-ended tasks, the variance is the adaptability being purchased and is an acceptable cost. On tasks needing a single repeatable answer, the same variance is a defect to remove with a workflow, structured output, or deterministic code.

When variance is the feature

For open-ended tasks, adaptability is exactly the value being purchased, and some output variance is the acceptable cost of it. A brainstorming assistant that produced the identical list every time would be worse, not better; an exploratory research agent's worth is that it can follow unexpected threads a fixed script would miss; a drafting tool that varies its phrasing is doing its job. On these tasks, trying to stamp out variance would destroy the adaptability that makes the model useful. The variance is not a flaw to tolerate grudgingly, it is the feature you paid for, and the design should embrace it rather than fight it.

When variance is the defect

For tasks that need a single reliable, repeatable answer, the same variance is a defect. A classification that must be consistent across identical inputs, a calculation that must return the same result every time, an extraction that must always produce the same fields, cannot tolerate the same input yielding different outputs. Here the variance is a bug, and the fix is structural: a fixed workflow, a constrained structured-output schema, or deterministic code that removes the variance rather than merely discouraging it. Reaching for more prompt instructions to suppress variance on a task that genuinely needs guaranteed repeatability is treating a structural problem as a wording problem, and it does not hold.

The trap that catches teams here is mistaking a clean demo for proof of determinism. Non-determinism is a property of the model whether or not the architecture acknowledges it, so a pipeline that ran identically five times in a demo has not been shown to be repeatable, it has only been observed a handful of times. You cannot certify behaviour you have seen only once, which is exactly why evaluation frameworks exist and why a repeatability-critical task needs structural control plus an eval that measures consistency across runs, not a demo that happened to land the same way. A financial reconciliation built on the assumption that a few clean demo runs proved determinism drifts silently in production, and the discrepancy is typically found by an auditor or an angry user rather than by the system itself.

Judging variance by what the task needs
Loading diagram...
The same non-determinism is the value on an open-ended task and a bug on a task needing repeatability. The fix for a genuine defect is structural, not more prompting.

Telling them apart is the whole skill

The exam's real target is whether you can look at a specific scenario and say which case it is. The signal is what the task needs from its output. If the value is adaptive, non-repeatable reasoning, variance is the feature. If the value is a guaranteed, consistent result, variance is the defect. Two tasks that look superficially similar can fall on opposite sides: "summarise this document however you see fit" tolerates variance, while "extract these five fields in this exact schema every time" does not. Reading that need correctly is what determines whether you embrace autonomy or engineer it away.

one property
flexibility and non-determinism are the same thing
feature
on open-ended tasks, variance is the adaptability you buy
defect
on repeatable tasks, variance is a bug to engineer out

What the CCAR-P exam trips candidates on

The exam tests two traps. The first is treating all output variance as a bug to be prompted away, when the task genuinely needs adaptive, non-repeatable reasoning. A scenario will describe an open-ended task and frame its variance as a problem, and the credited answer recognises that the variance is the feature and that suppressing it would destroy the adaptability the task depends on.

The second is selecting an agent pattern for a task requiring guaranteed, repeatable output and then trying to patch the resulting inconsistency with more prompt instructions. A scenario will show an agent applied to a task needing consistency, with prompt tweaks as the proposed fix. The reliable reading names the mismatch: the task needed a workflow or deterministic control, and no amount of prompting will make an open-ended pattern deliver guaranteed repeatability.

Worked example

Two tasks are proposed for the same team. Task 1: an assistant that suggests fresh campaign ideas for marketers, where repetition would be useless. Task 2: a system that assigns each incoming invoice to exactly one of twelve accounting codes, which must be consistent so the ledger reconciles. A designer wants to build both as open agents and 'tighten the prompts if outputs vary too much.' Evaluate.

Judge each task by what it needs from its output. Task 1 wants novelty: a campaign-idea assistant that returned the same suggestions every time would be worthless, and its value is precisely the adaptive, non-repeatable reasoning that produces fresh ideas. Here the variance is the feature being purchased, so an open, higher-autonomy pattern is appropriate and trying to suppress the variance would defeat the point. Treating that variance as a bug to prompt away is the first trap.

Task 2 wants the opposite: an invoice must map to exactly one of twelve codes, consistently, so the ledger reconciles. The same input yielding different codes on different runs is not adaptability, it is a defect that breaks accounting. Building it as an open agent and then tightening prompts when outputs vary is the second trap: an open-ended pattern cannot guarantee repeatability, and prompt instructions discourage variance without removing it. The structural fix is a fixed workflow or deterministic classification with a constrained output schema, or, if the coding rules are truly fixed, deterministic code.

So the designer's single approach is wrong for both in opposite directions. Task 1 should embrace variance with an adaptive pattern; Task 2 should engineer variance out with tight control. The skill the scenario rewards is telling, per task, whether non-determinism is the feature or the defect, rather than applying one pattern and hoping prompts reconcile the difference.

Common misreadings to avoid

Misconception

Output variance is always a problem to be minimised.

What's actually true

On open-ended tasks, variance is the adaptability being purchased, and minimising it destroys the value. A brainstorming or exploratory task needs non-repeatable reasoning. Only tasks that require a single guaranteed answer treat variance as a defect.

Misconception

If an agent's output is inconsistent on a task that needs consistency, better prompts will fix it.

What's actually true

An open-ended pattern cannot guarantee repeatability, and prompt instructions discourage variance without removing it. A task needing a guaranteed, consistent answer requires a structural fix, a workflow, structured output, or deterministic code, not more prompting.

How this shows up on the exam

Domain 1 questions on this knowledge point present a task and frame its output variance, and ask whether that variance is acceptable or a problem. The reliable reading judges by what the task needs: adaptive, non-repeatable reasoning means variance is the feature; a guaranteed, repeatable answer means variance is a defect to remove structurally, never to patch with more prompt instructions.

This is the evaluate-level capstone of the pattern-selection task, building on the tightest-constraint decision rule and the autonomy spectrum. The instinct to move guaranteed-repeatability work out of the model connects directly to recognising work that does not belong with Claude.

Check your understanding

A compliance team needs a system that decides whether each transaction is 'reportable' under a fixed rule set, and the decision must be identical for identical transactions so audits reconcile. An engineer builds it as an open agent and proposes adding prompt instructions to reduce inconsistency. What is the correct assessment?

People also ask

Is non-determinism in an LLM a feature or a bug?
It depends on the task. For open-ended work needing adaptability, variance is the feature you pay for. For work needing a single repeatable answer, the same variance is a defect to engineer out with a workflow or deterministic control.
When is output variance acceptable?
When the task is open-ended and the value is adaptive, non-repeatable reasoning, such as brainstorming or exploratory research. There, variance is the adaptability being purchased.
When should you engineer out variance?
When the task needs a guaranteed, repeatable answer, such as a consistent classification or a calculation. Then a workflow, structured output, or deterministic code should remove the variance rather than more prompt instructions.

Watch and learn

Official Anthropic Academy lessons first, then hand-picked walkthroughs. Videos load only when you press play.

No videos curated for this concept yet

We are still curating the best official and community videos for this topic.

Official prep for this domain

Anthropic's own free prep module for this part of the syllabus, on the official prep course. Free with an Anthropic Academy sign-in.

References & primary sources

Adaptive study

Master this concept with Archie

Practice it inside an adaptive study session. Archie, your Socratic AI tutor, tracks your mastery with Bayesian Knowledge Tracing and schedules the perfect next review.

Start studying