def METHOD_NAME(self):
    """Test report_result API."""
    metric = 1.0e-03
    epoch = 3
    stop = self.instance.report_result(metric=metric, epoch=epoch)
    assert isinstance(stop, bool)
    # assert that reporting another metric for this epoch raises an error
    with self.assertRaises(ValueError):
        self.instance.report_result(metric=..., epoch=epoch)