def METHOD_NAME(
    benchmark, template_config, monkeypatch, function, keyword
):
    key = {
        "summary": "PSUM1",
        "gen_data": "POLY_RES_1@0",
        "summary_with_obs": "PSUM0",
        "gen_data_with_obs": "POLY_RES_0@0",
    }[keyword]
    with template_config["folder"].as_cwd():
        config = ErtConfig.from_file("poly.ert")
        ert = EnKFMain(config)
        enkf_facade = LibresFacade(ert)
        storage = open_storage(enkf_facade.enspath)
        experiment_json = experiments.get_experiments(res=enkf_facade, db=storage)
        ensemble_json_default = None
        ensemble_id_default = None
        for ensemble_id in experiment_json[0].ensemble_ids:
            ensemble_json = ensembles.get_ensemble(
                res=enkf_facade, db=storage, ensemble_id=ensemble_id
            )
            if ensemble_json.userdata["name"] == "default":
                ensemble_json_default = ensemble_json
                ensemble_id_default = ensemble_id
        assert key in ensemble_json_default.response_names
        benchmark(
            function, enkf_facade, storage, ensemble_id_default, key, template_config
        )