Open Source DeepWiki: AI-Powered Wiki Generator for GitHub/Gitlab/Bitbucket Repositories. Join the discord: https://discord.gg/gMwThUMeme
This report presents the forensic synthetic code analysis of AsyncFuncAI/deepwiki-open, a Python project with 17,811 GitHub stars. SynthScan v2.0 examined 37,930 lines of code across 148 source files, recording 345 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 11.9 places this repository in the Low 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).
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.
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.
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.
The scanner identified 345 distinct pattern matches across 15 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/run_tests.py | 42 | except Exception as e: | CODE |
| LOW⚡ | tests/unit/test_all_embedders.py | 328 | except Exception as e: | CODE |
| LOW⚡ | tests/unit/test_all_embedders.py | 338 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 49 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 205 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 226 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 359 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 375 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 448 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 472 | except Exception as e: | CODE |
| LOW | tests/unit/test_google_embedder.py | 86 | except Exception as e: | CODE |
| LOW | tests/unit/test_google_embedder.py | 123 | except Exception as e: | CODE |
| LOW | tests/unit/test_google_embedder.py | 178 | except Exception as e: | CODE |
| LOW | tests/integration/test_full_integration.py | 36 | except Exception as e: | CODE |
| LOW | tests/integration/test_full_integration.py | 66 | except Exception as e: | CODE |
| LOW | tests/integration/test_full_integration.py | 111 | except Exception as e: | CODE |
| LOW | tests/integration/test_full_integration.py | 147 | except Exception as e: | CODE |
| MEDIUM⚡ | tests/api/test_api.py | 35 | print(f"Error: {response.status_code}") | CODE |
| MEDIUM⚡ | tests/api/test_api.py | 38 | print(f"Error details: {error_data.get('detail', 'Unknown error')}") | CODE |
| MEDIUM⚡ | tests/api/test_api.py | 40 | print(f"Error content: {response.content}") | CODE |
| LOW⚡ | tests/api/test_api.py | 50 | except Exception as e: | CODE |
| MEDIUM⚡ | tests/api/test_api.py | 51 | print(f"Error: {str(e)}") | CODE |
| LOW | api/config.py | 151 | except Exception as e: | CODE |
| MEDIUM | api/config.py | 132 | def load_json_config(filename): | CODE |
| LOW | api/repository.py | 136 | except Exception: | CODE |
| LOW | api/routers/system.py | 71 | except Exception as e: | CODE |
| LOW | api/routers/codemap.py | 26 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | api/routers/codemap.py | 47 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | api/routers/codemap.py | 66 | except Exception as e: # noqa: BLE001 | CODE |
| LOW⚡ | api/routers/chat.py | 52 | except Exception: | CODE |
| LOW⚡ | api/routers/chat.py | 54 | except Exception as e: | CODE |
| LOW⚡ | api/routers/chat.py | 62 | except Exception: | CODE |
| LOW | api/routers/chat.py | 96 | except Exception as e: | CODE |
| LOW | api/routers/chat.py | 113 | except Exception as e_handler: | CODE |
| LOW | api/routers/repo.py | 47 | except Exception: | CODE |
| LOW | api/routers/wiki.py | 125 | except Exception as e: | CODE |
| LOW | api/routers/wiki.py | 131 | except Exception as e: | CODE |
| LOW | api/routers/wiki.py | 191 | except Exception as e: | CODE |
| LOW | api/routers/wiki.py | 211 | except Exception: | CODE |
| LOW | api/clients/google_embedder.py | 118 | except Exception: | CODE |
| LOW | api/clients/google_embedder.py | 164 | except Exception as e: | CODE |
| LOW | api/clients/google_embedder.py | 244 | except Exception: | CODE |
| LOW | api/clients/google_embedder.py | 264 | except Exception as e: | CODE |
| LOW⚡ | api/clients/openrouter.py | 456 | except Exception as e: | CODE |
| LOW⚡ | api/clients/openrouter.py | 580 | except Exception as e_chunk: | CODE |
| LOW⚡ | api/clients/openrouter.py | 583 | except Exception as e_stream: | CODE |
| LOW | api/clients/openrouter.py | 418 | except Exception as xml_error: | CODE |
| LOW | api/clients/openrouter.py | 508 | except Exception as e_proc: | CODE |
| LOW | api/clients/openrouter.py | 659 | except Exception as e_chunk: | CODE |
| LOW | api/clients/openrouter.py | 662 | except Exception as e_stream: | CODE |
| LOW | api/clients/dashscope.py | 87 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 232 | except Exception: | CODE |
| LOW | api/clients/dashscope.py | 271 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 306 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 510 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 553 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 661 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 836 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 879 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 896 | except Exception as e: | CODE |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_repository.py | 25 | def test_repo_download_no_git(tmpdir, monkeypatch): | CODE |
| LOW | tests/test_repository.py | 38 | def test_repo_download_path_exists(tmpdir, mocker): | CODE |
| LOW | tests/test_repository.py | 56 | def test_repo_git_clone_message_masking(tmpdir, mocker): | CODE |
| LOW | tests/test_extract_repo_name.py | 28 | def test_extract_repo_name_github_standard_url(self, repo_url, name): | CODE |
| LOW | tests/test_extract_repo_name.py | 41 | def test_extract_repo_name_gitlab_urls(self, repo_url, name): | CODE |
| LOW | tests/test_extract_repo_name.py | 48 | def test_extract_repo_name_bitbucket_urls(self): | CODE |
| LOW | tests/test_extract_repo_name.py | 62 | def test_extract_repo_name_local_paths(self, repo_url, name): | CODE |
| LOW | tests/test_config.py | 23 | def test_iterate_files_default_exclusive_mode(exclude_test_config, tmp_path): | CODE |
| LOW | tests/test_config.py | 40 | def test_iterate_files_included_dirs(exclude_test_config, tmp_path, included_dirs): | CODE |
| LOW | tests/test_config.py | 46 | def test_iterate_files_included_files(exclude_test_config, tmp_path): | CODE |
| LOW | tests/test_config.py | 59 | def test_iterate_files_excluded_dirs(exclude_test_config, tmp_path, excluded_dirs): | CODE |
| LOW | tests/unit/test_chat.py | 31 | def test_every_provider_is_registered(provider, expected): | CODE |
| LOW | tests/unit/test_chat.py | 49 | def test_create_returns_correct_subclass(monkeypatch, provider, expected): | CODE |
| LOW | tests/unit/test_chat.py | 55 | def test_create_unknown_provider_raises(): | CODE |
| LOW⚡ | tests/unit/test_all_embedders.py | 319 | def test_prepare_data_pipeline(self, is_ollama=None): | CODE |
| LOW | tests/unit/test_all_embedders.py | 119 | def test_embedder_type_detection(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 181 | def test_get_embedder_with_explicit_type(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 210 | def test_get_embedder_with_legacy_params(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 231 | def test_get_embedder_auto_detection(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 243 | def test_google_embedder_client(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 275 | def test_openai_embedder_via_adalflow(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 364 | def test_rag_embedder_type_detection(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 382 | def test_embedder_type_env_var(self, embedder_type=None): | CODE |
| LOW | tests/unit/test_all_embedders.py | 393 | def _test_single_embedder_type(self, embedder_type): | CODE |
| LOW | tests/unit/test_all_embedders.py | 431 | def test_binary_assumptions_in_rag(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 451 | def test_binary_assumptions_in_data_pipeline(self): | CODE |
| LOW | tests/unit/test_google_embedder.py | 25 | def test_google_embedder_client(): | CODE |
| LOW | tests/integration/test_full_integration.py | 74 | def test_google_embedder_with_env(): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 57 | def test_submit_then_progress_to_completed(monkeypatch): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 124 | def test_list_summary_omits_wiki_structure(monkeypatch): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 178 | def test_stream_completed_emits_done_event(monkeypatch): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 206 | def test_stream_failed_emits_error_event(monkeypatch): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 236 | async def test_stream_emits_progress_then_done(monkeypatch): | CODE |
| LOW | tests/backend/rag/test_rag.py | 7 | def test_rag_valid_filter_documents(): | CODE |
| LOW | tests/backend/schemas/test_chat.py | 4 | def test_chat_completion_request_split_path(): | CODE |
| LOW | tests/backend/schemas/test_wiki.py | 13 | async def test_wiki_cache_async_save(tmp_path) -> None: | CODE |
| LOW | tests/backend/schemas/test_wiki.py | 36 | async def test_wiki_cache_async_load(tmp_path) -> None: | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 18 | def test_generate_file_url_github(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 22 | def test_generate_file_url_gitlab(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 27 | def test_generate_file_url_bitbucket(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 32 | def test_generate_file_url_local_returns_bare_path(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 40 | def test_resolves_citation_for_file_in_filepaths(): # case 1 | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 46 | def test_resolves_generic_citation_not_in_filepaths(): # case 2 | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 55 | def test_strips_redundant_empty_parens_after_link(): # case 3 | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 61 | def test_resolves_sources_prefix_bare_filename(): # variant 2 | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 68 | def test_unknown_bare_filename_left_untouched(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 76 | def test_rebuilds_details_block_when_missing(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 82 | def test_local_repo_citations_not_resolved(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 87 | def test_escapes_brackets_in_dynamic_route_path(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 93 | def test_single_line_citation(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 98 | def test_whole_file_citation_no_lines(): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 54 | async def test_submit_creates_and_completes(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 87 | async def test_submit_joins_active_task(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 125 | async def test_page_failure_yields_placeholder_but_completes(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 151 | async def test_determine_structure_failure_fails_task(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 169 | async def test_generate_page_strips_fences_and_resolves_citations(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 261 | async def test_public_dict_hides_token(): | CODE |
| LOW | tests/backend/services/test_wiki_structure.py | 54 | def test_parse_concise_ignores_sections(): | STRING |
| LOW | tests/backend/services/test_wiki_structure.py | 65 | def test_parse_escapes_bare_ampersand(): | CODE |
| LOW | tests/backend/services/test_wiki_structure.py | 74 | def test_parse_regex_fallback_on_malformed_xml(): | CODE |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/run_tests.py | 119 | CODE | |
| LOW | tests/run_tests.py | 126 | CODE | |
| LOW | tests/run_tests.py | 135 | CODE | |
| LOW | api/clients/__init__.py | 5 | CODE | |
| LOW | api/clients/__init__.py | 5 | CODE | |
| LOW | api/clients/__init__.py | 5 | CODE | |
| LOW | api/clients/__init__.py | 11 | CODE | |
| LOW | api/clients/__init__.py | 12 | CODE | |
| LOW | api/clients/__init__.py | 13 | CODE | |
| LOW | api/clients/__init__.py | 14 | CODE | |
| LOW | api/clients/__init__.py | 15 | CODE | |
| LOW | api/clients/__init__.py | 16 | CODE | |
| LOW | api/clients/__init__.py | 17 | CODE | |
| LOW | api/chat/__init__.py | 1 | CODE | |
| LOW | api/chat/__init__.py | 2 | CODE | |
| LOW | api/chat/_stream.py | 18 | CODE | |
| LOW | api/chat/_stream.py | 19 | CODE | |
| LOW | api/chat/_stream.py | 20 | CODE | |
| LOW | api/rag/__init__.py | 1 | CODE | |
| LOW | api/rag/__init__.py | 1 | CODE | |
| LOW | api/rag/__init__.py | 2 | CODE | |
| LOW | api/schemas/__init__.py | 1 | CODE | |
| LOW | api/schemas/__init__.py | 2 | CODE | |
| LOW | api/schemas/__init__.py | 2 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 10 | CODE | |
| LOW | api/schemas/__init__.py | 10 | CODE | |
| LOW | api/schemas/__init__.py | 11 | CODE | |
| LOW | api/schemas/__init__.py | 11 | CODE | |
| LOW | api/schemas/__init__.py | 11 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 12 | CODE | |
| LOW | api/services/wiki/__init__.py | 12 | CODE | |
| LOW | api/services/wiki/__init__.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .pre-commit-config.yaml | 27 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .pre-commit-config.yaml | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .pre-commit-config.yaml | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .pre-commit-config.yaml | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .pre-commit-config.yaml | 58 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .pre-commit-config.yaml | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | litellm-config.yml | 2 | # ----------------------- | COMMENT |
| MEDIUM⚡ | litellm-config.yml | 4 | # ----------------------- | COMMENT |
| MEDIUM⚡ | litellm-config.yml | 11 | # ----------------------- | COMMENT |
| MEDIUM⚡ | litellm-config.yml | 13 | # ----------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.fr.md | 170 | │ ├── rag.py # Génération Augmentée par Récupération (RAG) | CODE |
| MEDIUM | Ollama-instruction.md | 160 | "model": "nomic-embed-text" # Change this to another embedding model | CODE |
| MEDIUM | README.vi.md | 153 | │ ├── rag.py # Retrieval Augmented Generation (RAG) | CODE |
| MEDIUM | README.ru.md | 169 | │ ├── rag.py # RAG: генерация с дополнением | CODE |
| MEDIUM | api/prompts.py | 3 | # System prompt for RAG | COMMENT |
| MEDIUM | api/prompts.py | 30 | # Template for RAG | STRING |
| MEDIUM | api/README.md | 127 | ### 2. Smart Retrieval (RAG) | COMMENT |
| MEDIUM | api/chat/_prompts.py | 23 | # Add a note that we're skipping RAG due to size constraints or because it's the isolated API | COMMENT |
| MEDIUM | api/rag/rag.py | 23 | # Maximum concurrent RAG preparing count | COMMENT |
| MEDIUM | api/rag/pipeline.py | 62 | # Use OpenAI embedding model encoding | COMMENT |
| MEDIUM | api/services/research.py | 150 | # Try to perform RAG retrieval | COMMENT |
| MEDIUM | api/services/research.py | 152 | # This will use the actual RAG implementation | COMMENT |
| MEDIUM | api/services/codemap.py | 224 | # ---- Phase 1a: analyzing code (RAG retrieval) --------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api/config.py | 157 | CODE | |
| LOW | api/config.py | 420 | CODE | |
| LOW | api/config.py | 519 | CODE | |
| LOW | api/repository.py | 191 | CODE | |
| LOW | api/routers/wiki.py | 82 | CODE | |
| LOW | api/clients/google_embedder.py | 83 | CODE | |
| LOW | api/clients/google_embedder.py | 97 | CODE | |
| LOW | api/clients/openrouter.py | 112 | CODE | |
| LOW | api/clients/openrouter.py | 512 | CODE | |
| LOW | api/clients/openrouter.py | 587 | CODE | |
| LOW | api/clients/openrouter.py | 175 | CODE | |
| LOW | api/clients/dashscope.py | 202 | CODE | |
| LOW | api/clients/dashscope.py | 311 | CODE | |
| LOW | api/clients/dashscope.py | 395 | CODE | |
| LOW | api/clients/dashscope.py | 527 | CODE | |
| LOW | api/clients/dashscope.py | 809 | CODE | |
| LOW | api/clients/dashscope.py | 935 | CODE | |
| LOW | api/clients/ollama.py | 16 | CODE | |
| LOW | api/clients/bedrock.py | 179 | CODE | |
| LOW | api/clients/bedrock.py | 247 | CODE | |
| LOW | api/clients/bedrock.py | 306 | CODE | |
| LOW | api/clients/bedrock.py | 453 | CODE | |
| LOW | api/rag/rag.py | 238 | CODE | |
| LOW | api/rag/pipeline.py | 24 | CODE | |
| LOW | api/rag/pipeline.py | 387 | CODE | |
| LOW | api/services/research.py | 60 | CODE | |
| LOW | api/services/codemap.py | 78 | CODE | |
| LOW | api/services/codemap.py | 187 | CODE | |
| LOW | api/services/wiki/io.py | 173 | CODE | |
| LOW | api/services/wiki/structure.py | 20 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/api/test_api.py | 15 | # Define the API endpoint | COMMENT |
| MEDIUM | tests/api/test_api.py | 18 | # Define the request payload | COMMENT |
| MEDIUM | api/clients/openrouter.py | 174 | # Create a generator that yields the content | COMMENT |
| MEDIUM | api/clients/bedrock.py | 114 | # Create a session with the provided credentials | COMMENT |
| MEDIUM⚡ | api/clients/bedrock.py | 130 | # Create a new session with the assumed role credentials | COMMENT |
| MEDIUM⚡ | api/clients/bedrock.py | 138 | # Create the Bedrock client | COMMENT |
| MEDIUM | api/rag/rag.py | 104 | # Create a new dialog turn using our custom implementation | COMMENT |
| MEDIUM | api/services/wiki/io.py | 159 | # Create a dictionary with metadata and pages | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integration/test_full_integration.py | 16 | # Check if Google embedder config exists | COMMENT |
| LOW | tests/integration/test_full_integration.py | 27 | # Check if GoogleEmbedderClient is in CLIENT_CLASSES | COMMENT |
| LOW⚡ | tests/api/test_api.py | 33 | # Check if the request was successful | COMMENT |
| LOW | api/config.py | 220 | # Check if model_client is OllamaClient | COMMENT |
| LOW | api/config.py | 241 | # Check if model_client is GoogleEmbedderClient | COMMENT |
| LOW | api/clients/openrouter.py | 117 | # Check if API key is set | COMMENT |
| LOW | api/clients/openrouter.py | 185 | # Check if the content is XML and ensure it's properly formatted | COMMENT |
| LOW | api/clients/openrouter.py | 195 | # Check if it's a wiki_structure XML | COMMENT |
| LOW | api/clients/dashscope.py | 212 | # Check if it's a ChatCompletion object (non-streaming response) | COMMENT |
| LOW | api/clients/bedrock.py | 310 | # Check if client is initialized | COMMENT |
| LOW | api/rag/rag.py | 161 | # Check if Ollama model exists before proceeding | COMMENT |
| LOW | api/services/research.py | 123 | # Check if this is a continuation request | COMMENT |
| LOW | api/services/research.py | 215 | # Check if this is the first iteration | COMMENT |
| LOW | api/services/research.py | 218 | # Check if this is the final iteration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 8739 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | tests/backend/services/test_wiki_structure.py | 111 | # A comprehensive response cut off mid-way (model hit its output-token limit): | COMMENT |
| LOW | api/clients/bedrock.py | 156 | # For now, just return the sync client | COMMENT |
| LOW | api/clients/bedrock.py | 449 | # For now, just call the sync method | COMMENT |
| MEDIUM | src/components/Ask.tsx | 505 | const completionNote = "\n\n## Final Conclusion\nAfter multiple iterations of deep research, we've gathered | CODE |
| MEDIUM | src/components/Ask.tsx | 599 | const completionNote = "\n\n## Final Conclusion\nAfter multiple iterations of deep research, we've gathered | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Ollama-instruction.md | 9 | ## Step 1: Install Ollama | COMMENT |
| LOW | Ollama-instruction.md | 27 | ## Step 2: Download Required Models | COMMENT |
| LOW | Ollama-instruction.md | 38 | ## Step 3: Set Up DeepWiki | COMMENT |
| LOW | Ollama-instruction.md | 72 | ## Step 4: Use DeepWiki with Ollama | COMMENT |
| LOW | api/README.md | 15 | ### Step 1: Install Dependencies | COMMENT |
| LOW | api/README.md | 22 | ### Step 2: Set Up Environment Variables | COMMENT |
| LOW | api/README.md | 109 | ### Step 3: Start the API Server | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/messages/zh.json | 91 | "placeholder": "询问关于此仓库的问题...", | CODE |
| LOW | src/messages/kr.json | 91 | "placeholder": "이 저장소에 대해 질문해 보세요...", | CODE |
| LOW | src/messages/ja.json | 91 | "placeholder": "このリポジトリについて質問する...", | CODE |
| LOW | src/messages/ru.json | 100 | "placeholder": "Задайте вопрос об этом репозитории...", | CODE |
| LOW | src/messages/en.json | 100 | "placeholder": "Ask a question about this repository...", | CODE |
| LOW | src/messages/fr.json | 100 | "placeholder": "Posez une question sur ce dépôt...", | CODE |
| LOW | src/messages/pt-br.json | 100 | "placeholder": "Faça uma pergunta sobre este repositório...", | CODE |
| LOW | src/messages/zh-tw.json | 89 | "placeholder": "詢問關於此儲存庫的問題...", | CODE |
| LOW | src/messages/vi.json | 91 | "placeholder": "Đặt một câu hỏi về repository này...", | CODE |
| LOW | src/messages/es.json | 91 | "placeholder": "Haz una pregunta sobre este repositorio...", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_all_embedders.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/unit/test_google_embedder.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/logger.py | 8 | __all__ = ["get_logger", "setup_logging"] | CODE |
| LOW | api/clients/__init__.py | 19 | __all__ = [ | CODE |
| LOW | api/chat/__init__.py | 17 | __all__ = [ | CODE |
| LOW | api/rag/__init__.py | 4 | __all__ = [ | CODE |
| LOW | api/schemas/__init__.py | 35 | __all__ = [ | CODE |
| LOW | api/services/wiki/__init__.py | 18 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.zh-tw.md | 259 | OPENAI_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api/clients/dashscope.py | 121 | CODE | |
| LOW | api/rag/pipeline.py | 288 | CODE | |
| LOW | api/services/wiki/content.py | 151 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/utils/websocketClient.ts | 1 | /** | COMMENT |