iqm.benchmarks.benchmark_definition.add_counts_to_dataset#
- iqm.benchmarks.benchmark_definition.add_counts_to_dataset(counts: list[dict[str, int]], identifier: str, dataset: Dataset) Dataset#
Adds the counts from a cortex job result to the given dataset.
If counts with the same identifier are already present in the old dataset, then both counts are added together.
- Parameters:
- Returns:
A merged dataset where the new counts are added the input dataset
- Return type: