Repository Analysis

confident-ai/deepeval

The LLM Evaluation Framework

19.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of confident-ai/deepeval, a Python project with 16,826 GitHub stars. SynthScan v2.0 examined 322,153 lines of code across 1967 source files, recording 4272 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 19.5 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).

19.5
Adjusted Score
19.5
Raw Score
100%
Time Factor
2026-07-12
Last Push
16.8K
Stars
Python
Language
322.2K
Lines of Code
2.0K
Files
4.3K
Pattern Hits
2026-07-14
Scan Date
0.10
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 200MEDIUM 500LOW 3572

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 4272 distinct pattern matches across 19 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 Identifiers2150 hits · 2127 pts
SeverityFileLineSnippetContext
LOWtypescript/test/test-integrations/utils.ts54export function assertJsonObjectStructure(CODE
LOWtypescript/src/metrics/conversational-utils.ts10export function checkConversationalTestCaseParams(CODE
LOWtypescript/src/metrics/g-eval/utils.ts61export function constructGEvalParamsString(CODE
LOWtypescript/src/metrics/g-eval/utils.ts105export function validateAndSortRubrics(rubrics?: Rubric[]): Rubric[] | undefined {CODE
LOWtypescript/src/metrics/g-eval/utils.ts122export function validateCriteriaAndEvaluationSteps(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/dataset/utils.ts5export function convertTestCasesToGoldens(testCases: LLMTestCase[]): Golden[] {CODE
LOWtypescript/src/dataset/utils.ts25export function convertGoldensToTestCases(CODE
LOWtypescript/src/dataset/utils.ts47export function convertConvoGoldensToConvoTestCases(CODE
LOWtypescript/src/dataset/utils.ts90function createConversationalTestCase(params: {CODE
LOWtypescript/src/integrations/openinference/index.ts130export 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.ts361export function printHyperparametersWarning(): void {CODE
LOWtypescript/src/prompt/utils.ts22export function interpolateMustacheWithSpace(CODE
LOWtypescript/src/prompt/utils.ts44export function interpolateDollarBrackets(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.ts183function 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
LOWtests/test_agent_loop_detection.py258def test_sequential_same_name_not_a_cycle():CODE
LOWtests/test_agent_loop_detection.py290def test_same_name_different_input_not_a_cycle():CODE
LOWtests/test_agent_loop_detection.py335def test_reordered_stagnation_detected():CODE
LOWtests/test_templates/test_metric_templates.py42def test_templates_json_is_up_to_date():CODE
LOWtests/test_templates/test_metric_templates.py52def test_templates_json_is_valid_and_nonempty():CODE
LOWtests/test_metrics/test_image_coherence_metric.py20 def test_multimodal_async_metric_measure(self):CODE
LOWtests/test_metrics/test_image_coherence_metric.py41 def test_multimodal_sync_metric_measure(self):CODE
LOWtests/test_metrics/test_image_coherence_metric.py62 def test_invalid_model_throws_error_for_multimodal(self):CODE
LOWtests/test_metrics/test_image_coherence_metric.py82 def test_multimodal_evaluate_method(self):CODE
LOWtests/test_metrics/test_mcp_use_metric.py21 def test_normal_sync_metric_measure(self):CODE
LOWtests/test_metrics/test_mcp_use_metric.py41 def test_normal_async_metric_measure(self):CODE
LOWtests/test_metrics/test_mcp_use_metric.py61 def test_multimodal_async_metric_measure(self):CODE
LOWtests/test_metrics/test_mcp_use_metric.py78 def test_multimodal_sync_metric_measure(self):CODE
LOWtests/test_metrics/test_mcp_use_metric.py95 def test_invalid_model_throws_error_for_multimodal(self):CODE
LOWtests/test_metrics/test_mcp_use_metric.py109 def test_normal_evaluate_method(self):CODE
LOWtests/test_metrics/test_mcp_use_metric.py129 def test_multimodal_evaluate_method(self):CODE
LOWtests/test_metrics/test_topic_adherence_metric.py20 def test_normal_sync_metric_measure(self):CODE
LOWtests/test_metrics/test_topic_adherence_metric.py44 def test_normal_async_metric_measure(self):CODE
2090 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.py172# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py174# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py281# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py283# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py465# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py468# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py528# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py530# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py1002# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py1004# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py362# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py364# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py702# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py705# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py956# ---------------------------------------------------------------------------COMMENT
MEDIUM…t_integrations/test_googleadk/test_span_interceptor.py958# ---------------------------------------------------------------------------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…
Cross-File Repetition135 hits · 675 pts
SeverityFileLineSnippetContext
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.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
HIGH…est_integrations/test_strands/apps/strands_eval_app.py0agentcore evals fixture — trace-level setup with a strands tool that mutates its own span via ``update_current_span``. aSTRING
HIGH…integrations/test_agentcore/apps/agentcore_eval_app.py0agentcore evals fixture — trace-level setup with a strands tool that mutates its own span via ``update_current_span``. aSTRING
HIGH…test_integrations/test_crewai/test_crewai_component.py0fetch weather data for a given city. returns temperature and conditions.STRING
HIGHtests/test_integrations/test_crewai/test_crewai.py0fetch weather data for a given city. returns temperature and conditions.STRING
HIGH…val/test_ai_agent_evals/test_crewai/test_crewai_e2e.py0fetch weather data for a given city. returns temperature and conditions.STRING
HIGHtests/test_integrations/test_langgraph/test_sync.py0decorator that switches between generate and assert mode based on generate_schemas env var. args: schema_name: name of tSTRING
75 more matches not shown…
Unused Imports593 hits · 556 pts
SeverityFileLineSnippetContext
LOWtest_agentcore_agent.py33CODE
LOWtest_agentcore_agent.py35CODE
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
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…est_integrations/test_strands/test_span_interceptor.py40CODE
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
LOW…t_integrations/test_agentcore/test_span_interceptor.py40CODE
533 more matches not shown…
Excessive Try-Catch Wrapping317 hits · 344 pts
SeverityFileLineSnippetContext
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.scripts/changelog/release_notes.py322 except Exception as exc:STRING
LOW.scripts/changelog/generate.py553 except Exception as e:STRING
LOW.scripts/changelog/generate.py971 except Exception as e:STRING
LOW.scripts/changelog/generate.py1114 except Exception as e:STRING
LOW.scripts/changelog/generate.py1143 except Exception:STRING
LOW.scripts/changelog/generate.py1418 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/telemetry.py140 except Exception:CODE
LOWdeepeval/telemetry.py153 except Exception:CODE
MEDIUMdeepeval/telemetry.py41def blocked_by_firewall():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.py139 except Exception as e:CODE
LOWdeepeval/metrics/indicator.py299 except Exception as e:CODE
LOWdeepeval/metrics/utils.py448 except Exception as e:CODE
LOW…l/metrics/agent_loop_detection/agent_loop_detection.py307 except Exception:CODE
LOWdeepeval/metrics/g_eval/utils.py382 except Exception:CODE
LOWdeepeval/metrics/role_adherence/role_adherence.py205 except Exception:CODE
LOWdeepeval/metrics/role_adherence/role_adherence.py229 except Exception:CODE
LOWdeepeval/model_integrations/utils.py110 except Exception:CODE
LOWdeepeval/tracing/tracing.py126 except Exception as e:CODE
257 more matches not shown…
Deep Nesting241 hits · 223 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/changelog/release_notes.py106CODE
LOW.scripts/changelog/generate.py835CODE
LOW.scripts/changelog/generate.py864CODE
LOW.scripts/changelog/generate.py930CODE
LOW.scripts/changelog/generate.py1039CODE
LOW.scripts/changelog/generate.py1196CODE
LOW.scripts/changelog/generate.py1206CODE
LOW.scripts/changelog/generate.py1257CODE
LOWexamples/mcp_evaluation/mcp_eval_multi_turn.py59CODE
LOWscripts/compile_metric_templates.py38CODE
LOWdeepeval/progress_context.py39CODE
LOWdeepeval/utils.py139CODE
LOWdeepeval/utils.py449CODE
LOWdeepeval/utils.py464CODE
LOWdeepeval/metrics/indicator.py73CODE
LOWdeepeval/metrics/indicator.py157CODE
LOWdeepeval/metrics/indicator.py241CODE
LOWdeepeval/metrics/utils.py233CODE
LOWdeepeval/metrics/utils.py305CODE
LOWdeepeval/metrics/utils.py659CODE
LOWdeepeval/metrics/utils.py758CODE
LOWdeepeval/metrics/tool_use/tool_use.py298CODE
LOWdeepeval/metrics/summarization/summarization.py292CODE
LOWdeepeval/metrics/dag/graph.py30CODE
LOWdeepeval/metrics/dag/utils.py33CODE
LOWdeepeval/metrics/dag/utils.py74CODE
LOWdeepeval/metrics/dag/nodes.py678CODE
LOWdeepeval/metrics/dag/nodes.py84CODE
LOWdeepeval/metrics/dag/nodes.py157CODE
LOWdeepeval/metrics/conversational_dag/nodes.py827CODE
LOWdeepeval/metrics/conversational_dag/nodes.py109CODE
181 more matches not shown…
Cross-Language Confusion51 hits · 218 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
HIGHdeepeval/prompt/prompt.py856 return self.push(CODE
HIGHdeepeval/simulator/simulation_graph/template.py40 "index": null,CODE
HIGHdeepeval/test_run/hyperparameters.py48 value.push(_verbose=verbose)CODE
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.py531 # Create a dataset from the test caseCOMMENT
MEDIUMdeepeval/tracing/tracing.py589 # Create a new event loopCOMMENT
MEDIUMdeepeval/tracing/tracing.py928 # Create the base API spanCOMMENT
MEDIUMdeepeval/synthesizer/synthesizer.py1875 # 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.py148 # 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.py379 # Create a single TraceMetricScores object instead of a listCOMMENT
MEDIUMdeepeval/test_run/hyperparameters.py72 # Define the wrapper function that will be the actual decoratorCOMMENT
Modern Structural Boilerplate103 hits · 108 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__.py89__all__ = [CODE
LOWdeepeval/key_handler.py14logger = logging.getLogger(__name__)CODE
LOWdeepeval/metrics/indicator.py22logger = logging.getLogger(__name__)CODE
LOWdeepeval/metrics/__init__.py71__all__ = [CODE
LOWdeepeval/metrics/conversational_g_eval/__init__.py3__all__ = ["ConversationalGEval"]CODE
LOWdeepeval/metrics/hallucination/__init__.py3__all__ = ["HallucinationMetric"]CODE
LOWdeepeval/metrics/tool_permission/__init__.py3__all__ = ["ToolPermissionMetric"]CODE
LOWdeepeval/metrics/contextual_precision/__init__.py3__all__ = ["ContextualPrecisionMetric"]CODE
LOWdeepeval/metrics/summarization/__init__.py3__all__ = ["SummarizationMetric"]CODE
LOWdeepeval/metrics/misuse/__init__.py3__all__ = ["MisuseMetric"]CODE
LOWdeepeval/metrics/dag/serialization/__init__.py9__all__ = [CODE
LOWdeepeval/metrics/g_eval/__init__.py4__all__ = ["Rubric", "GEval"]CODE
LOWdeepeval/metrics/toxicity/__init__.py3__all__ = ["ToxicityMetric"]CODE
LOWdeepeval/metrics/faithfulness/__init__.py3__all__ = ["FaithfulnessMetric"]CODE
LOWdeepeval/metrics/answer_relevancy/__init__.py3__all__ = ["AnswerRelevancyMetric"]CODE
LOWdeepeval/metrics/contextual_recall/__init__.py3__all__ = ["ContextualRecallMetric"]CODE
LOWdeepeval/metrics/bias/__init__.py3__all__ = ["BiasMetric"]CODE
LOWdeepeval/metrics/community/__init__.py5__all__ = [CODE
LOW…al/metrics/community/citation_faithfulness/__init__.py3__all__ = ["CitationFaithfulnessMetric"]CODE
LOWdeepeval/metrics/contextual_relevancy/__init__.py3__all__ = ["ContextualRelevancyMetric"]CODE
LOWdeepeval/tracing/__init__.py23__all__ = [CODE
LOWdeepeval/tracing/otel/context_aware_processor.py40logger = logging.getLogger(__name__)CODE
LOWdeepeval/tracing/otel/context_aware_processor.py196__all__ = ["ContextAwareSpanProcessor"]CODE
LOWdeepeval/tracing/otel/__init__.py4__all__ = [CODE
LOWdeepeval/optimizer/__init__.py3__all__ = [CODE
LOWdeepeval/optimizer/rewriter/__init__.py3__all__ = [CODE
LOWdeepeval/optimizer/algorithms/__init__.py6__all__ = ["GEPA", "MIPROV2", "COPRO", "SIMBA"]CODE
LOWdeepeval/optimizer/algorithms/simba/__init__.py3__all__ = [CODE
LOWdeepeval/optimizer/algorithms/simba/simba.py80 def _update_step(self, message: str) -> None:CODE
LOWdeepeval/optimizer/algorithms/simba/simba.py84 def _update_trial_progress(self, step: int, total: int) -> None:CODE
LOWdeepeval/optimizer/algorithms/gepa/gepa.py773 def _update_step(self, iteration: int, label: str) -> None:CODE
LOWdeepeval/optimizer/algorithms/gepa/__init__.py3__all__ = [CODE
LOWdeepeval/optimizer/algorithms/miprov2/miprov2.py140 def _update_step(self, message: str) -> None:CODE
LOWdeepeval/optimizer/algorithms/miprov2/miprov2.py145 def _update_trial_progress(self, step: int, total: int) -> None:CODE
LOWdeepeval/optimizer/algorithms/copro/copro.py80 def _update_step(self, message: str) -> None:CODE
LOWdeepeval/optimizer/algorithms/copro/copro.py84 def _update_trial_progress(self, step: int, total: int) -> None:CODE
LOWdeepeval/optimizer/algorithms/copro/__init__.py3__all__ = [CODE
LOWdeepeval/optimizer/scorer/__init__.py3__all__ = [CODE
LOWdeepeval/config/utils.py78def set_env_bool(key: str, value: Optional[bool] = False) -> None:CODE
LOWdeepeval/config/settings.py54logger = logging.getLogger(__name__)CODE
LOWdeepeval/config/settings_manager.py21logger = logging.getLogger(__name__)CODE
LOWdeepeval/test_case/__init__.py25__all__ = [CODE
LOWdeepeval/dataset/__init__.py5__all__ = [CODE
LOWdeepeval/openai_agents/patch.py387def _set_agent_metrics(agent: Agent, agent_span: AgentSpan) -> None:CODE
LOWdeepeval/openai_agents/__init__.py7__all__ = ["DeepEvalTracingProcessor", "Agent", "function_tool"]CODE
LOWdeepeval/annotation/__init__.py3__all__ = ["send_annotation", "a_send_annotation"]CODE
LOWdeepeval/models/__init__.py28__all__ = [CODE
LOWdeepeval/models/utils.py7logger = logging.getLogger(__name__)CODE
LOWdeepeval/models/retry_policy.py65logger = logging.getLogger(__name__)CODE
LOWdeepeval/models/retry_policy.py1032__all__ = [CODE
LOWdeepeval/models/embedding_models/__init__.py6__all__ = [CODE
LOWdeepeval/models/llms/__init__.py15__all__ = [CODE
LOWdeepeval/cli/auth/__init__.py12__all__ = [CODE
LOWdeepeval/cli/diagnose/__init__.py6__all__ = ["diagnose_command", "resolve_setting_source"]CODE
43 more matches not shown…
Modern AI Meta-Vocabulary27 hits · 90 pts
SeverityFileLineSnippetContext
MEDIUMtypescript/src/metrics/README.md209### Trace metrics (agentic)COMMENT
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.py14 # 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.ts85// Backwards-compatible alias so scaffold-generated routes that still importCOMMENT
MEDIUMdeepeval/metrics/__init__.py86 # RAG metricsCOMMENT
MEDIUMdeepeval/evaluate/execute/__init__.py28 # agenticCOMMENT
MEDIUMdeepeval/evaluate/execute/loop.py443 # parent. Mirrors the async path in ``agentic.py``.COMMENT
Over-Commented Block72 hits · 70 pts
SeverityFileLineSnippetContext
LOWtest_agentcore_agent.py41# Wire the deepeval OTel pipeline at import time. Trace-level kwargsCOMMENT
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/test/test-core/evaluate.test.ts1// import { config } from "dotenv";COMMENT
LOWtypescript/test/test-core/evaluate.test.ts21// promptVersion: "v1.0",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 DeepEvalInstrumentationSettings(api_key="dummy", is_test_mode=False)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.ts101 // `next/image`. Our blog + tutorial content references dozens ofCOMMENT
LOWdocs/app/layout.tsx61 // Site-wide fallback preview image. Every section/page inheritsCOMMENT
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 def __name__(self):COMMENT
LOWdeepeval/metrics/ragas.py281# if isinstance(model, str):COMMENT
LOWdeepeval/metrics/ragas.py301# except ModuleNotFoundError:COMMENT
LOWdeepeval/metrics/ragas.py321# metrics=[NoiseSensitivity()],COMMENT
LOWdeepeval/tracing/types.py201 turn_id: Optional[str] = Field(None, serialization_alias="turnId")COMMENT
LOWdeepeval/tracing/context.py281# user-code seam — i.e. spans the user never executes code inside, soCOMMENT
LOWdeepeval/tracing/context.py601 try:COMMENT
LOWdeepeval/tracing/otel/exporter.py121 spans: typing.Sequence[ReadableSpan],COMMENT
LOWdeepeval/tracing/otel/exporter.py181 current_trace.confident_api_key = api_keyCOMMENT
LOWdeepeval/config/settings.py841 description="Read timeout (seconds) when fetching remote images for multimodal inputs.",COMMENT
LOWdeepeval/config/settings.py881 5.0,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
12 more matches not shown…
AI Structural Patterns74 hits · 69 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.py1039CODE
LOW…metrics/conversational_g_eval/conversational_g_eval.py44CODE
LOW…l/metrics/agent_loop_detection/agent_loop_detection.py119CODE
LOWdeepeval/metrics/summarization/summarization.py43CODE
LOWdeepeval/metrics/g_eval/g_eval.py46CODE
LOWdeepeval/metrics/faithfulness/faithfulness.py58CODE
LOWdeepeval/metrics/turn_faithfulness/turn_faithfulness.py48CODE
LOWdeepeval/metrics/tool_correctness/tool_correctness.py32CODE
LOWdeepeval/metrics/turn_relevancy/turn_relevancy.py30CODE
LOWdeepeval/tracing/trace_context.py46CODE
LOWdeepeval/tracing/context.py64CODE
LOWdeepeval/tracing/context.py120CODE
LOWdeepeval/tracing/context.py357CODE
LOWdeepeval/tracing/context.py405CODE
LOWdeepeval/tracing/context.py454CODE
LOWdeepeval/tracing/context.py513CODE
LOWdeepeval/tracing/context.py560CODE
LOWdeepeval/optimizer/algorithms/gepa/gepa.py88CODE
LOWdeepeval/optimizer/algorithms/miprov2/miprov2.py53CODE
LOWdeepeval/dataset/dataset.py255CODE
LOWdeepeval/dataset/dataset.py487CODE
LOWdeepeval/dataset/dataset.py672CODE
LOWdeepeval/dataset/dataset.py755CODE
LOWdeepeval/dataset/dataset.py1507CODE
LOWdeepeval/annotation/annotation.py7CODE
LOWdeepeval/annotation/annotation.py43CODE
LOWdeepeval/models/_summac_model.py293CODE
LOWdeepeval/models/_summac_model.py526CODE
LOWdeepeval/models/llms/gemini_model.py60CODE
LOWdeepeval/models/llms/azure_model.py41CODE
LOWdeepeval/models/llms/amazon_bedrock_model.py40CODE
LOWdeepeval/cli/main.py416CODE
LOWdeepeval/cli/main.py821CODE
LOWdeepeval/cli/main.py2794CODE
LOWdeepeval/cli/test/command.py48CODE
LOWdeepeval/cli/generate/command.py41CODE
LOWdeepeval/synthesizer/synthesizer.py118CODE
LOWdeepeval/synthesizer/synthesizer.py672CODE
LOWdeepeval/synthesizer/synthesizer.py905CODE
LOWdeepeval/synthesizer/synthesizer.py2301CODE
LOWdeepeval/synthesizer/synthesizer.py2548CODE
LOWdeepeval/synthesizer/chunking/context_generator.py111CODE
LOWdeepeval/integrations/crewai/tool.py26CODE
LOWdeepeval/integrations/crewai/tool.py50CODE
LOWdeepeval/integrations/crewai/tool.py75CODE
LOWdeepeval/integrations/openinference/instrumentator.py379CODE
LOWdeepeval/integrations/openinference/otel.py66CODE
LOWdeepeval/integrations/langchain/callback.py85CODE
LOWdeepeval/integrations/langchain/patch.py40CODE
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.py271 Load test cases from a CSV file. This method reads a CSV file, extracting test case data based on specSTRING
HIGHdeepeval/dataset/dataset.py420 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.py1892Save 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 Comments24 hits · 38 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/dag/nodes.py413 # Check if all children are ClassificationResultNode and their classifications are booleanCOMMENT
LOWdeepeval/metrics/dag/nodes.py423 # Check if there is one True and one False classificationCOMMENT
LOWdeepeval/metrics/dag/nodes.py542 # Check if children is not emptyCOMMENT
LOWdeepeval/metrics/dag/nodes.py553 # Check if the verdict attribute of each child is a stringCOMMENT
LOWdeepeval/metrics/conversational_dag/nodes.py490 # Check if all children are ClassificationResultNode and their classifications are booleanCOMMENT
LOWdeepeval/metrics/conversational_dag/nodes.py502 # Check if there is one True and one False classificationCOMMENT
LOWdeepeval/metrics/conversational_dag/nodes.py657 # Check if children is not emptyCOMMENT
LOWdeepeval/metrics/conversational_dag/nodes.py670 # Check if the verdict attribute of each child is a stringCOMMENT
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.py575 # Add the trace to the queueCOMMENT
LOWdeepeval/tracing/tracing.py822 # 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.py52 api_key="your-api-key"STRING
AI Slop Vocabulary5 hits · 13 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.py139 # Trace-shape testing override: when a test harness has setCOMMENT
LOWdeepeval/dataset/utils.py279 # already a Task so just return itCOMMENT
LOWdeepeval/dataset/utils.py283 # If it is a future, it is already scheduled, so just return itCOMMENT
Fake / Example Data11 hits · 12 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
LOW…ics/knowledge_retention/templates/generate_verdict.txt43 "Phone Number": "555-1029"CODE
LOWdeepeval/cli/auth/flow.py36 "email": "user@example.com"}}STRING
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