Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(tables): serialization issue in score column visibility (#3793)

marliessophiece6a96f3d1d8
diff --git a/web/src/features/scores/lib/aggregateScores.ts b/web/src/features/scores/lib/aggregateScores.ts
index b83d85a70e..03c6ed5a59 100644
--- a/web/src/features/scores/lib/aggregateScores.ts
+++ b/web/src/features/scores/lib/aggregateScores.ts
@@ -18,7 +18,7 @@ export const composeAggregateScoreKey = ({
dataType: ScoreDataType;
keyPrefix?: string;
}): string => {
- const formattedName = name.replaceAll(/-/g, "_"); // "-" reserved for splitting in namespace
+ const formattedName = name.replaceAll(/[-\.]/g, "_"); // "-" and "." reserved for splitting in namespace
return `${formattedName}-${source}-${dataType}`;
};