Understanding "almost": Empirical and computational studies of near misses