LESSON 14.08 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
Test oracles: property-based, metamorphic and differential tests
See three test oracles judge a buggy bounce simulator without an answer key.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 14.08 · TEST BAYSTART 6 M AT 1.5 M/S · END 3.5 M
01
Stage 1 of 6 · One run
The simulator should move a ball between walls at 0 m and 10 m. No answer key gives the right path.
Explain it simply
You see one run of a small physics simulator, the kind an RL environment steps. A ball starts at 6 metres and moves until it hits a wall and turns back. The question is whether this path is right. For a random start, nobody has the true path written down.
A path from 6 m at 1.5 m/s. It ends at 3.5 m after 8 s.
startsimulator pathmirrored path (dotted)referenceoracle rulefailure
Toy: a ball between walls at 0 and 10 m, 16 steps of 0.5 s
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Each step adds speed times 0.5 s; a wall reflects the ball.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 2 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.