Repository Analysis

confident-ai/deepeval

The LLM Evaluation Framework

18.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of confident-ai/deepeval, a Python project with 17,936 GitHub stars. SynthScan v2.0 examined 377,059 lines of code across 2235 source files, recording 5006 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 18.7 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

18.7
Adjusted Score
18.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
17.9K
Stars
Python
Language
377.1K
Lines of Code
2.2K
Files
5.0K
Pattern Hits
2026-08-29
Scan Date
0.09
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 208MEDIUM 506LOW 4292

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 5006 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers2560 hits · 2569 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.ts111export function checkAtLeastOneMetricHasThreshold(CODE
LOWtypescript/src/metrics/utils.ts305export 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.ts33function truthsMultimodalInstruction(multimodal: boolean): string {CODE
LOWtypescript/src/metrics/faithfulness/faithfulness.ts37function claimsMultimodalInstruction(multimodal: boolean): string {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.ts22export function convertTestCasesToGoldens(testCases: LLMTestCase[]): Golden[] {CODE
LOWtypescript/src/dataset/utils.ts42export function convertGoldensToTestCases(CODE
LOWtypescript/src/dataset/utils.ts66export function convertConvoTestCasesToConvoGoldens(CODE
LOWtypescript/src/dataset/utils.ts90export function convertConvoGoldensToConvoTestCases(CODE
LOWtypescript/src/dataset/utils.ts133function createConversationalTestCase(params: {CODE
LOWtypescript/src/dataset/utils.ts209export function serializeRetrievalContext(CODE
LOWtypescript/src/dataset/utils.ts264export 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/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
LOWtests/test_agent_loop_detection.py86def test_repeated_tool_calls_detected():CODE
LOWtests/test_agent_loop_detection.py119def test_no_trace_returns_zero():CODE
LOWtests/test_agent_loop_detection.py135def test_reasoning_stagnation_detected():CODE
LOWtests/test_agent_loop_detection.py169def test_disable_tool_repetition_check():CODE
LOWtests/test_agent_loop_detection.py198def test_score_combines_with_correct_weights():CODE
LOWtests/test_agent_loop_detection.py216def test_call_graph_cycle_detected():CODE
2500 more matches not shown…
Decorative Section Separators410 hits · 1545 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_agent_loop_detection.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py83# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py130# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py132# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py164# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py166# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py195# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py211# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py213# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py253# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py255# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py285# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py287# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_agent_loop_detection.py330# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/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
MEDIUMtests/test_metrics/test_dag_serialization.py31# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/test_metrics/test_dag_serialization.py33# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/test_metrics/test_dag_serialization.py224# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/test_metrics/test_dag_serialization.py226# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/test_metrics/test_dag_serialization.py396# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/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
MEDIUMtests/test_integrations/test_llamaindex/test_sync.py66# =============================================================================COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_sync.py68# =============================================================================COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_sync.py105# =============================================================================COMMENT
MEDIUMtests/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
MEDIUMtests/test_integrations/test_llamaindex/test_async.py83# =============================================================================COMMENT
MEDIUMtests/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
MEDIUMtests/test_integrations/test_llamaindex/test_async.py150# =============================================================================COMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_async.py152# =============================================================================COMMENT
350 more matches not shown…
Unused Imports810 hits · 748 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
750 more matches not shown…
Cross-File Repetition138 hits · 690 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
78 more matches not shown…
Excessive Try-Catch Wrapping336 hits · 358 pts
SeverityFileLineSnippetContext
LOWc.py182 except Exception:CODE
LOWtests/test_integrations/test_langgraph/conftest.py143 except Exception:CODE
LOWtests/test_integrations/test_langgraph/conftest.py241 except Exception:CODE
LOWtests/test_integrations/test_langgraph/conftest.py267 except Exception:CODE
LOWtests/test_integrations/test_langgraph/conftest.py691 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
LOWtests/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.py455 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
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
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
MEDIUM…re/test_evaluation/test_execute/test_error_boundary.py121def parent_catches():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
LOWdeepeval/utils.py484 except Exception as e:CODE
MEDIUMdeepeval/utils.py485 print(f"An error occurred: {e}")CODE
LOWdeepeval/utils.py831 except Exception:CODE
LOWdeepeval/utils.py857 except Exception:CODE
MEDIUMdeepeval/utils.py209def get_or_create_event_loop() -> asyncio.AbstractEventLoop:CODE
LOWdeepeval/metrics/indicator.py138 except Exception as e:CODE
LOWdeepeval/metrics/indicator.py297 except Exception as e:CODE
LOWdeepeval/metrics/utils.py487 except Exception as e:CODE
LOW…l/metrics/agent_loop_detection/agent_loop_detection.py306 except Exception:CODE
LOWdeepeval/metrics/g_eval/utils.py384 except Exception:CODE
LOWdeepeval/metrics/voice/_analysis.py42 except Exception as error:CODE
LOWdeepeval/metrics/role_adherence/role_adherence.py212 except Exception:CODE
LOWdeepeval/metrics/role_adherence/role_adherence.py236 except Exception:CODE
LOWdeepeval/model_integrations/utils.py110 except Exception:CODE
276 more matches not shown…
Cross-Language Confusion55 hits · 238 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
HIGHtests/test_confident/test_prompt.py172 prompt.push(text=f"Latest content {UUID}")CODE
HIGHtests/test_confident/test_prompt.py185 prompt.push(text=f"Version 1 {UUID1}")CODE
HIGHtests/test_confident/test_prompt.py189 prompt.push(text=f"Version 2 {UUID2}")CODE
HIGHtests/test_confident/test_prompt.py898 prompt.push(messages=MESSAGES)CODE
HIGHtests/test_confident/test_prompt.py913 prompt.push(messages=MESSAGES1)CODE
HIGHtests/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
HIGH.scripts/release.py110 publish_commands=["cd typescript && npm publish"],CODE
HIGHdeepeval/prompt/prompt.py856 return self.push(CODE
HIGHdeepeval/voice/connectors/providers/livekit.py294 frames = resampler.push(bytearray(pcm))CODE
HIGHdeepeval/voice/connectors/providers/livekit.py385 frames = resampler.push(bytearray(pcm))CODE
HIGHdeepeval/voice/connectors/providers/livekit.py411 out = resampler.push(bytearray(pcm))CODE
HIGHdeepeval/simulator/simulation_graph/template.py40 "index": null,CODE
HIGHdeepeval/test_run/hyperparameters.py48 value.push(_verbose=verbose)CODE
Deep Nesting239 hits · 220 pts
SeverityFileLineSnippetContext
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.py182CODE
LOWtests/test_integrations/test_langgraph/conftest.py213CODE
LOWtests/test_integrations/test_langgraph/conftest.py347CODE
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
LOW…re/test_evaluation/test_execute/test_error_boundary.py436CODE
LOW.scripts/release.py374CODE
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.py67CODE
LOWdeepeval/progress_context.py39CODE
LOWdeepeval/utils.py139CODE
LOWdeepeval/utils.py449CODE
LOWdeepeval/utils.py464CODE
LOWdeepeval/metrics/indicator.py74CODE
LOWdeepeval/metrics/indicator.py156CODE
LOWdeepeval/metrics/indicator.py240CODE
LOWdeepeval/metrics/utils.py272CODE
LOWdeepeval/metrics/utils.py344CODE
LOWdeepeval/metrics/utils.py698CODE
LOWdeepeval/metrics/utils.py797CODE
LOWdeepeval/metrics/tool_use/tool_use.py303CODE
LOWdeepeval/metrics/summarization/summarization.py299CODE
LOWdeepeval/metrics/dag/utils.py63CODE
LOWdeepeval/metrics/dag/utils.py104CODE
LOWdeepeval/metrics/dag/nodes.py410CODE
LOWdeepeval/metrics/conversational_dag/nodes.py470CODE
LOWdeepeval/metrics/conversational_dag/nodes.py39CODE
LOWdeepeval/metrics/topic_adherence/topic_adherence.py60CODE
LOWdeepeval/metrics/topic_adherence/topic_adherence.py151CODE
LOWdeepeval/metrics/goal_accuracy/goal_accuracy.py187CODE
179 more matches not shown…
Modern Structural Boilerplate159 hits · 164 pts
SeverityFileLineSnippetContext
LOWtests/test_core/stubs.py28 def update_metric_data(self, *args, **kwargs) -> None: ...CODE
LOWtests/test_core/stubs.py29 def update_status(self, *args, **kwargs) -> None: ...CODE
LOWtests/test_core/stubs.py30 def update_run_duration(self, *args, **kwargs) -> None: ...CODE
LOWtests/test_core/test_stubs_contract.py144 def update_metric_data(self, *args, **kwargs) -> None:CODE
LOWtests/test_core/test_stubs_contract.py147 def update_status(self, *args, **kwargs) -> None:CODE
LOWtests/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.py22logger = logging.getLogger(__name__)CODE
LOWdeepeval/metrics/__init__.py80__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/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/mcp_use_metric/__init__.py3__all__ = ["MCPUseMetric", "MCPUseTemplate"]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
LOWdeepeval/metrics/turn_relevancy/__init__.py3__all__ = ["TurnRelevancyMetric", "TurnRelevancyTemplate"]CODE
LOWdeepeval/metrics/prompt_alignment/__init__.py3__all__ = ["PromptAlignmentMetric", "PromptAlignmentTemplate"]CODE
LOWdeepeval/tracing/__init__.py23__all__ = [CODE
LOWdeepeval/tracing/otel/context_aware_processor.py40logger = logging.getLogger(__name__)CODE
LOWdeepeval/tracing/otel/context_aware_processor.py204__all__ = ["ContextAwareSpanProcessor"]CODE
99 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.py78 # 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.py651 # 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.py383 # 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 Patterns111 hits · 106 pts
SeverityFileLineSnippetContext
LOWtests/test_integrations/test_langgraph/apps/main.py167CODE
LOW…ts/test_core/test_tracing/test_masking/test_masking.py32CODE
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.py73CODE
LOWdeepeval/metrics/tool_use/tool_use.py40CODE
LOW…metrics/conversational_g_eval/conversational_g_eval.py48CODE
LOWdeepeval/metrics/hallucination/hallucination.py37CODE
LOWdeepeval/metrics/step_efficiency/step_efficiency.py29CODE
LOWdeepeval/metrics/role_violation/role_violation.py36CODE
LOWdeepeval/metrics/task_completion/task_completion.py36CODE
LOW…l/metrics/contextual_precision/contextual_precision.py56CODE
LOW…l/metrics/agent_loop_detection/agent_loop_detection.py119CODE
LOWdeepeval/metrics/summarization/summarization.py47CODE
LOWdeepeval/metrics/misuse/misuse.py37CODE
LOWdeepeval/metrics/dag/dag.py25CODE
LOWdeepeval/metrics/plan_adherence/plan_adherence.py37CODE
LOW…val/metrics/knowledge_retention/knowledge_retention.py30CODE
LOWdeepeval/metrics/pii_leakage/pii_leakage.py36CODE
LOW…peval/metrics/conversational_dag/conversational_dag.py24CODE
LOWdeepeval/metrics/mcp_use_metric/mcp_use_metric.py37CODE
LOWdeepeval/metrics/mcp/mcp_task_completion.py35CODE
LOWdeepeval/metrics/g_eval/g_eval.py50CODE
LOWdeepeval/metrics/topic_adherence/topic_adherence.py35CODE
LOWdeepeval/metrics/toxicity/toxicity.py38CODE
LOWdeepeval/metrics/faithfulness/faithfulness.py62CODE
LOWdeepeval/metrics/answer_relevancy/answer_relevancy.py36CODE
LOWdeepeval/metrics/turn_faithfulness/turn_faithfulness.py52CODE
LOWdeepeval/metrics/goal_accuracy/goal_accuracy.py36CODE
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.py69CODE
LOWdeepeval/metrics/contextual_recall/contextual_recall.py69CODE
LOWdeepeval/metrics/tool_correctness/tool_correctness.py36CODE
LOWdeepeval/metrics/json_correctness/json_correctness.py34CODE
LOW…l/metrics/argument_correctness/argument_correctness.py36CODE
LOWdeepeval/metrics/bias/bias.py37CODE
LOWdeepeval/metrics/plan_quality/plan_quality.py37CODE
LOW…turn_contextual_precision/turn_contextual_precision.py62CODE
LOWdeepeval/metrics/role_adherence/role_adherence.py29CODE
LOW…l/metrics/contextual_relevancy/contextual_relevancy.py69CODE
LOWdeepeval/metrics/non_advice/non_advice.py39CODE
LOW…conversation_completeness/conversation_completeness.py35CODE
LOWdeepeval/metrics/turn_relevancy/turn_relevancy.py34CODE
LOWdeepeval/metrics/prompt_alignment/prompt_alignment.py38CODE
LOWdeepeval/tracing/trace_context.py46CODE
LOWdeepeval/tracing/context.py64CODE
LOWdeepeval/tracing/context.py120CODE
LOWdeepeval/tracing/context.py361CODE
LOWdeepeval/tracing/context.py409CODE
LOWdeepeval/tracing/context.py458CODE
51 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.ts183 // agentic executor passes for both scopes. Published rather than threadedCOMMENT
MEDIUMtests/test_integrations/test_llamaindex/test_sync.py67# RAG APP TESTSCOMMENT
MEDIUMtests/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.py601 context=context, # None - not a RAG appCODE
MEDIUMtests/test_integrations/test_langgraph/conftest.py602 retrievalContext=retrieval_context, # None - not a RAG appCODE
MEDIUMtests/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
MEDIUMtests/test_integrations/test_langchain/test_sync.py428# RETRIEVER (RAG) TESTSCOMMENT
MEDIUMtests/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.py17 # 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__.py96 # RAG metricsCOMMENT
MEDIUMdeepeval/test_case/conversational_test_case.py75 # RAG & toolsCOMMENT
MEDIUMdeepeval/evaluate/execute/__init__.py28 # agenticCOMMENT
MEDIUMdeepeval/evaluate/execute/loop.py440 # parent. Mirrors the async path in ``agentic.py``.COMMENT
Over-Commented Block64 hits · 63 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/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
LOW…_integrations/test_pydanticai/test_span_interceptor.py801 with pytest.raises(TypeError):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.ts121 // (e.g. fresh checkouts before first commit) the value is `null`, whichCOMMENT
LOWdocs/source.config.ts141 //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/ragas.py261# class RAGASNoiseSensitivityMetric(BaseMetric):COMMENT
LOWdeepeval/metrics/ragas.py281# try:COMMENT
LOWdeepeval/metrics/ragas.py301COMMENT
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.py901 #COMMENT
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
LOWdeepeval/openai_agents/runner.py201# metric_collection=metric_collection,COMMENT
LOWdeepeval/openai_agents/runner.py221# **kwargs, # backwards compatibilityCOMMENT
LOWdeepeval/openai_agents/runner.py241# max_turns: int = DEFAULT_MAX_TURNS,COMMENT
LOWdeepeval/openai_agents/runner.py261# metrics=metrics,COMMENT
LOWdeepeval/openai_agents/runner.py281# if current_span:COMMENT
LOWdeepeval/openai_agents/runner.py301# try:COMMENT
LOWdeepeval/openai_agents/runner.py321# output: Any = None,COMMENT
LOWdeepeval/openai_agents/runner.py341# if thread_id:COMMENT
LOWdeepeval/models/retry_policy.py861except Exception: # Anthropic optionalCOMMENT
4 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.py282 Load test cases from a CSV file. This method reads a CSV file, extracting test case data based on specSTRING
HIGHdeepeval/dataset/dataset.py418 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.py630 # 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
LOWdeepeval/metrics/g_eval/utils.py193 # Check if both criteria and evaluation_steps are not None at the same timeCOMMENT
LOWdeepeval/metrics/g_eval/utils.py199 # Check if criteria is provided, it cannot be an empty stringCOMMENT
LOWdeepeval/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.py303 # 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.scss96 // Duplicated content length is 200%; shift by half for a seamless loop.COMMENT
MEDIUMdeepeval/tracing/otel/context_aware_processor.py138 # Trace-shape testing override: when a test harness has setCOMMENT
LOWdeepeval/dataset/utils.py300 # already a Task so just return itCOMMENT
LOWdeepeval/dataset/utils.py304 # If it is a future, it is already scheduled, so just return itCOMMENT
MEDIUMdeepeval/simulator/conversation_simulator.py606 # up — so the harness's own thinking time is not neutral, itCOMMENT
Fake / Example Data10 hits · 11 pts
SeverityFileLineSnippetContext
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.py80 "email": "user@example.com",CODE
LOW…ts/test_core/test_tracing/test_masking/test_masking.py82 "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
LOWtests/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.py204CODE
MEDIUMdeepeval/models/base_model.py278CODE
MEDIUMdeepeval/voice/connectors/transports/base.py200CODE
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
LOWtests/test_core/test_prompts/test_interpolation.py568 This ensures users don't forget to provide required template variables.STRING