AI Slop Code RIsk Monitor

confident-ai/deepeval

The LLM Evaluation Framework

20.7 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for confident-ai/deepeval, a Python project with 18,734 GitHub stars. SynthScan examined 423,101 lines of code across 2535 source files, recording 6046 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 20.7 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

20.7
Adjusted Signal
20.7
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
18.7K
Stars
Python
Language
423.1K
Lines of Code
2.5K
Files
6.0K
Pattern Hits
2026-10-12
Scan Date
0.15
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 36.4/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 3638 finding(s).

Hallucinated Dependency & Supply Chain Risk 13.6/100 · LOW

Are imports declared and package/API names verified? 1118 finding(s).

Agent Over-Engineering Ratio 55.7/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 4491 finding(s).

PR Review Velocity Impact 65.4/100 · HIGH

Which changes need focused human review? 6046 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 386MEDIUM 507LOW 5153

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 6046 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers3074 hits · 3077 pts
SeverityFileLineSnippetContext
LOWc.py155 def _transcribe_what_has_arrived(self) -> None:CODE
LOWtypescript/test/test-integrations/utils.ts54export function assertJsonObjectStructure(CODE
LOWtypescript/src/env-flags.ts42export function shouldSkipOnMissingParams(): boolean {CODE
LOWtypescript/src/metrics/utils.ts201export function checkAtLeastOneMetricHasThreshold(CODE
LOWtypescript/src/metrics/utils.ts401export function warnScoreDirectionFlipped(metricName: string): void {CODE
LOWtypescript/src/metrics/retrieval-context-display.ts26export function contextualRecallVerdictVars(CODE
LOWtypescript/src/metrics/retrieval-context-display.ts44export function contextualRecallReasonContentType(multimodal: boolean): string {CODE
LOWtypescript/src/metrics/retrieval-context-display.ts49export function contextualRelevancyVerdictVars(CODE
LOWtypescript/src/metrics/conversational-utils.ts11export function checkConversationalTestCaseParams(CODE
LOWtypescript/src/metrics/g-eval/utils.ts66export function constructGEvalParamsString(params: SingleTurnParams[]): string {CODE
LOWtypescript/src/metrics/g-eval/utils.ts108export function validateAndSortRubrics(CODE
LOWtypescript/src/metrics/g-eval/utils.ts138export function calculateWeightedSummedScore(CODE
LOWtypescript/src/metrics/g-eval/utils.ts214export function validateCriteriaAndEvaluationSteps(CODE
LOWtypescript/src/metrics/dag/serialization.ts463export function constructDagUploadPayload(CODE
LOWtypescript/src/metrics/faithfulness/faithfulness.ts42function truthsMultimodalInstruction(multimodal: boolean): string {CODE
LOWtypescript/src/metrics/faithfulness/faithfulness.ts46function claimsMultimodalInstruction(multimodal: boolean): string {CODE
LOW…c/metrics/contextual-relevancy/contextual-relevancy.ts36function systemOneRelevancyVerdict(CODE
LOWtypescript/src/metrics/conversational-g-eval/utils.ts18export function constructConversationalGEvalTurnParamsString(CODE
LOWtypescript/src/metrics/conversational-g-eval/utils.ts61export function constructNonTurnsTestCaseString(CODE
LOWtypescript/src/test-case/mllm-image.ts186export function extractImageIdsFromString(CODE
LOWtypescript/src/config/settings.ts50function applyTelemetryOptOutAlias(settings: Settings): Settings {CODE
LOWtypescript/src/dataset/utils.ts23export function convertTestCasesToGoldens(testCases: LLMTestCase[]): Golden[] {CODE
LOWtypescript/src/dataset/utils.ts47export function convertGoldensToTestCases(CODE
LOWtypescript/src/dataset/utils.ts75export function convertConvoTestCasesToConvoGoldens(CODE
LOWtypescript/src/dataset/utils.ts100export function convertConvoGoldensToConvoTestCases(CODE
LOWtypescript/src/dataset/utils.ts147function createConversationalTestCase(params: {CODE
LOWtypescript/src/dataset/utils.ts187export function stripLocalExpectationFields(CODE
LOWtypescript/src/dataset/utils.ts236export function serializeRetrievalContext(CODE
LOWtypescript/src/dataset/utils.ts291export function reconstructRetrievalContext(CODE
LOWtypescript/src/cli/commands/auth.ts131async function promptDynamicQuestionnaire(CODE
LOWtypescript/src/integrations/openinference/index.ts136export function createOpenInferenceProcessors(CODE
LOWtypescript/src/integrations/langchain/utils.ts114export function prepareToolCallInputParameters(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts29export function updateTracePropertiesFromSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts138function updateSpanPropertiesFromResponseSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts212function updateSpanPropertiesFromGenerationSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts250function updateSpanPropertiesFromFunctionSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts271function updateSpanPropertiesFromAgentSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts299function updateSpanPropertiesFromMcpListToolsSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts313function updateSpanPropertiesFromHandoffSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts327function updateSpanPropertiesFromCustomSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts338function updateSpanPropertiesFromGuardrailSpanData(CODE
LOWtypescript/src/integrations/openai-agents/extractors.ts456function parseFunctionToolCallParam(toolCall: any): any {CODE
LOWtypescript/src/evaluate/expectations.ts294export function validateExpectationCoverage(CODE
LOWtypescript/src/evaluate/console-report.ts412export function printHyperparametersWarning(CODE
LOWtypescript/src/prompt/utils.ts22export function interpolateMustacheWithSpace(CODE
LOWtypescript/src/prompt/utils.ts44export function interpolateDollarBrackets(CODE
LOWtypescript/src/telemetry/api.ts210export function captureConversationSimulatorRun(CODE
LOWtypescript/src/telemetry/api.ts275export function captureLoginPromptShownOnce(surface: LoginPromptSurface): void {CODE
LOWtypescript/src/openai/utils.ts28export function stringifyMultimodalContent(content: any): string {CODE
LOWtypescript/src/openai/extractor.ts13export function safeExtractInputParameters(CODE
LOWtypescript/src/openai/extractor.ts26export function extractInputParametersFromCompletionAPI(CODE
LOWtypescript/src/openai/extractor.ts63export function extractInputParametersFromResponseAPI(CODE
LOWtypescript/src/openai/extractor.ts99export function safeExtractOutputParameters(CODE
LOWtypescript/src/openai/extractor.ts119export function extractOutputParametersFromCompletionAPI(CODE
LOWtypescript/src/openai/extractor.ts165export function extractOutputParametersFromResponseAPI(CODE
LOWtypescript/src/openai/patch.ts93function patchAsyncOpenAIClientMethod(CODE
LOWtypescript/src/openai/patch.ts184function updateInputAndOutputOfCurrentTrace(CODE
LOW⚡tests/test_agent_loop_detection.py86def test_repeated_tool_calls_detected():CODE
LOW⚡tests/test_agent_loop_detection.py119def test_no_trace_returns_zero():CODE
LOW⚡tests/test_agent_loop_detection.py135def test_reasoning_stagnation_detected():CODE
3014 more matches not shown…
Decorative Section Separators410 hits · 1545 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/test_agent_loop_detection.py81# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py83# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py114# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py116# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py130# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py132# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py164# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py166# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py193# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py195# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py211# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py213# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py253# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py255# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py285# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py287# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py330# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_agent_loop_detection.py332# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py14# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py60# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_metrics/test_dag_serialization.py31# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_metrics/test_dag_serialization.py33# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_metrics/test_dag_serialization.py224# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_metrics/test_dag_serialization.py226# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_metrics/test_dag_serialization.py396# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_metrics/test_dag_serialization.py398# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/test_metrics/test_dag_serialization.py287# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/test_metrics/test_dag_serialization.py289# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py173# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py175# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py282# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py284# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py466# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py469# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py529# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py531# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py1030# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…t_integrations/test_googleadk/test_span_interceptor.py1032# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py363# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py365# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py730# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py733# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py984# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py986# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_sync.py42# =============================================================================COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_sync.py44# =============================================================================COMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_sync.py66# =============================================================================COMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_sync.py68# =============================================================================COMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_sync.py105# =============================================================================COMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_sync.py107# =============================================================================COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_async.py58# =============================================================================COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_async.py60# =============================================================================COMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_async.py83# =============================================================================COMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_async.py85# =============================================================================COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_async.py108# =============================================================================COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_async.py110# =============================================================================COMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_async.py150# =============================================================================COMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_async.py152# =============================================================================COMMENT
350 more matches not shown…
Unused Imports1042 hits · 942 pts
SeverityFileLineSnippetContext
LOWtest_pydantic_agent.py19CODE
LOWtests/test_agent_loop_detection.py6CODE
LOWtests/test_metrics/test_mcp_use_metric.py4CODE
LOWtests/test_metrics/test_exact_match_metric.py4CODE
LOWtests/test_metrics/test_dag_serialization.py4CODE
LOWtests/test_metrics/test_dag_serialization.py21CODE
LOW…sts/test_metrics/test_turn_contextual_recall_metric.py4CODE
LOW…trics/test_conversation_completeness_include_reason.py13CODE
LOW…ts/test_metrics/test_topic_adherence_include_reason.py18CODE
LOWtests/test_metrics/turn_contextual_relevancy_metric.py4CODE
LOW…t_metrics/test_answer_relevancy_metric_empty_output.py18CODE
LOWtests/test_integrations/utils.py1CODE
LOW…t_integrations/test_googleadk/test_span_interceptor.py46CODE
LOW…tegrations/test_googleadk/apps/googleadk_simple_app.py8CODE
LOW…ns/test_googleadk/apps/googleadk_multiple_tools_app.py9CODE
LOW…integrations/test_googleadk/apps/googleadk_tool_app.py8CODE
LOW…integrations/test_googleadk/apps/googleadk_eval_app.py18CODE
LOWtests/test_integrations/test_anthropic/conftest.py6CODE
LOWtests/test_integrations/test_crewai/test_stress.py48CODE
LOW…t_integrations/test_crewai/test_knowledge_retriever.py7CODE
LOW…t_integrations/test_crewai/test_knowledge_retriever.py8CODE
LOW…test_integrations/test_crewai/test_crewai_component.py2CODE
LOW…test_integrations/test_crewai/test_crewai_component.py3CODE
LOW…test_integrations/test_crewai/test_crewai_component.py4CODE
LOW…test_integrations/test_crewai/test_crewai_component.py5CODE
LOWtests/test_integrations/test_crewai/test_crewai.py2CODE
LOWtests/test_integrations/test_crewai/test_crewai.py3CODE
LOWtests/test_integrations/test_crewai/test_crewai.py4CODE
LOWtests/test_integrations/test_crewai/test_crewai.py5CODE
LOWtests/test_integrations/test_crewai/test_crewai.py7CODE
LOWtests/test_integrations/test_crewai/test_crewai.py19CODE
LOWtests/test_integrations/test_crewai/apps/simple_app.py7CODE
LOWtests/test_integrations/test_crewai/apps/simple_app.py9CODE
LOWtests/test_integrations/test_crewai/apps/async_app.py7CODE
LOW…rations/test_langgraph/apps/langgraph_next_span_app.py18CODE
LOWtests/test_integrations/test_strands/conftest.py2CODE
LOW…est_integrations/test_strands/test_span_interceptor.py28CODE
LOW…tegrations/test_openai/test_tool_call_flow_response.py6CODE
LOWtests/test_integrations/test_openai/test_sync_openai.py4CODE
LOW…grations/test_openai/test_tool_call_flow_completion.py6CODE
LOW…sts/test_integrations/test_openai/test_async_openai.py1CODE
LOW…sts/test_integrations/test_openai/test_async_openai.py7CODE
LOWtests/test_integrations/test_openai_agents/test_sync.py9CODE
LOW…grations/test_openai_agents/test_scenerios/test_run.py6CODE
LOW…test_openai_agents/test_scenerios/test_multi_agents.py2CODE
LOW…test_openai_agents/test_scenerios/test_multi_agents.py3CODE
LOW…test_openai_agents/test_scenerios/test_multi_agents.py6CODE
LOW…test_openai_agents/test_scenerios/test_multi_agents.py7CODE
LOW…i_agents/test_scenerios/test_with_trace_and_wrapped.py3CODE
LOW…s/test_openai_agents/test_scenerios/test_with_trace.py5CODE
LOW…ons/test_openai_agents/test_scenerios/test_run_sync.py2CODE
LOW…ons/test_openai_agents/test_scenerios/test_run_sync.py3CODE
LOW…ai_agents/test_scenerios/test_weather_agent_patched.py2CODE
LOW…test_openai_agents/test_scenerios/test_run_streamed.py4CODE
LOW…sts/test_integrations/test_langchain/test_next_span.py18CODE
LOWtests/test_integrations/test_pydanticai/conftest.py2CODE
LOWtests/test_integrations/test_agentcore/conftest.py2CODE
LOW…t_integrations/test_agentcore/test_span_interceptor.py28CODE
LOWtests/test_confident/test_prompt.py8CODE
LOWtests/test_confident/test_prompt.py8CODE
982 more matches not shown…
Empty Error Handlers158 hits · 790 pts
SeverityFileLineSnippetContext
HIGHc.py276except (asyncio.CancelledError, Exception):CODE
HIGHtests/test_integrations/test_langgraph/conftest.py502except ImportError:CODE
HIGHtests/test_integrations/test_langgraph/conftest.py509except ImportError:CODE
HIGHtests/test_integrations/test_langgraph/conftest.py518except ImportError:CODE
HIGHtests/test_integrations/test_langgraph/conftest.py242except Exception:CODE
HIGHtests/test_integrations/test_langgraph/conftest.py268except Exception:CODE
HIGHtests/test_integrations/test_openai_agents/conftest.py17except Exception:CODE
HIGHtests/test_integrations/test_langchain/conftest.py311except ImportError:CODE
HIGHtests/test_integrations/test_langchain/conftest.py199except Exception:CODE
HIGHtests/test_integrations/test_langchain/conftest.py224except Exception:CODE
HIGHtests/test_core/conftest.py7except Exception:CODE
HIGHtests/test_core/conftest.py194except Exception:CODE
HIGH…racing/test_integration/test_current_golden_context.py76except Exception:CODE
HIGH…racing/test_integration/test_current_golden_context.py104except Exception:CODE
HIGH…re/test_evaluation/test_execute/test_error_boundary.py555except asyncio.CancelledError:CODE
HIGH…re/test_evaluation/test_execute/test_error_boundary.py329except StopIteration:CODE
HIGH…re/test_evaluation/test_execute/test_error_boundary.py414except StopIteration:CODE
HIGH…re/test_evaluation/test_execute/test_error_boundary.py499except StopIteration:CODE
HIGH…re/test_evaluation/test_execute/test_error_boundary.py613except StopIteration:CODE
HIGH…re/test_evaluation/test_execute/test_error_boundary.py712except StopIteration:CODE
HIGH…re/test_evaluation/test_execute/test_error_boundary.py770except StopIteration:CODE
HIGH…re/test_evaluation/test_execute/test_error_boundary.py481except Exception:CODE
HIGHtests/test_core/test_voice/test_duplex.py512except (asyncio.CancelledError, Exception):CODE
HIGH.scripts/release.py399except subprocess.CalledProcessError:CODE
HIGH.scripts/release.py385except subprocess.CalledProcessError:CODE
HIGH.scripts/changelog/generate.py890except ValueError:CODE
HIGHdeepeval/__init__.py138except ModuleNotFoundError:CODE
HIGHdeepeval/__init__.py129except (CODE
HIGHdeepeval/utils.py785except KeyError:CODE
HIGHdeepeval/key_handler.py322except FileNotFoundError:CODE
HIGH…l/metrics/agent_loop_detection/agent_loop_detection.py306except Exception:CODE
HIGHdeepeval/metrics/utils/decision.py196except Exception: # SDK optionalCODE
HIGHdeepeval/metrics/utils/decision.py228except Exception: # SDK optionalCODE
HIGHdeepeval/metrics/role_adherence/role_adherence.py239except Exception:CODE
HIGHdeepeval/metrics/role_adherence/role_adherence.py274except Exception:CODE
HIGHdeepeval/tracing/tracing.py334except Exception:CODE
HIGHdeepeval/tracing/tracing.py410except ValueError:CODE
HIGHdeepeval/tracing/patchers.py69except Exception:CODE
HIGHdeepeval/tracing/patchers.py95except Exception:CODE
HIGHdeepeval/tracing/patchers.py183except Exception:CODE
HIGHdeepeval/tracing/patchers.py206except Exception:CODE
HIGHdeepeval/tracing/otel/context_aware_processor.py136except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py360except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py288except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py296except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py813except ValidationError:CODE
HIGHdeepeval/tracing/otel/exporter.py821except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py648except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py654except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py672except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py718except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py725except Exception:CODE
HIGHdeepeval/tracing/otel/exporter.py834except ValidationError:CODE
HIGHdeepeval/tracing/otel/utils.py84except Exception:CODE
HIGHdeepeval/tracing/otel/utils.py345except Exception:CODE
HIGHdeepeval/tracing/otel/utils.py350except Exception:CODE
HIGHdeepeval/tracing/otel/utils.py444except Exception:CODE
HIGHdeepeval/tracing/otel/utils.py459except Exception:CODE
HIGHdeepeval/tracing/otel/utils.py478except Exception:CODE
HIGHdeepeval/tracing/otel/utils.py489except Exception:CODE
98 more matches not shown…
Cross-File Repetition154 hits · 770 pts
SeverityFileLineSnippetContext
HIGH…trics/test_conversation_completeness_include_reason.py0minimal deepevalbasellm that never calls out to a provider.STRING
HIGH…ts/test_metrics/test_topic_adherence_include_reason.py0minimal deepevalbasellm that never calls out to a provider.STRING
HIGH…etrics/test_turn_faithfulness_metric_empty_verdicts.py0minimal deepevalbasellm that never calls out to a provider.STRING
HIGHtests/test_integrations/test_googleadk/test_sync.py0tool-level metric_collection now flows through ``with next_tool_span(metric_collection=...)`` at the call site instead oSTRING
HIGHtests/test_integrations/test_strands/test_sync.py0tool-level metric_collection now flows through ``with next_tool_span(metric_collection=...)`` at the call site instead oSTRING
HIGHtests/test_integrations/test_agentcore/test_sync.py0tool-level metric_collection now flows through ``with next_tool_span(metric_collection=...)`` at the call site instead oSTRING
HIGHtests/test_integrations/test_googleadk/test_async.py0async equivalent of ``testdeepevalfeatures``: span-level kwargs migrate from ``init_evals_agentcore(...)`` to per-call `STRING
HIGHtests/test_integrations/test_strands/test_async.py0async equivalent of ``testdeepevalfeatures``: span-level kwargs migrate from ``init_evals_agentcore(...)`` to per-call `STRING
HIGHtests/test_integrations/test_agentcore/test_async.py0async equivalent of ``testdeepevalfeatures``: span-level kwargs migrate from ``init_evals_agentcore(...)`` to per-call `STRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0falls back to settings when current_trace_context is none.STRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0falls back to settings when current_trace_context is none.STRING
HIGH…_integrations/test_pydanticai/test_span_interceptor.py0falls back to settings when current_trace_context is none.STRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0falls back to settings when current_trace_context is none.STRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0trace attrs are snapshotted fresh at on_end, not on_start. regression guard for the at-on_start asymmetry: if a downstreSTRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0trace attrs are snapshotted fresh at on_end, not on_start. regression guard for the at-on_start asymmetry: if a downstreSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0trace attrs are snapshotted fresh at on_end, not on_start. regression guard for the at-on_start asymmetry: if a downstreSTRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0symmetric to ``testspancontextpushpop`` but at the trace level. the interceptor pushes an implicit ``trace`` placeholderSTRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0symmetric to ``testspancontextpushpop`` but at the trace level. the interceptor pushes an implicit ``trace`` placeholderSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0symmetric to ``testspancontextpushpop`` but at the trace level. the interceptor pushes an implicit ``trace`` placeholderSTRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0when a real deepeval span is on ``current_span_context`` and the otel span is a root (no native parent), the interceptorSTRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0when a real deepeval span is on ``current_span_context`` and the otel span is a root (no native parent), the interceptorSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0when a real deepeval span is on ``current_span_context`` and the otel span is a root (no native parent), the interceptorSTRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0otel children already have a real parent_id pointing into the same otel trace — no need to bridge.STRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0otel children already have a real parent_id pointing into the same otel trace — no need to bridge.STRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0otel children already have a real parent_id pointing into the same otel trace — no need to bridge.STRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0one-shot semantics through the interceptor: a second agent span inside the same ``with`` block does not inherit.STRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0one-shot semantics through the interceptor: a second agent span inside the same ``with`` block does not inherit.STRING
HIGH…_integrations/test_pydanticai/test_span_interceptor.py0one-shot semantics through the interceptor: a second agent span inside the same ``with`` block does not inherit.STRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0one-shot semantics through the interceptor: a second agent span inside the same ``with`` block does not inherit.STRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0typed slot is not consumed by spans of a different type. an llm span fired inside ``with next_agent_span(...)`` should pSTRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0typed slot is not consumed by spans of a different type. an llm span fired inside ``with next_agent_span(...)`` should pSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0typed slot is not consumed by spans of a different type. an llm span fired inside ``with next_agent_span(...)`` should pSTRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0mirrors the ``test_tool_metric_collection`` flow in test_sync.py — ``with next_tool_span(metric_collection=...)`` sets tSTRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0mirrors the ``test_tool_metric_collection`` flow in test_sync.py — ``with next_tool_span(metric_collection=...)`` sets tSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0mirrors the ``test_tool_metric_collection`` flow in test_sync.py — ``with next_tool_span(metric_collection=...)`` sets tSTRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0``with next_llm_span(prompt=...)`` flattens the ``prompt`` into the ``confident.span.prompt_*`` attrs the exporter readsSTRING
HIGH…_integrations/test_pydanticai/test_span_interceptor.py0``with next_llm_span(prompt=...)`` flattens the ``prompt`` into the ``confident.span.prompt_*`` attrs the exporter readsSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0``with next_llm_span(prompt=...)`` flattens the ``prompt`` into the ``confident.span.prompt_*`` attrs the exporter readsSTRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0last-write-wins: ``next_agent_span`` sets the floor at on_start; later ``update_current_span(...)`` (e.g. from inside a STRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0last-write-wins: ``next_agent_span`` sets the floor at on_start; later ``update_current_span(...)`` (e.g. from inside a STRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0last-write-wins: ``next_agent_span`` sets the floor at on_start; later ``update_current_span(...)`` (e.g. from inside a STRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0``with next_agent_span(metrics=[...])`` populates the placeholder; at on_end the interceptor calls ``stash_pending_metriSTRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0``with next_agent_span(metrics=[...])`` populates the placeholder; at on_end the interceptor calls ``stash_pending_metriSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0``with next_agent_span(metrics=[...])`` populates the placeholder; at on_end the interceptor calls ``stash_pending_metriSTRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0in production paths (``is_evaluating=false``) the metrics overlay would leak — gate prevents the stash.STRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0in production paths (``is_evaluating=false``) the metrics overlay would leak — gate prevents the stash.STRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0in production paths (``is_evaluating=false``) the metrics overlay would leak — gate prevents the stash.STRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0span-level kwargs were removed in the otel poc migration. each must raise ``typeerror`` on construction so callers see eSTRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0span-level kwargs were removed in the otel poc migration. each must raise ``typeerror`` on construction so callers see eSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0span-level kwargs were removed in the otel poc migration. each must raise ``typeerror`` on construction so callers see eSTRING
HIGH…t_integrations/test_googleadk/test_span_interceptor.py0constructor must succeed when no api_key is supplied or in env. the otel pipeline still wires up locally — only the outbSTRING
HIGH…est_integrations/test_strands/test_span_interceptor.py0constructor must succeed when no api_key is supplied or in env. the otel pipeline still wires up locally — only the outbSTRING
HIGH…t_integrations/test_agentcore/test_span_interceptor.py0constructor must succeed when no api_key is supplied or in env. the otel pipeline still wires up locally — only the outbSTRING
HIGH…ns/test_googleadk/apps/googleadk_multiple_tools_app.py0trace-level setup for the multiple-tools fixture. per-tool / per-agent metric collections belong on ``with next_*_span(.STRING
HIGH…ations/test_strands/apps/strands_multiple_tools_app.py0trace-level setup for the multiple-tools fixture. per-tool / per-agent metric collections belong on ``with next_*_span(.STRING
HIGH…ns/test_agentcore/apps/agentcore_multiple_tools_app.py0trace-level setup for the multiple-tools fixture. per-tool / per-agent metric collections belong on ``with next_*_span(.STRING
HIGH…integrations/test_googleadk/apps/googleadk_tool_app.py0trace-only setup. tool / agent / llm span-level fields belong at the call site (``with next_*_span(...)`` or ``update_cuSTRING
HIGH…est_integrations/test_strands/apps/strands_tool_app.py0trace-only setup. tool / agent / llm span-level fields belong at the call site (``with next_*_span(...)`` or ``update_cuSTRING
HIGH…integrations/test_agentcore/apps/agentcore_tool_app.py0trace-only setup. tool / agent / llm span-level fields belong at the call site (``with next_*_span(...)`` or ``update_cuSTRING
HIGH…integrations/test_googleadk/apps/googleadk_eval_app.py0agentcore evals fixture — trace-level setup with a strands tool that mutates its own span via ``update_current_span``. aSTRING
94 more matches not shown…
Excessive Try-Catch Wrapping378 hits · 383 pts
SeverityFileLineSnippetContext
LOWc.py182 except Exception:CODE
LOW⚡tests/test_integrations/test_langgraph/conftest.py144 except Exception:CODE
LOWtests/test_integrations/test_langgraph/conftest.py242 except Exception:CODE
LOWtests/test_integrations/test_langgraph/conftest.py268 except Exception:CODE
LOWtests/test_integrations/test_langgraph/conftest.py697 except Exception:CODE
LOW…ns/test_langgraph/apps/langgraph_multiple_tools_app.py69 except Exception as e:CODE
LOW…ns/test_langgraph/apps/langgraph_parallel_tools_app.py80 except Exception:CODE
LOWtests/test_integrations/test_openai_agents/conftest.py17 except Exception:CODE
LOW…est_integrations/test_openai_agents/apps/tool_agent.py35 except Exception:CODE
LOW⚡tests/test_integrations/test_langchain/conftest.py120 except Exception:CODE
LOWtests/test_integrations/test_langchain/conftest.py199 except Exception:CODE
LOWtests/test_integrations/test_langchain/conftest.py224 except Exception:CODE
LOWtests/test_integrations/test_langchain/conftest.py459 except Exception:CODE
LOW…ntegrations/test_langchain/apps/langchain_agent_app.py39 except Exception as e:CODE
LOW…test_langchain/apps/langchain_metric_collection_app.py34 except Exception as e:CODE
LOW…ns/test_langchain/apps/langchain_parallel_tools_app.py63 except Exception:CODE
LOW…ns/test_langchain/apps/langchain_multiple_tools_app.py68 except Exception as e:CODE
LOWtests/test_core/conftest.py7except Exception:CODE
LOWtests/test_core/conftest.py194 except Exception:CODE
LOWtests/test_core/test_sqlite_store.py630 except Exception as e: # pragma: no coverCODE
LOW…racing/test_integration/test_current_golden_context.py76 except Exception:CODE
LOW…racing/test_integration/test_current_golden_context.py104 except Exception:CODE
LOWtests/test_core/test_tracing/apps/sync_app.py39 except Exception as e:CODE
LOWtests/test_core/test_tracing/apps/sync_app.py65 except Exception:CODE
LOWtests/test_core/test_tracing/apps/sync_app.py84 except Exception:CODE
LOWtests/test_core/test_tracing/apps/sync_app.py101 except Exception:CODE
LOWtests/test_core/test_tracing/apps/sync_app.py134 except Exception as e:CODE
LOWtests/test_core/test_tracing/apps/sync_app.py159 except Exception as e:CODE
LOWtests/test_core/test_tracing/apps/sync_app.py222 except Exception as e:CODE
LOWtests/test_core/test_tracing/apps/sync_app.py270 except Exception:STRING
MEDIUM…acing/test_generators/test_generator_context_safety.py187def consume(g):CODE
LOW…acing/test_generators/test_generator_context_safety.py191 except Exception as e:CODE
LOWtests/test_core/test_evaluation/test_local_store.py150 except Exception as e: # pragma: no coverCODE
MEDIUM…re/test_evaluation/test_execute/test_error_boundary.py121def parent_catches():CODE
LOW…re/test_evaluation/test_execute/test_error_boundary.py442 except Exception:CODE
LOW…re/test_evaluation/test_execute/test_error_boundary.py481 except Exception:CODE
LOW…s/test_core/test_synthesizer/test_context_generator.py552 except Exception:CODE
LOW…ent-skills/deepeval-otel/references/span-attributes.md46except Exception as e:CODE
LOW…skills/deepeval-otel/templates/confident_otel_setup.py100 except Exception as exc: # pragma: no cover - example onlyCODE
LOW.scripts/changelog/release_notes.py327 except Exception as exc:STRING
LOW.scripts/changelog/generate.py584 except Exception as e:STRING
LOW.scripts/changelog/generate.py1002 except Exception as e:STRING
LOW.scripts/changelog/generate.py1149 except Exception as e:STRING
LOW.scripts/changelog/generate.py1178 except Exception:STRING
LOW.scripts/changelog/generate.py1458 except Exception as e:CODE
LOWscripts/check_openai_model_capabilities.py89 except Exception as exc:CODE
LOWscripts/check_openai_model_capabilities.py119 except Exception as exc:CODE
MEDIUMdeepeval/utils.py485 print(f"An error occurred: {e}")CODE
MEDIUMdeepeval/utils.py209def get_or_create_event_loop() -> asyncio.AbstractEventLoop:CODE
LOWdeepeval/utils.py484 except Exception as e:CODE
LOWdeepeval/utils.py831 except Exception:CODE
LOWdeepeval/utils.py857 except Exception:CODE
LOWdeepeval/metrics/indicator.py156 except Exception as e:CODE
LOWdeepeval/metrics/indicator.py357 except Exception as e:CODE
LOWdeepeval/metrics/indicator.py430 except Exception as e:CODE
LOW…l/metrics/agent_loop_detection/agent_loop_detection.py306 except Exception:CODE
LOWdeepeval/metrics/utils/generation.py45 except Exception as e:CODE
LOWdeepeval/metrics/utils/system_one.py241 except Exception as e: # noqa: BLE001 - only the overflow is rewrappedCODE
LOWdeepeval/metrics/utils/system_one.py252 except Exception as e: # noqa: BLE001 - only the overflow is rewrappedCODE
LOWdeepeval/metrics/utils/decision.py196 except Exception: # SDK optionalCODE
318 more matches not shown…
Cross-Language Confusion59 hits · 258 pts
SeverityFileLineSnippetContext
HIGHtests/test_metrics/test_json_correctness_metric.py30 actual_output="{'name': null}",CODE
HIGHtests/test_metrics/test_json_correctness_metric.py56 actual_output="{'name': null}",CODE
HIGHtests/test_metrics/test_json_correctness_metric.py150 actual_output="{'name': null}",CODE
HIGH⚡tests/test_confident/test_prompt.py172 prompt.push(text=f"Latest content {UUID}")CODE
HIGH⚡tests/test_confident/test_prompt.py185 prompt.push(text=f"Version 1 {UUID1}")CODE
HIGH⚡tests/test_confident/test_prompt.py189 prompt.push(text=f"Version 2 {UUID2}")CODE
HIGH⚡tests/test_confident/test_prompt.py898 prompt.push(messages=MESSAGES)CODE
HIGH⚡tests/test_confident/test_prompt.py913 prompt.push(messages=MESSAGES1)CODE
HIGH⚡tests/test_confident/test_prompt.py918 prompt.push(messages=MESSAGES2)CODE
HIGHtests/test_confident/test_prompt.py136 prompt.push(text=TEXT)CODE
HIGHtests/test_confident/test_prompt.py153 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py263 prompt_setup.push(text=f"Setup cache content {uuid.uuid4()}")CODE
HIGHtests/test_confident/test_prompt.py314 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py341 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py370 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py409 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py428 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py447 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py466 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py485 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py507 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py537 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py587 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py620 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py632 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py659 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py694 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py736 prompt1.push(CODE
HIGHtests/test_confident/test_prompt.py767 prompt.push(text="Main branch push")CODE
HIGHtests/test_confident/test_prompt.py771 prompt.push(text="Different branch push", branch=self.BRANCH_NAME)CODE
HIGHtests/test_confident/test_prompt.py855 prompt.push(messages=MESSAGES)CODE
HIGHtests/test_confident/test_prompt.py875 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1054 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1084 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1118 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1168 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1221 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1257 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1269 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1299 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1337 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1380 prompt1.push(CODE
HIGHtests/test_confident/test_prompt.py1411 prompt.push(CODE
HIGHtests/test_confident/test_prompt.py1417 prompt.push(CODE
HIGHtests/test_confident/test_dataset.py125 dataset.push(alias=self.PUSH_ALIAS)CODE
HIGHtests/test_confident/test_dataset.py165 dataset.push(alias=self.PUSH_ALIAS)CODE
HIGHtests/test_confident/test_dataset.py183 new_dataset.push(alias=self.PUSH_ALIAS, version=version)CODE
HIGHtests/test_confident/test_dataset.py214 dataset.push(alias=self.PUSH_ALIAS)CODE
HIGHtests/test_core/test_evaluation/test_expectations.py967 dataset.push("alias")CODE
HIGH…ts/test_core/test_voice/test_connectors/test_webrtc.py257 source.push(b"\x01\x00" * 960)CODE
HIGH.scripts/release.py112 publish_commands=["cd typescript && npm publish"],CODE
HIGHdeepeval/prompt/prompt.py856 return self.push(CODE
HIGH…epeval/voice/connectors/providers/livekit/connector.py527 frames = resampler.push(bytearray(pcm))CODE
HIGH…epeval/voice/connectors/providers/livekit/connector.py666 frames = resampler.push(bytearray(pcm))CODE
HIGH…epeval/voice/connectors/providers/livekit/connector.py692 out = resampler.push(bytearray(pcm))CODE
HIGHdeepeval/voice/connectors/transports/webrtc.py611 self._source.push(frame)CODE
HIGHdeepeval/voice/connectors/transports/webrtc.py625 self._source.push(frame)CODE
HIGHdeepeval/simulator/simulation_graph/template.py40 "index": null,CODE
HIGHdeepeval/test_run/hyperparameters.py48 value.push(_verbose=verbose)CODE
Deep Nesting256 hits · 232 pts
SeverityFileLineSnippetContext
LOWtests/test_metrics/system_one_fakes.py93CODE
LOWtests/test_metrics/system_one_fakes.py104CODE
LOWtests/test_integrations/utils.py28CODE
LOWtests/test_integrations/utils.py87CODE
LOWtests/test_integrations/utils.py43CODE
LOWtests/test_integrations/utils.py156CODE
LOWtests/test_integrations/utils.py270CODE
LOWtests/test_integrations/test_langgraph/conftest.py183CODE
LOWtests/test_integrations/test_langgraph/conftest.py214CODE
LOWtests/test_integrations/test_langgraph/conftest.py348CODE
LOW…grations/test_openai/test_tool_call_flow_completion.py66CODE
LOWtests/test_integrations/test_langchain/conftest.py153CODE
LOWtests/test_integrations/test_langchain/conftest.py176CODE
LOW…ntegrations/test_langchain/apps/langchain_agent_app.py66CODE
LOW…ntegrations/test_langchain/apps/langchain_agent_app.py115CODE
LOW…rations/test_langchain/apps/langchain_streaming_app.py56CODE
LOW…rations/test_langchain/apps/langchain_streaming_app.py101CODE
LOW…rations/test_langchain/apps/langchain_streaming_app.py146CODE
LOW…rations/test_langchain/apps/langchain_streaming_app.py191CODE
LOW…ns/test_langchain/apps/langchain_parallel_tools_app.py86CODE
LOW…ns/test_langchain/apps/langchain_parallel_tools_app.py131CODE
LOW…ns/test_langchain/apps/langchain_multiple_tools_app.py86CODE
LOW…ns/test_langchain/apps/langchain_multiple_tools_app.py131CODE
LOW…tions/test_langchain/apps/langchain_conditional_app.py68CODE
LOW…tions/test_langchain/apps/langchain_conditional_app.py113CODE
LOW…tions/test_langchain/apps/langchain_single_tool_app.py35CODE
LOW…tions/test_langchain/apps/langchain_single_tool_app.py84CODE
LOWtests/test_confident/test_dataset.py72CODE
LOWtests/test_core/stubs.py119CODE
LOWtests/test_core/stubs.py125CODE
LOWtests/test_core/test_config/test_settings.py312CODE
LOW…re/test_evaluation/test_execute/test_error_boundary.py436CODE
LOW.scripts/release.py376CODE
LOW.scripts/changelog/release_notes.py111CODE
LOW.scripts/changelog/generate.py866CODE
LOW.scripts/changelog/generate.py895CODE
LOW.scripts/changelog/generate.py961CODE
LOW.scripts/changelog/generate.py1070CODE
LOW.scripts/changelog/generate.py1246CODE
LOW.scripts/changelog/generate.py1297CODE
LOWexamples/mcp_evaluation/mcp_eval_multi_turn.py59CODE
LOWscripts/compile_metric_templates.py73CODE
LOWdeepeval/progress_context.py39CODE
LOWdeepeval/utils.py139CODE
LOWdeepeval/utils.py449CODE
LOWdeepeval/utils.py464CODE
LOWdeepeval/metrics/indicator.py92CODE
LOWdeepeval/metrics/indicator.py174CODE
LOWdeepeval/metrics/indicator.py373CODE
LOWdeepeval/metrics/tool_use/tool_use.py373CODE
LOWdeepeval/metrics/summarization/summarization.py304CODE
LOWdeepeval/metrics/dag/utils.py63CODE
LOWdeepeval/metrics/dag/utils.py104CODE
LOWdeepeval/metrics/dag/nodes.py430CODE
LOWdeepeval/metrics/conversational_dag/nodes.py490CODE
LOWdeepeval/metrics/conversational_dag/nodes.py45CODE
LOWdeepeval/metrics/utils/models.py195CODE
LOWdeepeval/metrics/utils/models.py331CODE
LOWdeepeval/metrics/utils/test_case.py35CODE
LOWdeepeval/metrics/utils/test_case.py121CODE
196 more matches not shown…
Modern Structural Boilerplate187 hits · 192 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_core/stubs.py28 def update_metric_data(self, *args, **kwargs) -> None: ...CODE
LOW⚡tests/test_core/stubs.py29 def update_status(self, *args, **kwargs) -> None: ...CODE
LOW⚡tests/test_core/stubs.py30 def update_run_duration(self, *args, **kwargs) -> None: ...CODE
LOW⚡tests/test_core/test_stubs_contract.py144 def update_metric_data(self, *args, **kwargs) -> None:CODE
LOW⚡tests/test_core/test_stubs_contract.py147 def update_status(self, *args, **kwargs) -> None:CODE
LOW⚡tests/test_core/test_stubs_contract.py150 def update_run_duration(self, *args, **kwargs) -> None:CODE
LOWdeepeval/__init__.py95__all__ = [CODE
LOWdeepeval/key_handler.py14logger = logging.getLogger(__name__)CODE
LOWdeepeval/metrics/indicator.py26logger = logging.getLogger(__name__)CODE
LOWdeepeval/metrics/__init__.py88__all__ = [CODE
LOWdeepeval/metrics/turn_contextual_relevancy/__init__.py6__all__ = ["TurnContextualRelevancyMetric", "TurnContextualRelevancyTemplate"]CODE
LOWdeepeval/metrics/tool_use/__init__.py3__all__ = ["ToolUseMetric", "ToolUseTemplate"]CODE
LOWdeepeval/metrics/conversational_g_eval/__init__.py6__all__ = ["ConversationalGEval", "ConversationalGEvalTemplate"]CODE
LOWdeepeval/metrics/hallucination/__init__.py3__all__ = ["HallucinationMetric", "HallucinationTemplate"]CODE
LOWdeepeval/metrics/step_efficiency/__init__.py3__all__ = ["StepEfficiencyMetric", "StepEfficiencyTemplate"]CODE
LOWdeepeval/metrics/role_violation/__init__.py3__all__ = ["RoleViolationMetric", "RoleViolationTemplate"]CODE
LOWdeepeval/metrics/tool_permission/__init__.py3__all__ = ["ToolPermissionMetric"]CODE
LOWdeepeval/metrics/conversational_jev_eval/__init__.py3__all__ = ["ConversationalJevEval"]CODE
LOWdeepeval/metrics/task_completion/__init__.py3__all__ = ["TaskCompletionMetric", "TaskCompletionTemplate"]CODE
LOWdeepeval/metrics/contextual_precision/__init__.py6__all__ = ["ContextualPrecisionMetric", "ContextualPrecisionTemplate"]CODE
LOWdeepeval/metrics/summarization/__init__.py3__all__ = ["SummarizationMetric", "SummarizationTemplate"]CODE
LOWdeepeval/metrics/misuse/__init__.py3__all__ = ["MisuseMetric", "MisuseTemplate"]CODE
LOWdeepeval/metrics/dag/serialization/__init__.py9__all__ = [CODE
LOWdeepeval/metrics/plan_adherence/__init__.py3__all__ = ["PlanAdherenceMetric", "PlanAdherenceTemplate"]CODE
LOWdeepeval/metrics/knowledge_retention/__init__.py6__all__ = ["KnowledgeRetentionMetric", "KnowledgeRetentionTemplate"]CODE
LOWdeepeval/metrics/pii_leakage/__init__.py3__all__ = ["PIILeakageMetric", "PIILeakageTemplate"]CODE
LOWdeepeval/metrics/transcription_accuracy/__init__.py6__all__ = ["TranscriptionAccuracyMetric", "TranscriptionAccuracyTemplate"]CODE
LOWdeepeval/metrics/jev_eval/__init__.py4__all__ = [CODE
LOWdeepeval/metrics/mcp_use_metric/__init__.py3__all__ = ["MCPUseMetric", "MCPUseTemplate"]CODE
LOWdeepeval/metrics/utils/__init__.py113__all__ = [CODE
LOWdeepeval/metrics/utils/system_one_batch.py275def _settle(request: _Request, result: Any, ignore_errors: bool) -> None:CODE
LOWdeepeval/metrics/mcp/__init__.py6__all__ = ["MCPTaskCompletionMetric", "MCPTaskCompletionTemplate"]CODE
LOWdeepeval/metrics/g_eval/__init__.py4__all__ = ["Rubric", "GEval", "GEvalTemplate"]CODE
LOWdeepeval/metrics/topic_adherence/__init__.py3__all__ = ["TopicAdherenceMetric", "TopicAdherenceTemplate"]CODE
LOWdeepeval/metrics/toxicity/__init__.py3__all__ = ["ToxicityMetric", "ToxicityTemplate"]CODE
LOWdeepeval/metrics/faithfulness/__init__.py3__all__ = ["FaithfulnessMetric", "FaithfulnessTemplate"]CODE
LOWdeepeval/metrics/answer_relevancy/__init__.py3__all__ = ["AnswerRelevancyMetric", "AnswerRelevancyTemplate"]CODE
LOWdeepeval/metrics/turn_faithfulness/__init__.py3__all__ = ["TurnFaithfulnessMetric", "TurnFaithfulnessTemplate"]CODE
LOWdeepeval/metrics/goal_accuracy/__init__.py3__all__ = ["GoalAccuracyMetric", "GoalAccuracyTemplate"]CODE
LOW…l/metrics/multimodal_metrics/image_editing/__init__.py3__all__ = ["ImageEditingMetric", "ImageEditingTemplate"]CODE
LOW…l/metrics/multimodal_metrics/text_to_image/__init__.py3__all__ = ["TextToImageMetric", "TextToImageTemplate"]CODE
LOW…metrics/multimodal_metrics/image_coherence/__init__.py3__all__ = ["ImageCoherenceMetric", "ImageCoherenceTemplate"]CODE
LOW…metrics/multimodal_metrics/image_reference/__init__.py3__all__ = ["ImageReferenceMetric", "ImageReferenceTemplate"]CODE
LOW…trics/multimodal_metrics/image_helpfulness/__init__.py3__all__ = ["ImageHelpfulnessMetric", "ImageHelpfulnessTemplate"]CODE
LOWdeepeval/metrics/turn_contextual_recall/__init__.py6__all__ = ["TurnContextualRecallMetric", "TurnContextualRecallTemplate"]CODE
LOWdeepeval/metrics/contextual_recall/__init__.py3__all__ = ["ContextualRecallMetric", "ContextualRecallTemplate"]CODE
LOWdeepeval/metrics/voice/__init__.py9__all__ = [CODE
LOWdeepeval/metrics/tool_correctness/__init__.py3__all__ = ["ToolCorrectnessMetric", "ToolCorrectnessTemplate"]CODE
LOWdeepeval/metrics/json_correctness/__init__.py3__all__ = ["JsonCorrectnessMetric", "JsonCorrectnessTemplate"]CODE
LOWdeepeval/metrics/argument_correctness/__init__.py6__all__ = ["ArgumentCorrectnessMetric", "ArgumentCorrectnessTemplate"]CODE
LOWdeepeval/metrics/arena_g_eval/__init__.py3__all__ = ["ArenaGEval", "ArenaGEvalTemplate"]CODE
LOWdeepeval/metrics/bias/__init__.py3__all__ = ["BiasMetric", "BiasTemplate"]CODE
LOWdeepeval/metrics/plan_quality/__init__.py3__all__ = ["PlanQualityMetric", "PlanQualityTemplate"]CODE
LOWdeepeval/metrics/community/__init__.py5__all__ = [CODE
LOW…al/metrics/community/citation_faithfulness/__init__.py3__all__ = ["CitationFaithfulnessMetric"]CODE
LOWdeepeval/metrics/turn_contextual_precision/__init__.py6__all__ = ["TurnContextualPrecisionMetric", "TurnContextualPrecisionTemplate"]CODE
LOWdeepeval/metrics/role_adherence/__init__.py3__all__ = ["RoleAdherenceMetric", "RoleAdherenceTemplate"]CODE
LOWdeepeval/metrics/contextual_relevancy/__init__.py6__all__ = ["ContextualRelevancyMetric", "ContextualRelevancyTemplate"]CODE
LOWdeepeval/metrics/non_advice/__init__.py3__all__ = ["NonAdviceMetric", "NonAdviceTemplate"]CODE
LOWdeepeval/metrics/conversation_completeness/__init__.py6__all__ = ["ConversationCompletenessMetric", "ConversationCompletenessTemplate"]CODE
127 more matches not shown…
Self-Referential Comments43 hits · 135 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_integrations/test_exporter/readable_spans.py5# Create a simple span contextCOMMENT
MEDIUMtests/test_integrations/test_exporter/readable_spans.py13# Create the ReadableSpan with one attributeCOMMENT
MEDIUMtests/test_integrations/test_exporter/readable_spans.py184# Create a multi-turn span contextCOMMENT
MEDIUMtests/test_integrations/test_exporter/readable_spans.py192# Create the multi-turn readable spanCOMMENT
MEDIUM⚡…t_integrations/test_crewai/test_knowledge_retriever.py18 # Create a knowledge sourceCOMMENT
MEDIUM⚡…t_integrations/test_crewai/test_knowledge_retriever.py24 # Create an LLM with a temperature of 0 to ensure deterministic outputsCOMMENT
MEDIUM⚡…t_integrations/test_crewai/test_knowledge_retriever.py27 # Create an agent with the knowledge storeCOMMENT
MEDIUMtests/test_integrations/test_langgraph/conftest.py79 # Create a unique identifier for this test runCOMMENT
MEDIUM…test_langgraph/apps/langgraph_metric_collection_app.py19# Create a Prompt object for prompt trackingCOMMENT
MEDIUM…grations/test_openai_agents/test_scenerios/test_run.py63# Create the weather specialist agentCOMMENT
MEDIUM…i_agents/test_scenerios/test_with_trace_and_wrapped.py82# Create the weather specialist agentCOMMENT
MEDIUM…s/test_openai_agents/test_scenerios/test_with_trace.py65# Create the weather specialist agentCOMMENT
MEDIUM…ons/test_openai_agents/test_scenerios/test_run_sync.py62# Create the weather specialist agentCOMMENT
MEDIUM…ai_agents/test_scenerios/test_weather_agent_patched.py78# Create the weather specialist agentCOMMENT
MEDIUM…test_openai_agents/test_scenerios/test_run_streamed.py63# Create the weather specialist agentCOMMENT
MEDIUMtests/test_integrations/test_langchain/conftest.py58 # Create a unique identifier for this test runCOMMENT
MEDIUM…test_langchain/apps/langchain_metric_collection_app.py16# Create a Prompt object for prompt trackingCOMMENT
MEDIUMtests/test_core/stubs.py189 # Define the mock typesCOMMENT
MEDIUMtests/test_core/test_models/test_openai_model.py166 # Create a mock parsed responseCOMMENT
MEDIUMtests/test_core/test_models/test_openai_model.py215 # Create a mock that tracks the call argumentsCOMMENT
MEDIUMtests/test_core/test_models/test_openai_model.py263 # Create a mock parsed responseCOMMENT
MEDIUMtests/test_core/test_cli/test_cli.py752 # Create a real JSON file (with whitespace) so we can verify normalization.COMMENT
MEDIUM⚡…agent_evals/test_langgraph/test_langgraph_component.py12# Define the toolCOMMENT
MEDIUM…ocs/test_confident/test_integrations/test_langgraph.py23# Create a metricCOMMENT
MEDIUMdeepeval/metrics/ragas.py76 # Create a dataset from the test caseCOMMENT
MEDIUMdeepeval/metrics/ragas.py519 # Create a dataset from the test caseCOMMENT
MEDIUMdeepeval/tracing/tracing.py605 # Create a new event loopCOMMENT
MEDIUMdeepeval/tracing/tracing.py981 # Create the base API spanCOMMENT
MEDIUMdeepeval/synthesizer/synthesizer.py1876 # Create the pandas DataFrameCOMMENT
MEDIUMdeepeval/benchmarks/math_qa/math_qa.py144 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/bbq/bbq.py106 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/human_eval/human_eval.py21 # Create a restricted globals dictionary with only safe built-insCOMMENT
MEDIUMdeepeval/benchmarks/human_eval/human_eval.py160 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/logi_qa/logi_qa.py146 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/drop/drop.py153 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/truthful_qa/truthful_qa.py155 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/big_bench_hard/big_bench_hard.py178 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/squad/squad.py147 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/mmlu/mmlu.py145 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/equity_med_qa/equity_med_qa.py88 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/benchmarks/hellaswag/hellaswag.py149 # Create a DataFrame from task_results_dataCOMMENT
MEDIUMdeepeval/test_run/test_run.py391 # Create a single TraceMetricScores object instead of a listCOMMENT
MEDIUMdeepeval/test_run/hyperparameters.py72 # Define the wrapper function that will be the actual decoratorCOMMENT
AI Structural Patterns127 hits · 120 pts
SeverityFileLineSnippetContext
LOWtests/test_integrations/test_langgraph/apps/main.py167CODE
LOW…ts/test_core/test_tracing/test_masking/test_masking.py33CODE
LOW…re/test_tracing/test_nested_spans/test_nested_spans.py22CODE
LOW…re/test_tracing/test_nested_spans/test_nested_spans.py77CODE
LOWtests/test_core/test_tracing/apps/async_app.py56CODE
LOW…_agent_evals/test_langchain/test_langchain_e2e_sync.py56CODE
LOW…ocs/test_confident/test_integrations/test_anthropic.py22CODE
LOW…ocs/test_confident/test_integrations/test_anthropic.py42CODE
LOW…t_docs/test_confident/test_integrations/test_openai.py18CODE
LOW…t_docs/test_confident/test_integrations/test_openai.py39CODE
LOW…est_confident/test_tracing_features/test_span_types.py107CODE
LOW.scripts/changelog/generate.py1070CODE
LOW…turn_contextual_relevancy/turn_contextual_relevancy.py85CODE
LOWdeepeval/metrics/tool_use/tool_use.py66CODE
LOW…metrics/conversational_g_eval/conversational_g_eval.py47CODE
LOWdeepeval/metrics/hallucination/hallucination.py48CODE
LOWdeepeval/metrics/step_efficiency/step_efficiency.py48CODE
LOWdeepeval/metrics/role_violation/role_violation.py46CODE
LOW…ics/conversational_jev_eval/conversational_jev_eval.py37CODE
LOWdeepeval/metrics/task_completion/task_completion.py54CODE
LOW…l/metrics/contextual_precision/contextual_precision.py66CODE
LOW…l/metrics/agent_loop_detection/agent_loop_detection.py119CODE
LOWdeepeval/metrics/summarization/summarization.py58CODE
LOWdeepeval/metrics/misuse/misuse.py48CODE
LOWdeepeval/metrics/dag/dag.py27CODE
LOWdeepeval/metrics/plan_adherence/plan_adherence.py56CODE
LOW…val/metrics/knowledge_retention/knowledge_retention.py41CODE
LOWdeepeval/metrics/pii_leakage/pii_leakage.py47CODE
LOW…trics/transcription_accuracy/transcription_accuracy.py81CODE
LOW…peval/metrics/conversational_dag/conversational_dag.py26CODE
LOWdeepeval/metrics/jev_eval/jev_eval.py48CODE
LOWdeepeval/metrics/mcp_use_metric/mcp_use_metric.py61CODE
LOWdeepeval/metrics/mcp/mcp_task_completion.py52CODE
LOWdeepeval/metrics/mcp/multi_turn_mcp_use_metric.py58CODE
LOWdeepeval/metrics/g_eval/g_eval.py54CODE
LOWdeepeval/metrics/topic_adherence/topic_adherence.py47CODE
LOWdeepeval/metrics/toxicity/toxicity.py49CODE
LOWdeepeval/metrics/faithfulness/faithfulness.py73CODE
LOWdeepeval/metrics/answer_relevancy/answer_relevancy.py47CODE
LOWdeepeval/metrics/turn_faithfulness/turn_faithfulness.py63CODE
LOWdeepeval/metrics/goal_accuracy/goal_accuracy.py62CODE
LOW…/multimodal_metrics/image_coherence/image_coherence.py34CODE
LOW…/multimodal_metrics/image_reference/image_reference.py35CODE
LOW…timodal_metrics/image_helpfulness/image_helpfulness.py35CODE
LOW…trics/turn_contextual_recall/turn_contextual_recall.py81CODE
LOWdeepeval/metrics/contextual_recall/contextual_recall.py81CODE
LOWdeepeval/metrics/tool_correctness/tool_correctness.py51CODE
LOWdeepeval/metrics/json_correctness/json_correctness.py36CODE
LOW…l/metrics/argument_correctness/argument_correctness.py47CODE
LOWdeepeval/metrics/bias/bias.py48CODE
LOWdeepeval/metrics/plan_quality/plan_quality.py56CODE
LOW…mmunity/citation_faithfulness/citation_faithfulness.py62CODE
LOW…turn_contextual_precision/turn_contextual_precision.py72CODE
LOWdeepeval/metrics/role_adherence/role_adherence.py43CODE
LOW…l/metrics/contextual_relevancy/contextual_relevancy.py93CODE
LOWdeepeval/metrics/non_advice/non_advice.py50CODE
LOW…conversation_completeness/conversation_completeness.py46CODE
LOWdeepeval/metrics/turn_relevancy/turn_relevancy.py44CODE
LOWdeepeval/metrics/prompt_alignment/prompt_alignment.py49CODE
LOWdeepeval/tracing/trace_context.py46CODE
67 more matches not shown…
Modern AI Meta-Vocabulary29 hits · 96 pts
SeverityFileLineSnippetContext
MEDIUMtypescript/src/metrics/README.md347### Trace metrics (agentic)COMMENT
MEDIUMtypescript/src/evaluate/trace-eval.ts196 // agentic executor passes for both scopes. Published rather than threadedCOMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_sync.py67# RAG APP TESTSCOMMENT
MEDIUM⚡tests/test_integrations/test_llamaindex/test_async.py84# ASYNC RAG APP TESTSCOMMENT
MEDIUM…test_integrations/test_crewai/apps/hierarchical_app.py23 agent=writer, # In hierarchical, this is the target, but Manager orchestratesCODE
MEDIUMtests/test_integrations/test_langgraph/conftest.py599 context=context, # None - not a RAG appCODE
MEDIUMtests/test_integrations/test_langgraph/conftest.py600 retrievalContext=retrieval_context, # None - not a RAG appCODE
MEDIUM⚡tests/test_integrations/test_langgraph/test_sync.py554# RETRIEVER (RAG) TESTSCOMMENT
MEDIUM…rations/test_langgraph/apps/langgraph_retriever_app.py111 # Create augmented prompt with system message for RAGCOMMENT
MEDIUM⚡tests/test_integrations/test_langchain/test_sync.py428# RETRIEVER (RAG) TESTSCOMMENT
MEDIUM⚡tests/test_integrations/test_langchain/test_async.py436# ASYNC RETRIEVER (RAG) TESTSCOMMENT
MEDIUM…rations/test_langchain/apps/langchain_retriever_app.py97 # Create augmented prompt with system message for RAGCOMMENT
MEDIUM…rations/test_langchain/apps/langchain_retriever_app.py142 # Create augmented prompt with system message for RAGCOMMENT
MEDIUM…rations/test_langchain/apps/langchain_retriever_app.py206 # Create augmented prompt with system message for RAGCOMMENT
MEDIUMtests/test_core/test_imports.py19 # RAG metricsCOMMENT
MEDIUMtests/test_core/test_synthesizer_bugs.py506 # The few-shot example must demonstrate the new key.COMMENT
MEDIUMtests/test_core/test_synthesizer_bugs.py541 # The few-shot example must demonstrate the new key.COMMENT
MEDIUM…_core/test_evaluation/test_trace_results_extraction.py68 # Monkeypatch create_api_trace in the agentic submodule whereCOMMENT
MEDIUM…ocs/test_deepeval/test_llm_evals/test_setup_tracing.py71 # Calls RAG pipelineCOMMENT
MEDIUM…ocs/test_deepeval/test_llm_evals/test_setup_tracing.py77 # Generate final response incorporating both RAG and search resultsCOMMENT
MEDIUM…est_confident/test_tracing_features/test_span_types.py98# Custom span wrapping the RAG pipelineCOMMENT
MEDIUM⚡…est_confident/test_tracing_features/test_span_types.py110# Agent that does RAG + tool callingCOMMENT
MEDIUM⚡…est_confident/test_tracing_features/test_span_types.py113 # Call RAG pipelineCOMMENT
MEDIUM⚡…est_confident/test_tracing_features/test_span_types.py119 # Generate final response incorporating both RAG and search resultsCOMMENT
MEDIUMdocs/lib/source.ts161// Backwards-compatible alias so scaffold-generated routes that still importCOMMENT
MEDIUMdeepeval/metrics/__init__.py107 # RAG metricsCOMMENT
MEDIUMdeepeval/test_case/conversational_test_case.py83 # RAG & toolsCOMMENT
MEDIUMdeepeval/evaluate/execute/__init__.py28 # agenticCOMMENT
MEDIUMdeepeval/evaluate/execute/loop.py448 # parent. Mirrors the async path in ``agentic.py``.COMMENT
Over-Commented Block74 hits · 72 pts
SeverityFileLineSnippetContext
LOWtypescript/test/test-core/tracing.test.ts81 return response;COMMENT
LOWtypescript/test/test-core/tracing.test.ts101 // toolsCalled: [toolCall],COMMENT
LOWtypescript/test/test-core/tracing.test.ts121 // query: "test query",COMMENT
LOWtypescript/examples/tracing/example-quickstart.ts1import OpenAI from "openai";COMMENT
LOWtypescript/examples/dataset/example-dataset.ts1// /**COMMENT
LOWtypescript/examples/dataset/example-dataset.ts21// // Option 2: Import from specific submodulesCOMMENT
LOWtypescript/examples/dataset/example-dataset.ts41// filePath: csvFilePath,COMMENT
LOWtypescript/examples/dataset/example-dataset.ts61// );COMMENT
LOWtypescript/examples/dataset/example-dataset.ts81// actualOutput: "H2O",COMMENT
LOWtypescript/examples/dataset/example-dataset.ts101// expectedOutput: "H2O",COMMENT
LOWtypescript/examples/dataset/example-dataset.ts121// );COMMENT
LOWtypescript/examples/dataset/example-dataset.ts141// // Create a new dataset for pushingCOMMENT
LOWtypescript/examples/dataset/example-dataset.ts161// retrievalContext: [COMMENT
LOWtypescript/examples/dataset/example-dataset.ts181// if (error.message && error.message.includes("deepeval login")) {COMMENT
LOWtypescript/examples/dataset/example-dataset.ts201// autoConvertGoldensToTestCases: false,COMMENT
LOWtypescript/examples/dataset/example-dataset.ts221// }COMMENT
LOWtypescript/src/metrics/jev-eval/questions.ts1// The three decision points a JevEval metric is built from.COMMENT
LOWtypescript/src/metrics/system-one/decision.ts1// System One (Jev) plumbing shared by every metric's decision points.COMMENT
LOWtypescript/src/metrics/system-one/batch.ts1// Batched System One for `evaluate()`: every metric Jev judges on a test case,COMMENT
LOWtypescript/src/metrics/system-one/runner.ts1// The whole-chain System One path for built-in metrics (`system_one` evalCOMMENT
LOWtypescript/src/config/eval-mode.ts1// Resolves who decides in an LLM-as-a-judge metric: `DEEPEVAL_EVAL_MODE`.COMMENT
LOWtypescript/src/integrations/langchain/patch-tool.ts1// import { tool as originalTool } from "@langchain/core/tools";COMMENT
LOWtypescript/src/integrations/langchain/patch-tool.ts21// metrics = kwargs.metrics;COMMENT
LOWtypescript/src/integrations/langchain/patch-tool.ts41// }COMMENT
LOWtypescript/src/integrations/langchain/patch-tool.ts61// try {COMMENT
LOWtypescript/src/sqlite-store/store.ts1// SQLite storage for deepeval test runs (opt-in via `DEEPEVAL_LOCAL_STORE=sqlite`).COMMENT
LOW…_integrations/test_pydanticai/test_span_interceptor.py841 from deepeval.integrations.pydantic_ai.instrumentator import (COMMENT
LOWtests/test_confident/test_dataset.py221COMMENT
LOW…i_agent_evals/test_pydanticai/test_pydanticai_setup.py21# result = await agent.run("What are the LLMs?")COMMENT
LOW…_deepeval/test_llm_evals/test_component_level_evals.py61# dataset.evaluate(task)COMMENT
LOWdocs/source.config.ts141 rehypePlugins: (v) => [rehypeKatex, ...v],COMMENT
LOWdocs/app/layout.tsx61 description: siteDescription,COMMENT
LOWdocs/lib/layout.shared.tsx81 // `links` intentionally omitted — text items live in `navLinks`COMMENT
LOW…ts/MetricTagsDisplayer/MetricTagsDisplayer.module.scss1// Metric classification tags shown under each metric's H1. Each variantCOMMENT
LOWexamples/tracing/test_chatbot.py1# from deepeval.tracing import trace, TraceTypeCOMMENT
LOWexamples/tracing/test_chatbot.py21# ],COMMENT
LOWexamples/tracing/test_chatbot.py41# def retriever(self, input=input):COMMENT
LOWexamples/tracing/test_chatbot.py61COMMENT
LOWexamples/tracing/test_chatbot.py81# "Be at least 35 years old.",COMMENT
LOWdeepeval/metrics/base_metric.py21 from deepeval.metrics.utils.system_one import SystemOneEvalSpecCOMMENT
LOWdeepeval/metrics/ragas.py261# class RAGASNoiseSensitivityMetric(BaseMetric):COMMENT
LOWdeepeval/metrics/ragas.py281# try:COMMENT
LOWdeepeval/metrics/ragas.py301COMMENT
LOWdeepeval/metrics/utils/qag.py41)COMMENT
LOWdeepeval/metrics/utils/decision.py41)COMMENT
LOWdeepeval/metrics/utils/decision.py61###############################################COMMENT
LOWdeepeval/tracing/types.py201 turn_id: Optional[str] = Field(None, serialization_alias="turnId")COMMENT
LOWdeepeval/tracing/context.py281# ---------------------------------------------------------------------------COMMENT
LOWdeepeval/tracing/otel/exporter.py201 # When inside an active deepeval trace context, the wrappingCOMMENT
LOWdeepeval/config/settings.py1041 # Async Task ConfigurationCOMMENT
LOWdeepeval/openai_agents/runner.py1# from __future__ import annotationsCOMMENT
LOWdeepeval/openai_agents/runner.py21# from agents.models.interface import ModelCOMMENT
LOWdeepeval/openai_agents/runner.py41# # Import observed provider/model helpers from our agent moduleCOMMENT
LOWdeepeval/openai_agents/runner.py61COMMENT
LOWdeepeval/openai_agents/runner.py81# patched_get_model.__doc__ = original_get_model.__doc__COMMENT
LOWdeepeval/openai_agents/runner.py101# context: Optional[TContext] = None,COMMENT
LOWdeepeval/openai_agents/runner.py121# span_type="custom",COMMENT
LOWdeepeval/openai_agents/runner.py141# current_span.input = inputCOMMENT
LOWdeepeval/openai_agents/runner.py161# update_trace_attributes(output=_output)COMMENT
LOWdeepeval/openai_agents/runner.py181# metadata: Optional[dict] = None,COMMENT
14 more matches not shown…
Docstring Block Structure11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHdeepeval/utils.py915 Ensures that a required parameter is provided. If the parameter is `None`, raises a `DeepEvalError` with a helpSTRING
HIGHdeepeval/utils.py947 Imports an optional dependency module or raises a `DeepEvalError` if the module is not found. The error messageSTRING
HIGHdeepeval/dataset/dataset.py286 Load test cases from a CSV file. This method reads a CSV file, extracting test case data based on specSTRING
HIGHdeepeval/dataset/dataset.py431 Load test cases from a JSON file. This method reads a JSON file containing a list of objects, each repSTRING
HIGHdeepeval/models/utils.py44Extract base model name from provider-prefixed format. This function is useful for extracting the actual model nameSTRING
HIGHdeepeval/models/utils.py80 Normalize and validate a provider API key stored as a SecretStr. Args: secret: The SecretSSTRING
HIGHdeepeval/models/retry_policy.py515 Run a synchronous callable with a soft timeout enforced by a helper thread, with a global cap on concurrent timSTRING
HIGHdeepeval/scorer/scorer.py276 Calculate the toxicity score of a given text prediction using the Detoxify model. Args: prSTRING
HIGHdeepeval/synthesizer/synthesizer.py1893Save synthetic goldens to a file. Args: file_type: Type of file to save as ('json' or 'csv'). STRING
HIGHdeepeval/anthropic/utils.py10 Return a short, human-readable summary string for an Anthropic-style multimodal `content` value. This is used STRING
HIGHdeepeval/openai/utils.py42 Return a short, human-readable summary string for an OpenAI-style multimodal `content` value. This is used to STRING
Redundant / Tautological Comments16 hits · 26 pts
SeverityFileLineSnippetContext
LOWtests/test_integrations/test_langgraph/conftest.py632 # Print values when presentCOMMENT
LOW…ntegrations/test_langchain/apps/langchain_agent_app.py82 # Check if we have tool callsCOMMENT
LOW…ntegrations/test_langchain/apps/langchain_agent_app.py131 # Check if we have tool callsCOMMENT
LOWtests/test_core/test_evaluation/test_console_report.py113 # Check if the aggregate table is built correctlyCOMMENT
LOWtests/test_core/test_evaluation/test_console_report.py119 # Check if it's a Panel and contains the aggregate metrics tableCOMMENT
LOW…al/test_ai_agent_evals/test_setup_end_to_end_python.py24# Loop through datasetCOMMENT
LOWdeepeval/utils.py418 # Check if obj is iterable (but not a string)COMMENT
LOW⚡deepeval/metrics/g_eval/utils.py193 # Check if both criteria and evaluation_steps are not None at the same timeCOMMENT
LOW⚡deepeval/metrics/g_eval/utils.py199 # Check if criteria is provided, it cannot be an empty stringCOMMENT
LOW⚡deepeval/metrics/g_eval/utils.py203 # Check if evaluation_steps is provided, it cannot be an empty listCOMMENT
LOWdeepeval/metrics/g_eval/utils.py224 # Check if ranges overlapCOMMENT
LOWdeepeval/tracing/tracing.py590 # Add the trace to the queueCOMMENT
LOWdeepeval/tracing/tracing.py875 # Add children to the stack for processingCOMMENT
LOWdeepeval/synthesizer/chunking/context_generator.py341 # Check if chunk_size and max_context_size is valid for document lengthsCOMMENT
LOWdeepeval/evaluate/execute/agentic.py311 # Set it to None to ensure the test_case is addedCOMMENT
LOWdeepeval/prompt/prompt.py520 # Check if we need to bootstrap the cacheCOMMENT
Magic Placeholder Names3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHtypescript/examples/dataset/example-dataset.ts188// console.log("export CONFIDENT_API_KEY='your-api-key-here'");COMMENT
HIGHtypescript/examples/dataset/example-dataset.ts233// console.log("export CONFIDENT_API_KEY='your-api-key-here'");COMMENT
HIGHdeepeval/models/llms/gemini_model.py53 api_key="your-api-key"STRING
AI Slop Vocabulary6 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_core/test_tracing/apps/sync_app.py212 research_prompt = f"""Based on the following retrieved documents, provide a comprehensive research analysis of 'STRING
MEDIUMdocs/src/sections/home/HomeSection.module.scss100 // Duplicated content length is 200%; shift by half for a seamless loop.COMMENT
MEDIUM⚡deepeval/tracing/otel/context_aware_processor.py138 # Trace-shape testing override: when a test harness has setCOMMENT
LOWdeepeval/dataset/utils.py328 # already a Task so just return itCOMMENT
LOWdeepeval/dataset/utils.py332 # If it is a future, it is already scheduled, so just return itCOMMENT
MEDIUMdeepeval/simulator/conversation_simulator.py700 # up — so the harness's own thinking time is not neutral, itCOMMENT
Fake / Example Data13 hits · 14 pts
SeverityFileLineSnippetContext
LOWtypescript/test/test-core/expectations.test.ts220 process.env.CONFIDENT_API_KEY = "fake-key";CODE
LOWtypescript/test/test-core/expectations.test.ts316 process.env.CONFIDENT_API_KEY = "fake-key";CODE
LOWtypescript/test/test-core/expectations.test.ts351 process.env.CONFIDENT_API_KEY = "fake-key";CODE
LOW…acing/schemas/masking/comprehensive_masked_schema.json15 "name": "John Doe"CODE
LOW…acing/schemas/masking/comprehensive_masked_schema.json23 "name": "John Doe"CODE
LOW…acing/schemas/masking/comprehensive_masked_schema.json39 "name": "John Doe"CODE
LOW…acing/schemas/masking/comprehensive_masked_schema.json47 "name": "John Doe"CODE
LOW⚡…ts/test_core/test_tracing/test_masking/test_masking.py94 "email": "user@example.com",CODE
LOW⚡…ts/test_core/test_tracing/test_masking/test_masking.py96 "name": "John Doe",CODE
LOW…test_tracing/test_configuration/test_masking_config.py183 return "user@example.com"CODE
LOW…test_tracing/test_configuration/test_masking_config.py186 assert result == "user@example.com" # Function returns originalCODE
LOW⚡tests/test_core/test_models/test_azure_model.py603 api_key="fake-key",CODE
LOWdeepeval/cli/auth/flow.py36 "email": "user@example.com"}}STRING
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdeepeval/models/base_model.py285CODE
MEDIUMdeepeval/models/base_model.py359CODE
MEDIUMdeepeval/voice/connectors/transports/base.py232CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/lib/wizard/setup-script.ts110elif command -v sha256sum >/dev/null 2>&1; thenCODE
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWtests/test_integrations/utils.py441 async def my_function():STRING
Slop Phrases1 hit · 0 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_core/test_prompts/test_interpolation.py568 This ensures users don't forget to provide required template variables.STRING