Skip to content
Tactiverge

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.5

With 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.

How to approach it

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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?

  6. 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.

  1. Hypothesis (written before you collect any data)
  2. Method
  3. Data and observations
  4. Interpretation
  5. 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.