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

Avoid hiding failure inside one score

Factual correctness, source support and task usability are different dimensions.

Factual correctness, source support and task usability are different dimensions.

Use a rubric with examples and record serious failures separately. An average should not conceal a defect that blocks the intended use.

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

Separate quality dimensions.

Mark release-blocking failures explicitly.

Explain scoring disagreements with examples.

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.