AI Slop Code Risk Monitor

odysseus-dev/odysseus

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

Self-hosted AI workspace.

34.8 High pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for odysseus-dev/odysseus, a Python project with 94,838 GitHub stars. SynthScan examined 814,030 lines of code across 2780 source files, recording 19628 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 34.8 (High 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.

34.8
Adjusted Signal
34.8
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
94.8K
Stars
Python
Language
814.0K
Lines of Code
2.8K
Files
19.6K
Pattern Hits
2026-10-31
Scan Date
0.55
HC Hit Rate

Risk Review · Payload v1

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

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

Cognitive Ownership Risk 57.0/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 33.0/100 · MEDIUM

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

Agent Over-Engineering Ratio 71.8/100 · HIGH

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

PR Review Velocity Impact 83.6/100 · CRITICAL

Which changes need focused human review? 19628 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 2HIGH 1520MEDIUM 1076LOW 17030

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 19628 distinct pattern matches across 23 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 Identifiers12682 hits · 12513 pts
SeverityFileLineSnippetContext
LOWsetup.py55def _prompt_admin_credentials():CODE
LOW⚡app.py695async def session_not_found_handler(request: Request, exc: SessionNotFoundError):CODE
LOW⚡app.py699async def invalid_file_upload_handler(request: Request, exc: InvalidFileUploadError):CODE
LOW⚡app.py703async def llm_service_error_handler(request: Request, exc: LLMServiceError):CODE
LOWapp.py20def register_static_mime_types() -> None:CODE
LOWapp.py1166def _docker_default_gateway_ip() -> str:CODE
LOWcore/auth.py185 def _drop_reserved_loaded_users(self):CODE
LOWcore/auth.py210 def _migrate_legacy_admin_role(self):CODE
LOWcore/auth.py512 def totp_get_provisioning_uri(self, username: str, secret: str) -> str:CODE
LOW⚡core/models.py25def set_session_manager_instance(manager: "SessionManager"):CODE
LOW⚡core/models.py31def get_session_manager_instance() -> Optional["SessionManager"]:CODE
LOW⚡core/models.py41def _history_grants_chat_session_approval(CODE
LOW⚡core/platform_compat.py360def get_wsl_windows_user_profile() -> Optional[str]:CODE
LOWcore/platform_compat.py457def run_wsl_windows_powershell(CODE
LOW⚡core/database.py973def _migrate_add_memory_extraction_enabled_column():CODE
LOW⚡core/database.py995def _migrate_add_skill_injection_enabled_column():CODE
LOW⚡core/database.py1017def _migrate_add_memory_injection_enabled_column():CODE
LOW⚡core/database.py1039def _migrate_add_session_generation_settings_columns():CODE
LOW⚡core/database.py1087def _migrate_add_owner_column():CODE
LOW⚡core/database.py1134def _migrate_add_hidden_models_column():CODE
LOW⚡core/database.py1157def _migrate_add_model_endpoint_owner_column():CODE
LOW⚡core/database.py1189def _migrate_add_provider_auth_id_column():CODE
LOW⚡core/database.py1214def _migrate_add_model_type_column():CODE
LOW⚡core/database.py1237def _migrate_add_model_endpoint_refresh_columns():CODE
LOW⚡core/database.py1265def _migrate_add_task_run_model_column():CODE
LOW⚡core/database.py1288def _migrate_add_supports_tools_column():CODE
LOW⚡core/database.py1312def _migrate_add_model_tool_modes_column():CODE
LOW⚡core/database.py1336def _migrate_add_cached_models_column():CODE
LOW⚡core/database.py1358def _migrate_add_pinned_models_column():CODE
LOW⚡core/database.py1381def _migrate_add_notes_sort_order():CODE
LOW⚡core/database.py1436def _migrate_add_folder_column():CODE
LOW⚡core/database.py1459def _migrate_add_session_cwd_column():CODE
LOW⚡core/database.py1482def _migrate_add_session_endpoint_id_column():CODE
LOW⚡core/database.py1519def _migrate_add_total_cost_usd():CODE
LOW⚡core/database.py1542def _migrate_add_owner_to_table(table_name: str, index_name: str):CODE
LOW⚡core/database.py1566def _migrate_add_multiuser_owner_columns():CODE
LOW⚡core/database.py1601def _migrate_add_api_token_scopes_column():CODE
LOW⚡core/database.py1629def _migrate_assign_legacy_owner():CODE
LOW⚡core/database.py1780def _migrate_add_tidy_verdict():CODE
LOW⚡core/database.py1793def _migrate_add_doc_source_email_cols():CODE
LOW⚡core/database.py1932def _migrate_add_oauth_config():CODE
LOW⚡core/database.py1944def _migrate_add_disabled_tools():CODE
LOW⚡core/database.py1956def _migrate_add_mcp_oauth_tokens_column():CODE
LOW⚡core/database.py2014def _migrate_add_notifications_enabled():CODE
LOW⚡core/database.py2027def _migrate_add_crew_member_id():CODE
LOW⚡core/database.py2640def _migrate_encrypt_endpoint_keys():CODE
LOW⚡core/database.py2664def _migrate_encrypt_signatures():CODE
LOW⚡core/database.py2696def _migrate_encrypt_email_passwords():CODE
LOW⚡core/database.py2756def _migrate_add_calendar_origin():CODE
LOW⚡core/database.py2783def _migrate_add_calendar_account_id():CODE
LOW⚡core/database.py2809def _migrate_add_caldav_sync_columns():CODE
LOW⚡core/database.py2861def _migrate_add_calendar_recurrence_exdates():CODE
LOW⚡core/database.py2882def _migrate_add_note_gallery_id():CODE
LOWcore/database.py513def lock_email_account_owner_mutations(db, *owners: str) -> None:CODE
LOWcore/database.py928def _migrate_add_last_message_at_column():CODE
LOWcore/database.py1063def _migrate_add_document_archived_column():CODE
LOWcore/database.py1495def _migrate_add_token_columns():CODE
LOWcore/database.py1578def _migrate_add_gallery_caption_column():CODE
LOWcore/database.py1753def _migrate_backfill_document_owner_from_session():CODE
LOWcore/database.py1818def _migrate_add_calendar_source_email_cols():CODE
12622 more matches not shown…
Cross-Language Confusion929 hits · 5708 pts
SeverityFileLineSnippetContext
HIGHcore/database.py590 # is the historical default. When non-null, the model picker only showsCOMMENT
HIGH⚡tests/test_memory_skills_sidebar_split.py75 assert "tab.hidden || tab.classList.contains('hidden')" in MEMORY_JSCODE
HIGH⚡tests/test_document_ai_preview_refresh_js.py44 refresh = "markdownPreviewWasVisible && _refreshMarkdownPreviewIfVisible(docId, newContent)"CODE
HIGHtests/test_document_ai_preview_refresh_js.py60 assert "if (isRichTextUpdate && updatedDocForRichText)" in bodyCODE
HIGHtests/test_editor_rotate_arbitrary.py26 assert "if (source && source.width > 0 && source.height > 0)" in renderCODE
HIGHtests/test_execution_bridge.py20@pytest.mark.parametrize("content", ['{"path":"/workspace/x"}', '{"path":"/workspace/x","content":null}',CODE
HIGH⚡tests/test_document_rich_text_tools.py108 assert "e.defaultPrevented || e.target?.closest?.('#doc-editor-pane, [contenteditable=\"true\"]')" in app_jsCODE
HIGH⚡tests/test_document_rich_text_tools.py179 assert "mod && key === 'enter'" in rich_wiringCODE
HIGHtests/test_frontend_foundation_offline_js.py32 return { scope: registration.scope, cached: !!response && response.ok };CODE
HIGHtests/test_frontend_foundation_offline_js.py41 offline.on('request', request => requests.push(request.url()));CODE
HIGH⚡tests/test_editor_panel_titles_and_adjustments.py52 assert "_addAdjustmentLayer(type, anchor || document.getElementById('ge-add-fx'));" in GECODE
HIGH⚡tests/test_editor_quick_edit_static.py128 assert "let _quickEditActiveJob = null;" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py129 assert "const executeQuickEdit = async (prompt, { forceAi = false, _noSelfCheck = false, _retried = false, signal = CODE
HIGH⚡tests/test_editor_quick_edit_static.py177 assert "const executeQuickEdit = async (prompt, { forceAi = false, _noSelfCheck = false, _retried = false, signal = CODE
HIGH⚡tests/test_editor_quick_edit_static.py180 agent_at = EDITOR.index("const executeQuickEdit = async (prompt, { forceAi = false, _noSelfCheck = false, _retried =CODE
HIGH⚡tests/test_editor_quick_edit_static.py219 assert "const _runImageModelEdit = async (prompt, { signal = null } = {}) => {" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py223 assert "const forceAgent = !forceAi && mode === 'agent';" in wrapperCODE
HIGH⚡tests/test_editor_quick_edit_static.py226 assert "const quickOnly = !forceAi && mode === 'quick';" in wrapperCODE
HIGH⚡tests/test_editor_quick_edit_static.py402 assert "agent_model: (agentInfo && agentInfo.agent) || ''" in agentCODE
HIGH⚡tests/test_editor_quick_edit_static.py403 assert "getAgentModel = null," in agentCODE
HIGH⚡tests/test_editor_quick_edit_static.py471 assert "const retryOut = await executeQuickEdit(judge.retryPrompt || prompt, { forceAi: true, _noSelfCheck: true, _rCODE
HIGH⚡tests/test_editor_quick_edit_static.py473 assert "if (retryOut && retryOut.ok) return retryOut;" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py535 assert "let hueCenter = null;" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py546 assert "if (empty && p.fallbackColor) {" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py599 assert "if (signal && signal.aborted) {" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py602 assert "const controller = (typeof AbortController === 'function') ? new AbortController() : null;" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py606 assert "async function run(prompt, { onStep: stepCb = null, signal = null } = {})" in AGENTCODE
HIGH⚡tests/test_editor_quick_edit_static.py607 assert "signal: signal || undefined," in AGENTCODE
HIGH⚡tests/test_editor_quick_edit_static.py607 assert "signal: signal || undefined," in AGENTCODE
HIGH⚡tests/test_editor_quick_edit_static.py629 assert "if (mode === 'auto' && !forceAi && _isVague(prompt)) {" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py642 assert "scoped = !!(state.wandMask && state.wandMask.width && state.wandMask.height);" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py667 assert "run: (p) => _aiReplaceBackground((p && p.prompt) || '')" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py752 assert "let _aiEditAbort = null;" in EDITORCODE
HIGH⚡tests/test_editor_quick_edit_static.py754 assert "if (_aiEditAbort === _ctl) _aiEditAbort = null;" in EDITORCODE
HIGHtests/test_editor_quick_edit_static.py88 assert "const beforeSnap = useDiff ? flatten() : null;" in EDITORCODE
HIGHtests/test_editor_quick_edit_static.py114 assert "const steps = Math.max(1, Math.round(Number(p && p.steps) || 4));" in EDITORCODE
HIGHtests/test_editor_quick_edit_static.py240 assert "const tryLocal = !forceAi && mode === 'auto';" in wrapperCODE
HIGHtests/test_editor_quick_edit_static.py425 assert "const fillAllColor = fillWith ? _colorForName(fillWith[1]) : (_fillFgBg || state.color || '#000000');" in EDCODE
HIGHtests/test_editor_quick_edit_static.py432 assert "await executeQuickEdit(job.prompt, { forceAi: !!job.forceAi, signal: controller ? controller.signal : null }CODE
HIGHtests/test_preset_local_storage_js.py21 }}[key] ?? null;CODE
HIGH⚡tests/test_editor_panel_rail_collapse.py35 assert "const railEmpty = !anyDockVisible && hidden.has('layers') && hidden.has('options');" in srcCODE
HIGH⚡tests/test_editor_panel_rail_collapse.py60 assert "const ph = panel.offsetHeight || 200;" in srcCODE
HIGH⚡tests/test_editor_panel_rail_collapse.py61 assert "const pw = panel.offsetWidth || 240;" in srcCODE
HIGH⚡tests/test_runtime_evidence_contract.py30 'cd /workspace && python3 -m unittest', 'pytest -q tests/test_app.py',CODE
HIGH⚡tests/test_runtime_evidence_contract.py38 'echo python -m unittest', 'echo "pytest passed"', 'false && pytest',CODE
HIGH⚡tests/test_runtime_evidence_contract.py39 'pytest; true', 'pytest || true', 'pytest | cat', 'python -c "print(\'pytest\')"',CODE
HIGH⚡tests/test_runtime_evidence_contract.py531 ('"$runner" -m pytest || true', False),CODE
HIGH⚡tests/test_runtime_evidence_contract.py546@pytest.mark.parametrize('command, expected', [('pytest -q', True), ('pytest || true', False)])CODE
HIGHtests/test_runtime_evidence_contract.py390 _, result = await execute_tool_block(ToolBlock('bash', 'mkdir nested && printf changed > nested/app.py'),CODE
HIGH⚡tests/test_editor_layer_groups_js.py50 clearRect(){operations.push([tag,'clear']);},CODE
HIGH⚡tests/test_editor_layer_groups_js.py51 drawImage(image,x=0,y=0){operations.push([tag,'draw',image.tag,x,y,this._alpha,this._gco]);},CODE
HIGHtests/test_editor_layer_groups_js.py117 const makeCtx=tag=>({tag,_alpha:1,_gco:'source-over',clearRect(){},drawImage(image){operations.push([tag,'draw',CODE
HIGHtests/test_editor_layer_groups_js.py139 const makeCtx=tag=>({tag,_alpha:1,_gco:'source-over',clearRect(){},drawImage(image){operations.push([tag,'draw',CODE
HIGH⚡tests/test_editor_layer_groups_js.py158 clearRect(){operations.push('clear');},CODE
HIGH⚡tests/test_editor_layer_groups_js.py159 drawImage(){operations.push('draw');},CODE
HIGH⚡tests/test_editor_layer_groups_js.py164 drawGroupedLayers(ctx,state,layer=>({tag:layer.id}),null,null,()=>false);CODE
HIGHtests/test_gallery_landing_import_button.py25 assert "await openEditor(reader.result, null, null, name)" in srcCODE
HIGHtests/test_editor_brush_engine_js.py32 emit: sample => samples.push(sample),CODE
HIGHtests/test_editor_brush_engine_js.py54 emit: sample => samples.push(sample),CODE
HIGHtests/test_editor_brush_engine_js.py86 const storage = {{ getItem:key => values.get(key) || null, setItem:(key,value) => values.set(key,value) }};CODE
869 more matches not shown…
Decorative Section Separators891 hits · 3262 pts
SeverityFileLineSnippetContext
MEDIUMcore/auth.py251 # ------------------------------------------------------------------COMMENT
MEDIUMcore/auth.py253 # ------------------------------------------------------------------COMMENT
MEDIUMcore/auth.py492 # ------------------------------------------------------------------COMMENT
MEDIUMcore/auth.py494 # ------------------------------------------------------------------COMMENT
MEDIUMcore/auth.py577 # ------------------------------------------------------------------COMMENT
MEDIUMcore/auth.py579 # ------------------------------------------------------------------COMMENT
MEDIUMcore/platform_compat.py39# ── procfs ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcore/platform_compat.py52# ── File permissions ────────────────────────────────────────────────────────COMMENT
MEDIUMcore/platform_compat.py70# ── Account home ────────────────────────────────────────────────────────────COMMENT
MEDIUMcore/platform_compat.py90# ── Process detach / liveness / teardown ────────────────────────────────────COMMENT
MEDIUMcore/platform_compat.py166# ── Shell / executable resolution ───────────────────────────────────────────COMMENT
MEDIUM⚡core/session_manager.py433 # ------------------------------------------------------------------COMMENT
MEDIUM⚡core/session_manager.py435 # ------------------------------------------------------------------COMMENT
MEDIUM⚡core/session_manager.py662 # ------------------------------------------------------------------COMMENT
MEDIUM⚡core/session_manager.py664 # ------------------------------------------------------------------COMMENT
MEDIUM⚡core/session_manager.py727 # ------------------------------------------------------------------COMMENT
MEDIUM⚡core/session_manager.py729 # ------------------------------------------------------------------COMMENT
MEDIUMcore/session_manager.py82 # ------------------------------------------------------------------COMMENT
MEDIUMcore/session_manager.py84 # ------------------------------------------------------------------COMMENT
MEDIUMcore/session_manager.py237 # ------------------------------------------------------------------COMMENT
MEDIUMcore/session_manager.py239 # ------------------------------------------------------------------COMMENT
MEDIUMcore/session_manager.py758 # ------------------------------------------------------------------COMMENT
MEDIUMcore/session_manager.py760 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_redos_xml_tool_parsers.py45# ── correctness is preserved ────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_redos_xml_tool_parsers.py118# ── pathological inputs no longer blow up ───────────────────────────────────COMMENT
MEDIUM⚡tests/test_workspace_confine.py82# ── the central binding: the safety net ─────────────────────────────────COMMENT
MEDIUM⚡tests/test_workspace_confine.py320# ── no leak across calls ────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_workspace_confine.py328# ── tool selection: an active workspace is the file-work signal ─────────COMMENT
MEDIUM⚡tests/test_workspace_confine.py505# ── bind-time vetting of the workspace root ─────────────────────────────COMMENT
MEDIUMtests/test_workspace_confine.py63# ── the resolver helper ────────────────────────────────────────────────COMMENT
MEDIUMtests/test_workspace_confine.py107# ── end-to-end via execute_tool_block (sets + resets the binding) ───────COMMENT
MEDIUMtests/test_workspace_confine.py309# ── get_workspace tool ──────────────────────────────────────────────────COMMENT
MEDIUMtests/test_workspace_confine.py484# ── browse route is admin-gated ─────────────────────────────────────────COMMENT
MEDIUMtests/test_workspace_confine.py571# ── send-time privilege gate (no path oracle for non-admins) ────────────COMMENT
MEDIUMtests/test_skill_index_toolset_gating.py15# ── module-load stubbing (matches other tests in this repo) ──────────COMMENT
MEDIUM⚡tests/test_imap_leak_fixes.py42# ── email_helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_imap_leak_fixes.py109# ── email_server ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_imap_leak_fixes.py234# ── connect-time leak: _imap_connect / _open_imap_connection (#3174) ──────────COMMENT
MEDIUM⚡tests/test_calendar_recurrence.py16# ── _resolve_base_uid ──────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_calendar_recurrence.py45# ── _expand_rrule ──────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_process_ownership.py46# ── Verdicts, against real processes ────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_process_ownership.py114# ── An unavailable mechanism is a failure, not a default ────────────────────COMMENT
MEDIUM⚡tests/test_process_ownership.py178# ── Mechanism selection ─────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_process_ownership.py234# ── The process tree ────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_security_regressions.py118# ── secure-by-default deployment + integration storage ─────────COMMENT
MEDIUM⚡tests/test_security_regressions.py248# ── provider auth error normalization ──────────────────────────COMMENT
MEDIUM⚡tests/test_security_regressions.py285# ── compose-upload path traversal block ─────────────────────────COMMENT
MEDIUM⚡tests/test_security_regressions.py873# ── web_fetch SSRF guard (PR #111 merge gate) ───────────────────────COMMENT
MEDIUMtests/test_security_regressions.py24# ── prompt-injection context wrapper ────────────────────────────COMMENT
MEDIUMtests/test_security_regressions.py46# ── secret_storage ─────────────────────────────────────────────COMMENT
MEDIUMtests/test_security_regressions.py210# ── _q IMAP mailbox quoter ─────────────────────────────────────COMMENT
MEDIUMtests/test_security_regressions.py513# ── require_user dependency rejects anon callers ────────────────COMMENT
MEDIUMtests/test_security_regressions.py1280# ── DNS rebinding (audit finding 8.1) ────────────────────────────────COMMENT
MEDIUM⚡tests/test_email_oauth.py37# ── OAuth state signing ──────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_email_oauth.py774# ── Password-account regression ───────────────────────────────────COMMENT
MEDIUMtests/test_email_oauth.py137# ── XOAUTH2 SASL framing ─────────────────────────────────────────COMMENT
MEDIUMtests/test_email_oauth.py151# ── Helpers for in-memory DB fixtures ────────────────────────────COMMENT
MEDIUMtests/test_email_oauth.py191# ── Token encryption at rest ─────────────────────────────────────COMMENT
MEDIUMtests/test_email_oauth.py259# ── Real OAuth callback route ─────────────────────────────────────COMMENT
MEDIUMtests/test_email_oauth.py425# ── Redirect URI scheme ───────────────────────────────────────────COMMENT
831 more matches not shown…
Empty Error Handlers566 hits · 2722 pts
SeverityFileLineSnippetContext
HIGHapp.py1471except Exception:CODE
HIGHapp.py1455except asyncio.CancelledError:CODE
HIGHapp.py1466except asyncio.CancelledError:CODE
HIGHlauncher.py115except Exception:CODE
HIGHlauncher.py128except Exception:CODE
HIGHlauncher.py69except Exception:CODE
HIGHdocker/searxng/validate_image.py82except OSError:CODE
HIGHcore/platform_compat.py368except Exception:CODE
HIGHcore/platform_compat.py379except Exception:CODE
HIGHcore/platform_compat.py328except Exception:CODE
HIGHcore/database.py1658except Exception:CODE
HIGHcore/database.py545except IntegrityError:CODE
HIGHcore/database.py970except Exception:CODE
HIGHcore/database.py992except Exception:CODE
HIGHcore/database.py1014except Exception:CODE
HIGHcore/database.py1036except Exception:CODE
HIGHcore/database.py1083except Exception:CODE
HIGHcore/database.py1108except Exception:CODE
HIGHcore/database.py1131except Exception:CODE
HIGHcore/database.py1154except Exception:CODE
HIGHcore/database.py1185except Exception:CODE
HIGHcore/database.py1210except Exception:CODE
HIGHcore/database.py1234except Exception:CODE
HIGHcore/database.py1262except Exception:CODE
HIGHcore/database.py1285except Exception:CODE
HIGHcore/database.py1308except Exception:CODE
HIGHcore/database.py1332except Exception:CODE
HIGHcore/database.py1355except Exception:CODE
HIGHcore/database.py1378except Exception:CODE
HIGHcore/database.py1410except Exception:CODE
HIGHcore/database.py1433except Exception:CODE
HIGHcore/database.py1456except Exception:CODE
HIGHcore/database.py1479except Exception:CODE
HIGHcore/database.py1516except Exception:CODE
HIGHcore/database.py1539except Exception:CODE
HIGHcore/database.py1563except Exception:CODE
HIGHcore/database.py1597except Exception:CODE
HIGHcore/database.py1626except Exception:CODE
HIGHcore/database.py1699except Exception:CODE
HIGHcore/database.py2574except Exception:CODE
HIGHcore/database.py2636except Exception:CODE
HIGHcore/database.py2752except Exception:CODE
HIGHcore/database.py2779except Exception:CODE
HIGHcore/database.py2805except Exception:CODE
HIGHcore/database.py2857except Exception:CODE
HIGHcore/database.py2879except Exception:CODE
HIGHcore/session_manager.py60except (json.JSONDecodeError, ValueError):CODE
HIGHcore/atomic_io.py84except OSError:CODE
HIGHcore/atomic_io.py105except OSError:CODE
HIGHcore/middleware.py72except Exception:CODE
HIGHtests/test_imap_leak_fixes.py120except Exception:CODE
HIGHtests/test_imap_leak_fixes.py143except Exception:CODE
HIGHtests/test_imap_leak_fixes.py164except RuntimeError:CODE
HIGHtests/test_imap_leak_fixes.py188except RuntimeError:CODE
HIGHtests/test_imap_leak_fixes.py207except RuntimeError:CODE
HIGHtests/test_imap_leak_fixes.py225except RuntimeError:CODE
HIGHtests/test_session_list_owner_scope.py36except ImportError:CODE
HIGHtests/test_security_regressions.py1370except _socket.timeout:CODE
HIGHtests/test_photo_editor_family.py391except Exception:CODE
HIGHtests/conftest.py38except ImportError:CODE
506 more matches not shown…
Excessive Try-Catch Wrapping2260 hits · 1767 pts
SeverityFileLineSnippetContext
LOWsetup.py221 except Exception:CODE
LOWsetup.py268 except Exception as e:CODE
LOWsetup.py278 except Exception as e:CODE
MEDIUMapp.py227def _stop_background():CODE
MEDIUMapp.py731def _stop_background():CODE
MEDIUMapp.py1166def _docker_default_gateway_ip() -> str:CODE
MEDIUMapp.py1241def _startup_mcp_connections():CODE
LOW⚡app.py1352 except Exception as e:CODE
LOW⚡app.py1359 except Exception as e:CODE
LOW⚡app.py1361 except Exception as e:CODE
LOW⚡app.py1471 except Exception:CODE
LOW⚡app.py1476 except Exception as e:CODE
LOW⚡app.py1481 except Exception as e:CODE
LOWapp.py121except Exception as e:CODE
LOWapp.py230 except Exception:CODE
LOWapp.py277 except Exception:CODE
LOWapp.py438 except Exception as _e:CODE
LOWapp.py495 except Exception as _e:CODE
LOWapp.py505 except Exception:CODE
LOWapp.py612 except Exception as _e:CODE
LOWapp.py736 except Exception:CODE
LOWapp.py1063 except Exception:CODE
LOWapp.py1082 except Exception:CODE
LOWapp.py1105 except Exception:CODE
LOWapp.py1178 except Exception:CODE
LOWapp.py1215 except Exception as e:CODE
LOWapp.py1237 except Exception as _e:CODE
LOWapp.py1296 except Exception as e:CODE
LOWapp.py1298 except Exception as e:CODE
LOWapp.py1315 except Exception as e:CODE
LOWapp.py1330 except Exception as e:CODE
LOWapp.py1376 except Exception as e:CODE
LOWapp.py1395 except Exception as e:CODE
LOWapp.py1418 except Exception as e:CODE
LOWapp.py1460 except Exception as e:CODE
LOWlauncher.py69 except Exception:CODE
LOWlauncher.py115 except Exception:CODE
LOWlauncher.py128 except Exception:CODE
MEDIUMlauncher.py100def setup_system_tray(url):CODE
LOWcore/auth.py132 except Exception as e:CODE
LOWcore/auth.py148 except Exception as e:CODE
LOWcore/auth.py158 except Exception as e:CODE
LOWcore/auth.py314 except Exception:CODE
MEDIUMcore/auth.py114def _load(self):CODE
LOWcore/platform_compat.py328 except Exception:CODE
LOW⚡core/platform_compat.py356 except Exception:CODE
LOW⚡core/platform_compat.py368 except Exception:CODE
LOWcore/platform_compat.py379 except Exception:CODE
LOW⚡core/database.py965 except Exception as e:CODE
LOW⚡core/database.py970 except Exception:CODE
LOW⚡core/database.py987 except Exception as e:CODE
LOW⚡core/database.py992 except Exception:CODE
LOW⚡core/database.py1009 except Exception as e:CODE
LOW⚡core/database.py1014 except Exception:CODE
LOW⚡core/database.py1031 except Exception as e:CODE
LOW⚡core/database.py1036 except Exception:CODE
LOW⚡core/database.py1078 except Exception as e:CODE
LOW⚡core/database.py1083 except Exception:CODE
LOW⚡core/database.py1126 except Exception as e:CODE
LOW⚡core/database.py1131 except Exception:CODE
2200 more matches not shown…
Unused Imports772 hits · 688 pts
SeverityFileLineSnippetContext
LOWcore/auth.py13CODE
LOWcore/models.py19CODE
LOWcore/platform_compat.py14CODE
LOWcore/constants.py11CODE
LOWcore/constants.py12CODE
LOWcore/session_manager.py25CODE
LOWcore/session_manager.py25CODE
LOWcore/__init__.py12CODE
LOWcore/__init__.py12CODE
LOWcore/__init__.py12CODE
LOWcore/__init__.py12CODE
LOWcore/__init__.py12CODE
LOWcore/__init__.py12CODE
LOWcore/__init__.py20CODE
LOWcore/__init__.py21CODE
LOWcore/__init__.py22CODE
LOWcore/__init__.py23CODE
LOWcore/__init__.py23CODE
LOWcore/__init__.py23CODE
LOWcore/__init__.py23CODE
LOWcore/__init__.py29CODE
LOWcore/__init__.py29CODE
LOWcore/__init__.py30CODE
LOWcore/atomic_io.py14CODE
LOWtests/test_redos_xml_tool_parsers.py26CODE
LOWtests/test_redos_xml_tool_parsers.py28CODE
LOWtests/test_redos_xml_tool_parsers.py29CODE
LOWtests/test_browser_lifecycle.py9CODE
LOWtests/test_document_ai_preview_refresh_js.py4CODE
LOWtests/test_notes_fail_closed_auth.py27CODE
LOWtests/test_webhook_routes_shim.py5CODE
LOWtests/test_document_editor_background_static.py1CODE
LOWtests/test_hwfit_quant_formats.py9CODE
LOWtests/test_codeql_python_residual_closure.py12CODE
LOWtests/test_codeql_python_residual_closure.py13CODE
LOWtests/test_plain_ui_control_open_panel.py1CODE
LOWtests/test_imap_leak_fixes.py17CODE
LOWtests/test_runtime_evidence_contract.py18CODE
LOWtests/test_session_list_owner_scope.py12CODE
LOWtests/test_session_list_owner_scope.py34CODE
LOWtests/test_calendar_recurrence.py8CODE
LOWtests/test_review_docx_async_identity.py3CODE
LOWtests/test_vault_routes_shim.py5CODE
LOWtests/test_security_regressions.py1348CODE
LOWtests/test_run_order_report.py9CODE
LOWtests/test_email_polly_imap_leak.py41CODE
LOWtests/test_skill_index_prompt_injection.py25CODE
LOWtests/test_tool_parsing_hermes_json.py11CODE
LOWtests/test_effect_resource_bindings.py2CODE
LOWtests/test_scheduler_restart_doublefire.py15CODE
LOWtests/test_scheduler_restart_doublefire.py16CODE
LOWtests/test_memory_routes_shim.py15CODE
LOWtests/test_select_dropdown_theme_css.py1CODE
LOWtests/test_search_routes_shim.py5CODE
LOWtests/test_imap_move_uid.py9CODE
LOWtests/test_imap_move_uid.py10CODE
LOWtests/conftest.py33CODE
LOWtests/conftest.py34CODE
LOWtests/conftest.py36CODE
LOWtests/test_upload_confinement_compatibility.py16CODE
712 more matches not shown…
Deep Nesting799 hits · 568 pts
SeverityFileLineSnippetContext
LOWsetup.py240CODE
LOWapp.py554CODE
LOWapp.py1098CODE
LOWapp.py1166CODE
LOWapp.py1196CODE
LOWapp.py405CODE
LOWdocker/searxng/validate_image.py22CODE
LOWdocker/searxng/validate_image.py59CODE
LOWdocker/searxng/validate_image.py125CODE
LOWcore/platform_compat.py320CODE
LOWcore/platform_compat.py360CODE
LOWcore/database.py1629CODE
LOWcore/database.py1793CODE
LOWcore/database.py1818CODE
LOWcore/database.py1840CODE
LOWcore/database.py1913CODE
LOWcore/database.py1973CODE
LOWcore/database.py1993CODE
LOWcore/database.py2197CODE
LOWcore/database.py2640CODE
LOWcore/database.py2664CODE
LOWcore/database.py2696CODE
LOWcore/session_manager.py86CODE
LOWcore/session_manager.py762CODE
LOWcore/atomic_io.py28CODE
LOWcore/atomic_io.py30CODE
LOWcore/atomic_io.py32CODE
LOWtests/test_codeql_python_residual_closure.py133CODE
LOWtests/test_security_regressions.py1341CODE
LOWtests/test_security_regressions.py1359CODE
LOWtests/test_effect_resource_bindings.py255CODE
LOWtests/test_effect_resource_bindings.py266CODE
LOWtests/test_local_endpoint_api_key_js.py27CODE
LOWtests/test_remote_resource_identity.py230CODE
LOWtests/test_turn_contract_integration.py137CODE
LOWtests/test_turn_contract_integration.py276CODE
LOWtests/test_model_routes.py1581CODE
LOWtests/test_skill_importer_dns_pinning.py154CODE
LOWtests/test_skill_importer_dns_pinning.py171CODE
LOWtests/test_daily_brief_local_calendar.py36CODE
LOWtests/test_tool_index_schema_parity.py18CODE
LOWtests/test_fenced_inline_args.py145CODE
LOWtests/test_streamed_tool_markup.py48CODE
LOWtests/test_streamed_tool_markup.py84CODE
LOWtests/test_task_scheduler_endpoint_authority.py27CODE
LOWtests/test_redos_core_parsers.py489CODE
LOWtests/test_task_scheduler_cancel.py57CODE
LOWtests/test_task_scheduler_cancel.py73CODE
LOWtests/test_tool_execution_bridge_security.py130CODE
LOWtests/test_owned_resource_identity.py123CODE
LOWtests/test_null_owner_gates.py30CODE
LOWtests/test_procfs_scan_guard.py62CODE
LOWtests/test_procfs_scan_guard.py104CODE
LOWtests/test_procfs_scan_guard.py115CODE
LOWtests/test_procfs_scan_guard.py144CODE
LOWtests/test_review_regressions.py1497CODE
LOWtests/test_ca_trust.py122CODE
LOWtests/test_ca_trust.py207CODE
LOWtests/test_toast_dismiss_pointer_events.py30CODE
LOWtests/test_toast_dismiss_pointer_events.py51CODE
739 more matches not shown…
Modern AI Meta-Vocabulary72 hits · 206 pts
SeverityFileLineSnippetContext
MEDIUMrequirements.txt21# Vector store + local embeddings for RAG, semantic memory, and toolCOMMENT
MEDIUMbuild-macos-app.sh138# Wait for readiness (first run downloads an embedding model — allow ~2 min).COMMENT
MEDIUMrequirements-optional.txt7# Note: chromadb-client + fastembed moved to requirements.txt — RAG, semanticCOMMENT
MEDIUMrequirements-optional.txt41# RAG index). markitdown (MIT, Microsoft) converts .docx/.xlsx/.pptx/.xls/.epubCOMMENT
MEDIUMapp.py37# 1463]), so the ONNX embedding model fails to load. huggingface_hub reads thisCOMMENT
MEDIUMapp.py636# ========= RAG (vector document RAG) =========COMMENT
MEDIUMstart-macos.sh190# ChromaDB backs the tool index and vector RAG. chromadb ships in the venv, soCOMMENT
MEDIUMplans/ODYSSEUS_TOOL_HARDENING_PLAN.md210### G. Regular-model legacy RAG and tool coverageCOMMENT
MEDIUMspecs/documents-rag-uploads.md1# Documents, RAG, And UploadsCOMMENT
MEDIUMspecs/documents-rag-uploads.md97## Personal Docs And RAGCOMMENT
MEDIUMtests/test_task_shell_tools.py3Regression for #4163: the task runner built `relevant_tools` from RAG outputSTRING
MEDIUM⚡tests/test_task_shell_tools.py40 assert "web_fetch" in tools # RAG-selected tool keptCODE
MEDIUMtests/test_task_shell_tools.py103 # Degraded-index stand-in that still returns one RAG hit, so we can proveCOMMENT
MEDIUMtests/test_task_shell_tools.py148 # rest of the shell/file defaults and the RAG hit survive.COMMENT
MEDIUMtests/test_task_shell_tools.py154 assert "web_fetch" in offered # RAG-selected tool preservedCODE
MEDIUM…/test_fenced_example_not_executed_for_native_models.py49 # Skip RAG/tool-index, MCP, and settings lookups; keep the real loop body,COMMENT
MEDIUMtests/test_kv_cache_invalidation_2927.py97 # in real life, minus any per-turn dynamic content (RAG/memory/web), whichCOMMENT
MEDIUMtests/test_nested_invocation_ownership.py527 # The outer adapter still has orchestration work after an inner DONE.COMMENT
MEDIUM⚡tests/test_agent_rounds_exhausted.py39 # Skip RAG/tool-index, MCP, and settings lookups; keep the real loop body,COMMENT
MEDIUM⚡tests/test_agent_rounds_exhausted.py45 # supplying its context window instead of probing the dummy endpoint.COMMENT
MEDIUMtests/test_context_budget.py1"""Issue #1170 — the agent input-token budget adapts to the model context window.STRING
MEDIUMtests/test_rag_remove_directory_scope.py1"""Regression guard for #1660 — removing one RAG directory must delete only thatSTRING
MEDIUMtests/test_tool_rag_keyword_hints.py1"""Regression for issue #1707 — the agent tool-RAG force-included the entireSTRING
MEDIUMstatic/js/MODULE_SUMMARY.md105## 6. Knowledge, Memory, and RAGCOMMENT
MEDIUMstatic/js/calendar.js1313// Drag on an empty cell to scaffold a new event for that range.COMMENT
MEDIUMroutes/personal_routes.py283 # Remove from RAG vector store (best-effort).COMMENT
MEDIUMroutes/personal_routes.py401 # Remove chunks from RAG vector store (best-effort)COMMENT
MEDIUMroutes/auth_routes.py568 # direct personal RAG uploads live in per-owner directories and theCOMMENT
MEDIUM⚡routes/embedding_routes.py302 # Reset the RAG singleton so it picks up the new endpointCOMMENT
MEDIUM⚡routes/embedding_routes.py346 # Reset the RAG singleton so it falls back to fastembedCOMMENT
MEDIUMroutes/session_routes.py1399 # all 100+ chats to one LLM call blows the context window, makesCOMMENT
MEDIUMroutes/chat_routes.py2654 # lexical intent classifier: that recreated the same per-turn RAG gateCOMMENT
MEDIUMroutes/chat_routes.py2952 # every other model continues through the legacy RAG path.COMMENT
MEDIUMroutes/chat_routes.py3090 # A compact turn resolves its typed context window once, here, withCOMMENT
MEDIUMroutes/chat_routes.py3265 # bypass the contract and let tool RAG replace (for example) a browserCOMMENT
MEDIUMroutes/chat_routes.py4673 # drowned out by lexical RAG (for example, the wordCOMMENT
MEDIUMroutes/chat_helpers.py1240 # or personal-doc RAG on every turn pulls in keyword-matched but off-topicCOMMENT
MEDIUMroutes/chat_helpers.py1246 # Use RAG?COMMENT
MEDIUMroutes/skills_routes.py823 # candidates so the event-driven Skills Audit pipeline still runs.COMMENT
MEDIUMroutes/note/note_routes.py232 # prose=True strips untagged "The user wants me to…" chain-of-thought.COMMENT
MEDIUMroutes/document/document_routes.py1126 # Detect email-scaffold stubs: "To: \nSubject: \n---\n" styleCOMMENT
MEDIUMroutes/email/email_pollers.py1199 # sometimes hallucinate a map URLSTRING
MEDIUMservices/memory/skill_extractor.py223 # chain-of-thought BEFORE the JSON output even when asked forCOMMENT
MEDIUMsrc/teacher_escalation.py670 # tried. The appended note leads with the user request text so RAGCOMMENT
MEDIUMsrc/personal_docs.py220 self.excluded_files: Set[str] = set() # Files removed from RAG listingCODE
MEDIUMsrc/personal_docs.py301 # If RAG manager is available, index the directory immediately.COMMENT
MEDIUMsrc/tool_index.py55 # of topic. Without this, RAG drops it and the agent falls back toCOMMENT
MEDIUMsrc/tool_index.py85# check-ins and proactive tasks, in addition to RAG-selected tools.COMMENT
MEDIUMsrc/tool_index.py254 # Without this, upsert leaves them in place and RAG keepsCOMMENT
MEDIUMsrc/tool_index.py331 # Include server identity in the indexed text so RAG canCOMMENT
MEDIUM⚡src/task_scheduler.py1788 # RAG-select relevant tools for this prompt + always-available assistant tools.COMMENT
MEDIUMsrc/task_scheduler.py51# setting turns them off). The RAG tool selector + ASSISTANT_ALWAYS_AVAILABLECOMMENT
MEDIUMsrc/task_scheduler.py1828 # Strip the model's chain-of-thought before saving/delivering. TaskCOMMENT
MEDIUMsrc/context_compactor.py173COMPACT_THRESHOLD = 0.85 # Trigger compaction at 85% of context windowCODE
MEDIUMsrc/context_compactor.py415 # Priority: keep first system msg (preset prompt), drop others (memory, RAG, memo).COMMENT
MEDIUM⚡src/ai_interaction.py602# RAG management toolCOMMENT
MEDIUMsrc/app_initializer.py88 # Initialize memory vector store (share embedding model with RAG if available)COMMENT
MEDIUMsrc/chat_processor.py90 # Minimum similarity score for RAG results to be injectedCOMMENT
MEDIUMsrc/chat_processor.py379 # RAG: search if enabled and rag_manager available, inject only above thresholdCOMMENT
MEDIUMsrc/constants.py116# init and all vector features (RAG, semantic memory, tool index) silently degrade.COMMENT
12 more matches not shown…
Modern Structural Boilerplate194 hits · 190 pts
SeverityFileLineSnippetContext
LOWapp.py124logger = logging.getLogger(__name__)CODE
LOWcore/auth.py19logger = logging.getLogger(__name__)CODE
LOWcore/database.py17logger = logging.getLogger(__name__)CODE
LOWcore/session_manager.py27logger = logging.getLogger(__name__)CODE
LOWcore/__init__.py32__all__ = [CODE
LOWscripts/sanitize_trace_artifacts.py20logger = logging.getLogger(__name__)CODE
LOWscripts/index_documents.py33logger = logging.getLogger(__name__)CODE
LOWroutes/signature_routes.py21logger = logging.getLogger(__name__)CODE
LOWroutes/tts_routes.py11logger = logging.getLogger(__name__)CODE
LOWroutes/chatgpt_subscription_routes.py27logger = logging.getLogger(__name__)CODE
LOWroutes/backup_routes.py13logger = logging.getLogger(__name__)CODE
LOWroutes/copilot_routes.py40logger = logging.getLogger(__name__)CODE
LOWroutes/cookbook_helpers.py20logger = logging.getLogger(__name__)CODE
LOWroutes/editor_agent_routes.py36logger = logging.getLogger(__name__)CODE
LOW⚡routes/personal_routes.py22logger = logging.getLogger(__name__)CODE
LOWroutes/shell_routes.py126logger = logging.getLogger(__name__)CODE
LOWroutes/editor_draft_routes.py32logger = logging.getLogger(__name__)CODE
LOWroutes/auth_routes.py42logger = logging.getLogger(__name__)CODE
LOWroutes/embedding_routes.py14logger = logging.getLogger(__name__)CODE
LOWroutes/stt_routes.py9logger = logging.getLogger(__name__)CODE
LOWroutes/cookbook_routes.py47logger = logging.getLogger(__name__)CODE
LOWroutes/cookbook_routes.py556 def set_flag(flag: str, value: str) -> None:CODE
LOWroutes/cookbook_routes.py624 def set_flag(flag: str, value: str) -> None:CODE
LOWroutes/preset_routes.py15logger = logging.getLogger(__name__)CODE
LOWroutes/upload_routes.py36logger = logging.getLogger(__name__)CODE
LOWroutes/session_routes.py242logger = logging.getLogger(__name__)CODE
LOWroutes/diagnostics_routes.py13logger = logging.getLogger(__name__)CODE
LOWroutes/emoji_routes.py23logger = logging.getLogger(__name__)CODE
LOWroutes/chat_routes.py108logger = logging.getLogger(__name__)CODE
LOWroutes/chat_routes.py2136def _set_user_time_from_request(request: Request) -> None:CODE
LOWroutes/model_routes.py53logger = logging.getLogger(__name__)CODE
LOWroutes/chat_helpers.py27logger = logging.getLogger(__name__)CODE
LOWroutes/calendar_routes.py21logger = logging.getLogger(__name__)CODE
LOWroutes/skills_routes.py32logger = logging.getLogger(__name__)CODE
LOW⚡routes/research/research_routes.py73logger = logging.getLogger(__name__)CODE
LOWroutes/webhook/webhook_routes.py16logger = logging.getLogger(__name__)CODE
LOW⚡routes/note/note_routes.py19logger = logging.getLogger(__name__)CODE
LOWroutes/memory/memory_routes.py35logger = logging.getLogger(__name__)CODE
LOWroutes/gallery/gallery_helpers.py16logger = logging.getLogger(__name__)CODE
LOWroutes/gallery/gallery_routes.py35logger = logging.getLogger(__name__)CODE
LOWroutes/contacts/contacts_routes.py31logger = logging.getLogger(__name__)CODE
LOWroutes/mcp/mcp_routes.py20logger = logging.getLogger(__name__)CODE
LOWroutes/document/document_routes.py22logger = logging.getLogger(__name__)CODE
LOWroutes/document/document_helpers.py19logger = logging.getLogger(__name__)CODE
LOWroutes/search/search_routes.py17logger = logging.getLogger(__name__)CODE
LOWroutes/cleanup/cleanup_routes.py8logger = logging.getLogger(__name__)CODE
LOW⚡routes/task/task_routes.py26logger = logging.getLogger(__name__)CODE
LOW⚡routes/history/history_routes.py26logger = logging.getLogger(__name__)CODE
LOWroutes/compare/compare_routes.py17logger = logging.getLogger(__name__)CODE
LOWroutes/email/email_pollers.py46logger = logging.getLogger(__name__)CODE
LOW⚡routes/email/email_routes.py128def _set_email_writing_style_for_account(settings: dict, style: str, account_id: str | None = None) -> None:CODE
LOWroutes/email/email_routes.py76logger = logging.getLogger(__name__)CODE
LOWroutes/email/email_routes.py152def _set_email_view_inline_images(settings: dict, enabled: bool, account_id: str | None = None) -> None:CODE
LOWroutes/email/email_helpers.py43logger = logging.getLogger(__name__)CODE
LOWroutes/vault/vault_routes.py23logger = logging.getLogger(__name__)CODE
LOWroutes/admin_wipe/admin_wipe_routes.py36logger = logging.getLogger(__name__)CODE
LOWservices/__init__.py42__all__ = [CODE
LOWservices/research/research_handler.py20logger = logging.getLogger(__name__)CODE
LOWservices/research/__init__.py7__all__ = [CODE
LOWservices/memory/memory_extractor.py23logger = logging.getLogger(__name__)CODE
134 more matches not shown…
Over-Commented Block194 hits · 172 pts
SeverityFileLineSnippetContext
LOWrequirements.txt21# Vector store + local embeddings for RAG, semantic memory, and toolCOMMENT
LOWrequirements.txt61# TestClient import when only classic httpx is present. Runtime code keepsCOMMENT
LOWdocker-compose.gpu-nvidia.yml1# Standalone NVIDIA GPU Compose file for stack-management UIs (Portainer,COMMENT
LOWbuild-macos-app.sh1#!/bin/bashCOMMENT
LOWrequirements-optional.txt1# Optional dependencies — install only if you use the corresponding feature.COMMENT
LOWrequirements-optional.txt21# Python 3.13+ (including the Python 3.14 container image). Kokoro declaresCOMMENT
LOWrequirements-optional.txt41# RAG index). markitdown (MIT, Microsoft) converts .docx/.xlsx/.pptx/.xls/.epubCOMMENT
LOWdocker-compose.gpu-amd.yml1# Standalone AMD ROCm GPU Compose file for stack-management UIs (Portainer,COMMENT
LOWapp.py161# `text/event-stream` by default, so the SSE streams (chat, shell, research,COMMENT
LOWapp.py1421COMMENT
LOWdocker-compose.yml81 - GOOGLE_API_KEY=${GOOGLE_API_KEY:-}COMMENT
LOWstart-macos.sh1#!/bin/bashCOMMENT
LOWstart-macos.sh81 cands="python3 python3.13 python3.12 python3.11"COMMENT
LOWdocker/gpu.amd.yml1# AMD ROCm GPU overlay. Enable by setting COMPOSE_FILE in .env:COMMENT
LOWdocker/gpu.nvidia.yml1# NVIDIA GPU overlay. Enable by setting COMPOSE_FILE in .env:COMMENT
LOWdocker/entrypoint.sh1#!/bin/shCOMMENT
LOWdocker/entrypoint.sh101# such as /app/.cache/vllm and /app/.cache/flashinfer can be created withoutCOMMENT
LOWdocker/build-realesrgan-wheels.sh1#!/usr/bin/env bashCOMMENT
LOWcore/auth.py441 # flag must be flipped while the stored map is safe to expose —COMMENT
LOWcore/database.py201 max_tokens_override = Column(Integer, nullable=True, default=None)COMMENT
LOWcore/database.py581 # schemas + emit `tool_calls`. Auto-detected at Cookbook auto-COMMENT
LOWlicenses/docx-8.5.0-NOTICES.txt101FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THECOMMENT
LOWlicenses/docx-8.5.0-NOTICES.txt701// The above copyright notice and this permission notice shall be includedCOMMENT
LOWlicenses/docx-8.5.0-NOTICES.txt721// persons to whom the Software is furnished to do so, subject to theCOMMENT
LOWlicenses/mammoth-1.8.0-NOTICES.txt441// (C) 1995-2013 Jean-loup Gailly and Mark AdlerCOMMENT
LOWtests/test_editor_photoshop_features_more6.py141# commit agree.COMMENT
LOWtests/test_memory_store_unreadable_no_wipe.py161COMMENT
LOWtests/test_email_library_module_graph_js.py61 names.add(name)COMMENT
LOWtests/e2e/photo-editor/quickedit-bench-grade.js1#!/usr/bin/env nodeCOMMENT
LOWtests/e2e/photo-editor/quickedit-coverage.js1#!/usr/bin/env nodeCOMMENT
LOWtests/e2e/photo-editor/quickedit-bench.js1#!/usr/bin/env nodeCOMMENT
LOWstatic/app.js1221 // navigation visible alongside the fullscreen email view.COMMENT
LOWstatic/app.js1541 }COMMENT
LOWstatic/app.js4321COMMENT
LOWstatic/sw.js1// static/sw.js — Odysseus PWA Service WorkerCOMMENT
LOWstatic/sw.js21 'Size1-Regular', 'Size2-Regular', 'Size3-Regular', 'Size4-Regular',COMMENT
LOWstatic/css/04-memory.css701#doclib-arc-bulk,COMMENT
LOWstatic/css/email-calendar-notes-tasks.css41#email-lib-grid.email-selecting .email-card-favorite,COMMENT
LOWstatic/css/13-image-editor.css301#ge-wand-clear.has-selection,COMMENT
LOWstatic/css/05-documents.css1001 it's unaffected). Slightly narrower type picker buys a little more room. */COMMENT
LOWstatic/css/17-research.css2661 #cookbook-modal .modal-content,COMMENT
LOWstatic/css/17-research.css2701 }COMMENT
LOWstatic/css/17-research.css2721 #archive-select-btn,COMMENT
LOWstatic/css/17-research.css2761 #tasks-select-btn,COMMENT
LOWstatic/js/galleryEditor.js541// Move tool stateCOMMENT
LOWstatic/js/galleryEditor.js561// Softer default than the original full-saturation red — the userCOMMENT
LOWstatic/js/galleryEditor.js581// `state.cloneSourceX/Y` is the sample anchor set by Alt-click. WhileCOMMENT
LOWstatic/js/galleryEditor.js1461 requestAnimationFrame(() => { _watchSheetForLift(); _syncMobileChrome(); });COMMENT
LOWstatic/js/galleryEditor.js2141 // Colour-inverts the active layer. Requires an explicit colour/image nounCOMMENT
LOWstatic/js/galleryEditor.js3201// ── Mask sub-layers ──COMMENT
LOWstatic/js/galleryEditor.js3281// True if the layer needs the (slower) per-pixel LUT pass — i.e. LevelsCOMMENT
LOWstatic/js/galleryEditor.js5681// have been deleted.COMMENT
LOWstatic/js/galleryEditor.js7221 * Implementation lives in editor/tools/lasso-mask.js — this wrapperCOMMENT
LOWstatic/js/galleryEditor.js8221 state.maskCtx.putImageData(curData, 0, 0);COMMENT
LOWstatic/js/galleryEditor.js11101 schedulePersist: _schedulePersist,COMMENT
LOWstatic/js/galleryEditor.js13661// blank canvas at the given dimensions (used by template tiles in theCOMMENT
LOWstatic/js/modalSnap.js1// Right-edge snap docking for draggable modals.COMMENT
LOWstatic/js/modalSnap.js601 if (hadLeft) clearDockSide('left', modal);COMMENT
LOWstatic/js/modalSnap.js661 _disconnectLeftDockObservers(content);COMMENT
LOWstatic/js/cookbookServe.js1561 // RIGHT of Backend in Row 1 so the engine and the GPU/CPU choiceCOMMENT
134 more matches not shown…
AI Slop Vocabulary43 hits · 109 pts
SeverityFileLineSnippetContext
MEDIUMbuild-macos-app.sh34 # let sips emit the .icns directly: more robust across macOS versions thanCOMMENT
MEDIUMapp.py1258 # harness deployments can wait for the explicit readiness state.COMMENT
LOWstart-macos.sh76# (or non-mac) we just use whatever Python 3.11+ is on PATH.COMMENT
MEDIUMcore/database.py339 # Library + search. Owning the row directly is robust against that.COMMENT
MEDIUMcore/database.py2974 """Get comprehensive database statistics including file size"""STRING
MEDIUMtests/test_effect_resource_bindings.py54 """The registry the dispatcher resolves at call time (robust to reloads)."""STRING
MEDIUMtests/test_css_computed_style_snapshot.py39# One conflicting selector used to prove the harness is actually sensitive toCOMMENT
MEDIUM⚡tests/test_markdown_rendering_js.py495 # same way; they need KaTeX/sanitizer conditions this harness doesn't set up.COMMENT
MEDIUMtests/test_companion_readonly.py24# import is robust regardless of collection order.COMMENT
MEDIUMtests/test_clean_agent_preview.py4433 # Probe a tool whose compact description the harness does notSTRING
MEDIUMtests/test_clean_agent_preview.py4434 # replace; manage_notes now carries a full harness-owned override.STRING
MEDIUMtests/test_backup_import_skills_dedup.py18# via monkeypatch — robust to import order and reverted at teardown. (StubbingCOMMENT
MEDIUMtests/test_source_question_routing.py140 # by the harness, including when the model ignores the offered tools.COMMENT
MEDIUMtests/test_chat_metrics.py23# --- captured-stream harness (mirrors test_llm_core_streaming.py) -----------COMMENT
MEDIUMstatic/js/spinner.js216 // Rotating a single continuous spiral keeps the loop seamless: the startCOMMENT
MEDIUMstatic/js/windowResize.js10// inner element. Absolutely-positioned handle children would scroll awayCOMMENT
MEDIUMstatic/js/slashCommands.js2377 // via .closest(selector) — more robust than t.contains(e.target) whenCOMMENT
MEDIUMstatic/js/editor/fx/pixel-pass.js287 // Be robust to malformed planner params: a tone may arrive as a bareCOMMENT
MEDIUMscripts/build_v66_calendar_heldout_cases.py53 # marker cleanup in the existing smoke harness.COMMENT
MEDIUMscripts/odysseus_conversation_qa.py628 # verdict is not coverage: no model/harness behavior was observed.COMMENT
MEDIUMscripts/odysseus_conversation_qa.py722 # mutates fixture memory, and is not part of tool-harness scoring.COMMENT
MEDIUMscripts/odysseus_conversation_qa.py744 # toggle off made those rows authorization tests, not model/harness QA.COMMENT
MEDIUMscripts/odysseus_conversation_qa.py1022 # If the flow explicitly names the expected tool, the harness offered it,COMMENT
MEDIUMscripts/odysseus_conversation_qa.py1091 # miss where the required tool was available. The harness owns the flowCOMMENT
MEDIUMscripts/run_sft_overnight_fixture_flows.py626 # Keep the latest clean result for a case id. This makes resume robustCOMMENT
MEDIUMscripts/add_hwfit_models.py324 # Next-to-last resort: parse config.json. This is robust againstCOMMENT
MEDIUMroutes/cookbook_routes.py971 # also breaks robust resume on flaky transfers — the blob-based hubCOMMENT
MEDIUMroutes/chat_routes.py2951 # harness ownership follows that model, not the endpoint alias;COMMENT
LOWroutes/history/history_routes.py374 # parsed multimodal content and the _db_id edit/delete keys it just set.COMMENT
MEDIUMservices/search/service.py69 # `fetch_content` is accepted for API compatibility; the comprehensiveCOMMENT
MEDIUMservices/search/core.py877 # does not preserve bad SERP choices after a harness fix.COMMENT
MEDIUMservices/search/core.py1020 """Perform comprehensive web search with content fetching and advanced filtering."""STRING
MEDIUMsrc/generation_budget.py43# VL uses at least 656 tokens for the small image previews the harness injects;COMMENT
MEDIUMsrc/generation_budget.py74 # robust to the observed tokenizer drift.COMMENT
MEDIUMsrc/clean_agent_preview.py313 # Keep the selected schema; validate completion in the harness.COMMENT
MEDIUMsrc/clean_agent_preview.py5503 # harness-owned completion recovery. Persisting that empty assistantCOMMENT
MEDIUMsrc/clean_agent_preview.py5585 # no model output or tool proposal could have reached the harness.COMMENT
MEDIUMsrc/clean_agent_preview.py7233 # are not visible in the harness process. Use declaredCOMMENT
MEDIUMsrc/constants.py13# service claiming an older harness build.COMMENT
MEDIUMsrc/document_actions.py69 # Documents now carry their own owner column (robust to a deletedCOMMENT
MEDIUMsrc/llm_core.py1318 # harness size. Character presets can ask for a warmer voice, butCOMMENT
MEDIUM⚡src/deep_research.py1739 """Let the LLM decide whether the report is comprehensive enough."""STRING
LOWsrc/agent_tools/session_tools.py336 # just return a clickable anchor link the user can click. TheCOMMENT
Cross-File Repetition17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHtests/test_skills_manager_owner_isolation.py0\ --- name: {name} description: original description version: 1.0.0 category: {category} tags: [] status: draft confidenSTRING
HIGHtests/test_skills_routes_owner_update.py0\ --- name: {name} description: original description version: 1.0.0 category: {category} tags: [] status: draft confidenSTRING
HIGHtests/test_skills_delete_owner.py0\ --- name: {name} description: original description version: 1.0.0 category: {category} tags: [] status: draft confidenSTRING
HIGHtests/test_skill_save_no_rename.py0\ --- name: {name} description: original description version: 1.0.0 category: {category} tags: [] status: draft confidenSTRING
HIGHtests/test_provider_detection_host_match.py0provider detection tests — build_chat_url / build_models_url routing (re: #768). these import the *real* helpers from ``STRING
HIGHtests/test_provider_detection_detect.py0provider detection tests — build_chat_url / build_models_url routing (re: #768). these import the *real* helpers from ``STRING
HIGHtests/test_provider_detection_builders.py0provider detection tests — build_chat_url / build_models_url routing (re: #768). these import the *real* helpers from ``STRING
HIGHtests/test_email_owner_scope.py0insert or replace into email_summaries (message_id, owner, uid, folder, subject, sender, summary, model_used, created_atSTRING
HIGHroutes/email/email_pollers.py0insert or replace into email_summaries (message_id, owner, uid, folder, subject, sender, summary, model_used, created_atSTRING
HIGHroutes/email/email_routes.py0insert or replace into email_summaries (message_id, owner, uid, folder, subject, sender, summary, model_used, created_atSTRING
HIGHtests/test_email_owner_scope.py0insert or replace into email_ai_replies (message_id, owner, uid, folder, reply, model_used, created_at) values (?, ?, ?,STRING
HIGHroutes/email/email_pollers.py0insert or replace into email_ai_replies (message_id, owner, uid, folder, reply, model_used, created_at) values (?, ?, ?,STRING
HIGHroutes/email/email_routes.py0insert or replace into email_ai_replies (message_id, owner, uid, folder, reply, model_used, created_at) values (?, ?, ?,STRING
HIGHscripts/build_odysseus_v55_web_synthesis_teacher_sft.py0select name, base_url, api_key, cached_models from model_endpoints where lower(name) like '%deepseek%' and coalesce(is_eSTRING
HIGHscripts/build_odysseus_v54_live_gap_teacher_sft.py0select name, base_url, api_key, cached_models from model_endpoints where lower(name) like '%deepseek%' and coalesce(is_eSTRING
HIGHscripts/build_odysseus_v56_broad_web_teacher_sft.py0select name, base_url, api_key, cached_models from model_endpoints where lower(name) like '%deepseek%' and coalesce(is_eSTRING
HIGHscripts/build_odysseus_web_teacher_sft.py0select name, base_url, api_key, cached_models from model_endpoints where lower(name) like '%deepseek%' and coalesce(is_eSTRING
Fake / Example Data52 hits · 51 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_imap_leak_fixes.py51 result = helpers._fetch_sender_thread_context("user@example.com")CODE
LOW⚡tests/test_imap_leak_fixes.py68 result = helpers._fetch_sender_thread_context("user@example.com")CODE
LOW⚡tests/test_imap_leak_fixes.py255 "imap_user": "user@example.com",CODE
LOWtests/test_imap_leak_fixes.py308 "imap_user": "user@example.com", "imap_password": "wrong",CODE
LOWtests/test_imap_leak_fixes.py358 "smtp_security": security, "smtp_user": "user@example.com",CODE
LOWtests/test_email_imap_timeout.py111 "imap_user": "user@example.com",CODE
LOWtests/test_email_imap_timeout.py125 assert captured["login"] == ("user@example.com", "pw")CODE
LOW⚡tests/test_email_oauth.py42 state = make_oauth_state("acct-123", "user@example.com")CODE
LOW⚡tests/test_email_oauth.py47 assert payload["o"] == "user@example.com"CODE
LOW⚡tests/test_email_oauth.py62 state = make_oauth_state("acct-123", "user@example.com")CODE
LOW⚡tests/test_email_oauth.py77 state = make_oauth_state("acct-123", "user@example.com")CODE
LOW⚡tests/test_model_context.py87 api_key="fake-key",CODE
LOWtests/test_model_context.py268 api_key="fake-key",CODE
LOW⚡tests/test_model_routes.py485 ep = SimpleNamespace(endpoint_kind="auto", api_key="fake-key")CODE
LOW⚡tests/test_model_routes.py2018 api_key="fake-key",CODE
LOW⚡tests/test_model_routes.py2027 "api_key": "fake-key",CODE
LOW⚡tests/test_model_routes.py2076 "api_key": "fake-key",CODE
LOW⚡tests/test_model_routes.py2091 api_key="fake-key",CODE
LOWtests/test_model_routes.py535 result = _ping_endpoint("http://100.117.136.97:34521/v1", "fake-key", timeout=1)CODE
LOWtests/test_model_routes.py1779 api_key="fake-key",CODE
LOWtests/test_model_routes.py1812 api_key="fake-key",CODE
LOWtests/test_model_routes.py1837 api_key="fake-key",CODE
LOWtests/test_model_routes.py1861 api_key="fake-key",CODE
LOWtests/test_model_routes.py2058 api_key="fake-key",CODE
LOWtests/test_model_routes.py2122 "api_key": "fake-key",CODE
LOWtests/test_model_routes.py2172 api_key="fake-key",CODE
LOW⚡tests/test_odysseus_conversation_qa.py643 assert "placeholder" in str(exc)CODE
LOW⚡tests/test_tool_routing_experiment.py286 'person@example.org', '/workspace/local/report.pdf', '3.14159',CODE
LOWtests/test_tool_routing_experiment.py314 assert not evaluate_preview_call('send_email', {'to': 'test@example.org'}, 'do it', **kwargs).allowedCODE
LOWtests/test_agent_evidence.py899 (tmp_path / "score_chart.png").write_text("placeholder")CODE
LOW⚡tests/test_sender_signature_skip_roles.py20 assert _skipped("admin@example.org")CODE
LOW⚡tests/test_utility_reasoning_effort.py269 def fake_key(url, model, messages, temperature, max_tokens, headers=None,CODE
LOW⚡tests/test_utility_reasoning_effort.py274 monkeypatch.setattr(llm_core, "_get_cache_key", fake_key)CODE
LOW⚡tests/test_shell_routes.py824 assert _ssh_base_argv("user@example.com", None) == [CODE
LOW⚡tests/test_shell_routes.py830 "user@example.com",CODE
LOW⚡tests/test_email_send_only_no_inbox.py26 "smtp_user": "noreply@example.org",CODE
LOW⚡tests/test_email_send_only_no_inbox.py33 "from_address": "noreply@example.org",CODE
LOW⚡tests/test_api_token_routes.py290 fake_token = SimpleNamespace(id="abcd1234", owner="alice", name="test")CODE
LOW⚡tests/test_api_token_routes.py292 fake_session.query.return_value.filter.return_value.first.return_value = fake_tokenCODE
LOW⚡tests/test_api_token_routes.py301 fake_session.delete.assert_called_once_with(fake_token)CODE
LOW⚡tests/test_api_token_routes.py454 fake_token = SimpleNamespace(id="tok123", owner="alice", name="alice-token")CODE
LOW⚡tests/test_api_token_routes.py456 fake_session.query.return_value.filter.return_value.first.return_value = fake_tokenCODE
LOW⚡tests/test_api_token_routes.py494 fake_token = SimpleNamespace(id="tok123", owner="alice", name="alice-token")CODE
LOW⚡tests/test_api_token_routes.py496 fake_session.query.return_value.filter.return_value.first.return_value = fake_tokenCODE
LOW⚡tests/test_api_token_routes.py504 fake_session.delete.assert_called_once_with(fake_token)CODE
LOW⚡tests/test_issue_description_check.py149 assert revision["attributes"]["placeholder"] == "1fef4929cf1d (2026-08-11)"STRING
LOWtests/test_generated_image_ownership.py464 patch("src.settings.get_setting", return_value="dummy_key"), \CODE
LOWtests/test_hwfit_container_visibility_warning.py80 out = hardware._attach_probe_context(result, host="user@example.com")CODE
LOWstatic/app.js2458 textarea.setAttribute('placeholder', 'Swipe to toggle plan');CODE
LOWstatic/app.js2461 textarea.setAttribute('placeholder', width < PLACEHOLDER_COMPACT_WIDTH ? 'Message...' : 'Message Odysseus...');CODE
LOWstatic/lib/highlight.min.js317}),re=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code",CODE
LOWsrc/clean_agent_preview.py3626 'unknown', 'placeholder', '1',CODE
Structural Annotation Overuse29 hits · 44 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_chatgpt_subscription_usage_js.py413 // Step 1: Initial state - 0 fetches before expandCOMMENT
LOW⚡tests/test_chatgpt_subscription_usage_js.py416 // Step 2: Expand A -> fetches A only, updates aria-expanded and chevronCOMMENT
LOW⚡tests/test_chatgpt_subscription_usage_js.py425 // Step 3: Collapse A -> 0 extra fetches, updates aria-expanded and chevronCOMMENT
LOW⚡tests/test_chatgpt_subscription_usage_js.py429 // Step 4: Re-open A -> 0 extra fetches (cached DOM reused)COMMENT
LOW⚡tests/test_chatgpt_subscription_usage_js.py433 // Step 5: Refresh A -> forces fetch with ?refresh=1COMMENT
LOW⚡tests/test_upload_no_login.py843 # Step 1: Upload in no-login modeCOMMENT
LOWtests/test_upload_no_login.py874 # Step 2: Transition to AUTH_ENABLED=trueCOMMENT
LOWdocs/chromadb-volume-migration.md55### Step 0: Identify your project and volume namesCOMMENT
LOWdocs/chromadb-volume-migration.md82### Step 1: Pre-Migration Collection Inventory (Baseline)COMMENT
LOWdocs/chromadb-volume-migration.md110### Step 2: Quiesce Writers and Gracefully Stop ChromaDBCOMMENT
LOWdocs/chromadb-volume-migration.md131### Step 3: Preserve the Original Container as an Immutable ImageCOMMENT
LOWdocs/chromadb-volume-migration.md153### Step 4: Take a Cold File BackupCOMMENT
LOWdocs/chromadb-volume-migration.md167### Step 5: Verify Backup IntegrityCOMMENT
LOWdocs/chromadb-volume-migration.md197### Step 6: Verify Destination Volume is Empty and Seed SafelyCOMMENT
LOWdocs/chromadb-volume-migration.md227### Step 7: Staging Validation in an Isolated Disposable ContainerCOMMENT
LOWdocs/chromadb-volume-migration.md268### Step 8: Apply Updated Compose Files and Perform Production CutoverCOMMENT
LOWdocs/chromadb-volume-migration.md293### Step 9: Post-Migration Production VerificationCOMMENT
LOWstatic/js/group.js528 // Step 2: Character assignmentCOMMENT
LOWstatic/js/documentLibrary.js1241 // Step 1: switch session if needed and wait for it to loadCOMMENT
LOWstatic/js/editor/tools/lasso-mask.js75 // Step 1: draw hard maskCOMMENT
LOWstatic/js/editor/tools/lasso-mask.js111 // Step 2: pixel data and distance-based feather.COMMENT
LOW⚡scripts/check-docker-gpu.sh525 # Step 1: prerequisitesCOMMENT
LOW⚡scripts/check-docker-gpu.sh533 # Step 2: signing keyCOMMENT
LOW⚡scripts/check-docker-gpu.sh541 # Step 3: apt repositoryCOMMENT
LOW⚡scripts/check-docker-gpu.sh550 # Step 4: install toolkitCOMMENT
LOW⚡scripts/check-docker-gpu.sh558 # Step 5: configure Docker runtimeCOMMENT
LOW⚡scripts/check-docker-gpu.sh565 # Step 6: restart DockerCOMMENT
LOW⚡scripts/check-docker-gpu.sh587 # Step 7: verificationCOMMENT
LOW⚡scripts/check-docker-gpu.sh593 # Step 8: enable overlay (only if passthrough verified)COMMENT
AI Structural Patterns55 hits · 36 pts
SeverityFileLineSnippetContext
LOWtests/test_model_routes.py1665CODE
LOWtests/test_model_routes.py721CODE
LOWtests/test_model_routes.py741CODE
LOWtests/test_turn_contract.py105CODE
LOWtests/test_foreground_model_routing.py139CODE
LOWtests/test_chat_route_tool_policy.py474CODE
LOWtests/test_model_defaults.py131CODE
LOWscripts/diffusion_server.py763CODE
LOWscripts/sft_email_overseer.py381CODE
LOWscripts/demo_email/seed_demo_emails.py109CODE
LOWmcp_servers/email_server.py2796CODE
LOWroutes/shell_routes.py1210CODE
LOWroutes/hwfit_routes.py217CODE
LOWroutes/hwfit_routes.py345CODE
LOWroutes/hwfit_routes.py439CODE
LOWroutes/session_routes.py521CODE
LOWroutes/chat_routes.py242CODE
LOWroutes/model_routes.py2145CODE
LOWroutes/chat_helpers.py104CODE
LOWroutes/chat_helpers.py1120CODE
LOWroutes/chat_helpers.py1652CODE
LOWroutes/chat_helpers.py1808CODE
LOWroutes/gallery/gallery_routes.py1161CODE
LOWroutes/mcp/mcp_routes.py172CODE
LOWroutes/compare/compare_routes.py71CODE
LOWroutes/email/email_pollers.py494CODE
LOWroutes/email/email_pollers.py565CODE
LOWroutes/email/email_pollers.py633CODE
LOWroutes/email/email_routes.py2888CODE
LOWservices/memory/skills.py142CODE
LOWservices/memory/skills.py364CODE
LOWservices/search/core.py1008CODE
LOWsrc/teacher_escalation.py570CODE
LOWsrc/text_helpers.py143CODE
LOWsrc/clean_agent_preview.py3803CODE
LOWsrc/clean_agent_preview.py5625CODE
LOWsrc/research_handler.py256CODE
LOWsrc/research_handler.py961CODE
LOWsrc/model_capabilities.py486CODE
LOWsrc/chat_processor.py269CODE
LOWsrc/turn_contract.py6376CODE
LOWsrc/preset_manager.py135CODE
LOWsrc/visual_report.py102CODE
LOWsrc/llm_core.py2642CODE
LOWsrc/llm_core.py2972CODE
LOWsrc/llm_core.py2998CODE
LOWsrc/spec_driver.py99CODE
LOWsrc/tool_execution.py1670CODE
LOWsrc/tool_execution.py1977CODE
LOWsrc/tool_approvals.py375CODE
LOWsrc/deep_research.py345CODE
LOWsrc/model_capability_readers/llamacpp.py247CODE
LOWsrc/agent_tools/web_tools.py2276CODE
LOWsrc/agent_tools/web_tools_prewave3.py2280CODE
LOWsrc/agent_runtime/authority.py374CODE
Cross-Language Confusion (JS/TS)5 hits · 32 pts
SeverityFileLineSnippetContext
HIGHstatic/js/cookbookDownload.js173 elif t>=1048576: ds=f'{s.n/1048576:.1f}';ts=f'{t/1048576:.1f}MB';ss=f'{sp/1048576:.1f}MB/s'CODE
HIGHstatic/js/cookbookDownload.js176 print(f'FILE {d} [{bar}] {p}% {ds}/{ts} {ss}',flush=True)CODE
HIGH⚡static/js/cookbookDownload.js196print(f'START {repo}',flush=True)CODE
HIGH⚡static/js/cookbookDownload.js199 print(f'DONE {path}',flush=True)CODE
HIGH⚡static/js/cookbookDownload.js201 print(f'ERROR {e}',file=sys.stderr,flush=True);sys.exit(1)CODE
Verbosity Indicators20 hits · 32 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_chatgpt_subscription_usage_js.py413 // Step 1: Initial state - 0 fetches before expandCOMMENT
LOW⚡tests/test_chatgpt_subscription_usage_js.py416 // Step 2: Expand A -> fetches A only, updates aria-expanded and chevronCOMMENT
LOW⚡tests/test_chatgpt_subscription_usage_js.py425 // Step 3: Collapse A -> 0 extra fetches, updates aria-expanded and chevronCOMMENT
LOW⚡tests/test_chatgpt_subscription_usage_js.py429 // Step 4: Re-open A -> 0 extra fetches (cached DOM reused)COMMENT
LOW⚡tests/test_chatgpt_subscription_usage_js.py433 // Step 5: Refresh A -> forces fetch with ?refresh=1COMMENT
LOW⚡tests/test_upload_no_login.py843 # Step 1: Upload in no-login modeCOMMENT
LOWtests/test_upload_no_login.py874 # Step 2: Transition to AUTH_ENABLED=trueCOMMENT
LOWstatic/js/group.js528 // Step 2: Character assignmentCOMMENT
LOWstatic/js/documentLibrary.js1241 // Step 1: switch session if needed and wait for it to loadCOMMENT
LOWstatic/js/editor/tools/lasso-mask.js75 // Step 1: draw hard maskCOMMENT
LOWstatic/js/editor/tools/lasso-mask.js111 // Step 2: pixel data and distance-based feather.COMMENT
LOW⚡scripts/check-docker-gpu.sh525 # Step 1: prerequisitesCOMMENT
LOW⚡scripts/check-docker-gpu.sh533 # Step 2: signing keyCOMMENT
LOW⚡scripts/check-docker-gpu.sh541 # Step 3: apt repositoryCOMMENT
LOW⚡scripts/check-docker-gpu.sh550 # Step 4: install toolkitCOMMENT
LOW⚡scripts/check-docker-gpu.sh558 # Step 5: configure Docker runtimeCOMMENT
LOW⚡scripts/check-docker-gpu.sh565 # Step 6: restart DockerCOMMENT
LOW⚡scripts/check-docker-gpu.sh587 # Step 7: verificationCOMMENT
LOW⚡scripts/check-docker-gpu.sh593 # Step 8: enable overlay (only if passthrough verified)COMMENT
LOWsrc/deep_research.py318- Then the detailed steps: ## Step 1: ..., ## Step 2: ...CODE
Hallucination Indicators2 hits · 30 pts
SeverityFileLineSnippetContext
CRITICAL⚡tests/test_effect_resource_bindings.py111 run.journal.effects.path.parent.mkdir() # the record is written; only its directory entry failsCODE
CRITICAL⚡tests/test_session_mode_helpers.py56 sess.query.return_value.filter.return_value.update.assert_called_once_with({"mode": "agent"})CODE
Redundant / Tautological Comments21 hits · 29 pts
SeverityFileLineSnippetContext
LOWcore/database.py1858 # Check if prompt/schedule/scheduled_time are still NOT NULL — need table rebuildCOMMENT
LOWtests/test_api_key_manager_atomic_save.py65 # Close the file then raiseCOMMENT
LOWtests/test_tts_service_enforce_cache_limit.py27 # Set limit to 100 bytes. 80% target capacity will be 80 bytes.COMMENT
LOWtests/test_chat_route_tool_policy.py144 # Check if 'body' appears in the valueCOMMENT
LOWscripts/diffusion_server.py529 # Check if it's a HF repo with a single safetensors fileCOMMENT
LOWscripts/diffusion_server.py900 # Check if the main pipeline IS already an inpaint pipelineCOMMENT
LOWscripts/index_documents.py54 # Check if directory existsCOMMENT
LOWscripts/index_documents.py87 # Display resultsCOMMENT
LOWroutes/shell_routes.py853 # Set master to non-blockingCOMMENT
LOWroutes/shell_routes.py1058 # Check if tmux session is still aliveCOMMENT
LOWroutes/cookbook_routes.py4231 # Check if session is alive + capture outputCOMMENT
LOWroutes/cookbook_routes.py1990 ps_lines.append('# Check if ollama is available')CODE
LOWroutes/mcp/mcp_routes.py276 # Check if OAuth token already exists — skip connection attempt if notCOMMENT
LOWroutes/mcp/mcp_routes.py524 # Check if this callback belongs to a legacy Google flow vs expired generic flowCOMMENT
LOWroutes/mcp/mcp_routes.py561 # Check if this exchange belongs to a legacy Google flow vs expired generic flowCOMMENT
LOWroutes/document/document_routes.py876 # Check if we can coalesce with the latest versionCOMMENT
LOWsrc/config.py194 # Check if LLM host is reachable if specifiedCOMMENT
LOWsrc/config.py199 # Check if API keys are set when neededCOMMENT
LOWsrc/memory.py395 # Check if this is an identity memory (contains name patterns or identity indicators)COMMENT
LOWsrc/upload_handler.py1306 # Check if file type is safeCOMMENT
LOWsrc/integrations.py797 # Check if a miniflux integration already existsCOMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGHcore/database.py395 ai_tags = Column(Text, nullable=True, default="") # AI-generated tags (comma-separated)CODE
HIGHfrontend/src/features/notes/ui/editor.js162 // Going Goal→Todo keeps the AI-generated steps as a plain checklist.COMMENT
HIGHstatic/js/features/notes/ui/editor.js162 // Going Goal→Todo keeps the AI-generated steps as a plain checklist.COMMENT
Self-Referential Comments9 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMlauncher.py24# Define a dummy NullWriter to suppress standard stream crashes (isatty etc.) in GUI modeCOMMENT
MEDIUMtests/test_tts_service_enforce_cache_limit.py80 # Create a file to evictCOMMENT
MEDIUMtests/test_rag_search_signature.py8 # Create a mock instance for VectorRAGCOMMENT
MEDIUMtests/test_skills_delete_owner.py46 # Create an owner-scoped skill (owner="alice")STRING
MEDIUMtests/test_skills_delete_owner.py71 # Create an owner-scoped skill (owner="alice")STRING
MEDIUMsrc/task_scheduler.py882 # Create the run record with status="queued" BEFORE waiting on theCOMMENT
MEDIUMsrc/task_scheduler.py2843 # Create the singleton session first (CrewMember.session_id links to it).COMMENT
MEDIUMsrc/task_scheduler.py2860 # Create the assistant CrewMember.COMMENT
MEDIUMsrc/turn_contract.py5702 # Creating a local artifact does not replace the explicitly namedCOMMENT
Dead Code9 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_workspace_confine.py421CODE
MEDIUMtests/test_delete_user_revokes_api_tokens.py125CODE
MEDIUMtests/test_tool_policy.py2047CODE
MEDIUMtests/test_agent_rounds_exhausted.py52CODE
MEDIUMtests/test_spec_route_policy_conflict.py76CODE
MEDIUMtests/test_spec_route_policy_conflict.py196CODE
MEDIUMtests/test_spec_route_policy_conflict.py229CODE
MEDIUMtests/test_scheduler_prompt_cache_time.py58CODE
MEDIUMtests/test_external_context_tool_gate.py1371CODE
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/test_security_regressions.py1424 def handle_request(self, req):CODE
LOWtests/test_skill_importer_dns_pinning.py79 def handle_request(self, request):CODE
LOWservices/memory/skill_importer.py195 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/outbound_fetch.py181 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE