CSE Roadmap

Common tier · about 5 hours · 4 parts

Part 2 of 4 · 12 min read

Definitions

Covers: Definitions; The method; Results; Design rules; Interview questions, with the follow-ups; Common mistakes; What the example does not do.

Definitions

Trade-off

  • Trade-off: improving one property (say latency) costs another (say quality), so you must choose how much of each to buy.

Hard requirement

  • Hard requirement (constraint): a limit an option must meet to be considered at all, such as a latency ceiling or a privacy rule.

Pareto-dominated

  • Dominated option: another option is at least as good on every criterion and better on one; a dominated option should never be chosen.

Break-even

  • Break-even: the value of one input at which two options tie; above or below it the decision flips.

Critical weight

  • Critical weight: the weight on one criterion at which the winning option changes.

Architecture decision record

  • Decision record (ADR): a short document stating a decision, its context, alternatives, evidence, consequences and the condition for revisiting it.

Rank reversal

  • Rank reversal: the order of two options changing when a third, irrelevant option is added or removed.

The method

AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYTo4NmExOTY4MS1iZTFjLTRhMDctYmY5MC1lMTc4ZWEzOWFhNTIAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaF6N+A3mw0YkUmfTyKWMdCYAAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDo2MjZkNTgzOS01NTIwLTRhYzUtYmU2Zi01ZDllNDg4ZDAwY2JscmVsYXRpb25zaGlwaHBhcmVudE9mAAAB4mp1bWIAAABBanVtZGNib3IAEQAQgAAAqgA4m3ETYzJwYS5hY3Rpb25zLnYyAAAAABhjMnNowv67eR+VVadwy5UKOhK8TAAAAZljYm9yomdhY3Rpb25zgqJmYWN0aW9ua2MycGEub3BlbmVkanBhcmFtZXRlcnOha2luZ3JlZGllbnR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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQPjyNVM3Kt8qlPFuNdLjex4WG7sRmfsG7z12ufcLG7D4ErxJK5Fjaqdtgr1Fqd8gCEkVHn2++NNY5DsTTJjToYs=Direct model vs multi-agent, using illustrative scores (not a measurement)6789100%25%50%75%100%direct modelmulti-agentbreak-even 14.3%share of traffic that is tool-heavymean judge score (0-10)What it costsTokens per task: 355 vs 15,343 (illustrative): 43 times.At an ASSUMED $1 per million tokens: +$0.015 per task.Value of one score point needed to justify it5% tool-heavynever (agent scores lower)10% tool-heavynever (agent scores lower)20% tool-heavy$0.094 per point per task30% tool-heavy$0.034 per point per task50% tool-heavy$0.015 per point per task70% tool-heavy$0.010 per point per task90% tool-heavy$0.007 per point per taskScores come from an LLM judge, so a point is not a probability.I did not reproduce the experiment; the price is my assumption.A trade-off becomes a number you can defend:'Worth it above 14% tool-heavy traffic,if a point is worth more than the extra cost.'
Break-even on traffic mix, using illustrative scores.
  1. List the criteria that matter to the user and the business, with a unit each.
  2. Apply hard requirements and drop what fails.
  3. Drop dominated options.
  4. Compare what is left with a break-even or a weighted score using a scale fixed in advance.
  5. Test the sensitivity: weights, scores, critical weights, margin.
  6. State the evidence and its source, and label assumptions.
  7. Write the decision and the reversal trigger.

Results

Share of tool-heavy traffic Direct score Multi-agent score Gain Value per point needed (assumed $1 per million tokens)
5% 9.55 9.30 -0.26 never
10% 9.41 9.29 -0.12 never
20% 9.12 9.28 0.16 $0.094
30% 8.83 9.27 0.44 $0.034
50% 8.25 9.25 1.00 $0.015
70% 7.67 9.23 1.56 $0.010
90% 7.09 9.21 2.12 $0.007
Design variant (module 3 sim., assumed quality) p95 (s) Cost Quality Weighted score Passes p95 <= 8 s and q >= 0.72
As designed 10.4 $0.0125 0.78 0.347 no (p95)
Cap loop at 2 9.1 $0.0115 0.77 0.414 no (p95)
Small planner 7.7 $0.0063 0.75 0.515 yes
Small planner + cap 7.0 $0.0061 0.73 0.520 yes
No router (big model only) 11.3 $0.0156 0.84 0.377 no (p95)
Weight confidence (concentration) Small planner wins Small planner + cap wins
5 45% 55%
20 40% 60%
50 35% 65%
200 23% 77%
Sensitivity of the choice Result
With 10% noise on the raw values (confidence 20) 45% / 55%
p95 weight below 0.37 flips to the cap variant
Quality weight above 0.43 flips to the plain small planner
Cost weight never flips it
Winner's quality: assumed vs break-even 0.73 vs 0.728
All five options, weights uncertain (confidence 20) winner 60%, small planner 30%, big model only 10%, the other two 0%
Normalisation pitfall (weights 0.6 / 0.4) Winner
Min-max, options A and B A
Min-max, adding dominated option D B
Fixed targets, with or without D B
Decision record Flags
Weak ("use multi-agent... obviously the best") 7 (six missing sections, absolute wording)
Partial 4 (no evidence,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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQOWxzO6r8WyoIz74BQfslDDdxAhVA688vDg/2npMpCPtm6U8R2kmcfrNGO8tqoeE3Veigy3ciJe25vngVcg3ZxU=Design variants from module 3 (simulated latency and cost, ASSUMED quality)Weighted score (weights p95 0.4, cost 0.2, quality 0.4)as designed0.347 fails p95 <= 8 scap loop at 20.414 fails p95 <= 8 ssmall planner0.515small planner + cap0.520no router (big only)0.377 fails p95 <= 8 sHard requirements (p95 <= 8 s, quality >= 0.72) remove three options before weighing; two near-ties remain.How often each kept option wins when the weights are uncertainweight confidence 5planner 45%planner + cap 55%weight confidence 20planner 40%planner + cap 60%weight confidence 50planner 35%planner + cap 65%weight confidence 200planner 23%planner + cap 77%What would change my mind: the winner's assumed quality is 0.73; it loses at 0.728. The margin is 0.002.A margin that thin means the matrix cannot decide: measure the quality instead of arguing about weights.Pitfall: with min-max scaling, adding a dominated option D flipped the winner from A to B (weights 0.6 / 0.4).Scaling against fixed targets did not flip it. Choose the scale before you see the results.
Weighted scores, win probabilities under uncertain weights, and the margin.
  1. The multi-agent system is not "better" or "worse"; it wins above a traffic mix and loses below it.
  2. Constraints did most of the work: weighting only separated two near-equals.
  3. A tie in the matrix is information: it says the decision is driven by something you have not measured.
  4. Uncertainty in the weights changes the confidence, not the answer, but only because both survivors were close.
  5. Scaling is a modelling choice that can change winners; fix it in advance.

Design rules

  • State the criteria and the hard requirements before scoring.
  • Remove failing and dominated options first.
  • Use a break-even when the choice depends on one quantity such as traffic mix.
  • Fix the scale in advance; do not rescale by the options present.
  • Report the margin and the critical weight, not only the winner.
  • Label every number: measured, quoted from a source, simulated or assumed.
  • Write the reversal trigger as a measurable condition.
  • Revisit decisions when the evidence or the models change.
  • Prefer the simpler option unless a measured benefit justifies the complexity.

Interview questions, with the follow-ups

Why did you choose a single agent over a multi-agent design?

"On the evidence I know of, a multi-agent team scored lower on simple reasoning (9.3 against 9.7) and used 43 times the tokens, but higher on tool-heavy tasks (9.2 against 6.8). So it depends on traffic mix: it wins above about 14 percent tool-heavy. For my workload I measured X percent, so I chose Y, and I would switch if that share passes Z." Follow-up: "How reliable is that comparison?" One author, one model, ten tasks, an LLM judge: a prompt for my own measurement, not a law.

How do you make a decision when the criteria conflict?

"I apply hard requirements first, drop dominated options, then compare the rest with a break-even or a weighted score on a fixed scale, and check how sensitive the winner is to the weights and the measurements." Follow-up: "What if two options tie?" Then the weights are not the issue; I measure the quantity I assumed.

How do you present a trade-off to a non-technical stakeholder?

"As a price: 'the faster design costs about two points of quality on hard cases; it is worth it if speed matters more than that.' I show one chart with the break-even and say which numbers are measured." Follow-up: "What if they disagree with your weights?" Show the critical weight; if their weights are inside the range where the decision holds, it does not matter.

What would make you reverse a decision?

"A measurable trigger written in the decision record: for example, if measured planner quality is more than 0.04 below the large model, or if p95 stays above 8 seconds after the change." Follow-up: "How often do you revisit?" When a model, price, traffic mix or requirement changes, and on a schedule.

Common mistakes

  • "It depends" with no number behind it.
  • Weighting before filtering by hard requirements.
  • Hiding the argument in the weights and presenting the score as objective.
  • Rescaling by the options present and getting rank reversals.
  • Presenting an assumed number as measured.
  • No reversal trigger, so the decision can never be wrong.
  • Counting only the benefits of your choice.
  • Choosing the complex option without a measured benefit.

What the example does not do

  • No stakeholders: one weight vector, no negotiation.
  • Few criteria: three in case B; real decisions include risk, team skill and maintenance.
  • Additive scoring: it assumes criteria trade off linearly, which fails for hard limits (that is why they are filtered first).
  • Assumed inputs: quality values and prices are mine; the case A numbers are illustrative and not from any measurement I made.
  • No uncertainty on latency and cost beyond the optional score noise.
  • Optional experiment (I did not run this): measure your own tool-heavy share of traffic from a month of logs and place yourself on the break-even chart.

Check yourself

What are the four slots of a decision sentence? (I chose X over Y because [the criterion that mattered most]; it costs [Z]; the evidence is [number, with its source]; I would switch if [trigger]. If you cannot fill all four, you have an opinion, not a decision.)

For the curious A weighted matrix hides the argument in the weights

The winner of my two surviving options won 55 to 77 percent of the time as I became surer of my weights, because the two scored 0.520 against 0.515. The decision flipped when the p95 weight fell below 0.37; asking how wrong the weights would have to be beats asking for the right weights. With min-max scaling, adding a dominated option flipped the winner; scaling against fixed targets did not. Case A uses illustrative numbers and case B uses simulated latency and assumed quality.

What you will use daily at work

Practice What it looks like
Check constraints before weights Remove options that miss a hard requirement.
Find the critical weight How wrong would the weights have to be?
Measure when the margin is thin Quality 0.73 lost at 0.728 in my example.
Write a decision record with a revisit trigger A measurable reason to reverse.

Draft: confirm the decision-record format your team uses (ADR template, design doc) and adapt the sentence to it.

What you must be able to say (one page)

  • Use one sentence shape for every decision: "I chose X over Y because [the criterion that mattered most]; it costs [Z]; the evidence is [number, with its source]; I would switch if [trigger]." If you cannot fill all four slots, you have an opinion, not a decision. The sentence shape is my own.
  • Constraints first, trade-offs second. A trade-off exists only among options that meet your hard requirements. In my example (module 3's design variants) requirements of p95 at most 8 s and quality at least 0.72 removed 3 of 5 options before any weighting.
  • Turn a vague preference into a break-even. Take illustrative numbers (invented for this exercise, resembling a small comparison I cannot cite or verify): a direct model scores 9.7 against a multi-agent system's 9.3 on simple reasoning, but 6.8 against 9.2 on tool-heavy tasks, at 355 against 15,343 tokens per task (43 times). From those numbers, the multi-agent system has the higher mean score once more than 14.3% of traffic is tool-heavy (0.4 / 2.8), and at an assumed $1 per million tokens the extra tokens cost about $0.015 per task, so at 50% tool-heavy traffic a score point must be worth more than about $0.015 to justify it. The scores and the price are assumptions; the score is a judge's 0 to 10, not a probability.
  • A weighted matrix hides the argument in the weights. Among my two surviving options, the winner won 55%, 60%, 65% and 77% of the time as I became more confident in my weights (concentration 5, 20, 50, 200). Even sure weights left a 23% chance for the other option, because the two scored 0.520 against 0.515.
  • Find the critical weight. The decision flipped when the weight on p95 latency fell below 0.37 or the weight on quality rose above 0.43; cost weight never flipped it. "How wrong would my weights have to be?" is a better question than "what are the right weights?"
  • When the margin is thin, measure. The winner's assumed quality was 0.73 and it would lose at 0.728: a margin of 0.002 on a number I invented. The right next step is to measure quality, not to debate weights.
  • Pick the scale before you see the results. With min-max scaling (rescaling by the options present), adding a dominated option flipped my example's winner from A to B at weights 0.6 / 0.4. Scaling against fixed targets did not. Min-max with only two options also ties at equal weights, so the weights alone decide.
  • Write it down as a decision record. My seven-field template (status, context, decision, alternatives, evidence, consequences, revisit-when) found 7 flags in a weak record, 4 in a partial one and 0 in a complete one. The most useful field is "revisit when": a measurable reversal trigger.
  • General rules that help in a design review. Choose a pattern by asking "what does my task need?", not "which is best?"; control and autonomy move inversely. Trade-offs among performance, scalability, reliability and cost must be revisited as needs change. Adding a judge trades risk against latency; parallel plans trade latency against cost; detailed plans are harder to make and easier to execute. Keep it simple unless there is a compelling reason.
  • Honest limits: the matrix is a thinking aid; two of my inputs are assumed (the quality values and the token price); the case A numbers are illustrative, not measured; real decisions have more than three criteria and more than two stakeholders.