Skip to content

Commit

Permalink
fix: test results aggregates percent change bug (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry authored Nov 12, 2024
1 parent 2f4a696 commit 8bb7f9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphql_api/types/flake_aggregates/flake_aggregates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8bb7f9c

Please sign in to comment.