def METHOD_NAME(case_path):
    """
    Return: model_info{path,exec_file_list}
    Examples:
        pegasus = {
            "path": "applications/text_summarization/pegasus/"
            "deploy_path": "deploy/paddle_inference/"
            "prepare": "run_prepare.py"
            "train_exec_file": "train.py"
            "eval_exec_file": None
            "predict_exec_file": predict.py
            “export_exec_file”: export_model.py
            "infer_exec_file": inference_pegasus.py
            }
    """
    model_info = {
        "path": case_path,
        "deploy_path": None,
        "prepare_exec_file": None,
        "train_exec_file": [],
        "eval_exec_file": None,
        "predict_exec_file": None,
        "export_exec_file": None,
        "infer_exec_file": None,
    }
    for root, dirs, files in os.walk(case_path):
        infer_deploy_path = case_path + "/deploy/paddle_inference"
        python_deploy_path = case_path + "/deploy/python"
        if files and root == case_path:
            for file in files:
                # TODO .sh file incompatible windows
                if file.split(".")[-1] == "py":
                    if re.compile("prepare.py").findall(file):
                        model_info["prepare_exec_file"] = file
                    elif re.compile("train.py").findall(file):
                        model_info["train_exec_file"].append(file)
                    elif re.compile("finetune").findall(file):
                        model_info["train_exec_file"].append(file)
                    elif re.compile("eval.py").findall(file):
                        model_info["eval_exec_file"] = file
                    elif re.compile("predict.py").findall(file):
                        model_info["predict_exec_file"] = file
                    elif re.compile("export_model.py").findall(file):
                        model_info["export_exec_file"] = file
                    elif re.compile("run_").findall(file):
                        model_info["train_exec_file"].append(file)
                    else:
                        continue
        elif files and root == infer_deploy_path:
            for file in files:
                if file.split(".")[-1] == "py":
                    model_info["deploy_path"] = "deploy/paddle_inference"
                    model_info["infer_exec_file"] = file
        elif files and root == python_deploy_path:
            for file in files:
                if file.split(".")[-1] == "py":
                    model_info["deploy_path"] = "deploy/python"
                    model_info["infer_exec_file"] = file
    print("model_info", model_info)
    return model_info