def METHOD_NAME(dbpath: Path) -> str:
    with initialised_database_at(str(dbpath)):
        new_experiment(sample_name="fivehundredtest_sample",
                       name="fivehundredtest_name")
        p1 = Parameter('Voltage', set_cmd=None)
        p2 = Parameter('Current', get_cmd=np.random.randn)
        meas = Measurement()
        meas.register_parameter(p1).register_parameter(p2, setpoints=[p1])
        with meas.run() as datasaver:
            for v in np.linspace(0, 2, 250):
                p1(v)
                datasaver.add_result((p1, cast(float, p1())),
                                     (p2, cast(float, p2())))
        guid = datasaver.dataset.guid
        datasaver.flush_data_to_database(block=True)
    return guid