Skip to content
Tactiverge

School/○ Innovator/Week 34

Measure what you actually want

A lift controller cuts average trip time by 2 seconds. Passengers hate it. Which number did the engineers forget to measure?

About 35 min · 3 goals · Checked by automated tests

1.Why should I care?

Whatever you measure is what gets optimised. A metric that misses the real goal produces a system that scores well and works badly, so choosing metrics is a design decision, not paperwork.

  • ◇ Choose metrics that match the real goal of a robotic system.
  • ◇ Recognise a misleading proxy metric and what it hides.
  • ◇ Combine a primary metric with constraints that must also hold.

2.Predict

A sorter is judged only on parts per minute. What will tuning for that metric alone tend to do?

Guess first. Being wrong here is how the surprise works.

3.Understand

Start from the goal

Write the real goal in words ('passengers arrive quickly, comfortably and level with the floor'), then pick a metric for each part: trip time, peak jerk or acceleration, levelling error. A single number rarely captures a whole goal.

Proxies and their traps

A proxy is an easy-to-measure stand-in, like 'average speed' for 'trip time'. Proxies drift from the goal when optimised hard: average error can look fine while rare large errors cause crashes. Ask what a system could do to score well while failing the user.

Primary metric plus constraints

A practical pattern: one primary metric to compare methods, plus constraints that every method must satisfy (overshoot ≤ 10 %, accuracy ≥ 98 %, worst case within limits). Report worst cases or high percentiles, not only averages, wherever safety is involved.

Explain it another way

Grading a cake only on height rewards a tall, raw cake. You need taste and 'cooked through' too.

Worked example 1

Pick metrics for a warehouse robot fleet.

Primary: orders completed per hour. Constraints: zero collisions with people; 95th-percentile order time under 10 minutes; energy per order within budget. Report the worst robot as well as the average.

Common mix-ups

  • One overall score is the clearest way to compare robots.
    ✓ A single score hides trade-offs. Use a primary metric with explicit constraints, and show the parts.

4.Discover

Make one controller pass every check with empty, half-full and full cabins. Before you start, list the metrics the Build checks and say which real need each one stands for (safety, comfort, accuracy, time).

Can't use the interactive? Read a description instead

The elevator Build's Level 4 checks one controller with empty, half-full and full cabins against levelling, comfort and safety limits all at once.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

In the hook, which metric was missing?

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

Mean tracking error is low, but a robot occasionally swings 30 cm off its path near shelves. Which metric reveals this?

Practice 3

Which is best written as a constraint rather than the primary metric for a hospital robot?

Practice 4 · a fresh version every time

A joint is commanded to 45°. The log shows it peaks at 57.6° and finally settles at 45°. What is the percentage overshoot?

%

Practice 5 · a fresh version every time

A baseline path follower has a mean tracking error of 50 mm. The new method has 40 mm under the same conditions. What is the percentage improvement (lower error is better)?

%

7.Apply it

For your term project, write the goal in one sentence, then one primary metric and two constraints. For each, describe how a controller could game it if it stood alone.

Open BUILD 002: Engineer an Elevator →

8.Reflect

Concepts: Evaluation metrics