def METHOD_NAME(predictor, accuracy):
    agg_metrics, item_metrics = backtest_metrics(
        test_dataset=constant_test_ds,
        predictor=predictor,
        evaluator=Evaluator(),
    )
    assert agg_metrics["ND"] <= accuracy