modify dir name in analyze_duration.py and analyze_ratio.py