TactivergeLite

Lite / Intelligent Robotic Systems / 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 · Full interactive version

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.

Predict

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

  1. Improve accuracy too
  2. Run the belt faster until accuracy collapses
  3. Nothing
Guess first, then reveal

Speed up until sorting errors pile up, because errors aren't counted. Add accuracy as a constraint (for example ≥ 98 %) or as a second metric.

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

What the interactive shows (text version)

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.

You can also open the interactive on the full site when you have a faster connection.

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

Intuitive

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

Technical

Metrics should be valid (measure the intended property), reliable (repeatable), and sensitive to the differences that matter. Constrained optimisation formalises 'best primary metric among options that meet the constraints'.

Applied

The elevator Build checks levelling, comfort and safety at several loads at once, so a controller cannot win on one by sacrificing another.

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

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. In the hook, which metric was missing?
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?

%

%

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.

Reflect

Think of a score in school or games that can be gamed. What would a better metric look like?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Take it apart to see what mattersError bars that tell the truth →