AI Slop Code Risk Monitor

ogx-ai/ogx

SlopCodeMonitor badge for ogx-ai/ogx Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Open GenAI Stack

3.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ogx-ai/ogx, a Python project with 8,446 GitHub stars. SynthScan examined 3,063,436 lines of code across 4512 source files, recording 7780 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 3.1 (Low pattern signal); it is not an authorship estimate.

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

3.1
Adjusted Signal
3.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
8.4K
Stars
Python
Language
3.1M
Lines of Code
4.5K
Files
7.8K
Pattern Hits
2026-10-31
Scan Date
0.04
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.8/100 · LOW

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

Agent Over-Engineering Ratio 10.5/100 · LOW

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

PR Review Velocity Impact 14.9/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 197MEDIUM 570LOW 7013

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers4487 hits · 4616 pts
SeverityFileLineSnippetContext
LOWconftest.py23 def _looks_like_existing_test_path(arg: object) -> bool:CODE
LOWclient-sdks/openapi/build_hierarchy.py39def build_hierarchy_from_tags(tags: list[str], hierarchy: dict) -> None:CODE
LOWclient-sdks/openapi/build_hierarchy.py51def get_children_from_hierarchy(tag: str, hierarchy: dict) -> list[str]:CODE
LOWclient-sdks/openapi/build_hierarchy.py56def convert_oneof_const_to_enum(schema: dict) -> dict:CODE
LOWclient-sdks/openapi/build_hierarchy.py98def remove_defaults_from_required(spec: dict[str, Any]) -> int:CODE
LOWclient-sdks/openapi/build_hierarchy.py130def mark_unwrappable_list_responses(spec: dict[str, Any]) -> int:CODE
LOWclient-sdks/openapi/build_hierarchy.py206def mark_streaming_operations(spec: dict[str, Any]) -> int:CODE
LOWclient-sdks/openapi/patch_hierarchy.py48def extract_parent_child_pairs(hierarchy: dict, parent: str | None = None) -> list[tuple[str, str]]:CODE
LOW…t-sdks/openapi/templates/python/lib/tools/mcp_oauth.py271def get_oauth_token_for_mcp_server(url: str) -> str | None:CODE
LOW…enapi/templates/python/lib/agents/event_synthesizer.py142 def _start_tool_execution_step(self, call_state: _ToolCallState) -> Iterator[AgentEvent]:CODE
LOW…enapi/templates/python/lib/agents/event_synthesizer.py163 def _complete_tool_execution_step(self, call_state: _ToolCallState) -> Iterator[AgentEvent]:CODE
LOW…enapi/templates/python/lib/agents/event_synthesizer.py310 def _handle_output_item_added(self, item: Any) -> Iterator[AgentEvent]:CODE
LOW…enapi/templates/python/lib/agents/event_synthesizer.py361 def _handle_output_item_delta(self, delta: Any) -> Iterator[AgentEvent]:CODE
LOW…dks/openapi/templates/python/lib/agents/client_tool.py136def _python_type_to_json_schema_type(type_hint: Any) -> str:CODE
LOW…dks/openapi/templates/python/lib/agents/react/agent.py20def _tool_definition_from_mapping(tool: Mapping[str, Any]) -> dict[str, Any]:CODE
LOW…dks/openapi/templates/python/lib/agents/react/agent.py31def _collect_tool_definitions(CODE
LOW…dks/openapi/templates/python/lib/agents/react/agent.py47def get_default_react_instructions(tool_defs: list[dict[str, Any]]) -> str:CODE
LOW…emplates/python/lib/cli/post_training/post_training.py88def get_training_job_artifacts(ctx, job_uuid: str):CODE
LOW…nt-sdks/openapi/templates/python/lib/cli/eval/utils.py11def aggregate_categorical_count(CODE
LOW…nt-sdks/openapi/templates/python/lib/cli/eval/utils.py28def aggregate_weighted_average(CODE
LOW…openapi/templates/python/lib/inference/event_logger.py38 def _handle_chat_completion_chunk(CODE
LOW⚡tests/unit/test_integration_helpers.py66def test_resolves_by_model_id():CODE
LOW⚡tests/unit/test_integration_helpers.py72def test_resolves_by_provider_resource_id_alias():CODE
LOW⚡tests/unit/test_integration_helpers.py82def test_alias_takes_precedence_over_model_id():CODE
LOW⚡tests/unit/test_integration_helpers.py92def test_model_without_provider_resource_id_does_not_break_the_alias_pass():CODE
LOW⚡tests/unit/test_integration_helpers.py102def test_models_are_listed_once_per_call():CODE
LOW⚡tests/unit/test_integration_helpers.py110def test_unknown_model_fails_with_a_descriptive_message():CODE
LOWtests/unit/test_integration_helpers.py121def test_missing_provider_id_fails_with_a_descriptive_message(custom_metadata):CODE
LOWtests/unit/test_integration_helpers.py130def test_unregistered_provider_fails_with_a_descriptive_message():CODE
LOW⚡tests/unit/test_ci_matrix.py33def test_matrix_lanes_reference_known_suites_and_setups():CODE
LOW⚡tests/unit/test_ci_matrix.py39def test_matrix_excluded_setups_are_absent_from_ci_matrix():CODE
LOW⚡tests/unit/test_ci_matrix.py49def test_matrix_excluded_setups_have_a_defaulting_suite():CODE
LOWtests/unit/test_ogx_api_namespaces.py28def test_provider_and_types_are_disjoint() -> None:CODE
LOW⚡tests/unit/test_ogx_api_namespaces.py40def test_provider_symbols_resolve_to_same_object_at_top_level() -> None:CODE
LOW⚡tests/unit/test_ogx_api_namespaces.py47def test_types_symbols_resolve_to_same_object_at_top_level() -> None:CODE
LOW⚡tests/unit/test_ogx_api_namespaces.py54def test_provider_surface_contains_core_symbols() -> None:CODE
LOWtests/unit/test_ogx_api_namespaces.py74def test_types_surface_contains_core_symbols() -> None:CODE
LOW⚡tests/unit/test_integration_conftest.py33 def test_recognizes_a_real_server(self, stack_config):CODE
LOW⚡tests/unit/test_integration_conftest.py37 def test_recognizes_an_in_process_library_client(self, stack_config):CODE
LOW⚡tests/unit/test_integration_conftest.py40 def test_none_is_library_client(self):CODE
LOW⚡tests/unit/test_integration_conftest.py61 def test_server_only_file_is_skipped_in_library_client_mode(self, tmp_path):CODE
LOW⚡tests/unit/test_integration_conftest.py68 def test_server_only_file_runs_in_server_mode(self, tmp_path):CODE
LOW⚡tests/unit/test_integration_conftest.py75 def test_library_client_only_file_is_skipped_in_server_mode(self, tmp_path):CODE
LOW⚡tests/unit/test_integration_conftest.py82 def test_library_client_only_file_runs_in_library_client_mode(self, tmp_path):CODE
LOW⚡tests/unit/test_integration_conftest.py89 def test_an_unrelated_file_is_never_touched(self, tmp_path):CODE
LOW⚡tests/unit/test_integration_conftest.py97 def test_an_item_outside_rootpath_is_never_touched(self, tmp_path):CODE
LOWtests/unit/test_generate_target_models_docs.py18def test_registry_provider_validation_allows_intentional_exclusions(monkeypatch):CODE
LOWtests/unit/test_generate_target_models_docs.py39def test_registry_provider_validation_fails_on_new_unmapped_provider(monkeypatch):CODE
LOWtests/unit/test_generate_target_models_docs.py59def test_registry_provider_validation_allows_stale_setup_aliases(monkeypatch):CODE
LOW⚡tests/unit/test_update_constraint_deps.py152 def test_returns_none_for_unknown_package(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py158 def test_finds_in_project_dependencies(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py164 def test_finds_in_optional_and_groups(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py171 def test_excludes_constraint_dependencies(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py176 def test_finds_bare_dep_without_version(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py182 def test_returns_empty_for_unknown(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py188 def test_inserts_alphabetically_middle(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py200 def test_inserts_alphabetically_beginning(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py209 def test_inserts_alphabetically_end(self):CODE
LOW⚡tests/unit/test_update_constraint_deps.py218 def test_returns_false_when_no_constraint_section(self):CODE
LOWtests/unit/test_update_constraint_deps.py119 def test_returns_none_when_missing(self):CODE
4427 more matches not shown…
Unused Imports1530 hits · 985 pts
SeverityFileLineSnippetContext
LOWclient-sdks/openapi/templates/python/lib/__init__.py7CODE
LOWclient-sdks/openapi/templates/python/lib/__init__.py12CODE
LOWclient-sdks/openapi/templates/python/lib/__init__.py13CODE
LOW…nt-sdks/openapi/templates/python/lib/tools/__init__.py7CODE
LOW…enapi/templates/python/lib/agents/event_synthesizer.py15CODE
LOW…ient-sdks/openapi/templates/python/lib/agents/types.py9CODE
LOW…api/templates/python/lib/cli/vector_stores/__init__.py7CODE
LOW…api/templates/python/lib/cli/post_training/__init__.py7CODE
LOW…s/openapi/templates/python/lib/cli/inspect/__init__.py7CODE
LOW…openapi/templates/python/lib/cli/providers/__init__.py7CODE
LOW…penapi/templates/python/lib/cli/toolgroups/__init__.py7CODE
LOW…/openapi/templates/python/lib/cli/datasets/__init__.py7CODE
LOW…ks/openapi/templates/python/lib/cli/models/__init__.py7CODE
LOW…penapi/templates/python/lib/cli/eval_tasks/__init__.py7CODE
LOW…openapi/templates/python/lib/cli/inference/__init__.py7CODE
LOW…templates/python/lib/cli/scoring_functions/__init__.py7CODE
LOW…sdks/openapi/templates/python/lib/cli/eval/__init__.py7CODE
LOWtests/unit/core/jobs/test_resolver_worker_mode.py20CODE
LOW…ts/unit/providers/responses/builtin/test_truncation.py7CODE
LOW…ers/utils/inference/test_openai_mixin_provider_data.py15CODE
LOWtests/unit/providers/utils/inference/conftest.py7CODE
LOWtests/unit/providers/utils/inference/conftest.py7CODE
LOWtests/unit/providers/utils/inference/conftest.py7CODE
LOWtests/unit/providers/utils/inference/conftest.py7CODE
LOWtests/unit/providers/utils/inference/conftest.py7CODE
LOWtests/unit/providers/utils/inference/conftest.py7CODE
LOWtests/unit/providers/utils/inference/conftest.py7CODE
LOWtests/unit/providers/utils/inference/conftest.py7CODE
LOW…inference/vertexai/test_thought_signature_roundtrip.py9CODE
LOWtests/integration/interactions/conftest.py18CODE
LOWtests/integration/interactions/conftest.py18CODE
LOWtests/integration/messages/conftest.py18CODE
LOWtests/integration/messages/conftest.py18CODE
LOWtests/integration/responses/conftest.py14CODE
LOWtests/integration/responses/conftest.py14CODE
LOWtests/integration/responses/helpers.py12CODE
LOWtests/integration/responses/helpers.py12CODE
LOWtests/integration/models/conftest.py17CODE
LOWtests/integration/models/conftest.py17CODE
LOWtests/integration/conversations/conftest.py10CODE
LOWtests/integration/conversations/conftest.py10CODE
LOWtests/integration/conversations/conftest.py10CODE
LOWtests/integration/telemetry/collectors/__init__.py9CODE
LOWtests/integration/telemetry/collectors/__init__.py9CODE
LOWtests/integration/telemetry/collectors/__init__.py10CODE
LOWtests/integration/telemetry/collectors/__init__.py10CODE
LOWtests/integration/telemetry/collectors/__init__.py11CODE
LOW…ternal/ogx-api-weather/src/ogx_api_weather/__init__.py9CODE
LOW…ternal/ogx-api-weather/src/ogx_api_weather/__init__.py9CODE
LOW…ternal/ogx-api-weather/src/ogx_api_weather/__init__.py9CODE
LOWscripts/check_openai_responses_drift.py28CODE
LOWscripts/responses_test_coverage.py19CODE
LOWscripts/generate_anthropic_coverage_docs.py15CODE
LOWscripts/generate_openai_coverage_docs.py15CODE
LOWscripts/generate_google_interactions_coverage_docs.py15CODE
LOWscripts/provider_compat_matrix.py29CODE
LOWscripts/google_interactions_coverage.py22CODE
LOWscripts/openai_coverage.py21CODE
LOWscripts/anthropic_coverage.py39CODE
LOWscripts/generate_target_models_docs.py8CODE
1470 more matches not shown…
Decorative Section Separators232 hits · 867 pts
SeverityFileLineSnippetContext
MEDIUM⚡pyproject.toml373 # ============================================================================COMMENT
MEDIUM⚡pyproject.toml375 # ============================================================================COMMENT
MEDIUM⚡pyproject.toml378 # ============================================================================COMMENT
MEDIUM⚡pyproject.toml380 # ============================================================================COMMENT
MEDIUMpyproject.toml436 # ============================================================================COMMENT
MEDIUMpyproject.toml438 # ============================================================================COMMENT
MEDIUM⚡demo/skills_api_demo.py99 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py101 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py105 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py107 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py111 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py113 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py117 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py119 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py138 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py140 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py144 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py146 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py150 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py152 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py156 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py158 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py165 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py167 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py177 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡demo/skills_api_demo.py179 # ──────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/skills_api_demo.py75 # ──────────────────────────────────────────────────────────COMMENT
MEDIUMdemo/skills_api_demo.py77 # ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/unit/core/test_errors.py57 # ── Direct matches for each mapped type ──────────────────────────COMMENT
MEDIUM⚡tests/unit/core/test_errors.py99 # ── Subclass matching via MRO ────────────────────────────────────COMMENT
MEDIUM⚡tests/unit/core/test_errors.py137 # ── Multiple mapped parents: MRO order determines winner ─────────COMMENT
MEDIUM⚡tests/unit/core/test_errors.py205 # ── Detail uses exception message, fallback when empty ──────────COMMENT
MEDIUM⚡tests/unit/core/test_errors.py439 # ── ValidationError / RequestValidationError → 400 ───────────────COMMENT
MEDIUMtests/unit/core/test_errors.py164 # ── Unmapped types before mapped type in the MRO ─────────────────COMMENT
MEDIUMtests/unit/core/test_errors.py180 # ── No match returns None ────────────────────────────────────────COMMENT
MEDIUMtests/unit/core/test_errors.py258 # ── Always returns HTTPException ─────────────────────────────────COMMENT
MEDIUMtests/unit/core/test_errors.py363 # ── Mapped exceptions (non-OGXError) ─────────────────────COMMENT
MEDIUMtests/unit/core/test_errors.py390 # ── Provider SDK exceptions (duck-typed status_code) ─────────────COMMENT
MEDIUMtests/unit/core/test_errors.py415 # ── Completely unknown exceptions → 500 ──────────────────────────COMMENT
MEDIUMtests/unit/core/routers/test_inference_router.py562# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/routers/test_inference_router.py564# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/inline/responses/builtin/responses/test_guardrails.py46# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/inline/responses/builtin/responses/test_guardrails.py48# ---------------------------------------------------------------------------COMMENT
MEDIUM…/inline/responses/builtin/responses/test_guardrails.py220# ---------------------------------------------------------------------------COMMENT
MEDIUM…/inline/responses/builtin/responses/test_guardrails.py222# ---------------------------------------------------------------------------COMMENT
MEDIUM…/inline/responses/builtin/responses/test_guardrails.py484# ---------------------------------------------------------------------------COMMENT
MEDIUM…/inline/responses/builtin/responses/test_guardrails.py486# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/inline/responses/builtin/responses/test_streaming.py421# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/inline/responses/builtin/responses/test_streaming.py423# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/inline/responses/builtin/responses/test_streaming.py96# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/inline/responses/builtin/responses/test_streaming.py99# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/inline/responses/builtin/responses/test_streaming.py582# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/inline/responses/builtin/responses/test_streaming.py585# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/inline/responses/builtin/responses/test_streaming.py701# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/inline/responses/builtin/responses/test_streaming.py704# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/providers/inference/test_ollama_adapter.py300# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/providers/inference/test_ollama_adapter.py302# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/providers/inference/test_remote_sglang.py233# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/providers/inference/test_remote_sglang.py235# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…roviders/inference/test_passthrough_forward_headers.py47# ---------------------------------------------------------------------------COMMENT
172 more matches not shown…
Self-Referential Comments153 hits · 448 pts
SeverityFileLineSnippetContext
MEDIUM…sdks/openapi/templates/python/lib/cli/models/models.py54 # Create a title for the tableCOMMENT
MEDIUM…-sdks/openapi/templates/python/lib/cli/common/utils.py24 # Define a list of colors to cycle throughCOMMENT
MEDIUMtests/unit/core/test_storage_shutdown.py123 # Create a table and insert data (this triggers lazy engine initialization)COMMENT
MEDIUM…ders/responses/builtin/test_openai_responses_params.py507 # Create a new response with the same cache keyCOMMENT
MEDIUM…iders/responses/builtin/test_openai_responses_tools.py413 # Create a response using connector_id instead of server_urlCOMMENT
MEDIUM…viders/responses/builtin/test_openai_responses_core.py891 # Create a response with store=True to trigger the storage pathCOMMENT
MEDIUM…iders/responses/builtin/test_openai_responses_agent.py323 # Create a stream generator factory that returns a tool call (to trigger another iteration)COMMENT
MEDIUM⚡…iders/responses/builtin/test_openai_responses_agent.py387 # Create a stream that returns finish_reason="length"COMMENT
MEDIUM⚡tests/unit/providers/utils/test_model_registry.py235 # Create a model with a different identifier but same provider_resource_idCOMMENT
MEDIUM…/unit/providers/utils/inference/test_network_config.py406 # Create a dummy file - httpx2 will try to load it but we'll catch the errorCOMMENT
MEDIUM…nit/providers/inference/test_openai_base_url_config.py94 # Create an async iterator that yields our mock modelCOMMENT
MEDIUM…nit/providers/inference/test_openai_base_url_config.py137 # Create an async iterator that yields our mock modelCOMMENT
MEDIUMtests/unit/providers/inference/test_bedrock_adapter.py63 # Create a mock that raises the errorCOMMENT
MEDIUMtests/unit/providers/inference/test_remote_vllm.py265 # Create a mock model storeCOMMENT
MEDIUMtests/unit/providers/inference/test_remote_vllm.py271 # Create a mock dist_registryCOMMENT
MEDIUMtests/unit/providers/inference/test_remote_vllm.py285 # Create the InferenceRouterCOMMENT
MEDIUMtests/unit/providers/inference/test_remote_vllm.py338 # Create a mock model storeCOMMENT
MEDIUMtests/unit/providers/inference/test_remote_vllm.py344 # Create a mock dist_registryCOMMENT
MEDIUMtests/unit/providers/inference/test_remote_vllm.py358 # Create the InferenceRouterCOMMENT
MEDIUM…ts/unit/providers/inference/bedrock/test_sigv4_auth.py53 # Create a test requestCOMMENT
MEDIUM⚡tests/unit/providers/vector_io/test_vector_utils.py41 # Create a chunk object to match the original test behavior (passing object to generate_chunk_id)COMMENT
MEDIUM⚡…it/providers/vector_io/test_vector_io_stores_config.py193 # Create an OpenAI vector store for testing directly in the adapter's cacheCOMMENT
MEDIUMtests/unit/providers/vector_io/test_sqlite_vec.py169 # Create a query embedding that's similar to the first chunkCOMMENT
MEDIUMtests/unit/providers/vector_io/test_sqlite_vec.py350 # Create a random embedding that's different from stored onesCOMMENT
MEDIUMtests/unit/providers/vector_io/test_sqlite_vec.py386 # Create a query embedding that's similar to the first chunkCOMMENT
MEDIUMtests/unit/providers/vector_io/test_sqlite_vec.py422 # Create a query embedding that's similar to the first chunkCOMMENT
MEDIUMtests/unit/providers/vector_io/test_sqlite_vec.py483 # Create a query embedding that's similar to the first chunkCOMMENT
MEDIUM…t/providers/vector_io/test_vector_io_stores_batches.py511 # Create a third batch that stays in progressCOMMENT
MEDIUM…t/providers/vector_io/test_vector_io_stores_batches.py559 # Create an old expired batch (10 days old)COMMENT
MEDIUM…t/providers/vector_io/test_vector_io_stores_batches.py569 # Create a recent valid batchCOMMENT
MEDIUM…t/providers/vector_io/test_vector_io_stores_batches.py621 # Create an expired batchCOMMENT
MEDIUM…t/providers/vector_io/test_vector_io_stores_batches.py670 # Create a batch with more files than the concurrency limitCOMMENT
MEDIUMtests/unit/providers/vector_io/test_faiss.py470 # Create a fresh instance of FaissVectorIOAdapter for testingCOMMENT
MEDIUMtests/unit/providers/vector_io/test_faiss.py495 # Create a fresh instance of FaissVectorIOAdapter for testingCOMMENT
MEDIUMtests/unit/distribution/test_stack_list.py31 # Create a custom distributionCOMMENT
MEDIUMtests/unit/distribution/test_context.py23 # Create an async generator that raises an exceptionCOMMENT
MEDIUMtests/unit/distribution/test_context.py50 # Create an empty async generatorCOMMENT
MEDIUMtests/unit/distribution/test_context.py117 # Create a new event loop for this threadCOMMENT
MEDIUMtests/unit/server/test_access_control.py786 # Create a model owned by adminCOMMENT
MEDIUMtests/unit/server/test_access_control.py852 # Create a mock provider that supports provider_dataCOMMENT
MEDIUM⚡tests/unit/server/test_server.py37 # Create a simple mock object that implements the ProtectedResource protocolCOMMENT
MEDIUM⚡tests/unit/server/test_server.py77 # Create a mock response for BadRequestErrorCOMMENT
MEDIUM⚡tests/unit/server/test_server.py136 # Create a mock validation error using proper Pydantic error formatCOMMENT
MEDIUMtests/unit/server/test_resolver.py40 # Create an async function with the same signature that returns a MagicMockCOMMENT
MEDIUMtests/unit/server/test_resolver.py104 # Create a real provider specCOMMENT
MEDIUMtests/unit/server/test_route_auth.py85 # Create the middleware stackCOMMENT
MEDIUMtests/unit/server/test_auth_github.py37 # Create a mock request for the HTTPStatusErrorCOMMENT
MEDIUMtests/unit/utils/sqlstore/test_sqlstore.py34 # Create a table and insert data to ensure connections are establishedCOMMENT
MEDIUMtests/unit/conversations/test_conversations.py312 # Create a conversationCOMMENT
MEDIUMtests/unit/telemetry/test_tool_runtime_metrics.py132 # Create a mock routing tableCOMMENT
MEDIUMtests/unit/telemetry/test_tool_runtime_metrics.py167 # Create a mock routing tableCOMMENT
MEDIUM…n/providers/utils/sqlstore/test_authorized_sqlstore.py229 # Create a policy that only allows access when user is the ownerCOMMENT
MEDIUM…n/providers/utils/sqlstore/test_authorized_sqlstore.py237 # Create a new authorized store with the owner-only policyCOMMENT
MEDIUM⚡tests/integration/responses/test_reasoning.py48 # Create a streaming response using a reasoning modelCOMMENT
MEDIUMtests/integration/responses/test_tool_responses.py106 # Create the response request, which should query our vector storeCOMMENT
MEDIUMtests/integration/responses/test_tool_responses.py138 # Create the response request, which should query our vector storeCOMMENT
MEDIUMtests/integration/responses/test_tool_responses.py169 # Create a test file with contentCOMMENT
MEDIUMtests/integration/responses/test_tool_responses.py1003 # Create a response with an invalid max_tool_calls value i.e. 0COMMENT
MEDIUMtests/integration/responses/helpers.py71 # Create a new vector storeCOMMENT
MEDIUMtests/integration/responses/helpers.py113 # Create a deep copy to avoid modifying the original test caseCOMMENT
93 more matches not shown…
Excessive Try-Catch Wrapping347 hits · 394 pts
SeverityFileLineSnippetContext
MEDIUMclient-sdks/openapi/merge_resources.py45 print("Error: ruamel.yaml is required. Install with: pip install ruamel.yaml", file=sys.stderr)CODE
LOWclient-sdks/openapi/merge_resources.py370 except Exception as e:CODE
MEDIUMclient-sdks/openapi/merge_resources.py407 print(f"Error: OpenAPI spec not found: {openapi_path}", file=sys.stderr)CODE
MEDIUMclient-sdks/openapi/merge_resources.py411 print(f"Error: Resource-hierarchy config not found: {resources_path}", file=sys.stderr)CODE
MEDIUMclient-sdks/openapi/merge_resources.py437 print(f"Error: Patch file not found: {patch_path}", file=sys.stderr)CODE
MEDIUMclient-sdks/openapi/build_hierarchy.py33 print("Error: ruamel.yaml is required. Install with: uv pip install ruamel.yaml", file=sys.stderr)CODE
MEDIUM⚡client-sdks/openapi/build_hierarchy.py422 print(f"Error: Source file not found: {args.source}", file=sys.stderr)CODE
LOW⚡client-sdks/openapi/build_hierarchy.py427 except Exception as e:CODE
MEDIUM⚡client-sdks/openapi/build_hierarchy.py428 print(f"Error processing OpenAPI spec: {e}", file=sys.stderr)CODE
MEDIUMclient-sdks/openapi/patch_hierarchy.py31 print("Error: ruamel.yaml is required. Install with: uv pip install ruamel.yaml", file=sys.stderr)CODE
MEDIUMclient-sdks/openapi/patch_hierarchy.py295 print(f"Error: API directory not found: {api_dir}", file=sys.stderr)CODE
MEDIUM⚡client-sdks/openapi/patch_hierarchy.py350 print(f"Error: Hierarchy file not found: {args.hierarchy}", file=sys.stderr)CODE
MEDIUM⚡client-sdks/openapi/patch_hierarchy.py354 print(f"Error: SDK directory not found: {args.sdk_dir}", file=sys.stderr)CODE
LOW⚡client-sdks/openapi/patch_hierarchy.py359 except Exception as e:CODE
MEDIUM⚡client-sdks/openapi/patch_hierarchy.py360 print(f"Error patching API files: {e}", file=sys.stderr)CODE
LOW…enapi/templates/python/lib/agents/event_synthesizer.py189 except Exception: # pragma: no cover - defensiveCODE
LOW…dks/openapi/templates/python/lib/agents/client_tool.py86 except Exception as e:CODE
LOW…dks/openapi/templates/python/lib/agents/client_tool.py112 except Exception as e:CODE
MEDIUM…enapi/templates/python/lib/agents/react/tool_parser.py39 print(f"Error parsing action: {e}")CODE
LOW…nt-sdks/openapi/templates/python/lib/cli/ogx_client.py20 except Exception:CODE
LOW…nt-sdks/openapi/templates/python/lib/cli/ogx_client.py66 except Exception as e:CODE
LOW…-sdks/openapi/templates/python/lib/cli/common/utils.py42 except Exception as e:CODE
MEDIUM…-sdks/openapi/templates/python/lib/cli/common/utils.py39def wrapper(*args, **kwargs):CODE
LOW…penapi/templates/python/lib/cli/inference/inference.py78 except Exception as exc:CODE
MEDIUM…penapi/templates/python/lib/cli/inference/inference.py80 console.print(f"Error in chat session {exc}")CODE
LOWtests/unit/core/test_logging_config.py135 except Exception:CODE
LOWtests/unit/core/test_logging_config.py179 except Exception:CODE
LOWtests/unit/providers/test_configs.py28 except Exception as e:CODE
LOWtests/unit/providers/test_configs.py93 except Exception as e:CODE
MEDIUM…nit/distribution/test_library_client_initialization.py509def make_request():CODE
LOW…nit/distribution/test_library_client_initialization.py512 except Exception as e:CODE
LOW⚡tests/unit/cli/test_connect_tls.py28 except Exception as e:CODE
LOWtests/evals/multitenant/bench_e2e_latency.py116 except Exception:CODE
LOWtests/evals/multitenant/bench_e2e_latency.py130 except Exception as e:CODE
LOWtests/evals/multitenant/bench_e2e_latency.py155 except Exception as e:CODE
LOWtests/evals/multitenant/bench_e2e_latency.py170 except Exception as e:CODE
LOWtests/evals/multitenant/bench_e2e_latency.py184 except Exception as e:CODE
LOWtests/evals/multitenant/bench_e2e_latency.py202 except Exception:CODE
LOWtests/evals/multitenant/bench_e2e_latency.py223 except Exception as e:CODE
LOWtests/evals/multitenant/bench_e2e_latency.py251 except Exception as e:CODE
LOWtests/backward_compat/test_run_config.py60 except Exception:CODE
LOW…n/providers/utils/sqlstore/test_authorized_sqlstore.py94 except Exception:CODE
LOW⚡…integration/responses/test_responses_access_control.py172 except Exception:CODE
LOW⚡…integration/responses/test_responses_access_control.py176 except Exception:CODE
LOW⚡…integration/responses/test_responses_access_control.py204 except Exception:CODE
LOW⚡…integration/responses/test_responses_access_control.py208 except Exception:CODE
LOW…integration/responses/test_responses_access_control.py112 except Exception:CODE
LOW…integration/responses/test_responses_access_control.py139 except Exception:CODE
LOW…integration/responses/test_responses_access_control.py236 except Exception:CODE
LOW…integration/responses/test_responses_access_control.py272 except Exception:CODE
LOW⚡tests/integration/responses/test_file_search.py159 except Exception:CODE
LOW⚡tests/integration/responses/test_file_search.py161 except Exception:CODE
LOWtests/integration/responses/test_openai_responses.py882 except Exception as e:CODE
LOW⚡tests/integration/files/test_files.py285 except Exception as e:CODE
LOW⚡tests/integration/files/test_files.py290 except Exception:CODE
LOW⚡tests/integration/files/test_files.py295 except Exception:CODE
LOW⚡tests/integration/files/test_files.py340 except Exception as e:CODE
LOW⚡tests/integration/files/test_files.py344 except Exception:CODE
LOWtests/integration/files/test_files.py134 except Exception:CODE
LOWtests/integration/files/test_files.py183 except Exception:CODE
287 more matches not shown…
Cross-File Repetition78 hits · 390 pts
SeverityFileLineSnippetContext
HIGHtests/unit/core/test_task.py0collects finished spans in memory for test assertions.STRING
HIGH…oviders/responses/builtin/test_responses_background.py0collects finished spans in memory for test assertions.STRING
HIGHtests/unit/utils/inference/test_inference_store.py0collects finished spans in memory for test assertions.STRING
HIGHtests/unit/providers/tool_runtime/test_bing_search.py0test that invoke_tool returns source urls in metadata.STRING
HIGHtests/unit/providers/tool_runtime/test_brave_search.py0test that invoke_tool returns source urls in metadata.STRING
HIGHtests/unit/providers/tool_runtime/test_exa_search.py0test that invoke_tool returns source urls in metadata.STRING
HIGHtests/unit/providers/tool_runtime/test_tavily_search.py0test that invoke_tool returns source urls in metadata.STRING
HIGHtests/unit/providers/tool_runtime/test_bing_search.py0provider data api key should override the config api key.STRING
HIGHtests/unit/providers/tool_runtime/test_brave_search.py0provider data api key should override the config api key.STRING
HIGHtests/unit/providers/tool_runtime/test_exa_search.py0provider data api key should override the config api key.STRING
HIGHtests/unit/providers/tool_runtime/test_tavily_search.py0provider data api key should override the config api key.STRING
HIGHtests/unit/providers/tool_runtime/test_bing_search.py0config api key should be used when no provider data is provided.STRING
HIGHtests/unit/providers/tool_runtime/test_brave_search.py0config api key should be used when no provider data is provided.STRING
HIGHtests/unit/providers/tool_runtime/test_exa_search.py0config api key should be used when no provider data is provided.STRING
HIGHtests/unit/providers/tool_runtime/test_tavily_search.py0config api key should be used when no provider data is provided.STRING
HIGHtests/unit/providers/tool_runtime/test_bing_search.py0config api key should be used when provider data key is none.STRING
HIGHtests/unit/providers/tool_runtime/test_brave_search.py0config api key should be used when provider data key is none.STRING
HIGHtests/unit/providers/tool_runtime/test_exa_search.py0config api key should be used when provider data key is none.STRING
HIGHtests/unit/providers/tool_runtime/test_tavily_search.py0config api key should be used when provider data key is none.STRING
HIGHtests/unit/providers/tool_runtime/test_bing_search.py0_get_api_key should return none when both config and provider data keys are absent.STRING
HIGHtests/unit/providers/tool_runtime/test_brave_search.py0_get_api_key should return none when both config and provider data keys are absent.STRING
HIGHtests/unit/providers/tool_runtime/test_exa_search.py0_get_api_key should return none when both config and provider data keys are absent.STRING
HIGHtests/unit/providers/tool_runtime/test_tavily_search.py0_get_api_key should return none when both config and provider data keys are absent.STRING
HIGH…viders/inference/vertexai/test_converters_responses.py0unit tests for the vertexai openai ↔ google-genai conversion module. all google-genai types are mocked via simplenamespaSTRING
HIGH…oviders/inference/vertexai/test_converters_requests.py0unit tests for the vertexai openai ↔ google-genai conversion module. all google-genai types are mocked via simplenamespaSTRING
HIGH…ders/inference/vertexai/test_converters_completions.py0unit tests for the vertexai openai ↔ google-genai conversion module. all google-genai types are mocked via simplenamespaSTRING
HIGH…nit/providers/vector_io/test_vector_io_stores_files.py0mock the resume functionality to prevent stale file batches from being processed during tests.STRING
HIGH…nit/providers/vector_io/test_vector_io_stores_index.py0mock the resume functionality to prevent stale file batches from being processed during tests.STRING
HIGH…it/providers/vector_io/test_vector_io_stores_config.py0mock the resume functionality to prevent stale file batches from being processed during tests.STRING
HIGH…t/providers/vector_io/test_vector_io_stores_batches.py0mock the resume functionality to prevent stale file batches from being processed during tests.STRING
HIGHtests/unit/server/test_auth.py0suppress expected error/warning logs for tests that deliberately trigger authentication errorsSTRING
HIGHtests/unit/server/test_auth_service_unavailable.py0suppress expected error/warning logs for tests that deliberately trigger authentication errorsSTRING
HIGHtests/unit/server/test_auth_upstream_header.py0suppress expected error/warning logs for tests that deliberately trigger authentication errorsSTRING
HIGHtests/unit/server/test_multi_tenant_responses_e2e.py0in multi mode, a request with principal but no tenant header gets 401.STRING
HIGHtests/unit/server/test_multi_tenant_e2e.py0in multi mode, a request with principal but no tenant header gets 401.STRING
HIGHtests/unit/server/test_multi_tenant_files_e2e.py0in multi mode, a request with principal but no tenant header gets 401.STRING
HIGH…ts/unit/utils/responses/test_responses_store_delete.py0helper to create test messages for chat completion.STRING
HIGH…it/utils/responses/test_responses_store_incremental.py0helper to create test messages for chat completion.STRING
HIGHtests/unit/utils/responses/test_responses_store.py0helper to create test messages for chat completion.STRING
HIGHtests/integration/interactions/conftest.py0disable stderr pipe to prevent rich logging from blocking on buffer saturation.STRING
HIGHtests/integration/messages/conftest.py0disable stderr pipe to prevent rich logging from blocking on buffer saturation.STRING
HIGHtests/integration/models/conftest.py0disable stderr pipe to prevent rich logging from blocking on buffer saturation.STRING
HIGHscripts/generate_anthropic_coverage_docs.py0generate markdown documentation from coverage json.STRING
HIGHscripts/generate_openai_coverage_docs.py0generate markdown documentation from coverage json.STRING
HIGHscripts/generate_google_interactions_coverage_docs.py0generate markdown documentation from coverage json.STRING
HIGHscripts/openai_coverage.py0recursively count properties in a schema, resolving $ref references.STRING
HIGHscripts/anthropic_coverage.py0recursively count properties in a schema, resolving $ref references.STRING
HIGHscripts/systemone_coverage.py0recursively count properties in a schema, resolving $ref references.STRING
HIGHsrc/ogx/providers/registry/files.py0return the list of available inference provider specifications. returns: list of providerspec objects describing availabSTRING
HIGHsrc/ogx/providers/registry/responses.py0return the list of available inference provider specifications. returns: list of providerspec objects describing availabSTRING
HIGHsrc/ogx/providers/registry/inference.py0return the list of available inference provider specifications. returns: list of providerspec objects describing availabSTRING
HIGHsrc/ogx/providers/remote/vector_io/chroma/chroma.py0hybrid search combining vector similarity and keyword search using configurable reranking. args: embedding: the query emSTRING
HIGHsrc/ogx/providers/remote/vector_io/oci/oci26ai.py0hybrid search combining vector similarity and keyword search using configurable reranking. args: embedding: the query emSTRING
HIGHsrc/ogx/providers/remote/vector_io/pgvector/pgvector.py0hybrid search combining vector similarity and keyword search using configurable reranking. args: embedding: the query emSTRING
HIGHsrc/ogx_api/tools/models.py0pydantic models for batches api requests and responses. this module defines the request and response models for the batcSTRING
HIGHsrc/ogx_api/responses/models.py0pydantic models for batches api requests and responses. this module defines the request and response models for the batcSTRING
HIGHsrc/ogx_api/models/models.py0pydantic models for batches api requests and responses. this module defines the request and response models for the batcSTRING
HIGHsrc/ogx_api/conversations/models.py0pydantic models for batches api requests and responses. this module defines the request and response models for the batcSTRING
HIGHsrc/ogx_api/prompts/models.py0pydantic models for batches api requests and responses. this module defines the request and response models for the batcSTRING
HIGHsrc/ogx_api/inference/models.py0pydantic models for batches api requests and responses. this module defines the request and response models for the batcSTRING
18 more matches not shown…
Empty Error Handlers73 hits · 365 pts
SeverityFileLineSnippetContext
HIGHclient-sdks/openapi/templates/python/lib/__init__.py16except (ImportError, ModuleNotFoundError):CODE
HIGHtests/unit/tools/test_tools_json_schema.py178except ValidationError:CODE
HIGHtests/unit/core/test_logging_config.py135except Exception:CODE
HIGHtests/unit/core/test_logging_config.py179except Exception:CODE
HIGH…oviders/responses/builtin/test_responses_background.py379except asyncio.CancelledError:CODE
HIGH…oviders/responses/builtin/test_responses_background.py500except asyncio.CancelledError:CODE
HIGH…oviders/responses/builtin/test_responses_background.py549except asyncio.CancelledError:CODE
HIGH…oviders/responses/builtin/test_responses_background.py610except asyncio.CancelledError:CODE
HIGH…oviders/responses/builtin/test_responses_background.py663except asyncio.CancelledError:CODE
HIGH…oviders/responses/builtin/test_responses_background.py703except asyncio.CancelledError:CODE
HIGH…oviders/responses/builtin/test_responses_background.py750except asyncio.CancelledError:CODE
HIGH…/unit/providers/utils/inference/test_network_config.py423except ssl.SSLError:CODE
HIGH…/unit/providers/utils/inference/test_network_config.py457except ssl.SSLError:CODE
HIGHtests/unit/providers/inline/messages/test_impl.py179except asyncio.CancelledError:CODE
HIGHtests/unit/providers/inference/bedrock/test_config.py62except ValueError:CODE
HIGHtests/evals/multitenant/bench_e2e_latency.py116except Exception:CODE
HIGHtests/evals/multitenant/bench_e2e_latency.py202except Exception:CODE
HIGHtests/backward_compat/test_run_config.py60except Exception:CODE
HIGH…n/providers/utils/sqlstore/test_authorized_sqlstore.py74except (OSError, FileNotFoundError):CODE
HIGH…n/providers/utils/sqlstore/test_authorized_sqlstore.py94except Exception:CODE
HIGH…integration/responses/test_responses_access_control.py112except Exception:CODE
HIGH…integration/responses/test_responses_access_control.py139except Exception:CODE
HIGH…integration/responses/test_responses_access_control.py172except Exception:CODE
HIGH…integration/responses/test_responses_access_control.py176except Exception:CODE
HIGH…integration/responses/test_responses_access_control.py204except Exception:CODE
HIGH…integration/responses/test_responses_access_control.py208except Exception:CODE
HIGH…integration/responses/test_responses_access_control.py236except Exception:CODE
HIGH…integration/responses/test_responses_access_control.py272except Exception:CODE
HIGHtests/integration/responses/test_file_search.py161except Exception:CODE
HIGHtests/integration/responses/test_file_search.py159except Exception:CODE
HIGHtests/integration/files/test_files.py102except NotFoundError:CODE
HIGHtests/integration/files/test_files.py134except Exception:CODE
HIGHtests/integration/files/test_files.py183except Exception:CODE
HIGHtests/integration/files/test_files.py290except Exception:CODE
HIGHtests/integration/files/test_files.py295except Exception:CODE
HIGHtests/integration/files/test_files.py344except Exception:CODE
HIGHtests/integration/files/test_files.py385except Exception:CODE
HIGHscripts/provider_codegen.py35except (ImportError, AttributeError):CODE
HIGHscripts/provider_codegen.py290except Exception:CODE
HIGHscripts/repro_close_wait.py207except KeyboardInterrupt:CODE
HIGHscripts/repro_close_wait_leak.py122except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/repro_close_wait_leak.py197except Exception:CODE
HIGHscripts/openapi_generator/schema_transforms.py160except ImportError:CODE
HIGHscripts/openapi_generator/endpoints.py593except Exception:CODE
HIGHbenchmarking/rag/benchmarks/qrecc_bench.py173except Exception:CODE
HIGHsrc/ogx/core/library_client.py564except asyncio.CancelledError:CODE
HIGHsrc/ogx/core/stack.py684except ValueError:CODE
HIGHsrc/ogx/core/stack.py689except ValueError:CODE
HIGHsrc/ogx/core/stack.py316except ToolGroupNotFoundError:CODE
HIGHsrc/ogx/core/stack.py567except EnvVarError:CODE
HIGHsrc/ogx/core/routers/tool_runtime.py61except Exception:CODE
HIGHsrc/ogx/core/server/auth.py128except ValueError:CODE
HIGHsrc/ogx/core/server/server.py279except InvalidVersion:CODE
HIGHsrc/ogx/core/utils/context.py51except (RuntimeError, ValueError):CODE
HIGH…gx/providers/utils/memory/openai_vector_store_mixin.py818except asyncio.CancelledError:CODE
HIGH…gx/providers/utils/memory/openai_vector_store_mixin.py1962except asyncio.CancelledError:CODE
HIGHsrc/ogx/providers/utils/files/form_data.py47except (ValidationError, TypeError):CODE
HIGHsrc/ogx/providers/utils/files/form_data.py57except (json.JSONDecodeError, TypeError, ValidationError):CODE
HIGHsrc/ogx/providers/utils/inference/inference_store.py148except asyncio.CancelledError:CODE
HIGHsrc/ogx/providers/utils/inference/anthropic_mixin.py39except (ValueError, KeyError, TypeError):CODE
13 more matches not shown…
Deep Nesting249 hits · 214 pts
SeverityFileLineSnippetContext
LOWclient-sdks/openapi/merge_resources.py67CODE
LOWclient-sdks/openapi/merge_resources.py175CODE
LOWclient-sdks/openapi/merge_resources.py289CODE
LOWclient-sdks/openapi/merge_resources.py130CODE
LOWclient-sdks/openapi/build_hierarchy.py243CODE
LOW…nt-sdks/openapi/templates/python/lib/stream_printer.py13CODE
LOW…enapi/templates/python/lib/agents/event_synthesizer.py235CODE
LOW…ks/openapi/templates/python/lib/agents/event_logger.py48CODE
LOW…ient-sdks/openapi/templates/python/lib/agents/agent.py191CODE
LOW…ient-sdks/openapi/templates/python/lib/agents/agent.py371CODE
LOW…openapi/templates/python/lib/cli/eval/run_benchmark.py81CODE
LOWtests/unit/core/routers/test_responses_router.py758CODE
LOWtests/unit/core/routers/test_responses_router.py820CODE
LOWtests/unit/providers/test_configs.py47CODE
LOW…nit/providers/responses/builtin/memory_needle_cases.py326CODE
LOW…roviders/utils/inference/test_anthropic_translation.py1268CODE
LOW…unit/providers/utils/inference/test_anthropic_mixin.py44CODE
LOWtests/unit/providers/vector_io/conftest.py295CODE
LOWtests/unit/providers/vector_io/conftest.py427CODE
LOW…it/providers/vector_io/test_vector_io_stores_config.py745CODE
LOW…it/providers/vector_io/test_vector_io_stores_config.py804CODE
LOWtests/unit/providers/batches/test_reference.py94CODE
LOWtests/unit/distribution/test_api_recordings.py689CODE
LOWtests/unit/utils/test_authorized_sqlstore.py84CODE
LOWtests/evals/multitenant/test_cross_tenant_leakage.py195CODE
LOWtests/evals/multitenant/test_cross_tenant_leakage.py223CODE
LOWtests/evals/multitenant/bench_e2e_latency.py263CODE
LOWtests/evals/multitenant/test_resource_access_control.py217CODE
LOWtests/evals/multitenant/test_resource_access_control.py261CODE
LOWtests/integration/conftest.py232CODE
LOWtests/integration/conftest.py355CODE
LOWtests/integration/messages/conftest.py231CODE
LOWtests/integration/test_cases/test_case.py18CODE
LOWtests/integration/responses/test_reasoning.py218CODE
LOWtests/integration/responses/streaming_assertions.py138CODE
LOWtests/integration/responses/helpers.py124CODE
LOWtests/integration/responses/test_basic_responses.py269CODE
LOWtests/integration/agents/test_openai_responses.py48CODE
LOWtests/integration/inference/test_openai_completion.py538CODE
LOWtests/integration/inference/test_openai_completion.py837CODE
LOWtests/integration/telemetry/collectors/base.py181CODE
LOWtests/integration/telemetry/collectors/base.py214CODE
LOWtests/integration/telemetry/collectors/base.py465CODE
LOWtests/integration/telemetry/collectors/in_memory.py40CODE
LOW…sts/integration/vector_io/test_openai_vector_stores.py63CODE
LOWtests/integration/batches/conftest.py63CODE
LOWtests/common/mcp.py43CODE
LOWtests/common/mcp.py152CODE
LOWtests/common/mcp.py75CODE
LOWscripts/generate_ci_matrix.py91CODE
LOWscripts/check_openai_responses_drift.py223CODE
LOWscripts/provider_codegen.py64CODE
LOWscripts/provider_codegen.py181CODE
LOWscripts/provider_codegen.py316CODE
LOWscripts/provider_codegen.py644CODE
LOWscripts/provider_codegen.py564CODE
LOWscripts/diagnose_recordings.py43CODE
LOWscripts/diagnose_recordings.py143CODE
LOWscripts/diagnose_recordings.py196CODE
LOWscripts/diagnose_recordings.py315CODE
189 more matches not shown…
Modern AI Meta-Vocabulary73 hits · 209 pts
SeverityFileLineSnippetContext
MEDIUMpaper.md120# Query with server-side RAG via the Responses APICOMMENT
MEDIUMtests/unit/README.md61 rag/ # RAG pipeline testsCODE
MEDIUM…sts/unit/core/test_vector_store_config_registration.py27 # mock models API which returns an embedding modelCOMMENT
MEDIUM…iders/responses/builtin/test_openai_responses_agent.py130 # structured and may be actionable (e.g. context window, invalid prompt).COMMENT
MEDIUM…/providers/utils/inference/test_openai_mixin_models.py234 # Create mock models: 1 embedding model and 1 LLM, while there are 2 known embedding modelsCOMMENT
MEDIUM⚡…s/unit/providers/inference/test_models_dev_registry.py22 # as an embedding model with metadata populated from models.dev.COMMENT
MEDIUM⚡…s/unit/providers/inference/test_models_dev_registry.py57 # output=40960 (the context window, not the embedding dimension).COMMENT
MEDIUM⚡…it/providers/vector_io/test_vector_io_stores_config.py183 # Test with no embedding model providedCOMMENT
MEDIUM…it/providers/vector_io/test_vector_io_stores_config.py161 # Test with only embedding model, no dimension (metadata empty to use extra_body)COMMENT
MEDIUMtests/unit/registry/test_registry.py290 embedding_model="different-model", # Conflicting embedding modelCODE
MEDIUMtests/integration/README.md383 agents/ # Agent orchestration testsCODE
MEDIUMtests/integration/suites.py450 # judge model (no chat/completion or embedding model), so this suite is scopedCOMMENT
MEDIUM…0ba161f6d827ed8ed37ec2231c2b0fa7fa38e427cc6508339.json30 "content": "Another language model started to solve this problem and produced a summary of its thinking procesCODE
MEDIUM⚡…dfbe9b81525f1b7ee810cb8279604bd36a643f0f838c4c493.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…255af5e29f556e5518eddf521beb5921498ca171669d0408f.json20 "content": "Another language model started to solve this problem and produced a summary of its thinking procesCODE
MEDIUM…a529b3652d143677146f48c819dafae541d21b911cb08b956.json50 "content": "### Handoff Summary: FastAPI Book Tracker App\n\n#### **Current Progress and Key Decisions**\nCODE
MEDIUMtests/integration/agents/test_openai_responses.py318 # Test with guardrails enabled.COMMENT
MEDIUMtests/integration/agents/test_openai_responses.py476 # Verify response completes successfully with tools and guardrailsCOMMENT
MEDIUM…c5a2a2419b7c6d9799b8f6dd62cc27e185b41d3e2fbfb7641.json12 "content": "x-anthropic-billing-header: cc_version=2.1.169.2ea; cc_entrypoint=sdk-cli; cch=d3066;\nYou are a CCODE
MEDIUM⚡tests/integration/vector_io/test_vector_io_filters.py156# embedding model's distance ordering instead of the filter logic.COMMENT
MEDIUM…sts/integration/vector_io/test_openai_vector_stores.py204 # Embed the document contents with the setup's own embedding model so thatCOMMENT
MEDIUM…sts/integration/vector_io/test_openai_vector_stores.py301 # Creating without an embedding model falls back to vector_stores.default_embedding_modelCOMMENT
MEDIUM⚡tests/integration/vector_io/test_vector_io.py320 # This test specifically tests embedding model override, so we keep embedding_modelCOMMENT
MEDIUMdocs/releases/RELEASE_NOTES_0.7.md259### Inline Neural Rerank for RAG ([#4877](https://github.com/ogx-ai/ogx/pull/4877))COMMENT
MEDIUMdocs/docs/getting_started/demo_script.py21# Get embedding modelCOMMENT
MEDIUMdocs/blog/2026-03-18-responses-api.md44## Private RAG with `file_search`COMMENT
MEDIUMdocs/blog/2026-03-18-responses-api.md54## Multi-tool orchestration with MCPCOMMENT
MEDIUMdocs/blog/2026-03-18-responses-api.md76The [Open Responses specification](https://www.openresponses.org/) changes this. Open Responses is an open source specifCODE
MEDIUMdocs/blog/2026-03-18-responses-api.md90If you're new to OGX, the [Getting Started guide](https://ogx-ai.github.io/docs/getting_started/) will walk you through CODE
MEDIUMdocs/blog/2026-04-28-from-llama-stack-to-ogx.md41## Server-side agentic loopCOMMENT
MEDIUMdocs/blog/2026-04-28-from-llama-stack-to-ogx.md61# Single API call. Server handles multi-step tool orchestration.COMMENT
MEDIUM⚡docs/blog/self_improving_agent.py126# ResearchAgent — a self-improving agentic research assistant.STRING
MEDIUMdocs/blog/2026-01-13-introducing-llama-stack.md17OGX defines and standardizes the core building blocks needed to bring generative AI applications to market, centered on CODE
MEDIUM…blog/2026-03-20-open-responses-openai-compatibility.md17The [Open Responses initiative](https://www.openresponses.org/) represents a collaborative effort to standardize agenticCODE
MEDIUM…blog/2026-03-20-open-responses-openai-compatibility.md44### **Vector Stores API** - RAG Without Vendor Lock-inCOMMENT
MEDIUM…blog/2026-03-20-open-responses-openai-compatibility.md92# Advanced responses with tool orchestration (e.g., with Fireworks)COMMENT
MEDIUMdocs/blog/2026-06-23-guardrails-responses-api.md27## How to use guardrailsCOMMENT
MEDIUMdocs/blog/2026-06-23-guardrails-responses-api.md88## The agentic loopCOMMENT
MEDIUMdocs/blog/2026-05-12-ogx-v1.md110## The agentic loop, server-sideCOMMENT
MEDIUMdocs/blog/2026-05-26-rag-benchmarks.md72## End-to-End RAG: MultiHOP and Doc2DialCOMMENT
MEDIUMdocs/blog/2026-05-26-rag-benchmarks.md76### MultiHOP RAG (F1 Score)COMMENT
MEDIUMdocs/adrs/original_rfc.md56The sequence diagram that details the steps is in the [agentic system docs](https://github.com/meta-llama/llama-agentic-CODE
MEDIUMdocs/src/components/ResponsesFlowSimulator/flowData.js71 // --- Phase 5: Moderation guardrails — input ---COMMENT
MEDIUMdocs/src/components/ResponsesFlowSimulator/flowData.js98 // --- Phase 8: Moderation guardrails — output ---COMMENT
MEDIUMscripts/integration-tests.sh316# auto-detect the embedding model. Tests then connect via an http:// stackCOMMENT
MEDIUM…ithub/workflows/integration-tests-messages-clients.yml65 # the mock serves the embedding model.COMMENT
MEDIUM.github/actions/setup-test-environment/action.yml59 # Download the embedding model used by inline::sentence-transformersCOMMENT
MEDIUMbenchmarking/rag/run_all.sh50# --- MultiHOP RAG ---COMMENT
MEDIUMbenchmarking/rag/README.md1# RAG Benchmark SuiteCOMMENT
MEDIUMbenchmarking/rag/README.md130│ ├── query.py # End-to-end RAG: Responses API with file_searchCODE
MEDIUMbenchmarking/rag/README.md136│ ├── multihop_bench.py # MultiHOP RAG (end-to-end, EM/F1)CODE
MEDIUMbenchmarking/rag/results/REPORT.md1# RAG Benchmark Comparison: OGX vs OpenAICOMMENT
MEDIUMbenchmarking/rag/results/REPORT.md45### End-to-End RAGCOMMENT
MEDIUMbenchmarking/rag/results/REPORT.md94## Results: End-to-End RAGCOMMENT
MEDIUMbenchmarking/rag/results/REPORT.md98### MultiHOP RAGCOMMENT
MEDIUMsrc/ogx/core/stack.py359 # Validate default embedding modelCOMMENT
MEDIUMsrc/ogx/core/routers/vector_io.py268 # Use default embedding model if not specifiedCOMMENT
MEDIUMsrc/ogx/core/routers/vector_io.py288 # Validate that embedding model exists and is of the correct typeCOMMENT
MEDIUM…gx/providers/utils/memory/openai_vector_store_mixin.py1350 # Get embedding model info from vector store metadataCOMMENT
MEDIUM…gx/providers/utils/memory/openai_vector_store_mixin.py1409 # Validate embedding model and dimension are availableCOMMENT
13 more matches not shown…
Over-Commented Block168 hits · 166 pts
SeverityFileLineSnippetContext
LOWpyproject.toml361[tool.mypy]COMMENT
LOW…t-sdks/openapi/templates/python/lib/agents/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…/openapi/templates/python/lib/agents/react/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…ks/openapi/templates/python/lib/cli/common/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…ent-sdks/openapi/templates/python/lib/inline/inline.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…dks/openapi/templates/python/lib/inference/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/core/connectors/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/core/jobs/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/tool_runtime/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…rs/responses/builtin/test_response_conversion_utils.py761COMMENT
LOWtests/unit/providers/utils/test_model_registry.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/utils/test_model_registry.py21# Only aliases are added afterwards.COMMENT
LOWtests/unit/providers/utils/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/utils/memory/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/inline/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/inline/interactions/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/inline/messages/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/inline/responses/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…ts/unit/providers/inline/responses/builtin/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…oviders/inline/responses/builtin/responses/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/inline/inference/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/nvidia/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/file_processor/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/inference/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/inference/bedrock/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/inference/vertexai/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…nit/providers/vector_io/test_vector_io_stores_files.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/providers/vector_io/test_vector_utils.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/distribution/routing_tables/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/agents/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/cli/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/testing/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/testing/providers/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/prompts/prompts/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/files/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/api/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/skills/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/unit/telemetry/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/evals/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/evals/multitenant/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/suites.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/interactions/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/messages/conftest.py61 yield clientCOMMENT
LOWtests/integration/messages/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/inspect/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/test_cases/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/providers/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/providers/utils/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/providers/utils/sqlstore/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/providers/utils/kvstore/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/responses/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOW…s/integration/responses/test_conversation_responses.py101 input=[{"role": "user", "content": "Hello"}],COMMENT
LOW…s/integration/responses/test_conversation_responses.py121 response = openai_client.responses.create(COMMENT
LOW…s/integration/responses/test_conversation_responses.py141 #COMMENT
LOWtests/integration/admin/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/agents/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
LOWtests/integration/models/__init__.py1# Copyright (c) The OGX Contributors.COMMENT
108 more matches not shown…
Redundant / Tautological Comments97 hits · 152 pts
SeverityFileLineSnippetContext
LOWconftest.py51 # Check if we're running unit testsCOMMENT
LOWconftest.py53 # Check if we're running integration testsCOMMENT
LOWclient-sdks/openapi/patch_hierarchy.py181 # Check if already patchedCOMMENT
LOWclient-sdks/openapi/patch_hierarchy.py244 # Check if proxy method already existsCOMMENT
LOWtests/unit/providers/test_configs.py77 # Check if it's HttpUrl or HttpUrl | NoneCOMMENT
LOWtests/unit/providers/test_lazy_imports.py41# Output resultCOMMENT
LOW…oviders/utils/inference/test_openai_mixin_inference.py287 # Set supports_stream_options to False (like Ollama/vLLM)COMMENT
LOW…oviders/utils/inference/test_openai_mixin_inference.py313 # Set supports_stream_options to False (like Ollama/vLLM)COMMENT
LOW…ts/unit/providers/inference/bedrock/test_sigv4_auth.py17# Check if boto3 is available for SigV4 testsCOMMENT
LOWtests/integration/conftest.py77 # Check if the test actually ran and passed or failed, but was not skipped or an expected failure (xfail)COMMENT
LOWtests/integration/conftest.py378 # Check if any roots have ::test_function or ::TestClass specifiersCOMMENT
LOWtests/integration/responses/test_basic_responses.py161 # Check if we have incremental content updatesCOMMENT
LOWtests/integration/agents/test_openai_responses.py348 # Check if the response contains a refusal (indicating guardrail blocked content)COMMENT
LOW…736332d5714f68752c192aa81f43a1536ef0da0a4089fe1f0.json271 "text": " to-do items from the file.\"\"\"\n todos = []\n if os.path.exists(TODO_FILE): # CheckCODE
LOW…ts/integration/inference/test_provider_data_routing.py57 # Check if anthropic provider is available in ci-testsCOMMENT
LOWtests/common/mcp.py256 # Check if port is actually listeningCOMMENT
LOWscripts/check-api-conformance.sh20# Check if breaking changes are intended (skip if so)COMMENT
LOWscripts/check-api-conformance.sh23 # Check if there's a commit message file (during commit)COMMENT
LOWscripts/provider_codegen.py174 # Check if this is a Pydantic model that should be expandedCOMMENT
LOW⚡scripts/provider_codegen.py420 # Check if the original type is a Union that includes non-model typesCOMMENT
LOW⚡scripts/provider_codegen.py425 # Check if the type string contains both a Pydantic model and primitive typesCOMMENT
LOW⚡scripts/provider_codegen.py428 # Check if the type string contains both the model name and primitive typesCOMMENT
LOWscripts/normalize_recordings.py80 # Check if anything changedCOMMENT
LOWscripts/uv-run-with-index.sh34# Check if on a release branch or targeting one, or OGX_RELEASE_MODE is setCOMMENT
LOWscripts/integration-auth-tests.sh42# Check if user tokens exist for ABAC testingCOMMENT
LOWscripts/openai_coverage.py275 # Check if this is a container (no schema indicators)COMMENT
LOWscripts/docker.sh298 # Check if already runningCOMMENT
LOWscripts/docker.sh314 # Check if image exists (with or without localhost/ prefix)COMMENT
LOWscripts/docker.sh445 # Check if -f flag was passed after 'logs' commandCOMMENT
LOWscripts/openapi_generator/schema_transforms.py290 # Check if this is a union schema (anyOf or oneOf)COMMENT
LOWscripts/openapi_generator/schema_transforms.py426 # Check if all items are const string valuesCOMMENT
LOWscripts/openapi_generator/schema_transforms.py580 # Check if we have extra body fields for this path/methodCOMMENT
LOWscripts/openapi_generator/schema_transforms.py673 # Check if this operation has a request bodyCOMMENT
LOWscripts/openapi_generator/schema_transforms.py729 # Check if this parameter is already in the parameters listCOMMENT
LOWscripts/openapi_generator/schema_transforms.py754 # Check if this parameter is already in the parameters listCOMMENT
LOWscripts/openapi_generator/schema_filtering.py235 # Check if path matches version filterCOMMENT
LOWscripts/openapi_generator/schema_filtering.py301 # Check if path matches version filter (stable or experimental)COMMENT
LOWscripts/openapi_generator/endpoints.py210 # Check if it's a File or Form instanceCOMMENT
LOWscripts/openapi_generator/endpoints.py244 # Check if it's the class itselfCOMMENT
LOWscripts/openapi_generator/endpoints.py263 # Check if it's an AsyncIteratorCOMMENT
LOWscripts/openapi_generator/endpoints.py269 # Check if the inner type is a registered schema (union type)COMMENT
LOWscripts/openapi_generator/endpoints.py337 # Check if this is a path parameterCOMMENT
LOWscripts/openapi_generator/endpoints.py342 # Check if it's a File() or Form() parameter - these need special handlingCOMMENT
LOWscripts/openapi_generator/endpoints.py359 # Check if any metadata item is an ExtraBodyFieldCOMMENT
LOWscripts/openapi_generator/endpoints.py372 # Check if it's a Pydantic model (for POST/PUT requests)COMMENT
LOWscripts/openapi_generator/endpoints.py407 # Check if the first argument is a Pydantic modelCOMMENT
LOWscripts/openapi_generator/endpoints.py411 # Check if the first argument is a union typeCOMMENT
LOWscripts/openapi_generator/endpoints.py619 # Check if it's a registered schema first (before checking __name__)COMMENT
LOWscripts/telemetry/setup_telemetry.sh190# Check if services are runningCOMMENT
LOW.github/workflows/commit-recordings.yml303 # Check if there are recording changesCOMMENT
LOW.github/workflows/commit-recordings.yml342 # Check if maintainer can modifyCOMMENT
LOW.github/workflows/backward-compat.yml372 # Check if we already posted a comment (to avoid spam on every push)COMMENT
LOW.github/workflows/backward-compat.yml549 # Check if we already posted a comment (to avoid spam on every push)COMMENT
LOW.github/workflows/pypi.yml804 # Check if we should do production publishCOMMENT
LOW⚡.github/workflows/post-release.yml135 # Check if tag already existsCOMMENT
LOW⚡.github/workflows/post-release.yml162 # Check if PR already existsCOMMENT
LOW.github/workflows/post-release.yml183 # Check if there are changesCOMMENT
LOW.github/workflows/post-release.yml226 # Check if release branch existsCOMMENT
LOW.github/workflows/post-release.yml232 # Check if PR already existsCOMMENT
LOW.github/workflows/post-release.yml249 # Check if there are changesCOMMENT
37 more matches not shown…
Docstring Block Structure22 hits · 110 pts
SeverityFileLineSnippetContext
HIGHtests/integration/batches/conftest.py71Wait for a batch to reach a terminal status. Uses exponential backoff polling strategy for efficient waiting: STRING
HIGHscripts/openapi_generator/_schema_output.py427 Validate an OpenAPI schema using openapi-spec-validator. Args: schema: The OpenAPI schema dictionary tSTRING
HIGHsrc/ogx/core/distribution.py104Get the provider registry, optionally including external providers. This function loads both built-in providers andSTRING
HIGHsrc/ogx/core/resolver.py361Sort providers in dependency order using topological sort. Args: providers_with_specs: Dictionary mapping ASTRING
HIGHsrc/ogx/core/utils/config_resolution.py21 Resolve a config/distro argument to a concrete config file path. Args: config_or_distro: User input (fSTRING
HIGHsrc/ogx/core/storage/sqlstore/sqlstore.py34Get or create a SqlStore instance for the given store reference. Args: reference: A reference specifying thSTRING
HIGHsrc/ogx/core/storage/kvstore/kvstore.py121Get or create a KVStore instance for the given store reference. Args: reference: A reference specifying theSTRING
HIGHsrc/ogx/core/access_control/conditions.py165Parse a condition string into a Condition object. Args: condition: A natural language condition string (e.gSTRING
HIGHsrc/ogx/core/routing_tables/models.py56Resolve provider_model_id="auto" to an actual model from the provider. Queries the provider's list_models() to STRING
HIGHsrc/ogx/core/routing_tables/common.py38Register a routable object with the appropriate provider based on its API type. Args: obj: The routable objSTRING
HIGHsrc/ogx/core/routing_tables/common.py257Look up a model by identifier from the routing table. Args: routing_table: The routing table to search. STRING
HIGHsrc/ogx/providers/utils/tools/mcp.py39 Prepare headers for MCP requests with authorization support. Args: base_headers: Base headers dictionaSTRING
HIGHsrc/ogx/providers/utils/tools/mcp.py423List tools available from an MCP server. Args: endpoint: MCP server endpoint URL headers: Optional STRING
HIGHsrc/ogx/providers/utils/tools/mcp.py539Invoke an MCP tool with the given arguments. Args: endpoint: MCP server endpoint URL tool_name: NamSTRING
HIGHsrc/ogx/providers/utils/vector_io/filters.py22Recursively parse filter data into typed Filter objects. Converts dictionary-based filter data into proper typed FiSTRING
HIGH…inline/responses/builtin/responses/openai_responses.py1770Cancel a response that is queued or in progress. Args: response_id: The ID of the response to canceSTRING
HIGH…ntime/model_context_protocol/model_context_protocol.py80 Extract headers from request provider data, excluding authorization. Authorization must be provided viSTRING
HIGH…te/file_processor/unstructured_api/unstructured_api.py203Call Unstructured.io API to partition the document. Args: client: Unstructured API client STRING
HIGHsrc/ogx/providers/remote/vector_io/pgvector/pgvector.py656Check if vector index of any type has already been created for the table to prevent the conflict. Args: STRING
HIGHsrc/ogx/providers/remote/vector_io/pgvector/pgvector.py698Returns number of records in a vector store. Args: conn: asyncpg connection Returns: STRING
HIGH…gx/providers/remote/vector_io/infinispan/infinispan.py799 Get a vector store index from cache or load from KVStore. Args: vector_store_id: IdentifieSTRING
HIGHsrc/ogx_api/common/upload_limits.py32Read an uploaded file with a size limit, aborting early if exceeded. Performs two levels of checking: 1. Pre-chSTRING
Cross-Language Confusion20 hits · 104 pts
SeverityFileLineSnippetContext
HIGH…s/openapi/templates/python/lib/agents/react/prompts.py51 "action": null,CODE
HIGH…s/openapi/templates/python/lib/agents/react/prompts.py84 "action": null,CODE
HIGH…s/openapi/templates/python/lib/agents/react/prompts.py104 "action": null,CODE
HIGH…s/openapi/templates/python/lib/agents/react/prompts.py136 "action": null,CODE
HIGHtests/unit/providers/inference/test_remote_anthropic.py384 ' "model": "claude-haiku-4-5", "content": [], "stop_reason": null,'CODE
HIGH⚡tests/unit/files/test_files.py569 """Test that expires_at JSON schema type is integer (not a union with null)."""STRING
HIGHscripts/check_openai_responses_drift.py239 # Handle anyOf-with-null pattern: anyOf: [{type: object, properties: ...}, {type: null}]COMMENT
HIGHscripts/cleanup_recordings.py66_TEST_ID_RE = re.compile(rb'"test_id"\s*:\s*("(?:[^"\\]|\\.)*"|null)')CODE
HIGHscripts/openapi_generator/schema_transforms.py296 # Skip simple nullable unions (type | null) - these don't need titlesCOMMENT
HIGHscripts/openapi_generator/responses_transforms.py22 {anyOf: [{$ref: X, title: Y}, {type: null}], description: Z, title: Y}STRING
HIGHscripts/openapi_generator/responses_transforms.py24 {anyOf: [{allOf: [{$ref: X}, {description: Z}]}, {type: null}]}STRING
HIGHscripts/openapi_generator/responses_transforms.py64 {anyOf: [{$ref: X, title: Y}, {type: null}], description: Z, title: Y}STRING
HIGHsrc/ogx/providers/utils/forward_headers.py127 # skip missing keys and JSON null; treat both as "not provided"COMMENT
HIGHsrc/ogx/providers/utils/inference/inference_store.py64 # OpenAI spec: content is string|null, multipart goes in content_partsCOMMENT
HIGHsrc/ogx/providers/registry/file_processors.py203sudo apt-get update && sudo apt-get install -y \\CODE
HIGHsrc/ogx/providers/registry/file_processors.py214RUN apt-get update && apt-get install -y \\CODE
HIGHsrc/ogx_api/schema_utils.py216 anyOf: [{type: X, enum: [...]}, {type: null}]STRING
HIGHsrc/ogx_api/schema_utils.py228 # Handle anyOf format: anyOf: [{type: string, enum: [...]}, {type: null}]COMMENT
HIGHsrc/ogx_api/openai_responses.py484 # optional enum that rejects an explicit null, so the response must not serialize it as null.COMMENT
HIGHsrc/ogx_api/inference/systemone.py63 description="Option name -> description (string, object, array, or null). Up to 255 options.",CODE
Modern Structural Boilerplate93 hits · 94 pts
SeverityFileLineSnippetContext
LOWclient-sdks/openapi/templates/python/lib/__init__.py9__all__ = ["get_oauth_token_for_mcp_server"]CODE
LOW…t-sdks/openapi/templates/python/lib/tools/mcp_oauth.py23logger = logging.getLogger(__name__)CODE
LOW…nt-sdks/openapi/templates/python/lib/tools/__init__.py9__all__ = ["get_oauth_token_for_mcp_server"]CODE
LOW…ks/openapi/templates/python/lib/agents/event_logger.py28__all__ = ["AgentEventLogger", "EventLogger"]CODE
LOW…dks/openapi/templates/python/lib/agents/turn_events.py25__all__ = [CODE
LOW…ient-sdks/openapi/templates/python/lib/agents/agent.py38logger = logging.getLogger(__name__)CODE
LOW…dks/openapi/templates/python/lib/agents/react/agent.py17logger = logging.getLogger(__name__)CODE
LOW…api/templates/python/lib/cli/vector_stores/__init__.py9__all__ = ["vector_stores"]CODE
LOW…api/templates/python/lib/cli/post_training/__init__.py9__all__ = ["post_training"]CODE
LOW…s/openapi/templates/python/lib/cli/inspect/__init__.py9__all__ = ["inspect"]CODE
LOW…openapi/templates/python/lib/cli/providers/__init__.py9__all__ = ["providers"]CODE
LOW…penapi/templates/python/lib/cli/toolgroups/__init__.py9__all__ = ["toolgroups"]CODE
LOW…/openapi/templates/python/lib/cli/datasets/__init__.py9__all__ = ["datasets"]CODE
LOW…ks/openapi/templates/python/lib/cli/models/__init__.py9__all__ = ["models"]CODE
LOW…penapi/templates/python/lib/cli/eval_tasks/__init__.py9__all__ = ["eval_tasks"]CODE
LOW…openapi/templates/python/lib/cli/inference/__init__.py9__all__ = ["inference"]CODE
LOW…templates/python/lib/cli/scoring_functions/__init__.py9__all__ = ["scoring_functions"]CODE
LOW…sdks/openapi/templates/python/lib/cli/eval/__init__.py9__all__ = ["eval"]CODE
LOWtests/integration/responses/helpers.py14__all__ = [CODE
LOWtests/integration/telemetry/collectors/__init__.py13__all__ = [CODE
LOW…ternal/ogx-api-weather/src/ogx_api_weather/__init__.py11__all__ = ["WeatherProvider", "available_providers", "create_router"]CODE
LOW…al/ogx-provider-kaze/src/ogx_provider_kaze/__init__.py12__all__ = ["KazeProviderConfig", "WeatherKazeAdapter"]CODE
LOWscripts/openapi_generator/schema_transforms.py26__all__ = [CODE
LOWscripts/openapi_generator/schema_transforms.py840 def _update_refs(obj: Any) -> None:CODE
LOWscripts/openapi_generator/__init__.py14__all__ = ["generate_openapi_spec", "main"]CODE
LOWsrc/ogx/core/connectors/__init__.py9__all__ = ["ConnectorServiceConfig", "ConnectorServiceImpl"]CODE
LOWsrc/ogx/core/exceptions/__init__.py11__all__ = ["translate_exception"]CODE
LOW⚡src/ogx/core/storage/sqlstore/authorized_sqlstore.py35def set_default_tenancy_config(config: TenancyConfig) -> None:CODE
LOW⚡src/ogx/core/storage/sqlstore/authorized_sqlstore.py46def set_default_tenancy_mode(mode: TenancyMode) -> None:CODE
LOWsrc/ogx/core/storage/sqlstore/sqlalchemy_sqlstore.py175 def set_sqlite_pragma(dbapi_conn: Any, connection_record: Any) -> None:CODE
LOWsrc/ogx/core/storage/kvstore/mongodb/__init__.py9__all__ = ["MongoDBKVStoreImpl"]CODE
LOWsrc/ogx/core/jobs/worker.py254 def set_backends(self, backends: dict[str, StorageBackendConfig]) -> None:CODE
LOWsrc/ogx/core/jobs/__init__.py28__all__ = [CODE
LOW⚡…gx/providers/utils/memory/openai_vector_store_mixin.py485 async def _update_openai_vector_store(self, store_id: str, store_info: dict[str, Any]) -> None:CODE
LOW…gx/providers/utils/memory/openai_vector_store_mixin.py575 async def _update_openai_vector_store_file(self, store_id: str, file_id: str, file_info: dict[str, Any]) -> None:CODE
LOWsrc/ogx/providers/utils/memory/__init__.py7__all__ = []CODE
LOW⚡src/ogx/providers/utils/inference/http_client.py43def set_client_network_fingerprint(client: httpx2.AsyncClient | DefaultAsyncHttpxClient, fingerprint: str) -> None:CODE
LOWsrc/ogx/providers/utils/inference/model_registry.py25__all__ = [CODE
LOWsrc/ogx/providers/utils/vector_io/__init__.py15__all__ = [CODE
LOWsrc/ogx/providers/utils/vector_io/filters.py64__all__ = ["ComparisonFilter", "CompoundFilter", "Filter", "parse_filter"]CODE
LOW…c/ogx/providers/inline/file_processor/auto/__init__.py29__all__ = ["AutoFileProcessorConfig", "get_provider_impl"]CODE
LOWsrc/ogx/providers/inline/file_processor/auto/auto.py57 def set_sibling_providers(self, siblings: dict[str, Any]) -> None:CODE
LOW…providers/inline/file_processor/markitdown/__init__.py26__all__ = ["MarkItDownFileProcessorConfig", "get_provider_impl"]CODE
LOW…gx/providers/inline/file_processor/docling/__init__.py27__all__ = ["DoclingFileProcessorConfig", "get_provider_impl"]CODE
LOW…oviders/inline/file_processor/unstructured/__init__.py26__all__ = ["UnstructuredFileProcessorConfig", "get_provider_impl"]CODE
LOW…/ogx/providers/inline/file_processor/pypdf/__init__.py26__all__ = ["PyPDFFileProcessorConfig", "get_provider_impl"]CODE
LOWsrc/ogx/providers/inline/files/localfs/__init__.py14__all__ = ["LocalfsFilesImpl", "LocalfsFilesImplConfig"]CODE
LOWsrc/ogx/providers/inline/skills/builtin/impl.py115 async def _set_file_ids(self, skill_id: str, file_ids: dict[str, str]) -> None:CODE
LOWsrc/ogx/providers/inline/batches/reference/__init__.py17__all__ = ["ReferenceBatchesImpl", "ReferenceBatchesImplConfig"]CODE
LOWsrc/ogx/providers/inline/batches/reference/batches.py386 async def _update_batch(self, batch_id: str, **updates) -> None:CODE
LOW…/providers/remote/tool_runtime/bing_search/__init__.py10__all__ = ["BingSearchToolConfig", "BingSearchToolRuntimeImpl"]CODE
LOW…ers/remote/file_processor/unstructured_api/__init__.py29__all__ = ["UnstructuredApiFileProcessorConfig", "get_adapter_impl"]CODE
LOW…viders/remote/file_processor/docling_serve/__init__.py27__all__ = ["DoclingServeFileProcessorConfig", "get_adapter_impl"]CODE
LOWsrc/ogx/providers/remote/inference/typesafe/__init__.py22__all__ = ["get_adapter_impl", "TypeSafeConfig"]CODE
LOWsrc/ogx/providers/remote/inference/nvidia/__init__.py21__all__ = ["get_adapter_impl", "NVIDIAConfig"]CODE
LOWsrc/ogx/testing/exception_utils.py23__all__ = [CODE
LOWsrc/ogx_api/validators.py44__all__ = [CODE
LOWsrc/ogx_api/__init__.py596__all__ = [CODE
LOWsrc/ogx_api/connectors/models.py93__all__ = [CODE
LOWsrc/ogx_api/connectors/__init__.py25__all__ = [CODE
33 more matches not shown…
AI Slop Vocabulary33 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/unit/providers/utils/test_model_registry.py222 # Registration should fail with comprehensive error messageCOMMENT
MEDIUM…9811b9c11aba35f4a5532ed39c8cab0ddb191b72132bf215d.json23 "text": "Python is one of the most popular and versatile programming languages, known for its simplicity aCODE
MEDIUM…e2cb125cc854694c3e1aa65a2ab3047db5710225ee2b867db.json21 "content": "Another language model started to solve this problem and produced a summary of its thinking procesCODE
MEDIUM…e0a073b56560ad78108653d64731d803ad9f7bce64d61f18c.json23 "text": "Python is a popular, versatile, and beginner-friendly programming language. Whether you're a begiCODE
MEDIUM…e0a073b56560ad78108653d64731d803ad9f7bce64d61f18c.json23 "text": "Python is a popular, versatile, and beginner-friendly programming language. Whether you're a begiCODE
MEDIUM…7fc955e3ee7d09b60711f036c28920b201063e5994b0bb565.json52 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…ad017cca4e6e4f5177e3fd57822cb6a0bdff86b970ed1892c.json16 "content": "{\"query\": \"Llama 4 Maverick model experts\", \"top_k\": [{\"url\": \"https://ai.meta.com/blog/llaCODE
MEDIUM…ad017cca4e6e4f5177e3fd57822cb6a0bdff86b970ed1892c.json16 "content": "{\"query\": \"Llama 4 Maverick model experts\", \"top_k\": [{\"url\": \"https://ai.meta.com/blog/llaCODE
MEDIUM…cc9c94471df6395f72feda1a2fa6e80f8e8f088d63f36ebee.json16 "content": "The **Eiffel Tower** (*La Tour Eiffel* in French) is an iconic iron lattice tower located on the CCODE
MEDIUM…169c77906a5b245629fe16edfa9ac1060619f088a77b7e4df.json52 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…59d4e00d1853827f65ce072ecab6ad9ac4932dc75157ca5f7.json16 "content": "Another language model started to solve this problem and produced a summary of its thinking procesCODE
MEDIUM…e63a3f791c90f34564a90ef50f950b3864765676c392c56ed.json42 "content": "**Handoff Summary: Context Checkpoint Compaction**\n\n---\n\n### **1. Current Progress and KeyCODE
MEDIUM⚡…dfbe9b81525f1b7ee810cb8279604bd36a643f0f838c4c493.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM⚡…dfbe9b81525f1b7ee810cb8279604bd36a643f0f838c4c493.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…5136688ae397e51754be17a3c37092ac5f8f684221d71a4d4.json15 "content": "{\"query\": \"Python latest version Python.org\", \"top_k\": [{\"url\": \"https://www.python.org/docCODE
MEDIUM…d7522f2107255b0c4170577be520d81b3a8fb9fba29a1f2ce.json23 "text": "Python is a versatile, high-level programming language that is widely used for various applicatioCODE
MEDIUM…0cb8cd67f1d67866a909a1ae096453523df2c703e22aeb367.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…0cb8cd67f1d67866a909a1ae096453523df2c703e22aeb367.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…112fcba9c2d5175c9bfaf1e4697c2912fadc26fa97eb514e4.json42 "content": "### Handoff Summary: Context Checkpoint Compaction\n\n#### **1. Current Progress and Key DecisCODE
MEDIUM…5c739e6055eec0912307b198da7ec051595180f0585886b28.json52 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…60c1d2e7daf0a5d289e7c1ae77f827db4b6633214229f344e.json50 "content": "### Handoff Summary: Python Web App Development Plan\n\n#### **1. Current Progress and Key DecCODE
MEDIUM…60c1d2e7daf0a5d289e7c1ae77f827db4b6633214229f344e.json50 "content": "### Handoff Summary: Python Web App Development Plan\n\n#### **1. Current Progress and Key DecCODE
MEDIUM…8fb391f29c70bfe174ab729038196ac14a7a36fca2d3cc284.json16 "content": "The **Eiffel Tower** (*La Tour Eiffel* in French) is an iconic iron lattice tower located on the CCODE
MEDIUM…6e7bcd8e766a0fd2338aa65d9230978f9a3d28551762dbf42.json15 "content": "{\"query\": \"Python latest stable release Python.org downloads\", \"top_k\": [{\"url\": \"https://wCODE
MEDIUM…c5a2a2419b7c6d9799b8f6dd62cc27e185b41d3e2fbfb7641.json12 "content": "x-anthropic-billing-header: cc_version=2.1.169.2ea; cc_entrypoint=sdk-cli; cch=d3066;\nYou are a CCODE
MEDIUM…c5a2a2419b7c6d9799b8f6dd62cc27e185b41d3e2fbfb7641.json601 "description": "Schedule when to resume work in /loop dynamic mode \u2014 the user invoked /loop without an CODE
MEDIUM…736332d5714f68752c192aa81f43a1536ef0da0a4089fe1f0.json22 "text": "Okay, let's break down the important aspects of Python programming. This covers a range of topicCODE
MEDIUM…736332d5714f68752c192aa81f43a1536ef0da0a4089fe1f0.json22 "text": "Okay, let's break down the important aspects of Python programming. This covers a range of topicCODE
MEDIUMtests/integration/vector_io/test_vector_io_filters.py49 # Create chunks with diverse metadata for comprehensive filter testingCOMMENT
MEDIUM…87b7dad2638170f64cd2e6a7544fecd832fe37d5ba03303b5.json43 "content": "### Handoff Summary for CONTEXT CHECKPOINT COMPACTION\n\n#### Current Progress and Key DecisioCODE
MEDIUMtests/integration/batches/test_batches.py41 """Test comprehensive batch creation and retrieval scenarios."""STRING
MEDIUMdocs/package-lock.json19607 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
LOWsrc/ogx/core/storage/kvstore/sqlite/sqlite.py68 # For file-based databases, just create the tableSTRING
Structural Annotation Overuse32 hits · 54 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/distribution/routers/test_routing_tables.py586 # Step 1: Start with provider_a enabled and discover provider_a modelsCOMMENT
LOW⚡tests/unit/distribution/routers/test_routing_tables.py596 # Step 2: Restart server with provider_a disabled (provider_b enabled instead)COMMENT
LOWtests/unit/distribution/routers/test_routing_tables.py610 # Step 3: Restart server with provider_a re-enabledCOMMENT
LOW⚡tests/integration/interactions/test_interactions.py273 # Step 1: Get a function_callCOMMENT
LOWtests/integration/interactions/test_interactions.py305 # Step 2: Send function_response and get a final text answerCOMMENT
LOWdocs/releases/GENERATE.md23### Step 1: Analyze ChangesCOMMENT
LOWdocs/releases/GENERATE.md30### Step 2: Classify Breaking ChangesCOMMENT
LOWdocs/releases/GENERATE.md43### Step 3: Write Detailed Release NotesCOMMENT
LOWdocs/releases/GENERATE.md76### Step 4: Update Top-Level RELEASE_NOTES.mdCOMMENT
LOWdocs/releases/GENERATE.md108### Step 5: Create Pull RequestCOMMENT
LOWdocs/blog/2026-03-30-observability.md134### Step 0: PrerequisitesCOMMENT
LOWdocs/blog/2026-03-30-observability.md159### Step 1: Deploy the Observability StackCOMMENT
LOWdocs/blog/2026-03-30-observability.md173### Step 2: Install OpenTelemetry PackagesCOMMENT
LOWdocs/blog/2026-03-30-observability.md182### Step 3: Launch the ServerCOMMENT
LOWdocs/blog/2026-03-30-observability.md205### Step 4: Launch Your ClientCOMMENT
LOWdocs/blog/2026-03-30-observability.md242### Step 5: Explore the DataCOMMENT
LOWdocs/blog/2026-03-30-observability.md280### Step 6: Set Up AlertsCOMMENT
LOWdocs/blog/2026-04-06-mlflow-observability.md99### Step 1: Instrument Your CodeCOMMENT
LOWdocs/blog/2026-04-06-mlflow-observability.md131### Step 2: Run the ApplicationCOMMENT
LOWdocs/blog/2026-04-06-mlflow-observability.md138### Step 3: View Traces in MLflowCOMMENT
LOWdocs/blog/2026-04-06-mlflow-observability.md178### Step 1: Install OpenTelemetry DependenciesCOMMENT
LOWdocs/blog/2026-04-06-mlflow-observability.md187### Step 2: Configure the OTel CollectorCOMMENT
LOWdocs/blog/2026-04-06-mlflow-observability.md226### Step 3: Run the OTel CollectorCOMMENT
LOWdocs/blog/2026-04-06-mlflow-observability.md236### Step 4: Run the Application with OTel InstrumentationCOMMENT
LOWdocs/blog/2026-04-06-mlflow-observability.md250### Step 5: Verify TracesCOMMENT
LOWscripts/test_interactions_api.py141 # Step 1: Send request with tools, expect a function_call outputCOMMENT
LOWscripts/test_interactions_api.py181 # Step 2: Send the function result back and get a final text responseCOMMENT
LOW⚡benchmarking/rag/lib/query.py268 # Step 1: Build JSONL input fileCOMMENT
LOW⚡benchmarking/rag/lib/query.py283 # Step 2: Upload the JSONL fileCOMMENT
LOW⚡benchmarking/rag/lib/query.py290 # Step 3: Create the batchCOMMENT
LOW⚡benchmarking/rag/lib/query.py298 # Step 4: Poll for completion (with retry on transient auth errors)COMMENT
LOW⚡benchmarking/rag/lib/query.py325 # Step 5: Download and parse results (with retry on transient auth errors)COMMENT
Dead Code24 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/core/routers/test_responses_router.py199CODE
MEDIUMtests/unit/core/routers/test_responses_router.py233CODE
MEDIUMtests/unit/core/routers/test_inference_router.py169CODE
MEDIUM…ders/responses/builtin/test_openai_responses_params.py853CODE
MEDIUM…ders/responses/builtin/test_openai_responses_params.py926CODE
MEDIUM…roviders/utils/inference/test_anthropic_translation.py1408CODE
MEDIUM…roviders/utils/inference/test_anthropic_translation.py1062CODE
MEDIUM…unit/providers/utils/inference/openai_mixin_helpers.py145CODE
MEDIUM…unit/providers/utils/inference/test_anthropic_mixin.py269CODE
MEDIUM…unit/providers/utils/inference/test_anthropic_mixin.py353CODE
MEDIUMtests/unit/providers/inference/test_remote_anthropic.py225CODE
MEDIUMtests/unit/providers/inference/test_remote_anthropic.py245CODE
MEDIUMtests/unit/providers/inference/test_remote_anthropic.py342CODE
MEDIUMtests/unit/providers/inference/test_ollama_adapter.py240CODE
MEDIUMtests/unit/providers/inference/test_remote_fireworks.py206CODE
MEDIUMtests/unit/providers/inference/test_remote_meta.py508CODE
MEDIUMtests/unit/providers/inference/test_remote_deepseek.py251CODE
MEDIUMtests/unit/distribution/test_context.py28CODE
MEDIUMtests/unit/server/test_sse.py58CODE
MEDIUMtests/unit/server/test_sse.py74CODE
MEDIUMtests/unit/server/test_sse_stream_utils.py174CODE
MEDIUMsrc/ogx/providers/inline/messages/impl.py211CODE
MEDIUMsrc/ogx_api/inference/api.py63CODE
MEDIUMsrc/ogx_api/inference/api.py75CODE
Slop Phrases18 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUM…t-sdks/openapi/templates/python/lib/tools/mcp_oauth.py56 "software_description": "A simple MCP client for demonstration purposes",CODE
MEDIUM…7fc955e3ee7d09b60711f036c28920b201063e5994b0bb565.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…2587ac130abc8663945b8c123f20e9306aec725f8326142e4.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…b516766d367309cf5ea44337417e4c92ad2e1f0c0cae1cb89.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…15bb135a3961eff2043e5b12e25eca5fafc4611b4c802d787.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…f6351f966b65bec858e36988d54b3c669067c7e256adf1955.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…cb36b5cc310bf11c3506718ede2549f425b4b480341317ee3.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…5dc8539dfda064e09abb9214981eddc80ee2dc2a7ef67caa6.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…4241d1352e5c338ef998a24538d60360310d0ba25b949f9c7.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…2674179c5d58595a3e5ad34420845769f535cc9e5988ebd72.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…fb66fd7803e7080f313e80c85b6bc1d7c3d76993815bd5538.json32 "content": "The following is untrusted content retrieved by a tool call (e.g. a web page or indexed document).CODE
MEDIUM…c51a784cfe4fa0ee18d09bd413189a7c03b24bf3871e3d8d7.json15 "content": "{\"query\": \"latest version of Python\", \"top_k\": [{\"url\": \"https://www.liquidweb.com/blog/latCODE
LOW…78adf8dafbd5838b16eef7d6a7d6e75d24e3c120e25e73750.json31 "content": "I'd be happy to help you test the OpenAI API, specifically version 1. To start, we'll need to CODE
LOW…78adf8dafbd5838b16eef7d6a7d6e75d24e3c120e25e73750.json31 "content": "I'd be happy to help you test the OpenAI API, specifically version 1. To start, we'll need to CODE
LOW…02f7136b0dd350e75e7d2a77d222ef26a9bc419e10fa33c56.json31 "content": "I'm happy to help you with testing the Discord API but I can't test for you. You can use the fCODE
MEDIUM…76fd0ba75720cc846958c6fb2bfc69270ce7dff354774ca3c.json39 "content": "\n\nThe weather in San Francisco, CA, is generally mild and comfortable. Here\u2019s a summaryCODE
MEDIUM…dc852cfdea6bfdb6a511f92cee84a6325b04ae84878512c30.json33 "content": "I can guide you through the process, but please note that testing OpenAI's models requires a bCODE
MEDIUMsrc/ogx/providers/registry/vector_io.py452## This is an example how you can set up your environment for using PGVector (you can use either Podman or Docker)COMMENT
Fake / Example Data23 hits · 30 pts
SeverityFileLineSnippetContext
LOW…iders/responses/builtin/test_openai_responses_tools.py517 "author": "John Doe",CODE
LOW…iders/responses/builtin/test_openai_responses_tools.py565 assert attrs1["author"] == "John Doe"CODE
LOW…ers/responses/builtin/test_openai_responses_prompts.py411 "company": OpenAIResponseInputMessageContentText(text="Acme Corp"),CODE
LOWtests/unit/providers/inference/test_remote_openai.py52 config = OpenAIConfig(api_key="fake-key")CODE
LOW⚡tests/unit/providers/vector_io/test_vector_utils.py44 chunk_id="placeholder",CODE
LOW⚡tests/unit/providers/vector_io/test_vector_utils.py48 chunk_id="placeholder",CODE
LOWtests/unit/server/test_route_auth.py29 principal="admin@example.com",CODE
LOW⚡tests/unit/server/test_route_auth.py51 principal="user@example.com",CODE
LOW…integration/inference/test_inference_store_disabled.py72 environment.setenv("OPENAI_API_KEY", "fake-key-for-replay")CODE
LOW…ows/integration-responses-conversations-auth-tests.yml97 OPENAI_API_KEY: "dummy-key-for-replay-mode"CODE
LOW⚡.github/workflows/integration-tests.yml200 AZURE_API_KEY: replay-mode-dummy-keyCODE
LOW⚡.github/workflows/integration-tests.yml202 WATSONX_API_KEY: replay-mode-dummy-keyCODE
LOW⚡.github/workflows/integration-tests.yml207 AWS_BEDROCK_BEARER_TOKEN: replay-mode-dummy-keyCODE
LOW⚡.github/workflows/integration-tests.yml208 AWS_BEARER_TOKEN_BEDROCK: replay-mode-dummy-keyCODE
LOW⚡.github/workflows/integration-tests.yml210 GEMINI_API_KEY: replay-mode-dummy-keyCODE
LOW⚡.github/workflows/integration-tests.yml211 FIREWORKS_API_KEY: replay-mode-dummy-keyCODE
LOW⚡.github/workflows/integration-tests.yml212 ANTHROPIC_API_KEY: ${{ matrix.config.setup == 'anthropic' && 'replay-mode-dummy-key' || '' }}CODE
LOW⚡.github/workflows/integration-tests.yml213 META_API_KEY: ${{ matrix.config.setup == 'meta' && 'replay-mode-dummy-key' || '' }}CODE
LOW⚡.github/workflows/integration-tests.yml214 DEEPSEEK_API_KEY: ${{ matrix.config.setup == 'deepseek' && 'replay-mode-dummy-key' || '' }}CODE
LOW⚡.github/workflows/integration-tests.yml215 TAVILY_SEARCH_API_KEY: ${{ secrets.TAVILY_SEARCH_API_KEY || 'replay-mode-dummy-key' }}CODE
LOW⚡.github/workflows/integration-tests.yml216 TYPESAFE_API_KEY: replay-mode-dummy-keyCODE
LOW.github/workflows/openresponses-conformance.yml57 OPENAI_API_KEY: "dummy-key-for-replay-mode"CODE
LOWbenchmarking/vertical-scaling/run-benchmark.sh177OPENAI_BASE_URL="$MOCK_URL/v1" OPENAI_API_KEY="fake-token" uv run ogx stack run --providers inference=remote::openai --pCODE
Verbosity Indicators12 hits · 24 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/distribution/routers/test_routing_tables.py586 # Step 1: Start with provider_a enabled and discover provider_a modelsCOMMENT
LOW⚡tests/unit/distribution/routers/test_routing_tables.py596 # Step 2: Restart server with provider_a disabled (provider_b enabled instead)COMMENT
LOWtests/unit/distribution/routers/test_routing_tables.py610 # Step 3: Restart server with provider_a re-enabledCOMMENT
LOW⚡tests/integration/interactions/test_interactions.py273 # Step 1: Get a function_callCOMMENT
LOWtests/integration/interactions/test_interactions.py305 # Step 2: Send function_response and get a final text answerCOMMENT
LOWscripts/test_interactions_api.py141 # Step 1: Send request with tools, expect a function_call outputCOMMENT
LOWscripts/test_interactions_api.py181 # Step 2: Send the function result back and get a final text responseCOMMENT
LOW⚡benchmarking/rag/lib/query.py268 # Step 1: Build JSONL input fileCOMMENT
LOW⚡benchmarking/rag/lib/query.py283 # Step 2: Upload the JSONL fileCOMMENT
LOW⚡benchmarking/rag/lib/query.py290 # Step 3: Create the batchCOMMENT
LOW⚡benchmarking/rag/lib/query.py298 # Step 4: Poll for completion (with retry on transient auth errors)COMMENT
LOW⚡benchmarking/rag/lib/query.py325 # Step 5: Download and parse results (with retry on transient auth errors)COMMENT
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ba20bf3b695138b785ffc26aed814ef01db492f4a5674d6c5.json33 "content": "You want to test the effects of a high temperature in OpenAI's GPT-4 model. \n\nTo do this, yoCODE
HIGH…dc852cfdea6bfdb6a511f92cee84a6325b04ae84878512c30.json33 "content": "I can guide you through the process, but please note that testing OpenAI's models requires a bCODE
HIGHsrc/ogx/providers/registry/file_processors.py370UNSTRUCTURED_API_KEY=your-api-key ogx stack run \\CODE
AI Structural Patterns11 hits · 9 pts
SeverityFileLineSnippetContext
LOW…integration/responses/test_responses_access_control.py85CODE
LOWscripts/openapi_generator/schema_transforms.py511CODE
LOW…gx/providers/utils/bedrock/refreshable_boto_session.py26CODE
LOWsrc/ogx/providers/utils/bedrock/sigv4_auth.py68CODE
LOWsrc/ogx/providers/inline/responses/builtin/impl.py178CODE
LOW…inline/responses/builtin/responses/openai_responses.py1156CODE
LOW…viders/inline/responses/builtin/responses/streaming.py260CODE
LOW…/providers/remote/inference/passthrough/passthrough.py213CODE
LOWsrc/ogx/testing/api_recorder.py123CODE
LOWsrc/ogx_api/schema_utils.py164CODE
LOWsrc/ogx_api/models/fastapi_routes.py98CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md125### I've implemented a featureCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/unit/providers/utils/test_model_registry.py86def helper(known_provider_model: ProviderModelEntry, known_provider_model2: ProviderModelEntry) -> ModelRegistryHelper:CODE