Repository Analysis

camel-ai/camel

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

28.1 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of camel-ai/camel, a Python project with 17,383 GitHub stars. SynthScan v2.0 examined 321,851 lines of code across 1389 source files, recording 7036 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 28.1 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).

28.1
Adjusted Score
28.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
17.4K
Stars
Python
Language
321.9K
Lines of Code
1.4K
Files
7.0K
Pattern Hits
2026-07-14
Scan Date
0.36
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 6HIGH 498MEDIUM 533LOW 5999

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 7036 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 Identifiers2183 hits · 1947 pts
SeverityFileLineSnippetContext
LOWtest/test_all_exports.py16def test_all_exports_from_camel():CODE
LOWtest/conftest.py50def pytest_collection_modifyitems(config: Config, items: List[Item]) -> None:CODE
LOWtest/test_generators.py22def test_system_message_generator():CODE
LOWtest/test_generators.py63def test_task_prompt_generator():CODE
LOWtest/terminators/test_response_terminator.py39def test_response_words_termination(mode):CODE
LOWtest/terminators/test_token_limit_terminator.py20def test_token_limit_termination(num_tokens):CODE
LOWtest/data_collectors/test_sharegpt_collector.py60def test_sharegpt_llm_converter():CODE
LOWtest/data_collectors/test_alpaca_collector.py55def test_alpaca_llm_converter():CODE
LOWtest/bots/test_discord_app.py32 def test_init_with_token_from_env(self, mock_discord_client):CODE
LOWtest/bots/test_discord_app.py40 def test_init_with_provided_token(self, mock_discord_client):CODE
LOWtest/bots/test_discord_app.py47 def test_init_raises_value_error_without_token(self, mock_discord_client):CODE
LOWtest/bots/test_discord_app.py66 async def test_on_message_ignore_own_message(self, mock_discord_client):CODE
LOWtest/bots/test_discord_app.py76 async def test_on_message_respond_in_allowed_channel(CODE
LOWtest/bots/test_discord_app.py93 async def test_on_message_ignore_non_mentioned_message(CODE
LOWtest/bots/test_discord_app.py107 async def test_on_message_ignore_outside_channel(CODE
LOWtest/bots/test_slack_app.py43 def test_init_without_token_raises_error(self, mock_async_app):CODE
LOWtest/bots/test_telegram_bot.py26 def test_init_token_provided_uses_provided_token(self):CODE
LOWtest/integration_test/test_minimal_dependency.py33def test_minimum_deps_module_importable(module_path):CODE
LOWtest/integration_test/test_minimal_dependency.py59def test_example_runs_or_skips(example_path):STRING
LOWtest/interpreters/test_subprocess_interpreter.py88def test_run_unsupported_code_type(subprocess_interpreter):STRING
LOWtest/interpreters/test_subprocess_interpreter.py120def test_r_code_type_variants(subprocess_interpreter):STRING
LOWtest/interpreters/test_subprocess_interpreter.py150def test_execute_command_require_confirm(subprocess_interpreter, monkeypatch):STRING
LOWtest/interpreters/test_interpreters_decorators.py38def test_docker_interpreter_missing_dependency():CODE
LOWtest/interpreters/test_interpreters_decorators.py54def test_jupyter_kernel_interpreter_missing_dependency():CODE
LOWtest/interpreters/test_interpreters_decorators.py62def test_jupyter_kernel_interpreter_missing_ipykernel():CODE
LOWtest/interpreters/test_interpreters_decorators.py70def test_microsandbox_interpreter_missing_dependency():CODE
LOWtest/interpreters/test_python_interpreter.py289def test_augassign_operations(interpreter: InternalPythonInterpreter):CODE
LOWtest/interpreters/test_python_interpreter.py395def test_unsafe_mode_complex_operations(unsafe_interpreter):STRING
LOWtest/interpreters/test_python_interpreter.py423def not_allow_builtins_interpreter():STRING
LOWtest/interpreters/test_docker_interpreter.py130def test_r_code_type_variants(docker_interpreter: DockerInterpreter):STRING
LOWtest/interpreters/test_docker_interpreter.py141def test_run_unsupported_code_type(docker_interpreter: DockerInterpreter):STRING
LOWtest/interpreters/test_microsandbox_interpreter.py59def test_supported_code_types():CODE
LOWtest/interpreters/test_microsandbox_interpreter.py74def test_unsupported_language(interpreter):CODE
LOWtest/retrievers/test_hybrid_retriever.py52def test_sort_rrf_scores_integration(mock_hybrid_retriever):CODE
LOWtest/retrievers/test_auto_retriever.py45def test__initialize_vector_storage(auto_retriever):CODE
LOWtest/retrievers/test_auto_retriever.py51def test_run_vector_retriever(auto_retriever):CODE
LOWtest/retrievers/test_auto_retriever.py66def test_run_vector_retriever_with_element_input(auto_retriever):CODE
LOWtest/retrievers/test_vector_retriever.py47def mock_unstructured_modules():CODE
LOWtest/retrievers/test_vector_retriever.py53def test_initialization_with_custom_embedding(CODE
LOWtest/retrievers/test_vector_retriever.py60def test_initialization_with_default_embedding():CODE
LOWtest/retrievers/test_bm25_retriever.py23def mock_unstructured_modules():CODE
LOWtest/retrievers/test_bm25_retriever.py77def test_query_without_initialization():CODE
LOWtest/retrievers/test_retrievers_decorators.py44def test_auto_retriever_missing_dependency():CODE
LOWtest/retrievers/test_retrievers_decorators.py86def test_cohere_rerank_retriever_missing_dependency():CODE
LOWtest/retrievers/test_retrievers_decorators.py101def test_hybrid_retrieval_missing_dependency():CODE
LOWtest/retrievers/test_retrievers_decorators.py112def test_jina_rerank_retriever_missing_dependency():CODE
LOWtest/retrievers/test_retrievers_decorators.py123def test_vector_retriever_missing_dependency():CODE
LOWtest/retrievers/test_retrievers_decorators.py136def test_cohere_rerank_retriever_api_keys():CODE
LOWtest/retrievers/test_retrievers_decorators.py149def test_jina_rerank_retriever_api_keys():CODE
LOWtest/retrievers/test_jina_rerank_retriever.py29def test_initialization_with_custom_model():CODE
LOWtest/retrievers/test_jina_rerank_retriever.py35def test_initialization_without_api_key():CODE
LOWtest/retrievers/test_jina_rerank_retriever.py43def test_initialization_with_explicit_api_key():CODE
LOWtest/retrievers/test_jina_rerank_retriever.py129def test_query_with_content_key(mock_post, jina_rerank):CODE
LOWtest/storages/test_storages_decorators.py41def test_redis_storage_missing_dependency():CODE
LOWtest/storages/test_storages_decorators.py74def test_azure_blob_storage_missing_dependency():CODE
LOWtest/storages/test_storages_decorators.py85def test_google_cloud_storage_missing_dependency():CODE
LOWtest/storages/vector_storages/test_tidb.py39def test_multiple_remote_clients(mock_tidb_storage):CODE
LOWtest/storages/vector_storages/test_surreal.py105def test_distance_to_similarity(CODE
LOWtest/storages/vector_storages/test_oceanbase.py109def test_oceanbase_storage_initialization(mock_ob_client):CODE
LOWtest/storages/vector_storages/test_oceanbase.py154def test_oceanbase_storage_operations(mock_ob_client):CODE
2123 more matches not shown…
Cross-File Repetition277 hits · 1385 pts
SeverityFileLineSnippetContext
HIGHtest/interpreters/test_interpreters_decorators.py0patch is_module_available to return false for a specific module.STRING
HIGHtest/retrievers/test_retrievers_decorators.py0patch is_module_available to return false for a specific module.STRING
HIGHtest/storages/test_storages_decorators.py0patch is_module_available to return false for a specific module.STRING
HIGHtest/embeddings/test_embeddings_decorators.py0patch is_module_available to return false for a specific module.STRING
HIGHtest/loaders/test_loaders_decorators.py0patch is_module_available to return false for a specific module.STRING
HIGHtest/interpreters/test_jupyterkernel_interpreter.py0def add(a, b): return a + b def multiply(a, b): return a * b def subtract(a, b): return a - b def main(): a = 10 b = 20 STRING
HIGHtest/interpreters/test_docker_interpreter.py0def add(a, b): return a + b def multiply(a, b): return a * b def subtract(a, b): return a - b def main(): a = 10 b = 20 STRING
HIGHexamples/interpreters/ipython_interpreter_example.py0def add(a, b): return a + b def multiply(a, b): return a * b def subtract(a, b): return a - b def main(): a = 10 b = 20 STRING
HIGHtest/retrievers/test_retrievers_decorators.py0test that the following decorators are correctly applied to camel.loaders: @api_keys_required - should raise valueerror STRING
HIGHtest/storages/test_storages_decorators.py0test that the following decorators are correctly applied to camel.loaders: @api_keys_required - should raise valueerror STRING
HIGHtest/loaders/test_loaders_decorators.py0test that the following decorators are correctly applied to camel.loaders: @api_keys_required - should raise valueerror STRING
HIGHtest/toolkits/test_web_deploy_toolkit.py0test that get_tools returns the correct function tools.STRING
HIGHtest/toolkits/test_sql_toolkit.py0test that get_tools returns the correct function tools.STRING
HIGHtest/toolkits/test_file_toolkit.py0test that get_tools returns the correct function tools.STRING
HIGHtest/models/test_moonshot_model.py0test that interleaved_thinking configuration is properly set.STRING
HIGHtest/models/test_volcano_model.py0test that interleaved_thinking configuration is properly set.STRING
HIGHtest/models/test_zhipuai_model.py0test that interleaved_thinking configuration is properly set.STRING
HIGHtest/models/test_moonshot_model.py0test that interleaved_thinking is disabled by default.STRING
HIGHtest/models/test_volcano_model.py0test that interleaved_thinking is disabled by default.STRING
HIGHtest/models/test_zhipuai_model.py0test that interleaved_thinking is disabled by default.STRING
HIGHtest/models/test_moonshot_model.py0test reasoning_content injection into assistant messages.STRING
HIGHtest/models/test_volcano_model.py0test reasoning_content injection into assistant messages.STRING
HIGHtest/models/test_zhipuai_model.py0test reasoning_content injection into assistant messages.STRING
HIGHtest/models/test_moonshot_model.py0test that reasoning_content is not injected when disabled.STRING
HIGHtest/models/test_volcano_model.py0test that reasoning_content is not injected when disabled.STRING
HIGHtest/models/test_zhipuai_model.py0test that reasoning_content is not injected when disabled.STRING
HIGHtest/models/test_moonshot_model.py0test extraction of reasoning_content from response.STRING
HIGHtest/models/test_volcano_model.py0test extraction of reasoning_content from response.STRING
HIGHtest/models/test_zhipuai_model.py0test extraction of reasoning_content from response.STRING
HIGHtest/models/test_moonshot_model.py0test extraction returns none when no reasoning_content.STRING
HIGHtest/models/test_volcano_model.py0test extraction returns none when no reasoning_content.STRING
HIGHtest/models/test_zhipuai_model.py0test extraction returns none when no reasoning_content.STRING
HIGHcamel/storages/vectordb_storages/milvus.py0searches for similar vectors in the storage based on the provided query. args: query (vectordbquery): the query object cSTRING
HIGHcamel/storages/vectordb_storages/tidb.py0searches for similar vectors in the storage based on the provided query. args: query (vectordbquery): the query object cSTRING
HIGHcamel/storages/vectordb_storages/weaviate.py0searches for similar vectors in the storage based on the provided query. args: query (vectordbquery): the query object cSTRING
HIGHcamel/storages/vectordb_storages/base.py0searches for similar vectors in the storage based on the provided query. args: query (vectordbquery): the query object cSTRING
HIGHcamel/storages/vectordb_storages/qdrant.py0provides access to the underlying vector database client.STRING
HIGHcamel/storages/vectordb_storages/weaviate.py0provides access to the underlying vector database client.STRING
HIGHcamel/storages/vectordb_storages/base.py0provides access to the underlying vector database client.STRING
HIGHcamel/storages/vectordb_storages/tidb.py0deletes a list of vectors identified by their ids from the storage. args: ids (list[str]): list of unique identifiers foSTRING
HIGHcamel/storages/vectordb_storages/weaviate.py0deletes a list of vectors identified by their ids from the storage. args: ids (list[str]): list of unique identifiers foSTRING
HIGHcamel/storages/vectordb_storages/oceanbase.py0deletes a list of vectors identified by their ids from the storage. args: ids (list[str]): list of unique identifiers foSTRING
HIGHcamel/storages/vectordb_storages/base.py0deletes a list of vectors identified by their ids from the storage. args: ids (list[str]): list of unique identifiers foSTRING
HIGHcamel/storages/vectordb_storages/weaviate.py0returns status of the vector database. returns: vectordbstatus: the vector database status.STRING
HIGHcamel/storages/vectordb_storages/oceanbase.py0returns status of the vector database. returns: vectordbstatus: the vector database status.STRING
HIGHcamel/storages/vectordb_storages/base.py0returns status of the vector database. returns: vectordbstatus: the vector database status.STRING
HIGHcamel/storages/key_value_storages/mem0_cloud.py0saves a batch of records to the key-value storage system. args: records (list[dict[str, any]]): a list of dictionaries, STRING
HIGHcamel/storages/key_value_storages/json.py0saves a batch of records to the key-value storage system. args: records (list[dict[str, any]]): a list of dictionaries, STRING
HIGHcamel/storages/key_value_storages/base.py0saves a batch of records to the key-value storage system. args: records (list[dict[str, any]]): a list of dictionaries, STRING
HIGHcamel/storages/key_value_storages/in_memory.py0saves a batch of records to the key-value storage system. args: records (list[dict[str, any]]): a list of dictionaries, STRING
HIGHcamel/storages/key_value_storages/mem0_cloud.py0loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, whereSTRING
HIGHcamel/storages/key_value_storages/redis.py0loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, whereSTRING
HIGHcamel/storages/key_value_storages/json.py0loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, whereSTRING
HIGHcamel/storages/key_value_storages/base.py0loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, whereSTRING
HIGHcamel/storages/key_value_storages/in_memory.py0loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, whereSTRING
HIGHcamel/storages/key_value_storages/redis.py0removes all records from the key-value storage system.STRING
HIGHcamel/storages/key_value_storages/json.py0removes all records from the key-value storage system.STRING
HIGHcamel/storages/key_value_storages/base.py0removes all records from the key-value storage system.STRING
HIGHcamel/storages/key_value_storages/in_memory.py0removes all records from the key-value storage system.STRING
HIGHcamel/embeddings/openai_embedding.py0generates embeddings for the given texts. args: objs (list[t]): the objects for which to generate the embeddings. **kwarSTRING
217 more matches not shown…
Over-Commented Block1148 hits · 1137 pts
SeverityFileLineSnippetContext
LOWtest/test_all_exports.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/conftest.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/test_generators.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/test_human.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/terminators/test_response_terminator.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/terminators/test_token_limit_terminator.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/data_collectors/test_sharegpt_collector.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/data_collectors/test_alpaca_collector.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/bots/test_discord_app.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/bots/test_slack_app.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/bots/test_telegram_bot.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/integration_test/test_minimal_dependency.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/interpreters/test_subprocess_interpreter.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/interpreters/test_interpreters_decorators.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/interpreters/test_python_interpreter.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/interpreters/test_jupyterkernel_interpreter.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/interpreters/test_docker_interpreter.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/interpreters/test_microsandbox_interpreter.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/retrievers/test_hybrid_retriever.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/retrievers/test_auto_retriever.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/retrievers/test_cohere_rerank_retriever.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/retrievers/test_vector_retriever.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/retrievers/test_bm25_retriever.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/retrievers/test_retrievers_decorators.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/retrievers/test_jina_rerank_retriever.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/test_storages_decorators.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_tidb.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_surreal.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_oceanbase.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_all_vectordbs.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_milvus.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_qdrant.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_pgvector.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_weaviate.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/vector_storages/test_faiss.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/key_value_storages/test_redis.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOW…storages/key_value_storages/test_key_value_storages.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/key_value_storages/test_mem0_cloud.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/graph_storages/test_graph_element.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/graph_storages/test_nebula_graph.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/graph_storages/test_neo4j_graph.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/object_storages/test_azure_blob.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/object_storages/test_google_cloud.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/storages/object_storages/test_amazon_s3.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/tasks/test_task.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/messages/test_message_base.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/messages/test_func_message.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/messages/test_chat_message.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_azure_embedding.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_vlm_embeddings.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_mistral_embedding.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_jina_embedding.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_embeddings_decorators.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_openai_compatible_embedding.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_openai_embedding.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_gemini_embedding.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/embeddings/test_open_source_embeddings.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/environments/test_multi_step_env.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/environments/test_tictactoe_env.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
LOWtest/environments/test_single_step_env.py1# ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. =========COMMENT
1088 more matches not shown…
Docstring Block Structure169 hits · 845 pts
SeverityFileLineSnippetContext
HIGHcamel/generators.py130Generates a list of system messages from a list of dictionaries. Args: meta_dicts (List[Dict[str, sSTRING
HIGHcamel/data_collectors/alpaca_collector.py109Convert collected data using an LLM schema converter. Args: converter (Optional[OpenAISchemaConvertSTRING
HIGHcamel/data_collectors/sharegpt_collector.py156Convert collected data using an LLM schema converter. Args: converter (Optional[OpenAISchemaConvertSTRING
HIGHcamel/bots/discord/discord_app.py143Exchange the authorization code for an access token. Args: code (str): The authorization code receiSTRING
HIGHcamel/societies/workforce/workforce.py1652Unified task analysis for both failures and quality evaluation. This method consolidates the logic for analyzinSTRING
HIGHcamel/societies/workforce/workforce.py3038Add a worker node to the workforce that uses a single agent. Can be called when workforce is paused to dynamicalSTRING
HIGHcamel/societies/workforce/workforce.py3104Add a worker node to the workforce that uses `RolePlaying` system. Can be called when workforce is paused to dynSTRING
HIGHcamel/societies/workforce/workforce.py3173Add a workforce node to the workforce. Can be called when workforce is paused to dynamically add workers. STRING
HIGHcamel/societies/workforce/utils.py445Add a task to the pipeline with support for chaining. Args: content (str): The content/description STRING
HIGHcamel/societies/workforce/utils.py517Add multiple parallel tasks that can execute simultaneously. Args: task_contents (List[str]): List STRING
HIGHcamel/societies/workforce/utils.py578Add a synchronization task that waits for multiple tasks. Args: content (str): Content of the synchSTRING
HIGHcamel/interpreters/ipython_interpreter.py126Executes the given code in the Jupyter kernel. Args: code (str): The code string to execute. STRING
HIGHcamel/interpreters/docker_interpreter.py216Executes the given code in the container attached to the interpreter, and captures the stdout and stderr streamsSTRING
HIGHcamel/interpreters/docker_interpreter.py295Executes a command in the Docker container and returns its output. Args: command (str): The commandSTRING
HIGHcamel/interpreters/e2b_interpreter.py115Executes the given code in the e2b sandbox. Args: code (str): The code string to execute. STRING
HIGHcamel/interpreters/microsandbox_interpreter.py128Executes the given code in the microsandbox. Args: code (str): The code string to execute. STRING
HIGHcamel/interpreters/microsandbox_interpreter.py161Asynchronously executes code in microsandbox. Args: code (str): The code to execute. coSTRING
HIGHcamel/interpreters/microsandbox_interpreter.py336Execute a shell command in the microsandbox. This method is designed for package management and system STRING
HIGHcamel/interpreters/microsandbox_interpreter.py365Asynchronously executes a shell command in microsandbox. Args: command (str): The shell command to STRING
HIGHcamel/interpreters/internal_python_interpreter.py157Executes the given code with specified code type in the interpreter. This method takes a string of codeSTRING
HIGHcamel/interpreters/subprocess_interpreter.py274Generates a temporary file with the given code, executes it, and deletes the file afterward. Args: STRING
HIGHcamel/interpreters/subprocess_interpreter.py439Executes a shell command in a subprocess and captures its output. Args: command (str): The shell coSTRING
HIGHcamel/interpreters/base.py23Executes the given code based on its type. Args: code (str): The code to be executed. cSTRING
HIGHcamel/retrievers/hybrid_retrival.py69Sorts and combines results from vector and BM25 retrievers using Reciprocal Rank Fusion (RRF). Args: STRING
HIGHcamel/retrievers/jina_rerank_retriever.py87Queries and compiles results using the Jina AI re-ranking model. Args: query (str): Query string foSTRING
HIGHcamel/retrievers/bm25_retriever.py92Executes a query and compiles the results. Args: query (str): Query string for information retrieveSTRING
HIGHcamel/retrievers/vector_retriever.py205Executes a query in vector storage and compiles the retrieved results into a dictionary. Args: STRING
HIGHcamel/retrievers/auto_retriever.py179Executes the automatic vector retriever process using vector storage. Args: query (str): QuSTRING
HIGHcamel/storages/vectordb_storages/qdrant.py331Deletes points from the collection based on either IDs or payload filters. Args: ids (OptioSTRING
HIGHcamel/storages/vectordb_storages/faiss.py413Deletes vectors from the index based on either IDs or payload filters. Args: ids (Optional[STRING
HIGHcamel/storages/vectordb_storages/chroma.py39An implementation of the `BaseVectorStorage` for interacting with ChromaDB, a vector database for embeddings. ChSTRING
HIGHcamel/storages/vectordb_storages/chroma.py531Searches for similar vectors in ChromaDB based on the provided query. Args: query (VectorDBSTRING
HIGHcamel/storages/vectordb_storages/oceanbase.py296Searches for similar vectors in the storage based on the provided query. Args: query (VectoSTRING
HIGHcamel/storages/graph_storages/nebula_graph.py139Execute a query on the graph store. Args: query (str): The Cypher-like query to be executed. STRING
HIGHcamel/storages/graph_storages/nebula_graph.py618Validates the format of a time label string. Args: time_label (str): The time label string to validSTRING
HIGHcamel/storages/graph_storages/neo4j_graph.py215Executes a Neo4j Cypher declarative query in a database. Args: query (str): The Cypher query to be STRING
HIGHcamel/messages/conversion/alpaca.py55Creates an AlpacaItem from a formatted string. Args: text: String in either of these formats: STRING
HIGHcamel/types/mcp_registries.py56Set the default OS based on the current platform if not provided. Args: values (Dict): The values dSTRING
HIGHcamel/embeddings/vlm_embedding.py108Generates embeddings for the given images or texts. Args: objs (List[Image.Image|str]): The list ofSTRING
HIGHcamel/embeddings/together_embedding.py75Generates embeddings for the given texts. Args: objs (list[str]): The texts for which to generate tSTRING
HIGHcamel/embeddings/jina_embedding.py95Generates embeddings for the given texts or images. Args: objs (list[Union[str, Image.Image]]): TheSTRING
HIGHcamel/environments/single_step.py144Resets the environment and starts a new episode. This method samples a new batch of data points from the dataseSTRING
HIGHcamel/environments/single_step.py274Execute one interaction step in the environment using the proposed solution. This method processes the STRING
HIGHcamel/environments/single_step.py454Normalize the user-provided action(s) into a validated list of `Action` objects. This method handles flSTRING
HIGHcamel/environments/multi_step.py138Take a step in the environment using the given action. This method updates the environment state based on the LSTRING
HIGHcamel/datasets/few_shot_generator.py130Generates and validates `n` new datapoints through few-shot prompting, with a retry limit. Steps: STRING
HIGHcamel/datasets/static_dataset.py103Convert input data from various formats into a list of :obj:`DataPoint` instances. Args: daSTRING
HIGHcamel/datasets/static_dataset.py203Retrieve a datapoint or a batch of datapoints by index or slice. Args: idx (Union[int, slice]): IndSTRING
HIGHcamel/datasets/static_dataset.py273Convert a PyTorch dataset into a list of dictionaries. Args: data (Dataset): A PyTorch dataset. STRING
HIGHcamel/datasets/static_dataset.py308Load and parse a dataset from a JSON file. Args: data (Path): Path to the JSON file. ReturSTRING
HIGHcamel/datasets/static_dataset.py344Load and parse a dataset from a JSONL file. Args: data (Path): Path to the JSONL file. RetSTRING
HIGHcamel/datasets/static_dataset.py388Validate and convert a list of dictionaries into a dataset. Args: data (List[Dict[str, Any]]): A liSTRING
HIGHcamel/datasets/static_dataset.py459Save the dataset to the Hugging Face Hub using the project's HuggingFaceDatasetManager. Args: STRING
HIGHcamel/datasets/base_generator.py211Saves the generated datapoints to a JSONL (JSON Lines) file. Each datapoint is stored as a separate JSON objectSTRING
HIGHcamel/datasets/base_generator.py258Load and parse a dataset from a JSONL file. Args: file_path (Path): Path to the JSONL file. STRING
HIGHcamel/datasets/base_generator.py299Get a datapoint by index without removing the datapoint from _data. Args: index (int): Index of theSTRING
HIGHcamel/runtimes/docker_runtime.py142Run a command inside this container. Similar to `docker exec`. Args: task (TaskConfig): The configuSTRING
HIGHcamel/verifiers/python_verifier.py469Compares two Python objects for equality with optional float tolerance. This method recursively compareSTRING
HIGHcamel/verifiers/base.py168Perform verification with full error handling. This method verifies the correctness of a generated solution by STRING
HIGHcamel/verifiers/base.py286Abstract method for verification logic. Subclasses must implement this method to define how the solution STRING
109 more matches not shown…
Self-Referential Comments317 hits · 792 pts
SeverityFileLineSnippetContext
MEDIUMtest/retrievers/test_hybrid_retriever.py32 # Create an instance of HybridRetrieverCOMMENT
MEDIUMtest/retrievers/test_auto_retriever.py27 # Define the path to the temporary storageCOMMENT
MEDIUMtest/retrievers/test_vector_retriever.py67 # Create a VectorRetriever instanceCOMMENT
MEDIUMtest/retrievers/test_bm25_retriever.py37 # Create a mock chunk with metadataCOMMENT
MEDIUMtest/storages/vector_storages/test_oceanbase.py110 # Create a mock factory that returns a new mock IndexParams with iteratorCOMMENT
MEDIUMtest/storages/vector_storages/test_oceanbase.py155 # Create a mock factory that returns a new mock IndexParams with iteratorCOMMENT
MEDIUMtest/storages/vector_storages/test_oceanbase.py212 # Create a mock factory that returns a new mock IndexParams with iteratorCOMMENT
MEDIUMtest/storages/key_value_storages/test_mem0_cloud.py35 # Create a mock for the Mem0 clientCOMMENT
MEDIUMtest/storages/graph_storages/test_nebula_graph.py53 # Initialize the NebulaGraph instance with the mocksCOMMENT
MEDIUMtest/storages/graph_storages/test_nebula_graph.py306 # Create a GraphElement with nodes and optional sourceCOMMENT
MEDIUMtest/storages/graph_storages/test_nebula_graph.py331 # Create a GraphElement with relationships and optional sourceCOMMENT
MEDIUMtest/storages/graph_storages/test_nebula_graph.py431 # Create a GraphElement instance with nodes, relationships, and sourceCOMMENT
MEDIUMtest/embeddings/test_jina_embedding.py37 # Initialize embedding instanceCOMMENT
MEDIUMtest/embeddings/test_jina_embedding.py61 # Create a dummy imageCOMMENT
MEDIUMtest/embeddings/test_jina_embedding.py64 # Initialize embedding instance with CLIP modelCOMMENT
MEDIUMtest/embeddings/test_jina_embedding.py95 # Initialize embedding instance with optionsCOMMENT
MEDIUMtest/embeddings/test_jina_embedding.py135 # Initialize embedding instanceCOMMENT
MEDIUMtest/embeddings/test_openai_compatible_embedding.py39 # Initialize the OpenAICompatibleEmbedding objectCOMMENT
MEDIUMtest/embeddings/test_openai_compatible_embedding.py74 # Initialize the OpenAICompatibleEmbedding objectCOMMENT
MEDIUMtest/embeddings/test_gemini_embedding.py39 # Create the embedding instance and test embed_listCOMMENT
MEDIUMtest/embeddings/test_gemini_embedding.py72 # Create the embedding instance with task type and test embed_listCOMMENT
MEDIUMtest/environments/test_multi_step_env.py65 # Create a mock extractorCOMMENT
MEDIUMtest/environments/test_multi_step_env.py157 # Create a new environment with max_steps=1COMMENT
MEDIUMtest/environments/test_single_step_env.py144 # Define a sample datasetCOMMENT
MEDIUMtest/environments/test_single_step_env.py161 # Create a mock verifierCOMMENT
MEDIUMtest/environments/test_single_step_env.py394 # Create a mock verifierCOMMENT
MEDIUMtest/environments/test_single_step_env.py482 # Define a valid datasetCOMMENT
MEDIUMtest/environments/test_single_step_env.py948 # Define a simple datasetCOMMENT
MEDIUMtest/environments/test_single_step_env.py965 # Create a mock verifierCOMMENT
MEDIUMtest/datasets/test_base_dataset.py1313 # Create a real implementation of generate_new for testingCOMMENT
MEDIUMtest/datasets/test_base_dataset.py1330 # Create a mock verifierCOMMENT
MEDIUMtest/datasets/test_base_dataset.py1381 # Create a test data point that would be generatedCOMMENT
MEDIUMtest/datasets/test_base_dataset.py1394 # Create a real implementation of generate_new that simulates retries andCOMMENT
MEDIUMtest/datasets/test_base_dataset.py1417 # Create a mock verifierCOMMENT
MEDIUMtest/workforce/test_workflow_memory.py67 # Create a mock agent with conversation historyCOMMENT
MEDIUMtest/workforce/test_workflow_memory.py889 # Creating a file should create the directoryCOMMENT
MEDIUMtest/workforce/test_workflow_memory.py1011 # Create a test workflow fileCOMMENT
MEDIUMtest/workforce/test_workflow_memory.py1339 # Create a workforce with share_memory enabledCOMMENT
MEDIUMtest/workforce/test_workflow_memory.py1278 # Create a side_effect function that returns properlySTRING
MEDIUMtest/workforce/test_workforce_single_agent.py32 # Create a dummy agent - won't be used since we override _process_taskCOMMENT
MEDIUMtest/workforce/test_workforce_single_agent.py101 # Create a task to test withCOMMENT
MEDIUMtest/workforce/test_workforce_single_agent.py130 # Create a task to test withCOMMENT
MEDIUMtest/agents/test_chat_agent.py2026 # Create an async generator that wraps the chunksCOMMENT
MEDIUMtest/agents/test_chat_agent.py1812 # Create an all blue PNG image:STRING
MEDIUMtest/agents/test_chat_agent.py1915 # Create an agent with a specific system messageSTRING
MEDIUMtest/agents/test_chat_agent.py1930 # Create a new memory instanceSTRING
MEDIUMtest/agents/test_chat_agent.py2097 # Define a simple test toolSTRING
MEDIUMtest/agents/test_repo_agent.py100 # Create a mock that is recognized as a BaseModelBackend instanceCOMMENT
MEDIUMtest/agents/test_repo_agent.py181 # Create a more complete mock for the file contentCOMMENT
MEDIUMtest/agents/test_repo_agent.py290 # Create a proper ChatAgentResponse mockCOMMENT
MEDIUMtest/toolkits/test_note_taking_toolkit.py24 # Create a toolkit with a temporary directoryCOMMENT
MEDIUMtest/toolkits/test_note_taking_toolkit.py107 # Create a noteCOMMENT
MEDIUMtest/toolkits/test_note_taking_toolkit.py110 # Create a new toolkit instance with the same directoryCOMMENT
MEDIUMtest/toolkits/test_todo_toolkit.py169 # Create a new instance pointing to the same directoryCOMMENT
MEDIUMtest/toolkits/test_notion_toolkit.py132 # Create a NotionToolkit instanceCOMMENT
MEDIUMtest/toolkits/test_excel_toolkit.py269 # Create a file firstCOMMENT
MEDIUMtest/toolkits/test_microsoft_outlook_mail_toolkit.py114 # Create a mock credentials object to avoid OAuth authenticationCOMMENT
MEDIUMtest/toolkits/test_context_summarizer_toolkit.py44 # Create a mock model backend that behaves like a real oneCOMMENT
MEDIUMtest/toolkits/test_context_summarizer_toolkit.py61 # Create a conversation about travel planningCOMMENT
MEDIUMtest/toolkits/test_context_summarizer_toolkit.py131 # Create a mock summary agentCOMMENT
257 more matches not shown…
Unused Imports776 hits · 651 pts
SeverityFileLineSnippetContext
LOWtest/workforce/test_workforce_pipeline.py30CODE
LOWtest/workforce/test_workflow_memory.py29CODE
LOWtest/toolkits/test_pyautogui_toolkit.py23CODE
LOWtest/utils/test_stream_utils.py15CODE
LOWtest/loaders/test_markitdown.py22CODE
LOWcamel/__init__.py15CODE
LOWcamel/__init__.py15CODE
LOWcamel/__init__.py15CODE
LOWcamel/terminators/__init__.py14CODE
LOWcamel/terminators/__init__.py15CODE
LOWcamel/terminators/__init__.py15CODE
LOWcamel/terminators/__init__.py16CODE
LOWcamel/data_collectors/__init__.py15CODE
LOWcamel/data_collectors/__init__.py16CODE
LOWcamel/data_collectors/__init__.py17CODE
LOWcamel/bots/telegram_bot.py22CODE
LOWcamel/bots/__init__.py14CODE
LOWcamel/bots/__init__.py15CODE
LOWcamel/bots/__init__.py15CODE
LOWcamel/bots/__init__.py15CODE
LOWcamel/bots/__init__.py15CODE
LOWcamel/bots/__init__.py15CODE
LOWcamel/bots/__init__.py22CODE
LOWcamel/bots/__init__.py23CODE
LOWcamel/bots/discord/discord_app.py29CODE
LOWcamel/bots/discord/__init__.py14CODE
LOWcamel/bots/discord/__init__.py15CODE
LOWcamel/bots/discord/__init__.py16CODE
LOWcamel/bots/discord/__init__.py16CODE
LOWcamel/bots/slack/__init__.py14CODE
LOWcamel/bots/slack/__init__.py14CODE
LOWcamel/bots/slack/__init__.py14CODE
LOWcamel/bots/slack/__init__.py14CODE
LOWcamel/bots/slack/__init__.py14CODE
LOWcamel/bots/slack/__init__.py21CODE
LOWcamel/bots/slack/slack_app.py32CODE
LOWcamel/bots/slack/slack_app.py33CODE
LOWcamel/bots/slack/slack_app.py34CODE
LOWcamel/societies/__init__.py14CODE
LOWcamel/societies/__init__.py15CODE
LOWcamel/societies/workforce/worker.py14CODE
LOWcamel/societies/workforce/worker.py29CODE
LOWcamel/societies/workforce/single_agent_worker.py14CODE
LOWcamel/societies/workforce/single_agent_worker.py49CODE
LOWcamel/societies/workforce/workforce.py14CODE
LOWcamel/societies/workforce/workforce.py46CODE
LOWcamel/societies/workforce/events.py14CODE
LOWcamel/societies/workforce/role_playing_worker.py14CODE
LOWcamel/societies/workforce/role_playing_worker.py35CODE
LOWcamel/societies/workforce/__init__.py15CODE
LOWcamel/societies/workforce/__init__.py16CODE
LOWcamel/societies/workforce/__init__.py17CODE
LOWcamel/societies/workforce/__init__.py17CODE
LOWcamel/societies/workforce/__init__.py17CODE
LOWcamel/societies/workforce/__init__.py18CODE
LOWcamel/societies/workforce/__init__.py19CODE
LOWcamel/societies/workforce/__init__.py19CODE
LOWcamel/societies/workforce/workforce_callback.py14CODE
LOWcamel/interpreters/__init__.py15CODE
LOWcamel/interpreters/__init__.py16CODE
716 more matches not shown…
Excessive Try-Catch Wrapping999 hits · 623 pts
SeverityFileLineSnippetContext
LOWtest/storages/graph_storages/test_neo4j_graph.py44 except Exception as e:CODE
LOWtest/storages/graph_storages/test_neo4j_graph.py129 except Exception as e:CODE
LOWtest/workforce/test_workflow_memory.py2239 except Exception as e:STRING
LOWtest/toolkits/test_agent_toolkit.py80 except Exception:CODE
LOWtest/toolkits/test_planning_worktree_toolkit.py238 except Exception as exc:CODE
LOWtest/toolkits/test_sql_toolkit.py65 except Exception:CODE
LOWtest/toolkits/test_sql_toolkit.py74 except Exception:CODE
LOWtest/toolkits/test_sql_toolkit.py78 except Exception:CODE
LOWtest/toolkits/test_sql_toolkit.py476 except Exception:CODE
LOWtest/toolkits/test_code_execution.py41 except Exception:CODE
LOWtest/toolkits/test_code_execution.py63 except Exception as e:CODE
LOWtest/models/test_sglang_model.py61 except Exception as e:CODE
MEDIUMtest/models/test_sglang_model.py62 print(f"Error during cleanup: {e}")CODE
LOWcamel/logger.py152 except Exception as e:STRING
LOWcamel/societies/workforce/worker.py125 except Exception:CODE
LOWcamel/societies/workforce/worker.py141 except Exception as e:CODE
LOWcamel/societies/workforce/worker.py168 except Exception as e:STRING
LOWcamel/societies/workforce/worker.py190 except Exception as e:STRING
LOWcamel/societies/workforce/single_agent_worker.py498 except Exception as e:STRING
LOWcamel/societies/workforce/single_agent_worker.py503 except Exception as e:STRING
LOWcamel/societies/workforce/single_agent_worker.py610 except Exception as e:CODE
LOWcamel/societies/workforce/workforce.py2982 except Exception as e:CODE
LOWcamel/societies/workforce/workforce.py1459 except Exception as e:CODE
LOWcamel/societies/workforce/workforce.py3443 except Exception as e:CODE
LOWcamel/societies/workforce/workforce.py3733 except Exception as exc:CODE
LOWcamel/societies/workforce/workforce.py4482 except Exception as e:CODE
LOWcamel/societies/workforce/workforce.py2973 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py3658 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py3668 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py5233 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py1265 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py1393 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py1448 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py1820 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py2018 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py2152 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py2893 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py3544 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py3635 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py4167 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py4387 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py4818 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py4897 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py4982 except Exception:STRING
LOWcamel/societies/workforce/workforce.py5266 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py5358 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py5491 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py5689 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py5755 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py5771 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py6024 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py6053 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py6223 except Exception as e:STRING
LOWcamel/societies/workforce/workforce.py6299 except Exception as e:STRING
LOWcamel/societies/workforce/workflow_memory_manager.py1073 except Exception as e:CODE
LOWcamel/societies/workforce/workflow_memory_manager.py209 except Exception as e:STRING
LOWcamel/societies/workforce/workflow_memory_manager.py430 except Exception as e:STRING
LOWcamel/societies/workforce/workflow_memory_manager.py553 except Exception as e:STRING
LOWcamel/societies/workforce/workflow_memory_manager.py618 except Exception as e:STRING
LOWcamel/societies/workforce/workflow_memory_manager.py746 except Exception as exc:STRING
939 more matches not shown…
Decorative Section Separators122 hits · 354 pts
SeverityFileLineSnippetContext
MEDIUMtest/toolkits/test_klavis_toolkit.py44# --------------------------COMMENT
MEDIUMtest/toolkits/test_klavis_toolkit.py46# --------------------------COMMENT
MEDIUMtest/toolkits/test_klavis_toolkit.py53# --------------------------COMMENT
MEDIUMtest/toolkits/test_klavis_toolkit.py55# --------------------------COMMENT
MEDIUMtest/toolkits/test_klavis_toolkit.py141# --------------------------COMMENT
MEDIUMtest/toolkits/test_klavis_toolkit.py143# --------------------------COMMENT
MEDIUMtest/toolkits/test_klavis_toolkit.py274# --------------------------COMMENT
MEDIUMtest/toolkits/test_klavis_toolkit.py276# --------------------------COMMENT
MEDIUMtest/toolkits/test_lark_toolkit.py52# ============================================================================COMMENT
MEDIUMtest/toolkits/test_lark_toolkit.py54# ============================================================================COMMENT
MEDIUMtest/toolkits/test_lark_toolkit.py89# ============================================================================COMMENT
MEDIUMtest/toolkits/test_lark_toolkit.py91# ============================================================================COMMENT
MEDIUMtest/toolkits/test_planning_worktree_toolkit.py27# ── helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUMtest/toolkits/test_planning_worktree_toolkit.py61# ── plan-mode tests ─────────────────────────────────────────────────COMMENT
MEDIUMtest/toolkits/test_planning_worktree_toolkit.py89# ── worktree tests ───────────────────────────────────────────────────COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py51# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py53# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py92# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py94# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py107# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py109# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py140# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py142# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py159# --------------------------COMMENT
MEDIUMtest/toolkits/test_image_analysis_toolkiy.py161# --------------------------COMMENT
MEDIUMtest/loaders/test_crawl4ai.py37# ------------------------COMMENT
MEDIUMtest/loaders/test_crawl4ai.py39# ------------------------COMMENT
MEDIUMcamel/societies/workforce/workforce.py794 # ------------------------------------------------------------------STRING
MEDIUMcamel/societies/workforce/workforce.py796 # ------------------------------------------------------------------STRING
MEDIUMcamel/societies/workforce/workforce.py557 # ------------------------------------------------------------------STRING
MEDIUMcamel/societies/workforce/workforce.py559 # ------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/file_toolkit.py1163 # ----------------------------------------------STRING
MEDIUMcamel/toolkits/file_toolkit.py1165 # ----------------------------------------------STRING
MEDIUMcamel/toolkits/file_toolkit.py1240 # ----------------------------------------------STRING
MEDIUMcamel/toolkits/file_toolkit.py1242 # ----------------------------------------------STRING
MEDIUMcamel/toolkits/headless_browser_search_toolkit.py113# ---------------------------------------------------------------------------COMMENT
MEDIUMcamel/toolkits/headless_browser_search_toolkit.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMcamel/toolkits/todo_toolkit.py88 # ── persistence helpers ──────────────────────────────────────────STRING
MEDIUMcamel/toolkits/todo_toolkit.py143 # ── tool methods ─────────────────────────────────────────────────COMMENT
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/actions.py59 # ------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/actions.py61 # ------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/actions.py127 # ------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/actions.py129 # ------------------------------------------------------------------STRING
MEDIUM…/toolkits/hybrid_browser_toolkit_py/browser_session.py239 # ------------------------------------------------------------------COMMENT
MEDIUM…/toolkits/hybrid_browser_toolkit_py/browser_session.py241 # ------------------------------------------------------------------COMMENT
MEDIUM…/toolkits/hybrid_browser_toolkit_py/browser_session.py473 # ------------------------------------------------------------------COMMENT
MEDIUM…/toolkits/hybrid_browser_toolkit_py/browser_session.py475 # ------------------------------------------------------------------COMMENT
MEDIUM…/toolkits/hybrid_browser_toolkit_py/browser_session.py725 # ------------------------------------------------------------------COMMENT
MEDIUM…/toolkits/hybrid_browser_toolkit_py/browser_session.py727 # ------------------------------------------------------------------COMMENT
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/snapshot.py47 # ---------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/snapshot.py49 # ---------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/snapshot.py133 # ------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/snapshot.py135 # ------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/hybrid_browser_toolkit_py/snapshot.py251 # ------------------------------------------------------------------STRING
MEDIUMcamel/toolkits/terminal_toolkit/runtime_utils.py38# ── Type Aliases ─────────────────────────────────────────────────────STRING
MEDIUMcamel/toolkits/terminal_toolkit/runtime_utils.py53# ── Constants ────────────────────────────────────────────────────────COMMENT
MEDIUMcamel/toolkits/terminal_toolkit/runtime_utils.py59# ── URL Templates ────────────────────────────────────────────────────COMMENT
MEDIUMcamel/toolkits/terminal_toolkit/runtime_utils.py72# ── Architecture & OS Mappings ───────────────────────────────────────COMMENT
MEDIUMcamel/toolkits/terminal_toolkit/runtime_utils.py84# ── Exceptions ───────────────────────────────────────────────────────COMMENT
MEDIUMcamel/toolkits/terminal_toolkit/runtime_utils.py99# ── Platform Detection ───────────────────────────────────────────────COMMENT
62 more matches not shown…
Deep Nesting363 hits · 325 pts
SeverityFileLineSnippetContext
LOWtest/conftest.py50CODE
LOWtest/storages/vector_storages/test_oceanbase.py154CODE
LOWtest/storages/vector_storages/test_oceanbase.py211CODE
LOWtest/storages/vector_storages/test_oceanbase.py250CODE
LOWtest/storages/vector_storages/test_oceanbase.py290CODE
LOWtest/storages/vector_storages/test_oceanbase.py390CODE
LOWtest/storages/vector_storages/test_oceanbase.py446CODE
LOWtest/storages/vector_storages/test_oceanbase.py497CODE
LOWtest/environments/test_tictactoe_env.py321CODE
LOWtest/agents/test_chat_agent.py2068CODE
LOWtest/toolkits/test_pyautogui_toolkit.py140CODE
LOWtest/toolkits/test_pyautogui_toolkit.py216CODE
LOWtest/models/test_openai_model.py222CODE
LOWtest/memories/test_vector_db_memory.py147CODE
LOWcamel/terminators/response_terminator.py61CODE
LOWcamel/data_collectors/sharegpt_collector.py97CODE
LOWcamel/societies/role_playing.py214CODE
LOWcamel/societies/role_playing.py264CODE
LOWcamel/societies/role_playing.py466CODE
LOWcamel/societies/workforce/worker.py151CODE
LOWcamel/societies/workforce/task_channel.py148CODE
LOWcamel/societies/workforce/task_channel.py174CODE
LOWcamel/societies/workforce/task_channel.py275CODE
LOWcamel/societies/workforce/single_agent_worker.py349CODE
LOWcamel/societies/workforce/workforce_logger.py401CODE
LOWcamel/societies/workforce/workforce_logger.py550CODE
LOWcamel/societies/workforce/workforce.py1362CODE
LOWcamel/societies/workforce/workforce.py1645CODE
LOWcamel/societies/workforce/workforce.py1828CODE
LOWcamel/societies/workforce/workforce.py2903CODE
LOWcamel/societies/workforce/workforce.py2992CODE
LOWcamel/societies/workforce/workforce.py3561CODE
LOWcamel/societies/workforce/workforce.py4186CODE
LOWcamel/societies/workforce/workforce.py4397CODE
LOWcamel/societies/workforce/workforce.py4941CODE
LOWcamel/societies/workforce/workforce.py5282CODE
LOWcamel/societies/workforce/workforce.py5867CODE
LOWcamel/societies/workforce/workforce.py5925CODE
LOWcamel/societies/workforce/workforce.py6095CODE
LOWcamel/societies/workforce/workflow_memory_manager.py121CODE
LOWcamel/societies/workforce/workflow_memory_manager.py438CODE
LOWcamel/societies/workforce/structured_output_handler.py158CODE
LOWcamel/societies/workforce/structured_output_handler.py213CODE
LOWcamel/societies/workforce/structured_output_handler.py281CODE
LOWcamel/societies/workforce/structured_output_handler.py345CODE
LOWcamel/societies/workforce/structured_output_handler.py462CODE
LOWcamel/societies/workforce/utils.py734CODE
LOWcamel/societies/workforce/utils.py301CODE
LOWcamel/societies/workforce/utils.py764CODE
LOWcamel/societies/workforce/utils.py766CODE
LOWcamel/interpreters/ipython_interpreter.py84CODE
LOWcamel/interpreters/docker_interpreter.py211CODE
LOWcamel/interpreters/e2b_interpreter.py110CODE
LOWcamel/interpreters/microsandbox_interpreter.py160CODE
LOWcamel/interpreters/internal_python_interpreter.py296CODE
LOWcamel/interpreters/internal_python_interpreter.py408CODE
LOWcamel/interpreters/internal_python_interpreter.py498CODE
LOWcamel/interpreters/internal_python_interpreter.py593CODE
LOWcamel/interpreters/subprocess_interpreter.py88CODE
LOWcamel/interpreters/subprocess_interpreter.py269CODE
303 more matches not shown…
Redundant / Tautological Comments237 hits · 227 pts
SeverityFileLineSnippetContext
LOWtest/bots/test_telegram_bot.py52 # Check if the chat agent's methods are called appropriatelyCOMMENT
LOWtest/bots/test_telegram_bot.py56 # Check if the bot replies with the correct messageCOMMENT
LOWtest/embeddings/test_openai_compatible_embedding.py49 # Check if the OpenAI client was called with the correct parametersCOMMENT
LOWtest/embeddings/test_openai_compatible_embedding.py54 # Check if the result is as expectedCOMMENT
LOWtest/datasets/test_self_instruct_generator.py181 # Check if the agent was called with the correct promptCOMMENT
LOWtest/datasets/test_self_instruct_generator.py209 # Check if the agent was called with the correct promptCOMMENT
LOWtest/workforce/test_workforce_pipeline.py286 # Check if task 3 should be posted (PIPELINE mode continues)COMMENT
LOWtest/workforce/test_workforce_pipeline.py333 # Check if Task D should executeCOMMENT
LOWtest/agents/test_chat_agent.py1325 # Check if the output language is set correctlyCOMMENT
LOWtest/toolkits/test_klavis_toolkit.py292 # Check if the function name matches the expected nameCOMMENT
LOWtest/toolkits/test_bohrium_toolkit.py162 # Check if result contains the expected job informationCOMMENT
LOWtest/toolkits/test_pyautogui_toolkit.py44 # Check if screen dimensions are properly setCOMMENT
LOWtest/toolkits/test_pyautogui_toolkit.py48 # Check if safe boundaries are properly calculatedCOMMENT
LOWtest/toolkits/test_pyautogui_toolkit.py55 # Check if screen center is properly calculatedCOMMENT
LOWtest/toolkits/test_pyautogui_toolkit.py58 # Check if screenshots directory is properly setCOMMENT
LOWtest/toolkits/test_semantic_scholar_functions.py230 # Check if JSON body includes the correct IDsCOMMENT
LOWtest/toolkits/test_search_functions.py425 # Check if the result is as expectedCOMMENT
LOWtest/toolkits/test_search_functions.py468 # Check if the result matches the expected outputCOMMENT
LOWtest/toolkits/test_search_functions.py798 # Check if the result is as expectedCOMMENT
LOWtest/toolkits/test_weather_function.py100 # Set manager to return mock observationCOMMENT
LOWtest/toolkits/test_browser_toolkit.py81 ) # Check if __init__ created itCODE
LOWtest/toolkits/test_code_execution.py58 # Check if the python executable existsCOMMENT
LOWtest/toolkits/test_code_execution.py101 # Check if microsandbox server is runningCOMMENT
LOWtest/toolkits/test_file_toolkit.py442 # Read the file to verify contentCOMMENT
LOWtest/utils/test_commons.py83 # Check if the result is a dictionaryCOMMENT
LOWtest/utils/test_commons.py97 # Check if all expected keys are in the returned dictionaryCOMMENT
LOWtest/utils/test_commons.py100 # Check if all values are non-empty stringsCOMMENT
LOWtest/prompts/test_prompt_base.py66 # Check if the functions are wrapped correctlyCOMMENT
LOWlicenses/update_license.py88 # Check if directory existsCOMMENT
LOWlicenses/update_license.py91 # Check if license template existsCOMMENT
LOWcamel/societies/workforce/task_channel.py263 # Check if task ID exists before removingCOMMENT
LOWcamel/societies/workforce/single_agent_worker.py132 # Check if we can create a new agentCOMMENT
LOWcamel/societies/workforce/workforce.py2478 # Check if all provided IDs existCOMMENT
LOWcamel/societies/workforce/workforce.py2488 # Check if we have the same number of tasksCOMMENT
LOWcamel/societies/workforce/workforce.py574 # Check if any metrics callback is providedCOMMENT
LOWcamel/societies/workforce/workforce.py4471 # Check if task is already assigned to a workerCOMMENT
LOWcamel/societies/workforce/workforce.py4489 # Check if all dependencies are in the completed stateCOMMENT
LOWcamel/societies/workforce/workforce.py4547 # Check if any failed dependencies can still beCOMMENT
LOWcamel/societies/workforce/workforce.py4556 # Check if any failed dependency is still retryableCOMMENT
LOWcamel/societies/workforce/workforce.py5241 # Check if there are any main pending tasks after filteringSTRING
LOWcamel/societies/workforce/workforce.py5243 # Check if the first pending task needs decompositionSTRING
LOWcamel/societies/workforce/workforce.py2839 # Check if we're already in an event loopSTRING
LOWcamel/societies/workforce/workforce.py3007 # Check if we're in the same thread as the loopSTRING
LOWcamel/societies/workforce/workforce.py3809 # Check if we should use structured handlerSTRING
LOWcamel/societies/workforce/workforce.py4204 # Check if we should use structured handlerSTRING
LOWcamel/societies/workforce/workforce.py4716 # Check if halt_on_max_retries is disabled in configSTRING
LOWcamel/societies/workforce/workforce.py4764 # Check if no recovery strategies are enabled (empty list)STRING
LOWcamel/societies/workforce/workforce.py4774 # Check if only one strategy is enabled (skip LLM analysis)STRING
LOWcamel/societies/workforce/workforce.py4922 # Check if any pending tasks are now ready to executeSTRING
LOWcamel/societies/workforce/workforce.py5047 # Check if all subtasks are completed and successfulSTRING
LOWcamel/societies/workforce/workforce.py5097 # Check if any pending tasks are now ready to executeSTRING
LOWcamel/societies/workforce/workforce.py5320 # Check if we should decompose a main taskSTRING
LOWcamel/societies/workforce/workforce.py5327 # Check if the first pending task needs decompositionSTRING
LOWcamel/societies/workforce/workforce.py5430 # Check if the "completed" task actually failed to provideSTRING
LOWcamel/interpreters/subprocess_interpreter.py172 # Check if command is availableSTRING
LOWcamel/interpreters/subprocess_interpreter.py188 # Check if command is availableSTRING
LOWcamel/retrievers/vector_retriever.py125 # Check if the content is URLSTRING
LOWcamel/storages/vectordb_storages/faiss.py304 # Check if the index needs training (for IVF indexes)STRING
LOWcamel/storages/vectordb_storages/faiss.py461 # Check if the index supports direct removal.STRING
LOWcamel/storages/vectordb_storages/oceanbase.py417 # Check if the id is stored in metadataSTRING
177 more matches not shown…
Cross-Language Confusion39 hits · 205 pts
SeverityFileLineSnippetContext
HIGHtest/toolkits/test_terminal_toolkit.py296 "cd sub && cd ..",CODE
HIGHtest/toolkits/test_terminal_toolkit.py298 "cd sub || cd ..",CODE
HIGHtest/toolkits/test_terminal_toolkit.py299 "false && cd sub; cd ..",CODE
HIGHtest/toolkits/test_terminal_toolkit.py316 "cd sub && ls",CODE
HIGHtest/toolkits/test_terminal_toolkit.py317 "cd sub && echo hello",CODE
HIGHtest/toolkits/test_terminal_toolkit.py318 "ls && cd sub",CODE
HIGHtest/toolkits/test_terminal_toolkit.py336 "pushd sub && pushd .", working_dir=str(temp_dir)CODE
HIGHtest/toolkits/test_terminal_toolkit.py347 "cd sub && pushd .", working_dir=str(temp_dir)CODE
HIGHtest/loaders/test_jina_url_reader.py45FAILED_RESP = r'''{"data":null,"cause":{"name":"TimeoutError"},"code":422,"name":"AssertionFailureError","status":42206,STRING
HIGHcamel/toolkits/browser_toolkit.py690 if (el.innerText && el.innerText.includes(text)) {{CODE
HIGHcamel/toolkits/async_browser_toolkit.py813 if (el.innerText && el.innerText.includes(text)) {{CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py131 if (linkEl && titleEl) {CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py133 if (url && url.indexOf('google.com/search') === -1 &&CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py137 results.push({CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py190 if (title && url) {CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py191 results.push({CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py226 if (!url || seen[url]) continue;CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py240 if (title && url) {CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py241 results.push({CODE
HIGHcamel/toolkits/hybrid_browser_toolkit_py/agent.py66\n \"ref\": null,\n \"summary\": \"Task was already completed. SummaryCODE
HIGHcamel/toolkits/hybrid_browser_toolkit_py/agent.py82- 'finish': {"type": "finish", "ref": null, "summary": "task completionCODE
HIGH…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py2047 _logs.push(args.map(arg => {CODE
HIGHcamel/toolkits/terminal_toolkit/utils.py57 "For example, instead of 'cd subdir && cd ..', run 'cd subdir' "CODE
HIGHcamel/models/moonshot_model.py186 # All were null, use string as fallbackCOMMENT
HIGHcamel/models/moonshot_model.py189 "were null, falling back to 'string' "CODE
HIGHcamel/models/moonshot_model.py213 # All were null, return string type as fallbackCOMMENT
HIGHcamel/models/moonshot_model.py215 "All types in tool schema anyOf were null, "CODE
HIGHcamel/personas/persona.py93 # Output: '{"name": "Alice", "description": null, "text_to_persona_prompt": "...", "persona_to_persona_prompt": STRING
HIGHdocs/mintlify/build_api_docs.py1352 print(" cd docs/mintlify && npx mintlify dev")CODE
HIGHexamples/toolkits/dynamic_dependency.py98 if (!matrix1 || !matrix2 || matrix1.length === 0 || matrix2.length === 0) {STRING
HIGHexamples/toolkits/dynamic_dependency.py113 result.push(sum);STRING
HIGHexamples/toolkits/mcp/mcp_search_toolkit.py40 "external_url": null,STRING
HIGHexamples/toolkits/mcp/mcp_search_toolkit.py56 "package_registry": null,STRING
HIGHexamples/toolkits/mcp/mcp_search_toolkit.py57 "package_name": null,STRING
HIGHexamples/toolkits/mcp/mcp_search_toolkit.py58 "package_download_count": null,STRING
HIGHexamples/toolkits/mcp/mcp_search_toolkit.py80 "package_registry": null,STRING
HIGHexamples/toolkits/mcp/mcp_search_toolkit.py81 "package_name": null,STRING
HIGHexamples/toolkits/mcp/mcp_search_toolkit.py82 "package_download_count": null,STRING
HIGHexamples/toolkits/mcp/mcp_search_toolkit.py108 "external_url": null,STRING
Modern Structural Boilerplate127 hits · 118 pts
SeverityFileLineSnippetContext
LOWtest/environments/test_multi_step_env.py34 async def _update_state(self, action: Action) -> None:CODE
LOWtest/environments/test_multi_step_env.py54 async def _setup(self) -> None:CODE
LOWtest/verifiers/test_base_verifier.py28 async def _setup(self, **kwargs) -> None:CODE
LOWtest/verifiers/test_base_verifier.py106 async def _setup(self, **kwargs) -> None:CODE
LOWcamel/__init__.py19__all__ = [CODE
LOWcamel/terminators/__init__.py18__all__ = [CODE
LOWcamel/data_collectors/__init__.py19__all__ = ["BaseDataCollector", "AlpacaDataCollector", "ShareGPTDataCollector"]CODE
LOWcamel/bots/__init__.py25__all__ = [CODE
LOWcamel/bots/discord/__init__.py21__all__ = [CODE
LOWcamel/bots/slack/__init__.py23__all__ = [CODE
LOWcamel/bots/slack/slack_app.py37logger = logging.getLogger(__name__)CODE
LOWcamel/societies/role_playing.py32logger = logging.getLogger(__name__)CODE
LOWcamel/societies/__init__.py17__all__ = [CODE
LOWcamel/societies/workforce/worker.py31logger = logging.getLogger(__name__)CODE
LOWcamel/societies/workforce/workforce.py1190 def set_pipeline_tasks(self, tasks: List[Task]) -> None:CODE
LOWcamel/societies/workforce/workforce.py3672 def set_channel(self, channel: TaskChannel) -> None:STRING
LOWcamel/societies/workforce/__init__.py21__all__ = [CODE
LOWcamel/interpreters/ipython_interpreter.py177 def update_action_space(self, action_space: Dict[str, Any]) -> None:STRING
LOWcamel/interpreters/docker_interpreter.py290 def update_action_space(self, action_space: Dict[str, Any]) -> None:CODE
LOWcamel/interpreters/e2b_interpreter.py227 def update_action_space(self, action_space: Dict[str, Any]) -> None:CODE
LOWcamel/interpreters/microsandbox_interpreter.py318 def update_action_space(self, action_space: Dict[str, Any]) -> None:CODE
LOWcamel/interpreters/__init__.py24__all__ = [CODE
LOWcamel/interpreters/internal_python_interpreter.py208 def update_action_space(self, action_space: Dict[str, Any]) -> None:STRING
LOWcamel/interpreters/subprocess_interpreter.py396 def update_action_space(self, action_space: Dict[str, Any]) -> None:CODE
LOWcamel/interpreters/base.py47 def update_action_space(self, action_space: Dict[str, Any]) -> None:CODE
LOWcamel/retrievers/__init__.py24__all__ = [CODE
LOWcamel/storages/__init__.py38__all__ = [CODE
LOWcamel/storages/vectordb_storages/milvus.py28logger = logging.getLogger(__name__)CODE
LOWcamel/storages/vectordb_storages/qdrant.py33logger = logging.getLogger(__name__)CODE
LOWcamel/storages/vectordb_storages/tidb.py33logger = logging.getLogger(__name__)CODE
LOWcamel/storages/vectordb_storages/__init__.py32__all__ = [CODE
LOWcamel/storages/vectordb_storages/oceanbase.py32logger = logging.getLogger(__name__)CODE
LOWcamel/storages/key_value_storages/mem0_cloud.py27logger = logging.getLogger(__name__)CODE
LOWcamel/storages/key_value_storages/__init__.py21__all__ = [CODE
LOWcamel/storages/key_value_storages/redis.py26logger = logging.getLogger(__name__)CODE
LOWcamel/storages/graph_storages/__init__.py20__all__ = [CODE
LOWcamel/storages/graph_storages/nebula_graph.py26logger = logging.getLogger(__name__)CODE
LOWcamel/storages/graph_storages/neo4j_graph.py22logger = logging.getLogger(__name__)CODE
LOWcamel/storages/object_storages/__init__.py18__all__ = [CODE
LOWcamel/parsers/__init__.py18__all__ = ["extract_tool_calls_from_text"]CODE
LOWcamel/parsers/mcp_tool_call_parser.py45logger = logging.getLogger(__name__)STRING
LOWcamel/tasks/__init__.py17__all__ = [CODE
LOWcamel/messages/__init__.py50__all__ = [CODE
LOWcamel/messages/conversion/__init__.py24__all__ = [CODE
LOWcamel/messages/conversion/sharegpt/__init__.py18__all__ = [CODE
LOWcamel/messages/conversion/sharegpt/hermes/__init__.py17__all__ = [CODE
LOWcamel/types/__init__.py57__all__ = [CODE
LOWcamel/types/openai_types.py38__all__ = [CODE
LOWcamel/types/unified_model_type.py22logger = logging.getLogger(__name__)CODE
LOWcamel/types/agents/__init__.py16__all__ = ["ToolCallingRecord"]CODE
LOWcamel/embeddings/__init__.py25__all__ = [CODE
LOWcamel/environments/rlcards_env.py102 async def _setup(self) -> None:STRING
LOWcamel/environments/rlcards_env.py163 async def _update_state(self, action: Action) -> None:STRING
LOWcamel/environments/__init__.py26__all__ = [CODE
LOWcamel/environments/multi_step.py75 async def _setup(self) -> None:STRING
LOWcamel/environments/multi_step.py214 async def _update_state(self, action: Action) -> None:STRING
LOWcamel/environments/tic_tac_toe.py245 async def _update_state(self, action: Action) -> None:STRING
LOWcamel/datasets/__init__.py20__all__ = [CODE
LOWcamel/datahubs/__init__.py19__all__ = [CODE
LOWcamel/responses/__init__.py16__all__ = [CODE
67 more matches not shown…
AI Structural Patterns78 hits · 65 pts
SeverityFileLineSnippetContext
LOWcamel/societies/role_playing.py92CODE
LOWcamel/societies/workforce/workforce.py323CODE
LOWcamel/retrievers/hybrid_retrival.py156CODE
LOWcamel/storages/vectordb_storages/surreal.py62CODE
LOWcamel/storages/vectordb_storages/weaviate.py140CODE
LOWcamel/storages/vectordb_storages/chroma.py138CODE
LOWcamel/datasets/static_dataset.py444CODE
LOWcamel/datahubs/huggingface.py50CODE
LOWcamel/verifiers/base.py46CODE
LOWcamel/agents/repo_agent.py122CODE
LOWcamel/agents/search_agent.py106CODE
LOWcamel/agents/chat_agent.py473CODE
LOWcamel/toolkits/openbb_toolkit.py217CODE
LOWcamel/toolkits/aci_toolkit.py410CODE
LOWcamel/toolkits/aci_toolkit.py442CODE
LOWcamel/toolkits/mcp_toolkit.py333CODE
LOWcamel/toolkits/mcp_toolkit.py601CODE
LOWcamel/toolkits/mcp_toolkit.py673CODE
LOWcamel/toolkits/browser_toolkit.py307CODE
LOWcamel/toolkits/browser_toolkit.py815CODE
LOWcamel/toolkits/imap_mail_toolkit.py73CODE
LOWcamel/toolkits/video_analysis_toolkit.py124CODE
LOWcamel/toolkits/mineru_toolkit.py43CODE
LOWcamel/toolkits/image_generation_toolkit.py46CODE
LOWcamel/toolkits/message_integration.py427CODE
LOWcamel/toolkits/message_integration.py468CODE
LOWcamel/toolkits/async_browser_toolkit.py332CODE
LOWcamel/toolkits/async_browser_toolkit.py986CODE
LOWcamel/toolkits/microsoft_outlook_mail_toolkit.py742CODE
LOWcamel/toolkits/search_toolkit.py322CODE
LOWcamel/toolkits/search_toolkit.py1405CODE
LOWcamel/toolkits/search_toolkit.py1670CODE
LOWcamel/toolkits/function_tool.py1114CODE
LOWcamel/toolkits/wechat_official_toolkit.py232CODE
LOWcamel/toolkits/wechat_official_toolkit.py260CODE
LOWcamel/toolkits/wechat_official_toolkit.py357CODE
LOWcamel/toolkits/bohrium_toolkit.py97CODE
LOW…/toolkits/hybrid_browser_toolkit_py/browser_session.py71CODE
LOW…/toolkits/hybrid_browser_toolkit_py/browser_session.py142CODE
LOW…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py88CODE
LOWcamel/toolkits/terminal_toolkit/terminal_toolkit.py105CODE
LOW…ts/hybrid_browser_toolkit/hybrid_browser_toolkit_ts.py307CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py757CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py776CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py861CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py877CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py885CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py893CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py899CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py909CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py950CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py972CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py993CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py1009CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py1015CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py1021CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py1027CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py1033CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py1059CODE
LOWcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py1069CODE
18 more matches not shown…
Hallucination Indicators6 hits · 55 pts
SeverityFileLineSnippetContext
CRITICALtest/models/test_azure_openai_model.py195 model._client.chat.completions.create.assert_called_once()CODE
CRITICALtest/models/test_fish_audio_model.py54 mock_file.return_value.__enter__.return_value.write.assert_called_once_with(CODE
CRITICALtest/loaders/test_apify.py51 apify.client.actor.return_value.call.assert_called_once_with(CODE
CRITICALtest/loaders/test_apify.py123 apify.client.datasets.return_value.list.assert_called_once_with(CODE
CRITICALcamel/storages/object_storages/azure_blob.py67 from azure.core.exceptions import ClientAuthenticationErrorCODE
CRITICALcamel/schemas/openai_converter.py104 response = self._client.beta.chat.completions.parse(STRING
Magic Placeholder Names13 hits · 50 pts
SeverityFileLineSnippetContext
HIGHcamel/storages/vectordb_storages/chroma.py133 ... api_key="your-api-key" # optionalCODE
HIGHcamel/toolkits/mcp_toolkit.py316 "X-API-Key": "YOUR_API_KEY"CODE
HIGHdocs/mcp/camel_agents_as_an_mcp_clients.md49 "COMPOSIO_API_KEY": "your-api-key-here"CODE
HIGHdocs/key_modules/models.md368 export OPENROUTER_API_KEY="your-api-key-here"CODE
HIGHdocs/key_modules/datagen.md449 api_key="your_api_key"CODE
HIGHexamples/storages/chroma_vector_storage.py117 CHROMA_API_KEY = "your-api-key" # OptionalCODE
HIGHexamples/agents/repo_agent.py132 api_key="your_api_key", # Ensure you have appropriate credentialsSTRING
HIGHexamples/models/nvidia_model_example.py61api_key = 'YOUR_API_KEY'STRING
HIGHexamples/models/xai_model_example.py19export XAI_API_KEY="your_api_key"STRING
HIGHexamples/models/claude_model_example.py27export ANTHROPIC_API_KEY="your-api-key-here"STRING
HIGHexamples/models/amd_model_example.py70API_KEY = 'YOUR_API_KEY'STRING
HIGHexamples/models/qwen_model_example.py145 api_key='YOUR_API_KEY',STRING
HIGHexamples/models/qwen_model_example.py255API_KEY = 'your_api_key'STRING
Structural Annotation Overuse35 hits · 46 pts
SeverityFileLineSnippetContext
LOWtest/services/test_agent_openapi_server.py119 # Step 1: InitSTRING
LOWtest/services/test_agent_openapi_server.py132 # Step 2: Async step with toolSTRING
LOWcamel/societies/workforce/workforce.py4401 # Step 1: Identify and assign any new tasks in the pending queueCOMMENT
LOWcamel/societies/workforce/workforce.py4457 # Step 2: Iterate through all pending tasks and post those that areCOMMENT
LOWcamel/societies/workforce/workforce.py4633 # Step 3: Remove the posted tasks from the pending listCOMMENT
LOW…ts/hybrid_browser_toolkit/hybrid_browser_toolkit_ts.py1798 # Step 1: Setup copy interception with multiple capturesSTRING
LOW…lkits/hybrid_browser_toolkit/ts/src/browser-session.ts1210 // Step 1: Try to find input elements within the clicked elementCOMMENT
LOW…lkits/hybrid_browser_toolkit/ts/src/browser-session.ts1237 // Step 2: Look for new elements that appeared after the actionCOMMENT
LOW…ata_processing/summarisation_agent_with_mistral_ocr.md119## Step 4: Obtain OCR output from MistralCOMMENT
LOW.camel/skills/skill-creator/SKILL.md215### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOW.camel/skills/skill-creator/SKILL.md232### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOW.camel/skills/skill-creator/SKILL.md256### Step 3: Initializing the SkillCOMMENT
LOW.camel/skills/skill-creator/SKILL.md281### Step 4: Edit the SkillCOMMENT
LOW.camel/skills/skill-creator/SKILL.md322### Step 5: Packaging a SkillCOMMENT
LOW.camel/skills/skill-creator/SKILL.md353### Step 6: IterateCOMMENT
LOWexamples/storages/nebular_graph.py24# Step 2: Initialize the NebulaGraph clientCOMMENT
LOWexamples/models/ppio_model_example.py102### Step 1: Set up the divisibility conditionSTRING
LOWexamples/models/ppio_model_example.py108### Step 2: Perform polynomial division or find a relationshipSTRING
LOWexamples/models/ppio_model_example.py119### Step 3: Find all divisors of 56STRING
LOWexamples/models/ppio_model_example.py130### Step 4: Solve for $ b $STRING
LOWexamples/models/ppio_model_example.py140### Step 5: Verify the solutionsSTRING
LOWexamples/models/ppio_model_example.py152### Step 6: Sum the valid basesSTRING
LOWexamples/services/agent_openapi_server.py341 # Step 1: Create two agentsSTRING
LOWexamples/services/agent_openapi_server.py352 # Step 2: List current agentsSTRING
LOWexamples/services/agent_openapi_server.py356 # Step 3: Delete agent_1STRING
LOWexamples/services/agent_openapi_server.py360 # Step 4: List agents againSTRING
LOWexamples/caches/semantic_cache_example.py53 # Step 1: Initialize the embedding modelCOMMENT
LOWexamples/caches/semantic_cache_example.py68 # Step 2: Initialize vector storage (in-memory FAISS)COMMENT
LOWexamples/caches/semantic_cache_example.py76 # Step 3: Create the semantic cacheCOMMENT
LOWexamples/caches/semantic_cache_example.py85 # Step 4: Populate the cache with some responsesCOMMENT
LOWexamples/caches/semantic_cache_example.py124 # Step 5: Test cache lookups with similar queriesCOMMENT
LOWexamples/caches/semantic_cache_example.py155 # Step 6: Demonstrate deduplication (Replacement)COMMENT
LOWexamples/caches/semantic_cache_example.py170 # Step 7: Show cache statisticsCOMMENT
LOWexamples/caches/semantic_cache_example.py178 # Step 8: Demonstrate find_similarCOMMENT
LOWexamples/caches/semantic_cache_example.py188 # Step 9: Demonstrate cache managementCOMMENT
Fake / Example Data40 hits · 42 pts
SeverityFileLineSnippetContext
LOWtest/bots/test_discord_app.py24 os.environ['DISCORD_BOT_TOKEN'] = 'fake_token'CODE
LOWtest/bots/test_discord_app.py35 self.assertEqual(app.token, 'fake_token')CODE
LOWtest/bots/test_discord_app.py126 app._client.start.assert_called_once_with('fake_token')CODE
LOWtest/bots/test_discord_app.py135 app._client.run.assert_called_once_with('fake_token')CODE
LOWtest/bots/test_slack_app.py24 os.environ["SLACK_TOKEN"] = "fake_token"CODE
LOWtest/bots/test_telegram_bot.py24 self.telegram_token = "123456789:fake_token"CODE
LOWtest/datahubs/test_huggingface.py53 manager = HuggingFaceDatasetManager(token="fake-token")CODE
LOWtest/toolkits/test_dingtalk.py168 {'userid': 'user1', 'name': 'John Doe'},CODE
LOWtest/toolkits/test_search_functions.py1174 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOWtest/toolkits/test_search_functions.py1187 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOWtest/toolkits/test_search_functions.py1370 with patch.dict(os.environ, {'PERPLEXITY_API_KEY': 'fake_key'}):CODE
LOWtest/toolkits/test_search_functions.py1209 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOWtest/toolkits/test_dappier_function.py56 author="John Doe",CODE
LOWtest/toolkits/test_dappier_function.py93 "author": "John Doe",CODE
LOWtest/toolkits/test_linkedin_function.py26 LinkedInToolkit, "_get_access_token", lambda self: "fake_token"CODE
LOWtest/toolkits/test_imap_mail_toolkit.py91 'test@test.com', 'test_password'CODE
LOWtest/toolkits/test_imap_mail_toolkit.py585 username="test@test.com",CODE
LOWtest/toolkits/test_imap_mail_toolkit.py601 username="test@test.com",CODE
LOWtest/toolkits/test_imap_mail_toolkit.py35 'EMAIL_USERNAME': 'test@test.com',CODE
LOWtest/toolkits/test_imap_mail_toolkit.py62 'test@test.com', 'test_password'CODE
LOWtest/toolkits/test_imap_mail_toolkit.py557 username="test@test.com",CODE
LOWtest/toolkits/test_imap_mail_toolkit.py629 username="test@test.com",CODE
LOWtest/toolkits/test_gmail_toolkit.py561 'emailAddress': 'user@example.com',CODE
LOWtest/toolkits/test_gmail_toolkit.py570 assert result['profile']['email_address'] == 'user@example.com'CODE
LOWtest/toolkits/test_gmail_toolkit.py585 'names': [{'displayName': 'John Doe'}],CODE
LOWtest/toolkits/test_gmail_toolkit.py611 'names': [{'displayName': 'John Doe'}],CODE
LOWtest/models/test_aws_bedrock_converse_model.py35 api_key="dummy_key",CODE
LOWtest/models/test_aws_bedrock_model.py42 api_key="dummy_key",CODE
LOWtest/models/test_aws_bedrock_model.py68 api_key="dummy_key",STRING
LOWtest/loaders/test_mistral_reader.py52 reader = MistralReader(api_key="dummy_key")CODE
LOWtest/loaders/test_mistral_reader.py71 reader = MistralReader(api_key="dummy_key")CODE
LOWtest/loaders/test_mistral_reader.py99 reader = MistralReader(api_key="dummy_key")CODE
LOWtest/loaders/test_mistral_reader.py134 reader = MistralReader(api_key="dummy_key")CODE
LOWtest/loaders/test_mistral_reader.py162 reader = MistralReader(api_key="dummy_key")CODE
LOWcamel/toolkits/gmail_toolkit.py1201 - Organization: 'Google' or 'Acme Corp'CODE
LOW…lkits/hybrid_browser_toolkit/ts/src/browser-session.ts1265 const placeholder = await newElement.getAttribute('placeholder').catch(() => null);CODE
LOW…lkits/hybrid_browser_toolkit/ts/src/browser-session.ts1342 const placeholder = await newElement.getAttribute('placeholder').catch(() => null);CODE
LOWcamel/models/stub_model.py124 ARBITRARY_STRING = "Lorem Ipsum"STRING
LOWcamel/models/stub_model.py161 ARBITRARY_STRING = "Lorem Ipsum"STRING
LOWdocs/key_modules/browsertoolkit.md423await toolkit.browser_type(x=400, y=150, text="user@example.com")CODE
Modern AI Meta-Vocabulary16 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMREADME.zh.md238 # CAMEL-AI is the first LLM (Large Language Model) multi-agent frameworkCOMMENT
MEDIUMREADME.md88 - [Multi-Agent Systems & Applications](#4-multi-agent-systems--applications)CODE
MEDIUMREADME.md283 # CAMEL-AI is the first LLM (Large Language Model) multi-agent frameworkCOMMENT
MEDIUMtest/retrievers/test_vector_retriever.py52# Test initialization with a custom embedding modelCOMMENT
MEDIUMtest/retrievers/test_vector_retriever.py59# Test initialization with default embedding modelCOMMENT
MEDIUMtest/datagen/test_self_improving_cot_pipeline.py423 # Create a mapping from problem text to expected reasoning traceCOMMENT
MEDIUMcamel/datasets/self_instruct_generator.py250 # Build the prompt using the few-shot examplesSTRING
MEDIUMcamel/datasets/self_instruct_generator.py286 # Build few-shot example promptSTRING
MEDIUMcamel/agents/chat_agent.py4179 # This prevents single tool calls from exceeding context windowSTRING
MEDIUMcamel/agents/chat_agent.py5054 # context windowSTRING
MEDIUMcamel/agents/chat_agent.py5221 # context windowSTRING
MEDIUMcamel/utils/constants.py33 # Default top k value for RAGCOMMENT
MEDIUMcamel/utils/constants.py36 # Default similarity threshold value for RAGCOMMENT
MEDIUMcamel/services/agent_openapi_server.py69 # support future multi-agent and permission controlSTRING
MEDIUMdocs/get_started/installation.md61 pip install 'camel-ai[rag,web_tools,document_tools]' # Example: RAG system with web search and document processCODE
MEDIUMexamples/caches/semantic_cache_example.py53 # Step 1: Initialize the embedding modelCOMMENT
AI Slop Vocabulary24 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMtest/utils/test_mcp_client.py558 # Test with comprehensive configCOMMENT
MEDIUMcamel/societies/workforce/workforce.py6058 r"""Get comprehensive information about the workforce.STRING
LOWcamel/interpreters/internal_python_interpreter.py319 # Constant -> just return the valueCOMMENT
MEDIUMcamel/toolkits/openbb_toolkit.py500 r"""Get IPO/SPO calendar with comprehensive filtering options.STRING
MEDIUMcamel/toolkits/file_toolkit.py31 r"""A comprehensive toolkit for file operations including reading,CODE
MEDIUMcamel/toolkits/browser_toolkit_commons.py293 # This is a simplified fix, more robust parsing might be neededCOMMENT
MEDIUMcamel/toolkits/weather_toolkit.py73 r"""Fetch and return a comprehensive weather report for a given citySTRING
MEDIUMcamel/toolkits/microsoft_outlook_mail_toolkit.py227 """A comprehensive toolkit for Microsoft Outlook Mail operations.STRING
MEDIUMcamel/toolkits/sql_toolkit.py595 r"""Get comprehensive information about table(s) in the database.STRING
MEDIUMcamel/toolkits/gmail_toolkit.py39 r"""A comprehensive toolkit for Gmail operations.CODE
MEDIUMcamel/toolkits/message_agent_toolkit.py544 r"""Get comprehensive status of the message toolkit.STRING
MEDIUMcamel/toolkits/image_analysis_toolkit.py35 r"""A toolkit for comprehensive image analysis and understanding.CODE
MEDIUM…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py1001 # Create comprehensive output for loggingCOMMENT
MEDIUM…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py395 r"""Log action details with comprehensive information."""CODE
LOWcamel/toolkits/hybrid_browser_toolkit_py/snapshot.py81 # to the previous one we simply return it after the standardSTRING
MEDIUMcamel/toolkits/terminal_toolkit/terminal_toolkit.py490 r"""A comprehensive command sanitizer for both local andSTRING
MEDIUMcamel/toolkits/terminal_toolkit/utils.py231 r"""A comprehensive command sanitizer for both local and Docker backends.STRING
MEDIUMcamel/toolkits/hybrid_browser_toolkit/ws_wrapper.py541 """Log action details with comprehensiveSTRING
MEDIUMcamel/utils/context_utils.py601 r"""Collect comprehensive session information including identifiers,STRING
LOWcamel/models/stub_model.py56 # For stub models, just return a list of 0s with length proportionalSTRING
MEDIUMcamel/personas/persona_hub.py182 # Structured output (TODO: Use a more robust parser)STRING
MEDIUMexamples/workforce/eigent.py1090 "### Note-Taking: You have access to comprehensive note-taking tools "STRING
MEDIUMexamples/toolkits/file_toolkit.py140Tool calls: [ToolCallingRecord(tool_name='write_to_file', args={'content': "# Basics of Machine Learning\n\nMachine LearSTRING
MEDIUMexamples/toolkits/sql_toolkit.py376# Method 3: Get comprehensive info for a specific tableCOMMENT
Verbosity Indicators28 hits · 35 pts
SeverityFileLineSnippetContext
LOWtest/services/test_agent_openapi_server.py119 # Step 1: InitSTRING
LOWtest/services/test_agent_openapi_server.py132 # Step 2: Async step with toolSTRING
LOWcamel/societies/workforce/workforce.py4401 # Step 1: Identify and assign any new tasks in the pending queueCOMMENT
LOWcamel/societies/workforce/workforce.py4457 # Step 2: Iterate through all pending tasks and post those that areCOMMENT
LOWcamel/societies/workforce/workforce.py4633 # Step 3: Remove the posted tasks from the pending listCOMMENT
LOW…ts/hybrid_browser_toolkit/hybrid_browser_toolkit_ts.py1798 # Step 1: Setup copy interception with multiple capturesSTRING
LOW…lkits/hybrid_browser_toolkit/ts/src/browser-session.ts1210 // Step 1: Try to find input elements within the clicked elementCOMMENT
LOW…lkits/hybrid_browser_toolkit/ts/src/browser-session.ts1237 // Step 2: Look for new elements that appeared after the actionCOMMENT
LOWexamples/storages/nebular_graph.py24# Step 2: Initialize the NebulaGraph clientCOMMENT
LOWexamples/models/ppio_model_example.py102### Step 1: Set up the divisibility conditionSTRING
LOWexamples/models/ppio_model_example.py108### Step 2: Perform polynomial division or find a relationshipSTRING
LOWexamples/models/ppio_model_example.py119### Step 3: Find all divisors of 56STRING
LOWexamples/models/ppio_model_example.py130### Step 4: Solve for $ b $STRING
LOWexamples/models/ppio_model_example.py140### Step 5: Verify the solutionsSTRING
LOWexamples/models/ppio_model_example.py152### Step 6: Sum the valid basesSTRING
LOWexamples/services/agent_openapi_server.py341 # Step 1: Create two agentsSTRING
LOWexamples/services/agent_openapi_server.py352 # Step 2: List current agentsSTRING
LOWexamples/services/agent_openapi_server.py356 # Step 3: Delete agent_1STRING
LOWexamples/services/agent_openapi_server.py360 # Step 4: List agents againSTRING
LOWexamples/caches/semantic_cache_example.py53 # Step 1: Initialize the embedding modelCOMMENT
LOWexamples/caches/semantic_cache_example.py68 # Step 2: Initialize vector storage (in-memory FAISS)COMMENT
LOWexamples/caches/semantic_cache_example.py76 # Step 3: Create the semantic cacheCOMMENT
LOWexamples/caches/semantic_cache_example.py85 # Step 4: Populate the cache with some responsesCOMMENT
LOWexamples/caches/semantic_cache_example.py124 # Step 5: Test cache lookups with similar queriesCOMMENT
LOWexamples/caches/semantic_cache_example.py155 # Step 6: Demonstrate deduplication (Replacement)COMMENT
LOWexamples/caches/semantic_cache_example.py170 # Step 7: Show cache statisticsCOMMENT
LOWexamples/caches/semantic_cache_example.py178 # Step 8: Demonstrate find_similarCOMMENT
LOWexamples/caches/semantic_cache_example.py188 # Step 9: Demonstrate cache managementCOMMENT
Slop Phrases12 hits · 25 pts
SeverityFileLineSnippetContext
LOWcamel/toolkits/mcp_toolkit.py259 # Don't forget to disconnect when done!COMMENT
LOWcamel/toolkits/mcp_toolkit.py270 # Don't forget to disconnect when done!COMMENT
MEDIUMexamples/translation/translator.py155 # Default to Arabic, you can change to any other languageCOMMENT
MEDIUMexamples/runtimes/docker_runtime.py56 # you can also use the runtime without the with statementCOMMENT
MEDIUMexamples/toolkits/file_toolkit.py140Tool calls: [ToolCallingRecord(tool_name='write_to_file', args={'content': "# Basics of Machine Learning\n\nMachine LearSTRING
MEDIUMexamples/toolkits/context_summarizer_toolkit.py105enhanced by the seasonal beauty of cherry blossoms. Let me know if you needSTRING
MEDIUMexamples/toolkits/synthesize_function_execution.py90It seems that I'm unable to access the movie data at the moment due to aCODE
LOWexamples/toolkits/google_calendar_toolkit.py15# To use GoogleCalendarToolkit make sure to set required environment variables:COMMENT
MEDIUMexamples/models/nvidia_model_example.py44**Please note that this is a simplified example and should not be used forSTRING
MEDIUMexamples/benchmarks/apibank.py46# The following steps are only for demonstration purposes,COMMENT
MEDIUMexamples/benchmarks/nexus.py33# Please note that the following step is only for demonstration purposes,COMMENT
MEDIUM.github/workflows/codeql.yml58 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Overly Generic Function Names19 hits · 20 pts
SeverityFileLineSnippetContext
LOWtest/agents/test_repo_agent.py79 self.decoded_content = b"def test_function():\n return 'test'"CODE
LOWtest/agents/test_repo_agent.py89 "text": "def test_function():\n return 'test'",CODE
LOWtest/agents/test_repo_agent.py152 content="def test_function():\n return 'test'",CODE
LOWtest/agents/test_repo_agent.py170 == "def test_function():\n return 'test'"CODE
LOWtest/agents/test_repo_agent.py196 content="def test_function():\n return 'test'",CODE
LOWtest/agents/test_repo_agent.py224 content="def test_function():\n return 'test'",CODE
LOWtest/agents/test_repo_agent.py238 assert "def test_function():" in agent.full_textCODE
LOWtest/agents/test_repo_agent.py255 content="def test_function():\n return 'test'",CODE
LOWtest/agents/test_repo_agent.py279 "text": "def test_function():\n return 'test'",CODE
LOWtest/agents/test_repo_agent.py285 return_value="def test_function():\n return 'test'"CODE
LOWtest/agents/test_repo_agent.py303 assert "def test_function():" in call_args.contentCODE
LOWtest/prompts/test_prompt_base.py25 def my_function():CODE
LOWtest/prompts/test_prompt_base.py35 def my_function():CODE
LOWtest/prompts/test_prompt_base.py52 def my_function(self):CODE
LOWcamel/bots/slack/slack_app.py166 async def handle_request(STRING
LOWcamel/utils/commons.py1023 ... def my_function():CODE
LOWcamel/utils/commons.py1030 ... def my_method(self):CODE
LOWexamples/usecases/chat_with_github/demo_git_ingest.py77 async def run_task():STRING
LOWexamples/usecases/airbnb_mcp/app.py100 async def run_task():STRING
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtest/utils/test_mcp_client.py638CODE
MEDIUMtest/utils/test_mcp_client.py663CODE
MEDIUMcamel/agents/chat_agent.py5019CODE
MEDIUMcamel/agents/chat_agent.py6031CODE
Example Usage Blocks3 hits · 5 pts
SeverityFileLineSnippetContext
LOWexamples/conversion.py44# Example usageCOMMENT
LOWexamples/tasks/multi_modal_task_generation.py83# Example usageCOMMENT
LOW…example/.camel/skills/data-analyzer/scripts/analyze.py18 # Example usageCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexamples/toolkits/mineru_toolkit.py56 # TODO: implement this example with loader toolkit to get information fromCOMMENT