def METHOD_NAME(args: dict, model_name: str) -> dict:
    standard_arguments = [
        "overwrite",
        "personal",
        "verbose",
        "input_test_set_file",
        "n_jobs",
    ]
    model_parameters = [key for key in args.keys() if key not in standard_arguments]
    submodel_folder_name = ""
    for parameter in model_parameters:
        submodel_folder_name += f"{parameter}={args[parameter]}-"
    submodel_folder_name = submodel_folder_name[:-1]
    output_path = (
        args["personal"] * "personal/"
        + f"radar_cal/{args['input_test_set_file'].replace('_test.jsonl','').replace('_val.jsonl','')}/models/{model_name}/{submodel_folder_name}"
    )
    output_log_filepath = pathlib.Path(output_path + "/predict_log.jsonl")
    output_predict_filepath = pathlib.Path(output_path + "/predict.npy")
    log_entry = initialize_log_entry(args)
    log_entry["input_files"] = {"test_set_file": "", "model_file": ""}
    log_entry["output_files"] = {
        "predict": str(output_predict_filepath),
        "log": str(output_log_filepath),
    }
    input_model_filepath = pathlib.Path(f"{output_path}/model.joblib")
    test_set_filepath = pathlib.Path(
        args["personal"] * "personal/"
        + "data/processed/radar_cal/"
        + args["input_test_set_file"]
    )
    log_entry["input_files"]["test_set_file"] = str(test_set_filepath)
    log_entry["input_files"]["model_file"] = str(input_model_filepath)
    if not test_set_filepath.is_file():
        error_message = "Error: Specified test set file does not exist. Terminating..."
        log_entry = print_and_log(error_message, log_entry, print_error)
        save_log(log_entry, output_log_filepath)
        exit()
    if not input_model_filepath.is_file():
        error_message = (
            "Error: Specified input model file does not exist. Terminating..."
        )
        log_entry = print_and_log(error_message, log_entry, print_error)
        save_log(log_entry, output_log_filepath)
        exit()
    if output_predict_filepath.is_file():
        if args["overwrite"]:
            warning_message = f"Warning: overwriting existing prediction file {output_predict_filepath}"
            log_entry = print_and_log(
                warning_message, log_entry, print_warning, args["verbose"]
            )
            output_predict_filepath.unlink()
        else:
            error_message = f"Error: prediction file {output_predict_filepath} already exists. Pass -o to overwrite. Terminating..."
            log_entry = print_and_log(error_message, log_entry, print_error)
            save_log(log_entry, output_log_filepath)
            exit()
    return {
        "output_log_filepath": output_log_filepath,
        "output_predict_filepath": output_predict_filepath,
        "test_set_filepath": test_set_filepath,
        "input_model_filepath": input_model_filepath,
        "log_entry": log_entry,
    }