An autonomous agent that conducts deep research on any data using any LLM providers
This report presents the forensic synthetic code analysis of assafelovic/gpt-researcher, a Python project with 28,295 GitHub stars. SynthScan v2.0 examined 62,703 lines of code across 525 source files, recording 873 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 20.8 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).
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 873 distinct pattern matches across 22 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 | cli.py | 204 | except Exception as e: | CODE |
| LOW | cli.py | 347 | except Exception as e: | CODE |
| LOW | cli.py | 356 | except Exception as e: | CODE |
| LOW⚡ | json_schema_generator.py | 28 | except Exception as e: | CODE |
| LOW | evals/hallucination_eval/run_eval.py | 188 | except Exception as e: | CODE |
| LOW | evals/hallucination_eval/evaluate.py | 51 | except Exception as e: | CODE |
| LOW | evals/simple_evals/run_eval.py | 34 | except Exception: | CODE |
| LOW | evals/simple_evals/run_eval.py | 142 | except Exception as e: | CODE |
| LOW | evals/simple_evals/run_eval.py | 244 | except Exception as e: | CODE |
| LOW | evals/simple_evals/run_eval.py | 258 | except Exception as e: | CODE |
| LOW | gpt_researcher/agent.py | 326 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/scraper.py | 167 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/utils.py | 54 | except Exception as e: | CODE |
| MEDIUM | gpt_researcher/scraper/utils.py | 66 | print(f"Error parsing dimension value {value}: {e}") | CODE |
| LOW | gpt_researcher/scraper/utils.py | 90 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/pymupdf/pymupdf.py | 31 | except Exception: | CODE |
| LOW | gpt_researcher/scraper/pymupdf/pymupdf.py | 78 | except Exception as e: | CODE |
| MEDIUM | gpt_researcher/scraper/pymupdf/pymupdf.py | 79 | print(f"Error loading PDF : {self.link} {e}") | CODE |
| LOW | gpt_researcher/scraper/firecrawl/firecrawl.py | 80 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/beautiful_soup/beautiful_soup.py | 54 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/beautiful_soup/beautiful_soup.py | 67 | except Exception as e: | CODE |
| LOW | …_researcher/scraper/web_base_loader/web_base_loader.py | 41 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/browser/browser.py | 51 | except Exception as e: | CODE |
| MEDIUM | gpt_researcher/scraper/browser/browser.py | 52 | print(f"An error occurred during scraping: {str(e)}") | CODE |
| LOW | gpt_researcher/scraper/browser/browser.py | 117 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/browser/browser.py | 160 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/browser/browser.py | 188 | except Exception as e: | CODE |
| MEDIUM | gpt_researcher/scraper/browser/browser.py | 63 | def _import_selenium(self): | CODE |
| LOW | gpt_researcher/scraper/browser/nodriver_scraper.py | 55 | except Exception: | CODE |
| LOW | gpt_researcher/scraper/browser/nodriver_scraper.py | 102 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/browser/nodriver_scraper.py | 124 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/browser/nodriver_scraper.py | 180 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/browser/nodriver_scraper.py | 246 | except Exception as e: | CODE |
| LOW | gpt_researcher/scraper/browser/nodriver_scraper.py | 259 | except Exception as e: | CODE |
| MEDIUM | gpt_researcher/scraper/browser/nodriver_scraper.py | 138 | def create_browser(): | CODE |
| LOW | gpt_researcher/scraper/tavily_extract/tavily_extract.py | 60 | except Exception as e: | CODE |
| LOW | gpt_researcher/retrievers/utils.py | 41 | except Exception as e: | CODE |
| LOW | gpt_researcher/retrievers/utils.py | 104 | except Exception as e: | CODE |
| LOW | gpt_researcher/retrievers/duckduckgo/duckduckgo.py | 26 | except Exception as e: | CODE |
| MEDIUM | gpt_researcher/retrievers/duckduckgo/duckduckgo.py | 27 | print(f"Error: {e}. Failed fetching sources. Resulting in empty response.") | CODE |
| LOW | gpt_researcher/retrievers/crw/crw.py | 121 | except Exception as e: | CODE |
| MEDIUM | gpt_researcher/retrievers/crw/crw.py | 122 | print(f"Error: {e}. Failed fetching sources. Resulting in empty response.") | CODE |
| LOW | gpt_researcher/retrievers/google/google.py | 34 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/google/google.py | 48 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/google/google.py | 77 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/google/google.py | 96 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/bing/bing.py | 34 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/bing/bing.py | 74 | except Exception as e: | CODE |
| MEDIUM | …archer/retrievers/semantic_scholar/semantic_scholar.py | 43 | print(f"An error occurred while accessing Semantic Scholar API: {e}") | CODE |
| LOW | gpt_researcher/retrievers/searchapi/searchapi.py | 30 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/searchapi/searchapi.py | 80 | except Exception as e: | CODE |
| MEDIUM | gpt_researcher/retrievers/searchapi/searchapi.py | 81 | print(f"Error: {e}. Failed fetching sources. Resulting in empty response.") | CODE |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 190 | except Exception as e: | CODE |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 198 | except Exception as e: | CODE |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 260 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 262 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 280 | except Exception: | CODE |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 294 | except Exception as e: | CODE |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 321 | except Exception as e: | CODE |
| LOW | gpt_researcher/retrievers/mcp/__init__.py | 28 | except Exception as e: | CODE |
| 140 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cli.py | 24 | CODE | |
| LOW | evals/hallucination_eval/run_eval.py | 16 | CODE | |
| LOW | evals/hallucination_eval/evaluate.py | 5 | CODE | |
| LOW | evals/hallucination_eval/evaluate.py | 6 | CODE | |
| LOW | evals/hallucination_eval/evaluate.py | 6 | CODE | |
| LOW | evals/hallucination_eval/evaluate.py | 8 | CODE | |
| LOW | evals/simple_evals/simpleqa_eval.py | 6 | CODE | |
| LOW | evals/simple_evals/simpleqa_eval.py | 7 | CODE | |
| LOW | evals/simple_evals/simpleqa_eval.py | 8 | CODE | |
| LOW | evals/simple_evals/simpleqa_eval.py | 11 | CODE | |
| LOW | evals/simple_evals/simpleqa_eval.py | 11 | CODE | |
| LOW | evals/simple_evals/simpleqa_eval.py | 11 | CODE | |
| LOW | evals/simple_evals/simpleqa_eval.py | 12 | CODE | |
| LOW | gpt_researcher/__init__.py | 1 | CODE | |
| LOW | gpt_researcher/agent.py | 8 | CODE | |
| LOW | gpt_researcher/agent.py | 21 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 1 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 2 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 3 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 4 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 5 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 6 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 7 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 8 | CODE | |
| LOW | gpt_researcher/scraper/__init__.py | 9 | CODE | |
| LOW | …_researcher/scraper/web_base_loader/web_base_loader.py | 2 | CODE | |
| LOW | gpt_researcher/scraper/browser/browser.py | 1 | CODE | |
| LOW | gpt_researcher/scraper/browser/browser.py | 13 | CODE | |
| LOW | gpt_researcher/scraper/browser/browser.py | 13 | CODE | |
| LOW | gpt_researcher/scraper/browser/browser.py | 18 | CODE | |
| LOW | gpt_researcher/scraper/browser/browser.py | 70 | CODE | |
| LOW | gpt_researcher/scraper/browser/nodriver_scraper.py | 8 | CODE | |
| LOW | gpt_researcher/scraper/browser/processing/html.py | 2 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 1 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 2 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 3 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 4 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 5 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 6 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 7 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 8 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 9 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 10 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 11 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 12 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 13 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 14 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 15 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 16 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 17 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 18 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 19 | CODE | |
| LOW | gpt_researcher/retrievers/__init__.py | 20 | CODE | |
| LOW | gpt_researcher/retrievers/utils.py | 10 | CODE | |
| LOW | gpt_researcher/retrievers/duckduckgo/duckduckgo.py | 1 | CODE | |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 14 | CODE | |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 232 | CODE | |
| LOW | gpt_researcher/retrievers/mcp/__init__.py | 13 | CODE | |
| LOW | gpt_researcher/retrievers/brave/__init__.py | 1 | CODE | |
| LOW | gpt_researcher/retrievers/tavily/tavily_search.py | 10 | CODE | |
| 146 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | cli.py | 27 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cli.py | 29 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cli.py | 36 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 38 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 46 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 48 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 86 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 88 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 97 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 99 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 108 | # ===================================== | COMMENT |
| MEDIUM⚡ | cli.py | 110 | # ===================================== | COMMENT |
| MEDIUM | cli.py | 72 | # ===================================== | COMMENT |
| MEDIUM | cli.py | 74 | # ===================================== | COMMENT |
| MEDIUM | cli.py | 121 | # ===================================== | COMMENT |
| MEDIUM | cli.py | 123 | # ===================================== | COMMENT |
| MEDIUM | cli.py | 137 | # ============================================================================= | COMMENT |
| MEDIUM | cli.py | 139 | # ============================================================================= | COMMENT |
| MEDIUM | cli.py | 261 | # ============================================================================= | COMMENT |
| MEDIUM | cli.py | 263 | # ============================================================================= | COMMENT |
| MEDIUM | cli.py | 319 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cli.py | 322 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | terraform/variables.tf | 171 | # ============================================================================== | COMMENT |
| MEDIUM | terraform/variables.tf | 173 | # ============================================================================== | COMMENT |
| MEDIUM | terraform/variables.tf | 203 | # ============================================================================== | COMMENT |
| MEDIUM | terraform/variables.tf | 205 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | …roposals/high-quality-content-scraping-architecture.md | 318 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …roposals/high-quality-content-scraping-architecture.md | 320 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …roposals/high-quality-content-scraping-architecture.md | 325 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …roposals/high-quality-content-scraping-architecture.md | 327 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …roposals/high-quality-content-scraping-architecture.md | 334 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …roposals/high-quality-content-scraping-architecture.md | 336 | # ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | docs/docs/proposals/adaptive-deep-research.md | 198 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | docs/docs/proposals/adaptive-deep-research.md | 200 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | docs/docs/proposals/adaptive-deep-research.md | 217 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | docs/docs/proposals/adaptive-deep-research.md | 219 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | docs/docs/proposals/adaptive-deep-research.md | 235 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | docs/docs/proposals/adaptive-deep-research.md | 237 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | docs/docs/proposals/adaptive-deep-research.md | 246 | # ═══════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | docs/docs/proposals/adaptive-deep-research.md | 248 | # ═══════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | docs/docs/proposals/adaptive-deep-research.md | 452 | # ═══════════════════════════════════════════════════════════════ | STRING |
| MEDIUM⚡ | docs/docs/proposals/adaptive-deep-research.md | 454 | # ═══════════════════════════════════════════════════════════════ | STRING |
| MEDIUM | deep_agents/benchmark_data/build_corpus.py | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deep_agents/benchmark_data/build_corpus.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deep_agents/benchmark_data/build_corpus.py | 124 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | deep_agents/benchmark_data/build_corpus.py | 126 | # --------------------------------------------------------------------------- | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gpt_researcher/prompts.py | 40 | def generate_mcp_tool_selection_prompt(query: str, tools_info: List[Dict], max_tools: int = 3) -> str: | CODE |
| LOW | gpt_researcher/prompts.py | 86 | def generate_mcp_research_prompt(query: str, selected_tools: List) -> str: | STRING |
| LOW | gpt_researcher/prompts.py | 122 | def generate_image_analysis_prompt( | CODE |
| LOW | gpt_researcher/prompts.py | 178 | def generate_image_prompt_enhancement( | CODE |
| LOW | gpt_researcher/prompts.py | 213 | def generate_search_queries_prompt( | CODE |
| LOW | gpt_researcher/prompts.py | 349 | def generate_resource_report_prompt( | STRING |
| LOW | gpt_researcher/prompts.py | 389 | def generate_custom_report_prompt( | CODE |
| LOW | gpt_researcher/prompts.py | 395 | def generate_outline_report_prompt( | CODE |
| LOW | gpt_researcher/prompts.py | 414 | def generate_deep_research_prompt( | CODE |
| LOW | gpt_researcher/prompts.py | 528 | def generate_quick_summary_prompt(query: str, context: str) -> str: | STRING |
| LOW | gpt_researcher/prompts.py | 569 | def generate_subtopics_prompt() -> str: | CODE |
| LOW | gpt_researcher/prompts.py | 592 | def generate_subtopic_report_prompt( | STRING |
| LOW | gpt_researcher/prompts.py | 669 | def generate_draft_titles_prompt( | STRING |
| LOW | gpt_researcher/prompts.py | 703 | def generate_report_introduction(question: str, research_summary: str = "", language: str = "english", report_format | STRING |
| LOW | gpt_researcher/prompts.py | 716 | def generate_report_conclusion(query: str, report_content: str, language: str = "english", report_format: str = "apa | STRING |
| LOW | gpt_researcher/prompts.py | 858 | def get_prompt_by_report_type( | CODE |
| LOW | gpt_researcher/agent.py | 571 | async def get_similar_written_contents_by_draft_section_titles( | CODE |
| LOW | gpt_researcher/scraper/utils.py | 114 | def does_tag_have_disallowed_class(elem) -> bool: | CODE |
| LOW | gpt_researcher/scraper/browser/browser.py | 177 | def _visit_google_and_save_cookies(self): | CODE |
| LOW | gpt_researcher/scraper/browser/browser.py | 193 | def scrape_text_with_selenium(self) -> tuple: | CODE |
| LOW | gpt_researcher/retrievers/serper/serper.py | 32 | def _get_exclude_sites_from_env(self): | CODE |
| LOW | gpt_researcher/context/compression.py | 127 | def __get_contextual_retriever(self): | CODE |
| LOW | gpt_researcher/context/compression.py | 213 | def __get_contextual_retriever(self): | CODE |
| LOW⚡ | gpt_researcher/config/config.py | 85 | def _set_embedding_attributes(self) -> None: | CODE |
| LOW⚡ | gpt_researcher/config/config.py | 98 | def _handle_deprecated_attributes(self) -> None: | CODE |
| LOW | gpt_researcher/llm_provider/generic/base.py | 115 | def _reset_last_response_metadata(self) -> None: | CODE |
| LOW | gpt_researcher/llm_provider/generic/base.py | 119 | def _capture_response_metadata(self, message: Any) -> None: | CODE |
| LOW | gpt_researcher/utils/tools.py | 46 | async def create_chat_completion_with_tools( | CODE |
| LOW | gpt_researcher/utils/tools.py | 320 | def get_available_providers_with_tools() -> List[str]: | CODE |
| LOW | gpt_researcher/utils/costs.py | 93 | def _resolve_anthropic_model_name( | CODE |
| LOW | gpt_researcher/utils/costs.py | 142 | def _get_anthropic_pricing_multiplier( | CODE |
| LOW | gpt_researcher/mcp/research.py | 34 | async def conduct_research_with_tools(self, query: str, selected_tools: List) -> List[Dict[str, str]]: | CODE |
| LOW | gpt_researcher/mcp/tool_selector.py | 129 | async def _call_llm_for_tool_selection(self, prompt: str) -> str: | CODE |
| LOW | gpt_researcher/mcp/client.py | 40 | def convert_configs_to_langchain_format(self) -> Dict[str, Dict[str, Any]]: | CODE |
| LOW | gpt_researcher/vector_store/vector_store.py | 26 | def _create_langchain_documents(self, data: List[Dict[str, str]]) -> List[Document]: | CODE |
| LOW | gpt_researcher/actions/report_generation.py | 12 | async def write_report_introduction( | CODE |
| LOW | gpt_researcher/actions/report_generation.py | 160 | async def generate_draft_section_titles( | CODE |
| LOW | gpt_researcher/actions/markdown_processing.py | 78 | def generate_table_of_contents(headers, indent_level=0): | CODE |
| LOW | gpt_researcher/skills/context_manager.py | 37 | async def get_similar_content_by_query(self, query: str, pages: list) -> str: | CODE |
| LOW | gpt_researcher/skills/context_manager.py | 66 | async def get_similar_content_by_query_with_vectorstore(self, query: str, filter: dict | None) -> str: | CODE |
| LOW | gpt_researcher/skills/context_manager.py | 89 | async def get_similar_written_contents_by_draft_section_titles( | CODE |
| LOW | gpt_researcher/skills/context_manager.py | 121 | async def __get_similar_written_contents_by_query( | CODE |
| LOW | gpt_researcher/skills/researcher.py | 247 | async def _get_context_by_vectorstore(self, query, filter: dict | None = None): | CODE |
| LOW | gpt_researcher/skills/researcher.py | 280 | async def _get_context_by_web_search(self, query, scraped_data: list | None = None, query_domains: list | None = Non | CODE |
| LOW | gpt_researcher/skills/researcher.py | 410 | async def _execute_mcp_research_for_queries(self, queries: list, mcp_retrievers: list) -> list: | CODE |
| LOW | gpt_researcher/skills/researcher.py | 671 | def _combine_mcp_and_web_context(self, mcp_context: list, web_context: str, sub_query: str) -> str: | CODE |
| LOW | gpt_researcher/skills/researcher.py | 724 | async def _process_sub_query_with_vectorstore(self, sub_query: str, filter: dict | None = None): | CODE |
| LOW | gpt_researcher/skills/researcher.py | 768 | async def _search_relevant_source_urls(self, query, query_domains: list | None = None): | CODE |
| LOW | gpt_researcher/skills/deep_research.py | 77 | def parse_search_queries_response(response: str, num_queries: int) -> List[Dict[str, str]]: | CODE |
| LOW | gpt_researcher/skills/deep_research.py | 119 | def parse_follow_up_questions_response(response: str, num_questions: int) -> List[str]: | CODE |
| LOW | gpt_researcher/skills/deep_research.py | 143 | def parse_research_results_response(response: str, num_learnings: int) -> Dict[str, Any]: | CODE |
| LOW | gpt_researcher/skills/deep_research.py | 213 | def trim_context_to_word_limit(context_list: List[str], max_words: int = MAX_CONTEXT_WORDS) -> List[str]: | CODE |
| LOW | gpt_researcher/skills/image_generator.py | 271 | async def analyze_report_for_images( | CODE |
| LOW | gpt_researcher/skills/image_generator.py | 467 | async def generate_images_for_report( | CODE |
| LOW | gpt_researcher/skills/image_generator.py | 639 | async def process_image_placeholders( | CODE |
| LOW | multi_agents_ag2/agents/editor.py | 65 | def _format_planning_instructions( | CODE |
| LOW | tests/test_research_conductor_retrieval.py | 56 | async def test_snippet_only_results_are_sent_to_scraper(self): | CODE |
| LOW | tests/test_research_conductor_retrieval.py | 68 | async def test_raw_content_results_stay_prefetched(self): | CODE |
| LOW⚡ | tests/test_multi_agents_plan_revisions.py | 19 | def test_human_feedback_route_accepts_when_no_feedback(): | CODE |
| LOW⚡ | tests/test_multi_agents_plan_revisions.py | 23 | def test_human_feedback_route_revises_until_limit(): | CODE |
| 91 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | gpt_researcher/retrievers/mcp/retriever.py | 234 | # Create a new event loop in a separate thread | COMMENT |
| MEDIUM⚡ | gpt_researcher/utils/logger.py | 19 | # Create a handler | COMMENT |
| MEDIUM⚡ | gpt_researcher/utils/logger.py | 22 | # Create a formatter using DefaultFormatter | COMMENT |
| MEDIUM | gpt_researcher/mcp/research.py | 236 | # Create a search result with a generic title | COMMENT |
| MEDIUM | gpt_researcher/skills/researcher.py | 700 | # Create a well-formatted context entry | COMMENT |
| MEDIUM | gpt_researcher/skills/image_generator.py | 605 | # Create a mapping of section headers to images | COMMENT |
| MEDIUM | tests/test-your-embeddings.py | 30 | # Create a Memory instance using the configuration | COMMENT |
| MEDIUM⚡ | tests/documents-report-source.py | 9 | # Define the report types to test | COMMENT |
| MEDIUM⚡ | tests/documents-report-source.py | 19 | # Define a common query and sources for testing | COMMENT |
| MEDIUM⚡ | tests/documents-report-source.py | 22 | # Define the output directory | COMMENT |
| MEDIUM⚡ | tests/documents-report-source.py | 33 | # Create an instance of GPTResearcher with report_source set to "documents" | COMMENT |
| MEDIUM⚡ | tests/documents-report-source.py | 41 | # Define the expected output filenames | COMMENT |
| MEDIUM⚡ | tests/report-types.py | 9 | # Define the report types to test | COMMENT |
| MEDIUM⚡ | tests/report-types.py | 12 | # Define a common query and sources for testing | COMMENT |
| MEDIUM⚡ | tests/report-types.py | 21 | # Create an instance of GPTResearcher | COMMENT |
| MEDIUM⚡ | tests/test-your-retriever.py | 11 | # Initialize the Config object | COMMENT |
| MEDIUM⚡ | tests/test-your-retriever.py | 18 | # Create a mock researcher object with necessary attributes | COMMENT |
| MEDIUM | tests/test-your-retriever.py | 32 | # Define a sub-query to test | COMMENT |
| MEDIUM⚡ | tests/test_security_fix.py | 131 | # Create a symlink pointing outside the directory | COMMENT |
| MEDIUM⚡ | tests/test_security_fix.py | 291 | # Create a subdirectory | COMMENT |
| MEDIUM | tests/test_security_fix.py | 97 | # Create a filename longer than 255 bytes | COMMENT |
| MEDIUM | tests/test_security_fix.py | 220 | # Create an existing file | COMMENT |
| MEDIUM | tests/test_security_fix.py | 261 | # Create a test file | COMMENT |
| MEDIUM | tests/vector-store.py | 127 | # Create an instance of GPTResearcher | STRING |
| MEDIUM | tests/test_researcher_logging.py | 26 | # Create a researcher instance with a logging-focused query | COMMENT |
| MEDIUM | backend/utils.py | 115 | # Create a document object | COMMENT |
| MEDIUM | backend/chat/chat.py | 155 | # Create a search tool using the utility function | COMMENT |
| MEDIUM | backend/server/logging_config.py | 78 | # Create a function to get the logger and JSON handler | COMMENT |
| MEDIUM | multi_agents/agents/utils/file_formats.py | 89 | # Create a document object | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 10 | "output": "# The Best Tutorials for Training LLMs on Custom Data: An In-Depth Report (2025)\n\nThe rapid evolution | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 10 | "output": "# The Best Tutorials for Training LLMs on Custom Data: An In-Depth Report (2025)\n\nThe rapid evolution | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 10 | "output": "# The Best Tutorials for Training LLMs on Custom Data: An In-Depth Report (2025)\n\nThe rapid evolution | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 11 | "source": "Source: https://medium.com/@pranshu.singh765/mastering-llm-custom-data-training-in-2025-fine-tuning-lar | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 11 | "source": "Source: https://medium.com/@pranshu.singh765/mastering-llm-custom-data-training-in-2025-fine-tuning-lar | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 11 | "source": "Source: https://medium.com/@pranshu.singh765/mastering-llm-custom-data-training-in-2025-fine-tuning-lar | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 11 | "source": "Source: https://medium.com/@pranshu.singh765/mastering-llm-custom-data-training-in-2025-fine-tuning-lar | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 11 | "source": "Source: https://medium.com/@pranshu.singh765/mastering-llm-custom-data-training-in-2025-fine-tuning-lar | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 11 | "source": "Source: https://medium.com/@pranshu.singh765/mastering-llm-custom-data-training-in-2025-fine-tuning-lar | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 17 | "source": "Source: https://www.globenewswire.com/news-release/2025/04/26/3068732/0/en/These-5-AI-trends-Will-Shape | CODE |
| MEDIUM | gpt_researcher/prompts.py | 105 | return f"""You are a research assistant with access to specialized tools. Your task is to research the following | STRING |
| LOW | gpt_researcher/actions/web_scraping.py | 82 | # For now, we'll just return the raw HTML as a placeholder | COMMENT |
| MEDIUM | …ents/benchmark_results/hybrid_2026-07-05_14-43-50.json | 31 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam, warehouse robotics / AMR)\n\n## Executive su | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-43-50.json | 113 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. \n*Prepared July 5, 2026*\n\n## Executive summary\n\nVe | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-43-50.json | 113 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. \n*Prepared July 5, 2026*\n\n## Executive summary\n\nVe | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-29-57.json | 31 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam warehouse robotics / AMR)\n\n## Executive sum | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-29-57.json | 31 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam warehouse robotics / AMR)\n\n## Executive sum | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-37-31.json | 31 | "report": "## Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam warehouse robotics / AMR)\n\n### Executive s | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-37-31.json | 31 | "report": "## Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam warehouse robotics / AMR)\n\n### Executive s | CODE |
| MEDIUM | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 79 | "report": "# How the Global Semiconductor Supply Chain Has Changed Since 2020, and the Key Dependencies and Risk | CODE |
| MEDIUM | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 79 | "report": "# How the Global Semiconductor Supply Chain Has Changed Since 2020, and the Key Dependencies and Risk | CODE |
| MEDIUM | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 115 | "report": "# What the Evidence Says About Remote Work, Productivity, and Employee Wellbeing\n\n## Executive summ | CODE |
| MEDIUM⚡ | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 160 | "report": "# AI governance in the US and EU: approaches and differences\n\n## Executive summary\n\nThe EU has ad | CODE |
| MEDIUM⚡ | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 169 | "report": "# AI Governance in the US and EU: How regulators are approaching it, and how the frameworks differ\n\ | CODE |
| MEDIUM⚡ | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 187 | "report": "# Report: The current state of mRNA vaccine technology beyond COVID-19, and the most promising applic | CODE |
| MEDIUM⚡ | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 196 | "report": "# What is the current state of mRNA vaccine technology beyond COVID-19, and which applications are mo | CODE |
| MEDIUM⚡ | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 196 | "report": "# What is the current state of mRNA vaccine technology beyond COVID-19, and which applications are mo | CODE |
| MEDIUM | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 214 | "report": "# Economic and Environmental Arguments For and Against Deep-Sea Mining\n\n## Executive summary\n\nDee | CODE |
| MEDIUM | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 214 | "report": "# Economic and Environmental Arguments For and Against Deep-Sea Mining\n\n## Executive summary\n\nDee | CODE |
| MEDIUM | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 250 | "report": "# How precision agriculture is changing farming, and what evidence exists for its impact on yields an | CODE |
| MEDIUM | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 250 | "report": "# How precision agriculture is changing farming, and what evidence exists for its impact on yields an | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …researcher/retrievers/pubmed_central/pubmed_central.py | 142 | # Step 1: Search for article IDs | COMMENT |
| LOW⚡ | …researcher/retrievers/pubmed_central/pubmed_central.py | 147 | # Step 2: Fetch full text for each article | COMMENT |
| LOW | gpt_researcher/skills/image_generator.py | 109 | # Step 1: Use LLM to identify best visualization opportunities | COMMENT |
| LOW | gpt_researcher/skills/image_generator.py | 124 | # Step 2: Generate all images in parallel | COMMENT |
| LOW | frontend/nextjs/app/research/[id]/page.tsx | 115 | // Step 1: Try to find it in localStorage first | COMMENT |
| LOW | frontend/nextjs/app/research/[id]/page.tsx | 134 | // Step 2: Try to find it in the backend | COMMENT |
| LOW | frontend/nextjs/app/research/[id]/page.tsx | 211 | // Step 3: If found in localStorage but not in backend, save it | COMMENT |
| LOW | frontend/nextjs/app/research/[id]/page.tsx | 256 | // Step 4: If not found anywhere, show not found message | COMMENT |
| LOW | .claude/references/adding-features.md | 22 | ### Step 1: Add Configuration | COMMENT |
| LOW | .claude/references/adding-features.md | 43 | ### Step 2: Create Provider | COMMENT |
| LOW | .claude/references/adding-features.md | 63 | ### Step 3: Create Skill | COMMENT |
| LOW | .claude/references/adding-features.md | 90 | ### Step 4: Integrate into Agent | COMMENT |
| LOW⚡ | .claude/references/adding-features.md | 109 | ### Step 5: Update Prompts | COMMENT |
| LOW⚡ | .claude/references/adding-features.md | 119 | ### Step 6: WebSocket Events | COMMENT |
| LOW⚡ | .claude/references/adding-features.md | 123 | ### Step 7: Frontend (if needed) | COMMENT |
| LOW⚡ | .claude/references/adding-features.md | 133 | ### Step 8: Documentation | COMMENT |
| LOW | .claude/references/retrievers.md | 69 | ### Step 1: Create Retriever File | COMMENT |
| LOW⚡ | .claude/references/retrievers.md | 92 | ### Step 2: Register in retriever.py | COMMENT |
| LOW⚡ | .claude/references/retrievers.md | 102 | ### Step 3: Export in __init__.py | COMMENT |
| LOW⚡ | .claude/references/retrievers.md | 111 | ### Step 4: Usage | COMMENT |
| LOW | docs/docs/gpt-researcher/context/data-ingestion.md | 44 | ### Step 1: Transform your content into Langchain Documents | COMMENT |
| LOW⚡ | docs/docs/gpt-researcher/context/data-ingestion.md | 93 | ### Step 2: Insert your Langchain Documents into a Langchain VectorStore | COMMENT |
| LOW | docs/docs/gpt-researcher/context/data-ingestion.md | 127 | ### Step 3: Pass your Langchain Vectorstore into your GPTR report | COMMENT |
| LOW⚡ | …ocs/gpt-researcher/getting-started/linux-deployment.md | 24 | ### Step 1: Update the System | COMMENT |
| LOW⚡ | …ocs/gpt-researcher/getting-started/linux-deployment.md | 29 | ### Step 2: Install Git | COMMENT |
| LOW⚡ | …ocs/gpt-researcher/getting-started/linux-deployment.md | 36 | ### Step 3: Install Docker | COMMENT |
| LOW⚡ | docs/blog/2024-09-7-hybrid-research/index.md | 129 | #### Step 1: Install GPT Researcher with PIP | COMMENT |
| LOW⚡ | docs/blog/2024-09-7-hybrid-research/index.md | 135 | #### Step 2: Setting up the environment | COMMENT |
| LOW⚡ | docs/blog/2024-09-7-hybrid-research/index.md | 144 | #### Step 3: Initialize GPT Researcher with hybrid research configuration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | evals/hallucination_eval/run_eval.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | evals/hallucination_eval/evaluate.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/__init__.py | 3 | __all__ = ['GPTResearcher'] | CODE |
| LOW | gpt_researcher/agent.py | 709 | def set_verbose(self, verbose: bool) -> None: | CODE |
| LOW | gpt_researcher/scraper/__init__.py | 11 | __all__ = [ | CODE |
| LOW | gpt_researcher/scraper/beautiful_soup/beautiful_soup.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/retrievers/__init__.py | 22 | __all__ = [ | CODE |
| LOW | gpt_researcher/retrievers/utils.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/retrievers/mcp/__init__.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/retrievers/brave/__init__.py | 3 | __all__ = ["BraveSearch"] | CODE |
| LOW | gpt_researcher/context/__init__.py | 4 | __all__ = ['ContextCompressor', 'SearchAPIRetriever'] | CODE |
| LOW | gpt_researcher/config/config.py | 62 | def _set_attributes(self, config: Dict[str, Any]) -> None: | CODE |
| LOW⚡ | gpt_researcher/config/config.py | 85 | def _set_embedding_attributes(self) -> None: | CODE |
| LOW⚡ | gpt_researcher/config/config.py | 91 | def _set_llm_attributes(self) -> None: | CODE |
| LOW | gpt_researcher/config/config.py | 147 | def _set_doc_path(self, config: Dict[str, Any]) -> None: | CODE |
| LOW | gpt_researcher/config/config.py | 291 | def set_verbose(self, verbose: bool) -> None: | CODE |
| LOW | gpt_researcher/config/__init__.py | 5 | __all__ = ["Config", "BaseConfig", "DefaultConfig"] | CODE |
| LOW | gpt_researcher/llm_provider/__init__.py | 4 | __all__ = [ | CODE |
| LOW | gpt_researcher/llm_provider/image/__init__.py | 6 | __all__ = ["ImageGeneratorProvider", "ModelsLabImageGeneratorProvider"] | CODE |
| LOW | …archer/llm_provider/image/modelslab_image_generator.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/llm_provider/image/image_generator.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/llm_provider/generic/__init__.py | 3 | __all__ = ["GenericLLMProvider"] | CODE |
| LOW | gpt_researcher/utils/tools.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/utils/costs.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/mcp/research.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/mcp/tool_selector.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/mcp/client.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/mcp/__init__.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/mcp/streaming.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/document/__init__.py | 5 | __all__ = ['DocumentLoader', 'OnlineDocumentLoader', 'LangChainDocumentLoader'] | CODE |
| LOW | gpt_researcher/vector_store/__init__.py | 3 | __all__ = ['VectorStoreWrapper'] | CODE |
| LOW | gpt_researcher/actions/query_processing.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/actions/__init__.py | 9 | __all__ = [ | CODE |
| LOW | gpt_researcher/actions/agent_creator.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/skills/__init__.py | 8 | __all__ = [ | CODE |
| LOW | gpt_researcher/skills/deep_research.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | gpt_researcher/skills/image_generator.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | multi_agents_ag2/agents/__init__.py | 11 | __all__ = [ | CODE |
| LOW | tests/test_logging_output.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/test_researcher_logging.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/test_mcp.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/chat/chat.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/report_type/__init__.py | 4 | __all__ = [ | CODE |
| LOW | backend/report_type/deep_research/example.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/server/server_utils.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/server/app.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/server/websocket_manager.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | multi_agents/__init__.py | 17 | __all__ = [ | CODE |
| LOW | multi_agents/memory/__init__.py | 4 | __all__ = [ | CODE |
| LOW | multi_agents/agents/__init__.py | 14 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | evals/hallucination_eval/run_eval.py | 130 | # Evaluate the research report for hallucination | COMMENT |
| MEDIUM | evals/hallucination_eval/run_eval.py | 192 | # Calculate hallucination rate | COMMENT |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 10 | "output": "# The Best Tutorials for Training LLMs on Custom Data: An In-Depth Report (2025)\n\nThe rapid evolution | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 11 | "source": "Source: https://medium.com/@pranshu.singh765/mastering-llm-custom-data-training-in-2025-fine-tuning-lar | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 16 | "output": "# Emerging Trends in Real-Time AI Evaluation Tools: A 2025 Analysis\n\nThe rapid integration of artific | CODE |
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 17 | "source": "Source: https://www.globenewswire.com/news-release/2025/04/26/3068732/0/en/These-5-AI-trends-Will-Shape | CODE |
| MEDIUM | …s/gpt-researcher/search-engines/test-your-retriever.md | 64 | "href": "https://accredianpublication.medium.com/building-smarter-systems-the-role-of-agentic-design-patterns-in-gen | CODE |
| MEDIUM | docs/docs/gpt-researcher/llms/llms.md | 63 | # specify the custom embedding model | COMMENT |
| MEDIUM | docs/docs/gpt-researcher/llms/running-with-azure.md | 14 | EMBEDDING="azure_openai:text-embedding-ada-002" # change to the deployment of your embedding model | CODE |
| MEDIUM | …ents/benchmark_results/hybrid_2026-07-05_14-43-50.json | 31 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam, warehouse robotics / AMR)\n\n## Executive su | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-43-50.json | 113 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. \n*Prepared July 5, 2026*\n\n## Executive summary\n\nVe | CODE |
| MEDIUM | …ents/benchmark_results/hybrid_2026-07-05_14-43-50.json | 195 | "report": "# Due-Diligence Brief: Veltrix Dynamics B.V. \n**Topic:** Rotterdam-based warehouse robotics / AMR c | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-29-57.json | 31 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam warehouse robotics / AMR)\n\n## Executive sum | CODE |
| MEDIUM | …ents/benchmark_results/hybrid_2026-07-05_14-29-57.json | 113 | "report": "# Due-diligence brief: Veltrix Dynamics B.V.\n\n## Executive summary\n\nVeltrix Dynamics B.V. is a Ro | CODE |
| MEDIUM | …ents/benchmark_results/hybrid_2026-07-05_14-29-57.json | 195 | "report": "# Due-diligence brief: Veltrix Dynamics B.V.\n\n## Executive summary\n\n**Bottom line:** Veltrix Dyna | CODE |
| MEDIUM⚡ | …ents/benchmark_results/hybrid_2026-07-05_14-37-31.json | 31 | "report": "## Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam warehouse robotics / AMR)\n\n### Executive s | CODE |
| MEDIUM | …ents/benchmark_results/hybrid_2026-07-05_14-37-31.json | 113 | "report": "# Due-diligence brief: Veltrix Dynamics B.V. (Rotterdam)\n\n## Executive summary\n\nVeltrix Dynamics | CODE |
| MEDIUM | …ents/benchmark_results/hybrid_2026-07-05_14-37-31.json | 195 | "report": "# Due-diligence brief: Veltrix Dynamics B.V.\n\n## Executive summary\n\nVeltrix Dynamics B.V. appears | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | evals/hallucination_eval/run_eval.py | 146 | CODE | |
| LOW | evals/simple_evals/run_eval.py | 106 | CODE | |
| LOW | gpt_researcher/agent.py | 216 | CODE | |
| LOW | gpt_researcher/agent.py | 310 | CODE | |
| LOW | gpt_researcher/scraper/utils.py | 16 | CODE | |
| LOW | gpt_researcher/scraper/pymupdf/pymupdf.py | 34 | CODE | |
| LOW | gpt_researcher/scraper/browser/browser.py | 85 | CODE | |
| LOW | gpt_researcher/retrievers/searchapi/searchapi.py | 35 | CODE | |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 201 | CODE | |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 235 | CODE | |
| LOW | gpt_researcher/retrievers/serpapi/serpapi.py | 36 | CODE | |
| LOW | gpt_researcher/config/config.py | 98 | CODE | |
| LOW | gpt_researcher/config/config.py | 257 | CODE | |
| LOW | gpt_researcher/llm_provider/image/image_generator.py | 268 | CODE | |
| LOW | gpt_researcher/llm_provider/image/image_generator.py | 351 | CODE | |
| LOW | gpt_researcher/llm_provider/generic/base.py | 136 | CODE | |
| LOW | gpt_researcher/utils/tools.py | 46 | CODE | |
| LOW | gpt_researcher/utils/tools.py | 230 | CODE | |
| LOW | gpt_researcher/utils/tools.py | 241 | CODE | |
| LOW | gpt_researcher/mcp/research.py | 34 | CODE | |
| LOW | gpt_researcher/mcp/research.py | 158 | CODE | |
| LOW | gpt_researcher/mcp/tool_selector.py | 35 | CODE | |
| LOW | gpt_researcher/mcp/client.py | 40 | CODE | |
| LOW | gpt_researcher/mcp/streaming.py | 49 | CODE | |
| LOW | gpt_researcher/document/document.py | 21 | CODE | |
| LOW | gpt_researcher/actions/retriever.py | 123 | CODE | |
| LOW | gpt_researcher/skills/researcher.py | 97 | CODE | |
| LOW | gpt_researcher/skills/researcher.py | 280 | CODE | |
| LOW | gpt_researcher/skills/researcher.py | 410 | CODE | |
| LOW | gpt_researcher/skills/researcher.py | 466 | CODE | |
| LOW | gpt_researcher/skills/researcher.py | 671 | CODE | |
| LOW | gpt_researcher/skills/researcher.py | 768 | CODE | |
| LOW | gpt_researcher/skills/researcher.py | 853 | CODE | |
| LOW | gpt_researcher/skills/deep_research.py | 143 | CODE | |
| LOW | gpt_researcher/skills/image_generator.py | 467 | CODE | |
| LOW | gpt_researcher/skills/image_generator.py | 639 | CODE | |
| LOW | backend/server/server_utils.py | 327 | CODE | |
| LOW | backend/server/websocket_manager.py | 30 | CODE | |
| LOW | backend/server/websocket_manager.py | 66 | CODE | |
| LOW | multi_agents/agents/human.py | 10 | CODE | |
| LOW | deep_agents/main.py | 40 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | evals/hallucination_eval/evaluate.py | 66 | # Print results | COMMENT |
| LOW | gpt_researcher/scraper/firecrawl/firecrawl.py | 55 | # Check if the page has been scraped successfully | COMMENT |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 126 | # Check if we have any server configurations | COMMENT |
| LOW | gpt_researcher/retrievers/mcp/retriever.py | 214 | # Check if we have any server configurations | COMMENT |
| LOW | gpt_researcher/retrievers/mcp/__init__.py | 12 | # Check if langchain-mcp-adapters is available | COMMENT |
| LOW⚡ | gpt_researcher/utils/logger.py | 17 | # Check if the logger already has handlers to avoid duplicates | COMMENT |
| LOW | gpt_researcher/mcp/research.py | 84 | # Check if the LLM made tool calls | COMMENT |
| LOW | gpt_researcher/mcp/__init__.py | 16 | # Check if langchain-mcp-adapters is available | COMMENT |
| LOW | gpt_researcher/actions/query_processing.py | 34 | # Check if this is an MCP retriever and pass the researcher instance | COMMENT |
| LOW | gpt_researcher/actions/query_processing.py | 158 | # Check if MCP is the only retriever or one of multiple retrievers | COMMENT |
| LOW | gpt_researcher/skills/researcher.py | 139 | # Check if MCP retrievers are configured | COMMENT |
| LOW | gpt_researcher/skills/image_generator.py | 617 | # Check if this is a header that needs an image | COMMENT |
| LOW | tests/test-your-embeddings.py | 16 | # Check if embedding attributes are set | COMMENT |
| LOW⚡ | tests/documents-report-source.py | 45 | # Check if the PDF and DOCX files are created | COMMENT |
| LOW | tests/report-types.py | 36 | # Check if the report contains part of the query | COMMENT |
| LOW⚡ | backend/utils.py | 82 | # Set base_url to current directory for resolving any remaining relative paths | COMMENT |
| LOW | backend/chat/chat.py | 117 | # Check if Tavily client is available | COMMENT |
| LOW | backend/server/server_utils.py | 210 | # Check if ChatAgentWithMemory is available | COMMENT |
| LOW | .github/workflows/deploy.yml | 149 | # Check if commit contains application changes (non-terraform files) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 296 | export LANGCHAIN_API_KEY=your_api_key | CODE |
| HIGH | frontend/nextjs/README.md | 80 | apiKey="your-api-key-if-needed" | CODE |
| HIGH | …s/docs/gpt-researcher/search-engines/search-engines.md | 55 | RETRIEVER_ARG_API_KEY=YOUR_API_KEY | CODE |
| HIGH | docs/docs/gpt-researcher/gptr/scraping.md | 109 | export TAVILY_API_KEY="your-api-key" | CODE |
| HIGH | docs/docs/proposals/social-media-data-acquisition.md | 586 | "Authorization": "Bearer YOUR_API_KEY", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 160 | "report": "# AI governance in the US and EU: approaches and differences\n\n## Executive summary\n\nThe EU has ad | CODE |
| HIGH⚡ | …/benchmark_results/reports_2026-07-04_14-33-21_n8.json | 160 | "report": "# AI governance in the US and EU: approaches and differences\n\n## Executive summary\n\nThe EU has ad | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gpt_researcher/skills/deep_research.py | 0 | previous research goal: {result['researchgoal']} follow-up questions: {' '.join(result['followupquestions'])} | STRING |
| HIGH | backend/report_type/deep_research/example.py | 0 | previous research goal: {result['researchgoal']} follow-up questions: {' '.join(result['followupquestions'])} | STRING |
| HIGH | docs/blog/2025-02-26-deep-research/index.md | 0 | previous research goal: {result['researchgoal']} follow-up questions: {' '.join(result['followupquestions'])} | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …researcher/retrievers/pubmed_central/pubmed_central.py | 142 | # Step 1: Search for article IDs | COMMENT |
| LOW⚡ | …researcher/retrievers/pubmed_central/pubmed_central.py | 147 | # Step 2: Fetch full text for each article | COMMENT |
| LOW | gpt_researcher/skills/image_generator.py | 109 | # Step 1: Use LLM to identify best visualization opportunities | COMMENT |
| LOW | gpt_researcher/skills/image_generator.py | 124 | # Step 2: Generate all images in parallel | COMMENT |
| LOW | frontend/nextjs/app/research/[id]/page.tsx | 115 | // Step 1: Try to find it in localStorage first | COMMENT |
| LOW | frontend/nextjs/app/research/[id]/page.tsx | 134 | // Step 2: Try to find it in the backend | COMMENT |
| LOW | frontend/nextjs/app/research/[id]/page.tsx | 211 | // Step 3: If found in localStorage but not in backend, save it | COMMENT |
| LOW | frontend/nextjs/app/research/[id]/page.tsx | 256 | // Step 4: If not found anywhere, show not found message | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gpt_researcher/agent.py | 52 | CODE | |
| LOW | gpt_researcher/scraper/scraper.py | 72 | CODE | |
| LOW | gpt_researcher/retrievers/tavily/tavily_search.py | 61 | CODE | |
| LOW | gpt_researcher/utils/llm.py | 41 | CODE | |
| LOW | gpt_researcher/actions/report_generation.py | 209 | CODE | |
| LOW | backend/report_type/detailed_report/detailed_report.py | 11 | CODE | |
| LOW | backend/server/websocket_manager.py | 116 | CODE | |
| LOW | multi_agents/agents/fact_checker.py | 32 | CODE | |
| LOW | multi_agents/agents/orchestrator.py | 146 | CODE | |
| LOW | multi_agents/agents/writer.py | 71 | CODE | |
| LOW | multi_agents/agents/reviser.py | 52 | CODE | |
| LOW | multi_agents/agents/visualizer.py | 26 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gpt_researcher/utils/tools.py | 58 | Create a chat completion with tool calling support across all LLM providers. This function uses LangChain' | STRING |
| HIGH | multi_agents/agents/utils/utils.py | 4 | Sanitize a given filename by replacing characters that are invalid in Windows file paths with an underscore (' | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | evals/hallucination_eval/results/aggregate_results.json | 11 | "source": "Source: https://medium.com/@pranshu.singh765/mastering-llm-custom-data-training-in-2025-fine-tuning-lar | CODE |
| LOW | gpt_researcher/prompts.py | 307 | - Don't forget to add a reference list at the end of the report in {report_format} format. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/research_test.py | 41 | print(f"\nLength of the context = {len(researcher.get_research_context())}") # Must say Non-zero value because the q | COMMENT |
| LOW | tests/research_test.py | 61 | # report, researcher = asyncio.run(get_report(query, report_type, sources)) | COMMENT |
| LOW | tests/research_test.py | 81 | # report_type = "research_report" | COMMENT |
| LOW | tests/research_test.py | 101 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | json_schema_generator.py | 35 | "name": "John Doe", | CODE |
| LOW | docs/docs/gpt-researcher/llms/llms.md | 48 | OPENAI_API_KEY=dummy_key | CODE |
| LOW | docs/docs/gpt-researcher/llms/llms.md | 61 | OPENAI_API_KEY=dummy_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | json_schema_generator.py | 31 | # Example usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | deep_agents/drb_generate.py | 103 | async def run_task(task: dict, agent=agent, system=system): | CODE |