Adjust diff ranking