AI Slop Code Risk Monitor

onyx-dot-app/onyx

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

Open Source AI Platform - AI Chat with advanced features that works with every LLM

17.2 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for onyx-dot-app/onyx, a Python project with 33,117 GitHub stars. SynthScan examined 2,041,122 lines of code across 8908 source files, recording 29497 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 17.2 (Elevated pattern signal); it is not an authorship estimate.

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

17.2
Adjusted Signal
17.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
33.1K
Stars
Python
Language
2.0M
Lines of Code
8.9K
Files
29.5K
Pattern Hits
2026-10-31
Scan Date
0.05
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 43.7/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 7.1/100 · LOW

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

Agent Over-Engineering Ratio 50.7/100 · HIGH

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

PR Review Velocity Impact 58.1/100 · HIGH

Which changes need focused human review? 29497 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 11HIGH 446MEDIUM 1857LOW 27183

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 29497 distinct pattern matches across 27 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 Identifiers20413 hits · 20153 pts
SeverityFileLineSnippetContext
LOWdocumentation/scripts/format_docs.py124def ensure_blank_lines_around_blocks(lines: List[str]) -> List[str]:CODE
LOWdocumentation/scripts/format_docs.py389def normalize_steps_indentation(lines: List[str]) -> List[str]:CODE
LOWdocumentation/scripts/format_docs.py667def wrap_text_with_punct_preference(text: str, width: int) -> List[str]:CODE
LOWdocumentation/scripts/format_docs.py943 def expand_single_line_advisories(ls: List[str]) -> List[str]:CODE
LOWdocumentation/scripts/format_docs.py973 def normalize_inner_indentation(ls: List[str]) -> List[str]:CODE
LOWdocumentation/scripts/format_docs.py1060 def remove_blank_after_group_opens(ls: List[str]) -> List[str]:CODE
LOWdocumentation/scripts/format_docs.py1320def find_numbered_list_spacing_warnings(path: str, text: str) -> List[tuple[int, str]]:CODE
LOWdocumentation/scripts/format_docs.py1341def find_numbered_list_occurrences(path: str, text: str) -> List[tuple[int, str]]:CODE
LOWdocumentation/scripts/format_docs.py1360def run_mintlify_broken_links(root: str) -> int:CODE
LOWdocumentation/scripts/format_docs.py1400def fallback_broken_asset_check(CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py336def test_chat_auto_without_knob_answers_directly() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py341def test_dr_clarification_always_calls_generate_plan() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py347def test_dr_plan_call_is_plain_text() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py353def test_dr_orchestrator_first_cycle_spawns_research_agents() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py417def test_forced_specific_tool_is_honored() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py426def test_max_tokens_caps_answer_length() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py432def test_maxctx_rejects_oversized_prompt_with_context_error() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py132def assistant_tool_calls_message(name: str, arguments: str = "{}") -> dict[str, Any]:CODE
LOWtools/loadtest/tests/test_mock_llm.py146def test_plain_chat_no_tools_streams_text_with_stop() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py158def test_tool_choice_none_forces_text_even_with_tools() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py165def test_query_rephrase_flow_echoes_user_text() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py191def test_rephrase_echo_excludes_prompt_scaffolding() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py221def test_search_tool_argument_uses_the_question() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py241def test_search_tool_argument_survives_message_padding() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py257def test_normal_answer_is_filler_not_echo() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py265def test_chat_auto_with_tools_knob_emits_internal_search_with_queries_array() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py283def test_multi_tool_knob_emits_parallel_retrieval_calls() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py296def test_multi_tool_knob_caps_at_offered_retrieval_tools() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py309def test_tools_knob_count_is_honored() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py320def test_chat_auto_after_tool_result_streams_final_answer() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py367def test_dr_orchestrator_second_cycle_generates_report() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py386def test_dr_research_agent_searches_then_reports() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py450def test_maxctx_allows_small_prompt() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py499def test_search_helper_responses_match_across_transports() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py535def test_selection_respects_candidates_and_maximum() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py549def test_classification_override_exercises_each_expansion_path() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py562def test_calibrated_selection_varies_without_invalid_ids() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py579def test_keyword_output_preserves_terms_and_ignores_prompt_scaffolding() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py604def test_calibration_import_does_not_read_fixture() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py617def test_calibration_loader_reuses_fixture() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py631def test_helper_output_limits_match_text_usage_and_finish_reason() -> None:CODE
LOWtools/loadtest/tests/test_exporter.py26 def get_current_response_time_percentile(self, _pct: float) -> float | None:CODE
LOWtools/loadtest/tests/test_exporter.py29 def get_response_time_percentile(self, pct: float) -> float:CODE
LOWtools/loadtest/tests/test_exporter.py53def test_collector_emits_locust_metrics() -> None:CODE
LOWtools/loadtest/tests/test_exporter.py79def test_collector_no_runner_is_empty() -> None:CODE
LOWtools/loadtest/tests/test_stream_parser.py21def test_captures_reserved_assistant_message_id() -> None:CODE
LOWtools/loadtest/tests/test_stream_parser.py36def test_message_id_absent_is_none() -> None:CODE
LOWtools/loadtest/tests/test_stream_parser.py48def test_milestones_fire_once_in_order() -> None:CODE
LOWtools/loadtest/tests/test_stream_parser.py61def test_error_packet_marks_failure() -> None:CODE
LOWtools/loadtest/tests/test_representative_workload.py40def test_complete_search_turn_stops_at_planned_rounds(CODE
LOWtools/loadtest/tests/test_representative_workload.py102def test_stream_and_plain_preserve_text_reasoning_usage_and_citations() -> None:CODE
LOWtools/loadtest/tests/test_representative_workload.py143def test_argument_fragments_reassemble_valid_json() -> None:CODE
LOWtools/loadtest/tests/test_representative_workload.py166def test_budget_includes_reasoning_and_handles_unicode(field: str) -> None:CODE
LOWtools/loadtest/tests/test_representative_workload.py180def test_profile_mix_is_seeded_and_contains_tail_work() -> None:CODE
LOWtools/loadtest/tests/test_representative_workload.py190def test_timing_plan_has_fixed_end_independent_of_fragment_count() -> None:CODE
LOWtools/loadtest/tests/test_representative_workload.py212def test_faults_are_explicit_and_normal_profiles_remain_valid() -> None:CODE
LOWtools/loadtest/tests/test_representative_workload.py237def test_schedule_is_reproducible_and_spreads_users() -> None:CODE
LOW⚡tools/loadtest/tests/test_representative_workload.py251def test_erag_jsonl_loads_only_questions(CODE
LOW⚡tools/loadtest/tests/test_representative_workload.py265def test_worker_snapshots_replace_instead_of_double_counting() -> None:CODE
LOWtools/loadtest/tests/test_representative_workload.py276def test_capacity_requires_enough_samples_and_both_targets() -> None:CODE
20353 more matches not shown…
Decorative Section Separators1358 hits · 5041 pts
SeverityFileLineSnippetContext
MEDIUMweb/tests/e2e/global-setup.ts248 // ── Preflight check ──────────────────────────────────────────────────COMMENT
MEDIUMweb/tests/e2e/global-setup.ts251 // ── Provision test users via API ─────────────────────────────────────COMMENT
MEDIUMweb/tests/e2e/global-setup.ts270 // ── Login via API and save storage state ───────────────────────────COMMENT
MEDIUMweb/tests/e2e/chat/welcome_page.spec.ts28 // ── Full-page screenshot ──────────────────────────────────────────COMMENT
MEDIUMweb/tests/e2e/chat/welcome_page.spec.ts41 // ── Input bar element screenshot ──────────────────────────────────COMMENT
MEDIUMweb/tests/e2e/chat/welcome_page.spec.ts52 // ── Sidebar element screenshot ────────────────────────────────────COMMENT
MEDIUMweb/tests/e2e/chat/welcome_page.spec.ts63 // ── Content assertions ────────────────────────────────────────────COMMENT
MEDIUMweb/lib/opal/src/components/tabs/Tabs.test.tsx42// ── Keyboard ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx74// ─── DisplayNameField ────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx100// ─── APIKeyField ─────────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx143// ─── APIBaseField ───────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx203// ─── ModelsAccessField ──────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx444// ─── RefetchButton ──────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx491// ─── ModelsField ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx495// ─── Model metadata helpers (Nebius TokenFactory picker) ────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx1023// ─── ModalWrapper ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts23// ─── useInitialValues ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts73// ─── buildValidationSchema ────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts125// ─── Form value types ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts169// ─── mergeFetchedModelConfigurations ──────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts218// ─── Misc ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/svc.ts18// ─── Test helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/svc.ts98// ─── Submit provider ──────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/svc.ts142 // ── Test credentials ────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/svc.ts204 // ── Create/update provider ──────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/svc.ts230 // ── Set as default ──────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/svc.ts263 // ── Post-success ────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/CustomModal.tsx50// ─── Model Configuration List ─────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/CustomModal.tsx230// ─── Provider Name Select ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/CustomModal.tsx260// ─── Custom Config Processing ─────────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/packetTypes.ts13// ─── Raw Packet Field Access ─────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/packetTypes.ts59// ─── Parsed Packet Types (Discriminated Union) ──────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/pathSanitizer.test.ts62 // ── Local dev (sandboxes + sessions) ────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/pathSanitizer.test.ts88 // ── Kubernetes (sessions only) ──────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/pathSanitizer.test.ts104 // ── Already relative ────────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/pathSanitizer.test.ts116 // ── Title field (no leading /) ──────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/pathSanitizer.test.ts126 // ── Fallback (unknown format, >3 segments) ──────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/pathSanitizer.test.ts134 // ── Short paths ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/pathSanitizer.test.ts154 // ── Bash commands ───────────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/pathSanitizer.test.ts172 // ── Output listings ─────────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/pathSanitizer.test.ts190 // ── No paths — passthrough ──────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/pathSanitizer.test.ts198 // ── Error messages ──────────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts719 // ── Command (freeform → sanitizePathsInText) ──────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts726 // ── Description ───────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts736 // ── Output (freeform → sanitizePathsInText) ───────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts740 // ── Title ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts743 // ── Status ────────────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts746 // ── Todo-specific ─────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts749 // ── Task-specific ─────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts754 // ── Skill detection ───────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts761 // ── Subagent routing (from ACP _meta) ─────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts165// ─── Skill Detection ──────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts210// ─── Tool Name Resolution ─────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts300// ─── Shared Helpers ───────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts336// ─── Edit / Diff Extraction ──────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts379// ─── Patch Text Extraction (opencode agent) ─────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts398// ─── Description Builder ─────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts449// ─── Title Builder ───────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts494// ─── Raw Output Extraction ───────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts574// ─── Todo Extraction ─────────────────────────────────────────────COMMENT
1298 more matches not shown…
Excessive Try-Catch Wrapping1725 hits · 1875 pts
SeverityFileLineSnippetContext
LOWdocumentation/scripts/format_docs.py1390 except Exception as e:CODE
MEDIUMtools/ods/internal/openapi/openapi_schema.py39 print(f"Error: Failed to import required modules: {e}", file=sys.stderr)CODE
LOWtools/ods/internal/openapi/openapi_schema.py74 except Exception as e: # noqa: BLE001CODE
MEDIUMtools/ods/internal/openapi/openapi_schema.py75 print(f"Error generating OpenAPI schema: {e}", file=sys.stderr)CODE
LOWtools/loadtest/onyx_client/chat_user.py221 except Exception as exc:CODE
LOWtools/loadtest/onyx_client/chat_user.py283 except Exception as exc:CODE
LOWtools/loadtest/scenarios/health_probe.py75 except Exception as exc:CODE
LOW.agents/hooks/ensure_latest_main.py346 except Exception: # a session-start hook must never break the sessionCODE
LOW⚡desktop/tests/webdriver_smoke.py244 except Exception as error:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py291 except Exception as e:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py334 except Exception as e:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py403 except Exception as e:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py552 except Exception as e:CODE
LOWbackend/ee/onyx/background/celery/tasks/vespa/tasks.py93 except Exception as e:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py181 except Exception:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py343 except Exception as e:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py421 except Exception as e:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py538 except Exception:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py701 except Exception as e:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py788 except Exception:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py919 except Exception as e:CODE
LOW…nd/celery/tasks/doc_permission_syncing/checkpointer.py35 except Exception:CODE
LOW…nd/celery/tasks/doc_permission_syncing/checkpointer.py59 except Exception:CODE
LOW…ckground/celery/tasks/sso_domain_revalidation/tasks.py32 except Exception:CODE
LOWbackend/ee/onyx/background/celery/tasks/hooks/tasks.py34 except Exception:CODE
LOWbackend/ee/onyx/background/celery/tasks/cloud/tasks.py45 except Exception:CODE
LOWbackend/ee/onyx/background/celery/tasks/cloud/tasks.py64 except Exception:CODE
LOWbackend/ee/onyx/background/celery/tasks/cloud/tasks.py120 except Exception:CODE
LOWbackend/ee/onyx/background/celery/tasks/cloud/tasks.py137 except Exception:CODE
LOWbackend/ee/onyx/background/celery/tasks/cloud/tasks.py208 except Exception:CODE
LOW…e/onyx/background/celery/tasks/ttl_management/tasks.py124 except Exception:CODE
LOW…e/onyx/background/celery/tasks/ttl_management/tasks.py146 except Exception:CODE
LOW…e/onyx/background/celery/tasks/ttl_management/tasks.py200 except Exception:CODE
LOW…/onyx/background/celery/tasks/license_reclaim/tasks.py41 except Exception as e:CODE
LOW…/onyx/background/celery/tasks/license_reclaim/tasks.py57 except Exception as e:CODE
LOW…/onyx/background/celery/tasks/license_reclaim/tasks.py78 except Exception as e:CODE
MEDIUM…/onyx/background/celery/tasks/license_reclaim/tasks.py37def _idle_rounds() -> int:CODE
LOW⚡…x/background/celery/tasks/tenant_provisioning/tasks.py103 except Exception:CODE
LOW⚡…x/background/celery/tasks/tenant_provisioning/tasks.py113 except Exception:CODE
LOW⚡…x/background/celery/tasks/tenant_provisioning/tasks.py119 except Exception:CODE
LOW…x/background/celery/tasks/tenant_provisioning/tasks.py164 except Exception:CODE
LOW…x/background/celery/tasks/tenant_provisioning/tasks.py245 except Exception:CODE
LOW…x/background/celery/tasks/tenant_provisioning/tasks.py253 except Exception:CODE
LOW…x/background/celery/tasks/tenant_provisioning/tasks.py266 except Exception:CODE
LOW…x/background/celery/tasks/tenant_provisioning/tasks.py272 except Exception:CODE
LOW…ee/onyx/background/celery/tasks/query_history/tasks.py89 except Exception:CODE
LOW…ee/onyx/background/celery/tasks/query_history/tasks.py119 except Exception:CODE
LOWbackend/ee/onyx/feature_flags/posthog_provider.py53 except Exception as e:CODE
LOWbackend/ee/onyx/feature_flags/posthog_provider.py71 except Exception as e:CODE
LOW…d/ee/onyx/external_permissions/post_query_censoring.py89 except Exception:CODE
LOWbackend/ee/onyx/external_permissions/jira/group_sync.py102 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/github/doc_sync.py57 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/github/doc_sync.py73 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/github/doc_sync.py125 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/github/utils.py66 except Exception as e:CODE
LOW…/ee/onyx/external_permissions/confluence/group_sync.py119 except Exception:CODE
LOW…e/onyx/external_permissions/confluence/space_access.py44 except Exception as e:CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py76 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/slack/doc_sync.py265 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/slack/doc_sync.py272 except Exception as e:CODE
1665 more matches not shown…
Fake / Example Data2706 hits · 1849 pts
SeverityFileLineSnippetContext
LOWtools/ods/cmd/release_prefixed_tag_test.go101 gittest.Git(t, work, "config", "user.email", "test@test.com")CODE
LOWtools/ods/internal/gittest/gittest.go77 Git(t, work, "config", "user.email", "test@test.com")CODE
LOWtools/ods/internal/git/git_test.go30 r.Git("config", "user.email", "test@test.com")CODE
LOWtools/loadtest/scenarios/file_attachment.py34 unit = b"Onyx load-test attachment payload. Lorem ipsum dolor sit. " * 18CODE
LOWweb/tools/oxlint/i18n/rules/no-raw-jsx-text.ts6 "placeholder",CODE
LOWweb/tests/README.md225 await user.type(screen.getByLabelText(/name/i), "John Doe");CODE
LOWweb/tests/README.md540 expect(screen.getByText("John Doe")).toBeInTheDocument();CODE
LOWweb/tests/README.md546 expect(screen.queryByText("John Doe")).not.toBeInTheDocument();CODE
LOW…e/admin/connector/credentialed_connector_setup.spec.ts37 confluence_access_token: "placeholder",CODE
LOW…e/admin/connector/credentialed_connector_setup.spec.ts105 confluence_access_token: "placeholder",CODE
LOW…e/admin/connector/credentialed_connector_setup.spec.ts106 confluence_refresh_token: "placeholder",CODE
LOW…sts/e2e/admin/connector/google_connector_setup.spec.ts26 await setup.fillServiceAccount("admin@example.com");CODE
LOW…sts/e2e/admin/connector/google_connector_setup.spec.ts33 google_primary_admin: "admin@example.com",CODE
LOWweb/lib/opal/src/components/dropdown/types.ts176 | "placeholder"CODE
LOW…nents/inputs/uploads/input-multi-upload/components.tsx14export type InputMultiUploadProps = Omit<UploadBaseProps, "placeholder"> & {CODE
LOWweb/lib/opal/src/components/inputs/dropdowns/types.ts63 "onChange" | "value" | "placeholder" | "readOnly"CODE
LOWweb/src/sections/plugins/PluginsPage.test.tsx86 owner: "admin@example.com",CODE
LOW…src/sections/plugins/__tests__/memberPluginFixtures.ts72 owner: "admin@example.com",CODE
LOW…/sections/oauth-provider/OAuthProviderConsent.test.tsx14 account_email: "user@example.com",CODE
LOWweb/src/sections/actions/MCPServerToolsEditor.test.tsx484 "placeholder",CODE
LOW…c/sections/actions/modals/MCPPluginSetupModal.test.tsx68 email: "admin@example.com",CODE
LOW…c/sections/actions/modals/MCPPluginSetupModal.test.tsx225 owner: "admin@example.com",CODE
LOW…sections/actions/modals/MCPAuthenticationPage.test.tsx43 owner: "admin@example.com",CODE
LOW…/sections/actions/modals/MCPServerDetailsPage.test.tsx324 owner: "admin@example.com",CODE
LOW…pp/craft/v1/apps/admin/ConfigureProviderModal.test.tsx665 author_email: "admin@example.com",CODE
LOW…pp/craft/v1/apps/admin/ConfigureProviderModal.test.tsx666 owner: { id: "admin-id", email: "admin@example.com" },CODE
LOW…/app/craft/v1/apps/admin/CreateCustomAppModal.test.tsx509 author_email: "admin@example.com",CODE
LOW…/app/craft/v1/apps/admin/CreateCustomAppModal.test.tsx510 owner: { id: "admin-id", email: "admin@example.com" },CODE
LOWweb/src/app/craft/components/ModelPickerButton.tsx50 const placeholder = placeholderProp ?? tModelSelectors("placeholder");CODE
LOW…/lib/languageModels/components/SimpleModelSelector.tsx88 placeholder?: InputSingleSelectProps["placeholder"];CODE
LOW…/lib/languageModels/components/SimpleModelSelector.tsx252 placeholder={placeholder ?? t("placeholder")}CODE
LOWweb/src/lib/auth/components.test.tsx257 "user@example.com"CODE
LOWweb/src/lib/plugins/chat.test.tsx61 owner: "admin@example.com",CODE
LOWweb/src/lib/skills/__fixtures__/picker.ts93 owner: "admin@example.com",CODE
LOW⚡web/src/i18n/messages/zh.json5691 "placeholder": "描述该文档集代表的内容"CODE
LOW⚡web/src/i18n/messages/zh.json5695 "placeholder": "搜索联合连接器…"CODE
LOW⚡web/src/i18n/messages/zh.json5699 "placeholder": "文档集的名称",CODE
LOW⚡web/src/i18n/messages/zh.json9475 "placeholder": "客户端 ID"CODE
LOW⚡web/src/i18n/messages/zh.json9480 "placeholder": "客户端密钥"CODE
LOW⚡web/src/i18n/messages/zh.json9489 "placeholder": "添加作用域(例如 openid)"CODE
LOW⚡web/src/i18n/messages/zh.json9494 "placeholder": "https://example.com/.well-known/openid-configuration"CODE
LOW⚡web/src/i18n/messages/zh.json9503 "placeholder": "https://idp.example.com/entity"CODE
LOW⚡web/src/i18n/messages/zh.json9508 "placeholder": "https://idp.example.com/sso"CODE
LOW⚡web/src/i18n/messages/zh.json9513 "placeholder": "-----BEGIN CERTIFICATE-----"CODE
LOW⚡web/src/i18n/messages/zh.json9518 "placeholder": "onyx"CODE
LOW⚡web/src/i18n/messages/zh.json9523 "placeholder": "-----BEGIN CERTIFICATE-----"CODE
LOW⚡web/src/i18n/messages/zh.json9528 "placeholder": "-----BEGIN PRIVATE KEY-----"CODE
LOW⚡web/src/i18n/messages/zh.json9533 "placeholder": "email"CODE
LOW⚡web/src/i18n/messages/zh.json9589 "placeholder": "IT 工单"CODE
LOW⚡web/src/i18n/messages/zh.json9593 "placeholder": "使用 Markdown 编写的答案。示例:如需 IT 团队的帮助,请发送邮件至 internalsupport@company.com"CODE
LOW⚡web/src/i18n/messages/zh.json9597 "placeholder": "工单 问题 故障"CODE
LOW⚡web/src/i18n/messages/zh.json9601 "placeholder": "输入类别并按 Enter…"CODE
LOW⚡web/src/i18n/messages/zh.json9853 "placeholder": "聊天页脚内容"CODE
LOW⚡web/src/i18n/messages/zh.json9856 "placeholder": "聊天页眉内容"CODE
LOW⚡web/src/i18n/messages/zh.json9859 "placeholder": "欢迎使用 Acme Chat"CODE
LOW⚡web/src/i18n/messages/zh.json12521 "placeholder": "今天 {appName} 能为您做些什么"CODE
LOW⚡web/src/i18n/messages/zh.json12531 "placeholder": "输入您的 API 密钥"CODE
LOW⚡web/src/i18n/messages/zh.json12541 "placeholder": "输入您的 {field}"CODE
LOW⚡web/src/i18n/messages/zh.json16202 "placeholder": "选择有效期",CODE
LOW⚡web/src/i18n/messages/zh.json16206 "placeholder": "为 token 命名",CODE
2646 more matches not shown…
Empty Error Handlers208 hits · 1040 pts
SeverityFileLineSnippetContext
HIGH.agents/feature-map/stale_docs.py239except (SyntaxError, ValueError):CODE
HIGH.agents/hooks/ensure_latest_main.py175except FileNotFoundError:CODE
HIGH.agents/hooks/ensure_latest_main.py192except OSError:CODE
HIGH.agents/hooks/pre_commit_on_stop.py237except (subprocess.CalledProcessError, KeyError):CODE
HIGH.agents/hooks/pre_commit_on_stop.py395except OSError:CODE
HIGHdesktop/tests/webdriver_smoke.py167except (RuntimeError, OSError):CODE
HIGHdesktop/tests/webdriver_smoke.py373except RuntimeError:CODE
HIGHbackend/ee/onyx/server/license/api.py180except Exception:CODE
HIGHbackend/ee/onyx/server/tenants/proxy.py198except Exception:CODE
HIGHbackend/ee/onyx/server/billing/service.py125except Exception:CODE
HIGHbackend/tests/external_dependency_unit/full_setup.py58except Exception:CODE
HIGH…end/tests/external_dependency_unit/indexing_helpers.py190except Exception:CODE
HIGH…ts/external_dependency_unit/document_index/conftest.py169except KvKeyNotFoundError:CODE
HIGH…ts/external_dependency_unit/llm/test_prompt_caching.py589except OSError:CODE
HIGH…ckend/tests/external_dependency_unit/craft/conftest.py79except Exception:CODE
HIGH…ckend/tests/external_dependency_unit/craft/conftest.py295except Exception:CODE
HIGH…ency_unit/sandbox_proxy/test_identity_docker_lookup.py163except (NotFound, APIError):CODE
HIGH…ency_unit/sandbox_proxy/test_identity_docker_lookup.py121except (NotFound, APIError):CODE
HIGH…al_dependency_unit/chat/test_lazy_chat_file_loading.py112except Exception:CODE
HIGH…l_dependency_unit/chat/test_build_python_chat_files.py83except Exception:CODE
HIGH…er/enterprise_settings/test_custom_analytics_script.py39except Exception:CODE
HIGH…er/enterprise_settings/test_custom_analytics_script.py49except Exception:CODE
HIGH…l_dependency_unit/opensearch/test_opensearch_client.py195except Exception:CODE
HIGH…l_dependency_unit/opensearch/test_opensearch_client.py226except Exception:CODE
HIGH…unit/file_store/test_postgres_file_store_non_mocked.py64except Exception:CODE
HIGH…pendency_unit/file_store/test_file_store_non_mocked.py398except (OSError, AttributeError):CODE
HIGH…nit/file_store/test_staging_concurrent_attempt_skip.py206except Exception:CODE
HIGH…nit/file_store/test_staging_concurrent_attempt_skip.py152except Exception:CODE
HIGH…ncy_unit/server/security/test_security_settings_put.py94except KvKeyNotFoundError:CODE
HIGH…ency_unit/slack_bot/test_slack_bot_federated_search.py81except RuntimeError:CODE
HIGH…nal_dependency_unit/db/test_port_metadata_defer_e2e.py212except Exception:CODE
HIGH…ests/external_dependency_unit/db/test_port_flow_e2e.py420except Exception:CODE
HIGH…external_dependency_unit/db/test_index_reclaim_task.py384except Exception:CODE
HIGH…external_dependency_unit/db/test_index_reclaim_task.py433except Exception:CODE
HIGH…dency_unit/indexing/test_docfetching_orphan_cleanup.py175except Exception:CODE
HIGH…_dependency_unit/oauth_provider/test_native_clients.py442except httpx.HTTPError:CODE
HIGH…/unit/server/metrics/test_opensearch_search_metrics.py295except ValueError:CODE
HIGH…sts/unit/onyx/connectors/source_operation_harnesses.py97except Exception:CODE
HIGH…yx/connectors/cross_connector_utils/test_rate_limit.py56except threading.BrokenBarrierError:CODE
HIGH…/tests/unit/onyx/connectors/web/test_slim_retrieval.py264except RuntimeError:CODE
HIGH…nyx/connectors/linear/test_linear_source_operations.py129except threading.BrokenBarrierError:CODE
HIGH…x/connectors/hubspot/test_hubspot_source_operations.py619except threading.BrokenBarrierError:CODE
HIGH…ntations/open_url/test_onyx_web_crawler_body_bounds.py69except (BrokenPipeError, ConnectionResetError):CODE
HIGH…ntations/open_url/test_onyx_web_crawler_body_bounds.py90except (BrokenPipeError, ConnectionResetError):CODE
HIGH…text/search/federated/test_slack_query_construction.py144except Exception:CODE
HIGH…end/tests/unit/onyx/chat/test_multi_model_streaming.py220except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py165except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py221except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py269except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py319except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py518except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py572except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py1078except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py1108except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py1141except Exception:CODE
HIGHbackend/tests/unit/onyx/auth/test_user_registration.py1196except Exception:CODE
HIGH…ts/unit/onyx/server/metrics/test_shard_pool_metrics.py62except KeyError:CODE
HIGH…features/craft/sandbox/test_serve_client_401_reload.py61except httpx.HTTPStatusError:CODE
HIGH…es/craft/sandbox/sandbox_daemon/test_sandbox_daemon.py1379except OSError:CODE
HIGH…d/tests/unit/onyx/server/gateway/test_craft_session.py72except StopAsyncIteration:CODE
148 more matches not shown…
Self-Referential Comments254 hits · 780 pts
SeverityFileLineSnippetContext
MEDIUMbackend/ee/onyx/background/celery/tasks/vespa/tasks.py22 """This function is likely to move in the worker refactor happening next."""STRING
MEDIUM…x/background/celery/tasks/tenant_provisioning/tasks.py211 # Create the schema for the new tenantCOMMENT
MEDIUMbackend/ee/onyx/external_permissions/perm_sync_types.py53# Defining the input/output types for the sync functionsCOMMENT
MEDIUM…ernal_permissions/google_drive/permission_retrieval.py42 # Create a set for faster lookupCOMMENT
MEDIUMbackend/ee/onyx/server/tenants/provisioning.py221 # Create the schema for the tenantCOMMENT
MEDIUM…onnectors/google_drive/test_google_drive_group_sync.py448 # Create a large group with many usersCOMMENT
MEDIUM…rnal_dependency_unit/tools/test_oauth_token_manager.py51 # Create a non-expired tokenCOMMENT
MEDIUM…rnal_dependency_unit/tools/test_oauth_token_manager.py101 # Create an expired tokenCOMMENT
MEDIUM…rnal_dependency_unit/tools/test_oauth_token_manager.py139 # Create an expired token without refresh_tokenCOMMENT
MEDIUM…rnal_dependency_unit/tools/test_oauth_token_manager.py161 # Create an expired tokenCOMMENT
MEDIUM…ests/external_dependency_unit/llm/test_llm_provider.py580 # Create a provider and set it as defaultCOMMENT
MEDIUM…nal_dependency_unit/llm/test_llm_provider_auto_mode.py117 # Define the expected models from the mock GitHub configCOMMENT
MEDIUM…nal_dependency_unit/llm/test_llm_provider_auto_mode.py122 # Create the mock LLMRecommendationsCOMMENT
MEDIUM…ts/external_dependency_unit/llm/test_prompt_caching.py192 # Create a long context message to ensure caching threshold is met (>1024 tokens)COMMENT
MEDIUM…ts/external_dependency_unit/llm/test_prompt_caching.py312 # Create a long context message.COMMENT
MEDIUM…ts/external_dependency_unit/llm/test_prompt_caching.py616 # Create a long system message and contextCOMMENT
MEDIUM…ts/external_dependency_unit/llm/test_prompt_caching.py719 # Create a long contextCOMMENT
MEDIUM…al_dependency_unit/craft/test_streaming_persistence.py481 # Create a user message firstCOMMENT
MEDIUM…l_dependency_unit/opensearch/test_opensearch_client.py1111 # Create a document to update.COMMENT
MEDIUM…l_dependency_unit/opensearch/test_opensearch_client.py1314 # Create a single document; the rest of the update targets won't exist.COMMENT
MEDIUM…on_sync/test_external_group_permission_sync_attempt.py390 # Create an attempt (simulating the start of a sync task)COMMENT
MEDIUM…pendency_unit/file_store/test_file_store_non_mocked.py515 # Create a 1MB fileCOMMENT
MEDIUM…pendency_unit/file_store/test_file_store_non_mocked.py871 # Create a new database session for each worker to avoid conflictsCOMMENT
MEDIUM…ency_unit/slack_bot/test_slack_bot_federated_search.py850 # Create a persona (using same fields as _create_test_persona_with_slack_config)COMMENT
MEDIUM…ency_unit/slack_bot/test_slack_bot_federated_search.py860 # Create a slack botCOMMENT
MEDIUM…dependency_unit/celery/test_pruning_hierarchy_nodes.py617 # Create a hierarchy node whose raw_node_id matches a document IDCOMMENT
MEDIUM…dependency_unit/celery/test_pruning_hierarchy_nodes.py641 # Create a document with the same ID as the hierarchy nodeCOMMENT
MEDIUM…dependency_unit/celery/test_pruning_hierarchy_nodes.py861 # Create a parent node and a child nodeCOMMENT
MEDIUM…_dependency_unit/celery/test_docprocessing_priority.py264 # Create a mock connector runner that yields one document batchCOMMENT
MEDIUM…ted_connector/slack/test_slack_federated_connnector.py399 # Create a connector for testingCOMMENT
MEDIUMbackend/tests/unit/ee/onyx/server/billing/test_proxy.py62 # Create a license payload without tenant_id by using a mockCOMMENT
MEDIUMbackend/tests/unit/file_store/test_file_store.py203 # Create a mock database sessionCOMMENT
MEDIUM…d/tests/unit/onyx/connectors/test_connector_factory.py147 # Create a custom mock that raises AttributeError for the specific classCOMMENT
MEDIUM…it/onyx/connectors/github/test_github_checkpointing.py432 # Create a checkpoint that was using cursor-based paginationCOMMENT
MEDIUM…it/onyx/connectors/github/test_github_checkpointing.py481 # Create a checkpoint with an expired cursorCOMMENT
MEDIUM⚡…t/onyx/connectors/salesforce/test_yield_doc_batches.py110 # Create a parent object with various data types in the fieldsCOMMENT
MEDIUM…t/onyx/connectors/salesforce/test_yield_doc_batches.py137 # Create a mock document that convert_sf_object_to_doc will returnCOMMENT
MEDIUM⚡…nyx/document_index/opensearch/test_get_doc_chunk_id.py57 # Create a doc ID that will exceed max length after the suffix isCOMMENT
MEDIUMbackend/tests/unit/onyx/llm/test_multi_llm.py295 # Create a mock response with multiple tool calls using litellm objectsCOMMENT
MEDIUMbackend/tests/unit/onyx/chat/test_citation_processor.py1116 # Create a doc with a high citation numberCOMMENT
MEDIUM⚡backend/tests/unit/onyx/auth/test_oauth_refresher.py173 # Create an account that needs refreshing (expiring soon)COMMENT
MEDIUM⚡backend/tests/unit/onyx/auth/test_oauth_refresher.py179 # Create an account that doesn't need refreshing (expires later)COMMENT
MEDIUM⚡backend/tests/unit/onyx/auth/test_oauth_refresher.py185 # Create an account without a refresh tokenCOMMENT
MEDIUMbackend/tests/unit/onyx/auth/test_user_registration.py497 # Create a result mockCOMMENT
MEDIUM…nyx/server/features/craft/sandbox/test_safe_extract.py143 # Create a file that exceeds the lowered limitCOMMENT
MEDIUM…nyx/server/features/craft/sandbox/test_safe_extract.py191 # Create a FIFO entryCOMMENT
MEDIUM…d/tests/unit/onyx/utils/test_threadpool_contextvars.py19# Create a test contextvarCOMMENT
MEDIUMbackend/tests/unit/onyx/utils/test_sensitive_typing.py20 # Create a SensitiveValueCOMMENT
MEDIUM…d/tests/unit/onyx/utils/test_threadpool_concurrency.py17# Create a context variable for testingCOMMENT
MEDIUM…sts/unit/onyx/onyxbot/discord/test_context_builders.py373 # Create a chain longer than MAX_CONTEXT_MESSAGESCOMMENT
MEDIUM…sts/unit/onyx/onyxbot/discord/test_context_builders.py472 # Create a thread with messagesCOMMENT
MEDIUM…tests/unit/onyx/onyxbot/discord/test_should_respond.py317 # Create a message that replies to the botCOMMENT
MEDIUM…derated_connectors/test_federated_connector_factory.py151 # Create a custom mock that raises AttributeError for the specific classCOMMENT
MEDIUM⚡backend/tests/unit/external_apps/test_notion_catalog.py72 # Creating a data source vs querying one must not collide.COMMENT
MEDIUM⚡…d/tests/unit/external_apps/test_google_cloud_scopes.py149 assert "### Create a draft (write, not sent)" in renderedCODE
MEDIUMbackend/tests/integration/common_utils/reset.py40 # Create an Alembic configuration objectCOMMENT
MEDIUM⚡backend/tests/integration/common_utils/chat.py7 # Create a test userCOMMENT
MEDIUM⚡backend/tests/integration/common_utils/chat.py16 # Create a new chat sessionCOMMENT
MEDIUM…nant_tests/discord_bot/test_discord_bot_multitenant.py89 # Create a guild registration key in tenant 1COMMENT
MEDIUM…nant_tests/discord_bot/test_discord_bot_multitenant.py333 # Create a guild in tenant 1COMMENT
194 more matches not shown…
Deep Nesting762 hits · 686 pts
SeverityFileLineSnippetContext
LOWdocumentation/audit/build_manifest.py175CODE
LOWdocumentation/audit/build_manifest.py178CODE
LOWdocumentation/scripts/format_docs.py124CODE
LOWdocumentation/scripts/format_docs.py389CODE
LOWdocumentation/scripts/format_docs.py667CODE
LOWdocumentation/scripts/format_docs.py820CODE
LOWdocumentation/scripts/format_docs.py1440CODE
LOWdocumentation/scripts/format_docs.py1030CODE
LOWdocumentation/scripts/format_docs.py1098CODE
LOWdocumentation/scripts/format_docs.py1107CODE
LOWdocumentation/scripts/build_connector_grid.py38CODE
LOWdocumentation/scripts/build_connector_grid.py54CODE
LOWtools/ods/internal/openapi/openapi_schema.py81CODE
LOWtools/loadtest/mock_llm/response_plan.py295CODE
LOWtools/loadtest/mock_llm/response_plan.py492CODE
LOWtools/loadtest/mock_llm/response_plan.py187CODE
LOWtools/loadtest/onyx_client/stream_parser.py66CODE
LOWtools/loadtest/onyx_client/workload_metrics.py45CODE
LOWtools/loadtest/onyx_client/chat_user.py210CODE
LOWtools/loadtest/scenarios/health_probe.py53CODE
LOW.agents/feature-map/check_feature_map.py165CODE
LOW.agents/feature-map/check_feature_map.py538CODE
LOW.agents/feature-map/check_feature_map.py617CODE
LOW.agents/feature-map/stale_docs.py250CODE
LOW.agents/feature-map/stale_docs.py508CODE
LOW.agents/feature-map/stale_docs.py547CODE
LOWdesktop/tests/webdriver_smoke.py173CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py207CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py421CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py274CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py443CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py847CODE
LOW…ckend/ee/onyx/background/celery/tasks/cleanup/tasks.py21CODE
LOWbackend/ee/onyx/background/celery/tasks/cloud/tasks.py77CODE
LOW…x/background/celery/tasks/tenant_provisioning/tasks.py46CODE
LOW…x/background/celery/tasks/tenant_provisioning/tasks.py125CODE
LOW…ee/onyx/background/celery/tasks/query_history/tasks.py37CODE
LOWbackend/ee/onyx/external_permissions/utils.py34CODE
LOW…nyx/external_permissions/onedrive/permission_mapper.py36CODE
LOW…nd/ee/onyx/external_permissions/youtrack/group_sync.py66CODE
LOWbackend/ee/onyx/external_permissions/youtrack/access.py142CODE
LOW…x/external_permissions/microsoft_utils/entra_groups.py74CODE
LOW…ckend/ee/onyx/external_permissions/jira/page_access.py321CODE
LOWbackend/ee/onyx/external_permissions/github/doc_sync.py32CODE
LOW…ee/onyx/external_permissions/confluence/page_access.py16CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py162CODE
LOW…onyx/external_permissions/azure_datalake/principals.py140CODE
LOW…onyx/external_permissions/azure_datalake/principals.py278CODE
LOW…end/ee/onyx/external_permissions/azure_datalake/acl.py96CODE
LOW…ckend/ee/onyx/external_permissions/slack/group_sync.py31CODE
LOWbackend/ee/onyx/external_permissions/slack/doc_sync.py87CODE
LOWbackend/ee/onyx/external_permissions/slack/doc_sync.py191CODE
LOWbackend/ee/onyx/external_permissions/slack/utils.py7CODE
LOWbackend/ee/onyx/external_permissions/gmail/doc_sync.py45CODE
LOW…e/onyx/external_permissions/google_drive/group_sync.py183CODE
LOW…e/onyx/external_permissions/google_drive/group_sync.py227CODE
LOW…/ee/onyx/external_permissions/google_drive/doc_sync.py120CODE
LOW…/ee/onyx/external_permissions/google_drive/doc_sync.py294CODE
LOW…/ee/onyx/external_permissions/google_drive/doc_sync.py390CODE
LOWbackend/ee/onyx/server/seeding.py79CODE
702 more matches not shown…
Unused Imports555 hits · 529 pts
SeverityFileLineSnippetContext
LOWdocumentation/scripts/format_docs.py15CODE
LOWtools/ods/hatch_build.py1CODE
LOWtools/ods/internal/_version.py1CODE
LOWtools/ods/internal/openapi/openapi_schema.py7CODE
LOWtools/requirements/check_build_constraints.py9CODE
LOWtools/loadtest/capacity_report.py3CODE
LOWtools/loadtest/prometheus_exporter.py13CODE
LOWtools/loadtest/prometheus_collector.py8CODE
LOWtools/loadtest/shapes.py10CODE
LOWtools/loadtest/locustfile.py13CODE
LOWtools/loadtest/locustfile.py14CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py15CODE
LOWtools/loadtest/locustfile.py43CODE
LOWtools/loadtest/workload_manifest.py3CODE
LOWtools/loadtest/mock_llm/models.py8CODE
LOWtools/loadtest/mock_llm/response_plan.py3CODE
LOWtools/loadtest/mock_llm/search_workload.py3CODE
LOWtools/loadtest/mock_llm/app.py7CODE
LOWtools/loadtest/mock_llm/profiles.py3CODE
LOWtools/loadtest/onyx_client/stream_parser.py12CODE
LOWtools/loadtest/onyx_client/env.py3CODE
LOWtools/loadtest/onyx_client/messages.py6CODE
LOWtools/loadtest/onyx_client/workload_metrics.py3CODE
LOWtools/loadtest/onyx_client/pacing.py3CODE
LOWtools/loadtest/onyx_client/chat_user.py19CODE
LOWtools/loadtest/tests/test_mock_llm.py10CODE
LOWtools/loadtest/tests/test_exporter.py8CODE
LOWtools/loadtest/tests/test_stream_parser.py3CODE
LOWtools/loadtest/tests/test_representative_workload.py3CODE
LOWtools/loadtest/tests/test_messages.py8CODE
LOWtools/loadtest/scenarios/long_conversation.py6CODE
LOWtools/loadtest/scenarios/chat_with_search.py8CODE
LOWtools/loadtest/scenarios/health_probe.py28CODE
LOWtools/loadtest/scenarios/compression.py19CODE
LOWtools/loadtest/scenarios/__init__.py1CODE
LOWtools/loadtest/scenarios/__init__.py2CODE
LOWtools/loadtest/scenarios/__init__.py3CODE
LOWtools/loadtest/scenarios/__init__.py4CODE
LOWtools/loadtest/scenarios/__init__.py5CODE
LOWtools/loadtest/scenarios/__init__.py6CODE
LOWtools/loadtest/scenarios/__init__.py7CODE
LOWtools/loadtest/scenarios/__init__.py8CODE
LOWtools/loadtest/scenarios/__init__.py9CODE
LOWtools/loadtest/scenarios/disconnect.py7CODE
LOWtools/loadtest/scenarios/multi_tool.py6CODE
LOWtools/loadtest/scenarios/deep_research.py13CODE
LOWtools/loadtest/scenarios/thread_hog.py15CODE
LOWtools/loadtest/scenarios/file_attachment.py18CODE
LOWtools/i18n/check_copy_changes.py3CODE
LOW.zed/alembic_step.py13CODE
LOW.zed/dotenv_launch.py20CODE
LOWdesktop/tests/webdriver_smoke.py13CODE
495 more matches not shown…
Cross-File Repetition96 hits · 480 pts
SeverityFileLineSnippetContext
HIGHbackend/ee/onyx/server/oauth/confluence_cloud.py0dev mode workaround for localhost testing - https://www.nango.dev/blog/oauth-redirects-on-localhost-with-httpsSTRING
HIGHbackend/ee/onyx/server/oauth/google_drive.py0dev mode workaround for localhost testing - https://www.nango.dev/blog/oauth-redirects-on-localhost-with-httpsSTRING
HIGHbackend/ee/onyx/server/oauth/slack.py0dev mode workaround for localhost testing - https://www.nango.dev/blog/oauth-redirects-on-localhost-with-httpsSTRING
HIGHbackend/ee/onyx/server/oauth/confluence_cloud.py0temporary state to store in redis. to be looked up on auth response. returns a json string.STRING
HIGHbackend/ee/onyx/server/oauth/google_drive.py0temporary state to store in redis. to be looked up on auth response. returns a json string.STRING
HIGHbackend/ee/onyx/server/oauth/slack.py0temporary state to store in redis. to be looked up on auth response. returns a json string.STRING
HIGHbackend/ee/onyx/db/saml.py0note: this is async, since it's used during auth (which is necessarily async due to fastapi users)STRING
HIGHbackend/onyx/db/saml.py0note: this is async, since it's used during auth (which is necessarily async due to fastapi users)STRING
HIGHbackend/onyx/db/api_key.py0note: this is async, since it's used during auth (which is necessarily async due to fastapi users)STRING
HIGH…s/unit/ee/onyx/connectors/test_ee_capability_checks.py0minimal concrete named check; ``run`` never executes in these tests.STRING
HIGH…onnectors/capability_checks/test_registry_fallbacks.py0minimal concrete named check; ``run`` never executes in these tests.STRING
HIGH…ors/capability_checks/test_capability_check_ratchet.py0minimal concrete named check; ``run`` never executes in these tests.STRING
HIGH…it/onyx/connectors/jira/test_jira_capability_checks.py0the config the create form sends, with "" for empty tab fields.STRING
HIGH…ectors/confluence/test_confluence_capability_checks.py0the config the create form sends, with "" for empty tab fields.STRING
HIGH…ly/connectors/jira/test_jira_capability_checks_live.py0the config the create form sends, with "" for empty tab fields.STRING
HIGH…s/confluence/test_confluence_capability_checks_live.py0the config the create form sends, with "" for empty tab fields.STRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0clears the sf db by deleting all files in the data directory.STRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0clears the sf db by deleting all files in the data directory.STRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0clears the sf db by deleting all files in the data directory.STRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0creates a csv file for the given object type and records. args: object_type: the salesforce object type (e.g. "account",STRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0creates a csv file for the given object type and records. args: object_type: the salesforce object type (e.g. "account",STRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0creates a csv file for the given object type and records. args: object_type: the salesforce object type (e.g. "account",STRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0creates csv files with example data, organized by object type.STRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0creates csv files with example data, organized by object type.STRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0creates csv files with example data, organized by object type.STRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0tests querying functionality by verifying: 1. all expected account ids are found 2. each account's data matches what wasSTRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0tests querying functionality by verifying: 1. all expected account ids are found 2. each account's data matches what wasSTRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0tests querying functionality by verifying: 1. all expected account ids are found 2. each account's data matches what wasSTRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0tests upsert functionality by: 1. updating an existing account 2. creating a new account 3. verifying both operations weSTRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0tests upsert functionality by: 1. updating an existing account 2. creating a new account 3. verifying both operations weSTRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0tests upsert functionality by: 1. updating an existing account 2. creating a new account 3. verifying both operations weSTRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0tests relationship shelf updates and queries by: 1. creating test data with relationships 2. verifying the relationshipsSTRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0tests relationship shelf updates and queries by: 1. creating test data with relationships 2. verifying the relationshipsSTRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0tests relationship shelf updates and queries by: 1. creating test data with relationships 2. verifying the relationshipsSTRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0tests querying all accounts and retrieving their child objects. this test verifies that: 1. all accounts can be retrieveSTRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0tests querying all accounts and retrieving their child objects. this test verifies that: 1. all accounts can be retrieveSTRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0tests querying all accounts and retrieving their child objects. this test verifies that: 1. all accounts can be retrieveSTRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0tests that relationships are properly updated when a child object's parent reference changes. this test verifies: 1. iniSTRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0tests that relationships are properly updated when a child object's parent reference changes. this test verifies: 1. iniSTRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0tests that relationships are properly updated when a child object's parent reference changes. this test verifies: 1. iniSTRING
HIGH…t/onyx/connectors/salesforce/test_salesforce_sqlite.py0tests get_affected_parent_ids functionality by verifying: 1. ids that are directly in the parent_types list are includedSTRING
HIGH…salesforce/shelve_stuff/old_test_salesforce_shelves.py0tests get_affected_parent_ids functionality by verifying: 1. ids that are directly in the parent_types list are includedSTRING
HIGH…ors/salesforce/shelve_stuff/test_salesforce_shelves.py0tests get_affected_parent_ids functionality by verifying: 1. ids that are directly in the parent_types list are includedSTRING
HIGH…tests/integration/tests/permissions_access/conftest.py0reuses the permissions package fixtures. these directories exist only so ci shards them as separate jobs — the suite is STRING
HIGH…s/integration/tests/permissions_membership/conftest.py0reuses the permissions package fixtures. these directories exist only so ci shards them as separate jobs — the suite is STRING
HIGH…ts/integration/tests/permissions_resources/conftest.py0reuses the permissions package fixtures. these directories exist only so ci shards them as separate jobs — the suite is STRING
HIGH…sts/integration/tests/chat/test_chat_session_access.py0reset all data once before running any tests in this module.STRING
HIGH…end/tests/integration/tests/chat/test_chat_deletion.py0reset all data once before running any tests in this module.STRING
HIGH…kend/tests/integration/tests/projects/test_projects.py0reset all data once before running any tests in this module.STRING
HIGH…ermissions_membership/test_group_manager_membership.py0flip is_manager on the (user, group) edge and recompute the cached flag.STRING
HIGH…/permissions_resources/test_group_manager_resources.py0flip is_manager on the (user, group) edge and recompute the cached flag.STRING
HIGH…gration/tests/permissions/test_group_manager_agents.py0flip is_manager on the (user, group) edge and recompute the cached flag.STRING
HIGH…nd/onyx/background/celery/versioned_apps/monitoring.py0factory stub for running celery worker / celery beat.STRING
HIGH…onyx/background/celery/versioned_apps/docprocessing.py0factory stub for running celery worker / celery beat.STRING
HIGH…ckend/onyx/background/celery/versioned_apps/primary.py0factory stub for running celery worker / celery beat.STRING
HIGHbackend/onyx/background/celery/versioned_apps/beat.py0factory stub for running celery worker / celery beat.STRING
HIGH…d/onyx/background/celery/versioned_apps/docfetching.py0factory stub for running celery worker / celery beat.STRING
HIGHbackend/onyx/file_store/file_store.py0list all file ids that start with the given prefix.STRING
HIGHbackend/onyx/file_store/gcs_file_store.py0list all file ids that start with the given prefix.STRING
HIGHbackend/onyx/file_store/azure_blob_file_store.py0list all file ids that start with the given prefix.STRING
36 more matches not shown…
Cross-Language Confusion79 hits · 465 pts
SeverityFileLineSnippetContext
HIGHtools/loadtest/mock_llm/app.py36 # its tool_calls entries), but finish_reason is always present (null).COMMENT
HIGH⚡tools/loadtest/tests/test_representative_workload.py260 path.write_text('{"question":null}\n')CODE
HIGH⚡desktop/tests/webdriver_smoke.py38 window.blankOpened = popup !== null;CODE
HIGH⚡desktop/tests/webdriver_smoke.py42 window.sameOriginOpened = window.open(window.location.origin + '/popup', '_blank') !== null;CODE
HIGH⚡desktop/tests/webdriver_smoke.py49 window.externalOpened = window.open('https://docs.onyx.app/smoke', '_blank') !== null;CODE
HIGH⚡desktop/tests/webdriver_smoke.py53window.addEventListener("message", (event) => window.popupMessages.push(event.data));CODE
HIGHbackend/ee/onyx/server/tenants/tier_management.py4 {"customer_tier": "BUSINESS", "trial_end": "2026-06-01T12:00:00+00:00" | null}STRING
HIGHbackend/ee/onyx/server/query_history/models.py255 "The file metadata must be non-null, and must be of type `dict[str, str]`"CODE
HIGHbackend/ee/onyx/db/community_downgrade.py6from sqlalchemy import ColumnElement, Select, and_, delete, null, or_, select, updateCODE
HIGH…rnal_dependency_unit/tracing/test_tracing_admin_api.py30# Handlers tolerate a None user (updated_by becomes null); cast to satisfy typing.COMMENT
HIGH…y_unit/db/test_existing_document_rows_null_metadata.py2document metadata store it as null, and those rows must still read."""STRING
HIGH…/tests/unit/onyx/tools/test_coding_agent_repo_setup.py46 cmd="tar -xzf repo.tar.gz --strip-components=1 && rm repo.tar.gz && ls",CODE
HIGH⚡…_implementations/websearch/test_web_search_tool_run.py76 # Control chars (e.g. null) removed; no space insertedCOMMENT
HIGH…text/search/federated/test_slack_query_construction.py234 mock_llm.invoke.return_value.text = '{"days_back": null}'CODE
HIGH⚡…sts/unit/onyx/server/features/craft/test_nextjs_dev.py88 "${ONYX_WEBAPP_PORT:-$(cat ../../.nextjs-port 2>/dev/null || echo 3000)}"CODE
HIGH⚡…sts/unit/onyx/server/features/craft/test_nextjs_dev.py119 assert 'if ! grep -q "ONYX_WEBAPP_PORT" package.json 2>/dev/null; then' in scriptCODE
HIGH…sts/unit/onyx/server/features/craft/test_nextjs_dev.py263 f'[ "$(readlink /proc/$NEXTJS_PID/cwd 2>/dev/null)" 'CODE
HIGH⚡…eatures/craft/sandbox/test_session_workspace_script.py101 f'"$(readlink /proc/$NEXTJS_PID/cwd 2>/dev/null)"'CODE
HIGHbackend/tests/unit/onyx/utils/test_streaming_json.py29 '{"s": "x", "n": -1.5, "t": true, "f": false, "z": null}'CODE
HIGH⚡backend/tests/integration/tests/craft/webapp_preview.py62 f'echo "--- $log ---"; tail -n {lines} "$log" 2>&1 || true; 'CODE
HIGH⚡…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py958 f" kill $pid 2>/dev/null; "CODE
HIGH⚡…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py959 f" for _ in $(seq 1 20); do kill -0 $pid 2>/dev/null || break; sleep 1; done; "CODE
HIGH⚡…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py960 f" kill -9 $pid 2>/dev/null; "CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py226 f"base64 {shlex.quote(self._abs_posix)} 2>/dev/null || echo __MISSING__"CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py241 f"find {shlex.quote(self._abs_posix)} -mindepth 1 2>/dev/null || true"CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py487 "-mindepth 1 -delete 2>/dev/null; true",CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py499 "find /workspace/sessions -mindepth 1 -delete 2>/dev/null; true",CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py787 f"cat {output_path} 2>/dev/null || true",CODE
HIGH…s/integration/tests/craft/k8s/test_snapshot_restore.py203 f"[ -d /workspace/sessions/{session_id} ] && echo PRESENT || echo MISSING",CODE
HIGH…s/integration/tests/craft/k8s/test_snapshot_restore.py259 "rm -rf /workspace/managed/skills && mkdir -p /workspace/managed",CODE
HIGH…s/integration/tests/craft/k8s/test_snapshot_restore.py411 "ls -1 /workspace/sessions/ /workspace/ 2>&1 || true",CODE
HIGH…s/integration/tests/craft/k8s/test_snapshot_restore.py422 "[ -e /workspace/escape.txt ] && echo PRESENT || echo MISSING",CODE
HIGH…s/integration/tests/craft/k8s/test_snapshot_restore.py434 "&& echo PRESENT || echo MISSING",CODE
HIGH…on/tests/craft/k8s/test_kubernetes_sandbox_file_ops.py89 f"mkdir -p {outputs_dir}/subdir && echo content > {outputs_dir}/file.txt",CODE
HIGH…on/tests/craft/k8s/test_kubernetes_sandbox_file_ops.py163 "2>/dev/null; true",CODE
HIGH…integration/tests/craft/k8s/test_kubernetes_sandbox.py59 f"test -d {required} && echo OK || echo MISSING",CODE
HIGH…integration/tests/craft/k8s/test_kubernetes_sandbox.py81 f"test -d {session_path}/{sub} && echo OK || echo MISSING",CODE
HIGH…integration/tests/craft/k8s/test_kubernetes_sandbox.py90 f"test -f {session_path}/{fname} && echo OK || echo MISSING",CODE
HIGH⚡…integration/tests/craft/k8s/test_kubernetes_sandbox.py101 f"readlink {session_path}/.opencode/skills || echo MISSING",CODE
HIGH⚡…integration/tests/craft/k8s/test_kubernetes_sandbox.py111 f"readlink {session_path}/user_library || echo MISSING",CODE
HIGH…integration/tests/craft/k8s/test_kubernetes_sandbox.py179 "[ -d /var/run/secrets/eks.amazonaws.com ] && echo PRESENT || echo MISSING",CODE
HIGH…integration/tests/craft/k8s/test_kubernetes_sandbox.py202 "echo agent-write > /workspace/managed/probe.txt 2>&1 || echo BLOCKED",CODE
HIGH…integration/tests/craft/k8s/test_kubernetes_sandbox.py280 "-w '%{http_code}' https://1.1.1.1 || echo BLOCKED:$?"CODE
HIGH…kend/tests/integration/tests/craft/k8s/test_browser.py44 "&& browser open https://example.com && browser snapshot -i",CODE
HIGH…gration/tests/craft/k8s/test_bun_node_modules_dedup.py107 f"test -f {path} && echo YES || echo NO",CODE
HIGH…gration/tests/craft/k8s/test_bun_node_modules_dedup.py246 f"[ -d /workspace/sessions/{session_id} ] && echo PRESENT || echo MISSING",CODE
HIGH⚡…gration/tests/craft/k8s/test_bun_node_modules_dedup.py328 f"test -d {session_a_web}/node_modules/lodash && echo YES || echo NO",CODE
HIGH⚡…gration/tests/craft/k8s/test_bun_node_modules_dedup.py328 f"test -d {session_a_web}/node_modules/lodash && echo YES || echo NO",CODE
HIGH⚡…gration/tests/craft/k8s/test_bun_node_modules_dedup.py336 f"test -f {session_b_web}/node_modules/next/package.json && echo OK || echo BROKEN",CODE
HIGH⚡…gration/tests/craft/k8s/test_bun_node_modules_dedup.py336 f"test -f {session_b_web}/node_modules/next/package.json && echo OK || echo BROKEN",CODE
HIGH…ion/tests/craft/k8s/test_cleanup_checkpoint_failure.py88 f'test "$(stat -c %a {blocked_path})" = 0 && printf fault-installed'CODE
HIGH…/tests/craft/docker_e2e/test_workspace_setup_docker.py217 "&& echo PRESENT || echo ABSENT",CODE
HIGH…/craft/docker_e2e/networking/test_docker_networking.py236 'curl --noproxy "*" --silent --max-time 3 "$1" >/dev/null; echo $?',CODE
HIGH…ckend/tests/integration/tests/cli/test_cli_commands.py14 cd cli && go build -o /tmp/onyx-cli-test .STRING
HIGH…sts/daily/connectors/gitbook/test_gitbook_connector.py86 assert 'res.push("FizzBuzz")' in contentCODE
HIGHbackend/onyx/llm/litellm_singleton/monkey_patches.py382 # Terminal events may carry "output": null, which upstream iterates.COMMENT
HIGH⚡backend/onyx/server/manage/llm/models.py351 # Provided distinguishes an omitted field from an explicit null, so anCOMMENT
HIGHbackend/onyx/server/query_and_chat/token_limit.py148 # the token check. Guarding <= 0 means a 0 (new cost-only rows store null,COMMENT
HIGHbackend/onyx/server/gateway/models.py67 semantics (some keys must be present even when null, others absent — notSTRING
HIGHbackend/onyx/server/gateway/models.py687 # stop_sequence is assigned explicitly (present-and-null) — exclude_unsetCOMMENT
19 more matches not shown…
Over-Commented Block374 hits · 344 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml161 alias: terraform-fmtCOMMENT
LOWcr.yaml1# See https://github.com/helm/chart-releaser#configurationCOMMENT
LOWtools/ods/cmd/deploy_cloud_test.go1package cmdCOMMENT
LOWtools/ods/cmd/cherry-pick_test.go1package cmdCOMMENT
LOWtools/ods/cmd/run-ci_test.go1package cmdCOMMENT
LOWtools/ods/cmd/release_beta_test.go1package cmdCOMMENT
LOWtools/ods/cmd/release_beta_test.go21// With --new-branch the cut targets a new release/v4.6 at main's tip PostCutSHACOMMENT
LOWtools/ods/cmd/deploy_cloud_watch.go21 // The deployment.yml job that sends the new-cloud-image dispatch; itsCOMMENT
LOWtools/ods/internal/s3/fetch.go61// ErrObjectUnavailable marks a download that failed because the object cannotCOMMENT
LOWtools/ods/internal/composegen/composegen.go1// Package composegen renders the standalone docker compose filesCOMMENT
LOWtools/ods/internal/devstack/lifecycle.go21type Provider interface {COMMENT
LOWtools/ods/internal/release/check_test.go1package releaseCOMMENT
LOWtools/ods/internal/release/check_test.go21// T3 tag commit not on the release branch -> error TestCheckTag_offBranchStableErrorsCOMMENT
LOWtools/ods/internal/release/beta_test.go1package releaseCOMMENT
LOWtools/ods/internal/release/beta_test.go21// B11 origin unreachable -> error, no stale-state fallback TestComputeBetaTag_fetchFailureErrorsCOMMENT
LOWtools/ods/internal/release/classify.go41 classifyBetaRe = regexp.MustCompile(`^v\d+\.\d+\.\d+-beta(\.\d+)?$`)COMMENT
LOWtools/ods/internal/release/classify_test.go1package releaseCOMMENT
LOWtools/ods/internal/release/cloud_test.go1package releaseCOMMENT
LOWtools/ods/internal/release/cloud_test.go21// S9 --version override -> override base, counter fresh TestComputeCloudTag_versionOverrideCOMMENT
LOWtools/ods/internal/basedigest/basedigest.go1// Package basedigest refreshes the pinned base image digests across the OnyxCOMMENT
LOWtools/ods/internal/audit/actions.go1package auditCOMMENT
LOWtools/ods/internal/audit/alert.go121 // `ods audit image --format=json`. Together they must cover every scan, orCOMMENT
LOWtools/ods/internal/git/push_test.go1package gitCOMMENT
LOWtools/loadtest/onyx_client/chat_user.py41 # Model name sent as llm_override (mock knobs ride in the name). None =COMMENT
LOWtools/loadtest/k8s/locust.yaml1# Locust master + workers for the Onyx chat load tests, using the harnessCOMMENT
LOWtools/loadtest/k8s/locust.yaml141 cpu: "2"COMMENT
LOWtools/loadtest/k8s/locust.yaml161# matchNames: [<onyx-namespace>]COMMENT
LOW.zed/debug.json1// Zed port of .vscode/launch.jsonCOMMENT
LOW…/tests/e2e/admin/index-settings/index_settings.spec.ts1161// ---------------------------------------------------------------------------COMMENT
LOWweb/tests/e2e/agents/create_and_edit_agent.spec.ts301 // Submit the creation formCOMMENT
LOWweb/lib/opal/scripts/convert-svg.sh1#!/bin/bashCOMMENT
LOWweb/lib/opal/src/types.ts1import type { ReactNode, SVGProps } from "react";COMMENT
LOWweb/lib/opal/src/constants.ts1// Screen-size breakpoints — used by useScreenSize to determine the current tier.COMMENT
LOWweb/lib/opal/src/components/buttons/row-interaction.ts1import type React from "react";COMMENT
LOW…/src/components/inputs/dropdowns/single/components.tsx321 className="opal-input-single-select"COMMENT
LOWweb/src/proxy.ts1import { NextResponse } from "next/server";COMMENT
LOWweb/src/proxy.ts21// WEB_FRAME_PROTECTION_ENABLED=false drops it so any origin may frame Onyx.COMMENT
LOWweb/src/app/craft/components/ModelPickerButton.tsx21 // setting should pass `false` so the admin's own personal pick can't leakCOMMENT
LOWweb/src/app/craft/components/ChatPanel.tsx481 const newSessionId = await consumePreProvisionedSession();COMMENT
LOWweb/src/app/nrf/NRFPage.tsx101 const activeAgent = useActiveAgent();COMMENT
LOWweb/src/components/SSRAutoRefresh.tsx1"use client";COMMENT
LOWweb/src/layouts/chromes/AppChrome.tsx601 //COMMENT
LOWweb/src/lib/auth/components.tsx101 </Modal.Content>COMMENT
LOWweb/src/lib/auth/components.tsx121// IMPORTANT: This component is rendered as part of the /auth/login page, whichCOMMENT
LOWweb/src/lib/banner/hooks.ts1"use client";COMMENT
LOWweb/src/views/AppPage.tsx141COMMENT
LOW.agents/skills/sync-vendored-skills.sh1#!/usr/bin/env bashCOMMENT
LOWdesktop/src-tauri/src/main.rs21#[cfg(target_os = "macos")]COMMENT
LOWdesktop/src-tauri/src/alt_menu.rs1// Native GTK-level Alt-alone-press menu toggle for Linux.COMMENT
LOWbackend/alembic.ini1# A generic, single database configuration.COMMENT
LOWbackend/alembic.ini21# timezone =COMMENT
LOWbackend/alembic.ini41COMMENT
LOWbackend/ee/onyx/configs/license_enforcement_config.py21from onyx.server.settings.models import TierCOMMENT
LOWbackend/tests/unit/sandbox_proxy/test_gate.py441# ALWAYS -> straight through (forward) + inject; NO approval pipelineCOMMENT
LOW…/unit/server/metrics/test_opensearch_search_metrics.py181 # timekeeping bug on the OpenSearch side), the raw diff is negative. TheCOMMENT
LOW…nit/onyx/connectors/confluence/test_onyx_confluence.py1341 # Includes the canonical Atlassian KB so the admin can act without us.COMMENT
LOW…t/onyx/connectors/salesforce/test_salesforce_sqlite.py1101 # f"LastReferencedDate,UsageType,ActiveFromDate,ParentId,LastViewedDate,IsPrimary,"COMMENT
LOWbackend/tests/unit/onyx/llm/test_multi_llm.py2161COMMENT
LOW…t/onyx/server/features/craft/sandbox/test_event_bus.py481COMMENT
LOWbackend/tests/integration/conftest.py301COMMENT
314 more matches not shown…
Modern AI Meta-Vocabulary88 hits · 284 pts
SeverityFileLineSnippetContext
MEDIUM⚡…ependency_unit/search_settings/test_search_settings.py610 # Create FUTURE settings with contextual RAG enabledCOMMENT
MEDIUM⚡…ependency_unit/search_settings/test_search_settings.py617 # PRESENT still has contextual RAG disabled, so default should be NoneCOMMENT
MEDIUM⚡…ependency_unit/search_settings/test_search_settings.py627 # Now PRESENT has contextual RAG enabled, default should matchCOMMENT
MEDIUM…ependency_unit/search_settings/test_search_settings.py556 # PRESENT still has contextual RAG disabled, so default should be NoneCOMMENT
MEDIUM…ependency_unit/search_settings/test_search_settings.py566 # Now PRESENT has contextual RAG enabled, default should matchCOMMENT
MEDIUM…ependency_unit/search_settings/test_search_settings.py702 # PRESENT has contextual RAG disabled, so default should be NoneCOMMENT
MEDIUM…ests/external_dependency_unit/db/test_port_flow_e2e.py176 # against the local embedding model server. Ext-dep shards run with itCOMMENT
MEDIUM…_dependency_unit/celery/test_docprocessing_priority.py309 # embedding model" lookup can pick it up and corrupt later realCOMMENT
MEDIUM⚡…external_dependency_unit/indexing/test_port_reembed.py161 # RAG on in both, model changed -> AUGMENTATION (re-enrich under new LLM)COMMENT
MEDIUM⚡…external_dependency_unit/indexing/test_port_reembed.py169 # RAG on in both, same LLM, new embedder -> MODEL_ONLYCOMMENT
MEDIUM…external_dependency_unit/indexing/test_port_reembed.py181 # RAG OFF in both: a stale model-id difference is irrelevant (no enrichment inCOMMENT
MEDIUM…external_dependency_unit/indexing/test_port_reembed.py240 # Quantization plus a contextual-RAG change -> the text changes.COMMENT
MEDIUM…external_dependency_unit/indexing/test_port_reembed.py284 # FUTURE keeps contextual RAG on -> nothing is stripped -> copy everything.COMMENT
MEDIUM…external_dependency_unit/indexing/test_port_reembed.py477 # stored (BM25) content rebuilt without the contextual-RAG augmentationCOMMENT
MEDIUM…external_dependency_unit/indexing/test_port_reembed.py542 # Stub the contextual-RAG enrichment (the LLM call is the indexing pipeline'sCOMMENT
MEDIUM…external_dependency_unit/indexing/test_port_reembed.py564 # PRESENT had RAG off: no doc_summary/chunk_context glued in.COMMENT
MEDIUM…/unit/onyx/document_index/opensearch/test_port_copy.py160 # RAG-on AUGMENTATION re-embeds one doc per page (bounds the unheartbeated LLMCOMMENT
MEDIUM⚡…/unit/onyx/document_index/opensearch/test_port_copy.py208 # RAG-off AUGMENTATION has no LLM step, so it streams PIT pages as-is rather thanCOMMENT
MEDIUM⚡…/unit/onyx/document_index/opensearch/test_port_copy.py213 [_chunk("doc_a")], # doc_a spans PIT pages; not reassembled when RAG is offCODE
MEDIUM…end/tests/unit/onyx/chat/test_stream_chat_telemetry.py250 # Its orchestration is not a chat loop, so it reports no cycle count.COMMENT
MEDIUM…sts/unit/onyx/server/features/craft/test_nextjs_dev.py281 # No eager scaffold/install at setup time: the old eager invocations (bareCOMMENT
MEDIUM⚡…eatures/craft/sandbox/test_session_workspace_script.py65 # no scaffold/install/dev-server invocations at all.COMMENT
MEDIUM…x/server/manage/llm/test_nebius_tokenfactory_models.py56 # embedding model -> must be droppedCOMMENT
MEDIUM…sts/unit/onyx/server/manage/llm/test_portkey_models.py18# an embedding model (must be dropped), and an id-less entry (must be skipped).COMMENT
MEDIUMbackend/tests/unit/onyx/indexing/test_embedder.py104 # Mock the encode method of the embedding modelCOMMENT
MEDIUMbackend/tests/unit/onyx/indexing/test_embedder.py152 # Verify the embedding model was called exactly as followsCOMMENT
MEDIUM⚡backend/tests/unit/external_apps/test_token_refresh.py309# ensure_fresh_credentials orchestration (own short sessions, single-flight)COMMENT
MEDIUMbackend/tests/manual/embedding_models/README.md1# Manual embedding model testsCOMMENT
MEDIUMbackend/shared_configs/model_server_models.py10 # Can be none for cloud embedding model requests, error handling logic exists for other casesCOMMENT
MEDIUM…nd/onyx/background/celery/tasks/docprocessing/tasks.py633 # NOTE: _run_indexing doesn't update connectors if the index attempt is the future embedding modelCOMMENT
MEDIUM…nd/onyx/background/celery/tasks/docprocessing/utils.py326 # NOTE: during an embedding model switch over, the following logicCOMMENT
MEDIUMbackend/onyx/document_index/opensearch/port_copy.py123 # Contextual RAG-on AUGMENTATION: buffer to reassemble each doc (chunks span PIT pages), thenCOMMENT
MEDIUMbackend/onyx/tools/tool_constructor.py75 # project's/persona's user files didn't fit in the LLM context window andCOMMENT
MEDIUM⚡backend/onyx/llm/model_capabilities.py71 # user to specify their desired max context window, and it's unlikelyCOMMENT
MEDIUMbackend/onyx/llm/model_catalog.py541 # An output limit at or above the context window is a pool-maxCOMMENT
MEDIUMbackend/onyx/llm/utils.py222 # for each chunk, we prompt the LLM with the contextual RAG promptCOMMENT
MEDIUMbackend/onyx/context/search/models.py135 # context window and must be searched via vector DB instead of being loadedCOMMENT
MEDIUMbackend/onyx/chat/files.py214 # 60% of the LLM's max context window. The other benefit is that for projects withCOMMENT
MEDIUMbackend/onyx/chat/chat_utils.py189 # Drop any single message that would dominate the context window.COMMENT
MEDIUMbackend/onyx/agents/compaction.py103 # max_input_tokens is already an input ceiling, not the total context window.COMMENT
MEDIUMbackend/onyx/server/metrics/postgres_connection_pool.py39# --- Pool lifecycle counters (event-driven) ---COMMENT
MEDIUMbackend/onyx/server/metrics/postgres_connection_pool.py75# --- Per-endpoint attribution (event-driven) ---COMMENT
MEDIUMbackend/onyx/server/settings/models.py163 # False when DISABLE_VECTOR_DB is set — connectors, RAG search, andCOMMENT
MEDIUMbackend/onyx/server/manage/invite_rate_limit.py34# bypass entirely — their guardrails are seat limits and the per-admin lifetimeCOMMENT
MEDIUMbackend/onyx/server/manage/search_settings.py157 # Disallow contextual RAG for cloud deployments.COMMENT
MEDIUMbackend/onyx/server/manage/search_settings.py490 # A re-index with the PRESENT model (quantization, contextual RAG, switchover).COMMENT
MEDIUMbackend/onyx/server/manage/search_settings.py1088 # Disallow contextual RAG for cloud deploymentsCOMMENT
MEDIUMbackend/onyx/server/manage/voice/websocket_api.py47# Whisper-style models pad short inputs to a 30s window and hallucinateCOMMENT
MEDIUMbackend/onyx/utils/fleet_query_telemetry.py53 # Runs its own orchestration, so the fleet keeps its latency apart from chat.COMMENT
MEDIUM…/onyx/natural_language_processing/search_nlp_models.py1508 # 2. we are using an API-based embedding model (provider_type is notCOMMENT
MEDIUMbackend/onyx/configs/chat_configs.py40# Same backstop for contextual-RAG doc/chunk summaries. These are short,COMMENT
MEDIUMbackend/onyx/configs/chat_configs.py109# Trigger compression when history exceeds this ratio of available context windowCOMMENT
MEDIUMbackend/onyx/configs/app_configs.py78# Disables vector DB (OpenSearch) entirely. When True, connectors and RAG searchCOMMENT
MEDIUMbackend/onyx/configs/app_configs.py104# (across users / agentic sub-queries) don't re-hit the embedding provider.COMMENT
MEDIUMbackend/onyx/configs/app_configs.py581# self-hosted embedding model, which includes a download if it is not cached.COMMENT
MEDIUMbackend/onyx/configs/app_configs.py1526# When swapping to a new embedding model, a secondary index is created in the background, to conserveCOMMENT
MEDIUMbackend/onyx/configs/app_configs.py1563# Enable multi-threaded embedding model calls for parallel processingCOMMENT
MEDIUMbackend/onyx/configs/model_configs.py49# API image), so token counts do not depend on the default embedding model.COMMENT
MEDIUM⚡backend/onyx/db/models.py2468 # Contextual RAGCOMMENT
MEDIUM⚡backend/onyx/db/models.py2471 # Contextual RAG LLM — FK to model_configuration (replaces deprecated string columns)COMMENT
28 more matches not shown…
Docstring Block Structure56 hits · 280 pts
SeverityFileLineSnippetContext
HIGHbackend/ee/onyx/server/scim/patch.py126Apply SCIM PATCH operations to a user resource. Args: operations: The PATCH operations to apply. cuSTRING
HIGHbackend/ee/onyx/server/scim/patch.py342Apply SCIM PATCH operations to a group resource. Args: operations: The PATCH operations to apply. cSTRING
HIGHbackend/ee/onyx/server/scim/filtering.py60Parse a simple SCIM filter expression. Args: filter_string: Raw filter query parameter value, e.g. STRING
HIGHbackend/ee/onyx/server/tenants/proxy.py66Extract license data from Authorization header. Self-hosted instances authenticate to these proxy endpoints by sendSTRING
HIGHbackend/ee/onyx/server/billing/service.py85Make an HTTP request to the billing service. Consolidates the common HTTP request pattern used by all billing operaSTRING
HIGHbackend/ee/onyx/utils/license.py190 Verify RSA-4096 signature and return payload if valid. Args: license_data: Base64-encoded JSON containSTRING
HIGH…/tests/integration/connector_job_tests/github/utils.py29 Change the visibility of a repository. Args: repo_owner: Repository owner (organization orSTRING
HIGH…/tests/integration/connector_job_tests/github/utils.py81 Add a team to a repository with specified permissions. Args: repo_owner: Repository owner STRING
HIGH…/tests/integration/connector_job_tests/github/utils.py129 Remove a team from a repository. Args: repo_owner: Repository owner (organization) STRING
HIGHbackend/onyx/connectors/highspot/client.py113 Make a request to the Highspot API. Args: method: HTTP method (GET, POST, etc.) STRING
HIGHbackend/onyx/connectors/slack/connector.py677Get a channel by its ID. Args: slack_client: The Slack source-operations gateway channel_id: The IDSTRING
HIGHbackend/onyx/connectors/mediawiki/family.py105Generate a family file for a given URL and name. Args: url: The URL of the wiki. name: The short naSTRING
HIGHbackend/onyx/evals/eval_cli.py138 Trigger an eval pipeline execution on a remote server. Tool forcing and assertions are configured per-test in STRING
HIGHbackend/onyx/document_index/opensearch/client.py470Puts cluster settings. Args: settings: The settings to put. Raises: Exception:STRING
HIGHbackend/onyx/document_index/opensearch/client.py847Validates the index. Short-circuit returns False on the first mismatch. Logs the mismatch. See the OpeSTRING
HIGHbackend/onyx/document_index/opensearch/client.py965Gets the settings of the index. Args: include_defaults: Whether to include default settings which hSTRING
HIGHbackend/onyx/document_index/opensearch/client.py1271Deletes a document. Args: document_chunk_id: The OpenSearch ID of the document chunk to STRING
HIGHbackend/onyx/document_index/opensearch/client.py1329Deletes documents by a query. Args: query_body: The body of the query to delete documents by. STRING
HIGHbackend/onyx/document_index/opensearch/client.py1709Gets an OpenSearch document chunk. Will raise an exception if the document chunk is not found. Args: STRING
HIGHbackend/onyx/document_index/opensearch/client.py1755Searches the index. NOTE: Does not return vector fields. In order to take advantage of performance beneSTRING
HIGHbackend/onyx/document_index/opensearch/client.py1854Searches the index and returns only document chunk IDs. In order to take advantage of the performance benefits STRING
HIGHbackend/onyx/document_index/opensearch/client.py1947Opens a point-in-time (PIT) over this index for a consistent scan. The PIT pins the index across searches so coSTRING
HIGHbackend/onyx/document_index/opensearch/client.py1995Fetches one page of regular chunks for a batch of documents from a PIT. Filters to regular chunks (max_chunk_siSTRING
HIGHbackend/onyx/document_index/opensearch/client.py2259Extracts the hits and profiling information from a search result. Args: result: The search result tSTRING
HIGH…document_index/opensearch/opensearch_document_index.py500Indexes an iterable of document chunks into the document index. Groups chunks by document ID and for each documSTRING
HIGH…document_index/opensearch/opensearch_document_index.py627Deletes all chunks for a given document. Does nothing if the specified document ID does not exist. TODSTRING
HIGHbackend/onyx/document_index/opensearch/search.py974Returns filters to be passed into the "filter" key of a search query. The "filter" key applies a logical AND opSTRING
HIGHbackend/onyx/document_index/opensearch/search.py1050Returns a filter for the access control list. Since this returns an isolated bool should clause, it can be STRING
HIGHbackend/onyx/document_index/opensearch/search.py1208Returns a filter for the source types. Since this returns an isolated terms clause, it can be cached in STRING
HIGHbackend/onyx/document_index/opensearch/search.py1245Returns a filter for the tags. Since this returns an isolated terms clause, it can be cached in STRING
HIGHbackend/onyx/document_index/opensearch/search.py1282Returns a filter for the document sets. Since this returns an isolated terms clause, it can be cached in STRING
HIGHbackend/onyx/document_index/opensearch/search.py1397 Returns a filter for documents explicitly attached to an assistant. Since this returns an isolSTRING
HIGHbackend/onyx/document_index/opensearch/search.py1431 Returns a filter for chunks whose ancestors include any of the given hierarchy nodes. STRING
HIGH…end/onyx/document_index/opensearch/string_filtering.py13 Filters and validates a document ID such that it can be used as an ID in OpenSearch. OpenSearch imposes thSTRING
HIGHbackend/onyx/document_index/opensearch/schema.py436Returns the document schema for the OpenSearch index. WARNING: Changes / additions to field names here require STRING
HIGH…nd/onyx/context/search/federated/slack_search_utils.py62Get the channel type that requires a specific Slack scope. Args: scope: The Slack API scope (e.g., 'mpim:reSTRING
HIGHbackend/onyx/chat/chat_utils.py91Create a chat session from a ChatSessionCreationRequest. Includes project ownership and persona access validation. STRING
HIGHbackend/onyx/redis/tenant_redis_client.py32Idempotently prepends the tenant prefix to a key. Module-level (not a method) so ``TenantRedisClient`` and ``TeSTRING
HIGHbackend/onyx/redis/lock_context.py22Context manager to acquire a system-wide shared Redis lock. Args: lock_name: Name of the lock to acquire. STRING
HIGHbackend/onyx/file_store/utils.py273Save a file from either a URL or base64 encoded string. Args: url: URL to download file from base64STRING
HIGHbackend/onyx/server/manage/validate_tokens.py50 Validate that the user_token is a valid user OAuth token (xoxp-...) and not a bot token (xoxb-...) Args: STRING
HIGHbackend/onyx/utils/variable_functionality.py67 Fetches a versioned implementation of a specified attribute from a given module. This function first checks if STRING
HIGHbackend/onyx/utils/variable_functionality.py164 Fetches an EE implementation if EE is enabled, otherwise returns a no-op function. Raises an exception if EE isSTRING
HIGHbackend/onyx/utils/url.py498 Make a GET request with SSRF protection. This function resolves the hostname, validates the IP is not private/STRING
HIGHbackend/onyx/utils/search_nlp_models_utils.py2Parse AWS API key string into components. Args: api_key: String in format 'aws_ACCESSKEY_SECRETKEY_REGION' STRING
HIGHbackend/onyx/secondary_llm_flows/query_expansion.py79Rephrase a query into a standalone query using chat history context. Converts the user's query into a self-containeSTRING
HIGHbackend/onyx/secondary_llm_flows/query_expansion.py162Expand a query into multiple keyword-only queries using chat history context. Converts the user's query into a set STRING
HIGHbackend/onyx/onyxbot/discord/handle_commands.py373Sync channel configs with current Discord channels for a guild. Fetches current channels from Discord and syncs witSTRING
HIGHbackend/onyx/onyxbot/discord/api_client.py101Send a chat message to the Onyx API server and get a response. This method sends a non-streaming chat request tSTRING
HIGHbackend/onyx/voice/interface.py203 Create a streaming transcription session. Args: audio_format: Audio format being sent (e.gSTRING
HIGHbackend/onyx/voice/interface.py220 Create a streaming TTS session for real-time audio synthesis. Args: voice: Voice identifieSTRING
HIGHbackend/onyx/voice/factory.py15 Factory function to get the appropriate voice provider implementation. Args: provider: VoiceProvider mSTRING
HIGHbackend/onyx/db/discord_bot.py79Get existing Discord service API key or create one. The API key is used by the Discord bot to authenticate with theSTRING
HIGHbackend/onyx/db/persona.py2212Update only tools and system_prompt for the default assistant. Args: db_session: Database session tSTRING
HIGHbackend/scripts/sources_selection_analysis.py129Try to identify differences between the two analysis based on the selected analysis key. Args: STRING
HIGH…end/scripts/tenant_cleanup/no_bastion_cleanup_utils.py287 Get tenant status from control plane database via pod. Args: pod_name: The pod to execute the query frSTRING
Redundant / Tautological Comments173 hits · 262 pts
SeverityFileLineSnippetContext
LOWdocumentation/scripts/format_docs.py851 # Check if value is a boolean (true/false) - don't quote theseCOMMENT
LOWdocumentation/scripts/format_docs.py1165 # Check if line starts with <imgCOMMENT
LOWdocumentation/scripts/format_docs.py1173 # Check if tag is already closed on this line (ends with /> or >)COMMENT
LOWweb/lib/opal/scripts/convert-svg.sh42# Check if file existsCOMMENT
LOWweb/lib/opal/scripts/convert-svg.sh48# Check if it's an SVG fileCOMMENT
LOWdesktop/scripts/generate-icons.sh10# Check if ImageMagick is installedCOMMENT
LOW…ackground/celery/tasks/external_group_syncing/tasks.py496 # Check if the task has exceeded its timeoutCOMMENT
LOW…e/onyx/external_permissions/google_drive/group_sync.py107 # Check if the folder has permission IDs but no permissionsCOMMENT
LOWbackend/ee/onyx/server/scim/api.py897 # Assign user to default group BEFORE commit so everything is atomic.COMMENT
LOWbackend/ee/onyx/server/tenants/billing.py116 # Check if the response indicates no subscriptionCOMMENT
LOWbackend/ee/onyx/server/billing/service.py252 # Check if no subscriptionCOMMENT
LOWbackend/ee/onyx/utils/license.py581 # Check if grace period has expiredCOMMENT
LOWbackend/ee/onyx/utils/license.py585 # Check if license has expiredCOMMENT
LOWbackend/ee/onyx/db/standard_answer.py312 # Check if all of the keyword words are in the query wordsCOMMENT
LOW…pendency_unit/file_store/test_file_store_non_mocked.py197 # Read the file backCOMMENT
LOW…pendency_unit/file_store/test_file_store_non_mocked.py276 # Read the file backCOMMENT
LOW…pendency_unit/file_store/test_file_store_non_mocked.py533 # Read the file backCOMMENT
LOW⚡backend/tests/unit/onyx/llm/test_true_openai_model.py34 # Check if this specific dated version exists in the registryCOMMENT
LOW⚡backend/tests/unit/onyx/llm/test_true_openai_model.py128 # Check if embedding models are in the registryCOMMENT
LOWbackend/tests/integration/common_utils/document_acl.py82 # Check if user has any matching ACL entryCOMMENT
LOW…tion/multitenant_tests/tenants/test_tenant_creation.py128 # Check if image gen config was created during tenant provisioningCOMMENT
LOW⚡…nant_tests/discord_bot/test_discord_bot_multitenant.py35 # Check if guild is already registeredCOMMENT
LOW…/tests/integration/connector_job_tests/github/utils.py52 # Check if we have admin permissionsCOMMENT
LOW…or_job_tests/sharepoint/test_sharepoint_permissions.py116 # Check if user 2 has access to any non-public documentsCOMMENT
LOW…egration/tests/llm_auto_update/test_auto_llm_update.py109 # Check if we have all expected modelsCOMMENT
LOW…ckend/tests/integration/tests/users/test_seat_limit.py123 # Set license to 1 seat — only admin counts nowCOMMENT
LOW…ntegration/tests/indexing/test_repeated_error_state.py116 # Check if the connector is in a repeated error stateCOMMENT
LOW…ervices/mcp_test_server/run_mcp_server_google_oauth.py97 # Check if token has an error (Google returns 200 with error field sometimes)COMMENT
LOW…sts/daily/connectors/google_drive/test_map_test_ids.py63 # Check if this document's name matches our test file naming pattern (file_X.txt)COMMENT
LOWbackend/shared_configs/configs.py12# Check if model server is disabledCOMMENT
LOW⚡…nyx/background/celery/tasks/hierarchyfetching/tasks.py94 # Check if we've fetched hierarchy recentlyCOMMENT
LOW⚡…nyx/background/celery/tasks/hierarchyfetching/tasks.py100 # Check if enough time has passed since last fetchCOMMENT
LOW…nyx/background/celery/tasks/hierarchyfetching/tasks.py281 # Check if the connector supports hierarchy fetchingCOMMENT
LOW…nyx/background/celery/tasks/hierarchyfetching/tasks.py300 # Check if connector is public - all hierarchy nodes from public connectorsCOMMENT
LOW…yx/background/celery/tasks/connector_deletion/tasks.py478 # Check if the taskset still exists in Redis without reading its size.COMMENT
LOWbackend/onyx/background/celery/tasks/pruning/tasks.py956 # Check if the taskset still exists in Redis without reading its size.COMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py236 # Check if this attempt has been updated with heartbeat trackingCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py248 # Check if the heartbeat counter has advanced since last checkCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py454 # Check if the CC Pair should be moved to INITIAL_INDEXINGCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py557 # Check if indexing is complete and all batches are processedCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py1878 # Check if chunk indexing usage limit has been exceeded before processing.COMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/utils.py68 # Check if the associated indexing attempt has been cancelledCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/utils.py73 # Check if the task has exceeded its timeoutCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/utils.py143 # Check if the associated indexing attempt has been cancelledCOMMENT
LOWbackend/onyx/background/celery/apps/primary.py218 # Check if the Celery task actually existsCOMMENT
LOWbackend/onyx/background/indexing/run_docfetching.py848 # Check if connector is disabled mid run and stop if so unless it's the secondaryCOMMENT
LOWbackend/onyx/connectors/models.py179 # Check if all fields are NoneCOMMENT
LOWbackend/onyx/connectors/discord/connector.py206 # Set start_time to the later of start and pull_date, or whichever is providedCOMMENT
LOWbackend/onyx/connectors/jira/access.py36 # Check if EE is enabledCOMMENT
LOWbackend/onyx/connectors/github/utils.py117 # Check if EE is enabledCOMMENT
LOWbackend/onyx/connectors/zendesk/connector.py124 # Check if there are more pagesCOMMENT
LOWbackend/onyx/connectors/confluence/utils.py295 # Check if the response or headers are None to avoid potential AttributeErrorCOMMENT
LOWbackend/onyx/connectors/teams/listing.py286 # Check if team name contains most of the meaningful wordsCOMMENT
LOWbackend/onyx/connectors/teams/connector.py247 # Check if any requested teams have special characters that need client-side filteringCOMMENT
LOWbackend/onyx/connectors/dropbox/connector.py57 # Check if a shared link already existsCOMMENT
LOWbackend/onyx/connectors/salesforce/doc_conversion.py147 # Check if all fields are NoneCOMMENT
LOWbackend/onyx/connectors/salesforce/connector.py230 # Check if fields is a list when presentCOMMENT
LOWbackend/onyx/connectors/salesforce/connector.py238 # Check if associations is a dict when presentCOMMENT
LOWbackend/onyx/connectors/slack/connector.py1365 # Set oldest to the checkpoint timestamp to resume from where we left offCOMMENT
LOWbackend/onyx/connectors/google_drive/doc_conversion.py147 # Check if file is owned by the user (for distinguishing "My Drive" vs "Shared with me")COMMENT
113 more matches not shown…
Structural Annotation Overuse167 hits · 236 pts
SeverityFileLineSnippetContext
LOW⚡web/tests/e2e/agents/llm_provider_rbac.spec.ts21 // Step 1: Login as admin to create test fixturesCOMMENT
LOW⚡web/tests/e2e/agents/llm_provider_rbac.spec.ts25 // Step 2: Create a user group that will have access to the restricted providerCOMMENT
LOW⚡web/tests/e2e/agents/llm_provider_rbac.spec.ts36 // Step 3: Create a restricted LLM provider assigned to that groupCOMMENT
LOW⚡web/tests/e2e/agents/llm_provider_rbac.spec.ts46 // Step 4: Logout and login as a random user (who won't be in the restricted group)COMMENT
LOW⚡…app/message/messageComponents/timeline/transformers.ts59 * // Step 1: Build Map<turnIndex, TransformedStep[]>COMMENT
LOW⚡…app/message/messageComponents/timeline/transformers.ts67 * // Step 2: Sort turn indices & steps by tabIndexCOMMENT
LOW⚡…app/message/messageComponents/timeline/transformers.ts69 * // Step 3: Build TurnGroup[] with isParallel flagCOMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts416 * // Step 1: Map keys → GroupedPacket (parse key, lookup packets)COMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts424 * // Step 2: Filter (hasContentPackets check)COMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts432 * // Step 3: Sort by turn_index, then tab_indexCOMMENT
LOW…eComponents/timeline/hooks/usePacedTurnGroups.test.tsx421 // Step 1: Render with finalAnswerComing=true, no tool stepsCOMMENT
LOW…eComponents/timeline/hooks/usePacedTurnGroups.test.tsx443 // Step 2: finalAnswerComing goes false + new tool step arrivesCOMMENT
LOW⚡…eComponents/timeline/hooks/usePacedTurnGroups.test.tsx456 // Step 3: Add a second tool step so pacing is not yet completeCOMMENT
LOW⚡…eComponents/timeline/hooks/usePacedTurnGroups.test.tsx466 // Step 4: Advance timer to complete pacingCOMMENT
LOW.agents/feature-map/VERIFYING.md15## Step 1: Establish what changedCOMMENT
LOW.agents/feature-map/VERIFYING.md28## Step 2: Map the paths to componentsCOMMENT
LOW.agents/feature-map/VERIFYING.md38## Step 3: Read the componentsCOMMENT
LOW.agents/feature-map/VERIFYING.md52## Step 4: Check the contractsCOMMENT
LOW.agents/feature-map/VERIFYING.md74## Step 5: Check what else the change must touchCOMMENT
LOW.agents/feature-map/VERIFYING.md86## Step 6: Gather evidenceCOMMENT
LOW.agents/feature-map/VERIFYING.md110## Step 7: Check the repo-wide rulesCOMMENT
LOW.agents/feature-map/VERIFYING.md121## Step 8: ReportCOMMENT
LOW⚡…ests/external_dependency_unit/llm/test_llm_provider.py512 # Step 7: Change the default provider to provider 2COMMENT
LOW⚡…ests/external_dependency_unit/llm/test_llm_provider.py520 # Step 8: Call run_test_default_provider - should use provider 2COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py409 # Step 1: Create provider 1 with models, it becomes default (first provider)COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py434 # Step 2: Call run_test_default_provider - should use provider 1's default modelCOMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py445 # Step 3: Create provider 2 (not default)COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py464 # Step 4: Call run_test_default_provider - should still use provider 1COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py475 # Step 5: Update provider 1's default modelCOMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py501 # Step 6: Call run_test_default_provider - should use new model on provider 1COMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py171 # Step 4: Set the provider as defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py179 # Step 5: Fetch the default provider and verifyCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py581 # Step 3: Verify provider 1 is still the defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py589 # Step 4: Change the default to provider 2COMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py601 # Step 5: Verify provider 2 is now the defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py609 # Step 6: Run test_default_provider and verify it uses provider 2's modelCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py151 # Step 3: Verify all models from the GitHub config are presentCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py316 # Step 1: Upload provider WITHOUT auto mode, with initial modelsCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py343 # Step 2: Update provider to enable auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py363 # Step 3: Verify model visibility after auto mode transitionCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py534 # Step 1: Create provider 1 (OpenAI) with auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py566 # Step 2: Create provider 2 (Anthropic) with auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py651 # Step 1: Create provider with no model configsCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py666 # Step 2: Run sync_auto_mode_models (simulating the periodic sync)COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py679 # Step 3: Every ModelConfiguration must have at least one LLMModelFlowCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py701 # Step 4: The provider must appear in fetch_existing_llm_providersCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py746 # Step 1: Create manual-mode provider and set as defaultCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py778 # Step 2: Transition to auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py798 # Step 3: Default should be preserved on this providerCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py839 # Step 1: Create in auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py868 # Step 2: Switch to manual modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py891 # Step 3: Models unchangedCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py939 # Step 1: Create with config v1COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py958 # Step 2: Re-sync with config v2COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py972 # Step 3: VerifyCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1123 # Step 2: Set gpt-6-sol as global defaultCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1140 # Step 3: Re-sync with config v2 (gpt-6-sol removed)COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1154 # Step 4: Verify visibilityCOMMENT
LOW⚡…dependency_unit/celery/test_pruning_hierarchy_nodes.py282 # Step 1: ensure the SOURCE node exists (mirrors what the pruning task does)COMMENT
LOW⚡…dependency_unit/celery/test_pruning_hierarchy_nodes.py285 # Step 2: extract from mock connectorCOMMENT
107 more matches not shown…
Verbosity Indicators142 hits · 193 pts
SeverityFileLineSnippetContext
LOW⚡web/tests/e2e/agents/llm_provider_rbac.spec.ts21 // Step 1: Login as admin to create test fixturesCOMMENT
LOW⚡web/tests/e2e/agents/llm_provider_rbac.spec.ts25 // Step 2: Create a user group that will have access to the restricted providerCOMMENT
LOW⚡web/tests/e2e/agents/llm_provider_rbac.spec.ts36 // Step 3: Create a restricted LLM provider assigned to that groupCOMMENT
LOW⚡web/tests/e2e/agents/llm_provider_rbac.spec.ts46 // Step 4: Logout and login as a random user (who won't be in the restricted group)COMMENT
LOW⚡…app/message/messageComponents/timeline/transformers.ts59 * // Step 1: Build Map<turnIndex, TransformedStep[]>COMMENT
LOW⚡…app/message/messageComponents/timeline/transformers.ts67 * // Step 2: Sort turn indices & steps by tabIndexCOMMENT
LOW⚡…app/message/messageComponents/timeline/transformers.ts69 * // Step 3: Build TurnGroup[] with isParallel flagCOMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts416 * // Step 1: Map keys → GroupedPacket (parse key, lookup packets)COMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts424 * // Step 2: Filter (hasContentPackets check)COMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts432 * // Step 3: Sort by turn_index, then tab_indexCOMMENT
LOW…eComponents/timeline/hooks/usePacedTurnGroups.test.tsx421 // Step 1: Render with finalAnswerComing=true, no tool stepsCOMMENT
LOW…eComponents/timeline/hooks/usePacedTurnGroups.test.tsx443 // Step 2: finalAnswerComing goes false + new tool step arrivesCOMMENT
LOW⚡…eComponents/timeline/hooks/usePacedTurnGroups.test.tsx456 // Step 3: Add a second tool step so pacing is not yet completeCOMMENT
LOW⚡…eComponents/timeline/hooks/usePacedTurnGroups.test.tsx466 // Step 4: Advance timer to complete pacingCOMMENT
LOWweb/src/hooks/useChatController.ts527 // For pages like NRF where existingChatSessionId is always null, we need to check ifCOMMENT
LOWbackend/ee/onyx/db/document.py87 # If the document exists, we need to check if the external access has changedCOMMENT
LOW⚡…ests/external_dependency_unit/llm/test_llm_provider.py512 # Step 7: Change the default provider to provider 2COMMENT
LOW⚡…ests/external_dependency_unit/llm/test_llm_provider.py520 # Step 8: Call run_test_default_provider - should use provider 2COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py409 # Step 1: Create provider 1 with models, it becomes default (first provider)COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py434 # Step 2: Call run_test_default_provider - should use provider 1's default modelCOMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py445 # Step 3: Create provider 2 (not default)COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py464 # Step 4: Call run_test_default_provider - should still use provider 1COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py475 # Step 5: Update provider 1's default modelCOMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py501 # Step 6: Call run_test_default_provider - should use new model on provider 1COMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py171 # Step 4: Set the provider as defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py179 # Step 5: Fetch the default provider and verifyCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py581 # Step 3: Verify provider 1 is still the defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py589 # Step 4: Change the default to provider 2COMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py601 # Step 5: Verify provider 2 is now the defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py609 # Step 6: Run test_default_provider and verify it uses provider 2's modelCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py151 # Step 3: Verify all models from the GitHub config are presentCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py316 # Step 1: Upload provider WITHOUT auto mode, with initial modelsCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py343 # Step 2: Update provider to enable auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py363 # Step 3: Verify model visibility after auto mode transitionCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py534 # Step 1: Create provider 1 (OpenAI) with auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py566 # Step 2: Create provider 2 (Anthropic) with auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py651 # Step 1: Create provider with no model configsCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py666 # Step 2: Run sync_auto_mode_models (simulating the periodic sync)COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py679 # Step 3: Every ModelConfiguration must have at least one LLMModelFlowCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py701 # Step 4: The provider must appear in fetch_existing_llm_providersCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py746 # Step 1: Create manual-mode provider and set as defaultCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py778 # Step 2: Transition to auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py798 # Step 3: Default should be preserved on this providerCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py839 # Step 1: Create in auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py868 # Step 2: Switch to manual modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py891 # Step 3: Models unchangedCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py939 # Step 1: Create with config v1COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py958 # Step 2: Re-sync with config v2COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py972 # Step 3: VerifyCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1123 # Step 2: Set gpt-6-sol as global defaultCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1140 # Step 3: Re-sync with config v2 (gpt-6-sol removed)COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1154 # Step 4: Verify visibilityCOMMENT
LOW⚡…dependency_unit/celery/test_pruning_hierarchy_nodes.py282 # Step 1: ensure the SOURCE node exists (mirrors what the pruning task does)COMMENT
LOW⚡…dependency_unit/celery/test_pruning_hierarchy_nodes.py285 # Step 2: extract from mock connectorCOMMENT
LOW⚡…dependency_unit/celery/test_pruning_hierarchy_nodes.py290 # Step 3: upsert hierarchy nodes (public connector = False)COMMENT
LOW⚡…dependency_unit/celery/test_pruning_hierarchy_nodes.py300 # Step 4: verify DB stateCOMMENT
LOW⚡…ts/integration/tests/llm_provider/test_llm_provider.py1482 # Step 2: Set provider 1 as the default providerCOMMENT
LOW⚡…ts/integration/tests/llm_provider/test_llm_provider.py1485 # Step 3: Both admin and basic_user query and verify they see the same defaultCOMMENT
LOW⚡…ts/integration/tests/llm_provider/test_llm_provider.py1849 # Step 3: Set provider 1 as the general default providerCOMMENT
LOW⚡…ts/integration/tests/llm_provider/test_llm_provider.py1852 # Step 4: Set provider 2 with a specific vision model as the default vision providerCOMMENT
82 more matches not shown…
Modern Structural Boilerplate147 hits · 149 pts
SeverityFileLineSnippetContext
LOWtools/loadtest/locustfile.py27__all__ = [CODE
LOWtools/loadtest/scenarios/__init__.py11__all__ = [CODE
LOW.agents/hooks/pre_commit_on_stop.py213def _set_recheck(repo: Path, session: str, recheck: bool) -> None:CODE
LOWbackend/ee/onyx/server/scim/patch.py34logger = logging.getLogger(__name__)CODE
LOWbackend/ee/onyx/server/scim/providers/base.py28logger = logging.getLogger(__name__)CODE
LOWbackend/ee/onyx/server/tenants/schema_management.py26logger = logging.getLogger(__name__)CODE
LOWbackend/ee/onyx/server/tenants/product_gating.py16def update_tenant_gating(tenant_id: str, status: ApplicationStatus) -> None:CODE
LOW⚡backend/ee/onyx/db/scim.py120 def update_token_last_used(self, token_id: int) -> None:CODE
LOWbackend/tests/external_dependency_unit/mock_llm.py216 def set_max_timeout(self, timeout: float = 5.0) -> None:CODE
LOWbackend/tests/external_dependency_unit/mock_llm.py293 def set_max_timeout(self, timeout: float = 5.0) -> None:CODE
LOW…ency_unit/document_index/test_cc_pair_access_filter.py105def _set_ee(monkeypatch: pytest.MonkeyPatch, is_ee: bool) -> None:CODE
LOW…ckend/tests/external_dependency_unit/craft/conftest.py140def _set_onyx_server_url(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ternal_dependency_unit/auth/test_session_revocation.py69def _set_password(db_session: Session, user: User, password: str) -> None:CODE
LOW…/external_dependency_unit/auth/test_jwt_passthrough.py93 def set_key(self, key: _RSAKey) -> None:CODE
LOW⚡…permission_sync/test_pause_cancels_permission_syncs.py223 def set_fence_then_record_a_failure(stop: RedisConnectorStop, value: bool) -> None:CODE
LOW…permission_sync/test_pause_cancels_permission_syncs.py262 def set_fence_then_dispatch(stop: RedisConnectorStop, value: bool) -> None:CODE
LOW…ency_unit/slack_bot/test_slack_bot_federated_search.py329 def _setup_embedding_mock(self, mock_get_query_embeddings: Mock) -> None:CODE
LOW…ency_unit/slack_bot/test_slack_bot_federated_search.py431 def _setup_llm_provider(self, db_session: Session) -> None:CODE
LOW…ests/external_dependency_unit/db/test_shard_routing.py71def _set_tenant_shard(tenant_id: str, shard_name: str) -> None:CODE
LOW…ndency_unit/db/test_default_assistant_disabled_tool.py435 def update_tool() -> None:CODE
LOWbackend/tests/unit/fakes.py84 def set_add(self, key: str, member: str | bytes) -> None:CODE
LOWbackend/tests/unit/fakes.py88 def set_remove(self, key: str, member: str | bytes) -> None:CODE
LOWbackend/tests/unit/sandbox_proxy/test_approval_cache.py68 def set_add(self, key: str, member: str | bytes) -> None:CODE
LOWbackend/tests/unit/sandbox_proxy/test_approval_cache.py72 def set_remove(self, key: str, member: str | bytes) -> None:CODE
LOW…d/tests/unit/ee/onyx/server/features/hooks/test_api.py51def _set_level(monkeypatch: pytest.MonkeyPatch, level: SSRFProtectionLevel) -> None:CODE
LOW…ground/celery/test_celery_task_logger_file_handlers.py78def _setup_celery_logging() -> None:CODE
LOW…nd/tests/unit/onyx/connectors/test_retry_after_caps.py55def _set_cloud(monkeypatch: pytest.MonkeyPatch, cloud: bool) -> None:CODE
LOW…ectors/salesforce/test_salesforce_oauth_credentials.py77 def set_credentials(self, credential_json: dict[str, Any]) -> None:CODE
LOWbackend/tests/unit/onyx/chat/test_cancellation.py89 def set_add(self, key: str, member: str | bytes) -> None:CODE
LOWbackend/tests/unit/onyx/chat/test_cancellation.py93 def set_remove(self, key: str, member: str | bytes) -> None:CODE
LOW…d/tests/unit/onyx/server/features/mcp/test_mcp_ssrf.py48def _set_level(monkeypatch: pytest.MonkeyPatch, level: SSRFProtectionLevel) -> None:CODE
LOW…it/onyx/server/features/mcp/test_mcp_oauth_provider.py48 async def set_tokens(self, tokens: OAuthToken) -> None:CODE
LOW…it/onyx/server/features/mcp/test_mcp_oauth_provider.py54 async def set_client_info(self, client_info: OAuthClientInformationFull) -> None:CODE
LOW…it/onyx/server/features/mcp/test_mcp_oauth_provider.py72 async def set_tokens(self, tokens: OAuthToken) -> None:CODE
LOWbackend/tests/unit/onyx/utils/test_external_endpoint.py19def _setup_client(mock_client_cls: MagicMock, response: MagicMock) -> None:CODE
LOW…sts/unit/onyx/federated_connectors/test_oauth_utils.py73 def set_add(self, key: str, member: str | bytes) -> None:CODE
LOW…sts/unit/onyx/federated_connectors/test_oauth_utils.py77 def set_remove(self, key: str, member: str | bytes) -> None:CODE
LOWbackend/tests/integration/common_utils/http_client.py85def set_test_client(c: httpx.Client | None) -> None:CODE
LOW…nd/tests/integration/common_utils/managers/mock_llm.py185def _set_default(default: DefaultModel, user_performing_action: DATestUser) -> None:CODE
LOW…s/integration/connector_job_tests/onedrive/conftest.py36logger = logging.getLogger(__name__)CODE
LOW…gration/connector_job_tests/azure_datalake/conftest.py34logger = logging.getLogger(__name__)CODE
LOW…ts/integration/tests/craft/test_scheduled_tasks_api.py394def _set_run_status(run_id: UUID, status: ScheduledTaskRunStatus) -> None:CODE
LOW…end/tests/integration/tests/craft/test_webapp_proxy.py22def _set_scope(user: DATestUser, session_id: UUID, scope: SharingScope) -> None:CODE
LOW⚡…on/tests/craft/docker_e2e/test_approval_gate_docker.py123def _set_slack_org_credentials(value: dict[str, str]) -> None:CODE
LOW…roup/test_group_membership_updates_user_permissions.py23def _set_membership_is_manager(user_id: str, group_id: int, value: bool) -> None:CODE
LOW…ermissions_membership/test_group_manager_membership.py206def _set_cc_pair_creator(cc_pair_id: int, user_id: str) -> None:CODE
LOW…ests/permissions_resources/test_cc_pair_data_access.py247def _set_group_restrictions(enabled: bool | None, admin: DATestUser) -> None:CODE
LOW…tests/streaming_endpoints/test_chat_file_attachment.py91def _set_token_threshold(admin_user: DATestUser, threshold_k: int) -> None:CODE
LOW…ration/tests/indexing/test_connector_edit_perm_sync.py45def _set_next_run(mock_server_client: httpx.Client, text: str) -> None:CODE
LOW…ntegration/mock_services/mock_connector_server/main.py25async def set_behavior(behavior: list[dict]) -> None:CODE
LOWbackend/tests/utils/aws_secrets.py44logger = logging.getLogger(__name__)CODE
LOWbackend/tests/daily/connectors/google_drive/conftest.py137def set_resource_limits() -> None:CODE
LOW…end/tests/regression/search_quality/run_search_eval.py556 def _update_metrics(self, result: AnalysisSummary) -> None:CODE
LOWbackend/onyx/setup.py364def update_default_multipass_indexing(db_session: Session) -> None:CODE
LOW⚡…nd/onyx/background/celery/tasks/vespa/document_sync.py56def set_document_sync_fence(r: TenantRedisClient, payload: int | None) -> None:CODE
LOW⚡backend/onyx/background/celery/apps/monitoring.py98def _setup_shard_capacity_collector() -> None:CODE
LOWbackend/onyx/background/celery/apps/app_base.py620def set_task_finished_log_level(logLevel: int) -> None:CODE
LOWbackend/onyx/background/celery/apps/app_base.py701 def update_liveness_file(self, worker: Any) -> None: # noqa: ARG002CODE
LOWbackend/onyx/connectors/interfaces.py97 def set_allow_images(self, value: bool) -> None:CODE
LOWbackend/onyx/connectors/interfaces.py101 def set_raw_file_callback(self, callback: RawFileCallback) -> None:CODE
87 more matches not shown…
Hallucination Indicators11 hits · 135 pts
SeverityFileLineSnippetContext
CRITICAL…pendency_unit/file_store/test_azure_blob_file_store.py322 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICAL⚡…x/background/celery/tasks/test_license_reclaim_task.py312 mock_redis.return_value.pipeline.return_value.incr.assert_not_called()CODE
CRITICAL⚡…x/background/celery/tasks/test_license_reclaim_task.py328 mock_redis.return_value.pipeline.return_value.incr.assert_called_once()CODE
CRITICAL…ckground/celery/tasks/test_incognito_teardown_retry.py47 redis_client.return_value.lock.return_value.release.assert_called_once_with()CODE
CRITICAL⚡…x/connectors/hubspot/test_hubspot_source_operations.py285 client.crm.associations.v4.batch_api.get_page.assert_not_called()CODE
CRITICAL⚡…x/connectors/hubspot/test_hubspot_source_operations.py364 client.crm.deals.batch_api.read.assert_not_called()CODE
CRITICAL⚡…yx/connectors/google_drive/test_drive_access_probes.py79 service.files.return_value.list.return_value.execute.assert_not_called()CODE
CRITICALbackend/onyx/background/celery/celery_utils.py278 queue_names = list(worker.app.amqp.queues.consume_from.keys())CODE
CRITICALbackend/onyx/file_store/azure_blob_file_store.py156 from azure.core.exceptions import HttpResponseError, ResourceExistsErrorCODE
CRITICALbackend/onyx/file_store/azure_blob_file_store.py333 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALbackend/onyx/file_store/azure_blob_file_store.py382 from azure.core.exceptions import ResourceNotFoundErrorCODE
AI Slop Vocabulary46 hits · 109 pts
SeverityFileLineSnippetContext
MEDIUMtools/loadtest/k8s/locust.yaml1# Locust master + workers for the Onyx chat load tests, using the harnessCOMMENT
MEDIUM…src/app/app/message/messageComponents/AgentMessage.tsx72// TODO: Consider more robust comparisons:COMMENT
MEDIUM…src/app/app/message/messageComponents/AgentMessage.tsx74// reference equality. Shallow array/object comparison would be more robust ifCOMMENT
LOW…d/ee/onyx/external_permissions/confluence/constants.py2# Instead of setting a page to public, we just add this group so that the pageCOMMENT
LOW…e/onyx/external_permissions/confluence/space_access.py90 # that exist in confluence and then just add that group to the space permissionsCOMMENT
LOW…onyx/external_permissions/salesforce/postprocessing.py187 # so we should just return an empty list because no chunks will beCOMMENT
MEDIUM…ternal_dependency_unit/craft/test_session_lifecycle.py1265 # is robust if the stub is consulted on any code path.COMMENT
LOW…ency_unit/slack_bot/test_slack_bot_federated_search.py1# NOTE: ruff and black disagree after applying this noqa, so we just set file-level.COMMENT
MEDIUM…nd/tests/unit/sandbox_proxy/test_response_streaming.py46# window keeps the structural assertion robust against scheduler jitter.COMMENT
MEDIUM⚡…/onyx/connectors/slack/test_slack_source_operations.py92 # harness counts.COMMENT
MEDIUM⚡backend/tests/unit/onyx/tools/test_tool_llm_names.py13# harness tool names (e.g. "browser", "bash") and starts rejecting them.COMMENT
MEDIUM…s/integration/tests/gateway_clients/run_with_server.sh3# need a real TCP api_server, which the in-process TestClient harness cannotCOMMENT
MEDIUM…/tests/daily/connectors/zendesk/test_zendesk_data.json6 "link": "https://d3v-onyx.zendesk.com/hc/en-us/articles/32502691728155-How-can-agents-leverage-knowledge-to-heCODE
MEDIUMbackend/onyx/background/celery/apps/app_base.py165 """We handle this signal in order to remove completed tasksSTRING
MEDIUMbackend/onyx/connectors/source_operations.py39 """What an operation needs in order to run.STRING
MEDIUMbackend/onyx/connectors/source_operations.py307 # attribution the coverage harness counts, so coverage claims stayCOMMENT
LOWbackend/onyx/connectors/confluence/source_operations.py666 # If it's not a method, just return it after ensuring token validityCOMMENT
MEDIUMbackend/onyx/connectors/slack/utils.py212 """Simply replaces all tags with `@<USER_ID>` in order to prevent us fromSTRING
MEDIUM…document_index/opensearch/opensearch_document_index.py846 # TODO(andrei): Fix the aforementioned race condition.COMMENT
MEDIUM…/onyx/tools/tool_implementations/python/python_tool.py221 # OpenAI reserves the function name "python" for its own harness andCOMMENT
LOW…nd/onyx/tools/tool_implementations/search/constants.py16# This may in the future just use an entirely keyword search. Currently it is a hybrid search with a keyword first phaseCOMMENT
MEDIUM…/onyx/llm/well_known_providers/llm_provider_options.py122 # TODO: remove these lists once we have a comprehensive model configuration pageCOMMENT
LOWbackend/onyx/auth/email_utils.py310 # No images, just add HTML directly (higher priority than text)STRING
MEDIUMbackend/onyx/file_processing/extract_file_text.py373 # Unknown PDF parsing failure — elevate just the message, not aCOMMENT
LOWbackend/onyx/file_processing/extract_file_text.py1053 # just return empty textCOMMENT
LOWbackend/onyx/file_store/s3_key_utils.py163 # If no space for readable part, just use hashCOMMENT
LOWbackend/onyx/server/auth_check.py29 # should always be callable, will just return 401 if not authenticatedCOMMENT
LOWbackend/onyx/server/manage/llm/api.py675 # Therefore, instead of performing additional, more complex logic, we just use a dummy valueCOMMENT
LOWbackend/onyx/secondary_llm_flows/document_filter.py68 # If center chunk not found in chunks list, just return center chunkCOMMENT
LOWbackend/onyx/onyxbot/slack/utils.py618 # For other bots, just use the text as we have no way of knowing that theCOMMENT
LOW⚡backend/onyx/db/models.py2461 # If not specified, will just use the model_dim without any reduction.COMMENT
MEDIUMbackend/onyx/db/models.py4062 # For "Custom LLM Providers", we don't provide a comprehensive list of modelsCOMMENT
LOWbackend/onyx/db/chat_search.py31 # If no query, just return the most recent sessionsCOMMENT
LOWbackend/onyx/db/usage.py82 # No-op update: just set a field to its current valueCOMMENT
MEDIUMbackend/scripts/env_inventory.py433 # locals (e.g. `connector = ...` reused in a connector __main__ harness).COMMENT
LOW…nd/alembic/versions/be2ab2aa50ee_fix_capitalization.py36 # cycle, so we just passSTRING
LOW…/da42808081e3_migrate_jira_connectors_to_new_format.py53 # If URL parsing fails, just use the URL as the baseSTRING
MEDIUMbackend/alembic/versions/3bd4c84fe72f_improved_index.py23# 2. Adds indexes to both chat_message and chat_session tables for comprehensive searchCOMMENT
MEDIUM⚡…deployfiles/embedded/docker_compose/docker-compose.yml13# To convert this setup to a production deployment following best practices,COMMENT
MEDIUM.devcontainer/init-dev-user.sh8# We remap dev to that UID -- fast and seamless.COMMENT
MEDIUM⚡deployment/docker_compose/docker-compose.yml13# To convert this setup to a production deployment following best practices,COMMENT
MEDIUM⚡deployment/docker_compose/docker-compose.template.yml18# To convert this setup to a production deployment following best practices,COMMENT
MEDIUM.github/workflows/pr-terraform-provider-tests.yml15# Two auth legs run in parallel. `bootstrap` lets the harness register an adminCOMMENT
MEDIUM.github/workflows/pr-terraform-provider-tests.yml358 # deployment. Here they match the harness's own defaults, against aCOMMENT
MEDIUM.github/workflows/pr-terraform-provider-tests.yml372 # An empty key would send the harness down its own bootstrap path,COMMENT
MEDIUM.github/workflows/reusable-agent-task-pr.yml3### A caller supplies a Python task or a trusted prompt for a coding harness,COMMENT
AI Structural Patterns90 hits · 74 pts
SeverityFileLineSnippetContext
LOWbackend/tests/external_dependency_unit/mock_llm.py305CODE
LOWbackend/tests/external_dependency_unit/mock_llm.py319CODE
LOW…tests/external_dependency_unit/mock_search_pipeline.py138CODE
LOW…l_dependency_unit/opensearch/test_opensearch_client.py117CODE
LOW…al_dependency_unit/indexing/test_cc_pair_runs_route.py164CODE
LOW…external_dependency_unit/indexing/test_port_reembed.py70CODE
LOWbackend/tests/unit/sandbox_proxy/conftest.py109CODE
LOWbackend/tests/unit/ee/onyx/hooks/test_executor.py27CODE
LOW…kend/tests/unit/onyx/connectors/box/fake_box_client.py230CODE
LOW…x/connectors/microsoft_utils/fake_sharepoint_reader.py35CODE
LOWbackend/tests/unit/onyx/connectors/jira/conftest.py57CODE
LOWbackend/tests/unit/onyx/connectors/github/conftest.py93CODE
LOW…/onyx/connectors/zendesk/test_zendesk_checkpointing.py78CODE
LOWbackend/tests/unit/onyx/tools/test_coding_agent_loop.py130CODE
LOWbackend/tests/unit/onyx/chat/test_citation_utils.py25CODE
LOWbackend/tests/unit/onyx/chat/test_citation_processor.py35CODE
LOW…/server/features/craft/session/test_streaming_state.py28CODE
LOW…nit/onyx/server/manage/llm/test_model_configuration.py681CODE
LOW…/integration/common_utils/managers/image_generation.py28CODE
LOW…end/tests/integration/common_utils/managers/persona.py18CODE
LOW…end/tests/integration/common_utils/managers/persona.py85CODE
LOW…end/tests/integration/common_utils/managers/cc_pair.py66CODE
LOW…ests/integration/common_utils/managers/llm_provider.py19CODE
LOW…ests/integration/common_utils/managers/reindex_port.py68CODE
LOW…ion/mock_services/mcp_test_server/run_mock_oidc_idp.py334CODE
LOWbackend/tests/common/craft/stubs.py589CODE
LOWbackend/onyx/connectors/capability_checks/runner.py1059CODE
LOWbackend/onyx/connectors/capability_checks/models.py561CODE
LOWbackend/onyx/connectors/onedrive/capability_checks.py328CODE
LOWbackend/onyx/connectors/github/capability_checks.py277CODE
LOWbackend/onyx/connectors/confluence/connector.py265CODE
LOWbackend/onyx/connectors/confluence/capability_checks.py377CODE
LOWbackend/onyx/connectors/sharepoint/connector.py735CODE
LOWbackend/onyx/connectors/teams/connector.py144CODE
LOWbackend/onyx/connectors/zoom/connector.py178CODE
LOWbackend/onyx/connectors/slack/connector.py803CODE
LOWbackend/onyx/connectors/slack/connector.py1026CODE
LOWbackend/onyx/connectors/slack/capability_checks.py464CODE
LOWbackend/onyx/connectors/google_drive/connector.py325CODE
LOW…kend/onyx/connectors/google_drive/capability_checks.py525CODE
LOWbackend/onyx/connectors/outlook/connector.py696CODE
LOWbackend/onyx/connectors/outlook/capability_checks.py454CODE
LOWbackend/onyx/tracing/framework/create.py193CODE
LOWbackend/onyx/tracing/framework/span_data.py111CODE
LOWbackend/onyx/document_index/opensearch/client.py335CODE
LOWbackend/onyx/document_index/opensearch/client.py690CODE
LOW…ools/tool_implementations/open_url/onyx_web_crawler.py229CODE
LOWbackend/onyx/llm/multi_llm.py654CODE
LOWbackend/onyx/llm/multi_llm.py853CODE
LOWbackend/onyx/llm/multi_llm.py1489CODE
LOWbackend/onyx/llm/multi_llm.py1627CODE
LOWbackend/onyx/llm/factory.py489CODE
LOWbackend/onyx/context/search/federated/slack_search.py998CODE
LOWbackend/onyx/chat/process_message.py574CODE
LOWbackend/onyx/chat/agent.py66CODE
LOWbackend/onyx/redis/tenant_redis_client.py170CODE
LOWbackend/onyx/redis/tenant_redis_client.py1234CODE
LOWbackend/onyx/redis/redis_pool.py203CODE
LOWbackend/onyx/auth/users.py3080CODE
LOWbackend/onyx/auth/users.py1038CODE
30 more matches not shown…
Dead Code12 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUM…onnectors/google_drive/test_google_drive_group_sync.py425CODE
MEDIUM…mission_sync/test_perm_sync_no_pg_conn_during_crawl.py199CODE
MEDIUM…mission_sync/test_perm_sync_no_pg_conn_during_crawl.py225CODE
MEDIUM…kend/tests/unit/background/celery/test_celery_utils.py53CODE
MEDIUM…ackground/celery/tasks/test_hierarchyfetching_queue.py33CODE
MEDIUM…nit/onyx/connectors/jira/test_jira_date_error_retry.py34CODE
MEDIUM…it/onyx/connectors/github/test_github_checkpointing.py492CODE
MEDIUM…nnectors/sharepoint/test_load_checkpoint_resilience.py373CODE
MEDIUM…rs/google_drive/test_google_drive_source_operations.py189CODE
MEDIUM…r/features/craft/test_webapp_proxy_header_stripping.py33CODE
MEDIUM…nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py615CODE
MEDIUMbackend/onyx/voice/providers/zoom.py481CODE
Example Usage Blocks14 hits · 22 pts
SeverityFileLineSnippetContext
LOWbackend/onyx/connectors/imap/connector.py52# Usage:COMMENT
LOWbackend/onyx/redis/redis_pool.py345# # Usage exampleCOMMENT
LOWbackend/onyx/utils/subclasses.py107# Example usage:COMMENT
LOW⚡…s/embedded/docker_compose/docker-compose.onyx-lite.yml10# Usage:COMMENT
LOW…oyfiles/embedded/docker_compose/docker-compose.dev.yml12# Usage:COMMENT
LOW⚡deployment/docker_compose/docker-compose.onyx-lite.yml10# Usage:COMMENT
LOWdeployment/docker_compose/docker-compose.dev.yml12# Usage:COMMENT
LOW⚡deployment/helm/charts/onyx/values-lite.yaml9# Usage:COMMENT
LOWdeployment/helm/dev/k8s-down.sh8# Usage:COMMENT
LOWdeployment/helm/dev/k8s-up.sh7# Usage:COMMENT
LOWdeployment/helm/dev/craft-down.sh11# Usage:COMMENT
LOWdeployment/helm/dev/craft-up.sh11# Usage:COMMENT
LOWexamples/assistants-api/topics_analyzer.py116# Example usageSTRING
LOW…aform-provider-onyx/examples/bootstrap/mint_api_key.sh17# Usage:COMMENT
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHwidget/index.html267 api-key="your-api-key-here"CODE
HIGHwidget/README.md346Authorization: Bearer YOUR_API_KEYCODE
HIGHwidget/README.md363Authorization: Bearer YOUR_API_KEYCODE
HIGHwidget/README.md388 VITE_WIDGET_API_KEY=your_api_keyCODE
Slop Phrases7 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMbackend/pytest.ini18# you can use it to test credentials locally.COMMENT
LOW…d/ee/onyx/external_permissions/post_query_censoring.py99 # IMPORTANT: make sure to retain the same ordering as the original `chunks` passed inCOMMENT
LOW…end/onyx/connectors/google_drive/section_extraction.py167 # Don't forget to add the last sectionCOMMENT
LOWbackend/onyx/kg/models.py11# Note: make sure to write a migration if adding a non-nullable field or removing a fieldCOMMENT
MEDIUMbackend/onyx/prompts/coding_agent/coding_agent.py140- **No filler.** Cut "In summary,", "It's worth noting that,", "Essentially,", "Basically,", "I hope this helps". Cut seCODE
LOWbackend/onyx/db/models.py1286 # NOTE: if more sensitive data is added here for display, make sure to add user/group permissionCOMMENT
LOWbackend/onyx/db/models.py1980 # NOTE: if more sensitive data is added here for display, make sure to add user/group permissionCOMMENT
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHweb/tests/e2e/chat/chat_message_rendering.spec.ts97 print(f"{doc.title}: {doc.score:.2f}")CODE
HIGHweb/tests/e2e/chat/chat_file_uploads.spec.ts24 print(greet("Onyx"))CODE
Overly Generic Function Names7 hits · 7 pts
SeverityFileLineSnippetContext
LOWweb/src/app/api/[...path]/route.ts66async function handleRequest(request: NextRequest, path: string[]) {CODE
LOW…nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py675 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py742 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py795 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…s/unit/onyx/server/features/mcp/test_mcp_oauth_flow.py217 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…it/onyx/server/features/mcp/test_mcp_oauth_provider.py369 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWbackend/tests/integration/common_utils/http_client.py49 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHwidget/src/widget.ts735 Responses are generated by AI and may be inaccurateCODE