The Stockfish chess engine requires patches to pass a test: it must beat the old version a sufficient proportion of the time.
This introduces an interesting problem: what if a patch set makes it stronger, but applied individually they make it worse?