Course contents · Chapter 4
Building with AIChapter 4 of 42 min reading + practice

Make a limited decision from limited evidence

Passing a test pack supports a claim about those tested conditions, not universal reliability.

Passing a test pack supports a claim about those tested conditions, not universal reliability.

Define release scope, monitoring signals and rollback criteria. New tasks, sources or versions may require reevaluation.

The bigger picture

An AI system includes data handling, model behaviour and application decisions. Testing must examine all of them. A correct model response is not enough if the application exposes private information or fails to handle missing input.

  1. Specify behaviour
  2. Create cases
  3. Run checks
  4. Investigate failures
A working model for this course. Use it to locate where a decision or failure occurs.

Concepts to keep close

Regression test
A repeatable check intended to reveal whether a change broke established behaviour.
Evaluation set
Cases selected to assess defined aspects of model or system performance.
Oracle
The rule, reference or judgment used to determine whether a result is acceptable.

Reasoning through the problem

State what was actually evaluated.

Preserve a route for unresolved cases.

Define monitoring and rollback triggers.

Use the idea carefully

Define expected behaviour before collecting outputs. Separate deterministic checks from judgments requiring a rubric. Include boundary, invalid-input and changed-condition cases. Record the system version and relevant settings. Compare against a baseline and inspect failures; a single successful demonstration is not a sufficient test report.

Further reading & course resources

Original documentation and teaching references for further investigation.