AI Slop Code RIsk Monitor

odysseus-dev/odysseus

Self-hosted AI workspace.

33.3 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for odysseus-dev/odysseus, a Python project with 92,749 GitHub stars. SynthScan examined 720,150 lines of code across 2299 source files, recording 16984 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 33.3 (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.

33.3
Adjusted Signal
33.3
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
92.7K
Stars
Python
Language
720.1K
Lines of Code
2.3K
Files
17.0K
Pattern Hits
2026-10-12
Scan Date
0.55
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 54.8/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 29.4/100 · MEDIUM

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

Agent Over-Engineering Ratio 71.1/100 · HIGH

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

PR Review Velocity Impact 82.9/100 · CRITICAL

Which changes need focused human review? 16984 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 1265MEDIUM 1038LOW 14679

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 16984 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 Identifiers10646 hits · 10284 pts
SeverityFileLineSnippetContext
LOWsetup.py55def _prompt_admin_credentials():CODE
LOW⚡app.py621async def session_not_found_handler(request: Request, exc: SessionNotFoundError):CODE
LOW⚡app.py625async def invalid_file_upload_handler(request: Request, exc: InvalidFileUploadError):CODE
LOW⚡app.py629async def llm_service_error_handler(request: Request, exc: LLMServiceError):CODE
LOWapp.py20def register_static_mime_types() -> None:CODE
LOWapp.py1076def _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
10586 more matches not shown…
Cross-Language Confusion715 hits · 4266 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_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_preset_local_storage_js.py21 }}[key] ?? null;CODE
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_editor_brush_engine_js.py32 emit: sample => samples.push(sample),CODE
HIGHtests/test_editor_brush_engine_js.py63 const storage = {{ getItem:key => values.get(key) || null, setItem:(key,value) => values.set(key,value) }};CODE
HIGHtests/test_document_rich_keyboard_shortcuts.py38 let block = null;CODE
HIGHtests/test_local_endpoint_api_key_js.py59class FormData {{ append(k, v) {{ appended.push([k, String(v)]); }} }}CODE
HIGHtests/test_local_endpoint_api_key_js.py62 if (!(id in FIELDS)) return null;CODE
HIGHtests/test_local_endpoint_api_key_js.py75let _recentlyAddedEpId = null;CODE
HIGHtests/test_editor_layer_geometry_js.py22 globalThis.document = {{activeElement:null}};CODE
HIGH⚡tests/test_editor_layer_geometry_js.py65 transformActive:false,transformLayer:null,transformOrigOffset:null,CODE
HIGH⚡tests/test_editor_layer_geometry_js.py69 activeLayer:()=>layer,saveState:label=>labels.push(label),composite:()=>{},CODE
HIGHtests/test_editor_layer_geometry_js.py105 activeLayer:()=>layer,saveState:label=>labels.push(label),composite:()=>{},CODE
HIGHtests/test_editor_layer_geometry_js.py106 onPositionChange:(_layer,_before,next)=>positions.push(next),CODE
HIGHtests/test_editor_layer_geometry_js.py136 const controller=createLayerGeometryController({activeLayer:()=>layer,saveState:label=>labels.push(label),composCODE
HIGHtests/test_editor_layer_geometry_js.py137 const tool=createMoveTool({activeLayer:()=>layer,saveState:label=>labels.push(label),composite:()=>{}});CODE
HIGHtests/test_editor_layer_geometry_js.py167 const tool=createMoveTool({activeLayer:()=>layer,saveState:label=>labels.push(label),composite:()=>{}});CODE
HIGHtests/test_editor_layer_geometry_js.py173 layer.activeMaskId=null;CODE
HIGH⚡tests/test_startup_shell_js.py37 addElement(id, { statusText = null } = {}) {CODE
HIGH⚡tests/test_startup_shell_js.py44 status: null,CODE
HIGH⚡tests/test_startup_shell_js.py49 return sel === '[data-session-list-status]' ? this.status : null;CODE
HIGH⚡tests/test_startup_shell_js.py52 if (statusText !== null) el.status = { textContent: statusText };CODE
HIGH⚡tests/test_startup_shell_js.py70 globalThis.document = { getElementById: (id) => byId.get(id) || null };CODE
HIGH⚡tests/test_startup_shell_js.py72 globalThis.requestAnimationFrame = (fn) => { frames.push(fn); return frames.length; };CODE
HIGH⚡tests/test_startup_shell_js.py73 globalThis.setTimeout = (fn, ms) => { timers.push({ fn, ms }); return timers.length; };CODE
HIGH⚡tests/test_startup_shell_js.py87 opacity: loader.style.opacity ?? null,CODE
HIGH⚡tests/test_startup_shell_js.py88 pointerEvents: loader.style.pointerEvents ?? null,CODE
HIGH⚡tests/test_startup_shell_js.py89 ariaHidden: loader.getAttribute('aria-hidden') ?? null,CODE
HIGHtests/test_startup_shell_js.py238 const succeeded = await shell.settleSessionHydration(null);CODE
HIGH⚡tests/test_calendar_utils_dates_js.py29 addNull: _addDays(null, 1),STRING
HIGH⚡tests/test_calendar_utils_dates_js.py31 shiftNull: _shiftDT(null, 1),STRING
HIGH⚡tests/test_calendar_utils_dates_js.py33 localNull: _localDateOf(null),STRING
HIGH⚡tests/test_chatgpt_subscription_usage_js.py350 toggleBtn.querySelector = sel => sel.includes('chevron') ? chevron : null;CODE
HIGH⚡tests/test_chatgpt_subscription_usage_js.py351 toggleBtn.closest = sel => sel.includes('admin-user-row') ? row : null;CODE
HIGH⚡tests/test_chatgpt_subscription_usage_js.py355 reconnectBtn.closest = sel => sel.includes('admin-user-row') ? row : null;CODE
HIGH⚡tests/test_chatgpt_subscription_usage_js.py366 return null;CODE
HIGH⚡tests/test_chatgpt_subscription_usage_js.py376 async url => {{ urls.push(url); return {{ ok: true, json: async () => ({{available: true, usage: {{limits: []}}}CODE
HIGH⚡tests/test_chatgpt_subscription_usage_js.py378 async (provider, options) => {{ operations.push(Object.fromEntries(options.formData)); return {{ status: 'authorCODE
HIGH⚡tests/test_chatgpt_subscription_usage_js.py494 toggleBtn.querySelector = sel => sel.includes('chevron') ? chevron : null;CODE
HIGH⚡tests/test_chatgpt_subscription_usage_js.py495 toggleBtn.closest = sel => sel.includes('admin-user-row') ? row : null;CODE
HIGH⚡tests/test_chatgpt_subscription_usage_js.py499 reconnectBtn.closest = sel => sel.includes('admin-user-row') ? row : null;CODE
HIGHtests/test_chatgpt_subscription_usage_js.py250 async url => {{ urls.push(url); return {{ ok: true, json: async () => ({{available: true, usage: {{limits: []}}}CODE
655 more matches not shown…
Decorative Section Separators862 hits · 3148 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
802 more matches not shown…
Empty Error Handlers526 hits · 2525 pts
SeverityFileLineSnippetContext
HIGHapp.py1381except Exception:CODE
HIGHapp.py1365except asyncio.CancelledError:CODE
HIGHapp.py1376except asyncio.CancelledError:CODE
HIGHlauncher.py115except Exception:CODE
HIGHlauncher.py128except Exception:CODE
HIGHlauncher.py69except Exception: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.py35except ImportError:CODE
HIGHtests/test_security_regressions.py1370except _socket.timeout:CODE
HIGHtests/conftest.py29except ImportError:CODE
HIGHtests/_shards.py154except (OSError, ValueError):CODE
HIGHtests/test_caldav_redirect_hardening.py73except Exception:CODE
466 more matches not shown…
Excessive Try-Catch Wrapping2100 hits · 1621 pts
SeverityFileLineSnippetContext
LOWsetup.py221 except Exception:CODE
LOWsetup.py268 except Exception as e:CODE
LOWsetup.py278 except Exception as e:CODE
MEDIUMapp.py218def _stop_background():CODE
MEDIUMapp.py657def _stop_background():CODE
MEDIUMapp.py1076def _docker_default_gateway_ip() -> str:CODE
MEDIUMapp.py1151def _startup_mcp_connections():CODE
LOW⚡app.py1262 except Exception as e:CODE
LOW⚡app.py1269 except Exception as e:CODE
LOW⚡app.py1271 except Exception as e:CODE
LOW⚡app.py1381 except Exception:CODE
LOW⚡app.py1386 except Exception as e:CODE
LOW⚡app.py1391 except Exception as e:CODE
LOWapp.py121except Exception as e:CODE
LOWapp.py221 except Exception:CODE
LOWapp.py240 except Exception:CODE
LOWapp.py401 except Exception as _e:CODE
LOWapp.py458 except Exception as _e:CODE
LOWapp.py468 except Exception:CODE
LOWapp.py539 except Exception as _e:CODE
LOWapp.py662 except Exception:CODE
LOWapp.py973 except Exception:CODE
LOWapp.py992 except Exception:CODE
LOWapp.py1015 except Exception:CODE
LOWapp.py1088 except Exception:CODE
LOWapp.py1125 except Exception as e:CODE
LOWapp.py1147 except Exception as _e:CODE
LOWapp.py1206 except Exception as e:CODE
LOWapp.py1208 except Exception as e:CODE
LOWapp.py1225 except Exception as e:CODE
LOWapp.py1240 except Exception as e:CODE
LOWapp.py1286 except Exception as e:CODE
LOWapp.py1305 except Exception as e:CODE
LOWapp.py1328 except Exception as e:CODE
LOWapp.py1370 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
2040 more matches not shown…
Unused Imports720 hits · 640 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.py33CODE
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.py61CODE
LOWtests/conftest.py25CODE
LOWtests/conftest.py26CODE
LOWtests/conftest.py27CODE
660 more matches not shown…
Deep Nesting741 hits · 524 pts
SeverityFileLineSnippetContext
LOWsetup.py240CODE
LOWapp.py517CODE
LOWapp.py1008CODE
LOWapp.py1076CODE
LOWapp.py1106CODE
LOWapp.py368CODE
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.py229CODE
LOWtests/test_turn_contract_integration.py137CODE
LOWtests/test_turn_contract_integration.py276CODE
LOWtests/test_model_routes.py1580CODE
LOWtests/test_skill_importer_dns_pinning.py154CODE
LOWtests/test_skill_importer_dns_pinning.py171CODE
LOWtests/test_tool_index_schema_parity.py18CODE
LOWtests/test_fenced_inline_args.py145CODE
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.py60CODE
LOWtests/test_review_regressions.py1494CODE
LOWtests/test_toast_dismiss_pointer_events.py30CODE
LOWtests/test_toast_dismiss_pointer_events.py51CODE
LOWtests/test_toast_dismiss_pointer_events.py108CODE
LOWtests/test_tool_implementations_shim.py115CODE
LOWtests/test_browser_resource_identity.py301CODE
LOWtests/test_chat_route_tool_policy.py125CODE
LOWtests/test_chat_route_tool_policy.py153CODE
LOWtests/test_clean_v3_native_workspace.py95CODE
LOWtests/test_app_config_shared_fetch_js.py215CODE
LOWtests/test_product_turn_contract_route.py42CODE
LOWtests/test_document_diff_discard_on_update_js.py30CODE
LOWtests/test_webhook_trigger_auth_exempt.py30CODE
LOWtests/test_email_library_module_graph_js.py111CODE
681 more matches not shown…
Modern AI Meta-Vocabulary71 hits · 202 pts
SeverityFileLineSnippetContext
MEDIUMrequirements.txt18# 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.py562# ========= 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.md132## 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.py147 # rest of the shell/file defaults and the RAG hit survive.COMMENT
MEDIUMtests/test_task_shell_tools.py153 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.js1307// 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.py552 # 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.py1421 # all 100+ chats to one LLM call blows the context window, makesCOMMENT
MEDIUMroutes/chat_routes.py2584 # lexical intent classifier: that recreated the same per-turn RAG gateCOMMENT
MEDIUMroutes/chat_routes.py2849 # every other model continues through the legacy RAG path.COMMENT
MEDIUMroutes/chat_routes.py2987 # A compact turn resolves its typed context window once, here, withCOMMENT
MEDIUMroutes/chat_routes.py3161 # bypass the contract and let tool RAG replace (for example) a browserCOMMENT
MEDIUMroutes/chat_routes.py4524 # drowned out by lexical RAG (for example, the wordCOMMENT
MEDIUMroutes/chat_helpers.py1125 # or personal-doc RAG on every turn pulls in keyword-matched but off-topicCOMMENT
MEDIUMroutes/chat_helpers.py1131 # Use RAG?COMMENT
MEDIUMroutes/skills_routes.py2394 # 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.py1119 # Detect email-scaffold stubs: "To: \nSubject: \n---\n" styleCOMMENT
MEDIUMroutes/email/email_pollers.py1198 # sometimes hallucinate a map URLSTRING
MEDIUMservices/memory/skill_extractor.py221 # 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.py250 # Without this, upsert leaves them in place and RAG keepsCOMMENT
MEDIUMsrc/tool_index.py327 # Include server identity in the indexed text so RAG canCOMMENT
MEDIUM⚡src/task_scheduler.py1722 # RAG-select relevant tools for this prompt + always-available assistant tools.COMMENT
MEDIUMsrc/task_scheduler.py42# setting turns them off). The RAG tool selector + ASSISTANT_ALWAYS_AVAILABLECOMMENT
MEDIUMsrc/task_scheduler.py1760 # Strip the model's chain-of-thought before saving/delivering. TaskCOMMENT
MEDIUMsrc/context_compactor.py94COMPACT_THRESHOLD = 0.85 # Trigger compaction at 85% of context windowCODE
MEDIUMsrc/context_compactor.py336 # 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
11 more matches not shown…
Modern Structural Boilerplate178 hits · 172 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/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.py19logger = logging.getLogger(__name__)CODE
LOW⚡routes/personal_routes.py22logger = logging.getLogger(__name__)CODE
LOWroutes/shell_routes.py125logger = logging.getLogger(__name__)CODE
LOWroutes/editor_draft_routes.py32logger = logging.getLogger(__name__)CODE
LOWroutes/auth_routes.py41logger = 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.py723 def set_flag(flag: str, value: str) -> None:CODE
LOWroutes/cookbook_routes.py791 def set_flag(flag: str, value: str) -> None:CODE
LOWroutes/preset_routes.py15logger = logging.getLogger(__name__)CODE
LOWroutes/upload_routes.py34logger = 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.py106logger = logging.getLogger(__name__)CODE
LOWroutes/chat_routes.py2130def _set_user_time_from_request(request: Request) -> None:CODE
LOWroutes/model_routes.py51logger = logging.getLogger(__name__)CODE
LOWroutes/chat_helpers.py27logger = logging.getLogger(__name__)CODE
LOWroutes/calendar_routes.py21logger = logging.getLogger(__name__)CODE
LOWroutes/skills_routes.py25logger = logging.getLogger(__name__)CODE
LOW⚡routes/research/research_routes.py72logger = 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.py31logger = logging.getLogger(__name__)CODE
LOWroutes/contacts/contacts_routes.py31logger = logging.getLogger(__name__)CODE
LOWroutes/mcp/mcp_routes.py19logger = logging.getLogger(__name__)CODE
LOWroutes/document/document_routes.py21logger = 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.py112def _set_email_writing_style_for_account(settings: dict, style: str, account_id: str | None = None) -> None:CODE
LOWroutes/email/email_routes.py72logger = logging.getLogger(__name__)CODE
LOWroutes/email/email_routes.py136def _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.py22logger = logging.getLogger(__name__)CODE
LOWservices/memory/skill_extractor.py13logger = logging.getLogger(__name__)CODE
LOWservices/memory/memory_vector.py5__all__ = ["MemoryVectorStore"]CODE
118 more matches not shown…
Over-Commented Block183 hits · 160 pts
SeverityFileLineSnippetContext
LOWrequirements.txt21# chromadb-client is the lightweight HTTP client (talks to a standaloneCOMMENT
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
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_memory_store_unreadable_no_wipe.py161COMMENT
LOWtests/test_email_library_module_graph_js.py61 names.add(name)COMMENT
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/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.css2701COMMENT
LOWstatic/css/17-research.css2721) {COMMENT
LOWstatic/js/chatRenderer.js3461 }COMMENT
LOWstatic/js/galleryEditor.js361 }, true);COMMENT
LOWstatic/js/galleryEditor.js381// Last seed click so the tolerance slider can re-run the wand live.COMMENT
LOWstatic/js/galleryEditor.js401// Resolved per-stroke at pointerdown: state.inpaintEraseMode XOR (Ctrl+Alt).COMMENT
LOWstatic/js/galleryEditor.js981}COMMENT
LOWstatic/js/galleryEditor.js2961 if (state.gradientActive) return _gradientTool.end(e);COMMENT
LOWstatic/js/galleryEditor.js2981// Clone Stamp painter — stamps circular samples from the sourceCOMMENT
LOWstatic/js/galleryEditor.js3981// ── Magic Wand ──COMMENT
LOWstatic/js/galleryEditor.js5721 inpaintSection.style.display = 'none';COMMENT
LOWstatic/js/galleryEditor.js5941 wireSliderUx({ registerDocClickAway: _registerDocClickAway });COMMENT
LOWstatic/js/galleryEditor.js6161 precisionGuides: _precisionGuides,COMMENT
LOWstatic/js/modalSnap.js1// Right-edge snap docking for draggable modals.COMMENT
LOWstatic/js/cookbookServe.js1561 // are read together. .hwfit-backend-llamacpp visibility classCOMMENT
LOWstatic/js/cookbookServe.js1601 panelHtml += `</div>`;COMMENT
LOWstatic/js/cookbookServe.js1641 // Everything below the fold is tuning users only touch occasionally:COMMENT
LOWstatic/js/cookbookServe.js1721 // shared checkbox maps to different runtime flags.COMMENT
LOWstatic/js/cookbookServe.js3681 if (!_proceed) { _restoreLaunchBtn(); return; }COMMENT
LOWstatic/js/ui.js1061 // Escape-stack entry); unregistered ones (email/dep) just get removed.COMMENT
LOWstatic/js/ui.js1381 if (e.key !== 'Escape' || e.defaultPrevented) return;COMMENT
LOWstatic/js/cookbook.js1201 // Kept the variable so downstream concat code stays the same.COMMENT
LOWstatic/js/cookbook.js1521 list.querySelectorAll('.cookbook-dep-install:not(.cookbook-dep-recipe-run):not(.cookbook-dep-install-sysdeps)').forECOMMENT
LOWstatic/js/cookbook.js2421 if (dlBtn && dlInput) {COMMENT
LOWstatic/js/notes.js3741 // Save. Prevent the button from stealing focus on press: on mobile, theCOMMENT
LOWstatic/js/cookbookSchedule.js1// Cookbook Schedule — opens a small inline form (styled with the app'sCOMMENT
123 more matches not shown…
AI Slop Vocabulary42 hits · 106 pts
SeverityFileLineSnippetContext
MEDIUMbuild-macos-app.sh34 # let sips emit the .icns directly: more robust across macOS versions thanCOMMENT
MEDIUMapp.py1168 # 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.py450 # 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.py4376 # Probe a tool whose compact description the harness does notSTRING
MEDIUMtests/test_clean_agent_preview.py4377 # 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
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.py1138 # also breaks robust resume on flaky transfers — the blob-based hubCOMMENT
MEDIUMroutes/chat_routes.py2848 # harness ownership follows that model, not the endpoint alias;COMMENT
LOWroutes/history/history_routes.py362 # 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.py300 # Keep the selected schema; validate completion in the harness.COMMENT
MEDIUMsrc/clean_agent_preview.py5113 # harness-owned completion recovery. Persisting that empty assistantCOMMENT
MEDIUMsrc/clean_agent_preview.py5195 # no model output or tool proposal could have reached the harness.COMMENT
MEDIUMsrc/clean_agent_preview.py6590 # 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.py1280 # 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 Data49 hits · 47 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.py2016 api_key="fake-key",CODE
LOW⚡tests/test_model_routes.py2025 "api_key": "fake-key",CODE
LOW⚡tests/test_model_routes.py2073 "api_key": "fake-key",CODE
LOW⚡tests/test_model_routes.py2088 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.py1778 api_key="fake-key",CODE
LOWtests/test_model_routes.py1811 api_key="fake-key",CODE
LOWtests/test_model_routes.py1836 api_key="fake-key",CODE
LOWtests/test_model_routes.py1860 api_key="fake-key",CODE
LOWtests/test_model_routes.py2055 api_key="fake-key",CODE
LOWtests/test_model_routes.py2119 "api_key": "fake-key",CODE
LOWtests/test_model_routes.py2169 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.py892 (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_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_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.py3318 'unknown', 'placeholder', '1',CODE
AI Structural Patterns52 hits · 34 pts
SeverityFileLineSnippetContext
LOWtests/test_model_routes.py1664CODE
LOWtests/test_model_routes.py721CODE
LOWtests/test_model_routes.py741CODE
LOWtests/test_turn_contract.py105CODE
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.py2787CODE
LOWroutes/shell_routes.py1209CODE
LOWroutes/hwfit_routes.py217CODE
LOWroutes/hwfit_routes.py345CODE
LOWroutes/hwfit_routes.py439CODE
LOWroutes/session_routes.py520CODE
LOWroutes/chat_routes.py240CODE
LOWroutes/model_routes.py2134CODE
LOWroutes/chat_helpers.py104CODE
LOWroutes/chat_helpers.py1006CODE
LOWroutes/chat_helpers.py1520CODE
LOWroutes/chat_helpers.py1676CODE
LOWroutes/gallery/gallery_routes.py689CODE
LOWroutes/mcp/mcp_routes.py159CODE
LOWroutes/compare/compare_routes.py71CODE
LOWroutes/email/email_pollers.py494CODE
LOWroutes/email/email_pollers.py565CODE
LOWroutes/email/email_pollers.py633CODE
LOWroutes/email/email_routes.py2748CODE
LOWservices/memory/skills.py142CODE
LOWservices/memory/skills.py364CODE
LOWservices/search/core.py1008CODE
LOWsrc/teacher_escalation.py570CODE
LOWsrc/text_helpers.py143CODE
LOWsrc/clean_agent_preview.py3495CODE
LOWsrc/clean_agent_preview.py5235CODE
LOWsrc/research_handler.py256CODE
LOWsrc/research_handler.py961CODE
LOWsrc/model_capabilities.py486CODE
LOWsrc/chat_processor.py269CODE
LOWsrc/turn_contract.py6353CODE
LOWsrc/preset_manager.py135CODE
LOWsrc/visual_report.py102CODE
LOWsrc/llm_core.py2571CODE
LOWsrc/llm_core.py2900CODE
LOWsrc/llm_core.py2926CODE
LOWsrc/tool_execution.py1616CODE
LOWsrc/tool_execution.py1915CODE
LOWsrc/tool_approvals.py375CODE
LOWsrc/deep_research.py345CODE
LOWsrc/model_capability_readers/llamacpp.py247CODE
LOWsrc/agent_tools/web_tools.py2276CODE
LOWsrc/agent_runtime/authority.py364CODE
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
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
Verbosity Indicators18 hits · 29 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
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
Structural Annotation Overuse17 hits · 26 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
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
Redundant / Tautological Comments19 hits · 26 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.py852 # Set master to non-blockingCOMMENT
LOWroutes/shell_routes.py1057 # Check if tmux session is still aliveCOMMENT
LOWroutes/cookbook_routes.py4440 # Check if session is alive + capture outputCOMMENT
LOWroutes/cookbook_routes.py2157 ps_lines.append('# Check if ollama is available')CODE
LOWroutes/mcp/mcp_routes.py263 # Check if OAuth token already exists — skip connection attempt if notCOMMENT
LOWroutes/document/document_routes.py869 # 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
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.py823 # Create the run record with status="queued" BEFORE waiting on theCOMMENT
MEDIUMsrc/task_scheduler.py2768 # Create the singleton session first (CrewMember.session_id links to it).COMMENT
MEDIUMsrc/task_scheduler.py2785 # Create the assistant CrewMember.COMMENT
MEDIUMsrc/turn_contract.py5679 # Creating a local artifact does not replace the explicitly namedCOMMENT
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHcore/database.py395 ai_tags = Column(Text, nullable=True, default="") # AI-generated tags (comma-separated)CODE
HIGHstatic/js/notes.js3181 // Going Goal→Todo keeps the AI-generated steps as a plain checklist.COMMENT
Dead Code6 hits · 11 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_scheduler_prompt_cache_time.py54CODE
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