def METHOD_NAME(
    compiled_model: ov.CompiledModel,
    val_func: Callable[[ov.CompiledModel, Iterable[Any]], float],
    dataset: Dataset,
    subset_indices: List[int],
) -> List[Dict[str, Any]]:
    per_sample_metrics = []
    for inputs in dataset.get_data(subset_indices):
        value, _ = val_func(compiled_model, [inputs])
        per_sample_metrics.append(
            {"sample_id": len(per_sample_metrics), "metric_name": "original_metric", "result": value}
        )
    return per_sample_metrics