AI Slop Code RIsk Monitor

onyx-dot-app/onyx

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

17.9 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for onyx-dot-app/onyx, a Python project with 32,392 GitHub stars. SynthScan examined 1,751,141 lines of code across 8069 source files, recording 25324 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 17.9 (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.9
Adjusted Signal
17.9
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
32.4K
Stars
Python
Language
1.8M
Lines of Code
8.1K
Files
25.3K
Pattern Hits
2026-10-12
Scan Date
0.06
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 43.4/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 7.3/100 · LOW

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

Agent Over-Engineering Ratio 51.7/100 · HIGH

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

PR Review Velocity Impact 59.3/100 · HIGH

Which changes need focused human review? 25324 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 9HIGH 448MEDIUM 1929LOW 22938

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 25324 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 Identifiers16781 hits · 16644 pts
SeverityFileLineSnippetContext
LOW⚡tools/loadtest/tests/test_mock_llm.py346def test_chat_auto_without_knob_answers_directly() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py351def test_dr_clarification_always_calls_generate_plan() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py357def test_dr_plan_call_is_plain_text() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py363def test_dr_orchestrator_first_cycle_spawns_research_agents() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py427def test_forced_specific_tool_is_honored() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py436def test_max_tokens_caps_answer_length() -> None:CODE
LOW⚡tools/loadtest/tests/test_mock_llm.py442def test_maxctx_rejects_oversized_prompt_with_context_error() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py142def assistant_tool_calls_message(name: str, arguments: str = "{}") -> dict[str, Any]:CODE
LOWtools/loadtest/tests/test_mock_llm.py156def test_plain_chat_no_tools_streams_text_with_stop() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py168def test_tool_choice_none_forces_text_even_with_tools() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py175def test_query_rephrase_flow_echoes_user_text() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py201def test_rephrase_echo_excludes_prompt_scaffolding() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py231def test_search_tool_argument_uses_the_question() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py251def test_search_tool_argument_survives_message_padding() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py267def test_normal_answer_is_filler_not_echo() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py275def test_chat_auto_with_tools_knob_emits_internal_search_with_queries_array() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py293def test_multi_tool_knob_emits_parallel_retrieval_calls() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py306def test_multi_tool_knob_caps_at_offered_retrieval_tools() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py319def test_tools_knob_count_is_honored() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py330def test_chat_auto_after_tool_result_streams_final_answer() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py377def test_dr_orchestrator_second_cycle_generates_report() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py396def test_dr_research_agent_searches_then_reports() -> None:CODE
LOWtools/loadtest/tests/test_mock_llm.py460def test_maxctx_allows_small_prompt() -> 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
LOW⚡tools/loadtest/tests/test_messages.py14def test_corpus_is_large_and_unique() -> None:CODE
LOW⚡tools/loadtest/tests/test_messages.py20def test_corpus_varies_in_length() -> None:CODE
LOW⚡tools/loadtest/tests/test_messages.py28def test_messages_file_overrides_corpus(tmp_path, monkeypatch) -> None:CODE
LOW⚡tools/loadtest/tests/test_messages.py36def test_empty_messages_file_is_an_error(tmp_path, monkeypatch) -> None:CODE
LOW⚡tools/loadtest/tests/test_messages.py45def test_default_corpus_used_without_override(monkeypatch) -> None:CODE
LOW⚡tools/i18n/test_check_copy_changes.py52 def test_unchanged_copy_passes(self) -> None:CODE
LOW⚡tools/i18n/test_check_copy_changes.py55 def test_requires_the_same_key_in_every_locale(self) -> None:CODE
LOW⚡tools/i18n/test_check_copy_changes.py64 def test_updated_translations_pass(self) -> None:CODE
LOW⚡tools/i18n/test_check_copy_changes.py70 def test_missing_new_key_fails(self) -> None:CODE
LOW⚡tools/i18n/test_check_copy_changes.py75 def test_branch_base_checks_committed_copy(self) -> None:CODE
LOWtools/i18n/test_check_copy_changes.py91 def test_new_locale_has_no_previous_translation(self) -> None:CODE
LOWtools/i18n/test_check_copy_changes.py98 def test_push_range_checks_copy_before_an_unrelated_commit(self) -> None:CODE
LOWtools/i18n/test_check_copy_changes.py126 def test_clean_checkout_with_committed_translations_passes(self) -> None:CODE
LOWweb/tools/oxlint/anti-slop/shared/reflect-method.ts28export function isGlobalReflectMethodCall(CODE
LOWweb/tools/oxlint/anti-slop/shared/dictionary-types.ts157function isEffectivelyEmptyTypeLiteral(type: ESTree.TSTypeLiteral): boolean {CODE
LOWweb/tools/oxlint/anti-slop/shared/dictionary-types.ts163function isEffectivelyEmptyInterface(CODE
LOWweb/tools/oxlint/anti-slop/shared/dictionary-types.ts176function resolvedSubstitutionArgument(CODE
LOWweb/tools/oxlint/anti-slop/shared/dictionary-types.ts372export function classifyUnsafeDictionaryValue(CODE
LOWweb/tools/oxlint/anti-slop/shared/dictionary-types.ts567export function isPopulatedObjectExpression(CODE
LOWweb/tools/oxlint/anti-slop/shared/dictionary-types.ts582export function isKnownEvidenceExpression(CODE
LOW…ols/oxlint/anti-slop/shared/lexical-type-parameters.ts14function collectInferTypeParameterNames(CODE
LOW…ols/oxlint/anti-slop/shared/lexical-type-parameters.ts36export function lexicalTypeParameterNames(CODE
LOW…b/tools/oxlint/anti-slop/rules/no-widen-then-assert.ts18function unwrapExpressionParentheses(CODE
LOW…b/tools/oxlint/anti-slop/rules/no-widen-then-assert.ts163function isDefinitelyNarrowerRecordType(type: ESTree.TSType): boolean {CODE
LOW…b/tools/oxlint/anti-slop/rules/no-widen-then-assert.ts195function resolvedVariableForIdentifier(CODE
LOW…s/oxlint/anti-slop/rules/no-chained-type-assertions.ts6function isTypeAssertionExpression(CODE
LOW…s/oxlint/anti-slop/rules/no-chained-type-assertions.ts12function unwrapParenthesizedExpression(CODE
LOW…s/oxlint/anti-slop/rules/no-chained-type-assertions.ts31function isOutermostAssertionInChain(node: TypeAssertionExpression): boolean {CODE
LOW…s/oxlint/anti-slop/rules/no-chained-type-assertions.ts46function isForbiddenAssertionChain(node: TypeAssertionExpression): boolean {CODE
16721 more matches not shown…
Decorative Section Separators1421 hits · 5295 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
MEDIUM…/components/buttons/link-button/LinkButton.stories.tsx14// ─── Anchor mode ────────────────────────────────────────────────────────────COMMENT
MEDIUM…/components/buttons/link-button/LinkButton.stories.tsx44// ─── Button mode ────────────────────────────────────────────────────────────COMMENT
MEDIUM…/components/buttons/link-button/LinkButton.stories.tsx54// ─── Disabled ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…/components/buttons/link-button/LinkButton.stories.tsx76// ─── Tooltip ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…/components/buttons/link-button/LinkButton.stories.tsx105// ─── Inline in prose ────────────────────────────────────────────────────────COMMENT
MEDIUMweb/lib/opal/src/components/cards/card/Card.stories.tsx114// ─── Expandable mode ─────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx76// ─── DisplayNameField ────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx102// ─── APIKeyField ─────────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx140// ─── APIBaseField ───────────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx199// ─── ModelsAccessField ──────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx440// ─── RefetchButton ──────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx485// ─── ModelsField ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx489// ─── Model metadata helpers (Nebius TokenFactory picker) ────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/shared.tsx998// ─── ModalWrapper ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts23// ─── useInitialValues ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts74// ─── buildValidationSchema ────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts126// ─── Form value types ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts170// ─── mergeFetchedModelConfigurations ──────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/utils.ts219// ─── 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.ts257 // ── Post-success ────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/CustomModal.tsx51// ─── Model Configuration List ─────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/CustomModal.tsx221// ─── Provider Name Select ─────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/sections/modals/languageModels/CustomModal.tsx251// ─── Custom Config Processing ─────────────────────────────────────────────────COMMENT
MEDIUM…rc/app/craft/v1/apps/admin/ActionPolicyEditorModal.tsx267// ── Policy editor ──────────────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/packetTypes.ts18// ─── Raw Packet Field Access ─────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/packetTypes.ts64// ─── 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.ts686 // ── Command (freeform → sanitizePathsInText) ──────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts693 // ── Description ───────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts703 // ── Output (freeform → sanitizePathsInText) ───────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts707 // ── Title ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts710 // ── Status ────────────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts713 // ── Todo-specific ─────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts716 // ── Task-specific ─────────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts721 // ── Skill detection ───────────────────────────────────────────COMMENT
MEDIUM⚡web/src/app/craft/utils/parsePacket.ts728 // ── Subagent routing (from ACP _meta) ─────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts132// ─── Skill Detection ──────────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts177// ─── Tool Name Resolution ─────────────────────────────────────────COMMENT
MEDIUMweb/src/app/craft/utils/parsePacket.ts267// ─── Shared Helpers ───────────────────────────────────────────────COMMENT
1361 more matches not shown…
Excessive Try-Catch Wrapping1633 hits · 1777 pts
SeverityFileLineSnippetContext
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.py225 except Exception as exc:CODE
LOWtools/loadtest/scenarios/health_probe.py75 except Exception as exc:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py112 except Exception:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py251 except Exception:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py265 except Exception as e:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py312 except Exception:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py343 except Exception as e:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py452 except Exception as e:CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py629 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.py136 except Exception:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py276 except Exception:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py312 except Exception as e:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py404 except Exception:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py433 except Exception as e:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py581 except Exception:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py708 except Exception as e:CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py817 except Exception as e: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.py72 except Exception as e:CODE
LOW…x/external_permissions/microsoft_utils/entra_groups.py89 except Exception as e:CODE
LOW…x/external_permissions/microsoft_utils/entra_groups.py106 except Exception as e:CODE
LOW…x/external_permissions/microsoft_utils/entra_groups.py125 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/jira/group_sync.py102 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/github/doc_sync.py62 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/github/doc_sync.py78 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/github/doc_sync.py132 except Exception as e:CODE
LOWbackend/ee/onyx/external_permissions/github/utils.py63 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.py73 except Exception as e:CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py108 except Exception:CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py131 except Exception as e:CODE
1573 more matches not shown…
Fake / Example Data2263 hits · 1599 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.ts33 confluence_access_token: "placeholder",CODE
LOW…e/admin/connector/credentialed_connector_setup.spec.ts98 confluence_access_token: "placeholder",CODE
LOW…e/admin/connector/credentialed_connector_setup.spec.ts99 confluence_refresh_token: "placeholder",CODE
LOWweb/lib/opal/src/components/dropdown/types.ts169 | "placeholder"CODE
LOW…src/components/inputs/input-list/InputList.stories.tsx40 "admin@example.com",CODE
LOW…src/components/inputs/input-list/InputList.stories.tsx41 "user@example.com",CODE
LOWweb/lib/opal/src/components/inputs/dropdowns/types.ts56 "onChange" | "value" | "placeholder" | "readOnly"CODE
LOW…b/lib/opal/src/layouts/inputs/InputLayouts.stories.tsx47 <MockInput placeholder="Acme Corp" />CODE
LOW…b/lib/opal/src/layouts/inputs/InputLayouts.stories.tsx62 <MockInput placeholder="Acme Corp" />CODE
LOW…b/lib/opal/src/layouts/inputs/InputLayouts.stories.tsx174 <MockInput placeholder="Jane Doe" />CODE
LOW…/sections/oauth-provider/OAuthProviderConsent.test.tsx14 account_email: "user@example.com",CODE
LOW…pp/craft/v1/apps/admin/ConfigureProviderModal.test.tsx355 author_email: "admin@example.com",CODE
LOW…pp/craft/v1/apps/admin/ConfigureProviderModal.test.tsx356 owner: { id: "admin-id", email: "admin@example.com" },CODE
LOW…/app/craft/v1/apps/admin/CreateCustomAppModal.test.tsx209 author_email: "admin@example.com",CODE
LOW…/app/craft/v1/apps/admin/CreateCustomAppModal.test.tsx210 owner: { id: "admin-id", email: "admin@example.com" },CODE
LOW…app/craft/components/approvals/PayloadView.stories.tsx77 company: "Acme Corp",CODE
LOWweb/src/refresh-components/Chip.stories.tsx22 children: "John Doe",CODE
LOWweb/src/refresh-components/form/FormField.stories.tsx33 <InputTypeIn placeholder="Jane Doe" />CODE
LOWweb/src/refresh-components/buttons/Tag.stories.tsx85 label="John Doe"CODE
LOW…esh-components/texts/ExpandableTextDisplay.stories.tsx30 `Line ${i + 1}: Lorem ipsum dolor sit amet, consectetur adipiscing elit.`CODE
LOW…esh-components/texts/ExpandableTextDisplay.stories.tsx30 `Line ${i + 1}: Lorem ipsum dolor sit amet, consectetur adipiscing elit.`CODE
LOW…/lib/languageModels/components/SimpleModelSelector.tsx210 placeholder={t("placeholder")}CODE
LOWweb/src/lib/auth/components.test.tsx257 "user@example.com"CODE
LOWweb/src/lib/skills/__fixtures__/picker.ts90 owner: "admin@example.com",CODE
LOW⚡web/src/i18n/messages/zh.json3943 "placeholder": "描述该文档集代表的内容"CODE
LOW⚡web/src/i18n/messages/zh.json3947 "placeholder": "搜索联合连接器…"CODE
LOW⚡web/src/i18n/messages/zh.json3951 "placeholder": "文档集的名称",CODE
LOW⚡web/src/i18n/messages/zh.json7620 "placeholder": "客户端 ID"CODE
LOW⚡web/src/i18n/messages/zh.json7625 "placeholder": "客户端密钥"CODE
LOW⚡web/src/i18n/messages/zh.json7634 "placeholder": "添加作用域(例如 openid)"CODE
LOW⚡web/src/i18n/messages/zh.json7727 "placeholder": "IT 工单"CODE
LOW⚡web/src/i18n/messages/zh.json7731 "placeholder": "使用 Markdown 编写的答案。示例:如需 IT 团队的帮助,请发送邮件至 internalsupport@company.com"CODE
LOW⚡web/src/i18n/messages/zh.json7735 "placeholder": "工单 问题 故障"CODE
LOW⚡web/src/i18n/messages/zh.json7739 "placeholder": "输入类别并按 Enter…"CODE
LOW⚡web/src/i18n/messages/zh.json7982 "placeholder": "聊天页脚内容"CODE
LOW⚡web/src/i18n/messages/zh.json7985 "placeholder": "聊天页眉内容"CODE
LOW⚡web/src/i18n/messages/zh.json7988 "placeholder": "欢迎使用 Acme Chat"CODE
LOW⚡web/src/i18n/messages/zh.json10313 "placeholder": "今天 {appName} 能为您做些什么"CODE
LOW⚡web/src/i18n/messages/zh.json10323 "placeholder": "输入您的 API 密钥"CODE
LOW⚡web/src/i18n/messages/zh.json10333 "placeholder": "输入您的 {field}"CODE
LOW⚡web/src/i18n/messages/zh.json13670 "placeholder": "选择有效期",CODE
LOW⚡web/src/i18n/messages/zh.json13674 "placeholder": "为 token 命名",CODE
LOW⚡web/src/i18n/messages/zh.json13682 "placeholder": "选择权限",CODE
LOW⚡web/src/i18n/messages/zh.json13950 "placeholder": "描述您希望系统如何表现,以及应使用的语气。",CODE
LOW⚡web/src/i18n/messages/zh.json13956 "placeholder": "您的姓名",CODE
LOW⚡web/src/i18n/messages/zh.json13966 "placeholder": "您的职位",CODE
LOWweb/src/i18n/messages/zh.json140 "placeholder": "关于该 MCP 服务器的更多详情",CODE
LOWweb/src/i18n/messages/zh.json155 "placeholder": "为 MCP 服务器命名",CODE
LOWweb/src/i18n/messages/zh.json199 "placeholder": "在此输入您的 OpenAPI 架构",CODE
LOWweb/src/i18n/messages/zh.json314 "placeholder": "选择方式",CODE
LOWweb/src/i18n/messages/zh.json372 "placeholder": "选择模式"CODE
LOWweb/src/i18n/messages/zh.json384 "placeholder": "组织共享的 API 密钥"CODE
2203 more matches not shown…
Empty Error Handlers203 hits · 1015 pts
SeverityFileLineSnippetContext
HIGH.agents/hooks/pre_commit_on_stop.py100except (subprocess.CalledProcessError, KeyError):CODE
HIGHbackend/ee/onyx/server/license/api.py179except 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.py598except OSError:CODE
HIGH…ckend/tests/external_dependency_unit/craft/conftest.py75except Exception:CODE
HIGH…ckend/tests/external_dependency_unit/craft/conftest.py287except 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.py113except 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.py93except KvKeyNotFoundError:CODE
HIGH…ency_unit/slack_bot/test_slack_bot_federated_search.py80except 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.py383except Exception:CODE
HIGH…external_dependency_unit/db/test_index_reclaim_task.py432except 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.py93except Exception:CODE
HIGH…/tests/unit/onyx/connectors/web/test_slim_retrieval.py252except RuntimeError:CODE
HIGH…unit/onyx/connectors/sharepoint/test_drive_matching.py326except StopIteration:CODE
HIGH…unit/onyx/connectors/sharepoint/test_drive_matching.py663except StopIteration: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.py145except 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
HIGHbackend/tests/unit/onyx/db/engine/test_postgres_ssl.py265except ssl.SSLWantReadError:CODE
HIGHbackend/tests/integration/conftest.py289except ProcessLookupError:CODE
HIGHbackend/tests/integration/conftest.py297except ProcessLookupError:CODE
HIGH…ests/integration/common_utils/managers/reindex_port.py156except ValueError:CODE
HIGHbackend/tests/integration/tests/craft/conftest.py124except Exception:CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py446except Exception:CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py450except Exception:CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py577except Exception:CODE
143 more matches not shown…
Self-Referential Comments272 hits · 838 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.py49# Defining the input/output types for the sync functionsCOMMENT
MEDIUM…ernal_permissions/google_drive/permission_retrieval.py30 # Create a set for faster lookupCOMMENT
MEDIUMbackend/ee/onyx/server/tenants/provisioning.py219 # Create the schema for the tenantCOMMENT
MEDIUM…onnectors/google_drive/test_google_drive_group_sync.py443 # Create a large group with many usersCOMMENT
MEDIUM…rnal_dependency_unit/tools/test_oauth_token_manager.py52 # Create a non-expired tokenCOMMENT
MEDIUM…rnal_dependency_unit/tools/test_oauth_token_manager.py102 # Create an expired tokenCOMMENT
MEDIUM…rnal_dependency_unit/tools/test_oauth_token_manager.py140 # Create an expired token without refresh_tokenCOMMENT
MEDIUM…rnal_dependency_unit/tools/test_oauth_token_manager.py162 # Create an expired tokenCOMMENT
MEDIUM…sts/external_dependency_unit/tools/test_python_tool.py250# # Create a CSV fileCOMMENT
MEDIUM…sts/external_dependency_unit/tools/test_python_tool.py562# # Create a mapping of filename to generated file for easier verificationCOMMENT
MEDIUM…sts/external_dependency_unit/tools/test_python_tool.py586# # Create a client that will failCOMMENT
MEDIUM…sts/external_dependency_unit/tools/test_python_tool.py806# # Create a visualizationCOMMENT
MEDIUM…ests/external_dependency_unit/llm/test_llm_provider.py561 # Create a provider and set it as defaultCOMMENT
MEDIUM…nal_dependency_unit/llm/test_llm_provider_auto_mode.py118 # Define the expected models from the mock GitHub configCOMMENT
MEDIUM…nal_dependency_unit/llm/test_llm_provider_auto_mode.py123 # Create the mock LLMRecommendationsCOMMENT
MEDIUM…ts/external_dependency_unit/llm/test_prompt_caching.py177 # Create a long context message to ensure caching threshold is met (>1024 tokens)COMMENT
MEDIUM…ts/external_dependency_unit/llm/test_prompt_caching.py303 # Create a long context message.COMMENT
MEDIUM…ts/external_dependency_unit/llm/test_prompt_caching.py625 # Create a long system message and contextCOMMENT
MEDIUM…ts/external_dependency_unit/llm/test_prompt_caching.py740 # Create a long contextCOMMENT
MEDIUM…al_dependency_unit/craft/test_streaming_persistence.py481 # Create a user message firstCOMMENT
MEDIUM…ndency_unit/answer/test_stream_chat_message_objects.py64 # Create a test userCOMMENT
MEDIUM…ndency_unit/answer/test_stream_chat_message_objects.py67 # Create a test persona explicitly WITHOUT any tools (including web search)COMMENT
MEDIUM…ndency_unit/answer/test_stream_chat_message_objects.py85 # Create a chat session with our test personaCOMMENT
MEDIUM…ndency_unit/answer/test_stream_chat_message_objects.py92 # Create the chat message request with a query that attempts to force web searchCOMMENT
MEDIUM…l_dependency_unit/opensearch/test_opensearch_client.py1106 # Create a document to update.COMMENT
MEDIUM…l_dependency_unit/opensearch/test_opensearch_client.py1309 # Create a single document; the rest of the update targets won't exist.COMMENT
MEDIUM…on_sync/test_external_group_permission_sync_attempt.py290 # Create a cc_pair specific attemptCOMMENT
MEDIUM…on_sync/test_external_group_permission_sync_attempt.py518 # 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.py844 # Create a persona (using same fields as _create_test_persona_with_slack_config)COMMENT
MEDIUM…ency_unit/slack_bot/test_slack_bot_federated_search.py854 # 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.py260 # 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.py646 # Create a new mock for successful retrieval after retryCOMMENT
MEDIUM⚡…it/onyx/connectors/github/test_github_checkpointing.py650 # Create an iterator that will yield the remaining PRCOMMENT
MEDIUM⚡…it/onyx/connectors/github/test_github_checkpointing.py654 # Create a mock for the _Slice object that will be returned by pag_list[prev_num_objs:]COMMENT
MEDIUM…it/onyx/connectors/github/test_github_checkpointing.py516 # Create a mock paginated list that will raise the 422 error on get_pageCOMMENT
MEDIUM…it/onyx/connectors/github/test_github_checkpointing.py528 # Create a new mock for cursor-based paginationCOMMENT
MEDIUM…it/onyx/connectors/github/test_github_checkpointing.py578 # Create a checkpoint that was using cursor-based paginationCOMMENT
MEDIUM…it/onyx/connectors/github/test_github_checkpointing.py630 # 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.py285 # 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
212 more matches not shown…
Deep Nesting646 hits · 572 pts
SeverityFileLineSnippetContext
LOWtools/ods/internal/openapi/openapi_schema.py81CODE
LOWtools/loadtest/mock_llm/app.py229CODE
LOWtools/loadtest/mock_llm/app.py108CODE
LOWtools/loadtest/onyx_client/stream_parser.py63CODE
LOWtools/loadtest/onyx_client/chat_user.py176CODE
LOWtools/loadtest/scenarios/health_probe.py53CODE
LOW.agents/feature-map/check_feature_map.py140CODE
LOW.agents/feature-map/stale_docs.py52CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py177CODE
LOW…ackground/celery/tasks/external_group_syncing/tasks.py517CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py219CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py457CODE
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py749CODE
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…x/external_permissions/microsoft_utils/entra_groups.py137CODE
LOW…x/external_permissions/microsoft_utils/entra_groups.py149CODE
LOW…ckend/ee/onyx/external_permissions/jira/page_access.py321CODE
LOWbackend/ee/onyx/external_permissions/github/doc_sync.py33CODE
LOW…ee/onyx/external_permissions/confluence/page_access.py16CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py159CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py230CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py369CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py584CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py165CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py380CODE
LOW…yx/external_permissions/sharepoint/permission_utils.py592CODE
LOW…ckend/ee/onyx/external_permissions/slack/group_sync.py31CODE
LOWbackend/ee/onyx/external_permissions/slack/doc_sync.py86CODE
LOWbackend/ee/onyx/external_permissions/slack/doc_sync.py190CODE
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.py187CODE
LOW…e/onyx/external_permissions/google_drive/group_sync.py231CODE
LOW…e/onyx/external_permissions/google_drive/group_sync.py427CODE
LOW…/ee/onyx/external_permissions/google_drive/doc_sync.py103CODE
LOW…/ee/onyx/external_permissions/google_drive/doc_sync.py283CODE
LOW…/ee/onyx/external_permissions/google_drive/doc_sync.py376CODE
LOWbackend/ee/onyx/server/seeding.py78CODE
LOWbackend/ee/onyx/server/seeding.py205CODE
LOW…ckend/ee/onyx/server/middleware/license_enforcement.py90CODE
LOW…ckend/ee/onyx/server/middleware/license_enforcement.py96CODE
LOWbackend/ee/onyx/server/middleware/tenant_tracking.py135CODE
LOWbackend/ee/onyx/server/settings/api.py31CODE
LOWbackend/ee/onyx/server/scim/patch.py201CODE
LOWbackend/ee/onyx/server/scim/patch.py297CODE
LOWbackend/ee/onyx/server/scim/patch.py337CODE
LOWbackend/ee/onyx/server/scim/patch.py380CODE
LOW…nd/ee/onyx/server/reporting/usage_export_generation.py275CODE
LOWbackend/ee/onyx/server/log_export/api.py135CODE
LOWbackend/ee/onyx/server/log_export/storage.py207CODE
LOWbackend/ee/onyx/server/oauth/api.py41CODE
LOWbackend/ee/onyx/server/tenants/provisioning.py94CODE
LOWbackend/ee/onyx/server/tenants/provisioning.py265CODE
LOWbackend/ee/onyx/server/billing/api.py283CODE
586 more matches not shown…
Cross-File Repetition107 hits · 535 pts
SeverityFileLineSnippetContext
HIGH…ackground/celery/tasks/external_group_syncing/tasks.py0compute the expiration time for the fence validation block signal. base expiration is 60 seconds, multiplied by the beatSTRING
HIGH…ackground/celery/tasks/doc_permission_syncing/tasks.py0compute the expiration time for the fence validation block signal. base expiration is 60 seconds, multiplied by the beatSTRING
HIGHbackend/onyx/background/celery/tasks/pruning/tasks.py0compute the expiration time for the fence validation block signal. base expiration is 60 seconds, multiplied by the beatSTRING
HIGH…nd/onyx/background/celery/tasks/docprocessing/tasks.py0compute the expiration time for the fence validation block signal. base expiration is 60 seconds, multiplied by the beatSTRING
HIGH…ackground/celery/tasks/external_group_syncing/tasks.py0checks for the error condition where an indexing fence is set but the associated celery tasks don't exist. this can happSTRING
HIGH…ackground/celery/tasks/doc_permission_syncing/tasks.py0checks for the error condition where an indexing fence is set but the associated celery tasks don't exist. this can happSTRING
HIGH…yx/background/celery/tasks/connector_deletion/tasks.py0checks for the error condition where an indexing fence is set but the associated celery tasks don't exist. this can happSTRING
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
47 more matches not shown…
Unused Imports533 hits · 511 pts
SeverityFileLineSnippetContext
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/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/mock_llm/models.py8CODE
LOWtools/loadtest/mock_llm/app.py56CODE
LOWtools/loadtest/onyx_client/stream_parser.py12CODE
LOWtools/loadtest/onyx_client/env.py3CODE
LOWtools/loadtest/onyx_client/messages.py6CODE
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_messages.py8CODE
LOWtools/loadtest/scenarios/long_conversation.py6CODE
LOWtools/loadtest/scenarios/chat_with_search.py13CODE
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/dotenv_launch.py20CODE
LOWbackend/ee/onyx/external_permissions/perm_sync_types.py5CODE
LOWbackend/ee/onyx/external_permissions/perm_sync_types.py5CODE
LOWbackend/ee/onyx/external_permissions/sync_params.py40CODE
LOWbackend/ee/onyx/external_permissions/sync_params.py41CODE
LOWbackend/ee/onyx/external_permissions/sync_params.py41CODE
LOWbackend/ee/onyx/external_permissions/sync_params.py42CODE
LOWbackend/ee/onyx/external_permissions/sync_params.py43CODE
LOWbackend/ee/onyx/external_permissions/sync_params.py44CODE
LOWbackend/ee/onyx/server/scim/patch.py15CODE
LOWbackend/ee/onyx/server/scim/filtering.py24CODE
LOWbackend/ee/onyx/server/scim/api.py12CODE
473 more matches not shown…
Cross-Language Confusion73 hits · 422 pts
SeverityFileLineSnippetContext
HIGHtools/loadtest/mock_llm/app.py330 # its tool_calls entries), but finish_reason is always present (null).COMMENT
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.py68 # 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…/tests/unit/onyx/chat/test_argument_delta_streaming.py621 """Non-string values (numbers, booleans, null) are skipped — they areSTRING
HIGH⚡…sts/unit/onyx/server/features/craft/test_nextjs_dev.py87 "${ONYX_WEBAPP_PORT:-$(cat ../../.nextjs-port 2>/dev/null || echo 3000)}"CODE
HIGH⚡…sts/unit/onyx/server/features/craft/test_nextjs_dev.py118 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.py262 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.py946 f" kill $pid 2>/dev/null; "CODE
HIGH⚡…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py947 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.py948 f" kill -9 $pid 2>/dev/null; "CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py223 f"base64 {shlex.quote(self._abs_posix)} 2>/dev/null || echo __MISSING__"CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py238 f"find {shlex.quote(self._abs_posix)} -mindepth 1 2>/dev/null || true"CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py476 "-mindepth 1 -delete 2>/dev/null; true",CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py488 "find /workspace/sessions -mindepth 1 -delete 2>/dev/null; true",CODE
HIGH…kend/tests/integration/tests/craft/k8s/k8s_fixtures.py775 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…/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.py353 # Terminal events may carry "output": null, which upstream iterates.COMMENT
HIGHbackend/onyx/chat/tool_call_args_streaming.py42 NOTE: Non-string arguments (numbers, booleans, null, arrays, objects)STRING
HIGH⚡backend/onyx/server/manage/llm/models.py312 # 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
HIGH⚡backend/onyx/hooks/models.py55 "fail_strategy cannot be null; omit the field to leave it unchanged."CODE
HIGH⚡backend/onyx/hooks/models.py59 "timeout_seconds cannot be null; omit the field to leave it unchanged."CODE
HIGHbackend/onyx/hooks/points/document_ingestion.py59 description="Sections of the document. Includes both text sections (text set, image_file_id null) and image sectCODE
HIGHbackend/onyx/prompts/federated_search.py652. If no date/time is mentioned, return {{"days_back": null}}CODE
13 more matches not shown…
Over-Commented Block443 hits · 388 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/deployfilessync/deployfilessync.go1// Package deployfilessync mirrors the deployment files that onyx-cli embedsCOMMENT
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_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.go101type alertPlan struct {COMMENT
LOWtools/loadtest/mock_llm/app.py181 (pos for pos in (head.find(mark) for mark in "?!.\n") if pos != -1),COMMENT
LOWtools/loadtest/onyx_client/messages.py1"""The question corpus that search scenarios draw from.COMMENT
LOWtools/loadtest/k8s/locust.yaml1# Locust master + workers for the Onyx chat load tests, using the harnessCOMMENT
LOWtools/loadtest/k8s/locust.yaml141# applyable on clusters without the operator.COMMENT
LOW.zed/debug.json1// Zed port of .vscode/launch.jsonCOMMENT
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
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/ChatPanel.tsx501 // Pre-provisioned session flow: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 // The `AppInputBar` has `shadow-box-01` applied, which extends ~14px below it.COMMENT
LOWweb/src/lib/connectors/checks/constants.ts1// NOTE(@raunakab): This behaviour is up for debate. Therefore, keeping it as aCOMMENT
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.tsx121export interface ChatPageProps {COMMENT
LOW…ConnectorDetailPage/ExternalGroupSyncAttemptsTable.tsx41 timeStarted: string;COMMENT
LOW…onnectorPage/sections/AuthenticationAccountSection.tsx161 padding={0}COMMENT
LOW.agents/skills/sync-vendored-skills.sh1#!/usr/bin/env bashCOMMENT
LOWdesktop/src-tauri/src/main.rs21COMMENT
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
LOW…al_dependency_unit/tools/test_image_generation_tool.py1# TODO re-enable this testCOMMENT
LOW…al_dependency_unit/tools/test_image_generation_tool.py21# )COMMENT
LOW…al_dependency_unit/tools/test_image_generation_tool.py41# responses = []COMMENT
LOW…al_dependency_unit/tools/test_image_generation_tool.py61# assert final_response.id == IMAGE_GENERATION_RESPONSE_IDCOMMENT
LOW…al_dependency_unit/tools/test_image_generation_tool.py81# model="dall-e-3",COMMENT
LOW…al_dependency_unit/tools/test_image_generation_tool.py101# )COMMENT
LOW…al_dependency_unit/tools/test_image_generation_tool.py121# api_base=None,COMMENT
LOW…al_dependency_unit/tools/test_image_generation_tool.py141COMMENT
LOW…al_dependency_unit/tools/test_image_generation_tool.py161# id=IMAGE_GENERATION_RESPONSE_ID,COMMENT
383 more matches not shown…
Docstring Block Structure58 hits · 290 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.py518Get 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.py428Puts cluster settings. Args: settings: The settings to put. Raises: Exception:STRING
HIGHbackend/onyx/document_index/opensearch/client.py805Validates the index. Short-circuit returns False on the first mismatch. Logs the mismatch. See the OpeSTRING
HIGHbackend/onyx/document_index/opensearch/client.py923Gets the settings of the index. Args: include_defaults: Whether to include default settings which hSTRING
HIGHbackend/onyx/document_index/opensearch/client.py1218Deletes a document. Args: document_chunk_id: The OpenSearch ID of the document chunk to STRING
HIGHbackend/onyx/document_index/opensearch/client.py1276Deletes documents by a query. Args: query_body: The body of the query to delete documents by. STRING
HIGHbackend/onyx/document_index/opensearch/client.py1649Gets an OpenSearch document chunk. Will raise an exception if the document chunk is not found. Args: STRING
HIGHbackend/onyx/document_index/opensearch/client.py1695Searches the index. NOTE: Does not return vector fields. In order to take advantage of performance beneSTRING
HIGHbackend/onyx/document_index/opensearch/client.py1794Searches the index and returns only document chunk IDs. In order to take advantage of the performance benefits STRING
HIGHbackend/onyx/document_index/opensearch/client.py1887Opens 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.py1935Fetches 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.py2199Extracts 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.py61Get the channel type that requires a specific Slack scope. Args: scope: The Slack API scope (e.g., 'mpim:reSTRING
HIGHbackend/onyx/chat/llm_step.py814Run an LLM step and stream the response as packets. NOTE: DO NOT TOUCH THIS FUNCTION BEFORE ASKING YUHONG, this is vSTRING
HIGHbackend/onyx/chat/chat_utils.py188Create 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/features/default_assistant/api.py56Update the default assistant configuration. Args: update_request: Request with optional tool_ids and systemSTRING
HIGHbackend/onyx/server/manage/validate_tokens.py49 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.py485 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.py2119Update 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
Modern AI Meta-Vocabulary86 hits · 278 pts
SeverityFileLineSnippetContext
MEDIUMtools/loadtest/mock_llm/app.py198# turn then embeds ~260 characters of identical scaffolding plus ~40 charactersCOMMENT
MEDIUM.agents/feature-map/components/document-index.md367### 4.5 The embedding model and rerankerCOMMENT
MEDIUM⚡…ependency_unit/search_settings/test_search_settings.py520 # Create FUTURE settings with contextual RAG enabledCOMMENT
MEDIUM⚡…ependency_unit/search_settings/test_search_settings.py527 # PRESENT still has contextual RAG disabled, so default should be NoneCOMMENT
MEDIUM⚡…ependency_unit/search_settings/test_search_settings.py537 # Now PRESENT has contextual RAG enabled, default should matchCOMMENT
MEDIUM…ependency_unit/search_settings/test_search_settings.py466 # PRESENT still has contextual RAG disabled, so default should be NoneCOMMENT
MEDIUM…ependency_unit/search_settings/test_search_settings.py476 # Now PRESENT has contextual RAG enabled, default should matchCOMMENT
MEDIUM…ependency_unit/search_settings/test_search_settings.py612 # 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.py305 # 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…sts/unit/onyx/server/features/craft/test_nextjs_dev.py280 # 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
MEDIUM…nyx/server/manage/llm/test_vercel_ai_gateway_models.py24# model, an embedding model (dropped), a media model (dropped), and an id-lessCOMMENT
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.py234# ensure_fresh_credentials orchestration (own short sessions, single-flight)COMMENT
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.py628 # NOTE: _run_indexing doesn't update connectors if the index attempt is the future embedding modelCOMMENT
MEDIUM…nd/onyx/background/celery/tasks/docprocessing/utils.py286 # 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/models.py174 # agentic additions; only need to set during agentic tool callsCOMMENT
MEDIUMbackend/onyx/tools/tool_constructor.py69 # project's/persona's user files didn't fit in the LLM context window andCOMMENT
MEDIUM⚡backend/onyx/llm/model_capabilities.py70 # user to specify their desired max context window, and it's unlikelyCOMMENT
MEDIUMbackend/onyx/llm/model_catalog.py369 # An output limit at or above the context window is a pool-maxCOMMENT
MEDIUMbackend/onyx/llm/utils.py229 # for each chunk, we prompt the LLM with the contextual RAG promptCOMMENT
MEDIUMbackend/onyx/context/search/models.py133 # context window and must be searched via vector DB instead of being loadedCOMMENT
MEDIUMbackend/onyx/chat/process_message.py378 # 60% of the LLM's max context window. The other benefit is that for projects withCOMMENT
MEDIUMbackend/onyx/chat/process_message.py896 # Use the smallest context window across models for safety (harmless for N=1).COMMENT
MEDIUMbackend/onyx/chat/chat_utils.py474 # Drop any single message that would dominate the context window.COMMENT
MEDIUMbackend/onyx/server/metrics/postgres_connection_pool.py39# --- Pool lifecycle counters (event-driven) ---COMMENT
MEDIUMbackend/onyx/server/metrics/postgres_connection_pool.py71# --- Per-endpoint attribution (event-driven) ---COMMENT
MEDIUMbackend/onyx/server/settings/models.py139 # False when DISABLE_VECTOR_DB is set — connectors, RAG search, andCOMMENT
MEDIUMbackend/onyx/server/features/search/api.py138 # Since the agentic search flow requires multiple LLM callsCOMMENT
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.py128 # Disallow contextual RAG for cloud deployments.COMMENT
MEDIUMbackend/onyx/server/manage/search_settings.py726 # 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
MEDIUM…/onyx/natural_language_processing/search_nlp_models.py1287 # 2. we are using an API-based embedding model (provider_type is notCOMMENT
MEDIUMbackend/onyx/configs/chat_configs.py38# Same backstop for contextual-RAG doc/chunk summaries. These are short,COMMENT
MEDIUMbackend/onyx/configs/chat_configs.py107# 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.py1509# When swapping to a new embedding model, a secondary index is created in the background, to conserveCOMMENT
MEDIUMbackend/onyx/configs/app_configs.py1546# Enable multi-threaded embedding model calls for parallel processingCOMMENT
MEDIUM⚡backend/onyx/db/models.py2333 # Contextual RAGCOMMENT
MEDIUM⚡backend/onyx/db/models.py2336 # Contextual RAG LLM — FK to model_configuration (replaces deprecated string columns)COMMENT
MEDIUMbackend/onyx/db/swap_index.py88 # Expire jobs for the now past index/embedding modelCOMMENT
26 more matches not shown…
Redundant / Tautological Comments181 hits · 275 pts
SeverityFileLineSnippetContext
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.py585 # Check if the task has exceeded its timeoutCOMMENT
LOW…ackground/celery/tasks/doc_permission_syncing/tasks.py1056 # Check if the task has exceeded its timeoutCOMMENT
LOW…e/onyx/external_permissions/google_drive/group_sync.py114 # 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…ndency_unit/answer/test_stream_chat_message_objects.py41 # Check if this is a call to the embedding endpointCOMMENT
LOW…ndency_unit/answer/test_stream_chat_message_objects.py123 # Check if we got MessageResponseIDInfo packet (indicating message was created)COMMENT
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.py441 # Check if the taskset still exists in Redis without reading its size.COMMENT
LOWbackend/onyx/background/celery/tasks/pruning/tasks.py875 # Check if the taskset still exists in Redis without reading its size.COMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py231 # Check if this attempt has been updated with heartbeat trackingCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py243 # Check if the heartbeat counter has advanced since last checkCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py449 # Check if the CC Pair should be moved to INITIAL_INDEXINGCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py552 # Check if indexing is complete and all batches are processedCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/tasks.py1882 # Check if chunk indexing usage limit has been exceeded before processing.COMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/utils.py61 # Check if the associated indexing attempt has been cancelledCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/utils.py66 # Check if the task has exceeded its timeoutCOMMENT
LOW…nd/onyx/background/celery/tasks/docprocessing/utils.py136 # Check if the associated indexing attempt has been cancelledCOMMENT
LOWbackend/onyx/background/celery/apps/primary.py222 # Check if the Celery task actually existsCOMMENT
LOWbackend/onyx/background/indexing/run_docfetching.py798 # 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.py91 # Check if EE is enabledCOMMENT
LOWbackend/onyx/connectors/github/connector.py1425 # Check if we can access any reposCOMMENT
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
LOW⚡backend/onyx/connectors/teams/connector.py216 # 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.py175 # Check if fields is a list when presentCOMMENT
LOWbackend/onyx/connectors/salesforce/connector.py183 # Check if associations is a dict when presentCOMMENT
LOWbackend/onyx/connectors/slack/connector.py1182 # Set oldest to the checkpoint timestamp to resume from where we left offCOMMENT
121 more matches not shown…
Structural Annotation Overuse171 hits · 244 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⚡…src/sections/actions/modals/MCPAuthenticationModal.tsx450 // Step 1: Save the authentication configuration to the MCP serverCOMMENT
LOW⚡…src/sections/actions/modals/MCPAuthenticationModal.tsx460 // Step 2: Update status to AWAITING_AUTH after successful config saveCOMMENT
LOW⚡…src/sections/actions/modals/MCPAuthenticationModal.tsx468 // Step 3: For OAuth, initiate the OAuth flowCOMMENT
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.ts417 * // Step 1: Map keys → GroupedPacket (parse key, lookup packets)COMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts425 * // Step 2: Filter (hasContentPackets check)COMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts433 * // 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.md37## Step 3: Read the componentsCOMMENT
LOW.agents/feature-map/VERIFYING.md50## Step 4: Check the invariantsCOMMENT
LOW.agents/feature-map/VERIFYING.md61## Step 5: Walk the blast radiusCOMMENT
LOW.agents/feature-map/VERIFYING.md76## Step 6: Gather evidenceCOMMENT
LOW.agents/feature-map/VERIFYING.md92## Step 7: Read the footgunsCOMMENT
LOW.agents/feature-map/VERIFYING.md97## Step 8: Check the repo-wide rulesCOMMENT
LOW.agents/feature-map/VERIFYING.md113## Step 9: ReportCOMMENT
LOW⚡…ests/external_dependency_unit/llm/test_llm_provider.py498 # Step 7: Change the default provider to provider 2COMMENT
LOW⚡…ests/external_dependency_unit/llm/test_llm_provider.py501 # 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.py427 # Step 2: Call run_test_default_provider - should use provider 1's default modelCOMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py438 # Step 3: Create provider 2 (not default)COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py457 # Step 4: Call run_test_default_provider - should still use provider 1COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py468 # Step 5: Update provider 1's default modelCOMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py487 # Step 6: Call run_test_default_provider - should use new model on provider 1COMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py172 # Step 4: Set the provider as defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py175 # Step 5: Fetch the default provider and verifyCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py572 # Step 3: Verify provider 1 is still the defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py580 # Step 4: Change the default to provider 2COMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py587 # Step 5: Verify provider 2 is now the defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py595 # Step 6: Run test_default_provider and verify it uses provider 2's modelCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py152 # Step 3: Verify all models from the GitHub config are presentCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py312 # Step 1: Upload provider WITHOUT auto mode, with initial modelsCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py339 # Step 2: Update provider to enable auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py359 # Step 3: Verify model visibility after auto mode transitionCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py530 # Step 1: Create provider 1 (OpenAI) with auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py557 # Step 2: Create provider 2 (Anthropic) with auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py637 # Step 1: Create provider with no model configsCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py652 # Step 2: Run sync_auto_mode_models (simulating the periodic sync)COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py665 # Step 3: Every ModelConfiguration must have at least one LLMModelFlowCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py687 # Step 4: The provider must appear in fetch_existing_llm_providersCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py732 # Step 1: Create manual-mode provider and set as defaultCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py759 # Step 2: Transition to auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py779 # Step 3: Default should be preserved on this providerCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py820 # Step 1: Create in auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py849 # Step 2: Switch to manual modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py870 # Step 3: Models unchangedCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py918 # Step 1: Create with config v1COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py937 # Step 2: Re-sync with config v2COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py951 # Step 3: VerifyCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1102 # Step 2: Set gpt-4o as global defaultCOMMENT
111 more matches not shown…
Verbosity Indicators145 hits · 200 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⚡…src/sections/actions/modals/MCPAuthenticationModal.tsx450 // Step 1: Save the authentication configuration to the MCP serverCOMMENT
LOW⚡…src/sections/actions/modals/MCPAuthenticationModal.tsx460 // Step 2: Update status to AWAITING_AUTH after successful config saveCOMMENT
LOW⚡…src/sections/actions/modals/MCPAuthenticationModal.tsx468 // Step 3: For OAuth, initiate the OAuth flowCOMMENT
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.ts417 * // Step 1: Map keys → GroupedPacket (parse key, lookup packets)COMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts425 * // Step 2: Filter (hasContentPackets check)COMMENT
LOW⚡…ge/messageComponents/timeline/hooks/packetProcessor.ts433 * // 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.ts555 // 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.py498 # Step 7: Change the default provider to provider 2COMMENT
LOW⚡…ests/external_dependency_unit/llm/test_llm_provider.py501 # 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.py427 # Step 2: Call run_test_default_provider - should use provider 1's default modelCOMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py438 # Step 3: Create provider 2 (not default)COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py457 # Step 4: Call run_test_default_provider - should still use provider 1COMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py468 # Step 5: Update provider 1's default modelCOMMENT
LOW…ests/external_dependency_unit/llm/test_llm_provider.py487 # Step 6: Call run_test_default_provider - should use new model on provider 1COMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py172 # Step 4: Set the provider as defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py175 # Step 5: Fetch the default provider and verifyCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py572 # Step 3: Verify provider 1 is still the defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py580 # Step 4: Change the default to provider 2COMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py587 # Step 5: Verify provider 2 is now the defaultCOMMENT
LOW⚡…nal_dependency_unit/llm/test_llm_provider_auto_mode.py595 # Step 6: Run test_default_provider and verify it uses provider 2's modelCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py152 # Step 3: Verify all models from the GitHub config are presentCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py312 # Step 1: Upload provider WITHOUT auto mode, with initial modelsCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py339 # Step 2: Update provider to enable auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py359 # Step 3: Verify model visibility after auto mode transitionCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py530 # Step 1: Create provider 1 (OpenAI) with auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py557 # Step 2: Create provider 2 (Anthropic) with auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py637 # Step 1: Create provider with no model configsCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py652 # Step 2: Run sync_auto_mode_models (simulating the periodic sync)COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py665 # Step 3: Every ModelConfiguration must have at least one LLMModelFlowCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py687 # Step 4: The provider must appear in fetch_existing_llm_providersCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py732 # Step 1: Create manual-mode provider and set as defaultCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py759 # Step 2: Transition to auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py779 # Step 3: Default should be preserved on this providerCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py820 # Step 1: Create in auto modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py849 # Step 2: Switch to manual modeCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py870 # Step 3: Models unchangedCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py918 # Step 1: Create with config v1COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py937 # Step 2: Re-sync with config v2COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py951 # Step 3: VerifyCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1102 # Step 2: Set gpt-4o as global defaultCOMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1114 # Step 3: Re-sync with config v2 (gpt-4o removed)COMMENT
LOW…nal_dependency_unit/llm/test_llm_provider_auto_mode.py1128 # 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.py1477 # Step 2: Set provider 1 as the default providerCOMMENT
85 more matches not shown…
Modern Structural Boilerplate128 hits · 134 pts
SeverityFileLineSnippetContext
LOWtools/loadtest/locustfile.py27__all__ = [CODE
LOWtools/loadtest/scenarios/__init__.py11__all__ = [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.py215 def set_max_timeout(self, timeout: float = 5.0) -> None:CODE
LOWbackend/tests/external_dependency_unit/mock_llm.py292 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.py135def _set_onyx_server_url(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…/external_dependency_unit/auth/test_jwt_passthrough.py93 def set_key(self, key: _RSAKey) -> None:CODE
LOW…ency_unit/slack_bot/test_slack_bot_federated_search.py328 def _setup_embedding_mock(self, mock_get_query_embeddings: Mock) -> None:CODE
LOW…ency_unit/slack_bot/test_slack_bot_federated_search.py430 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…d/tests/unit/ee/onyx/server/features/hooks/test_api.py51def _set_level(monkeypatch: pytest.MonkeyPatch, level: SSRFProtectionLevel) -> None:CODE
LOW…nd/tests/unit/onyx/connectors/test_retry_after_caps.py54def _set_cloud(monkeypatch: pytest.MonkeyPatch, cloud: bool) -> None:CODE
LOW…x/connectors/github/test_github_failure_document_id.py37__all__ = [CODE
LOW…ectors/salesforce/test_salesforce_oauth_credentials.py77 def set_credentials(self, credential_json: dict[str, Any]) -> 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
LOWbackend/tests/integration/common_utils/http_client.py80def 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…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.py119def _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.py244def _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.py286def 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.py626def set_task_finished_log_level(logLevel: int) -> None:CODE
LOWbackend/onyx/background/celery/apps/app_base.py707 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
LOWbackend/onyx/connectors/interfaces.py240 def set_credentials(self, credential_json: dict[str, Any]) -> None:CODE
LOWbackend/onyx/connectors/credentials_provider.py92 def set_credentials(self, credential_json: dict[str, Any]) -> None:CODE
LOWbackend/onyx/connectors/credentials_provider.py174 def set_credentials(self, credential_json: dict[str, Any]) -> None:CODE
LOWbackend/onyx/connectors/box/connector.py254 def set_allow_images(self, value: bool) -> None:CODE
LOWbackend/onyx/connectors/drupal_wiki/connector.py141 def set_allow_images(self, value: bool) -> None:CODE
LOWbackend/onyx/connectors/capability_checks/draft_runs.py393def set_latest_draft_run(run: StoredDraftRun) -> None:CODE
LOWbackend/onyx/connectors/highspot/client.py92 def _setup_auth(self) -> None:CODE
LOWbackend/onyx/connectors/canvas/client.py13logger = logging.getLogger(__name__)CODE
LOWbackend/onyx/connectors/confluence/connector.py305 def set_allow_images(self, value: bool) -> None:CODE
LOWbackend/onyx/connectors/teams/listing.py72def _update_request_url(request: RequestOptions, next_url: str) -> None:CODE
LOW⚡backend/onyx/connectors/teams/connector.py205 def set_allow_images(self, value: bool) -> None:CODE
LOWbackend/onyx/connectors/salesforce/sqlite_functions.py301 def update_email_to_id_table(self, email: str, id: str | None) -> None:STRING
LOWbackend/onyx/connectors/salesforce/sqlite_functions.py794 def _update_user_email_map(cursor: sqlite3.Cursor) -> None:CODE
LOWbackend/onyx/connectors/salesforce/onyx_salesforce.py113 def _set_instance_urls(self) -> None:CODE
LOWbackend/onyx/connectors/gmail/connector.py600 def set_page_token(page_token: str | None) -> None:CODE
68 more matches not shown…
AI Slop Vocabulary53 hits · 123 pts
SeverityFileLineSnippetContext
MEDIUMtools/loadtest/k8s/locust.yaml1# Locust master + workers for the Onyx chat load tests, using the harnessCOMMENT
MEDIUM…tests/e2e/admin/connector/permission-sync-tabs.spec.ts323 // assertion stays robust if the truncated text changes.COMMENT
MEDIUM…src/app/app/message/messageComponents/AgentMessage.tsx62// TODO: Consider more robust comparisons:COMMENT
MEDIUM…src/app/app/message/messageComponents/AgentMessage.tsx64// 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.py119 # 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…ernal_dependency_unit/answer/stream_test_assertions.py48 # So just returnCOMMENT
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.py45# window keeps the structural assertion robust against scheduler jitter.COMMENT
MEDIUM…/ee/onyx/server/middleware/test_license_enforcement.py19# Type alias for the middleware harness tupleCOMMENT
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.py295 # attribution the coverage harness counts, so coverage claims stayCOMMENT
LOWbackend/onyx/connectors/confluence/source_operations.py662 # If it's not a method, just return it after ensuring token validityCOMMENT
MEDIUMbackend/onyx/connectors/slack/utils.py200 """Simply replaces all tags with `@<USER_ID>` in order to prevent us fromSTRING
LOWbackend/onyx/connectors/slack/connector.py607 # we'll just set and use the last filter reason ifCOMMENT
LOWbackend/onyx/connectors/slack/connector.py623 # we'll just set and use the last filter reason if we get an empty listCOMMENT
MEDIUM…document_index/opensearch/opensearch_document_index.py846 # TODO(andrei): Fix the aforementioned race condition.COMMENT
MEDIUM…/onyx/tools/tool_implementations/python/python_tool.py228 # 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.py115 # 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.py357 # Unknown PDF parsing failure — elevate just the message, not aCOMMENT
LOWbackend/onyx/file_processing/extract_file_text.py1011 # 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.py27 # should always be callable, will just return 401 if not authenticatedCOMMENT
LOWbackend/onyx/server/manage/llm/api.py505 # Therefore, instead of performing additional, more complex logic, we just use a dummy valueCOMMENT
LOWbackend/onyx/secondary_llm_flows/document_filter.py64 # 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.py2326 # If not specified, will just use the model_dim without any reduction.COMMENT
MEDIUMbackend/onyx/db/models.py3704 # 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
LOWbackend/onyx/deep_research/dr_loop.py313 # No citations in this step, it should just pass through allCOMMENT
LOWbackend/onyx/deep_research/dr_loop.py561 # No citations in this step, it should just pass through allCOMMENT
MEDIUMbackend/scripts/env_inventory.py433 # locals (e.g. `connector = ...` reused in a connector __main__ harness).COMMENT
MEDIUMbackend/scripts/coding_agent_test.py84 # with the research_agent test 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.yml340 # deployment. Here they match the harness's own defaults, against aCOMMENT
MEDIUM.github/workflows/pr-terraform-provider-tests.yml354 # An empty key would send the harness down its own bootstrap path,COMMENT
Hallucination Indicators9 hits · 105 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⚡…yx/connectors/google_drive/test_drive_access_probes.py67 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.py154 from azure.core.exceptions import HttpResponseError, ResourceExistsErrorCODE
CRITICALbackend/onyx/file_store/azure_blob_file_store.py331 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALbackend/onyx/file_store/azure_blob_file_store.py378 from azure.core.exceptions import ResourceNotFoundErrorCODE
AI Structural Patterns75 hits · 60 pts
SeverityFileLineSnippetContext
LOWbackend/tests/external_dependency_unit/mock_llm.py304CODE
LOWbackend/tests/external_dependency_unit/mock_llm.py318CODE
LOW…tests/external_dependency_unit/mock_search_pipeline.py138CODE
LOW…dency_unit/answer/test_deep_research_agent_failures.py107CODE
LOW…dency_unit/answer/test_deep_research_agent_failures.py121CODE
LOW…l_dependency_unit/opensearch/test_opensearch_client.py117CODE
LOW…external_dependency_unit/indexing/test_port_reembed.py70CODE
LOWbackend/tests/unit/sandbox_proxy/conftest.py100CODE
LOWbackend/tests/unit/ee/onyx/hooks/test_executor.py27CODE
LOW…kend/tests/unit/onyx/connectors/box/fake_box_client.py215CODE
LOWbackend/tests/unit/onyx/connectors/jira/conftest.py57CODE
LOW…/onyx/connectors/zendesk/test_zendesk_checkpointing.py78CODE
LOW…nnectors/sharepoint/test_load_checkpoint_resilience.py128CODE
LOW…onyx/connectors/sharepoint/test_delta_checkpointing.py221CODE
LOWbackend/tests/unit/onyx/tools/test_coding_agent_loop.py124CODE
LOWbackend/tests/unit/onyx/chat/test_citation_utils.py20CODE
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.py65CODE
LOW…ests/integration/common_utils/managers/llm_provider.py18CODE
LOW…ion/mock_services/mcp_test_server/run_mock_oidc_idp.py330CODE
LOWbackend/tests/common/craft/stubs.py532CODE
LOWbackend/onyx/connectors/capability_checks/runner.py443CODE
LOWbackend/onyx/connectors/capability_checks/models.py128CODE
LOWbackend/onyx/connectors/confluence/connector.py251CODE
LOWbackend/onyx/connectors/sharepoint/connector.py649CODE
LOWbackend/onyx/connectors/teams/connector.py139CODE
LOWbackend/onyx/connectors/zoom/connector.py178CODE
LOWbackend/onyx/connectors/slack/connector.py639CODE
LOWbackend/onyx/connectors/slack/connector.py843CODE
LOWbackend/onyx/connectors/google_drive/connector.py321CODE
LOWbackend/onyx/connectors/outlook/connector.py670CODE
LOWbackend/onyx/tracing/framework/create.py185CODE
LOWbackend/onyx/tracing/framework/span_data.py109CODE
LOWbackend/onyx/document_index/opensearch/client.py293CODE
LOWbackend/onyx/document_index/opensearch/client.py648CODE
LOW…ools/tool_implementations/open_url/onyx_web_crawler.py229CODE
LOWbackend/onyx/llm/multi_llm.py566CODE
LOWbackend/onyx/llm/multi_llm.py744CODE
LOWbackend/onyx/llm/multi_llm.py1368CODE
LOWbackend/onyx/llm/multi_llm.py1488CODE
LOWbackend/onyx/llm/factory.py406CODE
LOWbackend/onyx/context/search/federated/slack_search.py997CODE
LOWbackend/onyx/chat/llm_loop.py769CODE
LOWbackend/onyx/chat/llm_step.py793CODE
LOWbackend/onyx/chat/llm_step.py1312CODE
LOWbackend/onyx/redis/tenant_redis_client.py170CODE
LOWbackend/onyx/redis/tenant_redis_client.py1234CODE
LOWbackend/onyx/redis/redis_pool.py203CODE
LOWbackend/onyx/auth/users.py2905CODE
LOWbackend/onyx/file_store/file_store.py357CODE
LOWbackend/onyx/server/manage/models.py188CODE
LOWbackend/onyx/server/manage/users.py268CODE
LOWbackend/onyx/server/manage/administrative.py207CODE
LOWbackend/onyx/server/documents/models.py612CODE
LOWbackend/onyx/server/documents/credential.py257CODE
15 more matches not shown…
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
Dead Code8 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM…onnectors/google_drive/test_google_drive_group_sync.py418CODE
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…nnectors/sharepoint/test_load_checkpoint_resilience.py356CODE
MEDIUM…r/features/craft/test_webapp_proxy_header_stripping.py33CODE
MEDIUM…nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py614CODE
MEDIUMbackend/onyx/voice/providers/zoom.py481CODE
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.py83 # IMPORTANT: make sure to retain the same ordering as the original `chunks` passed inCOMMENT
LOW…end/onyx/connectors/google_drive/section_extraction.py197 # 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.py1216 # NOTE: if more sensitive data is added here for display, make sure to add user/group permissionCOMMENT
LOWbackend/onyx/db/models.py1910 # 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.py674 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py741 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py794 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…s/unit/onyx/server/features/mcp/test_mcp_oauth_flow.py216 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…it/onyx/server/features/mcp/test_mcp_oauth_provider.py368 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWbackend/tests/integration/common_utils/http_client.py44 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHwidget/src/widget.ts663 Responses are generated by AI and may be inaccurateCODE