Repository Analysis

Arize-ai/phoenix

AI Observability & Evaluation

12.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Arize-ai/phoenix, a Python project with 11,227 GitHub stars. SynthScan v2.0 examined 1,113,595 lines of code across 5486 source files, recording 11325 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 12.1 places this repository in the Low 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).

12.1
Adjusted Score
12.1
Raw Score
100%
Time Factor
2026-08-29
Last Push
11.2K
Stars
Python
Language
1.1M
Lines of Code
5.5K
Files
11.3K
Pattern Hits
2026-08-29
Scan Date
0.07
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 7HIGH 353MEDIUM 822LOW 10143

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 11325 distinct pattern matches across 26 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 Identifiers7741 hits · 6892 pts
SeverityFileLineSnippetContext
LOWevals/harbor/agents/phoenix_headless_agent.py33 def _to_pydantic_ai_model_name(harbor_model_name: str) -> str:CODE
LOWevals/harbor/container_assets/run_headless_agent.py63def _load_or_create_session_id(session_id_file: Path | None) -> str:CODE
LOWevals/harbor/scripts/test_phoenix_plugin_e2e.py136def _assert_regression_triage_evaluations(CODE
LOWevals/harbor/scripts/test_phoenix_plugin_e2e.py180def _assert_complete_experiment(CODE
LOWevals/pxi/online_evals/run.py127def _existing_annotation_keys(CODE
LOWevals/pxi/online_evals/run.py368def _append_github_step_summary(path: Path, report: dict[str, Any]) -> None:CODE
LOW…als/pxi/online_evals/evaluators/tool_count_per_turn.py19async def evaluate_tool_count_per_turn(root: v1.Span, spans: Sequence[v1.Span]) -> Score:CODE
LOW…als/pxi/online_evals/evaluators/suggestion_accepted.py30async def evaluate_suggestion_accepted(target: v1.Span, _spans: Sequence[v1.Span]) -> Score | None:CODE
LOWevals/pxi/tests/test_gate.py431def test_partial_retry_artifact_is_unmeasurable() -> None:CODE
LOWevals/pxi/tests/test_gate.py441def test_unexpected_retry_node_is_unmeasurable() -> None:CODE
LOWevals/pxi/tests/test_gate.py451def test_threshold_still_applies_after_confirmation() -> None:CODE
LOWevals/pxi/tests/test_gate.py496def test_old_schema_is_rejected() -> None:CODE
LOWevals/pxi/tests/test_gate.py502def test_missing_policy_is_unmeasurable_not_regression() -> None:CODE
LOWevals/pxi/tests/test_gate.py509def test_task_error_then_retry_miss_does_not_red_a_cell_with_other_passes() -> None:CODE
LOWevals/pxi/tests/test_gate.py122def test_artifact_aggregates_assessed_and_infra_rows_separately() -> None:CODE
LOWevals/pxi/tests/test_gate.py149def test_provider_error_never_enters_behavioral_denominator() -> None:CODE
LOWevals/pxi/tests/test_gate.py167def test_missing_evaluator_score_is_counted_as_infra() -> None:CODE
LOWevals/pxi/tests/test_gate.py180def test_gating_cell_with_zero_assessable_rows_is_unmeasurable() -> None:CODE
LOWevals/pxi/tests/test_gate.py191def test_first_miss_then_pass_is_flaky_recovery(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py205def test_same_assessable_evaluator_miss_twice_confirms_regression(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py220def test_different_evaluator_miss_on_retry_does_not_confirm_first_miss() -> None:CODE
LOWevals/pxi/tests/test_gate.py241def test_incidental_retry_infra_is_still_reported() -> None:CODE
LOWevals/pxi/tests/test_gate.py261def test_retry_infra_is_visible_but_not_regression_when_cell_remains_measurable() -> None:CODE
LOWevals/pxi/tests/test_gate.py276def test_retry_infra_that_leaves_zero_assessable_rows_is_unmeasurable() -> None:CODE
LOWevals/pxi/tests/test_gate.py286def test_task_error_on_first_attempt_is_retried(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py297def test_task_error_recovers_on_retry() -> None:CODE
LOWevals/pxi/tests/test_gate.py309def test_recurring_task_error_is_unmeasurable_not_a_regression() -> None:CODE
LOWevals/pxi/tests/test_gate.py324def test_task_error_then_single_retry_miss_cannot_be_confirmed() -> None:CODE
LOWevals/pxi/tests/test_gate.py343def test_zero_assessable_cell_gets_a_retry_chance_before_unmeasurable(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py354def test_bystander_evaluator_task_error_on_retry_is_still_reported() -> None:CODE
LOWevals/pxi/tests/test_gate.py390def test_retry_skipped_and_gate_fails_when_failures_exceed_cap(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py411def test_failures_within_cap_still_retry_normally(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py420def test_retry_scope_contains_only_initial_failed_nodeids(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py462def test_invalid_or_partial_initial_run_is_unmeasurable(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py473def test_vacuous_artifact_with_completed_examples_fails_closed() -> None:CODE
LOWevals/pxi/tests/test_gate.py482def test_expected_recording_not_bootstrapped_still_fails_closed() -> None:CODE
LOWevals/pxi/tests/test_gate.py533def test_mass_task_errors_over_cap_are_unmeasurable_not_a_pass(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py551def test_mass_behavioral_misses_over_cap_still_fail_not_unmeasurable(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py564def test_evaluator_error_on_initial_run_is_unmeasurable_not_a_pass() -> None:CODE
LOWevals/pxi/tests/test_gate.py583def test_confirmed_miss_within_tolerated_threshold_is_surfaced_not_silent_pass() -> None:CODE
LOWevals/pxi/tests/test_gate.py598def test_planning_and_reconciliation_modes_are_mutually_exclusive() -> None:CODE
LOWevals/pxi/tests/test_gate.py613def test_decision_out_writes_structured_summary(tmp_path: Path) -> None:CODE
LOWevals/pxi/tests/test_gate.py648def test_digest_includes_evaluator_details_and_both_phoenix_links() -> None:CODE
LOWevals/pxi/evaluators/tools.py61def _execute_browser_action_scripts(calls: list[dict[str, Any]]) -> list[str]:CODE
LOWevals/pxi/evaluators/tools.py73def _invoked_ui_operation_names(scripts: list[str]) -> list[str]:CODE
LOWevals/pxi/evaluators/tools.py81def _extract_ui_operation_arguments(script: str, operation_name: str) -> list[str]:CODE
LOWevals/pxi/evaluators/tools.py148def _expected_ui_operation_args(expected: Any) -> dict[str, Any]:CODE
LOWevals/pxi/evaluators/tools.py298def tool_call_count_within_limit(output: Any, expected: Any) -> dict[str, Any]:CODE
LOWevals/pxi/evaluators/tools.py322def _bash_command_expectations(expected: Any) -> list[dict[str, Any]] | None:CODE
LOWevals/pxi/evaluators/tools.py333def evaluate_bash_command_substrings(output: Any, expected: Any) -> dict[str, Any]:CODE
LOWevals/pxi/evaluators/tools.py383def bash_command_substrings_match(output: Any, expected: Any) -> dict[str, Any]:CODE
LOWevals/pxi/evaluators/tools.py533def _matcher_validation_failures(variants: list[dict[str, Any]]) -> dict[str, str]:CODE
LOWevals/pxi/evaluators/tools.py568def _invalid_arg_expectation_reason(expected_for_tool: Any) -> str | None:CODE
LOWevals/pxi/evaluators/tools.py671def _ui_operation_variant_passes(source: str, variant: dict[str, Any], script: str = "") -> bool:CODE
LOWevals/pxi/evaluators/tools.py783def evaluate_forbidden_tool_call_args(output: Any, expected: Any) -> dict[str, Any]:CODE
LOWevals/pxi/evaluators/tools.py866def forbidden_tool_call_args_match(output: Any, expected: Any) -> dict[str, Any]:CODE
LOWevals/pxi/evaluators/links.py27def _expects_route_info_before_in_app_links(expected: Any) -> bool:CODE
LOWevals/pxi/evaluators/links.py57def _absolute_app_link_reason(href: str, required_paths: list[str]) -> str | None:CODE
LOWevals/pxi/evaluators/links.py76def _is_root_relative_app_href(href: str) -> bool:CODE
LOWevals/pxi/evaluators/links.py80def _in_app_hrefs_before_tool(output: Any, tool_name: str) -> list[str]:CODE
7681 more matches not shown…
Decorative Section Separators484 hits · 1470 pts
SeverityFileLineSnippetContext
MEDIUMevals/pxi/harness/reporting.py232# ---------------------------------------------------------------------------COMMENT
MEDIUMevals/pxi/harness/reporting.py239# ---------------------------------------------------------------------------COMMENT
MEDIUMjs/app/stories/BorderAndDividerLines.stories.tsx231// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMjs/app/stories/BorderAndDividerLines.stories.tsx233// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMjs/app/src/components/core/overlay/index.ts14// ── The frame: planes, blocking state, portal re-homing ──────────────────COMMENT
MEDIUMjs/app/src/components/core/overlay/index.ts26// ── Tier 1: viewport modal (blocks the workspace, not the rail) ──────────COMMENT
MEDIUMjs/app/src/components/core/overlay/index.ts42// ── Non-modal surfaces: popovers (and, via Popover, menus) ────────────────COMMENT
MEDIUMjs/app/src/components/core/overlay/index.ts49// ── Non-modal surfaces: the drawer ────────────────────────────────────────COMMENT
MEDIUMjs/app/src/components/core/overlay/index.ts67// ── Stacking: bands and the CSS token contract ────────────────────────────COMMENT
MEDIUMjs/app/src/components/core/overlay/index.ts78// ── Shared vocabulary ─────────────────────────────────────────────────────COMMENT
MEDIUMjs/packages/phoenix-cli/src/commands/formatTable.ts23 * // ┌────────────┬──────────┬──────────┐COMMENT
MEDIUMjs/packages/phoenix-cli/src/commands/formatTable.ts25 * // ├────────────┼──────────┼──────────┤COMMENT
MEDIUMjs/packages/phoenix-cli/src/commands/formatTable.ts28 * // └────────────┴──────────┴──────────┘COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md194# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md196# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md206# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md208# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md123# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md125# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md149# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md151# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md162# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md164# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md178# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md180# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md238# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md240# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md281# ==============================================================================COMMENT
MEDIUM…ternal_docs/specs/ldap-authentication/configuration.md283# ==============================================================================COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py46# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py218# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py220# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py318# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py320# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py358# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py360# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py764# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py766# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py799# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py801# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py971# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py973# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py1051# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py1053# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/trace/gen_ai/test_conversion.py121# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/test_app_evaluations.py249# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/test_app_evaluations.py251# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py213# ===========================================================================COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py215# ===========================================================================COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py249# ===========================================================================COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py251# ===========================================================================COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py870# ===========================================================================COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py872# ===========================================================================COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py906# ===========================================================================COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py908# ===========================================================================COMMENT
MEDIUMtests/unit/server/daemons/test_experiment_runner.py949# ===========================================================================COMMENT
424 more matches not shown…
Docstring Block Structure205 hits · 1002 pts
SeverityFileLineSnippetContext
HIGHtests/unit/_helpers.py210 Verify that the experiments_dataset_examples junction table contains the expected entries. This function uses STRING
HIGHtests/integration/_helpers.py2006If no_wait, run the query once. Otherwise, retry it if it returns None and raise if retries are exhausted. ArgsSTRING
HIGHtests/integration/db_migrations/__init__.py93Get schema information for a database table. Retrieves comprehensive schema information for a table, including its STRING
HIGH…igration_6a88424799fe_update_users_with_auth_method.py283Create a new local authentication user. Creates a user with: - Local authentication method ('LOCAL') - PassSTRING
HIGH…igration_6a88424799fe_update_users_with_auth_method.py333Create a new OAuth2 user. Creates a user with: - External authentication method ('OAUTH2') - OAuth2 credentSTRING
HIGH…generate_data_via_plpgsql/generate_span_annotations.py178Run a SQL script file using psql. Args: db_name (str): Database name db_user (str): Database user STRING
HIGH…ripts/llm_token_pricing_tables/litellm_model_prices.py41Process the model prices JSON file from a URL into a pandas DataFrame. Args: url: URL to fetch the JSON datSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/utils.py180 Remap eval_input keys based on required_fields and an optional input_mapping. Args: eval_input: The inSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/utils.py275 Extract a value from a nested JSON structure using jsonpath-ng. Args: data: The input dictionary to beSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/utils.py415Format scores as annotations for logging to Phoenix. This function takes the output of evaluate_dataframe, and a liSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/evaluators.py129Remap and validate evaluation input. Args: eval_input: The raw evaluation input dictionary. requireSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/evaluators.py602 LLM-based evaluator for classification-style judgements. Supports label-only or label+score mappings, and retuSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/evaluators.py834 Decorator that turns a simple function into an Evaluator instance. The decorated function should accept keyworSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/evaluators.py1142 Factory to create a `ClassificationEvaluator`. Note: The evaluator requires the LLM to have tool calling or stSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/evaluators.py1226 Helper to bind an evaluator with a fixed input mapping. This function allows you to create a version of an evaSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/evaluators.py1417 Evaluate a dataframe with a list of evaluators and return an augmented dataframe. This function uses a synchroSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/evaluators.py1568 Evaluate a dataframe with a list of evaluators and return an augmented dataframe. This function uses an asynchSTRING
HIGH…ges/phoenix-evals/src/phoenix/evals/metrics/refusal.py14 An evaluator for detecting when an LLM refuses or declines to answer a query. Args: llm (LLM): The LLMSTRING
HIGH…oenix-evals/src/phoenix/evals/metrics/pii_detection.py14 An evaluator for detecting personally identifiable information (PII) in a conversation record. Args: STRING
HIGH…es/phoenix-evals/src/phoenix/evals/metrics/toxicity.py14 An evaluator for detecting toxic text — hateful, demeaning, abusive, or threatening. Args: llm (LLM): STRING
HIGH…hoenix-evals/src/phoenix/evals/metrics/faithfulness.py14 A specialized evaluator for detecting faithfulness in grounded LLM responses. Args: llm (LLM): The LLMSTRING
HIGH…phoenix-evals/src/phoenix/evals/metrics/exact_match.py6Return exact_match score: 1.0 if output == expected else 0.0. Note: No text normalization is performed. Args: STRING
HIGH…ix-evals/src/phoenix/evals/metrics/precision_recall.py67 Code evaluator that computes precision, recall, and F-beta score given lists of expected and output labels. STRING
HIGH…phoenix-evals/src/phoenix/evals/metrics/correctness.py14 An evaluator for assessing factual accuracy and completeness of model outputs. Args: llm (LLM): The LLSTRING
HIGH…enix-evals/src/phoenix/evals/metrics/tool_selection.py14 A specialized evaluator for determining if the correct tool was selected for a given context. Args: llSTRING
HIGH…nix-evals/src/phoenix/evals/metrics/tool_invocation.py14 Determines if a tool was invoked correctly with proper arguments, formatting, and safe content. Args: STRING
HIGH…evals/src/phoenix/evals/metrics/retrieval_relevance.py14 An evaluator for whether the external information retrieved during a step is relevant to the request it was serSTRING
HIGH…oenix-evals/src/phoenix/evals/metrics/user_friction.py14 An evaluator for detecting when a user expresses friction with an assistant's preceding behavior. Args: STRING
HIGH…-evals/src/phoenix/evals/metrics/document_relevance.py14 A specialized evaluator for determining document relevance to a given question. Args: llm (LLM): TSTRING
HIGH…oenix-evals/src/phoenix/evals/metrics/hallucination.py14 An evaluator for detecting hallucinations in an assistant's latest response, judged against the conversation itSTRING
HIGH…phoenix-evals/src/phoenix/evals/metrics/conciseness.py14 An evaluator for assessing whether model outputs are concise and free of unnecessary content. Args: llSTRING
HIGH…ls/src/phoenix/evals/metrics/tool_response_handling.py14 Determines if an AI agent properly handled a tool's response, including error handling, data extraction, transfSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/llm/wrapper.py318Generate a classification given a prompt and a set of labels. Args: prompt (Union[str, List[Dict[stSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/llm/wrapper.py456Generate a JSON Schema for an LLM function/structured output call that classifies a single criterion. Args: STRING
HIGHpackages/phoenix-evals/src/phoenix/evals/llm/prompts.py608Factory function to create appropriate ContentPartTemplate from a dict. Args: content_part: Dictionary withSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/llm/prompts.py827Render the template with the given variables. Args: variables (Dict[str, Any]): The variables to suSTRING
HIGHpackages/phoenix-evals/src/phoenix/evals/llm/prompts.py1001Render the template with the given variables. Args: variables: The variables to substitute into theSTRING
HIGHpackages/phoenix-client/scripts/codegen/transform.py405 Sort class definitions so that each parent class appears before its children. Args: class_nodes: MappiSTRING
HIGH…enix-client/src/phoenix/client/experiments/__init__.py33 Run an experiment using a given dataset of examples. An experiment is a user-defined task that runs on each exSTRING
HIGH…enix-client/src/phoenix/client/experiments/__init__.py224 Run an experiment using a given dataset of examples. An experiment is a user-defined task that runs on each exSTRING
HIGH…enix-client/src/phoenix/client/experiments/__init__.py408 Get a completed experiment by ID. This function retrieves a completed experiment with all its task runs and evSTRING
HIGH…enix-client/src/phoenix/client/experiments/__init__.py475 Resume an incomplete experiment by running only the missing or failed runs. This method identifies which (examSTRING
HIGH…enix-client/src/phoenix/client/experiments/__init__.py547 Get a completed experiment by ID. This function retrieves a completed experiment with all its task runs and STRING
HIGH…enix-client/src/phoenix/client/experiments/__init__.py614 Resume an incomplete experiment by running only the missing or failed runs. This method identifies which (examSTRING
HIGH…enix-client/src/phoenix/client/experiments/__init__.py695 Run evaluators on a completed experiment. An evaluator is either a synchronous or asynchronous function that rSTRING
HIGH…enix-client/src/phoenix/client/experiments/__init__.py889 Run evaluators on a completed experiment. An `evaluator` is either a synchronous or asynchronous function thatSTRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py105Add a single trace annotation. Args: trace_id (str): The ID of the trace to annotate. aSTRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py195Log multiple trace annotations. Args: trace_annotations (Iterable[TraceAnnotationData]): An iterablSTRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py263Log multiple trace annotations from a pandas DataFrame. This method allows you to create multiple trace annotatSTRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py352Retrieves traces for a project. Args: project_identifier (str): The project identifier (name or ID)STRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py501Add a single trace annotation asynchronously. Args: trace_id (str): The ID of the trace to annotateSTRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py591Log multiple trace annotations asynchronously. Args: trace_annotations (Iterable[TraceAnnotationDatSTRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py659Log multiple trace annotations from a pandas DataFrame asynchronously. This method allows you to create multiplSTRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py748Retrieves traces for a project asynchronously. Args: project_identifier (str): The project identifiSTRING
HIGH…-client/src/phoenix/client/resources/spans/__init__.py184Retrieves spans based on the provided filter conditions. Args: query (Optional[SpanQuery]): A SpanQSTRING
HIGH…-client/src/phoenix/client/resources/spans/__init__.py267Fetches span annotations and returns them as a pandas DataFrame. Exactly one of *spans_dataframe*, *span_ids*, STRING
HIGH…-client/src/phoenix/client/resources/spans/__init__.py392Fetches span annotations and returns them as a list of SpanAnnotation objects. Exactly one of *span_ids* or *spSTRING
HIGH…-client/src/phoenix/client/resources/spans/__init__.py497Retrieves spans with simple filtering options. Args: project_identifier (str): The project identifiSTRING
HIGH…-client/src/phoenix/client/resources/spans/__init__.py605Logs spans to a project. If any spans are invalid or duplicates, no spans will be logged and a SpanCreaSTRING
HIGH…-client/src/phoenix/client/resources/spans/__init__.py647Logs spans to a project from a pandas DataFrame. If any spans are invalid or duplicates, no spans will be loggeSTRING
145 more matches not shown…
Unused Imports660 hits · 618 pts
SeverityFileLineSnippetContext
LOWevals/pxi/conftest.py12CODE
LOWevals/pxi/gate.py15CODE
LOWevals/pxi/rowstate.py11CODE
LOWevals/pxi/online_evals/rendering.py16CODE
LOWevals/pxi/online_evals/rendering.py20CODE
LOWevals/pxi/online_evals/conversation.py21CODE
LOWevals/pxi/online_evals/judge.py9CODE
LOWevals/pxi/online_evals/topology.py3CODE
LOWevals/pxi/online_evals/message_origin.py10CODE
LOW…als/pxi/online_evals/evaluators/tool_count_per_turn.py1CODE
LOW…als/pxi/online_evals/evaluators/suggestion_accepted.py3CODE
LOWevals/pxi/online_evals/evaluators/user_friction.py13CODE
LOWevals/pxi/tests/test_pxi_evals.py12CODE
LOWevals/pxi/tests/test_gate.py3CODE
LOWevals/pxi/evaluators/tools.py1CODE
LOWevals/pxi/evaluators/links.py1CODE
LOWevals/pxi/evaluators/text.py1CODE
LOWevals/pxi/harness/datasets.py1CODE
LOWevals/pxi/harness/run_experiment.py1CODE
LOWevals/pxi/harness/agent_task.py1CODE
LOWevals/pxi/harness/reporting.py8CODE
LOW…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py41CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py54CODE
LOWtests/unit/pxi/evals/test_run_experiment.py8CODE
LOWtests/unit/pxi/evals/conftest.py3CODE
LOWtests/unit/pxi/evals/test_evaluators.py8CODE
LOWtests/unit/pxi/evals/test_datasets.py8CODE
LOWtests/unit/pxi/evals/test_evaluator_matchers.py8CODE
LOWtests/unit/pxi/evals/test_reporting.py10CODE
LOWtests/unit/pxi/evals/test_agent_task_inputs.py1CODE
LOW…nit/pxi/evals/online_evals/test_tool_count_per_turn.py1CODE
LOW…unit/pxi/evals/online_evals/test_real_trace_fixture.py16CODE
LOWtests/unit/pxi/evals/online_evals/test_user_friction.py1CODE
LOW…nit/pxi/evals/online_evals/test_suggestion_accepted.py1CODE
LOWtests/unit/server/test_oauth2_rate_limiter_wiring.py14CODE
LOWtests/unit/server/test_static_well_known.py9CODE
LOWtests/unit/server/test_oauth2_grant_claims.py6CODE
LOWtests/unit/server/test_well_known_path_inserted.py10CODE
LOWtests/unit/server/test_anonymous_cors.py9CODE
LOWtests/unit/server/test_mcp_code_mode.py7CODE
LOWtests/unit/server/test_app_docs_mcp_lifespan.py11CODE
LOW…s/unit/server/test_oauth2_authorization_server_flag.py11CODE
LOW…/test_graphql_write_mutations_require_is_not_viewer.py1CODE
LOWtests/unit/server/test_bearer_auth.py11CODE
LOW…s/unit/server/middleware/test_js_sandbox_worker_csp.py12CODE
LOWtests/unit/server/daemons/test_system_settings.py3CODE
LOWtests/unit/server/daemons/test_experiment_runner.py1CODE
LOWtests/unit/server/agents/test_agent_factory.py1CODE
LOWtests/unit/server/agents/test_data_stream_protocol.py1CODE
LOWtests/unit/server/agents/test_skill_requests.py1CODE
LOW…it/server/agents/test_ui_message_stream_conformance.py1CODE
LOW…ts/unit/server/agents/capabilities/test_phoenix_mcp.py7CODE
LOW…t/server/agents/capabilities/test_native_tool_retry.py1CODE
LOW…ents/capabilities/tools/internal/test_call_subagent.py1CODE
LOW…agents/pydantic_ai/test_openinference_model_wrapper.py1CODE
LOW…ents/pydantic_ai/test_openinference_toolset_wrapper.py1CODE
LOW…s/pydantic_ai/test_openinference_capability_wrapper.py1CODE
LOW…agents/pydantic_ai/test_openinference_agent_wrapper.py1CODE
LOWtests/unit/server/agents/prompts/test_static_prompts.py1CODE
LOWtests/unit/server/agents/skills/test_phoenix_graphql.py1CODE
600 more matches not shown…
Excessive Try-Catch Wrapping474 hits · 524 pts
SeverityFileLineSnippetContext
LOWevals/harbor/container_assets/fetch_fixtures.py55 except Exception as exc:CODE
LOWevals/harbor/scripts/test_phoenix_plugin_e2e.py611 except Exception as error:CODE
LOWevals/pxi/online_evals/run.py246 except Exception:CODE
LOWevals/pxi/online_evals/run.py308 except Exception:CODE
LOWevals/pxi/tests/test_pxi_evals.py166 except Exception as exc:CODE
LOWevals/pxi/harness/run_experiment.py330 except Exception as cleanup_exc: # pragma: no cover - best-effort cleanupCODE
LOWevals/pxi/harness/agent_task.py107 except Exception as exc: # noqa: BLE001CODE
LOWevals/pxi/harness/agent_task.py122 except Exception: # noqa: BLE001CODE
LOWevals/pxi/harness/agent_task.py638 except Exception as exc:CODE
LOW…al_docs/vignettes/postgresql/advisory-lock-analysis.md273 except Exception:CODE
LOW…al_docs/vignettes/postgresql/advisory-lock-analysis.md462 except Exception:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py642 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py648 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py654 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py660 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py676 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py682 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py688 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py694 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py354 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py394 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py431 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py468 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py499 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py532 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py565 except Exception as e:CODE
LOW…ernal_docs/vignettes/postgresql_tls/test_connection.py598 except Exception as e:CODE
MEDIUM…nal_docs/vignettes/postgresql_tls/generate_pg_certs.py60 print(f"Error writing to file {filename}: {e}")CODE
MEDIUM…nal_docs/vignettes/postgresql_tls/generate_pg_certs.py173 print("Error: Failed to generate certificates")STRING
LOWinternal_docs/specs/ldap-authentication/security.md96 except Exception:CODE
LOW…nt-runner-background-process/appendix-rate-limiting.md323 except Exception as e:CODE
LOW…nt-runner-background-process/appendix-rate-limiting.md371 except Exception as e:CODE
LOWtests/unit/conftest.py276 except Exception:CODE
LOWtests/unit/conftest.py280 except Exception:CODE
LOWtests/unit/server/mcp/sql/test_parse.py923 except Exception:CODE
LOWtests/unit/server/mcp/sql/test_sqlite_authorizer.py181 except Exception:CODE
LOWtests/unit/server/mcp/sql/test_node_coverage.py152 except Exception:CODE
LOWtests/integration/conftest.py217 except Exception:CODE
LOWtests/integration/_mock_ldap_server.py319 except Exception as e:CODE
LOWtests/integration/_mock_llm_server.py451 except Exception as e:CODE
LOWtests/integration/_mock_llm_server.py636 except Exception as e:CODE
LOWtests/integration/_helpers.py1553 except Exception:CODE
LOWtests/integration/client/test_experiments.py339 except Exception:CODE
LOWtests/integration/client/test_experiments.py389 except Exception:CODE
LOW…ation_e76cbd66ffc3_add_experiments_dataset_examples.py264 except Exception:CODE
LOW…ation_e76cbd66ffc3_add_experiments_dataset_examples.py370 except Exception:CODE
LOW.agents/skills/phoenix-github/scripts/rollover.py115 except Exception as exc: # keep going; report at the endCODE
LOW.agents/skills/phoenix-github/scripts/rollover.py126 except Exception as exc:CODE
LOW.agents/skills/phoenix-github/scripts/roadmap.py391 except Exception as exc:CODE
LOW.agents/skills/phoenix-github/scripts/roadmap.py399 except Exception as exc:CODE
LOW.agents/skills/phoenix-github/scripts/roadmap.py426 except Exception as exc:CODE
LOWexamples/rag_agent/tools.py159 except Exception as e:STRING
LOWexamples/agents/run_scaled.py89 except Exception as e:CODE
LOWexamples/agents/run_scaled.py161 except Exception as e:CODE
LOWexamples/agents/run_scaled.py237 except Exception as e:CODE
LOWexamples/agents/tau_bench_openai_agents/run.py131 except Exception as e:CODE
LOWexamples/agents/traject_bench_langgraph/run.py141 except Exception as e:CODE
LOWexamples/agents/traject_bench_langgraph/agent.py206 except Exception as e:CODE
LOWexamples/agents/tau_bench_langgraph/run.py135 except Exception as e:CODE
LOWexamples/computer_use_agent/agent.py75 except Exception as e:CODE
414 more matches not shown…
Self-Referential Comments180 hits · 469 pts
SeverityFileLineSnippetContext
MEDIUM…/src/components/experiment/RunExperimentCodeDialog.tsx43 `# Define an evaluator. This just an example.\n` +CODE
MEDIUM…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py24 # Create a local userSTRING
MEDIUM…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py29 # Create an external userSTRING
MEDIUM…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py286 # Create an in-memory SQLite databaseCOMMENT
MEDIUM…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py295 # Create a sessionCOMMENT
MEDIUM…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py299 # Create a local user with passwordCOMMENT
MEDIUM…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py307 # Create an external userCOMMENT
MEDIUM…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py323 # Create a sessionCOMMENT
MEDIUMtests/unit/test_tracers.py723 # Create a hierarchy:COMMENT
MEDIUMtests/unit/test_config.py2158 # Create a dummy CA cert fileCOMMENT
MEDIUMtests/unit/server/api/test_cancellation.py88 # Create a tracker that shares the operation_order listCOMMENT
MEDIUMtests/unit/server/api/test_cancellation.py92 # Create a real async generatorCOMMENT
MEDIUMtests/unit/server/api/test_cancellation.py102 # Create a task that takes time to process cancellationCOMMENT
MEDIUMtests/unit/server/api/test_cancellation.py145 # Create an already-completed taskCOMMENT
MEDIUMtests/unit/server/api/test_cancellation.py353 # Create a task for the in-progress generatorCOMMENT
MEDIUMtests/unit/server/api/test_queries.py2509 # Create a builtin evaluator without a dataset associationCOMMENT
MEDIUMtests/unit/server/api/test_queries.py614 # Create a prompt version for each promptSTRING
MEDIUMtests/unit/server/api/routers/v1/test_traces.py374 # Create a trace with multiple spans (parent and child)COMMENT
MEDIUMtests/unit/server/api/routers/v1/test_traces.py517 # Create a relay GlobalID for a non-existent traceCOMMENT
MEDIUMtests/unit/server/api/routers/v1/test_projects.py73 # Create a dictionary of projects by ID for easy lookupCOMMENT
MEDIUMtests/unit/server/api/routers/v1/test_projects.py580 # Create a valid cursor format (base64-encoded project ID)COMMENT
MEDIUMtests/unit/server/api/routers/v1/test_projects.py604 # Create a small number of test projectsCOMMENT
MEDIUMtests/unit/server/api/routers/v1/test_projects.py760 # Create a regular experiment project - this should be filtered by defaultCOMMENT
MEDIUMtests/unit/server/api/routers/v1/test_projects.py780 # Create an experiment for the regular experiment projectCOMMENT
MEDIUMtests/unit/server/api/routers/v1/test_projects.py792 # Create the playground project - this should always be visibleCOMMENT
MEDIUMtests/unit/server/api/routers/v1/test_projects.py800 # Create an experiment using the playground project - this shouldn't affect visibilityCOMMENT
MEDIUM…unit/server/api/routers/v1/test_list_project_traces.py77 # Create a lightweight Trace object for assertionsCOMMENT
MEDIUMtests/unit/server/api/routers/v1/test_experiments.py624 # Create a fresh experiment and verify the create response has correct countsCOMMENT
MEDIUMtests/unit/server/api/routers/v1/test_spans.py280 # Create the hierarchy: parent -> children -> grandchild + siblingCOMMENT
MEDIUM…/unit/server/api/routers/v1/test_annotation_configs.py91 # Create a categorical annotation configCOMMENT
MEDIUM…t/server/api/types/test_ProjectTraceRetentionPolicy.py47 # Create a project with default trace retention policyCOMMENT
MEDIUM…t/server/api/types/test_ProjectTraceRetentionPolicy.py50 # Create a custom trace retention policyCOMMENT
MEDIUMtests/unit/server/api/types/test_Trace.py345 # Create a trace with 5 spansCOMMENT
MEDIUMtests/unit/server/api/types/test_Dataset.py1346 # Create a prompt for the evaluatorsSTRING
MEDIUMtests/unit/server/api/types/test_Dataset.py1351 # Create a prompt versionSTRING
MEDIUMtests/unit/server/api/types/test_Project.py2284 # Create a test projectCOMMENT
MEDIUMtests/unit/server/api/types/test_Project.py3194 # Create a test projectCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py1454 # Create a different prompt with a versionCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py1861 # Create a second version for the same promptCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py1867 # Create a second versionCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py2866 # Create a builtin dataset evaluatorCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py2997 # Create an LLM evaluator with dataset relationshipCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py3104 # Create a builtin dataset evaluatorCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py3122 # Create an LLM evaluatorCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py3284 # Create an LLM evaluator with promptCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py3396 # Create an LLM evaluator with promptCOMMENT
MEDIUM…/unit/server/api/mutations/test_evaluator_mutations.py3940 # Create the builtin evaluator and verify continuous config is returnedCOMMENT
MEDIUM…tions/test_project_trace_retention_policy_mutations.py138 # Create a new retention policySTRING
MEDIUM…tions/test_project_trace_retention_policy_mutations.py324 # Create a GlobalID for the default policy to use in GraphQL operationsSTRING
MEDIUM…rver/api/mutations/test_annotation_config_mutations.py269 # Create a categorical annotation configSTRING
MEDIUM…rver/api/mutations/test_annotation_config_mutations.py833 # Create a categorical annotation configSTRING
MEDIUM…rver/api/mutations/test_annotation_config_mutations.py894 # Create a categorical annotation configSTRING
MEDIUMtests/unit/server/api/mutations/test_trace_mutations.py263 # Create a sessionSTRING
MEDIUMtests/unit/server/api/mutations/test_trace_mutations.py290 # Create a span for the first traceSTRING
MEDIUMtests/unit/server/api/mutations/test_trace_mutations.py330 # Create a span for the second traceSTRING
MEDIUMtests/unit/server/api/mutations/test_trace_mutations.py375 # Create a span for the third traceSTRING
MEDIUM…ts/unit/server/api/mutations/test_project_mutations.py57 # Create a new projectSTRING
MEDIUM…ts/unit/server/api/mutations/test_project_mutations.py71 # Create a project session for the first two tracesSTRING
MEDIUM…ts/unit/server/api/mutations/test_project_mutations.py83 # Create a traceSTRING
MEDIUMtests/unit/server/api/helpers/test_evaluators.py2120 # Create a custom output config with different labelsCOMMENT
120 more matches not shown…
Deep Nesting380 hits · 308 pts
SeverityFileLineSnippetContext
LOW…regression-triage/environment/generate_fixture_data.py44CODE
LOWevals/harbor/scripts/test_phoenix_plugin_e2e.py75CODE
LOWevals/pxi/conftest.py55CODE
LOWevals/pxi/conftest.py166CODE
LOWevals/pxi/gate.py400CODE
LOWevals/pxi/online_evals/run.py210CODE
LOWevals/pxi/online_evals/rendering.py84CODE
LOWevals/pxi/evaluators/tools.py81CODE
LOWevals/pxi/evaluators/tools.py533CODE
LOWevals/pxi/harness/run_experiment.py90CODE
LOWevals/pxi/harness/agent_task.py327CODE
LOWevals/pxi/harness/reporting.py141CODE
LOWtests/unit/conftest.py75CODE
LOWtests/unit/graphql.py98CODE
LOWtests/unit/trace/dsl/trace_filter_reference.py379CODE
LOWtests/unit/trace/dsl/test_session_filter.py761CODE
LOWtests/unit/pxi/evals/online_evals/test_user_friction.py51CODE
LOWtests/unit/server/api/test_wasm_backend.py136CODE
LOWtests/unit/server/api/test_wasm_backend.py200CODE
LOWtests/unit/server/api/test_wasm_backend.py270CODE
LOWtests/unit/server/api/test_wasm_backend.py340CODE
LOWtests/unit/server/api/test_wasm_backend.py414CODE
LOWtests/unit/server/api/test_wasm_backend.py453CODE
LOWtests/unit/server/api/test_wasm_backend.py481CODE
LOWtests/unit/server/api/test_wasm_backend.py719CODE
LOWtests/unit/server/api/test_subscriptions.py1932CODE
LOWtests/unit/server/api/types/test_Span.py358CODE
LOWtests/unit/server/api/types/test_Project.py2268CODE
LOWtests/unit/server/api/types/test_Project.py3248CODE
LOWtests/unit/server/api/dataloaders/conftest.py12CODE
LOWtests/unit/server/api/helpers/test_evaluators.py2552CODE
LOWtests/unit/server/api/helpers/test_evaluators.py3058CODE
LOWtests/unit/server/api/helpers/test_evaluators.py3279CODE
LOW…t/server/cost_tracking/test_cost_details_calculator.py811CODE
LOWtests/unit/db/test_helpers.py65CODE
LOWtests/integration/conftest.py159CODE
LOWtests/integration/conftest.py162CODE
LOWtests/integration/_mock_ldap_server.py283CODE
LOWtests/integration/_mock_ldap_server.py498CODE
LOWtests/integration/_mock_llm_server.py344CODE
LOWtests/integration/_mock_llm_server.py460CODE
LOWtests/integration/_mock_llm_server.py208CODE
LOWtests/integration/_mock_llm_server.py602CODE
LOWtests/integration/_helpers.py690CODE
LOWtests/integration/_helpers.py2460CODE
LOWtests/integration/experiments/conftest.py431CODE
LOWtests/integration/experiments/test_playground.py161CODE
LOWtests/integration/experiments/test_playground.py330CODE
LOWtests/integration/experiments/test_playground.py266CODE
LOWtests/integration/experiments/test_playground.py375CODE
LOW…/integration/project_sessions/test_project_sessions.py34CODE
LOWtests/integration/client/test_datasets.py889CODE
LOWtests/integration/client/test_annotations.py2957CODE
LOWtests/integration/client/test_users.py101CODE
LOWtests/integration/client/test_experiments.py277CODE
LOWtests/integration/client/test_experiments.py482CODE
LOWtests/integration/client/test_experiments.py2953CODE
LOWtests/integration/client/test_experiments.py3087CODE
LOWtests/integration/client/test_spans.py745CODE
LOWtests/integration/db_migrations/__init__.py87CODE
320 more matches not shown…
Cross-File Repetition51 hits · 255 pts
SeverityFileLineSnippetContext
HIGHtests/unit/server/sandbox/test_modal_backend.py0a classified sdk exception inside run_code must propagate, not wrap. without the narrow re-raise the manager has no signSTRING
HIGHtests/unit/server/sandbox/test_vercel_backend.py0a classified sdk exception inside run_code must propagate, not wrap. without the narrow re-raise the manager has no signSTRING
HIGHtests/unit/server/sandbox/test_e2b_backend.py0a classified sdk exception inside run_code must propagate, not wrap. without the narrow re-raise the manager has no signSTRING
HIGHtests/unit/server/api/routers/v1/test_traces.py0contains a project with a single trace and a single span.STRING
HIGHtests/unit/server/api/routers/v1/test_spans.py0contains a project with a single trace and a single span.STRING
HIGHtests/unit/server/api/types/test_SpanAnnotation.py0contains a project with a single trace and a single span.STRING
HIGHtests/unit/server/api/types/test_Span.py0contains a project with a single trace and a single span.STRING
HIGHtests/unit/server/api/types/test_TraceAnnotation.py0contains a project with a single trace and a single span.STRING
HIGHtests/integration/dataset_labels/conftest.py0combine all environment variable configurations for testing.STRING
HIGHtests/integration/auth/conftest.py0combine all environment variable configurations for testing.STRING
HIGHtests/integration/experiments/conftest.py0combine all environment variable configurations for testing.STRING
HIGHtests/integration/project_sessions/conftest.py0combine all environment variable configurations for testing.STRING
HIGHtests/integration/server/test_db_disk_usage_monitor.py0combine all environment variable configurations for testing.STRING
HIGHtests/integration/experiment_tags/conftest.py0combine all environment variable configurations for testing.STRING
HIGHtests/integration/client/conftest.py0combine all environment variable configurations for testing.STRING
HIGHtests/integration/annotation_configs/conftest.py0combine all environment variable configurations for testing.STRING
HIGHexamples/agents/tau_bench_openai_agents/run.py0return a timestamped default output path under examples/results.STRING
HIGHexamples/agents/traject_bench_langgraph/run.py0return a timestamped default output path under examples/results.STRING
HIGHexamples/agents/tau_bench_langgraph/run.py0return a timestamped default output path under examples/results.STRING
HIGH…amples/agents/tau_bench_openai_agents/phoenix_setup.py0resolve otlp traces endpoint, preferring phoenix_collector_endpoint env var. falls back to phoenix_endpoint (the phoenixSTRING
HIGH…amples/agents/traject_bench_langgraph/phoenix_setup.py0resolve otlp traces endpoint, preferring phoenix_collector_endpoint env var. falls back to phoenix_endpoint (the phoenixSTRING
HIGHexamples/agents/tau_bench_langgraph/phoenix_setup.py0resolve otlp traces endpoint, preferring phoenix_collector_endpoint env var. falls back to phoenix_endpoint (the phoenixSTRING
HIGH…amples/agents/tau_bench_openai_agents/phoenix_setup.py0return the phoenix ui base url (without the otlp `/v1/traces` suffix). prefers phoenix_endpoint, then phoenix_collector_STRING
HIGH…amples/agents/traject_bench_langgraph/phoenix_setup.py0return the phoenix ui base url (without the otlp `/v1/traces` suffix). prefers phoenix_endpoint, then phoenix_collector_STRING
HIGHexamples/agents/tau_bench_langgraph/phoenix_setup.py0return the phoenix ui base url (without the otlp `/v1/traces` suffix). prefers phoenix_endpoint, then phoenix_collector_STRING
HIGH…t_calculations/generate_spans_for_cost_calculations.py0generate n random numbers that sum to total using dirichlet distribution. args: total (int): the total sum that the geneSTRING
HIGH…_for_large_session/generate_spans_for_large_session.py0generate n random numbers that sum to total using dirichlet distribution. args: total (int): the total sum that the geneSTRING
HIGHscripts/generate_spans/generate_spans_deeply_nested.py0generate n random numbers that sum to total using dirichlet distribution. args: total (int): the total sum that the geneSTRING
HIGH…ripts/generate_spans/generate_spans_for_time_series.py0generate n random numbers that sum to total using dirichlet distribution. args: total (int): the total sum that the geneSTRING
HIGH…t_calculations/generate_spans_for_cost_calculations.py0generate a synthetic llm span with random token counts and model information. creates a span with the following attributSTRING
HIGH…_for_large_session/generate_spans_for_large_session.py0generate a synthetic llm span with random token counts and model information. creates a span with the following attributSTRING
HIGHscripts/generate_spans/generate_spans_deeply_nested.py0generate a synthetic llm span with random token counts and model information. creates a span with the following attributSTRING
HIGH…ripts/generate_spans/generate_spans_for_time_series.py0generate a synthetic llm span with random token counts and model information. creates a span with the following attributSTRING
HIGHscripts/testing/otel_gen_ai/send_openai_traces.py0otlp traces url for the exporter below. ``phoenix_collector_endpoint`` may be a base url or already carry the otlp path;STRING
HIGHscripts/testing/otel_gen_ai/send_google_traces.py0otlp traces url for the exporter below. ``phoenix_collector_endpoint`` may be a base url or already carry the otlp path;STRING
HIGHscripts/testing/otel_gen_ai/send_anthropic_traces.py0otlp traces url for the exporter below. ``phoenix_collector_endpoint`` may be a base url or already carry the otlp path;STRING
HIGH…_llama_index_with_recursive_character_text_splitter.py0loads documents from a gitbook url. args: docs_url (str): url to gitbook docs. returns: list[langchaindocument]: list ofSTRING
HIGHscripts/data/build_langchain_vector_store.py0loads documents from a gitbook url. args: docs_url (str): url to gitbook docs. returns: list[langchaindocument]: list ofSTRING
HIGHscripts/data/fetch_arize_documentation.py0loads documents from a gitbook url. args: docs_url (str): url to gitbook docs. returns: list[langchaindocument]: list ofSTRING
HIGH…kages/phoenix-evals/src/phoenix/evals/rate_limiters.py0an adaptive rate-limiter that adjusts the rate based on the number of rate limit errors. this rate limiter does not needSTRING
HIGH…oenix-client/src/phoenix/client/utils/rate_limiters.py0an adaptive rate-limiter that adjusts the rate based on the number of rate limit errors. this rate limiter does not needSTRING
HIGHsrc/phoenix/server/rate_limiters.py0an adaptive rate-limiter that adjusts the rate based on the number of rate limit errors. this rate limiter does not needSTRING
HIGH…kages/phoenix-evals/src/phoenix/evals/rate_limiters.py0lazily initialize async primitives to ensure they are created in the correct event loop.STRING
HIGH…oenix-client/src/phoenix/client/utils/rate_limiters.py0lazily initialize async primitives to ensure they are created in the correct event loop.STRING
HIGHsrc/phoenix/server/rate_limiters.py0lazily initialize async primitives to ensure they are created in the correct event loop.STRING
HIGH…client/src/phoenix/client/resources/traces/__init__.py0log multiple session annotations from a pandas dataframe asynchronously. requires phoenix server >= 12.0.0. this method STRING
HIGH…-client/src/phoenix/client/resources/spans/__init__.py0log multiple session annotations from a pandas dataframe asynchronously. requires phoenix server >= 12.0.0. this method STRING
HIGH…ient/src/phoenix/client/resources/sessions/__init__.py0log multiple session annotations from a pandas dataframe asynchronously. requires phoenix server >= 12.0.0. this method STRING
HIGHsrc/phoenix/server/api/types/Trace.py0retrieves and summarizes annotations associated with this span. this method aggregates annotation data by name and labelSTRING
HIGHsrc/phoenix/server/api/types/ProjectSession.py0retrieves and summarizes annotations associated with this span. this method aggregates annotation data by name and labelSTRING
HIGHsrc/phoenix/server/api/types/Span.py0retrieves and summarizes annotations associated with this span. this method aggregates annotation data by name and labelSTRING
Magic Placeholder Names42 hits · 238 pts
SeverityFileLineSnippetContext
HIGH…ts/project/integrationSnippets/environmentVariables.ts17 const apiKeyValue = apiKey || "<your-api-key>";CODE
HIGH…/src/components/experiment/RunExperimentCodeDialog.tsx30 `os.environ["PHOENIX_API_KEY"] = "<your-api-key>"`;CODE
HIGHjs/app/src/pages/settings/SettingsMCPPage.tsx108 headers: { Authorization: "Bearer <your-api-key>" },CODE
HIGHjs/app/src/pages/settings/SettingsMCPPage.tsx133 ? { headers: { Authorization: "Bearer <your-api-key>" } }CODE
HIGHjs/examples/apps/mastra-agent/README.md49`PHOENIX_API_KEY=your-api-key` and point both variables at that instance:CODE
HIGHjs/packages/phoenix-mcp/README.md57 "your-api-key"CODE
HIGHjs/packages/phoenix-cli/README.md43export PHOENIX_API_KEY=your-api-key # if authentication is enabledCODE
HIGHjs/packages/phoenix-config/README.md61PHOENIX_API_KEY=your-api-keyCODE
HIGHjs/packages/phoenix-config/src/env.ts121 * process.env[ENV_PHOENIX_API_KEY] = "your-api-key";COMMENT
HIGHjs/packages/phoenix-otel/README.md95export PHOENIX_API_KEY="your-api-key"CODE
HIGHjs/packages/phoenix-otel/examples/register_example.ts6 apiKey: "your-api-key",CODE
HIGHjs/packages/phoenix-otel/src/register.ts53 * apiKey: "your-api-key",COMMENT
HIGHjs/packages/phoenix-otel/src/register.ts445 * headers: { 'Authorization': 'Bearer your-api-key' }COMMENT
HIGHjs/packages/phoenix-otel/src/register.ts556 * apiKey: 'your-api-key',COMMENT
HIGH.agents/skills/phoenix-cli/SKILL.md83export PHOENIX_API_KEY=your-api-key # if auth is enabledCODE
HIGH…/skills/phoenix-tracing/references/setup-typescript.md41export PHOENIX_API_KEY="your-api-key"CODE
HIGH…/skills/phoenix-tracing/references/setup-typescript.md60PHOENIX_API_KEY=your-api-keyCODE
HIGH…ents/skills/phoenix-tracing/references/setup-python.md34export PHOENIX_API_KEY="your-api-key" # Required for Phoenix CloudCODE
HIGH…ents/skills/phoenix-tracing/references/setup-python.md53PHOENIX_API_KEY=your-api-keyCODE
HIGHpackages/phoenix-evals/src/phoenix/evals/llm/wrapper.py167 api_key="your-api-key",STRING
HIGHpackages/phoenix-evals/src/phoenix/evals/llm/wrapper.py176 api_key="your-api-key",STRING
HIGHpackages/phoenix-client/README.md56export PHOENIX_API_KEY="your-api-key"CODE
HIGHpackages/phoenix-client/README.md59export PHOENIX_CLIENT_HEADERS="Authorization=Bearer your-api-key,custom-header=value"CODE
HIGHpackages/phoenix-client/README.md78PHOENIX_API_KEY=your-api-keyCODE
HIGHpackages/phoenix-client/README.md109client = Client(base_url="https://your-phoenix-instance.com", api_key="your-api-key")CODE
HIGHpackages/phoenix-client/README.md113 base_url="https://your-phoenix-instance.com", headers={"Authorization": "Bearer your-api-key"}CODE
HIGHpackages/phoenix-client/README.md119async_client = AsyncClient(base_url="https://your-phoenix-instance.com", api_key="your-api-key")CODE
HIGHpackages/phoenix-client/docs/source/index.md32export PHOENIX_API_KEY="your-api-key"CODE
HIGHpackages/phoenix-client/docs/source/index.md35export PHOENIX_CLIENT_HEADERS="Authorization=Bearer your-api-key,custom-header=value"CODE
HIGHpackages/phoenix-client/docs/source/index.md56client = Client(base_url="https://your-phoenix-instance.com", api_key="your-api-key")CODE
HIGHpackages/phoenix-client/docs/source/index.md60 base_url="https://your-phoenix-instance.com", headers={"Authorization": "Bearer your-api-key"}CODE
HIGHpackages/phoenix-client/docs/source/index.md66async_client = AsyncClient(base_url="https://your-phoenix-instance.com", api_key="your-api-key")CODE
HIGHpackages/phoenix-otel/README.md91export PHOENIX_API_KEY="your-api-key"CODE
HIGHpackages/phoenix-otel/README.md96tracer_provider = register(api_key="your-api-key")CODE
HIGHpackages/phoenix-otel/README.md137 api_key="your-api-key", # AuthenticationCODE
HIGHpackages/phoenix-otel/README.md182| `PHOENIX_API_KEY` | Authentication key | `your-api-key` |CODE
HIGHpackages/phoenix-otel/README.md197PHOENIX_API_KEY=your-api-keyCODE
HIGHpackages/phoenix-otel/docs/source/index.md95# export PHOENIX_API_KEY=your-api-keyCOMMENT
HIGHpackages/phoenix-otel/docs/source/index.md254export PHOENIX_API_KEY="your-api-key"CODE
HIGHpackages/phoenix-otel/docs/source/index.md260export PHOENIX_API_KEY="your-api-key"CODE
HIGHpackages/phoenix-otel/docs/source/index.md261export PHOENIX_CLIENT_HEADERS="Authorization=Bearer your-api-key,custom-header=value"CODE
HIGHpackages/phoenix-otel/src/phoenix/otel/otel.py127 api_key="your-api-key"STRING
Modern Structural Boilerplate209 hits · 213 pts
SeverityFileLineSnippetContext
LOWevals/pxi/online_evals/run.py26logger = logging.getLogger(__name__)CODE
LOWevals/pxi/online_evals/rendering.py127__all__ = ["Message", "render_conversation", "render_turn_compact", "render_turn_detailed"]CODE
LOWevals/pxi/online_evals/conversation.py33logger = logging.getLogger(__name__)CODE
LOWevals/pxi/online_evals/conversation.py204__all__ = ["Message", "Turn", "messages_from_attributes", "segment_turns", "transcript"]CODE
LOWevals/pxi/online_evals/message_origin.py36__all__ = ["is_human_message"]CODE
LOWevals/pxi/online_evals/evaluators/__init__.py11__all__ = ["EVALUATORS", "SUGGESTION_ACCEPTED", "TOOL_COUNT_PER_TURN", "USER_FRICTION"]CODE
LOWevals/pxi/online_evals/evaluators/user_friction.py29logger = logging.getLogger(__name__)CODE
LOWevals/pxi/evaluators/__init__.py31__all__ = [CODE
LOW…ents/capabilities/tools/internal/test_call_subagent.py58 def set_subagent_final_tool_output(chunk: ToolOutputAvailableChunk) -> None:CODE
LOW…ents/capabilities/tools/internal/test_call_subagent.py99 def set_subagent_final_tool_output(chunk: ToolOutputAvailableChunk) -> None:CODE
LOWtests/unit/server/mcp/sql/test_liveness.py759 def set_authorizer(self, *args: Any) -> None:CODE
LOWtests/unit/server/api/routers/test_oauth2.py31 async def _setup_role_ids(self, asgi_app: ASGIApp, db: DbSessionFactory) -> None:CODE
LOWtests/unit/server/api/routers/test_oauth2.py163 async def _setup_role_ids(self, asgi_app: ASGIApp, db: DbSessionFactory) -> None:CODE
LOWtests/unit/db/test_facilitator.py353 def _update_manifest(self, manifest_path: Path, models: list[dict[str, Any]]) -> None:CODE
LOWtests/integration/_mock_ldap_server.py40logger = logging.getLogger(__name__)CODE
LOWtests/integration/_mock_llm_server.py145logger = logging.getLogger(__name__)CODE
LOWtests/integration/_helpers.py1446 def _setup_routes(self) -> None:CODE
LOWtests/integration/_helpers.py1882 def set_role(self, role: Optional[str], num_logins: int) -> None:CODE
LOWtests/integration/_helpers.py1900 def set_email(self, email: str, num_logins: int) -> None:CODE
LOWtests/integration/_helpers.py1924 def set_picture(self, picture: str, num_logins: int) -> None:CODE
LOW.agents/skills/phoenix-github/scripts/_board.py313def set_sprint(project_id: str, item_id: str, field_id: str, iteration_id: str) -> None:STRING
LOWexamples/agents/tau_bench_openai_agents/tools.py58def set_data(data: dict[str, Any]) -> None:CODE
LOWexamples/agents/tau_bench_langgraph/tools.py58def set_data(data: dict[str, Any]) -> None:CODE
LOWscripts/update_helm.py30def update_helm_values(new_version: str) -> None:CODE
LOWscripts/update_helm.py41def update_helm_chart(new_version: str) -> None:CODE
LOWscripts/docker/devops/scripts/test_ldap_tls.py45logger = logging.getLogger(__name__)CODE
LOWscripts/docker/devops/scripts/ldap_mitm_proxy.py44logger = logging.getLogger(__name__)CODE
LOWscripts/prompts/compile_python_prompts.py62__all__ = [CODE
LOWscripts/data/build_llama_index_with_markdown_reader.py17logger = logging.getLogger(__name__)CODE
LOWpackages/phoenix-evals/src/phoenix/evals/tracing.py25logger = logging.getLogger(__name__)CODE
LOWpackages/phoenix-evals/src/phoenix/evals/__init__.py35__all__ = [CODE
LOWpackages/phoenix-evals/src/phoenix/evals/executors.py30logger = logging.getLogger(__name__)CODE
LOWpackages/phoenix-evals/src/phoenix/evals/executors.py129 def _update_concurrency_target(self) -> None:CODE
LOWpackages/phoenix-evals/src/phoenix/evals/utils.py509__all__ = [CODE
LOWpackages/phoenix-evals/src/phoenix/evals/evaluators.py1737__all__ = [CODE
LOW…es/phoenix-evals/src/phoenix/evals/metrics/__init__.py18__all__ = [CODE
LOW…ckages/phoenix-evals/src/phoenix/evals/llm/__init__.py13__all__ = [CODE
LOWpackages/phoenix-evals/src/phoenix/evals/llm/types.py8__all__ = [CODE
LOW…ages/phoenix-evals/src/phoenix/evals/llm/registries.py9logger = logging.getLogger(__name__)CODE
LOW…oenix-evals/src/phoenix/evals/llm/adapters/__init__.py11__all__ = [CODE
LOW…ls/src/phoenix/evals/llm/adapters/langchain/adapter.py21logger = logging.getLogger(__name__)CODE
LOW…s/src/phoenix/evals/llm/adapters/langchain/__init__.py5__all__ = [CODE
LOW…evals/src/phoenix/evals/llm/adapters/google/adapter.py17logger = logging.getLogger(__name__)CODE
LOW…vals/src/phoenix/evals/llm/adapters/google/__init__.py3__all__ = ["GoogleGenAIAdapter"]CODE
LOW…ls/src/phoenix/evals/llm/adapters/anthropic/adapter.py16logger = logging.getLogger(__name__)CODE
LOW…s/src/phoenix/evals/llm/adapters/anthropic/__init__.py3__all__ = ["AnthropicAdapter"]CODE
LOW…vals/src/phoenix/evals/llm/adapters/litellm/adapter.py27logger = logging.getLogger(__name__)CODE
LOW…als/src/phoenix/evals/llm/adapters/litellm/__init__.py5__all__ = [CODE
LOW…evals/src/phoenix/evals/llm/adapters/openai/adapter.py21logger = logging.getLogger(__name__)CODE
LOW…vals/src/phoenix/evals/llm/adapters/openai/__init__.py3__all__ = [CODE
LOW…phoenix-evals/src/phoenix/evals/templating/__init__.py31__all__ = [CODE
LOWpackages/phoenix-client/src/phoenix/client/__init__.py7__all__ = [CODE
LOW…es/phoenix-client/src/phoenix/client/types/__init__.py4__all__ = [CODE
LOW…s/phoenix-client/src/phoenix/client/types/sentinels.py5__all__ = [CODE
LOW…es/phoenix-client/src/phoenix/client/harbor/_scores.py12__all__ = ["ExtractedEvaluation", "extract_evaluations"]CODE
LOW…es/phoenix-client/src/phoenix/client/harbor/_errors.py3__all__ = ["HarborPluginError"]CODE
LOW…es/phoenix-client/src/phoenix/client/harbor/_plugin.py45logger = logging.getLogger(__name__)CODE
LOW…s/phoenix-client/src/phoenix/client/harbor/_adapter.py43__all__ = ["MINIMUM_HARBOR_VERSION", "build_job_plan", "existing_trial_results"]CODE
LOW…/phoenix-client/src/phoenix/client/harbor/_recorder.py24logger = logging.getLogger(__name__)CODE
LOW…/phoenix-client/src/phoenix/client/harbor/_recorder.py26__all__ = [CODE
149 more matches not shown…
Cross-Language Confusion42 hits · 208 pts
SeverityFileLineSnippetContext
HIGHtests/unit/pxi/evals/online_evals/test_user_friction.py304 '{"data": null, "errors": [{"message": "boom"}]}', # tool error payloadCODE
HIGHtests/unit/pxi/evals/online_evals/test_user_friction.py321 ('{"data": null, "errors": [{"message": "boom"}]}', False), # tool error payloadCODE
HIGHtests/unit/server/test_oauth2.py1353 email_attribute_path="contains(email_aliases[*], 'primary') && email || alternate_email",CODE
HIGHtests/unit/server/test_oauth2.py1362 "contains(email_aliases[*], 'primary') && email || alternate_email"CODE
HIGHtests/unit/server/test_oauth2.py644 """Test that edge case claim values are handled gracefully (null, empty, unicode, nested objects)."""STRING
HIGHtests/unit/server/api/routers/v1/test_datasets.py1019 jsonl_content = b'{"a": null, "b": "x"}\n{"b": "y"}\n'CODE
HIGHtests/unit/server/api/routers/v1/test_datasets.py2859 jsonl_content = b'{"a": null, "b": 2}\n'CODE
HIGHtests/unit/server/api/routers/v1/test_datasets.py2990 b'"metadata": {"difficulty": null}}\n'CODE
HIGHtests/unit/server/api/routers/v1/test_datasets.py1424 """Test JSON upload with various split formats: string, list, null, and mixed."""STRING
HIGHtests/unit/server/api/types/test_Evaluator.py347 """When dataset evaluator description is null, it should return base evaluator's description."""STRING
HIGHtests/unit/server/api/types/test_Evaluator.py368 """When both dataset evaluator and base evaluator descriptions are null, it returns null."""STRING
HIGHtests/unit/server/api/types/test_Dataset.py34 query ($exampleId: ID!, $datasetVersionId: ID = null) {CODE
HIGHtests/unit/server/api/types/test_Dataset.py175 query ($datasetId: ID!, $datasetVersionId: ID = null) {CODE
HIGHtests/unit/server/api/types/test_Dataset.py281 query ($datasetId: ID!, $datasetVersionId: ID = null, $revisionDatasetVersionId: ID = null, $filter: String = nullCODE
HIGHtests/unit/server/api/types/test_Dataset.py734 query ($datasetId: ID!, $datasetVersionId: ID = null, $includeEphemeral: Boolean = false) {CODE
HIGHtests/unit/server/api/types/test_Project.py1304 query ($projectId: ID!, $after: String = null, $before: String = null, $filterCondition: String = null, $first: InCODE
HIGH…mutations/test_project_session_annotation_mutations.py51 - Setting values to null (score/label/explanation to null)STRING
HIGH…mutations/test_project_session_annotation_mutations.py622 # B5. Update with score=null, label=null, explanation="" should fail validationSTRING
HIGH…mutations/test_project_session_annotation_mutations.py645 # Fields not provided in the input are reset to their default values (null)STRING
HIGHtests/unit/server/api/mutations/test_model_mutations.py327 already exists" whenever the provider was null, because the non-nullableCODE
HIGH…sts/unit/server/api/mutations/test_secret_mutations.py323 # Test 12: Delete existing secret (by passing value: null)STRING
HIGH…r/api/helpers/test_experiment_run_filters_execution.py183 # e5 stores JSON null, e6 omits the key. `json_extract` returns SQL NULLCOMMENT
HIGHtests/integration/client/test_spans.py1385 'the capital of France?"}, "format": "MUSTACHE"}, "prompt_name": null}'CODE
HIGHtests/integration/client/test_spans.py1392 '"prompt_name": null}'CODE
HIGHscripts/ci/test_helm.py2706 # (--set attrEmail=null would be interpreted as YAML null, becoming empty string)COMMENT
HIGH…/phoenix-evals/tests/phoenix/evals/llm/test_prompts.py181 ("Mixed: {None} and {null}", TemplateFormat.F_STRING),CODE
HIGHsrc/phoenix/trace/dsl/session_filter.py407 "exact; a session with no such value is SQL null, so `not in` and comparisons "CODE
HIGHsrc/phoenix/trace/dsl/session_filter.py414 "case, `==` is exact; a session with no such value is SQL null, so "CODE
HIGHsrc/phoenix/trace/dsl/session_filter.py425 "null, so comparisons and `not in` exclude those sessions (target them with "CODE
HIGHsrc/phoenix/trace/dsl/trace_filter.py670 # Every trace correlation key is non-null, so no nullable-key guard is needed.COMMENT
HIGHsrc/phoenix/server/mcp/sql/normalize.py30 "A non-finite number (infinity or NaN) was returned as null, because JSON "CODE
HIGHsrc/phoenix/server/sandbox/daytona_backend.py150 f"${{r.stderr || r.stdout}}`);\n"CODE
HIGHsrc/phoenix/server/api/routers/v1/experiments.py412 # dropped — otherwise `{"name": null, "description": "x"}` would 200 and ignore the name.COMMENT
HIGHsrc/phoenix/server/api/routers/v1/secrets.py46 """Values, when non-null, must be non-empty strings (after trimming)."""STRING
HIGHsrc/phoenix/server/api/types/Span.py209 description="the parent span ID. If null, it is a root span",CODE
HIGHsrc/phoenix/server/api/mutations/secret_mutations.py50 {"key": "OPENAI_API_KEY", "value": null}STRING
HIGHsrc/phoenix/server/api/mutations/secret_mutations.py55 description="The value of the secret. If null, the secret will be deleted."CODE
HIGHsrc/phoenix/server/api/mutations/secret_mutations.py82 determines the final action (upsert with that value, or delete if value is null).STRING
HIGHsrc/phoenix/server/api/mutations/secret_mutations.py82 determines the final action (upsert with that value, or delete if value is null).STRING
HIGHsrc/phoenix/server/api/mutations/secret_mutations.py89 "or delete if value is null)."CODE
HIGHsrc/phoenix/server/api/mutations/secret_mutations.py89 "or delete if value is null)."CODE
HIGHsrc/phoenix/db/facilitator.py419 applies to all projects without a specific policy (i.e. foreign key is null).STRING
Structural Annotation Overuse121 hits · 206 pts
SeverityFileLineSnippetContext
LOWjs/examples/apps/tracing-tutorial/support-agent.ts244 // Step 1: Classify the queryCOMMENT
LOWjs/examples/apps/tracing-tutorial/support-agent.ts292 // Step 2: Route based on classificationCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts142 // Step 1: Fetch spans from PhoenixCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts162 // Step 2: Filter spans by typeCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts192 // Step 3: Evaluate tool spans (simple code-based check)COMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts264 // Step 4: Log annotations to PhoenixCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts280 // Step 5: SummaryCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts337 // Step 1: Fetch spans from PhoenixCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts359 // Step 2: Group spans by session IDCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts395 // Step 3: Evaluate each sessionCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts486 // Step 4: Log session annotations to PhoenixCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts504 // Step 5: SummaryCOMMENT
LOW…/mastra-agent/src/experiments/configure-experiments.ts10// Step 1: define the task to run (we call the agent with the question)COMMENT
LOW…/mastra-agent/src/experiments/configure-experiments.ts21// Step 2: define the dataset of questions to ask the agentCOMMENT
LOW…/mastra-agent/src/experiments/configure-experiments.ts45// Step 3: Define the evaluatorsCOMMENT
LOW…s/apps/mastra-agent/src/experiments/run-experiments.ts7//Step 4: Run the experimentCOMMENT
LOW…s/phoenix-client/examples/create_dataset_from_spans.ts118 // Step 1: Fetch spans from the projectCOMMENT
LOW…s/phoenix-client/examples/create_dataset_from_spans.ts139 // Step 2: Transform spans into dataset examples with span ID linksCOMMENT
LOW…s/phoenix-client/examples/create_dataset_from_spans.ts173 // Step 3: Create the dataset with span associationsCOMMENT
LOW…/phoenix-client/examples/experiment_trace_evaluator.ts36// Step 1: Define the agent's toolsCOMMENT
LOW…/phoenix-client/examples/experiment_trace_evaluator.ts60// Step 2: Define the agentCOMMENT
LOW…/phoenix-client/examples/experiment_trace_evaluator.ts80// Step 3: Build the evaluatorCOMMENT
LOW…/phoenix-client/examples/experiment_trace_evaluator.ts126// Step 4: Run the experiment and evaluateCOMMENT
LOW…ernal_docs/specs/ldap-authentication/migration-plan.md92 # Step 1: Update CHECK constraint to allow 'LDAP'COMMENT
LOW…ernal_docs/specs/ldap-authentication/migration-plan.md98 # Step 2: Migrate LDAP usersCOMMENT
LOW…_docs/specs/ldap-authentication/future-improvements.md384 # Step 1: Get tokenGroups (binary SIDs)COMMENT
LOW…_docs/specs/ldap-authentication/future-improvements.md397 # Step 2: Resolve SIDs to DNsCOMMENT
LOW…ernal_docs/specs/ldap-authentication/optional-email.md183 # Step 1: Lookup by unique_id first (always, when configured)COMMENT
LOW…ernal_docs/specs/ldap-authentication/optional-email.md188 # Step 2: Fallback to email lookup (only for real emails)COMMENT
LOW…ernal_docs/specs/ldap-authentication/optional-email.md195 # Step 3: Return existing user (update email if changed)COMMENT
LOW…ernal_docs/specs/ldap-authentication/optional-email.md201 # Step 4: Create new userCOMMENT
LOWtests/unit/_helpers.py257 # Step 1: Get ALL revisions up to and including this dataset versionCOMMENT
LOWtests/unit/_helpers.py270 # Step 2: Find the latest revision for each example (simple Python logic)COMMENT
LOWtests/unit/_helpers.py278 # Step 3: Filter out DELETE revisionsCOMMENT
LOWtests/unit/_helpers.py285 # Step 4: Check if experiment has assigned splitsCOMMENT
LOWtests/unit/_helpers.py294 # Step 5: Filter by splits if any are assignedCOMMENT
LOWtests/integration/_helpers.py1563 # Step 2: Validate PKCE (if required)COMMENT
LOWtests/integration/_helpers.py1542 # Step 1: Validate client authentication (if required)COMMENT
LOWtests/integration/_helpers.py1599 # Step 3: Determine authentication mode and validateCOMMENT
LOWtests/integration/auth/test_ldap.py503 # Step 1: Create LDAP user via loginCOMMENT
LOWtests/integration/auth/test_ldap.py509 # Step 2: Query GraphQL to verify authMethod is 'LDAP'COMMENT
LOWtests/integration/auth/test_ldap.py664 # Step 1: Admin pre-creates LDAP user (only needs email)COMMENT
LOWtests/integration/auth/test_ldap.py698 # Step 2: Add user to LDAP with matching emailSTRING
LOWtests/integration/auth/test_ldap.py707 # Step 3: User logs in via LDAP (email lookup finds pre-created user)STRING
LOWtests/integration/auth/test_ldap.py713 # Step 4: Verify username remains stable (not synced from LDAP)STRING
LOWtests/integration/auth/test_ldap.py721 # Step 5: Verify subsequent logins workSTRING
LOWtests/integration/client/test_experiments.py2621 # Step 1: Run experiment WITHOUT evaluators (task execution only)COMMENT
LOWtests/integration/client/test_experiments.py2640 # Step 2: Add evaluations to the completed experimentCOMMENT
LOW…/skills/phoenix-server/references/database-patterns.md35 # Step 1: Add column as nullableCOMMENT
LOW…/skills/phoenix-server/references/database-patterns.md39 # Step 2: BackfillCOMMENT
LOW…/skills/phoenix-server/references/database-patterns.md42 # Step 3: Add constraintsCOMMENT
LOW.agents/skills/phoenix-typescript-package-docs/SKILL.md172### Step 1: Determine the affected package and modulesCOMMENT
LOW.agents/skills/phoenix-typescript-package-docs/SKILL.md182### Step 2: Update canonical Mintlify docsCOMMENT
LOW.agents/skills/phoenix-typescript-package-docs/SKILL.md195### Step 3: Sync generated package docsCOMMENT
LOW.agents/skills/phoenix-typescript-package-docs/SKILL.md221### Step 4: Verify the npm artifactCOMMENT
LOW.agents/skills/phoenix-typescript-package-docs/SKILL.md236### Step 5: Check for nav and path regressionsCOMMENT
LOW…x-evals/references/experiments-synthetic-typescript.md26// Step 1: Create tuplesCOMMENT
LOW…x-evals/references/experiments-synthetic-typescript.md33// Step 2: Convert to natural queryCOMMENT
LOW…oenix-evals/references/experiments-synthetic-python.md23# Step 1: Create tuplesCOMMENT
LOW…oenix-evals/references/experiments-synthetic-python.md29# Step 2: Convert to natural queryCOMMENT
61 more matches not shown…
Fake / Example Data206 hits · 200 pts
SeverityFileLineSnippetContext
LOWjs/app/stories/Dialog.stories.tsx72 Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,CODE
LOWjs/app/stories/Dialog.stories.tsx72 Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,CODE
LOWjs/app/stories/Dialog.stories.tsx109 Lorem ipsum dolor sit amet consectetur adipisicing elit.CODE
LOWjs/app/stories/Dialog.stories.tsx109 Lorem ipsum dolor sit amet consectetur adipisicing elit.CODE
LOWjs/app/stories/Dialog.stories.tsx140 Lorem ipsum dolor sit amet consectetur adipisicing elit.CODE
LOWjs/app/stories/Dialog.stories.tsx140 Lorem ipsum dolor sit amet consectetur adipisicing elit.CODE
LOWjs/app/stories/TableColumnOrdering.stories.tsx39 name: "John Doe",CODE
LOWjs/app/stories/Table.stories.tsx70 name: "John Doe",CODE
LOWjs/app/stories/Table.stories.tsx719 for (const name of ["John Doe", "David Kim"]) {CODE
LOWjs/app/stories/ExpandableContent.stories.tsx78Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut laboreCODE
LOWjs/app/stories/ExpandableContent.stories.tsx78Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut laboreCODE
LOWjs/app/stories/ExpandableContent.stories.tsx91 name: "John Doe",CODE
LOWjs/app/stories/Modal.stories.tsx49 Lorem ipsum dolor sit amet consectetur adipisicing elit.CODE
LOWjs/app/stories/Modal.stories.tsx49 Lorem ipsum dolor sit amet consectetur adipisicing elit.CODE
LOWjs/app/stories/Modal.stories.tsx226 Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,CODE
LOWjs/app/stories/Modal.stories.tsx226 Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,CODE
LOW…ks/evals-benchmarks/src/tool_response_handling.eval.ts133 address: "123 Main St",CODE
LOW…marks/evals-benchmarks/src/retrieval_relevance.eval.ts202 context: "Acme Corp's 2019 Q1 earnings were $2.1M, up 4% year over year.",CODE
LOWjs/packages/phoenix-cli/src/pxi/client.ts619 agentSessionId: "placeholder",CODE
LOW…es/phoenix-evals/test/utils/objectMappingUtils.test.ts10 name: "John Doe",CODE
LOW…es/phoenix-evals/test/utils/objectMappingUtils.test.ts14 street: "123 Main St",CODE
LOW…es/phoenix-evals/test/utils/objectMappingUtils.test.ts46 userName: "John Doe", // Added mapped fieldCODE
LOW…es/phoenix-evals/test/utils/objectMappingUtils.test.ts88 extractedName: "John Doe",CODE
LOW…es/phoenix-evals/test/utils/objectMappingUtils.test.ts105 extractedStreet: "123 Main St",CODE
LOW…es/phoenix-evals/test/utils/objectMappingUtils.test.ts202 extractedName: "John Doe",CODE
LOW…es/phoenix-evals/test/utils/objectMappingUtils.test.ts203 extractedStreet: "123 Main St",CODE
LOW…es/phoenix-evals/test/utils/objectMappingUtils.test.ts315 fullName: "John Doe",CODE
LOW…packages/phoenix-evals/src/utils/objectMappingUtils.ts117 * // fullName: "John Doe",COMMENT
LOW…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py25 local_user = LocalUser(email="user@example.com", password="secret")STRING
LOW…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py181 user = LocalUser(email="user@example.com", password="secret")STRING
LOW…l_docs/vignettes/sqlalchemy/polymorphic_user/README.md33 - During object creation (e.g., `LocalUser(email="user@example.com", password="secret")`):CODE
LOW…l_docs/vignettes/sqlalchemy/polymorphic_user/README.md93local_user = LocalUser(email="user@example.com", password="secret")CODE
LOW…rnal_docs/vignettes/json-jsonb-demo/src/performance.ts61 name: 'John Doe',CODE
LOW…rnal_docs/vignettes/json-jsonb-demo/src/performance.ts64 street: '123 Main St',CODE
LOW…rnal_docs/vignettes/json-jsonb-demo/src/performance.ts135 WHERE data_json->'user'->>'name' = 'John Doe'CODE
LOW…rnal_docs/vignettes/json-jsonb-demo/src/performance.ts148 WHERE data_jsonb->'user'->>'name' = 'John Doe'CODE
LOW…rnal_docs/vignettes/json-jsonb-demo/src/performance.ts179 WHERE data_jsonb->'user'->>'name' = 'John Doe'CODE
LOW…l_docs/vignettes/json-jsonb-demo/src/query-examples.ts31 name: 'John Doe',CODE
LOW…rnal_docs/specs/ldap-authentication/database-schema.md12 username = 'John Doe' ← Display name (synced from LDAP)CODE
LOWtests/unit/test_config.py201 "user@example.com": "User=With=Equals",CODE
LOWtests/unit/server/test_ldap.py822 mock_attr.values = ["user@example.com"]CODE
LOWtests/unit/server/test_ldap.py826 assert result == "user@example.com"CODE
LOWtests/unit/server/test_ldap.py172 mock_display_name.values = ["John Doe"]CODE
LOWtests/unit/server/test_ldap.py188 assert result.display_name == "John Doe"CODE
LOWtests/unit/server/test_ldap.py274 mock_display_name.values = ["John Doe"]CODE
LOWtests/unit/server/test_ldap.py324 mock_display_name.values = ["John Doe"]CODE
LOWtests/unit/server/test_ldap.py405 mock_display_name.values = ["John Doe"]CODE
LOWtests/unit/server/test_rate_limiters.py615 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py616 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py617 limiter.check("user@example.com") # 2 failures < 3 max, should not raiseCODE
LOWtests/unit/server/test_rate_limiters.py629 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py630 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py631 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py633 limiter.check("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py642 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py643 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py644 limiter.record_success("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py646 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py647 limiter.record_failure("user@example.com")CODE
LOWtests/unit/server/test_rate_limiters.py648 limiter.check("user@example.com") # should not raiseCODE
146 more matches not shown…
Over-Commented Block179 hits · 163 pts
SeverityFileLineSnippetContext
LOWrender.yaml1# Render Blueprint for Arize PhoenixCOMMENT
LOW.readthedocs.yaml21 # builder: "dirhtml"COMMENT
LOWevals/harbor/tasks/regression-triage/solution/solve.sh1#!/bin/shCOMMENT
LOW…-triage/steps/step_03_trace_drilldown/workdir/setup.sh1#!/bin/shCOMMENT
LOW…ion-triage/steps/step_04_create_split/workdir/setup.sh1#!/bin/shCOMMENT
LOW…ression-triage/steps/step_02_diagnose/workdir/setup.sh1#!/bin/shCOMMENT
LOW…ession-triage/steps/step_01_aggregate/workdir/setup.sh1#!/bin/shCOMMENT
LOWevals/pxi/gate.py541COMMENT
LOWevals/pxi/thresholds.yaml1# Per-(evaluator, split) pass-rate gate policy for the PXI eval harness.COMMENT
LOWevals/pxi/thresholds.yaml21# regression, not flake. gate.py compares with STRICT less-than, so for a cellCOMMENT
LOWevals/pxi/thresholds.yaml181 # baseline pointer the user asked for and keeps only the note. KeepCOMMENT
LOWevals/pxi/evaluators/tools.py381COMMENT
LOWevals/pxi/evaluators/tools.py401# - ``contains_any: [<substr>, ...]`` -- observed must be a string containingCOMMENT
LOWjs/app/stories/ToolPart.stories.tsx981export const SearchUIResults: Story = {COMMENT
LOW…/app/src/agent/uiOperations/runtime/jsSandboxBridge.ts161 // `maxPausedMs` of total time spent awaiting timer-pausing operationsCOMMENT
LOWjs/app/src/components/core/tabs/Tabs.tsx161 // active the line fades along with the rest of that edge — the whole edgeCOMMENT
LOWjs/app/src/components/agent/agentFabPositioning.ts1import type { AgentFabPlacement } from "@phoenix/store/agentStore";COMMENT
LOWjs/app/src/components/agent/SkillHighlightOverlay.tsx41 mark {COMMENT
LOW…/app/src/components/filter/DSLFilterConditionField.tsx741 // The last validation no longer describes what's in the field — drop anyCOMMENT
LOW…app/src/components/filter/ai/AIQueryDSLFilterField.tsx201 const handleChange = (nextValue: string) => {COMMENT
LOWjs/app/src/store/agentStore.ts461 // by tool name; `handleAgentToolCall` looks up the entry when the matchingCOMMENT
LOWjs/packages/phoenix-cli/src/pxi/App.tsx981 // send, or `isActive` on restore); plain sends are blocked while set.COMMENT
LOWjs/packages/phoenix-config/README.md81the file after the first configuration lookup can call `clearEnvFileCache()` toCOMMENT
LOWjs/packages/phoenix-client/src/testing/runner.ts141 );COMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md121COMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md141# - starttls: Start with plaintext, upgrade to TLS (port 389)COMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md161COMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md181COMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md201# - OpenLDAP: "entryUUID"COMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md221# When set: Reads the specified attribute from the user's LDAP entryCOMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md241COMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md261# - "MEMBER" → MEMBER role (Phoenix)COMMENT
LOW…ternal_docs/specs/ldap-authentication/configuration.md281# ==============================================================================COMMENT
LOWtests/unit/test_tracers.py721 self, db: DbSessionFactory, project: models.Project, tracer: TracerCOMMENT
LOWtests/unit/trace/dsl/test_filter_spec_conformance.py141 ("str(False) == 'false'", "cannot cast boolean to text"),COMMENT
LOWtests/unit/trace/dsl/test_filter.py1521# COMPLETENESS, covered by the scope tests above: supported root-only forms mustCOMMENT
LOWtests/unit/server/mcp/sql/test_node_coverage.py101 }COMMENT
LOWtests/integration/auth/conftest.py461 **_env_database,COMMENT
LOWtests/integration/server/test_db_disk_usage_monitor.py161 # an alert was properly sent to the configured admin email address.COMMENT
LOWtests/integration/server/test_db_disk_usage_monitor.py241 # ========================================================================COMMENT
LOWtests/integration/server/test_db_disk_usage_monitor.py341 _gql(_app, access_token, query=query)COMMENT
LOW…/skills/pxi-eval-dataset/scripts/annotate_via_codex.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/phoenix-github/scripts/snapshot.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/capabilities_poc.py41 print(part.content)COMMENT
LOWscripts/docker/devops/overrides/ldap-test.yml1# Docker Compose override for LDAP testingCOMMENT
LOWscripts/docker/devops/overrides/ldap-test.yml21# 6. POSIX mode (GROUP_SEARCH_FILTER) - phoenix-posix → ldap-posixCOMMENT
LOWscripts/docker/devops/overrides/ldap-test.yml401COMMENT
LOW…son-canonicalization-schema/verify-canonicalization.py1##############################################################################COMMENT
LOW…ipts/ci/json-canonicalization-schema/verify-numbers.py1##############################################################################COMMENT
LOW…pts/ci/json-canonicalization-schema/testdata/numgen.js1//COMMENT
LOW…pts/ci/json-canonicalization-schema/testdata/numgen.go1//COMMENT
LOWscripts/ddl/generate_ddl_sqlite.py101# A bare identifier in the output must re-parse as the same identifier: ASCIICOMMENT
LOWscripts/testing/otel_gen_ai/send_anthropic_traces.py1# /// scriptCOMMENT
LOWscripts/perf/postgres/postgres_explain_analyze.py1# /// scriptCOMMENT
LOWpackages/phoenix-evals/src/phoenix/evals/llm/prompts.py581# """Initialize an image URL content part template.COMMENT
LOW…ls/src/phoenix/evals/llm/adapters/anthropic/adapter.py321 if not prompt:COMMENT
LOWpackages/phoenix-sqlean/sqlean/__init__.py1# Copyright (C) 2005 Gerhard Haring <gh@ghaering.de>COMMENT
LOWpackages/phoenix-sqlean/sqlean/dbapi2.py1# Copyright (C) 2004-2005 Gerhard Häring <gh@ghaering.de>COMMENT
LOWpackages/phoenix-sqlean/tests/hooks.py1#-*- coding: iso-8859-1 -*-COMMENT
LOWpackages/phoenix-sqlean/tests/regression.py1#-*- coding: iso-8859-1 -*-COMMENT
119 more matches not shown…
Modern AI Meta-Vocabulary61 hits · 142 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md164| | [Guardrails](https://arize.com/docs/phoenix/tracing/integrations-tracing/guardrails) | `openinference-instrumentatioCODE
MEDIUMsitemap.xml1088 <loc>https://arize.com/docs/phoenix/integrations/python/guardrails-ai</loc>CODE
MEDIUMsitemap.xml1092 <loc>https://arize.com/docs/phoenix/integrations/python/guardrails-ai/guardrails-ai-tracing</loc>CODE
MEDIUMsitemap.xml2048 <loc>https://arize.com/docs/phoenix/cookbook/tracing/agentic-rag-tracing</loc>CODE
MEDIUMsitemap.xml2140 <loc>https://arize.com/docs/phoenix/cookbook/guardrails/jailbreak-and-prompt-injection-defense</loc>CODE
MEDIUMsitemap.xml2144 <loc>https://arize.com/docs/phoenix/cookbook/guardrails/designing-realtime-guardrails</loc>CODE
MEDIUMsitemap.xml2820 <loc>https://arize.com/docs/phoenix/release-notes/2024/07-18-2024-guardrails-ai-integrations</loc>CODE
MEDIUMevals/pxi/thresholds.yaml178 # stage-scaffold-named-with-baseline is exposed to a real butCOMMENT
MEDIUMevals/pxi/datasets/experiment_observations.yaml166 # value matchers) and pick free-form scaffold key names, so theCOMMENT
MEDIUMevals/pxi/datasets/experiment_observations.yaml284 # staged metadata object. A script that carries the scaffold forwardCOMMENT
MEDIUMevals/pxi/datasets/experiment_observations.yaml287 # example (the failure mode is dropping the scaffold entirely).COMMENT
MEDIUMevals/pxi/evaluators/tools.py418# scaffold keys an earlier write left behind.COMMENT
MEDIUMjs/app/stories/constants/spanInfoFixtures.ts694 'Frequently Asked Questions\nCan I use Azure OpenAI?\nYes, in fact this is probably the preferred way to iCODE
MEDIUMinternal_docs/specs/online-evals.md203[feedback use case](#evaluate-on-user-feedback)). The third is event-driven, notCODE
MEDIUMtests/unit/trace/dsl/test_filter.py1206 # shapes that bypass the structural guardrails ``SpanFilter`` enforces.COMMENT
MEDIUMtests/unit/pxi/evals/test_datasets.py322 # The preservation case must assert the scaffold keys survive aSTRING
MEDIUMtests/unit/pxi/evals/test_evaluator_matchers.py246 # The preservation case: scaffold keys must survive a whole-metadataCOMMENT
MEDIUMtests/unit/pxi/evals/test_evaluator_matchers.py280 # Clobbering the scaffold (dropping ``hypothesis``) must fail the check.COMMENT
MEDIUM…ents/skills/phoenix-evals/references/evaluators-rag.md1# Evaluators: RAG SystemsCOMMENT
MEDIUM…ents/skills/phoenix-evals/references/evaluators-rag.md85## RAG Failure TaxonomyCOMMENT
MEDIUM…phoenix-evals/references/experiments-running-python.md35# With context (RAG)COMMENT
MEDIUM…kills/phoenix-evals/references/evaluators-pre-built.md43## Grounding: faithfulness vs. hallucinationCOMMENT
MEDIUM…lls/phoenix-evals/references/common-mistakes-python.md120# RIGHT for RAG evaluation — fetch child spans for retriever/LLM metricsCOMMENT
MEDIUM…kills/phoenix-tracing/references/annotations-python.md85## RAG Pipeline ExampleCOMMENT
MEDIUM…s/phoenix-tracing/references/annotations-typescript.md126## RAG Pipeline ExampleCOMMENT
MEDIUM.agents/skills/phoenix-github/scripts/board.json1[{"data":{"organization":{"projectV2":{"title":"phoenix","items":{"pageInfo":{"hasNextPage":true,"endCursor":"Y3Vyc29yOnCODE
MEDIUM.agents/skills/phoenix-github/scripts/board.json1[{"data":{"organization":{"projectV2":{"title":"phoenix","items":{"pageInfo":{"hasNextPage":true,"endCursor":"Y3Vyc29yOnCODE
MEDIUM.agents/skills/phoenix-github/scripts/board.json1[{"data":{"organization":{"projectV2":{"title":"phoenix","items":{"pageInfo":{"hasNextPage":true,"endCursor":"Y3Vyc29yOnCODE
MEDIUM.agents/skills/phoenix-github/scripts/board.json1[{"data":{"organization":{"projectV2":{"title":"phoenix","items":{"pageInfo":{"hasNextPage":true,"endCursor":"Y3Vyc29yOnCODE
MEDIUM.agents/skills/phoenix-github/scripts/_board.py35# Ticket-load guardrails: everyone should be fed, nobody should be buried.COMMENT
MEDIUMdocs/PROMPT.md95| `guardrails` | Guardrails AI | https://arize.com/docs/phoenix/integrations/python/guardrails-ai |CODE
MEDIUMdocs/sitemap.xml134 <loc>https://arize.com/docs/phoenix/cookbook/guardrails/jailbreak-and-prompt-injection-defense</loc>CODE
MEDIUMdocs/sitemap.xml199 <loc>https://arize.com/docs/phoenix/cookbook/tracing/agentic-rag-tracing</loc>CODE
MEDIUMdocs/sitemap.xml763 <loc>https://arize.com/docs/phoenix/integrations/python/guardrails-ai</loc>CODE
MEDIUMdocs/sitemap.xml768 <loc>https://arize.com/docs/phoenix/integrations/python/guardrails-ai/guardrails-ai-tracing</loc>CODE
MEDIUMdocs/sitemap.xml1578 <loc>https://arize.com/docs/phoenix/release-notes/2024/07-18-2024-guardrails-ai-integrations</loc>CODE
MEDIUMdocs/phoenix/llms.txt282- [Guardrails AI Tracing](https://arize.com/docs/phoenix/integrations/python/guardrails-ai/guardrails-ai-tracing): Auto-CODE
MEDIUMdocs/phoenix/llms.txt305- [OpenAI Agents SDK (TypeScript)](https://arize.com/docs/phoenix/integrations/typescript/openai-agents): Trace @openai/CODE
MEDIUMdocs/phoenix/llms.txt362- [Agent Spec Integration](https://arize.com/docs/phoenix/integrations/python/agentspec): Connect Open Agent Spec agentiCODE
MEDIUMdocs/phoenix/llms.txt370- [Guardrails AI Integration](https://arize.com/docs/phoenix/integrations/python/guardrails-ai): Connect Guardrails AI iCODE
MEDIUMdocs/phoenix/llms.txt731- [OpenAI Agents Cookbook](https://arize.com/docs/phoenix/cookbook/agent-workflow-patterns/openai-agents): Trace and evaCODE
MEDIUMdocs/phoenix/llms.txt749- [Designing Realtime Guardrails: Input, Output, and the Cost of Blocking](https://arize.com/docs/phoenix/cookbook/guardCODE
MEDIUMdocs/phoenix/llms.txt754- [Jailbreak and Prompt Injection Defense](https://arize.com/docs/phoenix/cookbook/guardrails/jailbreak-and-prompt-injecCODE
MEDIUMdocs/phoenix/llms.txt764- [Agentic RAG Tracing](https://arize.com/docs/phoenix/cookbook/tracing/agentic-rag-tracing): Build and trace an agenticCODE
MEDIUMdocs/phoenix/llms.txt780- [07.18.2024: Guardrails AI integrations](https://arize.com/docs/phoenix/release-notes/2024/07-18-2024-guardrails-ai-inCODE
MEDIUMdocs/phoenix/sitemap.xml1088 <loc>https://arize.com/docs/phoenix/integrations/python/guardrails-ai</loc>CODE
MEDIUMdocs/phoenix/sitemap.xml1092 <loc>https://arize.com/docs/phoenix/integrations/python/guardrails-ai/guardrails-ai-tracing</loc>CODE
MEDIUMdocs/phoenix/sitemap.xml2048 <loc>https://arize.com/docs/phoenix/cookbook/tracing/agentic-rag-tracing</loc>CODE
MEDIUMdocs/phoenix/sitemap.xml2140 <loc>https://arize.com/docs/phoenix/cookbook/guardrails/jailbreak-and-prompt-injection-defense</loc>CODE
MEDIUMdocs/phoenix/sitemap.xml2144 <loc>https://arize.com/docs/phoenix/cookbook/guardrails/designing-realtime-guardrails</loc>CODE
MEDIUMdocs/phoenix/sitemap.xml2820 <loc>https://arize.com/docs/phoenix/release-notes/2024/07-18-2024-guardrails-ai-integrations</loc>CODE
MEDIUMexamples/rag_agent/README.md1# Agentic RAG ExamplesCOMMENT
MEDIUMexamples/rag_agent/app.py110 gr.Markdown("## Chat with RAG Agent 🔥")STRING
MEDIUMexamples/rag_agent/app.py143 gr.Markdown("### Chat with RAG Agent 💬")STRING
MEDIUMscripts/docker/devops/LDAP-TLS-TESTING.md47│ └── test_ldap_tls.py # Test orchestration (all tests here)CODE
MEDIUMpackages/phoenix-evals/src/phoenix/evals/utils.py441 # Log only hallucination annotationsSTRING
MEDIUM…evals/src/phoenix/evals/llm/adapters/openai/adapter.py489 # documented ``name`` field used to label few-shot exemplars orCOMMENT
MEDIUMpackages/phoenix-client/docs/source/index.md247#### RAG Retrieval EvaluationSTRING
MEDIUMpackages/phoenix-client/docs/source/index.md281#### RAG Q&A EvaluationSTRING
MEDIUMpackages/phoenix-client/docs/source/index.md310#### Time-Filtered RAG SpansSTRING
1 more matches not shown…
Verbosity Indicators77 hits · 136 pts
SeverityFileLineSnippetContext
LOWjs/examples/apps/tracing-tutorial/support-agent.ts244 // Step 1: Classify the queryCOMMENT
LOWjs/examples/apps/tracing-tutorial/support-agent.ts292 // Step 2: Route based on classificationCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts142 // Step 1: Fetch spans from PhoenixCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts162 // Step 2: Filter spans by typeCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts192 // Step 3: Evaluate tool spans (simple code-based check)COMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts264 // Step 4: Log annotations to PhoenixCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts280 // Step 5: SummaryCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts337 // Step 1: Fetch spans from PhoenixCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts359 // Step 2: Group spans by session IDCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts395 // Step 3: Evaluate each sessionCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts486 // Step 4: Log session annotations to PhoenixCOMMENT
LOWjs/examples/apps/tracing-tutorial/evaluate-traces.ts504 // Step 5: SummaryCOMMENT
LOW…/mastra-agent/src/experiments/configure-experiments.ts10// Step 1: define the task to run (we call the agent with the question)COMMENT
LOW…/mastra-agent/src/experiments/configure-experiments.ts21// Step 2: define the dataset of questions to ask the agentCOMMENT
LOW…/mastra-agent/src/experiments/configure-experiments.ts45// Step 3: Define the evaluatorsCOMMENT
LOW…s/apps/mastra-agent/src/experiments/run-experiments.ts7//Step 4: Run the experimentCOMMENT
LOW…s/phoenix-client/examples/create_dataset_from_spans.ts118 // Step 1: Fetch spans from the projectCOMMENT
LOW…s/phoenix-client/examples/create_dataset_from_spans.ts139 // Step 2: Transform spans into dataset examples with span ID linksCOMMENT
LOW…s/phoenix-client/examples/create_dataset_from_spans.ts173 // Step 3: Create the dataset with span associationsCOMMENT
LOW…/phoenix-client/examples/experiment_trace_evaluator.ts36// Step 1: Define the agent's toolsCOMMENT
LOW…/phoenix-client/examples/experiment_trace_evaluator.ts60// Step 2: Define the agentCOMMENT
LOW…/phoenix-client/examples/experiment_trace_evaluator.ts80// Step 3: Build the evaluatorCOMMENT
LOW…/phoenix-client/examples/experiment_trace_evaluator.ts126// Step 4: Run the experiment and evaluateCOMMENT
LOWtests/unit/_helpers.py257 # Step 1: Get ALL revisions up to and including this dataset versionCOMMENT
LOWtests/unit/_helpers.py270 # Step 2: Find the latest revision for each example (simple Python logic)COMMENT
LOWtests/unit/_helpers.py278 # Step 3: Filter out DELETE revisionsCOMMENT
LOWtests/unit/_helpers.py285 # Step 4: Check if experiment has assigned splitsCOMMENT
LOWtests/unit/_helpers.py294 # Step 5: Filter by splits if any are assignedCOMMENT
LOWtests/integration/_helpers.py1563 # Step 2: Validate PKCE (if required)COMMENT
LOWtests/integration/_helpers.py1542 # Step 1: Validate client authentication (if required)COMMENT
LOWtests/integration/_helpers.py1599 # Step 3: Determine authentication mode and validateCOMMENT
LOWtests/integration/auth/test_ldap.py503 # Step 1: Create LDAP user via loginCOMMENT
LOWtests/integration/auth/test_ldap.py509 # Step 2: Query GraphQL to verify authMethod is 'LDAP'COMMENT
LOWtests/integration/auth/test_ldap.py664 # Step 1: Admin pre-creates LDAP user (only needs email)COMMENT
LOWtests/integration/auth/test_ldap.py698 # Step 2: Add user to LDAP with matching emailSTRING
LOWtests/integration/auth/test_ldap.py707 # Step 3: User logs in via LDAP (email lookup finds pre-created user)STRING
LOWtests/integration/auth/test_ldap.py713 # Step 4: Verify username remains stable (not synced from LDAP)STRING
LOWtests/integration/auth/test_ldap.py721 # Step 5: Verify subsequent logins workSTRING
LOWtests/integration/client/test_experiments.py2621 # Step 1: Run experiment WITHOUT evaluators (task execution only)COMMENT
LOWtests/integration/client/test_experiments.py2640 # Step 2: Add evaluations to the completed experimentCOMMENT
LOW…ts/uv/type_check/get_phoenix_modules_with_ty_errors.py53# Step 1: Import phoenix to trace import orderCOMMENT
LOW…ts/uv/type_check/get_phoenix_modules_with_ty_errors.py59# Step 2: Run ty checkCOMMENT
LOW…ts/uv/type_check/get_phoenix_modules_with_ty_errors.py68# Step 3: Parse ty output to find files with errorsCOMMENT
LOW…ts/uv/type_check/get_phoenix_modules_with_ty_errors.py87# Step 4: Order files by import orderCOMMENT
LOW…ts/uv/type_check/get_phoenix_modules_with_ty_errors.py104# Step 5: Write to fileCOMMENT
LOWpackages/phoenix-evals/src/phoenix/evals/utils.py450 # Step 1: Identify all span_id sourcesCOMMENT
LOWpackages/phoenix-evals/src/phoenix/evals/utils.py454 # Step 2: Create a working copy and preserve all span infoCOMMENT
LOWpackages/phoenix-evals/src/phoenix/evals/utils.py468 # Step 3: Reset index to avoid conflicts during concatenationCOMMENT
LOWpackages/phoenix-evals/src/phoenix/evals/utils.py471 # Step 4: Validate we have span_id informationCOMMENT
LOWpackages/phoenix-evals/src/phoenix/evals/utils.py475 # Step 5: Process each score nameCOMMENT
LOWpackages/phoenix-evals/src/phoenix/evals/utils.py488 # Step 6: Concatenate with new sequential indicesCOMMENT
LOW…ent/examples/experiments/experiment_trace_evaluator.py47# Step 1: Define the agent's toolsCOMMENT
LOW…ent/examples/experiments/experiment_trace_evaluator.py81# Step 2: Define the agentCOMMENT
LOW…ent/examples/experiments/experiment_trace_evaluator.py104# Step 3: Build the evaluatorCOMMENT
LOW…ent/examples/experiments/experiment_trace_evaluator.py155# Step 4: Run the experiment and evaluateCOMMENT
LOW…examples/datasets/create_dataset_from_spans_example.py38# Step 1: Set up Tracing with phoenix-otelCOMMENT
LOW…examples/datasets/create_dataset_from_spans_example.py53# Step 2: Simulate LLM Calls using OpenInference DecoratorsCOMMENT
LOW…examples/datasets/create_dataset_from_spans_example.py138# Step 3: Query Spans from Phoenix using get_spans_dataframeCOMMENT
LOW…examples/datasets/create_dataset_from_spans_example.py218# Step 4: Create Dataset with Span AssociationsCOMMENT
LOW…examples/datasets/create_dataset_from_spans_example.py301 # Step 1: Log LLM spans using OpenInference decorators/context managersCOMMENT
17 more matches not shown…
Redundant / Tautological Comments77 hits · 108 pts
SeverityFileLineSnippetContext
LOW…s/apps/cli-agent-starter-kit/scripts/ensure-phoenix.sh30# Check if docker is runningCOMMENT
LOW…s/apps/cli-agent-starter-kit/scripts/ensure-phoenix.sh44# Check if Phoenix container is runningCOMMENT
LOW…s/apps/cli-agent-starter-kit/scripts/ensure-phoenix.sh69# Check if Phoenix container exists but is stoppedCOMMENT
LOWtests/unit/server/api/conftest.py1183 # Assign examples to splitsCOMMENT
LOWtests/unit/db/test_helpers.py1122 # Assign examples to splitsCOMMENT
LOWtests/unit/db/test_helpers.py1357 # Assign splits to experimentsCOMMENT
LOWtests/integration/_mock_llm_server.py2121 # Check if SSE format is requested (alt=sse query param)COMMENT
LOWtests/integration/_helpers.py2536 # Check if we have a complete partSTRING
LOWtests/integration/client/test_prompts.py1687 # Assign labels to prompts using GraphQL mutationSTRING
LOWtests/integration/client/test_prompts.py1698 # Assign label1 to prompt1STRING
LOWtests/integration/client/test_prompts.py1714 # Assign label2 to prompt3STRING
LOWtests/integration/client/test_prompts.py1844 # Assign labels to promptsSTRING
LOWtests/integration/client/test_annotations.py813 # Check if we have all expected annotationsSTRING
LOWtests/integration/client/test_annotations.py2064 # Check if we have all expected annotationsSTRING
LOWtests/integration/client/test_annotations.py2793 # Check if we have all expected annotationsSTRING
LOWtests/integration/client/test_spans.py1406 # Set index to span_id so dataframe_to_spans uses the right span IDsCOMMENT
LOWtests/integration/db_migrations/__init__.py122 # Check if table existsCOMMENT
LOWtests/integration/db_migrations/__init__.py194 # Check if table existsCOMMENT
LOWapi_reference/source/conf.py40 # Check if we are still in the automodule blockCOMMENT
LOWapi_reference/source/conf.py45 # Check if we are out of the automodule blockCOMMENT
LOWexamples/computer_use_agent/tools/edit.py83 # Check if its an absolute pathCOMMENT
LOWexamples/computer_use_agent/tools/edit.py89 # Check if path existsCOMMENT
LOWexamples/computer_use_agent/tools/edit.py96 # Check if the path points to a directoryCOMMENT
LOWexamples/computer_use_agent/tools/edit.py146 # Read the file contentCOMMENT
LOWexamples/computer_use_agent/tools/edit.py151 # Check if old_str is unique in the fileCOMMENT
LOWexamples/computer_use_agent/image/xvfb_startup.sh30# Check if Xvfb is already runningCOMMENT
LOWscripts/docker/devops/dev.sh69 # Add profile to the listCOMMENT
LOWscripts/docker/devops/dev.sh562 # Check if Phoenix container is runningCOMMENT
LOWscripts/docker/devops/scripts/test_ldap_tls.py604 # Check if any Phase 2 application tests failed - we can't claim securityCOMMENT
LOWscripts/generate_data_via_plpgsql/generate_spans.py127 # Check if the command was successfulCOMMENT
LOWscripts/generate_data_via_plpgsql/generate_spans.py133 # Print the output if requestedCOMMENT
LOWscripts/generate_data_via_plpgsql/generate_spans.py213 print_output=True, # Print output for report_spans_table_sizes.sqlCODE
LOW…/generate_data_via_plpgsql/report_spans_table_sizes.py103 # Check if the command was successfulCOMMENT
LOW…generate_data_via_plpgsql/generate_span_annotations.py239 # Check if the command was successfulCOMMENT
LOW…generate_data_via_plpgsql/generate_span_annotations.py245 # Print the output if requestedCOMMENT
LOWscripts/ci/test_helm.py2112 # Check if the error contains the expected substringCOMMENT
LOWscripts/ddl/generate_ddl_postgresql.py1019 # Check if identifier needs quotes to preserve case/special charsCOMMENT
LOWscripts/ddl/generate_ddl_postgresql.py1164 # Check if line ends with semicolon (end of statement)COMMENT
LOWscripts/uv/type_check/type_check.py57 # Check if we have fewer errors than expected (good news!)COMMENT
LOW…ripts/generate_spans/generate_spans_for_time_series.py249# Set pandas to display all rows without truncationSTRING
LOWpackages/phoenix-evals/src/phoenix/evals/tracing.py144 # Check if function has a trace_id parameterCOMMENT
LOWpackages/phoenix-evals/src/phoenix/evals/tracing.py241 # Check if function has a trace_id parameterCOMMENT
LOW…vals/src/phoenix/evals/llm/adapters/litellm/adapter.py580 # Check if schema has properties and required fieldsCOMMENT
LOWpackages/phoenix-sqlean/tests/ttypes.py282 # Check if the stripping of colnames works. Everything after the firstCOMMENT
LOW…kages/phoenix-client/src/phoenix/client/types/spans.py36 # Check if the key is a legacy name that should be replaced.COMMENT
LOW…t/src/phoenix/client/resources/experiments/__init__.py1352 # Check if response is HTML (endpoint doesn't exist on old server)COMMENT
LOW…t/src/phoenix/client/resources/experiments/__init__.py1542 # Check if response is HTML (endpoint doesn't exist on old server)COMMENT
LOW…t/src/phoenix/client/resources/experiments/__init__.py1654 # Check if response is HTML (endpoint doesn't exist on old server)COMMENT
LOW…t/src/phoenix/client/resources/experiments/__init__.py3202 # Check if response is HTML (endpoint doesn't exist on old server)COMMENT
LOW…t/src/phoenix/client/resources/experiments/__init__.py3396 # Check if response is HTML (endpoint doesn't exist on old server)COMMENT
LOW…t/src/phoenix/client/resources/experiments/__init__.py3510 # Check if response is HTML (endpoint doesn't exist on old server)COMMENT
LOW…ient/src/phoenix/client/resources/datasets/__init__.py2271 # Check if there's at least one data rowCOMMENT
LOW…lient/src/phoenix/client/resources/prompts/__init__.py376 # Check if a specific tag existsSTRING
LOW…lient/src/phoenix/client/resources/prompts/__init__.py727 # Check if a specific tag existsSTRING
LOW…nix-client/src/phoenix/client/helpers/atif/_convert.py630 # Output messageCOMMENT
LOW…ix-client/src/phoenix/client/helpers/spans/__init__.py356 # Check if events is not null/nan using pandas-safe methodCOMMENT
LOWsrc/phoenix/config.py1052 # Check if TLS is enabledCOMMENT
LOWsrc/phoenix/trace/trace_dataset.py94 # Check if the dataframe has any document columnsCOMMENT
LOWsrc/phoenix/trace/trace_dataset.py330 # Append the evaluations to the list of evaluationsCOMMENT
LOWsrc/phoenix/trace/span_json_decoder.py41 # Check if the dict can be interpreted as a SpanCOMMENT
17 more matches not shown…
AI Slop Vocabulary39 hits · 100 pts
SeverityFileLineSnippetContext
MEDIUMevals/pxi/pytest.ini6# doctest-collect the eval harness and this suite's conftest, which it must not.COMMENT
MEDIUMevals/pxi/thresholds.yaml1# Per-(evaluator, split) pass-rate gate policy for the PXI eval harness.COMMENT
MEDIUMevals/pxi/datasets/product_knowledge.yaml642 # deferred tool ends the single-shot harness run before any text isCOMMENT
MEDIUMevals/pxi/datasets/experiments_skill_trigger.yaml279 # Given a primed experiment id and a compare question under the harness'sCOMMENT
MEDIUMevals/pxi/datasets/experiments_skill_trigger.yaml282 # to the known harness toolset on purpose; the skill itself staysCOMMENT
MEDIUMjs/app/tests/code-evaluators.spec.ts310 // is robust to that prefix.COMMENT
MEDIUMtests/unit/test_auth.py99 # Test comprehensive sanitizationCOMMENT
MEDIUMtests/unit/server/api/routers/test_oauth2.py38 """Single comprehensive test covering all sign-in scenarios."""STRING
MEDIUMtests/unit/server/api/routers/v1/test_experiments.py1092 # Create specific scenarios for comprehensive testingCOMMENT
MEDIUMtests/unit/server/api/types/test_Project.py284 # Full time range for comprehensive testingCOMMENT
MEDIUMtests/unit/server/api/types/test_Project.py124 """Create comprehensive test data for cost and token testing.STRING
MEDIUMtests/unit/db/test_models.py78 # Create comprehensive test data that covers various Unicode and special character scenariosCOMMENT
MEDIUMtests/unit/db/test_models.py254 # Single comprehensive payload testing ALL serialization scenarios:COMMENT
MEDIUMtests/unit/db/test_models.py279 # NaN/Inf values (consolidated comprehensive coverage from test_json_sanitization)COMMENT
MEDIUMtests/unit/db/test_models.py398 # Create all metadata entities with the comprehensive payloadCOMMENT
MEDIUMtests/unit/db/test_models.py227 """Test comprehensive orjson serialization of all special object types across JSON columns.STRING
MEDIUMtests/unit/db/test_helpers.py391 # Create dataset versions for comprehensive evolution testingCOMMENT
MEDIUMtests/unit/db/test_helpers.py433 # Create comprehensive split structureCOMMENT
MEDIUMtests/unit/db/test_helpers.py466 # Create overlapping split assignments for comprehensive testingCOMMENT
MEDIUMtests/unit/db/test_helpers.py507 # Create comprehensive revision patterns with direct object referencesCOMMENT
MEDIUMtests/unit/db/test_helpers.py642 # Return comprehensive mapping for all test scenariosCOMMENT
MEDIUMtests/unit/db/test_helpers.py1000 # Collect IDs for comprehensive duplicate analysisCOMMENT
MEDIUMtests/unit/db/test_helpers.py1020 # Expected examples based on our comprehensive fixture:COMMENT
MEDIUMtests/integration/server/test_db_disk_usage_monitor.py348 # This ensures the blocking behavior is comprehensive and not bypass-able.COMMENT
MEDIUMtests/integration/client/test_annotations.py2298 # Ensure we have different sessions for a more robust testSTRING
MEDIUMtests/integration/client/test_experiments.py2079 # Create first dataset for comprehensive mixed scenarios (examples 0-4)STRING
MEDIUMtests/integration/client/test_spans.py1287 # Create comprehensive test DataFrame with nested attributesCOMMENT
MEDIUMtests/integration/client/test_spans.py1297 # Create comprehensive test data with nested attributes and complex typesCOMMENT
MEDIUM…/skills/pxi-eval-dataset/scripts/annotate_via_codex.sh77# --skip-git-repo-check: harness may be invoked from non-git working dirs.COMMENT
MEDIUM.agents/skills/phoenix-github/scripts/board.json1[{"data":{"organization":{"projectV2":{"title":"phoenix","items":{"pageInfo":{"hasNextPage":true,"endCursor":"Y3Vyc29yOnCODE
MEDIUMscripts/docker/devops/scripts/test_ldap_tls.py507 """Run comprehensive security test suite."""STRING
MEDIUMscripts/docker/devops/scripts/ldap_mitm_proxy.py580 """Print comprehensive security summary."""STRING
LOWpackages/phoenix-evals/src/phoenix/evals/utils.py464 # Index name matches existing column - just add the index valuesCOMMENT
MEDIUM…ls/mcp/tracing_between_mcp_client_and_server/server.py216 """Generates a comprehensive investment report based on client profile and market analysis."""STRING
MEDIUMsrc/phoenix/server/mcp/sql/parse.py3159 # entry for such a shape would error out of the harness rather than recordCOMMENT
LOWsrc/phoenix/server/api/routers/ldap.py161 # Null email mode: email column is nullable, so just use NoneCOMMENT
LOW…x/server/api/dataloaders/document_retrieval_metrics.py45 # it simple and just use one approach for all backends.COMMENT
MEDIUMsrc/phoenix/server/api/helpers/message_helpers.py24# This makes it easier to leverage openinference.instrumentation helpersCOMMENT
MEDIUMsrc/phoenix/db/models.py704 # Enforce best practices for naming constraintsCOMMENT
Hallucination Indicators7 hits · 70 pts
SeverityFileLineSnippetContext
CRITICAL…als/test/template/createTemplateVariablesProxy.test.ts192 expect(proxied.level1.level2.level3.level4.toString()).toBe(CODE
CRITICAL…_docs/specs/ldap-authentication/future-improvements.md146from ldap3.core.exceptions import LDAPSocketOpenError, LDAPSocketReceiveErrorCODE
CRITICAL…ment-runner-background-process/appendix-error-types.md214from azure.core.exceptions import HttpResponseErrorCODE
CRITICALtests/unit/vcr.py31 module_name = self._request.node.module.__name__.split(".")[-1]CODE
CRITICALtests/unit/server/sandbox/test_modal_backend.py406 modal_mock.Image.debian_slim.return_value.pip_install.assert_called_once_with(packages)CODE
CRITICALtests/integration/_mock_ldap_server.py22from ldap3.core.exceptions import LDAPInvalidDnErrorCODE
CRITICALsrc/phoenix/config.py28from ldap3.core.exceptions import LDAPInvalidDnErrorCODE
Cross-Language Confusion (JS/TS)11 hits · 55 pts
SeverityFileLineSnippetContext
HIGH…c/components/evaluators/ContainsEvaluatorCodeBlock.tsx15 return FalseCODE
HIGHjs/app/src/pages/prompt/promptCodeSnippets.tsx102print(completion.choices[0].message)CODE
HIGHjs/app/src/pages/prompt/promptCodeSnippets.tsx132print(response.choices[0].message.content)CODE
HIGHjs/app/src/pages/prompt/promptCodeSnippets.tsx181print(completion.content)CODE
HIGH…/prompt/__tests__/promptCodeSnippets.anthropic.test.ts274 print(completion.content)"CODE
HIGH…/prompt/__tests__/promptCodeSnippets.anthropic.test.ts392 print(completion.content)"CODE
HIGH…/prompt/__tests__/promptCodeSnippets.anthropic.test.ts436 print(completion.content)"CODE
HIGH…ges/prompt/__tests__/promptCodeSnippets.openai.test.ts295 print(completion.choices[0].message)"CODE
HIGH…ges/prompt/__tests__/promptCodeSnippets.openai.test.ts402 print(completion.choices[0].message)"CODE
HIGH…ges/prompt/__tests__/promptCodeSnippets.openai.test.ts439 print(completion.choices[0].message)"CODE
HIGH…ges/prompt/__tests__/promptCodeSnippets.openai.test.ts487 print(completion.choices[0].message)"CODE
AI Structural Patterns53 hits · 41 pts
SeverityFileLineSnippetContext
LOWtests/unit/_helpers.py118CODE
LOWtests/unit/server/api/test_code_evaluator_runner.py98CODE
LOWexamples/agent_framework_comparison/li_workflow/main.py16CODE
LOW…generate_data_via_plpgsql/generate_span_annotations.py162CODE
LOWscripts/ci/test_helm.py760CODE
LOWscripts/ci/test_helm.py1112CODE
LOW…kages/phoenix-evals/src/phoenix/evals/rate_limiters.py205CODE
LOWpackages/phoenix-evals/src/phoenix/evals/executors.py198CODE
LOW…enix-client/src/phoenix/client/experiments/__init__.py17CODE
LOW…enix-client/src/phoenix/client/experiments/__init__.py207CODE
LOW…client/src/phoenix/client/resources/traces/__init__.py339CODE
LOW…client/src/phoenix/client/resources/traces/__init__.py735CODE
LOW…-client/src/phoenix/client/resources/spans/__init__.py172CODE
LOW…-client/src/phoenix/client/resources/spans/__init__.py255CODE
LOW…-client/src/phoenix/client/resources/spans/__init__.py481CODE
LOW…-client/src/phoenix/client/resources/spans/__init__.py638CODE
LOW…-client/src/phoenix/client/resources/spans/__init__.py1459CODE
LOW…-client/src/phoenix/client/resources/spans/__init__.py1770CODE
LOW…-client/src/phoenix/client/resources/spans/__init__.py1926CODE
LOW…t/src/phoenix/client/resources/experiments/__init__.py744CODE
LOW…t/src/phoenix/client/resources/experiments/__init__.py2245CODE
LOW…t/src/phoenix/client/resources/experiments/__init__.py2587CODE
LOW…t/src/phoenix/client/resources/experiments/__init__.py4079CODE
LOW…ient/src/phoenix/client/resources/datasets/__init__.py785CODE
LOW…ient/src/phoenix/client/resources/datasets/__init__.py953CODE
LOW…ient/src/phoenix/client/resources/datasets/__init__.py1151CODE
LOW…ient/src/phoenix/client/resources/datasets/__init__.py1254CODE
LOW…ient/src/phoenix/client/resources/datasets/__init__.py1711CODE
LOW…ient/src/phoenix/client/resources/datasets/__init__.py1852CODE
LOW…ient/src/phoenix/client/resources/datasets/__init__.py2032CODE
LOW…ient/src/phoenix/client/resources/datasets/__init__.py2133CODE
LOW…oenix-client/src/phoenix/client/utils/rate_limiters.py165CODE
LOW…s/phoenix-client/src/phoenix/client/utils/executors.py209CODE
LOWpackages/phoenix-otel/src/phoenix/otel/otel.py65CODE
LOWsrc/phoenix/server/oauth2.py260CODE
LOWsrc/phoenix/server/rate_limiters.py194CODE
LOWsrc/phoenix/server/app.py634CODE
LOWsrc/phoenix/server/app.py922CODE
LOWsrc/phoenix/server/agents/vercel_ui_message_stream.py610CODE
LOWsrc/phoenix/server/agents/agent_factory.py65CODE
LOWsrc/phoenix/server/api/context.py119CODE
LOWsrc/phoenix/server/api/routers/auth.py212CODE
LOWsrc/phoenix/server/api/routers/auth.py394CODE
LOWsrc/phoenix/server/api/routers/oauth2.py287CODE
LOWsrc/phoenix/server/api/routers/oauth2.py872CODE
LOWsrc/phoenix/server/api/routers/v1/spans.py747CODE
LOWsrc/phoenix/server/api/routers/v1/spans.py930CODE
LOWsrc/phoenix/server/api/routers/v1/traces.py122CODE
LOWsrc/phoenix/server/api/types/Dataset.py221CODE
LOWsrc/phoenix/server/api/types/Project.py606CODE
LOWsrc/phoenix/db/models.py1247CODE
LOWsrc/phoenix/db/models.py1258CODE
LOWsrc/phoenix/db/models.py1269CODE
Dead Code10 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMevals/pxi/harness/agent_task.py58CODE
MEDIUM…agents/pydantic_ai/test_openinference_model_wrapper.py101CODE
MEDIUM…agents/pydantic_ai/test_openinference_agent_wrapper.py110CODE
MEDIUM…agents/pydantic_ai/test_openinference_agent_wrapper.py154CODE
MEDIUMtests/unit/server/mcp/sql/test_execute.py191CODE
MEDIUMtests/unit/server/mcp/sql/test_execute.py203CODE
MEDIUMtests/unit/server/mcp/sql/test_execute.py421CODE
MEDIUMtests/unit/server/api/test_subscriptions.py184CODE
MEDIUM…ts/unit/server/api/routers/v1/test_chat_completions.py315CODE
MEDIUMsrc/phoenix/server/daemons/experiment_runner.py242CODE
Slop Phrases10 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMjs/examples/apps/tracing-tutorial/support-agent.ts305 system: `You are a helpful customer support agent. When customers ask about order status, use the lookupOrCODE
MEDIUMjs/benchmarks/evals-benchmarks/src/refusal.eval.ts32 "I'm sorry, but I'm unable to help with that request. Please contact a plumber for assistance.",CODE
MEDIUMjs/benchmarks/evals-benchmarks/src/refusal.eval.ts106 "I don't have access to internal company communications or meeting transcripts, so I'm unable to answer that.",CODE
MEDIUMjs/benchmarks/evals-benchmarks/src/conciseness.eval.ts106 "It's worth noting that the speed of light in a vacuum is approximately 299,792 kilometers per second. It's impoCODE
MEDIUMjs/benchmarks/evals-benchmarks/src/conciseness.eval.ts141 "As an AI language model, I can tell you that pi (π) is approximately 3.14159. This is a mathematical constant rCODE
MEDIUM…al_docs/vignettes/sqlalchemy/polymorphic_user/users.py287 # This is for demonstration purposes onlyCOMMENT
LOWexamples/llamaindex-workflows-research-agent/report.py29- Don't forget to add a reference list at the end of the report in {report_format} format and fullSTRING
MEDIUM…ix-client/src/phoenix/client/helpers/spans/__init__.py287 # Now you can use these spans with other APIsSTRING
MEDIUM…nfigs/CONCISENESS_CLASSIFICATION_EVALUATOR_CONFIG.yaml25 - Hedging language or excessive qualifiers (e.g., "It's worth noting that...", "It's important to understand that.CODE
MEDIUM…r_configs/REFUSAL_CLASSIFICATION_EVALUATOR_CONFIG.yaml14 - Explicit refusals (e.g., "I can't help with that", "I'm unable to answer")CODE
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHREADME.md245| [E2B](https://arize.com/docs/phoenix/integrations/sandboxes/e2b) | Hosted micro-VM sandboxes for AI-geCODE
HIGHjs/benchmarks/evals-benchmarks/src/correctness.eval.ts208 "Airplanes fly due to the interaction of four forces: lift (generated by air flowing over curved wings, creatingCODE
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…/components/project/integrationSnippets/phoenixOtel.ts15def my_function(input: str) -> str:CODE
LOWtests/integration/_helpers.py659 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWexamples/agents/traject_bench_langgraph/agent.py150def run_task(task: TrajectTask, model: str = "gpt-4o") -> TaskResult:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/skills/pxi-eval-dataset/scripts/annotate_via_codex.sh15# Usage:COMMENT