modify resultdiff.py