← Glossary
Glossary · AI and agent workflows
Edge case
An input at the boundary of what a program should handle, where the intended behavior is easy to leave undecided.
Edge cases are the inputs a specification is most likely to forget: a price with a thousands separator, a blank installation price, an installation column that says something other than yes or no, a quote for a different length. Each needs its own expected output, including whether the program stops, reports the row and continues, or signals that its result is partial. A program's behavior on edge cases is where defaults chosen by the author, or by an agent, show up.