Validation and diff markup for failure techniques