From 6c8bfb2e530633efb2519a6ead55d71723931787 Mon Sep 17 00:00:00 2001 From: mihran113 Date: Thu, 7 Nov 2024 20:16:58 +0400 Subject: [PATCH] [fix] Resolve issues with aggregated metrics computation --- CHANGELOG.md | 3 +++ aim/web/ui/src/utils/aggregateGroupData.ts | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14221d3095..590f572ab4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 3.25.2 +- Fix aggregated metrics' computations (mihran113) + ## 3.25.1 Nov 6, 2024 - Fix corruption marking on empty index db (mihran113) diff --git a/aim/web/ui/src/utils/aggregateGroupData.ts b/aim/web/ui/src/utils/aggregateGroupData.ts index 5efd7211ed..0a0acc69e4 100644 --- a/aim/web/ui/src/utils/aggregateGroupData.ts +++ b/aim/web/ui/src/utils/aggregateGroupData.ts @@ -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]; }