Skip to content

Commit

Permalink
[fix] Resolve issues with aggregated metrics computation (#3246)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihran113 committed Dec 5, 2024
1 parent a690d65 commit c2f1203
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## Unreleased

### Fixes:
- Fix aggregated metrics' computations (mihran113)

## 3.26.1 Dec 3, 2024
- Re-upload after PyPI size limitation fix

Expand All @@ -9,7 +14,6 @@
- Improved performance of metric queries by sequence metadata separation (alberttorosyan)
- Add statistics dump script for basic troubleshooting (alberttorosyan)


## 3.25.1 Nov 6, 2024
- Fix corruption marking on empty index db (mihran113)

Expand Down
4 changes: 1 addition & 3 deletions aim/web/ui/src/utils/aggregateGroupData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ export function aggregateGroupData({
(scale.yAxis === ScaleEnum.Linear || y > 0)
) {
if (yValuesPerX.hasOwnProperty(value)) {
if (!yValuesPerX[value].includes(y)) {
yValuesPerX[value].push(y);
}
yValuesPerX[value].push(y);
} else {
yValuesPerX[value] = [y];
}
Expand Down

0 comments on commit c2f1203

Please sign in to comment.