finish regression.py
regression sync_getsample_safesync