def METHOD_NAME(
    X: CovariateType,
    y: NDArrayFloat,
    **_: Any,
) -> CoefficientInfo[CovariateType]:
    """Make a coefficient info object from a covariate."""
    raise ValueError(f"Invalid type of covariate = {type(X)}.")