diff --git a/graphql_api/types/flake_aggregates/flake_aggregates.py b/graphql_api/types/flake_aggregates/flake_aggregates.py index b3feeb38a9..196c352c04 100644 --- a/graphql_api/types/flake_aggregates/flake_aggregates.py +++ b/graphql_api/types/flake_aggregates/flake_aggregates.py @@ -44,7 +44,7 @@ def flake_aggregates_with_percentage( merged_results = merged_results.with_columns( pl.all().pct_change().name.suffix("_percent_change") ) - aggregates = merged_results.row(0, named=True) + aggregates = merged_results.row(1, named=True) return FlakeAggregates(**aggregates) diff --git a/graphql_api/types/test_results_aggregates/test_results_aggregates.py b/graphql_api/types/test_results_aggregates/test_results_aggregates.py index cfaf6add72..72da5ff7c5 100644 --- a/graphql_api/types/test_results_aggregates/test_results_aggregates.py +++ b/graphql_api/types/test_results_aggregates/test_results_aggregates.py @@ -73,7 +73,7 @@ def test_results_aggregates_with_percentage( merged_results = merged_results.with_columns( pl.all().pct_change().name.suffix("_percent_change") ) - aggregates = merged_results.row(0, named=True) + aggregates = merged_results.row(1, named=True) return TestResultsAggregates(**aggregates)