← All How-To films

How-To film · 47

The input has a contract

Attempt an invalid write, keep the last valid state with an authored explanation, then correct the input and settle the model.

44 secCaptions + transcriptGrid 0.61.0

Accessible playback

Follow every narrated step.

English captions (WebVTT)
Read transcript
  1. An input can carry the rule that protects the model.
  2. This discount starts at five percent, within its zero-to-thirty-percent contract.
  3. Try forty percent.
  4. Grid rejects the write and shows its authored explanation.
  5. The field returns to five percent, so Net Amount stays at one hundred fourteen.
  6. Now enter twenty percent.
  7. The contract accepts it, and the dependent Net Amount settles at ninety-six dollars.
  8. The input has a contract.

Make the same move

Go from watching to building.

The film shows one cause-and-effect path. These guides, models, and references let you inspect the whole thing.