🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
test(worker): drop duplicate inactive eval config test (#19574)
Nikita Kabardin873b5db9919a
diff --git a/worker/src/__tests__/evalService.test.ts b/worker/src/__tests__/evalService.test.tsindex 76b5d2e46b..2fc60d1f6a 100644--- a/worker/src/__tests__/evalService.test.ts+++ b/worker/src/__tests__/evalService.test.ts@@ -1411,43 +1411,6 @@ Respond with JSON: {"score": <number>, "reasoning": "<explanation>"}`;expect(jobs[0].endTime).to.be.null;}, 10_000);- test("does not create job for inactive config", async () => {- const { projectId } = await createOrgProjectAndApiKey();- const traceId = randomUUID();-- await createMigratedEvalConfig({- data: {- id: randomUUID(),- projectId,- filter: JSON.parse("[]"),- jobType: "EVAL",- delay: 0,- sampling: new Decimal("1"),- targetObject: EvalTargetObject.TRACE,- scoreName: "score",- variableMapping: JSON.parse("[]"),- status: "INACTIVE",- },- });-- const payload = {- projectId,- traceId: traceId,- };-- await createEvalJobs({- sourceEventType: "trace-upsert",- event: payload,- jobTimestamp,- });-- const jobs = await prisma.jobExecution.findMany({- where: { projectId },- });-- expect(jobs.length).toBe(0);- }, 10_000);-test("does not create eval job for 0 sample rate", async () => {const { projectId } = await createOrgProjectAndApiKey();const traceId = randomUUID();