def METHOD_NAME(self, func_name: str) -> str:
    if func_name in ("ppl", "predict"):
        return "_starwhale_internal_run_predict"
    elif func_name in ("cmp", "evaluate"):
        return "_starwhale_internal_run_evaluate"
    else:
        raise RuntimeError(
            f"failed to map func name({func_name}) into PipelineHandler internal func name"
        )