Repository Analysis

Alishahryar1/free-claude-code

Use Claude Code, Codex, Pi, and OpenCode and more for free (1.3B+ free tokens) from your terminal, app, IDE, or phone like OpenClaw (voice supported + ToS friendly)

24.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Alishahryar1/free-claude-code, a Python project with 51,155 GitHub stars. SynthScan v2.0 examined 148,251 lines of code across 562 source files, recording 3638 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 24.7 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

24.7
Adjusted Score
24.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
51.2K
Stars
Python
Language
148.3K
Lines of Code
562
Files
3.6K
Pattern Hits
2026-08-29
Scan Date
0.07
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 40MEDIUM 14LOW 3584

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 3638 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers3152 hits · 2989 pts
SeverityFileLineSnippetContext
LOWsmoke/conftest.py23def pytest_collection_modifyitems(items: list[pytest.Item]) -> None:CODE
LOWsmoke/prereq/test_messaging_prereq_live.py12def test_telegram_bot_api_permissions(smoke_config: SmokeConfig) -> None:CODE
LOWsmoke/prereq/test_messaging_prereq_live.py54def test_discord_bot_api_permissions(smoke_config: SmokeConfig) -> None:CODE
LOWsmoke/prereq/test_messaging_prereq_live.py103def test_interactive_inbound_messaging_requires_explicit_mode(CODE
LOWsmoke/prereq/test_voice_prereq_live.py17async def test_voice_transcription_backend_when_explicitly_enabled(CODE
LOWsmoke/prereq/test_cli_prereq_live.py19def test_fcc_server_entrypoint_starts_server(smoke_config: SmokeConfig) -> None:CODE
LOWsmoke/prereq/test_cli_prereq_live.py29def test_claude_cli_prompt_when_available(CODE
LOW…ke/prereq/test_local_provider_endpoints_prereq_live.py9def test_lmstudio_models_endpoint_when_available(smoke_config: SmokeConfig) -> None:CODE
LOW…ke/prereq/test_local_provider_endpoints_prereq_live.py19def test_llamacpp_models_endpoint_when_available(smoke_config: SmokeConfig) -> None:CODE
LOW…ke/prereq/test_local_provider_endpoints_prereq_live.py29def test_ollama_models_endpoint_when_available(smoke_config: SmokeConfig) -> None:CODE
LOWsmoke/prereq/test_client_shapes_prereq_live.py10def test_vscode_and_jetbrains_shaped_requests(CODE
LOWsmoke/prereq/test_tools_prereq_live.py18def test_live_tool_use_when_configured_model_supports_tools(CODE
LOWsmoke/prereq/test_provider_prereq_live.py23def test_model_mapping_configuration_is_consistent(smoke_config: SmokeConfig) -> None:CODE
LOWsmoke/prereq/test_provider_prereq_live.py32def test_mixed_provider_model_mapping_when_configured(CODE
LOWsmoke/prereq/test_provider_prereq_live.py51def test_configured_provider_models_stream_successfully(CODE
LOWsmoke/prereq/test_provider_prereq_live.py84def test_client_disconnect_mid_stream_does_not_crash_server(CODE
LOWsmoke/prereq/test_auth_prereq_live.py12def test_bearer_auth_is_the_only_supported_header_shape(CODE
LOWsmoke/prereq/test_api_prereq_live.py13def test_probe_and_models_routes(CODE
LOWsmoke/prereq/test_api_prereq_live.py40def test_count_tokens_accepts_thinking_tools_and_results(CODE
LOWsmoke/prereq/test_api_prereq_live.py95def test_optimization_fast_paths_do_not_need_provider(CODE
LOWsmoke/prereq/test_api_prereq_live.py167def test_invalid_messages_returns_anthropic_error(CODE
LOWsmoke/prereq/test_api_prereq_live.py185def test_stop_endpoint_reports_no_messaging(CODE
LOWsmoke/product/test_provider_product_live.py266def _assert_provider_product_stream(events: list[SSEEvent]) -> None:CODE
LOWsmoke/product/test_provider_product_live.py280def _provider_smoke_reasoning_enabled(smoke_config: SmokeConfig) -> bool:CODE
LOWsmoke/product/test_provider_product_live.py300def _scenario_adaptive_thinking_history(CODE
LOWsmoke/product/test_provider_product_live.py325def _scenario_interleaved_history(CODE
LOWsmoke/product/test_provider_product_live.py365def _scenario_tool_use_then_text_in_history(CODE
LOWsmoke/product/test_provider_product_live.py411def _scenario_tool_result_continuation(CODE
LOWsmoke/product/test_provider_product_live.py455def _scenario_interrupted_tool_turn_resume(CODE
LOWsmoke/product/test_provider_product_live.py500def _scenario_gemini_thought_signature_tool_continuation(CODE
LOWsmoke/product/test_provider_product_live.py551def _gemini_tool_thought_signature(tool_use: dict[str, Any]) -> str | None:CODE
LOWsmoke/product/test_provider_product_live.py562def _scenario_reasoning_tool_continuation(CODE
LOWsmoke/product/test_runtime_ownership_product_live.py172def _write_initial_managed_config(home: Path, upstream: FakeOpenAIUpstream) -> None:CODE
LOWsmoke/product/test_runtime_ownership_product_live.py190def _wait_for_generation_close(server: RunningServer, generation_id: int) -> None:CODE
LOWsmoke/product/test_client_product_live.py1112def _provider_credential_env_keys() -> set[str]:CODE
LOWsmoke/product/test_client_product_live.py1120def _local_provider_overrides(CODE
LOWsmoke/product/test_client_product_live.py1236def _deliberately_failing_openai_provider() -> Iterator[tuple[str, list[str]]]:CODE
LOWsmoke/product/test_client_product_live.py1299def _successful_openai_provider(CODE
LOWsmoke/lib/skips.py10def skip_upstream_unavailable(reason: str) -> None:CODE
LOWsmoke/lib/skips.py18def skip_if_upstream_unavailable_exception(exc: Exception) -> None:CODE
LOWsmoke/lib/skips.py34def skip_if_upstream_unavailable_events(events: list[SSEEvent]) -> None:CODE
LOWsmoke/lib/config.py246 def openrouter_free_cli_models(self) -> list[ProviderModel]:CODE
LOWsmoke/lib/config.py253 def mistral_reasoning_smoke_model(self) -> ProviderModel | None:CODE
LOWsmoke/lib/config.py268 def _include_provider_in_smoke(CODE
LOWsmoke/lib/config.py280 def has_provider_configuration(self, provider: str) -> bool:CODE
LOWsmoke/lib/config.py322def _normalize_provider_model(provider: str, raw_model: str) -> str:CODE
LOWsmoke/lib/config.py332def nvidia_nim_cli_model_refs(CODE
LOWsmoke/lib/config.py362def openrouter_free_cli_model_refs(CODE
LOWsmoke/lib/local_providers.py14def first_local_provider_model_id(CODE
LOWsmoke/lib/local_providers.py35def _first_openai_compatible_model_id(CODE
LOWsmoke/lib/local_providers.py54def _get_local_provider_response(CODE
LOWsmoke/lib/claude_cli_matrix.py141def _build_claude_cli_command(CODE
LOWsmoke/lib/claude_cli_matrix.py478def _interleaved_thinking_tool(CODE
LOWsmoke/lib/e2e.py220 def adaptive_thinking_payload() -> dict[str, Any]:CODE
LOWsmoke/lib/e2e.py343 def continue_message_sequence_after(self, previous: FakePlatform) -> None:CODE
LOWsmoke/lib/e2e.py468 async def cancel_all_pending_voices(CODE
LOWsmoke/lib/e2e.py480 async def cancel_pending_voices_in_scope(CODE
LOWsmoke/lib/e2e.py674def assistant_content_from_events(events: list[SSEEvent]) -> list[dict[str, Any]]:CODE
LOWsmoke/lib/outcomes.py33def is_upstream_unavailable_text(text: str) -> bool:CODE
LOWtests/conftest.py226def _propagate_loguru_to_caplog():CODE
3092 more matches not shown…
Cross-Language Confusion30 hits · 178 pts
SeverityFileLineSnippetContext
HIGHtests/contracts/test_issue_form_version_validation.py213const record = (name, args) => calls.push({ name, args });CODE
HIGHtests/contracts/test_issue_form_version_validation.py226 liveIssue.labels.push(...args.labels.map((name) => ({ name })));CODE
HIGHtests/contracts/test_issue_form_version_validation.py234 comments.push({CODE
HIGHtests/contracts/test_issue_form_version_validation.py286comments.push({CODE
HIGHtests/providers/test_streaming_errors.py455 """NIM/GLM may send usage.completion_tokens=null; final SSE must not use JSON null."""STRING
HIGHtests/providers/test_stream_recovery.py146 assert holdback.push("event: content_block_start\n\n") == []CODE
HIGHtests/providers/test_stream_recovery.py148 assert holdback.push("event: content_block_delta\n\n") == []CODE
HIGHtests/providers/test_stream_recovery.py152 assert holdback.push("event: content_block_stop\n\n") == [CODE
HIGHtests/providers/test_stream_recovery.py158 assert holdback.push("event: message_stop\n\n") == ["event: message_stop\n\n"]CODE
HIGHtests/providers/test_stream_recovery.py164 assert holdback.push("ab") == []CODE
HIGHtests/providers/test_stream_recovery.py165 assert holdback.push("cde") == ["ab", "cde"]CODE
HIGHtests/providers/test_stream_recovery.py172 assert holdback.push("hidden") == []CODE
HIGHtests/providers/test_stream_recovery.py13 assert controller.push("hidden") == []CODE
HIGHtests/providers/test_stream_recovery.py32 assert controller.push("hidden") == []CODE
HIGHtests/providers/test_stream_recovery.py49 assert controller.push("partial") == []CODE
HIGHtests/providers/test_stream_recovery.py93 assert controller.push("event: content_block_delta\n\n") == []CODE
HIGHtests/providers/test_stream_recovery.py112 assert controller.push("event: content_block_delta\n\n") == []CODE
HIGHtests/scripts/test_muse_windows_lifecycle.py381 if ({_ps_literal(external_path)} -eq '') {{ return $null }}CODE
HIGHtests/scripts/test_muse_windows_lifecycle.py388 return [pscustomobject] @{{ Compatible = $false; Version = $null; Reason = 'not Muse Code' }}CODE
HIGHtests/api/test_admin.py329 assert 'parts.push("locked")' in scriptCODE
HIGHtests/api/test_admin.py376 assert "return null;" in scriptCODE
HIGHtests/messaging/test_transcript.py149 state.push("task_1", SubagentSegment("Outer"))CODE
HIGHsrc/free_claude_code/providers/stream_recovery.py103 return self._holdback.push(event)CODE
HIGHsrc/free_claude_code/providers/openai_codex/provider.py407 for held in recovery.push(event):CODE
HIGHsrc/free_claude_code/providers/openai_codex/provider.py419 for held in recovery.push(event):CODE
HIGH…ee_claude_code/providers/openai_responses/transport.py270 for held in recovery.push(event):CODE
HIGH…ee_claude_code/providers/openai_responses/transport.py286 for held in recovery.push(event):CODE
HIGHsrc/free_claude_code/providers/openai_chat/provider.py995 yield from recovery.push(event)CODE
HIGHsrc/free_claude_code/messaging/transcript/buffer.py151 self._subagents.push(tool_id, segment)CODE
HIGHsrc/free_claude_code/messaging/transcript/buffer.py167 self._subagents.push(tool_id, segment)CODE
Unused Imports194 hits · 173 pts
SeverityFileLineSnippetContext
LOWsrc/free_claude_code/core/__init__.py3CODE
LOWsrc/free_claude_code/core/__init__.py3CODE
LOWsrc/free_claude_code/core/__init__.py3CODE
LOWsrc/free_claude_code/core/__init__.py3CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py3CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py3CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py3CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py4CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py4CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py4CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py4CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py4CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py11CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py11CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py11CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py11CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py17CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py38CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py38CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py39CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py40CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py41CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py41CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py41CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py41CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py41CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py48CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py48CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py48CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py49CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py50CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py50CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py51CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py3CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py3CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py3CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py3CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py3CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py3CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py11CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py11CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py11CODE
134 more matches not shown…
Excessive Try-Catch Wrapping115 hits · 120 pts
SeverityFileLineSnippetContext
LOWsmoke/prereq/test_tools_prereq_live.py56 except Exception as exc:CODE
LOWsmoke/prereq/test_provider_prereq_live.py75 except Exception as exc:CODE
LOWsmoke/product/test_provider_product_live.py206 except Exception as exc:CODE
LOWsmoke/product/test_provider_product_live.py258 except Exception as exc:CODE
LOWsmoke/lib/server.py95 except Exception as exc:CODE
LOWsrc/free_claude_code/core/trace.py160 except Exception as exc:CODE
LOWsrc/free_claude_code/core/diagnostics.py200 except Exception:CODE
LOWsrc/free_claude_code/core/diagnostics.py204 except Exception:CODE
LOWsrc/free_claude_code/core/async_iterators.py24 except Exception as exc:CODE
LOWsrc/free_claude_code/core/token_estimation.py20 except Exception as exc:CODE
MEDIUMsrc/free_claude_code/core/token_estimation.py17def _load_encoder() -> _TokenEncoder | None:CODE
LOWsrc/free_claude_code/core/anthropic/streaming/ledger.py110 except Exception:CODE
LOWsrc/free_claude_code/providers/admission.py152 except Exception as error:CODE
LOWsrc/free_claude_code/providers/admission.py168 except Exception as error:CODE
LOWsrc/free_claude_code/providers/lmstudio/client.py140 except Exception as error: # backstop only — never block the requestCODE
LOWsrc/free_claude_code/providers/openai_codex/auth.py264 except Exception:CODE
LOWsrc/free_claude_code/providers/openai_codex/auth.py401 except Exception:CODE
LOWsrc/free_claude_code/providers/openai_codex/provider.py178 except Exception as error:CODE
LOWsrc/free_claude_code/providers/openai_codex/provider.py303 except Exception as error:CODE
LOWsrc/free_claude_code/providers/openai_codex/provider.py437 except Exception as raw_error:CODE
LOWsrc/free_claude_code/providers/cloudflare/client.py113 except Exception:CODE
LOWsrc/free_claude_code/providers/runtime/discovery.py125 except Exception as exc:CODE
LOWsrc/free_claude_code/providers/runtime/runtime.py48 except Exception as exc:CODE
LOWsrc/free_claude_code/providers/groq/client.py197 except Exception:CODE
LOWsrc/free_claude_code/providers/groq/client.py204 except Exception:CODE
LOWsrc/free_claude_code/providers/github_models/client.py76 except Exception:CODE
LOWsrc/free_claude_code/providers/vertex/client.py122 except Exception:CODE
LOW…ee_claude_code/providers/openai_responses/transport.py211 except Exception as error:CODE
LOW…ee_claude_code/providers/openai_responses/transport.py307 except Exception as raw_error:CODE
LOWsrc/free_claude_code/providers/openai_chat/provider.py771 except Exception as error:CODE
LOWsrc/free_claude_code/providers/openai_chat/provider.py973 except Exception as error:CODE
LOWsrc/free_claude_code/providers/openai_chat/provider.py1049 except Exception as error:CODE
LOWsrc/free_claude_code/providers/openai_chat/provider.py1186 except Exception as recovery_error:CODE
LOWsrc/free_claude_code/providers/openai_chat/provider.py1333 except Exception as error:CODE
LOWsrc/free_claude_code/providers/mistral/reasoning.py91 except Exception:CODE
LOWsrc/free_claude_code/providers/opencode/catalog.py194 except Exception as exc:CODE
LOWsrc/free_claude_code/providers/opencode/provider.py108 except Exception as exc:CODE
LOWsrc/free_claude_code/providers/opencode/provider.py112 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/provider_manager.py247 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/provider_manager.py369 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/provider_manager.py385 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/provider_manager.py405 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/provider_manager.py452 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/asgi.py33 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/asgi.py52 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/application.py70 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/application.py154 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/application.py235 except Exception as exc:CODE
LOWsrc/free_claude_code/runtime/application.py359 except Exception as exc:CODE
MEDIUMsrc/free_claude_code/runtime/application.py340def _start_messaging_if_configured(self) -> None:CODE
LOWsrc/free_claude_code/cli/process_registry.py58 except Exception as e:CODE
LOWsrc/free_claude_code/cli/process_registry.py65 except Exception as e:CODE
LOWsrc/free_claude_code/cli/managed/session.py281 except Exception as e:CODE
LOWsrc/free_claude_code/cli/managed/manager.py177 except Exception as e:CODE
LOWsrc/free_claude_code/cli/launchers/dsh.py93 except Exception as exc:CODE
LOWsrc/free_claude_code/cli/launchers/codex.py170 except Exception as exc:CODE
LOWsrc/free_claude_code/cli/launchers/grok.py198 except Exception as exc:CODE
LOWsrc/free_claude_code/cli/launchers/aider.py111 except Exception as exc:CODE
LOWsrc/free_claude_code/cli/launchers/muse.py153 except Exception as exc:CODE
LOWsrc/free_claude_code/cli/launchers/hermes.py138 except Exception as exc:CODE
55 more matches not shown…
Deep Nesting66 hits · 64 pts
SeverityFileLineSnippetContext
LOWsmoke/lib/e2e.py674CODE
LOWtests/contracts/test_import_boundaries.py416CODE
LOWtests/providers/test_nvidia_nim.py325CODE
LOWtests/scripts/test_installers.py47CODE
LOWtests/scripts/test_installers.py61CODE
LOWtests/scripts/test_installers.py1737CODE
LOWtests/scripts/test_ci_scripts.py17CODE
LOWtests/application/test_execution.py184CODE
LOWsrc/free_claude_code/core/diagnostics.py270CODE
LOWsrc/free_claude_code/core/openai_tool_names.py82CODE
LOWsrc/free_claude_code/core/openai_tool_names.py136CODE
LOWsrc/free_claude_code/core/anthropic/sse_aggregation.py20CODE
LOWsrc/free_claude_code/core/anthropic/sse_aggregation.py34CODE
LOW…ee_claude_code/core/anthropic/request_serialization.py39CODE
LOWsrc/free_claude_code/core/anthropic/tools.py377CODE
LOWsrc/free_claude_code/core/anthropic/conversion.py483CODE
LOWsrc/free_claude_code/core/anthropic/conversion.py602CODE
LOWsrc/free_claude_code/core/anthropic/conversion.py667CODE
LOWsrc/free_claude_code/core/anthropic/thinking.py58CODE
LOWsrc/free_claude_code/core/anthropic/thinking.py101CODE
LOWsrc/free_claude_code/core/anthropic/stream_contracts.py170CODE
LOWsrc/free_claude_code/core/anthropic/streaming/ledger.py229CODE
LOWsrc/free_claude_code/core/anthropic/streaming/ledger.py257CODE
LOWsrc/free_claude_code/core/anthropic/streaming/ledger.py460CODE
LOWsrc/free_claude_code/core/anthropic/streaming/ledger.py490CODE
LOWsrc/free_claude_code/core/openai_responses/tools.py124CODE
LOWsrc/free_claude_code/core/openai_responses/tools.py342CODE
LOW…free_claude_code/core/openai_responses/chat_request.py442CODE
LOW…free_claude_code/core/openai_responses/chat_request.py549CODE
LOW…free_claude_code/core/openai_responses/chat_request.py620CODE
LOWsrc/free_claude_code/core/openai_responses/tokens.py63CODE
LOW…ee_claude_code/core/openai_responses/provider_input.py155CODE
LOW…ee_claude_code/core/openai_responses/provider_input.py239CODE
LOWsrc/free_claude_code/config/admin/values.py47CODE
LOWsrc/free_claude_code/providers/model_listing.py35CODE
LOWsrc/free_claude_code/providers/openai_codex/auth.py309CODE
LOWsrc/free_claude_code/providers/runtime/discovery.py117CODE
LOWsrc/free_claude_code/providers/deepseek/compat.py61CODE
LOWsrc/free_claude_code/providers/deepseek/compat.py244CODE
LOW…c/free_claude_code/providers/nvidia_nim/tool_schema.py29CODE
LOW…c/free_claude_code/providers/nvidia_nim/tool_schema.py96CODE
LOW…c/free_claude_code/providers/nvidia_nim/tool_schema.py156CODE
LOW…c/free_claude_code/providers/nvidia_nim/tool_schema.py174CODE
LOW…c/free_claude_code/providers/openai_chat/output_cap.py72CODE
LOW…ee_claude_code/providers/openai_chat/request_policy.py46CODE
LOWsrc/free_claude_code/runtime/asgi.py26CODE
LOWsrc/free_claude_code/cli/commands.py76CODE
LOWsrc/free_claude_code/cli/managed/session.py95CODE
LOWsrc/free_claude_code/api/command_utils.py87CODE
LOWsrc/free_claude_code/api/validation_log.py6CODE
LOWsrc/free_claude_code/api/web_tools/outbound.py208CODE
LOWsrc/free_claude_code/application/execution.py287CODE
LOWsrc/free_claude_code/application/execution.py348CODE
LOWsrc/free_claude_code/messaging/node_runner.py125CODE
LOWsrc/free_claude_code/messaging/event_parser.py12CODE
LOWsrc/free_claude_code/messaging/node_event_pipeline.py58CODE
LOWsrc/free_claude_code/messaging/limiter.py61CODE
LOWsrc/free_claude_code/messaging/limiter.py285CODE
LOWsrc/free_claude_code/messaging/limiter.py293CODE
LOWsrc/free_claude_code/messaging/platforms/telegram.py217CODE
6 more matches not shown…
Modern Structural Boilerplate55 hits · 56 pts
SeverityFileLineSnippetContext
LOWtests/api/test_admin.py28def _set_home(monkeypatch, tmp_path: Path) -> None:CODE
LOWsrc/free_claude_code/core/__init__.py10__all__ = [CODE
LOWsrc/free_claude_code/core/anthropic/sse_aggregation.py17__all__ = ["aggregate_anthropic_sse_to_message"]CODE
LOWsrc/free_claude_code/core/anthropic/__init__.py53__all__ = [CODE
LOWsrc/free_claude_code/core/anthropic/utils.py6def set_if_not_none(body: dict[str, Any], key: str, value: Any) -> None:CODE
LOW…/free_claude_code/core/anthropic/streaming/__init__.py23__all__ = [CODE
LOWsrc/free_claude_code/core/openai_responses/__init__.py39__all__ = [CODE
LOW…_claude_code/core/openai_responses/streaming/ledger.py31 def set_active_block(self, state: BlockState) -> None:CODE
LOWsrc/free_claude_code/config/logging_config.py121def _set_third_party_levels(verbose: bool) -> None:CODE
LOWsrc/free_claude_code/config/__init__.py6__all__ = [CODE
LOWsrc/free_claude_code/providers/__init__.py9__all__ = [CODE
LOWsrc/free_claude_code/providers/lmstudio/__init__.py5__all__ = ["LMStudioProvider"]CODE
LOWsrc/free_claude_code/providers/kilo/__init__.py5__all__ = ["KiloProvider"]CODE
LOWsrc/free_claude_code/providers/open_router/__init__.py5__all__ = ["OpenRouterProvider"]CODE
LOWsrc/free_claude_code/providers/gemini/__init__.py5__all__ = ["GeminiProvider"]CODE
LOWsrc/free_claude_code/providers/openai_codex/__init__.py6__all__ = [CODE
LOWsrc/free_claude_code/providers/runtime/__init__.py7__all__ = [CODE
LOWsrc/free_claude_code/providers/runtime/model_cache.py30 def set_available_providers(self, provider_ids: Iterable[str]) -> None:CODE
LOWsrc/free_claude_code/providers/groq/__init__.py5__all__ = ["GroqProvider"]CODE
LOWsrc/free_claude_code/providers/deepseek/__init__.py5__all__ = ["DeepSeekProvider"]CODE
LOW…c/free_claude_code/providers/github_models/__init__.py5__all__ = ["GitHubModelsProvider"]CODE
LOWsrc/free_claude_code/providers/nvidia_nim/__init__.py5__all__ = ["NvidiaNimProvider"]CODE
LOWsrc/free_claude_code/providers/vertex/__init__.py5__all__ = ["VertexProvider"]CODE
LOW…ree_claude_code/providers/openai_responses/__init__.py5__all__ = ["OpenAIResponsesTransport"]CODE
LOWsrc/free_claude_code/providers/openai_chat/__init__.py48__all__ = [CODE
LOW…ude_code/providers/google_openai/thought_signatures.py37def _set_tool_call_thought_signature(tool_call: dict[str, Any], signature: str) -> None:CODE
LOW…c/free_claude_code/providers/google_openai/__init__.py11__all__ = [CODE
LOWsrc/free_claude_code/providers/mistral/__init__.py5__all__ = ["MistralProvider"]CODE
LOWsrc/free_claude_code/providers/opencode/__init__.py5__all__ = ["OpenCodeProvider", "create_opencode_provider"]CODE
LOWsrc/free_claude_code/cli/__init__.py5__all__ = ["ManagedClaudeSession", "ManagedClaudeSessionManager"]CODE
LOWsrc/free_claude_code/cli/managed/__init__.py6__all__ = ["ManagedClaudeSession", "ManagedClaudeSessionManager"]CODE
LOWsrc/free_claude_code/api/admin_cache.py48def _set_no_store(headers: MutableHeaders) -> None:CODE
LOWsrc/free_claude_code/api/request_ids.py70def set_request_id(request: Request, request_id: str) -> None:CODE
LOWsrc/free_claude_code/api/web_tools/__init__.py11__all__ = [CODE
LOWsrc/free_claude_code/api/handlers/__init__.py7__all__ = ["MessagesHandler", "ResponsesHandler", "TokenCountHandler"]CODE
LOWsrc/free_claude_code/messaging/node_runner.py168 async def update_ui(status: str | None = None, force: bool = False) -> None:CODE
LOWsrc/free_claude_code/messaging/node_runner.py408__all__ = ["MessagingNodeRunner"]CODE
LOWsrc/free_claude_code/messaging/__init__.py10__all__ = [CODE
LOWsrc/free_claude_code/messaging/command_context.py99__all__ = ["MessagingCommandContext", "ReplyClearResult", "StopOutcome"]CODE
LOWsrc/free_claude_code/messaging/workflow.py714__all__ = ["MessagingWorkflow"]CODE
LOWsrc/free_claude_code/messaging/turn_intake.py197 async def update_queue_positions(self, queue: tuple[QueueEntry, ...]) -> None:CODE
LOWsrc/free_claude_code/messaging/turn_intake.py241__all__ = ["MessagingTurnIntake"]CODE
LOWsrc/free_claude_code/messaging/platforms/__init__.py12__all__ = [CODE
LOWsrc/free_claude_code/messaging/trees/__init__.py22__all__ = [CODE
LOWsrc/free_claude_code/messaging/trees/processor.py272__all__ = ["CancelledTask", "TreeQueueProcessor"]CODE
LOWsrc/free_claude_code/messaging/trees/runtime.py487__all__ = ["MessageTree"]CODE
LOWsrc/free_claude_code/messaging/trees/transitions.py157__all__ = [CODE
LOWsrc/free_claude_code/messaging/trees/repository.py135__all__ = ["TreeRepository"]CODE
LOWsrc/free_claude_code/messaging/trees/identity.py16__all__ = ["TreeIdentity"]CODE
LOWsrc/free_claude_code/messaging/trees/manager.py587__all__ = ["TreeQueueManager"]CODE
LOWsrc/free_claude_code/messaging/transcript/__init__.py6__all__ = ["RenderCtx", "TranscriptBuffer"]CODE
LOW…e_claude_code/messaging/rendering/telegram_markdown.py323__all__ = [CODE
LOW…ee_claude_code/messaging/rendering/discord_markdown.py310__all__ = [CODE
LOWsrc/free_claude_code/messaging/session/store.py50 def _set_dirty(self, dirty: bool) -> None:CODE
LOWsrc/free_claude_code/messaging/session/__init__.py5__all__ = ["SessionStore"]CODE
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHtests/providers/test_mistral.py0reasoning_content deltas are emitted as thinking blocks.STRING
HIGHtests/providers/test_groq.py0reasoning_content deltas are emitted as thinking blocks.STRING
HIGHtests/providers/test_codestral.py0reasoning_content deltas are emitted as thinking blocks.STRING
HIGHtests/providers/test_sambanova.py0reasoning_content deltas are emitted as thinking blocks.STRING
HIGHsrc/free_claude_code/messaging/platforms/telegram.py0cancel every pending voice transcription and published handoff.STRING
HIGHsrc/free_claude_code/messaging/platforms/discord.py0cancel every pending voice transcription and published handoff.STRING
HIGHsrc/free_claude_code/messaging/platforms/voice_flow.py0cancel every pending voice transcription and published handoff.STRING
HIGHsrc/free_claude_code/messaging/platforms/telegram.py0cancel pending voice transcriptions belonging to one chat.STRING
HIGHsrc/free_claude_code/messaging/platforms/discord.py0cancel pending voice transcriptions belonging to one chat.STRING
HIGHsrc/free_claude_code/messaging/platforms/voice_flow.py0cancel pending voice transcriptions belonging to one chat.STRING
Dead Code9 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtests/api/test_web_server_tools.py153CODE
MEDIUMtests/api/test_api_handlers.py395CODE
MEDIUMtests/api/test_api.py36CODE
MEDIUMtests/api/test_response_streams.py35CODE
MEDIUMtests/api/test_openai_responses.py60CODE
MEDIUMtests/application/test_execution.py78CODE
MEDIUMtests/application/test_execution.py132CODE
MEDIUMtests/messaging/test_handler.py1263CODE
MEDIUM…ts/messaging/test_handler_markdown_and_status_edges.py259CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsmoke/lib/http.py45CODE
LOWtests/providers/test_model_discovery.py35CODE
LOWtests/providers/support.py23CODE
LOWsrc/free_claude_code/providers/model_listing.py35CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/conftest.py163 # Create a task to avoid "coroutine was never awaited" warningCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/providers/test_converter.py892 # comprehensive flowCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/providers/test_parsers.py265 # Check if "text1" and "text2" are preserved in filtered outputCOMMENT