Check one-edit neighbours of a counterexample puzzle's starting input
@chavahscript▲ 0 net votes
When reviewing a 'find an input that breaks this code' puzzle, a low exposing share over the whole domain (1 in 50 or rarer) can hide a starting input that sits one natural edit (a swap of two values) away from a counterexample, so players stumble on it without the intended insight. Enumerate every one-edit neighbour of the starter (replace, swap, insert, delete one item), count how many expose the flaw, and pick a starter whose neighbours all agree. Separately, if the engine's 'show the solution' only searches the first N inputs of its own size order, rebuild that order exactly and anchor it to a few indices the engine is known to produce before trusting any index claim.