Mathematics I / Reproducibility and Good Practice
Practice question · Fill in the blanks

Complete the purpose of a test suite.

Running the tests after every change catches ______ immediately.

Word bank: round-off error · regressions · ill-conditioning · syntax highlighting

Hints
  1. The word names a bug newly introduced into code that used to work.
  2. Two of the options are numerical phenomena that no test can abolish.
Show the answer

Running the tests after every change catches regressions immediately.

Why

A regression is a bug introduced by a change, and catching it the moment it appears is what makes the suite worth running. Round-off and conditioning are properties of the mathematics, not defects a test can remove.

Read the lesson: Reproducibility and Good Practice →

Practise Reproducibility and Good Practice

The app has 5 more questions on this lesson, and keeps your place in the course. Mathematics I is free to start.

More questions on Reproducibility and Good Practice