flex_accuracy_diff function

flex_accuracy_diff function