Repository Analysis

microsoft/UFO

UFO³: Weaving the Digital Agent Galaxy

22.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/UFO, a Python project with 9,283 GitHub stars. SynthScan v2.0 examined 258,105 lines of code across 799 source files, recording 3990 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 22.5 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).

22.5
Adjusted Score
22.5
Raw Score
100%
Time Factor
2026-07-08
Last Push
9.3K
Stars
Python
Language
258.1K
Lines of Code
799
Files
4.0K
Pattern Hits
2026-07-14
Scan Date
0.19
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 1HIGH 151MEDIUM 434LOW 3404

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 3990 distinct pattern matches across 25 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 Identifiers1373 hits · 1382 pts
SeverityFileLineSnippetContext
LOWdataflow/data_flow_controller.py261 def instantiation_single_flow(CODE
LOWdataflow/prompter/instantiation/prefill_prompter.py67 def system_prompt_construction(self, additional_examples: List = []) -> str:CODE
LOWdataflow/prompter/instantiation/prefill_prompter.py108 def user_content_construction(CODE
LOWdataflow/prompter/instantiation/filter_prompter.py84 def system_prompt_construction(self, app: str = "") -> str:CODE
LOWdataflow/prompter/instantiation/filter_prompter.py110 def user_content_construction(self, request: str) -> List[Dict]:CODE
LOWdataflow/prompter/instantiation/template_prompter.py70 def system_prompt_construction(self, descriptions: str = "") -> str:CODE
LOWdataflow/prompter/instantiation/template_prompter.py96 def user_content_construction(self, path: str, request: str) -> List[Dict]:CODE
LOWdataflow/instantiation/workflow/filter_flow.py34 def _get_or_create_filter_agent(self) -> FilterAgent:CODE
LOWdataflow/instantiation/workflow/choose_template_flow.py82 def _generate_copied_file_path(self, folder_path: Path, file_name: str) -> str:CODE
LOWdataflow/instantiation/workflow/choose_template_flow.py133 def _choose_template_and_copy(self) -> str:CODE
LOWdataflow/instantiation/workflow/choose_template_flow.py152 def _choose_target_template_file(CODE
LOWdataflow/instantiation/workflow/choose_template_flow.py178 def _choose_target_template_file_semantic(CODE
LOWdataflow/instantiation/workflow/choose_template_flow.py200 def _choose_target_template_file_llm(CODE
LOWdataflow/execution/workflow/execute_flow.py54 def _get_or_create_execute_agent(self) -> ExecuteAgent:CODE
LOWdataflow/execution/workflow/execute_flow.py68 def _get_or_create_evaluation_agent(self) -> ExecuteEvalAgent:CODE
LOWdataflow/execution/workflow/execute_flow.py282 def init_and_final_capture_screenshot(self) -> None:CODE
LOWufo/experience/summarizer.py165 def create_or_update_vector_db(summaries: list, db_path: str):CODE
LOWufo/prompter/eva_prompter.py37 def system_prompt_construction(self) -> str:CODE
LOWufo/prompter/eva_prompter.py78 def user_content_construction(CODE
LOWufo/prompter/eva_prompter.py93 def user_content_construction_head_tail(CODE
LOWufo/prompter/eva_prompter.py188 def user_content_construction_all(CODE
LOWufo/prompter/eva_prompter.py349 def create_api_prompt_template(self, tool_info_dict: Dict[str, Any]) -> None:CODE
LOWufo/prompter/demonstration_prompter.py34 def system_prompt_construction(self) -> str:CODE
LOWufo/prompter/demonstration_prompter.py58 def user_content_construction(CODE
LOWufo/prompter/experience_prompter.py36 def system_prompt_construction(self) -> str:CODE
LOWufo/prompter/experience_prompter.py60 def user_content_construction(CODE
LOWufo/prompter/agent_prompter.py35 def create_api_prompt_template(self, tools: List[MCPToolInfo]):CODE
LOWufo/prompter/agent_prompter.py42 def system_prompt_construction(self) -> str:CODE
LOWufo/prompter/agent_prompter.py87 def third_party_agent_instruction(CODE
LOWufo/prompter/agent_prompter.py106 def user_content_construction(CODE
LOWufo/prompter/agent_prompter.py214 def create_api_prompt_template(self, tools: List[MCPToolInfo]):CODE
LOWufo/prompter/agent_prompter.py221 def system_prompt_construction(self, additional_examples: List[str] = []) -> str:CODE
LOWufo/prompter/agent_prompter.py281 def user_content_construction(CODE
LOWufo/prompter/basic.py90 def retrieved_documents_prompt_helper(CODE
LOWufo/prompter/basic.py172 def system_prompt_construction(self) -> str:STRING
LOWufo/prompter/basic.py188 def user_content_construction(self) -> str:STRING
LOWufo/prompter/customized/linux_agent_prompter.py33 def system_prompt_construction(self, additional_examples: List[str] = []) -> str:CODE
LOWufo/prompter/customized/linux_agent_prompter.py75 def user_content_construction(CODE
LOWufo/prompter/customized/mobile_agent_prompter.py30 def system_prompt_construction(self, additional_examples: List[str] = []) -> str:CODE
LOWufo/prompter/customized/mobile_agent_prompter.py72 def user_content_construction(CODE
LOWufo/llm/gemini.py179 def get_text_from_all_candidates(CODE
LOWufo/llm/openai.py301 def _messages_to_responses_input(CODE
LOWufo/llm/openai.py361 def _chat_completion_operator(CODE
LOWufo/config/__init__.py135def get_offline_learner_indexer_config():CODE
LOWufo/module/session_pool.py323 def create_follower_session_in_batch(CODE
LOWufo/module/session_pool.py403 def get_file_name_without_extension(self, file_path: str) -> str:CODE
LOWufo/module/context.py299 def current_round_subtask_amount(self) -> int:CODE
LOWufo/module/context.py308 def current_round_subtask_amount(self, value: int) -> None:CODE
LOWufo/module/context.py391 def attach_command_dispatcher(CODE
LOWufo/module/sessions/session.py378 def terminate_application_processes(self):CODE
LOWufo/module/sessions/session.py402 def setup_application_environment(self):CODE
LOWufo/agents/agent/host_agent.py78 def resolve_operator_agent_config(CODE
LOWufo/agents/agent/host_agent.py97 def resolve_third_party_config(CODE
LOWufo/agents/agent/app_agent.py220 def demonstration_prompt_helper(self, request) -> Tuple[List[Dict[str, Any]]]:CODE
LOWufo/agents/agent/app_agent.py246 def external_knowledge_prompt_helper(CODE
LOWufo/agents/agent/app_agent.py334 def rag_demonstration_retrieve(self, request: str, demonstration_top_k: int) -> str:CODE
LOWufo/agents/agent/app_agent.py416 def build_offline_docs_retriever(self) -> None:CODE
LOWufo/agents/agent/app_agent.py424 def build_online_search_retriever(self, request: str, top_k: int) -> None:CODE
LOWufo/agents/agent/app_agent.py434 def build_experience_retriever(self, db_path: str) -> None:CODE
LOWufo/agents/agent/app_agent.py444 def build_human_demonstration_retriever(self, db_path: str) -> None:CODE
1313 more matches not shown…
Excessive Try-Catch Wrapping793 hits · 772 pts
SeverityFileLineSnippetContext
LOWdataflow/data_flow_controller.py240 except Exception as e:CODE
LOWdataflow/data_flow_controller.py283 except Exception as e:CODE
LOWdataflow/data_flow_controller.py451 except Exception as e:CODE
LOWdataflow/dataflow.py75 except Exception as e:CODE
LOWdataflow/prompter/instantiation/filter_prompter.py95 except Exception as e:CODE
LOWdataflow/prompter/instantiation/template_prompter.py81 except Exception as e:CODE
LOWdataflow/instantiation/workflow/filter_flow.py63 except Exception as e:CODE
LOWdataflow/instantiation/workflow/filter_flow.py128 except Exception as e:CODE
LOWdataflow/instantiation/workflow/prefill_flow.py95 except Exception as e:CODE
LOWdataflow/instantiation/workflow/prefill_flow.py128 except Exception as e:CODE
LOWdataflow/instantiation/workflow/prefill_flow.py215 except Exception as e:CODE
LOWdataflow/instantiation/workflow/prefill_flow.py275 except Exception as e:CODE
LOWdataflow/instantiation/workflow/choose_template_flow.py53 except Exception as e:CODE
LOWdataflow/execution/workflow/execute_flow.py111 except Exception as error:CODE
LOWdataflow/execution/workflow/execute_flow.py122 except Exception as error:CODE
LOWdataflow/execution/workflow/execute_flow.py160 except Exception as error:CODE
LOWdataflow/execution/workflow/execute_flow.py185 except Exception as ControllerNotFoundError:CODE
LOWdataflow/execution/workflow/execute_flow.py189 except Exception as error:CODE
LOWdataflow/execution/workflow/execute_flow.py370 except Exception:CODE
LOWconfig/config_loader.py232 except Exception as e:CODE
LOWufo/prompter/eva_prompter.py166 except Exception:CODE
LOWufo/tools/convert_config.py557 except Exception as e:STRING
LOWufo/tools/test_config.py57 except Exception as e:CODE
LOWufo/tools/test_config.py102 except Exception as e:CODE
LOWufo/tools/migrate_config.py339 except Exception as e:STRING
LOWufo/tools/validate_config.py325 except Exception as e:CODE
LOWufo/llm/llm_call.py99 except Exception as e:CODE
LOWufo/llm/claude.py82 except Exception as e:CODE
LOWufo/llm/gemini.py117 except Exception as e:CODE
MEDIUMufo/llm/gemini.py174 print("Error: Could not parse the data URL.")CODE
LOWufo/llm/llava.py93 except Exception as e:CODE
LOWufo/llm/openai.py529 except Exception as e:CODE
LOWufo/llm/openai.py538 except Exception as e:CODE
LOWufo/llm/openai.py620 except Exception as e:CODE
LOWufo/llm/openai.py629 except Exception as e:CODE
MEDIUMufo/llm/openai.py532def load_auth_record() -> Optional[AuthenticationRecord]:CODE
LOWufo/llm/cogagent.py80 except Exception as e:CODE
LOWufo/module/dispatcher.py125 except Exception as e:CODE
LOWufo/module/dispatcher.py227 except Exception as e:CODE
LOWufo/module/basic.py93 except Exception as e:CODE
LOWufo/module/basic.py353 except Exception as e:CODE
LOWufo/module/basic.py870 except Exception as e:CODE
LOWufo/module/basic.py986 except Exception as e:CODE
LOWufo/module/sessions/session.py367 except Exception as e:CODE
MEDIUMufo/module/sessions/session.py371 print(f"An error occurred: {e}")CODE
LOWufo/module/sessions/session.py426 except Exception as e:CODE
MEDIUMufo/module/sessions/session.py427 print(f"An error occurred: {e}")CODE
LOWufo/module/sessions/session.py561 except Exception as e:CODE
LOWufo/agents/processors/host_agent_processor.py182 except Exception as e:CODE
LOWufo/agents/processors/core/processor_framework.py235 except Exception as e:CODE
LOWufo/agents/processors/core/processor_framework.py262 except Exception as e:CODE
LOWufo/agents/processors/core/processor_framework.py307 except Exception as e:CODE
LOWufo/agents/processors/core/processor_framework.py331 except Exception as consistency_error:CODE
LOWufo/agents/processors/core/processor_framework.py419 except Exception as e:CODE
LOWufo/agents/processors/core/strategy_dependency.py256 except Exception as e:CODE
LOWufo/agents/processors/core/strategy_dependency.py312 except Exception as e:CODE
LOW…ors/strategies/customized_agent_processing_strategy.py112 except Exception as e:CODE
LOW…ors/strategies/customized_agent_processing_strategy.py156 except Exception as e:CODE
LOW…rocessors/strategies/host_agent_processing_strategy.py1234 except Exception as e:CODE
LOW…rocessors/strategies/host_agent_processing_strategy.py1251 except Exception as e:CODE
733 more matches not shown…
Decorative Section Separators198 hits · 731 pts
SeverityFileLineSnippetContext
MEDIUMufo/agents/presenters/rich_presenter.py271 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py273 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py365 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py367 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py476 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py478 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py1082 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py1084 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py226 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py228 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py650 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py652 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py915 # ============================================================================COMMENT
MEDIUMufo/agents/presenters/rich_presenter.py917 # ============================================================================COMMENT
MEDIUMufo/automator/app_apis/shell/shell_client.py18# ---------------------------------------------------------------------------COMMENT
MEDIUMufo/automator/app_apis/shell/shell_client.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMufo/client/mcp/local_servers/cli_mcp_server.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMufo/client/mcp/local_servers/cli_mcp_server.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py321 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py323 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py378 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py380 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py470 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py472 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py560 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py562 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py771 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py773 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py823 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py825 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py988 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py990 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py1115 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py1117 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py1157 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py1159 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py1251 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py1253 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py1300 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py1302 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py250 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py252 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py727 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/mobile_mcp_server.py729 # ========================================COMMENT
MEDIUMufo/client/mcp/http_servers/linux_mcp_server.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMufo/client/mcp/http_servers/linux_mcp_server.py46# ---------------------------------------------------------------------------COMMENT
MEDIUMufo/client/mcp/http_servers/linux_mcp_server.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMufo/client/mcp/http_servers/linux_mcp_server.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_shell_client_path_validation.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_shell_client_path_validation.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/security/test_session_id_reuse.py77# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/security/test_session_id_reuse.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/security/test_session_id_reuse.py150# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/security/test_session_id_reuse.py152# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/security/test_session_id_reuse.py292# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/security/test_session_id_reuse.py294# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/galaxy/client/test_device_manager_assign_task.py74 # ========================================================================COMMENT
MEDIUMtests/galaxy/client/test_device_manager_assign_task.py76 # ========================================================================COMMENT
MEDIUMtests/galaxy/client/test_device_manager_assign_task.py108 # ========================================================================COMMENT
MEDIUMtests/galaxy/client/test_device_manager_assign_task.py110 # ========================================================================COMMENT
138 more matches not shown…
Cross-File Repetition138 hits · 690 pts
SeverityFileLineSnippetContext
HIGHdataflow/instantiation/agent/filter_agent.py0confirm the process. this is the abstract method from basicagent that needs to be implemented.STRING
HIGHdataflow/instantiation/agent/prefill_agent.py0confirm the process. this is the abstract method from basicagent that needs to be implemented.STRING
HIGHdataflow/instantiation/agent/template_agent.py0confirm the process. this is the abstract method from basicagent that needs to be implemented.STRING
HIGHufo/experience/summarizer.py0initialize the basicprompter. :param is_visual: whether the request is for visual model. :param prompt_template: the patSTRING
HIGHufo/prompter/agent_prompter.py0initialize the basicprompter. :param is_visual: whether the request is for visual model. :param prompt_template: the patSTRING
HIGHufo/prompter/eva_prompter.py0initialize the basicprompter. :param is_visual: whether the request is for visual model. :param prompt_template: the patSTRING
HIGHufo/prompter/experience_prompter.py0initialize the basicprompter. :param is_visual: whether the request is for visual model. :param prompt_template: the patSTRING
HIGHufo/prompter/demonstration_prompter.py0initialize the basicprompter. :param is_visual: whether the request is for visual model. :param prompt_template: the patSTRING
HIGHufo/prompter/basic.py0initialize the basicprompter. :param is_visual: whether the request is for visual model. :param prompt_template: the patSTRING
HIGHufo/prompter/eva_prompter.py0construct the prompt for app selection. return: the prompt for app selection.STRING
HIGHufo/prompter/experience_prompter.py0construct the prompt for app selection. return: the prompt for app selection.STRING
HIGHufo/prompter/agent_prompter.py0construct the prompt for app selection. return: the prompt for app selection.STRING
HIGHgalaxy/agents/prompters/base_constellation_prompter.py0construct the prompt for app selection. return: the prompt for app selection.STRING
HIGHufo/prompter/eva_prompter.py0construct the prompt for examples. :param examples: the examples. :param header: the header of the prompt. :param separaSTRING
HIGHufo/prompter/demonstration_prompter.py0construct the prompt for examples. :param examples: the examples. :param header: the header of the prompt. :param separaSTRING
HIGHufo/prompter/experience_prompter.py0construct the prompt for examples. :param examples: the examples. :param header: the header of the prompt. :param separaSTRING
HIGHufo/prompter/agent_prompter.py0construct the prompt for examples. :param examples: the examples. :param header: the header of the prompt. :param separaSTRING
HIGHufo/prompter/demonstration_prompter.py0construct the prompt for apis. :param apis: the apis. :param verbose: the verbosity level. return: the prompt for apis.STRING
HIGHufo/prompter/customized/mobile_agent_prompter.py0construct the prompt for apis. :param apis: the apis. :param verbose: the verbosity level. return: the prompt for apis.STRING
HIGHufo/prompter/experience_prompter.py0construct the prompt for apis. :param apis: the apis. :param verbose: the verbosity level. return: the prompt for apis.STRING
HIGHufo/prompter/agent_prompter.py0construct the prompt for apis. :param apis: the apis. :param verbose: the verbosity level. return: the prompt for apis.STRING
HIGHufo/prompter/customized/linux_agent_prompter.py0construct the prompt for apis. :param apis: the apis. :param verbose: the verbosity level. return: the prompt for apis.STRING
HIGHufo/prompter/agent_prompter.py0construct the prompt for examples. :param header: the header of the prompt. :param separator: the separator of the prompSTRING
HIGHufo/prompter/customized/linux_agent_prompter.py0construct the prompt for examples. :param header: the header of the prompt. :param separator: the separator of the prompSTRING
HIGHgalaxy/agents/prompters/base_constellation_prompter.py0construct the prompt for examples. :param header: the header of the prompt. :param separator: the separator of the prompSTRING
HIGHufo/prompter/customized/mobile_agent_prompter.py0construct the prompt for examples. :param header: the header of the prompt. :param separator: the separator of the prompSTRING
HIGHufo/llm/placeholder.py0generates completions for a given list of messages. :param messages: the list of messages to generate completions for. :STRING
HIGHufo/llm/claude.py0generates completions for a given list of messages. :param messages: the list of messages to generate completions for. :STRING
HIGHufo/llm/gemini.py0generates completions for a given list of messages. :param messages: the list of messages to generate completions for. :STRING
HIGHufo/llm/openai.py0generates completions for a given conversation using the qwen thru openai chat api. :param messages: the list of messageSTRING
HIGHufo/llm/qwen.py0generates completions for a given conversation using the qwen thru openai chat api. :param messages: the list of messageSTRING
HIGHufo/llm/deepseek.py0generates completions for a given conversation using the qwen thru openai chat api. :param messages: the list of messageSTRING
HIGHufo/module/basic.py0avoid unicodeencodeerror on legacy windows consoles by stripping emoji.STRING
HIGHufo/agents/processors/app_agent_processor.py0avoid unicodeencodeerror on legacy windows consoles by stripping emoji.STRING
HIGHufo/agents/processors/host_agent_processor.py0avoid unicodeencodeerror on legacy windows consoles by stripping emoji.STRING
HIGHufo/agents/processors/app_agent_processor.py0return the starting message of the agent. :param context: processing context with round and step information :return: stSTRING
HIGH…o/agents/processors/strategies/linux_agent_strategy.py0return the starting message of the agent. :param context: processing context with round and step information :return: stSTRING
HIGH…/agents/processors/strategies/mobile_agent_strategy.py0return the starting message of the agent. :param context: processing context with round and step information :return: stSTRING
HIGHufo/agents/processors/app_agent_processor.py0enhanced error handling for constellation agent with contextual information. :param processor: constellation agent proceSTRING
HIGHufo/agents/processors/host_agent_processor.py0enhanced error handling for constellation agent with contextual information. :param processor: constellation agent proceSTRING
HIGHgalaxy/agents/processors/processor.py0enhanced error handling for constellation agent with contextual information. :param processor: constellation agent proceSTRING
HIGHufo/agents/processors/host_agent_processor.py0get processor-specific context data. subclasses can override this method to provide additional local context data specifSTRING
HIGHgalaxy/agents/processors/processor.py0get processor-specific context data. subclasses can override this method to provide additional local context data specifSTRING
HIGHufo/agents/processors/core/processor_framework.py0get processor-specific context data. subclasses can override this method to provide additional local context data specifSTRING
HIGHufo/agents/processors/host_agent_processor.py0finalize processing context by updating existing contextnames fields. instead of promoting arbitrary keys, we update theSTRING
HIGH…ts/processors/customized/customized_agent_processor.py0finalize processing context by updating existing contextnames fields. instead of promoting arbitrary keys, we update theSTRING
HIGHgalaxy/agents/processors/processor.py0finalize processing context by updating existing contextnames fields. instead of promoting arbitrary keys, we update theSTRING
HIGH…ors/strategies/customized_agent_processing_strategy.py0initialize screenshot capture strategy. :param fail_fast: whether to raise exceptions immediately on errorsSTRING
HIGH…processors/strategies/app_agent_processing_strategy.py0initialize screenshot capture strategy. :param fail_fast: whether to raise exceptions immediately on errorsSTRING
HIGH…/agents/processors/strategies/mobile_agent_strategy.py0initialize screenshot capture strategy. :param fail_fast: whether to raise exceptions immediately on errorsSTRING
HIGH…ors/strategies/customized_agent_processing_strategy.py0strategy for llm interaction with linux agent specific prompting. this strategy handles: - context-aware prompt construcSTRING
HIGH…processors/strategies/app_agent_processing_strategy.py0strategy for llm interaction with linux agent specific prompting. this strategy handles: - context-aware prompt construcSTRING
HIGH…o/agents/processors/strategies/linux_agent_strategy.py0strategy for llm interaction with linux agent specific prompting. this strategy handles: - context-aware prompt construcSTRING
HIGH…rocessors/strategies/host_agent_processing_strategy.py0initialize mobile agent llm interaction strategy. :param fail_fast: whether to raise exceptions immediately on errorsSTRING
HIGH…processors/strategies/app_agent_processing_strategy.py0initialize mobile agent llm interaction strategy. :param fail_fast: whether to raise exceptions immediately on errorsSTRING
HIGH…o/agents/processors/strategies/linux_agent_strategy.py0initialize mobile agent llm interaction strategy. :param fail_fast: whether to raise exceptions immediately on errorsSTRING
HIGH…/agents/processors/strategies/mobile_agent_strategy.py0initialize mobile agent llm interaction strategy. :param fail_fast: whether to raise exceptions immediately on errorsSTRING
HIGH…rocessors/strategies/host_agent_processing_strategy.py0initialize constellation agent memory update strategy. :param fail_fast: whether to raise exceptions immediately on erroSTRING
HIGH…processors/strategies/app_agent_processing_strategy.py0initialize constellation agent memory update strategy. :param fail_fast: whether to raise exceptions immediately on erroSTRING
HIGH…s/processors/strategies/base_constellation_strategy.py0initialize constellation agent memory update strategy. :param fail_fast: whether to raise exceptions immediately on erroSTRING
78 more matches not shown…
Structural Annotation Overuse273 hits · 455 pts
SeverityFileLineSnippetContext
LOW…ors/strategies/customized_agent_processing_strategy.py91 # Step 1: Capture application window screenshotCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py95 # Step 1: Capture desktop screenshotCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py103 # Step 2: Collect application window informationCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py109 # Step 3: Register applications and third-party agentsCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py117 # Step 4: Prepare target information for LLMCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py398 # Step 1: Build comprehensive prompt messageCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py411 # Step 3: Get LLM response with retry logicCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py417 # Step 4: Parse and validate responseCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1074 # Step 1: Create comprehensive additional memory dataCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1078 # Step 2: Create and populate memory itemCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1083 # Step 3: Add memory to agentCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1086 # Step 4: Update structural logsCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1089 # Step 5: Update blackboard trajectoriesCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py429 # Step 5: Extract structured information from responseCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py124 # Step 1: Capture application window screenshotCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py133 # Step 2: Capture desktop screenshot if neededCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py144 # Step 3: Capture ui tree if needed.COMMENT
LOW…processors/strategies/app_agent_processing_strategy.py152 # Step 4: Get application window informationCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py901 # Step 2: Retrieve knowledge from the knowledge baseCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py906 # Step 3: Build comprehensive promptCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py923 # Step 4: Get LLM responseCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py929 # Step 5: Parse and validate responseCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py933 # Step 5: Extract structured dataCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1578 # Step 1: Create additional memory dataCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1582 # Step 2: Create and populate memory itemCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1587 # Step 3: Add memory to agentCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1592 # Step 4: Update blackboardCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1602 # Step 5: Update structural logsCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py500 # Step 1: Getting control info from UIACOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py512 # Step 2: Getting control info from OmniParserCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py530 # Step 3: Merging control listCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py543 # Step 4: Taking annotated screenshot.COMMENT
LOW…processors/strategies/app_agent_processing_strategy.py876 # Step 1: Collect image strings:COMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1335 # Step 1: Extract context variablesCOMMENT
LOW…o/agents/processors/strategies/linux_agent_strategy.py141 # Step 1: Extract context variablesCOMMENT
LOW…/agents/processors/strategies/mobile_agent_strategy.py98 # Step 1: Capture clean screenshotCOMMENT
LOW…/agents/processors/strategies/mobile_agent_strategy.py107 # Step 2: Capture annotated screenshot (if available)COMMENT
LOW…/agents/processors/strategies/mobile_agent_strategy.py731 # Step 1: Extract context variablesCOMMENT
LOWtests/test_linux_log_collection_excel_generation.py340 # Step 1: Identify available devicesCOMMENT
LOWtests/test_linux_log_collection_excel_generation.py351 # Step 2: Mock log collection phaseCOMMENT
LOWtests/test_linux_log_collection_excel_generation.py363 # Step 3: Mock data aggregationCOMMENT
LOWtests/test_linux_log_collection_excel_generation.py380 # Step 4: Mock Excel generation on WindowsCOMMENT
LOWtests/integration/test_e2e_galaxy.py417 # Step 1: Parse LLM response to create constellationSTRING
LOWtests/integration/test_e2e_galaxy.py427 # Step 2: Validate DAG structureSTRING
LOWtests/integration/test_e2e_galaxy.py440 # Step 3: Display constellation structureSTRING
LOWtests/integration/test_e2e_galaxy.py444 # Step 4: Assign devices automaticallySTRING
LOWtests/integration/test_e2e_galaxy.py455 # Step 5: Execute constellationSTRING
LOWtests/integration/test_e2e_galaxy.py474 # Step 6: Analyze resultsSTRING
LOWtests/integration/test_mobile_mcp_standalone.py277 # Step 1: Get controls from data server (populates cache)COMMENT
LOWtests/integration/test_mobile_mcp_standalone.py290 # Step 2: Invalidate cache from action serverCOMMENT
LOWtests/integration/test_mobile_mcp_standalone.py305 # Step 3: Get controls again from data serverCOMMENT
LOWtests/integration/test_mobile_mcp_server.py396 # Step 1: Get controls from data collection server (populates cache)COMMENT
LOWtests/integration/test_mobile_mcp_server.py418 # Step 2: Invalidate cache from action serverCOMMENT
LOWtests/integration/test_mobile_mcp_server.py438 # Step 3: Get controls again - should refresh from deviceCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py635 # Step 2: Set device to BUSY (simulating task execution)COMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py643 # Step 3: Mock components for disconnectionCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py651 # Step 4: Verify task was cancelledCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py657 # Step 5: Mock successful reconnectionCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py616 # Step 1: Register and "connect" deviceCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py678 # Step 6: Verify device is ready for new tasksCOMMENT
213 more matches not shown…
Unused Imports478 hits · 438 pts
SeverityFileLineSnippetContext
LOWdataflow/prompter/instantiation/template_prompter.py5CODE
LOWdataflow/prompter/instantiation/template_prompter.py7CODE
LOWdataflow/prompter/instantiation/template_prompter.py7CODE
LOWdataflow/prompter/execution/execute_eval_prompter.py8CODE
LOWdataflow/instantiation/agent/prefill_agent.py4CODE
LOWconfig/__init__.py10CODE
LOWconfig/__init__.py10CODE
LOWconfig/__init__.py10CODE
LOWconfig/__init__.py10CODE
LOWconfig/__init__.py17CODE
LOWconfig/__init__.py17CODE
LOWconfig/__init__.py17CODE
LOWconfig/__init__.py17CODE
LOWconfig/__init__.py17CODE
LOWufo/experience/summarizer.py5CODE
LOWufo/prompter/agent_prompter.py5CODE
LOWufo/prompter/basic.py7CODE
LOWufo/prompter/customized/linux_agent_prompter.py7CODE
LOWufo/prompter/customized/mobile_agent_prompter.py7CODE
LOWufo/tools/convert_config.py32CODE
LOWufo/tools/migrate_config.py27CODE
LOWufo/tools/validate_config.py30CODE
LOWufo/llm/claude.py7CODE
LOWufo/llm/response_schema.py2CODE
LOWufo/llm/ollama.py4CODE
LOWufo/llm/ollama.py5CODE
LOWufo/llm/ollama.py6CODE
LOWufo/llm/ollama.py7CODE
LOWufo/llm/ollama.py9CODE
LOWufo/llm/ollama.py12CODE
LOWufo/llm/ollama.py13CODE
LOWufo/module/dispatcher.py22CODE
LOWufo/module/session_pool.py22CODE
LOWufo/module/interactor.py4CODE
LOWufo/module/interactor.py12CODE
LOWufo/module/sessions/platform_session.py10CODE
LOWufo/module/sessions/platform_session.py15CODE
LOWufo/module/sessions/linux_session.py21CODE
LOWufo/module/sessions/mobile_session.py21CODE
LOWufo/module/sessions/service_session.py4CODE
LOWufo/module/sessions/service_session.py10CODE
LOWufo/agents/memory/memory.py4CODE
LOWufo/agents/agent/host_agent.py5CODE
LOWufo/agents/agent/host_agent.py25CODE
LOWufo/agents/agent/__init__.py4CODE
LOWufo/agents/agent/app_agent.py5CODE
LOWufo/agents/agent/app_agent.py7CODE
LOWufo/agents/agent/app_agent.py15CODE
LOWufo/agents/agent/app_agent.py20CODE
LOWufo/agents/agent/basic.py4CODE
LOWufo/agents/presenters/__init__.py11CODE
LOWufo/agents/presenters/__init__.py12CODE
LOWufo/agents/presenters/__init__.py13CODE
LOWufo/agents/presenters/rich_presenter.py23CODE
LOWufo/agents/presenters/rich_presenter.py23CODE
LOWufo/agents/presenters/rich_presenter.py23CODE
LOWufo/agents/presenters/rich_presenter.py28CODE
LOWufo/agents/presenters/base_presenter.py12CODE
LOWufo/agents/processors/app_agent_processor.py35CODE
LOWufo/agents/processors/app_agent_processor.py50CODE
418 more matches not shown…
Self-Referential Comments99 hits · 304 pts
SeverityFileLineSnippetContext
MEDIUMdataflow/execution/workflow/execute_flow.py287 # Define the paths for the screenshots saved.COMMENT
MEDIUMconfig/ufo/mcp.yaml2# This file defines the agents and their configurations for the MCP servers.COMMENT
MEDIUMufo/module/interactor.py32 # Create an attractive welcome panelCOMMENT
MEDIUMufo/module/interactor.py76 # Create a styled panel for the promptCOMMENT
MEDIUMufo/module/interactor.py114 # Create an attractive panel for the experience saving promptCOMMENT
MEDIUMufo/module/interactor.py156 # Create a numbered question panelCOMMENT
MEDIUMufo/module/interactor.py186 # Create a warning panel for sensitive actionsCOMMENT
MEDIUMufo/module/sessions/session.py114 # Create a new round and return None if the session is finished.COMMENT
MEDIUMufo/module/sessions/session.py202 # Create a new round and return None if the session is finished.COMMENT
MEDIUMufo/module/sessions/session.py298 # Create a new round and return None if the session is finished.COMMENT
MEDIUMufo/agents/agent/evaluation_agent.py157# The following code is used for testing the agent.COMMENT
MEDIUMufo/agents/agent/host_agent.py380 # Create a conversation-style comment displayCOMMENT
MEDIUMufo/agents/agent/app_agent.py174 # Create a conversation-style comment displayCOMMENT
MEDIUMufo/agents/processors/host_agent_processor.py92 # Initialize parent classCOMMENT
MEDIUMufo/agents/processors/core/processor_framework.py244 # Create a list of strategies in execution orderCOMMENT
MEDIUM…processors/strategies/app_agent_processing_strategy.py722 # Create a set of API control IDs for fast lookupCOMMENT
MEDIUMufo/automator/action_execution.py112 # Create the control receiver.COMMENT
MEDIUMufo/automator/ui_control/screenshot.py694 # Create an overlay for semi-transparent rectanglesCOMMENT
MEDIUMufo/automator/ui_control/screenshot.py1370 # Create a white backgroundCOMMENT
MEDIUMufo/automator/ui_control/grounding/basic.py49 # Define the rectangleCOMMENT
MEDIUMufo/trajectory/parser.py252 # Define the regex pattern to match the file namesCOMMENT
MEDIUMufo/client/ufo_client.py46 # Initialize session variablesCOMMENT
MEDIUMufo/client/computer.py204 # Create a new event loop for this threadCOMMENT
MEDIUMufo/client/mcp/local_servers/__init__.py50 # Create a new module objectCOMMENT
MEDIUMufo/logging/setup.py41 # Create a new handler with colorCOMMENT
MEDIUMtests/test_galaxy_session_proper_mock.py35 # Create a temporary configCOMMENT
MEDIUMtests/test_galaxy_session_proper_mock.py88 # Create a simple mock constellationCOMMENT
MEDIUMtests/test_galaxy_session_proper_mock.py282 # Create a mock observerCOMMENT
MEDIUMtests/test_shell_client_path_validation.py183 # Create a real file inside base.COMMENT
MEDIUMtests/test_galaxy_client_log_collection_session.py456 # Create a mock session that raises an exceptionCOMMENT
MEDIUMtests/test_real_galaxy_session_integration.py214 # Create a real ConstellationClient but mock its device managerCOMMENT
MEDIUMtests/test_base_constellation_prompter.py101 # Create a mock constellation with to_dict methodCOMMENT
MEDIUMtests/visualization/test_dag_simple.py21 # Create a simple constellationCOMMENT
MEDIUMtests/visualization/test_individual_events.py61 # Create a test constellationCOMMENT
MEDIUMtests/visualization/test_enhanced_visualization.py55 # Create a mock device registryCOMMENT
MEDIUMtests/visualization/test_enhanced_visualization.py124 # Create a constellationCOMMENT
MEDIUMtests/visualization/test_constellation_events.py47 # Create a mock device registryCOMMENT
MEDIUMtests/visualization/test_constellation_events.py126 # Create a simple constellationCOMMENT
MEDIUMtests/unit/test_presenters.py179 long_result = "x" * 1000 # Create a result longer than 500 charsCODE
MEDIUMtests/unit/galaxy/session/test_modular_observers.py66 # Create a mock task eventCOMMENT
MEDIUMtests/unit/galaxy/session/test_modular_observers.py89 # Create a task started eventCOMMENT
MEDIUMtests/unit/galaxy/session/test_modular_observers.py101 # Create a task completed eventCOMMENT
MEDIUMtests/unit/schema/test_basemodel_integration.py37 # Create a TaskStar instanceCOMMENT
MEDIUMtests/unit/schema/test_basemodel_integration.py82 # Create a TaskStarLine instanceCOMMENT
MEDIUMtests/unit/schema/test_basemodel_integration.py120 # Create a TaskConstellation with tasks and dependenciesCOMMENT
MEDIUMtests/unit/schema/test_basemodel_integration.py192 # Create a more complex constellationCOMMENT
MEDIUMtests/config/test_config_loader.py188 # Create a valid YAML file and an invalid oneCOMMENT
MEDIUM…ts/integration/test_constellation_aip_communication.py362 # Create a task futureCOMMENT
MEDIUMtests/integration/test_presenter_integration.py41 # Create a concrete implementation of BasicAgent for testingCOMMENT
MEDIUMtests/integration/test_presenter_integration.py282 # Create a response with all expected fieldsCOMMENT
MEDIUMtests/integration/test_presenter_integration.py305 # Create a response with all expected fieldsCOMMENT
MEDIUMtests/integration/test_device_communication.py147 # Create a command that will failCOMMENT
MEDIUMtests/integration/test_device_communication.py196 # Create a pending requestCOMMENT
MEDIUMtests/integration/test_e2e_galaxy.py812 # Create a simple constellation for failure testingCOMMENT
MEDIUMtests/integration/test_e2e_galaxy.py1486 # Create a session with dynamic workflowCOMMENT
MEDIUM…ration/galaxy/test_galaxy_state_machine_integration.py55 # Create a simple sequential chainCOMMENT
MEDIUMtests/editors/minimal_json_test.py177 # Create a taskCOMMENT
MEDIUMtests/editors/minimal_json_test.py237 # Create a lineCOMMENT
MEDIUMtests/editors/direct_json_test.py79 # Create a sample JSON that should work with TaskStarCOMMENT
MEDIUMtests/editors/direct_json_test.py105 # Create a sample JSON that should work with TaskStarLineCOMMENT
39 more matches not shown…
Modern AI Meta-Vocabulary98 hits · 298 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md421- **[Configuration](./ufo/README.md#️-step-2-configure-the-llms)** – LLM & RAG setupCODE
MEDIUMREADME_ZH.md416- **[配置](./ufo/README_ZH.md#️-步骤-2配置-llm)** – LLM 和 RAG 设置CODE
MEDIUMconfig/ufo/rag.yaml1# RAG (Retrieval Augmented Generation) ConfigurationCOMMENT
MEDIUMconfig/ufo/rag.yaml3# Offline Documentation RAGCOMMENT
MEDIUMconfig/ufo/rag.yaml4RAG_OFFLINE_DOCS: False # Whether to use the offline RAGCODE
MEDIUMconfig/ufo/rag.yaml7# Online Search RAGCOMMENT
MEDIUMconfig/ufo/rag.yaml9RAG_ONLINE_SEARCH: False # Whether to use the online search for the RAGCODE
MEDIUMconfig/ufo/rag.yaml13# Experience RAGCOMMENT
MEDIUMconfig/ufo/rag.yaml14RAG_EXPERIENCE: False # Whether to use the experience RAGCODE
MEDIUMconfig/ufo/rag.yaml18# Demonstration RAGCOMMENT
MEDIUMconfig/ufo/rag.yaml19RAG_DEMONSTRATION: False # Whether to use the RAG from user demonstrationCODE
MEDIUMconfig/ufo/rag.yaml24# Prompts for RAGCOMMENT
MEDIUMufo/README_UFO_V1.md149### 📔 Step 3: Additional Setting for RAG (optional).COMMENT
MEDIUMufo/README_UFO_V1.md160<!-- #### RAG from Offline Help DocumentCODE
MEDIUMufo/README_UFO_V1.md163## RAG Configuration for the offline docsCOMMENT
MEDIUMufo/README_UFO_V1.md164RAG_OFFLINE_DOCS: True # Whether to use the offline RAG.CODE
MEDIUMufo/README_UFO_V1.md170#### RAG from Online Bing Search EngineCOMMENT
MEDIUMufo/README_UFO_V1.md173## RAG Configuration for the Bing searchCOMMENT
MEDIUMufo/README_UFO_V1.md175RAG_ONLINE_SEARCH: True # Whether to use the online search for the RAG.CODE
MEDIUMufo/README_UFO_V1.md182#### RAG from Self-DemonstrationCOMMENT
MEDIUMufo/README_UFO_V1.md192## RAG Configuration for experienceCOMMENT
MEDIUMufo/README_UFO_V1.md193RAG_EXPERIENCE: True # Whether to use the RAG from its self-experience.CODE
MEDIUMufo/README_UFO_V1.md197#### RAG from User-DemonstrationCOMMENT
MEDIUMufo/README_UFO_V1.md202## RAG Configuration for demonstrationCOMMENT
MEDIUMufo/README_UFO_V1.md203RAG_DEMONSTRATION: True # Whether to use the RAG from its user demonstration.CODE
MEDIUMufo/README.md140├── rag.yaml # RAG and knowledge settings (default values, edit if needed)CODE
MEDIUMufo/README.md245### 📔 Step 3: Additional Setting for RAG (optional).COMMENT
MEDIUMufo/README_ZH.md134├── rag.yaml # RAG 和知识设置(默认值,如需要可编辑)CODE
MEDIUMufo/README_ZH.md239### 📔 步骤 3:RAG 的附加设置(可选)。COMMENT
MEDIUMufo/tools/convert_config.py69 # rag.yaml - RAG configurationsCOMMENT
MEDIUMtests/test_orchestrator_refactored.py613 # Execute orchestration (it should handle the exception)COMMENT
MEDIUMtests/test_convert_config.py141 # Verify rag.yaml contains RAG configsCOMMENT
MEDIUMtests/test_agents_config_migration.py294 # Test RAG configCOMMENT
MEDIUMtests/test_race_condition_real.py306 # Run orchestrationCOMMENT
MEDIUMtests/config/test_migration_validation.py285 # 尝试从 RAG 配置获取COMMENT
MEDIUMtests/config/test_migration_validation.py292 # 如果不在 RAG 下,尝试顶层COMMENT
MEDIUM…ration/galaxy/test_galaxy_state_machine_integration.py265 # Stop orchestration early if needed (simulating external interruption)COMMENT
MEDIUM…ration/galaxy/test_galaxy_state_machine_integration.py617 # Simple orchestration that completes all tasksCOMMENT
MEDIUM…ration/galaxy/test_galaxy_state_machine_integration.py852 # Simulate rapid orchestrationCOMMENT
MEDIUMgalaxy/agents/constellation_agent_states.py88 # Start orchestration in background (non-blocking)COMMENT
MEDIUMrecord_processor/README.md2# Enhancing UFO with RAG using User DemonstrationCOMMENT
MEDIUMrecord_processor/README.md15## RAG Configuration for demonstrationCOMMENT
MEDIUMrecord_processor/README.md16RAG_DEMONSTRATION: True # Whether to use the RAG from its user demonstration.CODE
MEDIUMlearner/README.md2# Enhancing UFO with RAG using Offline Help DocumentsCOMMENT
MEDIUMlearner/README.md54## How to Enable RAG from Help Documents during Online Inference ❓COMMENT
MEDIUMlearner/README.md57## RAG Configuration for the offline docsCOMMENT
MEDIUMlearner/README.md58RAG_OFFLINE_DOCS: True # Whether to use the offline RAG.CODE
MEDIUMdocuments/docs/project_directory_structure.md20├── galaxy/ # 🌌 Multi-device orchestration frameworkCODE
MEDIUMdocuments/docs/project_directory_structure.md25├── vectordb/ # 🗄️ Vector database for RAGCODE
MEDIUMdocuments/docs/project_directory_structure.md46├── agents/ # 🤖 Constellation orchestration agentsCODE
MEDIUMdocuments/docs/project_directory_structure.md143│ ├── puppeteer/ # Execution orchestrationCODE
MEDIUMdocuments/docs/project_directory_structure.md257│ ├── constellation.yaml # Constellation orchestration settingsCODE
MEDIUMdocuments/docs/project_directory_structure.md265│ ├── rag.yaml # RAG settingsCODE
MEDIUMdocuments/docs/configuration/models/operator.md3The [Operator](https://openai.com/index/computer-using-agent/) is a specialized agentic model tailored for Computer-UsinCODE
MEDIUMdocuments/docs/configuration/system/overview.md70│ │ ├── rag.yaml # RAG knowledge settingsCODE
MEDIUMdocuments/docs/configuration/system/overview.md222├── rag.yaml # All RAG settingsCODE
MEDIUMdocuments/docs/configuration/system/overview.md236└── rag.yaml # Shared RAG configCODE
MEDIUMdocuments/docs/configuration/system/migration.md117# RAG knowledge configurationsCOMMENT
MEDIUMdocuments/docs/configuration/system/migration.md189### RAG ConfigurationsCOMMENT
MEDIUMdocuments/docs/configuration/system/rag_config.md1# RAG Configuration (rag.yaml)COMMENT
38 more matches not shown…
Redundant / Tautological Comments106 hits · 162 pts
SeverityFileLineSnippetContext
LOWdataflow/execution/workflow/execute_flow.py172 # Check if the maximum steps have been exceeded.COMMENT
LOWconfig/config_loader.py97 # Check if we have a pre-created nested configCOMMENT
LOWconfig/config_schemas.py633 # Check if it's in raw configCOMMENT
LOWufo/experience/summarizer.py137 # Check if the file exists, if not, create a new oneCOMMENT
LOWufo/experience/summarizer.py180 # Check if the db exists, if not, create a new one.COMMENT
LOWufo/tools/convert_config.py441 # Check if legacy existsCOMMENT
LOWufo/tools/convert_config.py448 # Check if new already existsCOMMENT
LOWufo/tools/migrate_config.py203 # Check if legacy existsCOMMENT
LOWufo/tools/migrate_config.py213 # Check if new already existsCOMMENT
LOWufo/llm/gemini.py219 # Check if the part has text and it's not just internal 'thought'COMMENT
LOWufo/config/__init__.py91 # Check if the agent is in the configurationsCOMMENT
LOWufo/agents/memory/blackboard.py330 # Check if the file existsCOMMENT
LOWufo/agents/memory/blackboard.py332 # Open the file and read the linesCOMMENT
LOWufo/agents/processors/core/strategy_dependency.py262 # Check if all required dependencies are availableCOMMENT
LOWufo/agents/processors/core/strategy_dependency.py265 # Check if it could come from global context or initial setupCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py345 # Check if desktop screenshot is needed based on configurationCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py685 # Assign IDs to added controls to avoid conflicts with existing API control IDsCOMMENT
LOW…/agents/processors/strategies/mobile_agent_strategy.py484 # Check if dimensions are valid (right > left and bottom > top)COMMENT
LOW…/agents/processors/strategies/mobile_agent_strategy.py520 # Check if dimensions are valid (right > left and bottom > top)COMMENT
LOWufo/server/ws/handler.py293 # Check if this is a constellation client with active sessionsCOMMENT
LOWufo/automator/puppeteer.py233 # Check if the receiver is APICOMMENT
LOWufo/automator/ui_control/ui_tree.py114 # Check if the file directory exists. If not, create it.COMMENT
LOWufo/automator/ui_control/screenshot.py1284 # Check if both targets have valid rect informationCOMMENT
LOWufo/automator/app_apis/excel/excelclient.py62 # Check if there is dataCOMMENT
LOWufo/trajectory/parser.py258 # Check if the file name matches the patternCOMMENT
LOWufo/client/computer.py174 # Check if the tool is a meta tool for listing toolsCOMMENT
LOWufo/client/computer.py486 # Check if the tool matches the specified type and namespaceCOMMENT
LOWufo/client/computer.py488 # Check if the tool matches the specified namespaceCOMMENT
LOWufo/client/computer.py490 # Check if the tool is not a meta tool or if meta tools should be includedCOMMENT
LOWufo/client/websocket.py233 # Check if any completed task raised an exceptionCOMMENT
LOWufo/client/mcp/local_servers/__init__.py43 # Check if the module is already loaded to avoid re-importing in complex scenariosCOMMENT
LOWtests/test_realistic_constellation_observer.py204 # Check if the method was calledCOMMENT
LOWtests/demo_galaxy_client_log_collection.py338 # Display resultsCOMMENT
LOWtests/test_server_client_config_migration.py43 # Check if either 'mcp' or 'MCP' existsCOMMENT
LOWtests/test_constellation_manager.py318 # Assign devices to all tasksCOMMENT
LOWtests/test_constellation_manager.py349 # Assign device to taskCOMMENT
LOWtests/test_constellation_manager.py393 # Assign devices to all tasksCOMMENT
LOWtests/test_constellation_manager.py532 # Assign devices to all constellationsCOMMENT
LOWtests/test_real_galaxy_session_integration.py418 # Check if constellation was createdCOMMENT
LOWtests/test_real_galaxy_session_integration.py704 # Check if session handled errors gracefullyCOMMENT
LOWtests/debug_observer_output.py64 # Check if handlers are properly initializedCOMMENT
LOWtests/visualization/test_dag_mock.py264 # Check if all dependencies are satisfiedCOMMENT
LOWtests/visualization/test_dag_mock.py274 # Check if all dependency tasks are completedCOMMENT
LOWtests/unit/galaxy/agents/test_galaxy_agent_states.py227 # Set constellation to completedCOMMENT
LOW…ration/galaxy/test_galaxy_state_machine_integration.py215 # Check if task is ready by checking its statusCOMMENT
LOW…ration/galaxy/test_galaxy_state_machine_integration.py317 # Check if agent should continue after first taskCOMMENT
LOW…ration/galaxy/test_galaxy_state_machine_integration.py340 # Check if agent should continue after critical errorCOMMENT
LOW…ration/galaxy/test_galaxy_state_machine_integration.py480 # Check if constellation is completeCOMMENT
LOW…ration/galaxy/test_galaxy_state_machine_integration.py530 # Check if agent wants to continue (this should trigger expansion)COMMENT
LOW…ration/galaxy/test_galaxy_state_machine_integration.py560 # Set agent to finished status for test completionCOMMENT
LOW…ration/galaxy/test_galaxy_state_machine_integration.py919 # Add events to queue in orderCOMMENT
LOWtests/galaxy/client/test_pending_task_cancellation.py154 # Set device to IDLECOMMENT
LOWtests/galaxy/client/test_device_manager_assign_task.py67 # Set device to IDLE (simulating successful connection)COMMENT
LOWtests/galaxy/client/test_device_manager_assign_task.py169 # Set device to BUSYCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py65 # Set device to CONNECTED and then IDLECOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py206 # Set device to DISCONNECTEDCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py318 # Set device to DISCONNECTEDCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py350 # Set device to BUSY with a current taskCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py410 # Set device to DISCONNECTEDCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py559 # Set device to DISCONNECTED initially (not CONNECTED)COMMENT
46 more matches not shown…
Verbosity Indicators84 hits · 136 pts
SeverityFileLineSnippetContext
LOW…ors/strategies/customized_agent_processing_strategy.py91 # Step 1: Capture application window screenshotCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py95 # Step 1: Capture desktop screenshotCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py103 # Step 2: Collect application window informationCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py109 # Step 3: Register applications and third-party agentsCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py117 # Step 4: Prepare target information for LLMCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py398 # Step 1: Build comprehensive prompt messageCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py411 # Step 3: Get LLM response with retry logicCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py417 # Step 4: Parse and validate responseCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1074 # Step 1: Create comprehensive additional memory dataCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1078 # Step 2: Create and populate memory itemCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1083 # Step 3: Add memory to agentCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1086 # Step 4: Update structural logsCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py1089 # Step 5: Update blackboard trajectoriesCOMMENT
LOW…rocessors/strategies/host_agent_processing_strategy.py429 # Step 5: Extract structured information from responseCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py124 # Step 1: Capture application window screenshotCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py133 # Step 2: Capture desktop screenshot if neededCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py144 # Step 3: Capture ui tree if needed.COMMENT
LOW…processors/strategies/app_agent_processing_strategy.py152 # Step 4: Get application window informationCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py901 # Step 2: Retrieve knowledge from the knowledge baseCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py906 # Step 3: Build comprehensive promptCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py923 # Step 4: Get LLM responseCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py929 # Step 5: Parse and validate responseCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py933 # Step 5: Extract structured dataCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1578 # Step 1: Create additional memory dataCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1582 # Step 2: Create and populate memory itemCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1587 # Step 3: Add memory to agentCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1592 # Step 4: Update blackboardCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1602 # Step 5: Update structural logsCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py500 # Step 1: Getting control info from UIACOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py512 # Step 2: Getting control info from OmniParserCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py530 # Step 3: Merging control listCOMMENT
LOW…processors/strategies/app_agent_processing_strategy.py543 # Step 4: Taking annotated screenshot.COMMENT
LOW…processors/strategies/app_agent_processing_strategy.py876 # Step 1: Collect image strings:COMMENT
LOW…processors/strategies/app_agent_processing_strategy.py1335 # Step 1: Extract context variablesCOMMENT
LOW…o/agents/processors/strategies/linux_agent_strategy.py141 # Step 1: Extract context variablesCOMMENT
LOW…/agents/processors/strategies/mobile_agent_strategy.py98 # Step 1: Capture clean screenshotCOMMENT
LOW…/agents/processors/strategies/mobile_agent_strategy.py107 # Step 2: Capture annotated screenshot (if available)COMMENT
LOW…/agents/processors/strategies/mobile_agent_strategy.py731 # Step 1: Extract context variablesCOMMENT
LOWtests/test_linux_log_collection_excel_generation.py340 # Step 1: Identify available devicesCOMMENT
LOWtests/test_linux_log_collection_excel_generation.py351 # Step 2: Mock log collection phaseCOMMENT
LOWtests/test_linux_log_collection_excel_generation.py363 # Step 3: Mock data aggregationCOMMENT
LOWtests/test_linux_log_collection_excel_generation.py380 # Step 4: Mock Excel generation on WindowsCOMMENT
LOWtests/integration/test_e2e_galaxy.py417 # Step 1: Parse LLM response to create constellationSTRING
LOWtests/integration/test_e2e_galaxy.py427 # Step 2: Validate DAG structureSTRING
LOWtests/integration/test_e2e_galaxy.py440 # Step 3: Display constellation structureSTRING
LOWtests/integration/test_e2e_galaxy.py444 # Step 4: Assign devices automaticallySTRING
LOWtests/integration/test_e2e_galaxy.py455 # Step 5: Execute constellationSTRING
LOWtests/integration/test_e2e_galaxy.py474 # Step 6: Analyze resultsSTRING
LOWtests/integration/test_mobile_mcp_standalone.py277 # Step 1: Get controls from data server (populates cache)COMMENT
LOWtests/integration/test_mobile_mcp_standalone.py290 # Step 2: Invalidate cache from action serverCOMMENT
LOWtests/integration/test_mobile_mcp_standalone.py305 # Step 3: Get controls again from data serverCOMMENT
LOWtests/integration/test_mobile_mcp_server.py396 # Step 1: Get controls from data collection server (populates cache)COMMENT
LOWtests/integration/test_mobile_mcp_server.py418 # Step 2: Invalidate cache from action serverCOMMENT
LOWtests/integration/test_mobile_mcp_server.py438 # Step 3: Get controls again - should refresh from deviceCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py635 # Step 2: Set device to BUSY (simulating task execution)COMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py643 # Step 3: Mock components for disconnectionCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py651 # Step 4: Verify task was cancelledCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py657 # Step 5: Mock successful reconnectionCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py616 # Step 1: Register and "connect" deviceCOMMENT
LOW…alaxy/client/test_device_disconnection_reconnection.py678 # Step 6: Verify device is ready for new tasksCOMMENT
24 more matches not shown…
Modern Structural Boilerplate127 hits · 128 pts
SeverityFileLineSnippetContext
LOWdataflow/instantiation/workflow/prefill_flow.py134 def _update_state(self, file_path: str) -> None:CODE
LOWconfig/config_loader.py56logger = logging.getLogger(__name__)CODE
LOWconfig/config_loader.py533 def _update_api_base(config: Dict[str, Any], agent_key: str) -> None:CODE
LOWconfig/__init__.py25__all__ = [CODE
LOWufo/prompter/experience_prompter.py12logger = logging.getLogger(__name__)CODE
LOWufo/prompter/basic.py13logger = logging.getLogger(__name__)CODE
LOWufo/prompter/prompt_sanitizer.py17logger = logging.getLogger(__name__)CODE
LOWufo/llm/llm_call.py11logger = logging.getLogger(__name__)CODE
LOWufo/llm/claude.py11logger = logging.getLogger(__name__)CODE
LOWufo/llm/gemini.py21logger = logging.getLogger(__name__)CODE
LOWufo/llm/llava.py15logger = logging.getLogger(__name__)CODE
LOWufo/llm/openai.py25logger = logging.getLogger(__name__)CODE
LOWufo/llm/cogagent.py9logger = logging.getLogger(__name__)CODE
LOWufo/llm/ollama.py17logger = logging.getLogger(__name__)CODE
LOWufo/config/__init__.py11logger = logging.getLogger(__name__)CODE
LOWufo/config/__init__.py84 def update_api_base(configs: dict, agent: str) -> None:CODE
LOWufo/module/dispatcher.py244 async def set_result(self, response_id: str, result: ClientMessage) -> None:CODE
LOWufo/module/context.py21logger = logging.getLogger(__name__)CODE
LOWufo/module/context.py245 def update_dict(self, key: ContextNames, value: Dict[str, Any]) -> None:CODE
LOWufo/agents/memory/memory.py55 def set_value(self, key: str, value: str) -> None:CODE
LOWufo/agents/agent/basic.py202 def set_memory_from_list_of_dicts(self, data: List[Dict[str, str]]) -> None:CODE
LOWufo/agents/agent/basic.py239 def set_state(self, state: AgentState) -> None:CODE
LOWufo/agents/presenters/__init__.py15__all__ = [CODE
LOWufo/agents/processors/app_agent_processor.py82 def _setup_strategies(self) -> None:CODE
LOWufo/agents/processors/app_agent_processor.py111 def _setup_middleware(self) -> None:CODE
LOWufo/agents/processors/host_agent_processor.py95 def _setup_strategies(self) -> None:CODE
LOWufo/agents/processors/host_agent_processor.py114 def _setup_middleware(self) -> None:CODE
LOWufo/agents/processors/context/processing_context.py64 def update_from_dict(self, data: Dict[str, Any]) -> None:CODE
LOWufo/agents/processors/context/processing_context.py140 def update_from_dict(self, data: Dict[str, Any]) -> None:CODE
LOWufo/agents/processors/context/processing_context.py245 def set_local(self, key: str, value: Any) -> None:CODE
LOWufo/agents/processors/context/processing_context.py261 def update_local(self, data: Dict[str, Any]) -> None:CODE
LOWufo/agents/processors/context/processing_context.py285 def update_typed_context(self, **kwargs) -> None:CODE
LOWufo/agents/processors/context/processing_context.py323 def set_global(self, key: str, value: Any) -> None:CODE
LOWufo/agents/processors/core/processor_framework.py81 def _setup_strategies(self) -> None:CODE
LOWufo/agents/processors/core/processor_framework.py88 def _setup_middleware(self) -> None:CODE
LOW…rocessors/strategies/host_agent_processing_strategy.py1241 def _update_structural_logs(self, memory_item: MemoryItem, global_context) -> None:CODE
LOW…ts/processors/customized/customized_agent_processor.py59 def _setup_strategies(self) -> None:CODE
LOW…ts/processors/customized/customized_agent_processor.py101 def _setup_strategies(self) -> None:CODE
LOW…ts/processors/customized/customized_agent_processor.py116 def _setup_middleware(self) -> None:CODE
LOW…ts/processors/customized/customized_agent_processor.py148 def _setup_strategies(self) -> None:CODE
LOW…ts/processors/customized/customized_agent_processor.py177 def _setup_middleware(self) -> None:CODE
LOWufo/server/app.py73logger = logging.getLogger(__name__)CODE
LOWufo/server/services/api.py14logger = logging.getLogger(__name__)CODE
LOWufo/utils/__init__.py30logger = logging.getLogger(__name__)CODE
LOWufo/rag/retriever.py13logger = logging.getLogger(__name__)CODE
LOWufo/rag/web_search.py17logger = logging.getLogger(__name__)CODE
LOWufo/automator/puppeteer.py243 def _update_receiver_registry(self) -> None:CODE
LOWufo/automator/ui_control/controller.py30logger = logging.getLogger(__name__)CODE
LOWufo/automator/ui_control/screenshot.py31logger = logging.getLogger(__name__)CODE
LOWufo/automator/ui_control/grounding/omniparser.py22logger = logging.getLogger(__name__)CODE
LOWufo/automator/app_apis/factory.py16logger = logging.getLogger(__name__)CODE
LOWufo/automator/app_apis/shell/shell_client.py16logger = logging.getLogger(__name__)CODE
LOWufo/automator/app_apis/web/webclient.py15logger = logging.getLogger(__name__)CODE
LOWufo/trajectory/parser.py18logger = logging.getLogger(__name__)CODE
LOWufo/client/client.py76logger = logging.getLogger(__name__)CODE
LOWufo/client/device_info_provider.py14logger = logging.getLogger(__name__)CODE
LOWufo/client/mcp/local_servers/cli_mcp_server.py24logger = logging.getLogger(__name__)CODE
LOWufo/client/mcp/local_servers/ui_mcp_server.py51logger = logging.getLogger(__name__)CODE
LOWufo/client/mcp/http_servers/mobile_mcp_server.py72 def set_installed_apps(self, apps: List[TargetInfo]) -> None:CODE
LOWufo/client/mcp/http_servers/mobile_mcp_server.py91 def set_current_controls(self, controls: List[TargetInfo]) -> None:CODE
67 more matches not shown…
Deep Nesting116 hits · 106 pts
SeverityFileLineSnippetContext
LOWdataflow/data_flow_controller.py431CODE
LOWufo/prompter/eva_prompter.py188CODE
LOWufo/tools/validate_config.py160CODE
LOWufo/llm/llm_call.py34CODE
LOWufo/llm/claude.py33CODE
LOWufo/llm/claude.py96CODE
LOWufo/llm/gemini.py130CODE
LOWufo/llm/gemini.py179CODE
LOWufo/llm/llava.py26CODE
LOWufo/llm/llava.py103CODE
LOWufo/llm/llava.py155CODE
LOWufo/llm/openai.py29CODE
LOWufo/llm/openai.py93CODE
LOWufo/llm/openai.py301CODE
LOWufo/llm/openai.py342CODE
LOWufo/llm/openai.py476CODE
LOWufo/llm/cogagent.py20CODE
LOWufo/llm/base.py23CODE
LOWufo/llm/base.py118CODE
LOWufo/config/__init__.py34CODE
LOWufo/module/session_pool.py114CODE
LOWufo/module/context.py75CODE
LOWufo/module/context.py139CODE
LOWufo/module/context.py355CODE
LOWufo/module/sessions/session.py70CODE
LOWufo/module/sessions/session.py378CODE
LOWufo/agents/agent/host_agent.py121CODE
LOWufo/agents/agent/basic.py270CODE
LOWufo/agents/presenters/rich_presenter.py551CODE
LOWufo/agents/presenters/rich_presenter.py808CODE
LOWufo/agents/processors/context/processing_context.py116CODE
LOWufo/agents/processors/context/processing_context.py204CODE
LOWufo/agents/processors/core/processor_framework.py124CODE
LOWufo/agents/processors/core/processor_framework.py336CODE
LOWufo/agents/processors/core/strategy_dependency.py194CODE
LOWufo/agents/processors/core/strategy_dependency.py234CODE
LOWufo/agents/processors/core/strategy_dependency.py281CODE
LOWufo/agents/processors/core/strategy_dependency.py382CODE
LOW…rocessors/strategies/host_agent_processing_strategy.py735CODE
LOW…processors/strategies/app_agent_processing_strategy.py334CODE
LOW…processors/strategies/app_agent_processing_strategy.py660CODE
LOW…processors/strategies/app_agent_processing_strategy.py1221CODE
LOWufo/agents/processors/strategies/strategy_dependency.py107CODE
LOWufo/agents/processors/strategies/strategy_dependency.py200CODE
LOWufo/agents/processors/strategies/processing_strategy.py62CODE
LOWufo/agents/processors/strategies/processing_strategy.py222CODE
LOW…/agents/processors/strategies/mobile_agent_strategy.py193CODE
LOW…/agents/processors/strategies/mobile_agent_strategy.py321CODE
LOW…/agents/processors/strategies/mobile_agent_strategy.py501CODE
LOWufo/server/services/session_manager.py103CODE
LOWufo/server/services/client_connection_manager.py337CODE
LOWufo/server/ws/handler.py288CODE
LOWufo/server/ws/handler.py385CODE
LOWufo/server/ws/handler.py668CODE
LOWufo/server/ws/handler.py794CODE
LOWufo/utils/__init__.py398CODE
LOWufo/rag/retriever.py22CODE
LOWufo/automator/ui_control/controller.py182CODE
LOWufo/automator/ui_control/screenshot.py82CODE
LOWufo/automator/ui_control/screenshot.py1347CODE
56 more matches not shown…
Over-Commented Block51 hits · 50 pts
SeverityFileLineSnippetContext
LOWdataflow/prompter/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdataflow/prompter/instantiation/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdataflow/prompter/execution/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdataflow/instantiation/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdataflow/instantiation/agent/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdataflow/instantiation/workflow/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdataflow/execution/agent/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdataflow/execution/workflow/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWconfig/ufo/mcp.yaml1# MCP (Model Context Protocol) Agent ConfigurationCOMMENT
LOWconfig/galaxy/devices.yaml1# Device Configuration - YAML FormatCOMMENT
LOWufo/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/experience/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/prompter/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/module/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/module/sessions/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/agents/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/agents/memory/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/agents/agent/host_agent.py441 """COMMENT
LOWufo/agents/agent/host_agent.py461# request="Please interact with the hardware.",COMMENT
LOWufo/agents/processors/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/agents/processors/context/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/agents/processors/core/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/agents/processors/strategies/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/agents/processors/schemas/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/agents/states/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/server/services/session_manager.py61 This class manages active sessions for the UFO service.COMMENT
LOWufo/server/services/session_manager.py141 # (whose ``results`` could be replayed to the attackerCOMMENT
LOWufo/server/services/session_manager.py561COMMENT
LOWufo/server/ws/handler.py41 transport: Optional[WebSocketTransport] = NoneCOMMENT
LOWufo/rag/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/automator/ui_control/grounding/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/automator/app_apis/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/automator/app_apis/shell/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/automator/app_apis/shell/shell_client.py21#COMMENT
LOWufo/automator/app_apis/web/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/automator/app_apis/excel/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/automator/app_apis/powerpoint/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWufo/automator/app_apis/word/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWtests/security/test_session_id_reuse.py61 art_mod = types.ModuleType("art")COMMENT
LOWtests/security/test_session_id_reuse.py81# Other security test files (notably ``test_ws_role_spoof.py`` andCOMMENT
LOWrecord_processor/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWlearner/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdocuments/docs/server/overview.md461# Server health and uptimeCOMMENT
LOWdocuments/docs/server/api.md701 # {COMMENT
LOWdocuments/docs/server/session_manager.md441COMMENT
LOWdocuments/docs/mcp/servers/mobile_executor.md981# Start both servers (recommended)COMMENT
LOWdocuments/docs/galaxy/constellation/task_star_line.md361```pythonCOMMENT
LOWdocuments/docs/galaxy/client/device_manager.md701# If auto_connect=True → DeviceManager → connect_device()COMMENT
LOWdocuments/docs/galaxy/client/device_manager.md741# → TaskQueueManager (get_next_task)COMMENT
LOWdocuments/docs/galaxy/client/device_manager.md761# DeviceManager → DeviceRegistry (reset attempts, update status to IDLE)COMMENT
LOWdocuments/docs/client/device_info.md241```COMMENT
AI Slop Vocabulary15 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUM…rocessors/strategies/host_agent_processing_strategy.py398 # Step 1: Build comprehensive prompt messageCOMMENT
MEDIUM…rocessors/strategies/host_agent_processing_strategy.py1074 # Step 1: Create comprehensive additional memory dataCOMMENT
MEDIUM…processors/strategies/app_agent_processing_strategy.py906 # Step 3: Build comprehensive promptCOMMENT
MEDIUM…o/agents/processors/strategies/linux_agent_strategy.py68 # Build comprehensive promptCOMMENT
MEDIUM…/agents/processors/strategies/mobile_agent_strategy.py653 # Build comprehensive promptCOMMENT
MEDIUMtests/test_real_galaxy_session_integration.py44 """Setup comprehensive logging for all galaxy components."""STRING
MEDIUMtests/test_real_galaxy_session_integration.py372 # Configure comprehensive logging to capture ALL logsCOMMENT
MEDIUMtests/unit/galaxy/session/test_observers_refactored.py282 # Create comprehensive task eventCOMMENT
MEDIUMtests/integration/test_e2e_simplified.py334 """Run comprehensive integration tests."""STRING
MEDIUMtests/integration/test_e2e_galaxy.py1842 # Initialize the comprehensive testerCOMMENT
MEDIUMtests/integration/test_e2e_galaxy.py1900 # Run the comprehensive E2E test suite with Galaxy frameworkCOMMENT
MEDIUMtests/integration/test_e2e_galaxy.py1040 """Print comprehensive test suite summary."""STRING
MEDIUMtests/galaxy/session/test_galaxy_session_final.py34 # Create comprehensive sessionCOMMENT
MEDIUM…s/processors/strategies/base_constellation_strategy.py102 # Step 1: Build comprehensive prompt messageCOMMENT
MEDIUM…s/processors/strategies/base_constellation_strategy.py531 # Step 1: Create comprehensive additional memory dataCOMMENT
Magic Placeholder Names6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHdocuments/docs/configuration/models/custom_model.md74 API_KEY: "YOUR_API_KEY" # Your API key (if required)CODE
HIGHdocuments/docs/configuration/models/custom_model.md81 API_KEY: "YOUR_API_KEY"CODE
HIGHdocuments/docs/galaxy/webui.md230X-API-Key: <your-api-key>CODE
HIGHdocuments/docs/galaxy/webui.md247X-API-Key: <your-api-key>CODE
HIGHdocuments/docs/galaxy/webui.md313**Connection URL:** `ws://localhost:8000/ws?token=<your-api-key>`CODE
HIGH…ments/docs/getting_started/migration_ufo2_to_galaxy.md273 API_KEY: "sk-your-api-key-here"CODE
Docstring Block Structure4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHufo/llm/llava.py35 Generates chat completions based on the given messages. Args: messages (list): A list of meSTRING
HIGHufo/llm/llava.py252 Process the given image based on the specified image_process_mode. Args: image (PIL.Image.ISTRING
HIGHdocuments/docs/configuration/models/custom_model.md27 Generates completions for a given list of messages. Args: messages: The list of messages to generaSTRING
HIGHdocuments/docs/server/api.md441 Poll for task result with timeout. Args: task_name: Task identifier tiSTRING
Cross-Language Confusion2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtests/test_shell_client_path_validation.py114 sc._is_command_allowed("Get-ChildItem && Remove-Item foo")CODE
HIGHtests/test_shell_client_path_validation.py117 sc._is_command_allowed("Get-ChildItem || echo pwned")CODE
Fake / Example Data13 hits · 13 pts
SeverityFileLineSnippetContext
LOWufo/llm/base.py44 "placeholder": "PlaceHolderService",CODE
LOWdocuments/docs/configuration/system/galaxy_devices.md151| `operation_engineer_email` | `string` | Contact email | `"admin@example.com"` |CODE
LOWdocuments/docs/configuration/system/galaxy_devices.md152| `operation_engineer_name` | `string` | Contact name | `"John Doe"` |CODE
LOWdocuments/docs/configuration/system/galaxy_devices.md204 operation_engineer_email: "admin@example.com"CODE
LOWdocuments/docs/configuration/system/galaxy_devices.md205 operation_engineer_name: "John Doe"CODE
LOWdocuments/docs/server/monitoring.md921 receiver = "admin@example.com"CODE
LOWdocuments/docs/galaxy/agent_registration/overview.md181 "operation_engineer_email": "admin@example.com",CODE
LOW…ts/docs/galaxy/agent_registration/registration_flow.md77 operation_engineer_email: "admin@example.com"CODE
LOW…ts/docs/galaxy/agent_registration/registration_flow.md754 "operation_engineer_email": "admin@example.com"CODE
LOW…uments/docs/galaxy/agent_registration/agent_profile.md205 "operation_engineer_email": "admin@example.com",CODE
LOW…/docs/ufo2/evaluation/benchmark/windows_agent_arena.md30 "OPENAI_API_KEY": "placeholder"CODE
LOWdocuments/docs/ufo2/evaluation/benchmark/osworld.md29 "OPENAI_API_KEY": "placeholder"CODE
LOWdocuments/docs/mobile/as_galaxy_device.md177 - "John Doe"CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALufo/llm/openai.py68 self.client.beta.chat.completions.parse(CODE
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWufo/experience/experience_parser.py62CODE
LOWufo/prompter/prompt_sanitizer.py130CODE
LOWufo/llm/openai.py709CODE
LOWufo/trajectory/parser.py93CODE
LOW…integration/test_constellation_server_compatibility.py148CODE
LOW…integration/test_constellation_server_compatibility.py430CODE
Overly Generic Function Names5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtests/visualization/test_enhanced_visualization.py82 async def execute_task(self, device_id: str, task_data: dict) -> dict:CODE
LOWtests/visualization/test_constellation_events.py74 async def execute_task(self, device_id: str, task_data: dict) -> dict:CODE
LOWtests/integration/test_e2e_galaxy.py228 async def execute_task(CODE
LOWgalaxy/core/interfaces.py281 async def execute_task(CODE
LOWgalaxy/core/interfaces.py404 async def execute_task(self, task: ITask) -> ExecutionResult:CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHlearner/doc_example/ppt-copilot.xml88 <para><token>copilot</token> leverages GPT, a new AI system from OpenAI that creates text based on a prompt. As it isCODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMgalaxy/client/support/status_manager.py174 # Note: This is a basic implementation. In a full system, you'd trackCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMufo/automator/ui_control/grounding/omniparser.py120CODE
Example Usage Blocks1 hit · 0 pts
SeverityFileLineSnippetContext
LOWgalaxy/client/config_loader.py545 # Example usageSTRING