Skip to content

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

fix(evals): clarify evaluation rule reuse (#18162)

Tobias Wochingerebfac15d0b17
diff --git a/web/src/components/design-system/Tooltip/Tooltip.stories.tsx b/web/src/components/design-system/Tooltip/Tooltip.stories.tsx
index 2c879c1055..04162ee3a1 100644
--- a/web/src/components/design-system/Tooltip/Tooltip.stories.tsx
+++ b/web/src/components/design-system/Tooltip/Tooltip.stories.tsx
@@ -54,13 +54,16 @@ export const TestHoverAndFocus = meta.story({
await userEvent.unhover(trigger);
const viewport = canvasElement.ownerDocument.documentElement;
- await userEvent.pointer({
- target: canvasElement.ownerDocument.body,
- coords: {
- clientX: viewport.clientWidth - 1,
- clientY: viewport.clientHeight - 1,
+ await userEvent.pointer([
+ { target: trigger },
+ {
+ target: canvasElement.ownerDocument.body,
+ coords: {
+ clientX: viewport.clientWidth - 1,
+ clientY: viewport.clientHeight - 1,
+ },
},
- });
+ ]);
await waitFor(() =>
expect(body.queryByRole("tooltip")).not.toBeInTheDocument(),
);
diff --git a/web/src/features/evals/v2/components/Evaluators/EvaluatorSavedDialog/EvaluatorSavedDialog.tsx b/web/src/features/evals/v2/components/Evaluators/EvaluatorSavedDialog/EvaluatorSavedDialog.tsx
index 91994f408c..a0c21dadc5 100644
--- a/web/src/features/evals/v2/components/Evaluators/EvaluatorSavedDialog/EvaluatorSavedDialog.tsx
+++ b/web/src/features/evals/v2/components/Evaluators/EvaluatorSavedDialog/EvaluatorSavedDialog.tsx
@@ -28,7 +28,8 @@ const modeOptions = [
{
value: "test-filters",
title: "Reuse the configured filters",
- description: "Creates a rule from the sample observation filters.",
+ description:
+ "Reuses a matching rule or creates a new rule from these filters.",
},
{
value: "different-scope",