# Covering arrays, the short version

**The question:** how few tests can check every combination of a machine's switches, and can a finished test table take one more switch? **The answer in brief:** I found a 13 by 13 locating array. I built 29 strength-four covering arrays, each with fewer rows than the upper bound in one pinned snapshot (fixed to one exact version) of Charles Colbourn's tables at its width. And deciding whether a table has room for one more column is NP-complete (among the hardest problems whose answers can be checked quickly; no quick method is known for them) from strength 3 up.

## Tests as tables

**In plain words.** Suppose a machine has 200 switches, each on or off, and you want to test it. Trying every setting is impossible, so you aim for less: whichever four switches you pick, every one of their 16 on/off patterns should show up in at least one test. A table of 0s and 1s that does this is called a binary covering array of strength four. Each row is one test, each column is one switch, and the number of rows is the cost.

## The 13 by 13 locating array

**In plain words.** A locating array is a test table in which the failing tests tell you which pair of switch settings is faulty. I found a binary (1-bar,2)-locating array with 13 rows and 13 columns. The tables we found in the literature we checked have 14 rows. Two separately written checkers of ours confirm the table. One paper (Shi, Fu, Wang and Yan, 2021) is unread, so a table that small may already exist there. That 13 rows is the minimum for 13 columns is conjectured: one solver found no 12-row table, and a second solver has re-checked a sample of that search.

## 29 strength-four arrays

**In plain words.** For the widths in this book (200 to 206, 223 and 325 to 345 columns), nobody knows the smallest possible number of rows. The 29 arrays grow from R. E. A. C. Paley's 1933 construction. Each has fewer rows than the upper bound in one pinned snapshot of Colbourn's tables and than the smallest size in Smolen's living table at its width. Two separately written programs of ours tested every choice of four columns, and the living table's own check script, check_submission.py, passes all 29. The arrays are free to share under CC BY 4.0 (a licence that lets anyone share and build on the work with credit).

## Room for one more column

**In plain words.** Once a table is finished, someone asks for one more switch. Can you add it without adding a single test? Garn and Simos posed this in 2017, and Kokkala (2017) and Hiess (2024) gave the criterion that decides it. Deciding it is NP-complete from strength 3 up: written proofs, with Lean (a program that checks every step of a proof) checking the construction. So no quick exact method is expected for every table, though good methods may exist for particular tables.

## Status

Checked within this project.

Experts: the files and checks are here: [check guide](VERIFY.md).
