The reporting of the resistor being shorted or open was swapped. Fix that so it's immediately known what's the issue.