Open Lab investigation · OL-05
How Fragile Is the Winner?
Investigate how sensitive a weighted design decision is to the weights, and find which options stay good whatever you prioritise.
About 1.5 h · intermediate · 6 steps · Uses Lab 04 · Free
This is a learning investigation, not peer-reviewed research. Unexpected results are welcome: what matters is a clear hypothesis, honest data and careful interpretation.
The question
Research question
In the constraints explorer's illustrative design study, how sensitive is the top-ranked option to changes in the criterion weights, and are some options robust choices across a wide range of priorities?
Why it matters
Engineering teams often choose between designs with a weighted decision matrix: score each option on each criterion, multiply by a weight that reflects how much that criterion matters, and add up. It looks objective. But the weights are judgements, and different people would choose different ones. If a small change in the weights changes the winner, the decision rests more on the weights than on the designs.
A sensitivity study tests this directly. Instead of arguing about the "right" weights, you vary them and see what changes. A design that ranks highly across many reasonable weightings is a safer choice than one that only wins for one exact set of weights.
This is a learning exercise, not peer-reviewed research. Unexpected results are welcome: a prediction that turns out wrong, honestly reported, is a good outcome.
You will learn to
- Explain how a weighted-sum decision matrix works, including normalisation.
- Run a systematic sensitivity study by varying one weight at a time.
- Identify dominated options and robust options.
- Argue for a decision while being honest about how much it depends on judgement.
Limits
- C1Use the constraints explorer and/or the Python copy of its scoring; check they agree first.
- C2Vary one weight at a time across 0–10 while the others stay fixed, for each of the four criteria.
- C3Keep budget, power and accuracy limits switched off or fixed while you study weights, and say which.
- C4All option figures are illustrative teaching numbers, not product data.
Background
The design options
The constraints explorer compares six illustrative perception and compute options, labelled A to F, for a small robot. Their cost, power, compute and accuracy figures were chosen for teaching and are not measured specifications of any product.
How the score is calculated
For each criterion, the explorer normalises values to between 0 and 1 across the six options: the best option on that criterion gets 1 and the worst gets 0. For cost and power, lower is better; for compute and accuracy, higher is better. Each option's score is the weighted average of its normalised values, times 100.
For example, on cost the cheapest option is 12 CU and the most expensive 165 CU. Option B costs 30 CU, so its normalised cost score is 1 − (30 − 12) / (165 − 12) = 1 − 18 / 153 ≈ 0.882.
A Python copy for systematic sweeps
The explorer's sliders are good for exploring. For a systematic study, this Python copy of its scoring lets you loop over many weight settings.
# The lab's six illustrative options: (cost CU, power W, compute index, accuracy %)
options = {"A": (12, 0.3, 1, 35), "B": (30, 0.9, 3, 52), "C": (55, 4, 25, 48),
"D": (80, 5.5, 25, 74), "E": (150, 10, 120, 86), "F": (165, 7.5, 25, 82)}
higher_is_better = (False, False, True, True)
def scores(weights):
cols = list(zip(*options.values()))
out = {}
for name, values in options.items():
s = 0.0
for v, col, w, up in zip(values, cols, weights, higher_is_better):
u = (v - min(col)) / (max(col) - min(col))
s += w * (u if up else 1 - u)
out[name] = 100 * s / sum(weights)
return out
result = scores((1, 1, 1, 1)) # weights for cost, power, compute, accuracy
for name in sorted(result, key=result.get, reverse=True):
print(f"{name}: {result[name]:.1f}")B: 54.3
E: 52.5
A: 50.0
D: 49.6
C: 44.9
F: 34.5With equal weights, check that these match the explorer's scores before you rely on the script.
Dominance
Option X dominates option Y if X is at least as good on every criterion and strictly better on at least one. A dominated option can never be the best choice by any sensible weighting, so it can be ruled out without arguing about weights. The explorer marks the options on the Pareto front, the ones nothing dominates.
Normalisation is a choice too
Because scores are scaled by the best and worst options, adding or removing an option can change every other option's score. Keep this in mind when you interpret your results.
Lab 04 · Engineering constraints
Explorer 04 — Engineering constraints
No design wins on everything
- Meets limits
- ✕ Violates a limit
- Pareto frontier
- Outside a limit
Limits
Priorities (weights 0–10)
More controls
Illustrative figures for teaching, not measured specifications
BMicrocontroller + low-res cameraRank 1
Microcontroller reading a small low-resolution camera for colour blobs.
- Cost
- 30 CU
- Power
- 0.9 W
- Compute
- 3×
- Est. accuracy
- 52 %
✓ Meets all limits · On the frontier
Score58DSBC + cameraRank 2
Single-board computer running classical vision on a standard camera.
- Cost
- 80 CU
- Power
- 5.5 W
- Compute
- 25×
- Est. accuracy
- 74 %
✓ Meets all limits · On the frontier
Score57AMicrocontroller onlyRank 3
Microcontroller with distance and contact sensors; no camera.
- Cost
- 12 CU
- Power
- 0.3 W
- Compute
- 1×
- Est. accuracy
- 35 %
✓ Meets all limits · On the frontier
Score50CSingle-board computerRank 4
General-purpose single-board computer with the same simple sensors, no camera.
- Cost
- 55 CU
- Power
- 4.0 W
- Compute
- 25×
- Est. accuracy
- 48 %
✓ Meets all limits · Dominated by B (no worse on cost or accuracy, better on one)
Score46ESBC + camera + acceleratorExcluded
Adds a neural-network accelerator for learned object detection.
- Cost
- 150 CU
- Power
- 10.0 W
- Compute
- 120×
- Est. accuracy
- 86 %
✕ over budget by 50 CU; over power limit by 2 W · On the frontier
Score53FSBC + depth cameraExcluded
Single-board computer with a depth camera; better 3-D estimates, costly sensor.
- Cost
- 165 CU
- Power
- 7.5 W
- Compute
- 25×
- Est. accuracy
- 82 %
✕ over budget by 65 CU · Dominated by E (no worse on cost or accuracy, better on one)
Score42
State
4 of 6 options meet the limits (budget 100 CU, power 8.0 W). Highest weighted score: B, Microcontroller + low-res camera, 58 of 100, on the Pareto frontier. Frontier on cost versus accuracy: A, B, D, E.
4 of 6 options meet the limits (budget 100 CU, power 8.0 W). Highest weighted score: B, Microcontroller + low-res camera, 58 of 100, on the Pareto frontier. Frontier on cost versus accuracy: A, B, D, E.
How to read this
Each circle is a design option, placed by cost (left is better) and estimated accuracy (up is better); its area shows power. Filled circles meet every limit you set; dashed, hollow circles marked ✕ break at least one, and the hatched area shows where a limit rules options out.
The stepped line is the Pareto frontier: options for which nothing else is both cheaper (or lower-power) and more accurate. An option off the frontier is dominated, meaning another option beats it on both axes, whatever your priorities. The weighted score below is a different question: it depends entirely on the weights you chose, so two people can reasonably rank the frontier differently.
Assumptions & limitations
- All figures are illustrative teaching values chosen to make trade-offs visible. They are not measured specifications, prices or benchmarks of any product.
- Options are generic archetypes; real stacks vary widely in what each part costs, draws and achieves.
- Scores use a weighted sum of min–max normalised criteria. Normalisation is relative to these six options, so adding or removing one changes every score.
- A weighted sum hides trade-offs: a high score can come from one extreme strength. That is why the Pareto view is shown alongside it.
- The frontier is computed on the two plotted criteria only; an option dominated here may still be the best on a criterion not plotted (for example F has lower power than E).
- Accuracy is treated as a single fixed number. In practice it depends on lighting, the objects, the algorithm and integration effort, and is uncertain until tested.
How to approach it
- 01
Understand the scoring
Check Option B's normalised cost score from the background by hand. Then work out its normalised accuracy score. Open the constraints explorer and find which options are dominated.
- 02
Write your hypothesis
Before sweeping the weights, predict which option will win most often across your sweeps, and which weight the ranking will be most sensitive to. Give reasons based on the option figures.
- 03
Plan and pilot
Run the Python copy with equal weights and confirm it matches the explorer. Decide your sweep: for example, for each criterion, set its weight to 0, 2, 4, 6, 8 and 10 while the others stay at 5. Decide in advance how you will define a "robust" option.
- 04
Collect data
Run every sweep and record the winner and the full ranking for each setting. A loop that prints one line per setting makes this quick. Keep the raw output.
- 05
Interpret
Which options ever win? Which never do, and are those the dominated ones? Find the weight values where the winner switches. Which option would you recommend, and how much does that recommendation depend on the weights?
- 06
Limitations
Remove one option from the Python dictionary and re-run your equal-weight case. What happens to the other scores? Explain what this means for decisions made with normalised scores.
Your work
Everything above is free to read and use. To save drafts, submit versions and get feedback, sign in.
You can also work on paper: the prompts below are what a submission asks for.
- Hypothesis (written before you collect any data)
- Method
- Data and observations
- Interpretation
- Limitations
How it's judged
There is more than one good answer. This rubric describes what strong work looks like.
Question and hypothesis
- Beginning
- No clear hypothesis, or it was clearly written after seeing the data.
- Developing
- A hypothesis is stated before data but is vague, so almost any result would fit it.
- Proficient
- A specific, falsifiable hypothesis with a reason behind it, written before data collection.
- Exemplary
- As Proficient, plus a stated prediction of how big the effect should be and what result would count against it.
Method and control of variables
- Beginning
- The method is missing or too vague to repeat.
- Developing
- The changed variable is clear, but other variables drift between runs or repeats are missing.
- Proficient
- One variable is changed at a time, others are held fixed and listed, with repeats and a decision rule set in advance.
- Exemplary
- As Proficient, plus a pilot run that led to a documented change of method, and a check that the measurement itself is reliable.
Data quality and honesty
- Beginning
- Data are missing, unitless or only summarised, with no raw values.
- Developing
- Raw data are present but inconvenient runs are silently dropped or units are inconsistent.
- Proficient
- All runs are reported with units, including failed or surprising ones, with a note on each exclusion.
- Exemplary
- As Proficient, plus variability between repeats is quantified (for example a range or standard deviation) and used in the interpretation.
Interpretation and limitations
- Beginning
- Claims go beyond the data or ignore the hypothesis.
- Developing
- The result is described but not connected to the hypothesis, or limitations are generic.
- Proficient
- The conclusion follows from specific numbers, and the most important limitation is named with its likely effect.
- Exemplary
- As Proficient, plus alternative explanations are considered and the student says exactly what further test would distinguish them.
Reflect
- How would you explain to a team that their decision matrix's answer depends on the weights they chose?
- Did any option surprise you by how robust or fragile it was?
- When is a weighted score the wrong tool for a decision?
Go further
Instead of one weight at a time, generate a few hundred random weight sets with random.seed fixed and count how often each option wins. Compare this with your one-at-a-time sweep and explain any differences.