import json


def load_results(output_dir):
    """Load the results file"""
    results_file = output_dir / "search_results.json"
    if results_file.exists():
        with open(results_file, encoding="utf8") as f:
            return json.load(f)
    else:
        return {}