AI Slop Code RIsk Monitor

camel-ai/camel

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

29.3 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for camel-ai/camel, a Python project with 17,853 GitHub stars. SynthScan examined 325,777 lines of code across 1401 source files, recording 7250 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 29.3 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

29.3
Adjusted Signal
29.3
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
17.9K
Stars
Python
Language
325.8K
Lines of Code
1.4K
Files
7.2K
Pattern Hits
2026-10-12
Scan Date
0.42
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 58.1/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 4751 finding(s).

Hallucinated Dependency & Supply Chain Risk 14.4/100 · LOW

Are imports declared and package/API names verified? 883 finding(s).

Agent Over-Engineering Ratio 53.4/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 3982 finding(s).

PR Review Velocity Impact 82.3/100 · CRITICAL

Which changes need focused human review? 7250 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 6HIGH 583MEDIUM 536LOW 6125

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 7250 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers2288 hits · 2036 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_response_terminator.py66def test_response_words_termination_is_terminated_after_reset():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
LOW⚡test/bots/test_discord_app.py32 def test_init_with_token_from_env(self, mock_discord_client):CODE
LOW⚡test/bots/test_discord_app.py40 def test_init_with_provided_token(self, mock_discord_client):CODE
LOW⚡test/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
LOW⚡test/interpreters/test_interpreters_decorators.py54def test_jupyter_kernel_interpreter_missing_dependency():CODE
LOW⚡test/interpreters/test_interpreters_decorators.py62def test_jupyter_kernel_interpreter_missing_ipykernel():CODE
LOW⚡test/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.py365def test_unsafe_mode_eval_executes_once(unsafe_interpreter):CODE
LOWtest/interpreters/test_python_interpreter.py405def test_unsafe_mode_complex_operations(unsafe_interpreter):STRING
LOWtest/interpreters/test_python_interpreter.py433def 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
LOW⚡test/retrievers/test_vector_retriever.py47def mock_unstructured_modules():CODE
LOW⚡test/retrievers/test_vector_retriever.py53def test_initialization_with_custom_embedding(CODE
LOW⚡test/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
LOW⚡test/retrievers/test_jina_rerank_retriever.py29def test_initialization_with_custom_model():CODE
LOW⚡test/retrievers/test_jina_rerank_retriever.py35def test_initialization_without_api_key():CODE
LOW⚡test/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
2228 more matches not shown…
Cross-File Repetition279 hits · 1395 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.py0adds a list of vectors to the index. args: records (list[vectorrecord]): list of vector records to be added. **kwargs (aSTRING
HIGHcamel/storages/vectordb_storages/qdrant.py0adds a list of vectors to the index. args: records (list[vectorrecord]): list of vector records to be added. **kwargs (aSTRING
HIGHcamel/storages/vectordb_storages/tidb.py0adds a list of vectors to the index. args: records (list[vectorrecord]): list of vector records to be added. **kwargs (aSTRING
HIGHcamel/storages/vectordb_storages/faiss.py0adds a list of vectors to the index. args: records (list[vectorrecord]): list of vector records to be added. **kwargs (aSTRING
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.py0returns status of the vector database. returns: vectordbstatus: the vector database status.STRING
HIGHcamel/storages/vectordb_storages/weaviate.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/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/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
219 more matches not shown…
Over-Commented Block1159 hits · 1147 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
1099 more matches not shown…
Docstring Block Structure177 hits · 885 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.py346Deletes points from the collection based on either IDs or payload filters. Args: ids (OptioSTRING
HIGHcamel/storages/vectordb_storages/faiss.py428Deletes vectors from the index based on either IDs or payload filters. Args: ids (Optional[STRING
HIGHcamel/storages/vectordb_storages/surreal.py192Validate and convert VectorRecord instances into SurrealDB-compatible dictionaries. Args: rSTRING
HIGHcamel/storages/vectordb_storages/pgvector.py213Query the database for the most similar vectors to the given query vector. Args: query (VecSTRING
HIGHcamel/storages/vectordb_storages/pgvector.py288Convert a pgvector operator result to high-is-better similarity. Args: score (float): The distance STRING
HIGHcamel/storages/vectordb_storages/pgvector.py308Get the status of the vector database, including vector dimension and count. Args: **kwargsSTRING
HIGHcamel/storages/vectordb_storages/weaviate.py261Create a Weaviate Cloud client. Args: weaviate_module (Any): The imported weaviate package module. STRING
HIGHcamel/storages/vectordb_storages/weaviate.py367Create a custom Weaviate client. Args: weaviate_module (Any): The imported weaviate package module.STRING
HIGHcamel/storages/vectordb_storages/weaviate.py688Searches for similar vectors in the storage based on the provided query. Args: query (VectoSTRING
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.py568Searches for similar vectors in ChromaDB based on the provided query. Args: query (VectorDBSTRING
HIGHcamel/storages/vectordb_storages/oceanbase.py300Searches 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
117 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
MEDIUM⚡test/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
MEDIUM⚡test/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
MEDIUM⚡test/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
MEDIUM⚡test/agents/test_repo_agent.py290 # Create a proper ChatAgentResponse mockCOMMENT
MEDIUMtest/toolkits/test_note_taking_toolkit.py24 # Create a toolkit with a temporary directoryCOMMENT
MEDIUM⚡test/toolkits/test_note_taking_toolkit.py107 # Create a noteCOMMENT
MEDIUM⚡test/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 Imports778 hits · 652 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
718 more matches not shown…
Excessive Try-Catch Wrapping1007 hits · 615 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
LOW⚡test/toolkits/test_sql_toolkit.py65 except Exception:CODE
LOW⚡test/toolkits/test_sql_toolkit.py74 except Exception:CODE
LOW⚡test/toolkits/test_sql_toolkit.py78 except Exception:CODE
LOW⚡test/toolkits/test_sql_toolkit.py476 except Exception:CODE
LOW⚡test/toolkits/test_code_execution.py41 except Exception:CODE
LOW⚡test/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
LOW⚡camel/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
LOW⚡camel/societies/workforce/workforce.py2973 except Exception as e:STRING
LOW⚡camel/societies/workforce/workforce.py3658 except Exception as e:STRING
LOW⚡camel/societies/workforce/workforce.py3668 except Exception as e:STRING
LOW⚡camel/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
947 more matches not shown…
Empty Error Handlers75 hits · 375 pts
SeverityFileLineSnippetContext
HIGHtest/toolkits/test_agent_toolkit.py80except Exception:CODE
HIGHtest/toolkits/test_sql_toolkit.py65except Exception:CODE
HIGHtest/toolkits/test_sql_toolkit.py74except Exception:CODE
HIGHtest/toolkits/test_sql_toolkit.py78except Exception:CODE
HIGHtest/toolkits/test_sql_toolkit.py476except Exception:CODE
HIGHtest/toolkits/test_pptx_toolkit.py81except ImportError:CODE
HIGHtest/toolkits/test_pptx_toolkit.py145except ImportError:CODE
HIGHtest/toolkits/test_pptx_toolkit.py311except ImportError:CODE
HIGHcamel/societies/workforce/workforce.py589except ImportError:CODE
HIGHcamel/societies/workforce/workforce.py4637except ValueError:CODE
HIGHcamel/societies/workforce/workforce.py2943except RuntimeError:CODE
HIGHcamel/societies/workforce/structured_output_handler.py198except json.JSONDecodeError:CODE
HIGHcamel/societies/workforce/structured_output_handler.py320except ValidationError:CODE
HIGHcamel/interpreters/subprocess_interpreter.py365except Exception:CODE
HIGHcamel/parsers/mcp_tool_call_parser.py130except yaml.YAMLError:CODE
HIGHcamel/agents/chat_agent.py2975except ImportError:CODE
HIGHcamel/agents/chat_agent.py3243except ImportError:CODE
HIGHcamel/agents/chat_agent.py3284except ImportError:CODE
HIGHcamel/agents/chat_agent.py131except Exception:CODE
HIGHcamel/agents/chat_agent.py2815except (json.JSONDecodeError, ValidationError):CODE
HIGHcamel/toolkits/video_download_toolkit.py138except (ImportError, AttributeError):CODE
HIGHcamel/toolkits/imap_mail_toolkit.py738except Exception:CODE
HIGHcamel/toolkits/video_analysis_toolkit.py226except (ImportError, AttributeError):CODE
HIGHcamel/toolkits/agent_toolkit.py648except Exception:CODE
HIGHcamel/toolkits/agent_toolkit.py519except concurrent.futures.TimeoutError:CODE
HIGHcamel/toolkits/agent_toolkit.py521except Exception:CODE
HIGHcamel/toolkits/search_toolkit.py1784except (TypeError, ValueError):CODE
HIGHcamel/toolkits/web_deploy_toolkit.py576except Exception:CODE
HIGHcamel/toolkits/web_deploy_toolkit.py927except Exception:CODE
HIGHcamel/toolkits/audio_analysis_toolkit.py65except Exception:CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py102except (json.JSONDecodeError, TypeError):CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py92except (json.JSONDecodeError, ValueError):CODE
HIGHcamel/toolkits/headless_browser_search_toolkit.py108except (json.JSONDecodeError, TypeError):CODE
HIGHcamel/toolkits/base.py92except (ValueError, TypeError):CODE
HIGHcamel/toolkits/hybrid_browser_toolkit_py/actions.py680except Exception:CODE
HIGHcamel/toolkits/hybrid_browser_toolkit_py/actions.py677except Exception:CODE
HIGHcamel/toolkits/hybrid_browser_toolkit_py/agent.py181except json.JSONDecodeError:CODE
HIGHcamel/toolkits/hybrid_browser_toolkit_py/agent.py213except json.JSONDecodeError:CODE
HIGH…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py333except Exception:CODE
HIGH…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py331except (RuntimeError, ImportError):CODE
HIGH…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py1206except Exception:CODE
HIGH…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py587except Exception:CODE
HIGH…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py329except asyncio.TimeoutError:CODE
HIGH…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py641except Exception:CODE
HIGH…ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py856except Exception:CODE
HIGHcamel/toolkits/hybrid_browser_toolkit_py/snapshot.py192except Exception:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py1203except Empty:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py1548except Exception:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py1190except Empty:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py665except Exception:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py1289except Exception:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py1294except Exception:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py1492except OSError:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py1089except Exception:CODE
HIGHcamel/toolkits/terminal_toolkit/terminal_toolkit.py1094except Exception:CODE
HIGHcamel/toolkits/terminal_toolkit/runtime_utils.py205except OSError:CODE
HIGHcamel/toolkits/terminal_toolkit/java_runtime.py91except Exception:CODE
HIGHcamel/toolkits/terminal_toolkit/go_runtime.py83except Exception:CODE
HIGH…ts/hybrid_browser_toolkit/hybrid_browser_toolkit_ts.py520except Exception:CODE
HIGH…ts/hybrid_browser_toolkit/hybrid_browser_toolkit_ts.py518except (RuntimeError, ImportError):CODE
15 more matches not shown…
Decorative Section Separators124 hits · 360 pts
SeverityFileLineSnippetContext
MEDIUM⚡test/toolkits/test_klavis_toolkit.py44# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_klavis_toolkit.py46# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_klavis_toolkit.py53# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_klavis_toolkit.py55# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_klavis_toolkit.py141# --------------------------COMMENT
MEDIUM⚡test/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
MEDIUM⚡test/toolkits/test_planning_worktree_toolkit.py89# ── worktree tests ───────────────────────────────────────────────────COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py51# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py53# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py92# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py94# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py107# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py109# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py140# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py142# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py159# --------------------------COMMENT
MEDIUM⚡test/toolkits/test_image_analysis_toolkiy.py161# --------------------------COMMENT
MEDIUMtest/loaders/test_crawl4ai.py37# ------------------------COMMENT
MEDIUMtest/loaders/test_crawl4ai.py39# ------------------------COMMENT
MEDIUM⚡camel/societies/workforce/workforce.py794 # ------------------------------------------------------------------STRING
MEDIUM⚡camel/societies/workforce/workforce.py796 # ------------------------------------------------------------------STRING
MEDIUMcamel/societies/workforce/workforce.py557 # ------------------------------------------------------------------STRING
MEDIUMcamel/societies/workforce/workforce.py559 # ------------------------------------------------------------------STRING
MEDIUM⚡camel/toolkits/file_toolkit.py1163 # ----------------------------------------------STRING
MEDIUM⚡camel/toolkits/file_toolkit.py1165 # ----------------------------------------------STRING
MEDIUM⚡camel/toolkits/file_toolkit.py1240 # ----------------------------------------------STRING
MEDIUM⚡camel/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
MEDIUM⚡camel/toolkits/hybrid_browser_toolkit_py/actions.py127 # ------------------------------------------------------------------STRING
MEDIUM⚡camel/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
MEDIUM⚡camel/toolkits/hybrid_browser_toolkit_py/snapshot.py133 # ------------------------------------------------------------------STRING
MEDIUM⚡camel/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
64 more matches not shown…
Deep Nesting362 hits · 322 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.py293CODE
LOWcamel/interpreters/internal_python_interpreter.py405CODE
LOWcamel/interpreters/internal_python_interpreter.py495CODE
LOWcamel/interpreters/internal_python_interpreter.py590CODE
LOWcamel/interpreters/subprocess_interpreter.py88CODE
LOWcamel/interpreters/subprocess_interpreter.py269CODE
302 more matches not shown…
Redundant / Tautological Comments237 hits · 225 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
LOW⚡test/embeddings/test_openai_compatible_embedding.py49 # Check if the OpenAI client was called with the correct parametersCOMMENT
LOW⚡test/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
LOW⚡test/toolkits/test_pyautogui_toolkit.py44 # Check if screen dimensions are properly setCOMMENT
LOW⚡test/toolkits/test_pyautogui_toolkit.py48 # Check if safe boundaries are properly calculatedCOMMENT
LOW⚡test/toolkits/test_pyautogui_toolkit.py55 # Check if screen center is properly calculatedCOMMENT
LOW⚡test/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
LOW⚡test/toolkits/test_code_execution.py58 # Check if the python executable existsCOMMENT
LOW⚡test/toolkits/test_code_execution.py101 # Check if microsandbox server is runningCOMMENT
LOWtest/toolkits/test_file_toolkit.py442 # Read the file to verify contentCOMMENT
LOW⚡test/utils/test_commons.py83 # Check if the result is a dictionaryCOMMENT
LOW⚡test/utils/test_commons.py97 # Check if all expected keys are in the returned dictionaryCOMMENT
LOW⚡test/utils/test_commons.py100 # Check if all values are non-empty stringsCOMMENT
LOW⚡test/prompts/test_prompt_base.py66 # Check if the functions are wrapped correctlyCOMMENT
LOW⚡licenses/update_license.py88 # Check if directory existsCOMMENT
LOW⚡licenses/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
LOW⚡camel/societies/workforce/workforce.py2478 # Check if all provided IDs existCOMMENT
LOW⚡camel/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
LOW⚡camel/societies/workforce/workforce.py5241 # Check if there are any main pending tasks after filteringSTRING
LOW⚡camel/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.py319 # Check if the index needs training (for IVF indexes)STRING
LOWcamel/storages/vectordb_storages/faiss.py476 # Check if the index supports direct removal.STRING
LOWcamel/storages/vectordb_storages/oceanbase.py421 # Check if the id is stored in metadataSTRING
177 more matches not shown…
Cross-Language Confusion39 hits · 205 pts
SeverityFileLineSnippetContext
HIGH⚡test/toolkits/test_terminal_toolkit.py350 "cd sub && cd ..",CODE
HIGH⚡test/toolkits/test_terminal_toolkit.py352 "cd sub || cd ..",CODE
HIGH⚡test/toolkits/test_terminal_toolkit.py353 "false && cd sub; cd ..",CODE
HIGH⚡test/toolkits/test_terminal_toolkit.py370 "cd sub && ls",CODE
HIGH⚡test/toolkits/test_terminal_toolkit.py371 "cd sub && echo hello",CODE
HIGH⚡test/toolkits/test_terminal_toolkit.py372 "ls && cd sub",CODE
HIGH⚡test/toolkits/test_terminal_toolkit.py390 "pushd sub && pushd .", working_dir=str(temp_dir)CODE
HIGH⚡test/toolkits/test_terminal_toolkit.py401 "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
HIGH⚡camel/toolkits/headless_browser_search_toolkit.py131 if (linkEl && titleEl) {CODE
HIGH⚡camel/toolkits/headless_browser_search_toolkit.py133 if (url && url.indexOf('google.com/search') === -1 &&CODE
HIGH⚡camel/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
HIGH⚡examples/toolkits/mcp/mcp_search_toolkit.py56 "package_registry": null,STRING
HIGH⚡examples/toolkits/mcp/mcp_search_toolkit.py57 "package_name": null,STRING
HIGH⚡examples/toolkits/mcp/mcp_search_toolkit.py58 "package_download_count": null,STRING
HIGH⚡examples/toolkits/mcp/mcp_search_toolkit.py80 "package_registry": null,STRING
HIGH⚡examples/toolkits/mcp/mcp_search_toolkit.py81 "package_name": null,STRING
HIGH⚡examples/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
LOW⚡test/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
LOW⚡camel/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.py205 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 · 64 pts
SeverityFileLineSnippetContext
LOWcamel/societies/role_playing.py92CODE
LOWcamel/societies/workforce/workforce.py323CODE
LOWcamel/retrievers/hybrid_retrival.py156CODE
LOWcamel/storages/vectordb_storages/surreal.py63CODE
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.py490CODE
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.py1837CODE
LOWcamel/toolkits/function_tool.py1126CODE
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.py136CODE
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
HIGH⚡examples/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
HIGH⚡examples/models/qwen_model_example.py145 api_key='YOUR_API_KEY',STRING
HIGHexamples/models/qwen_model_example.py255API_KEY = 'your_api_key'STRING
Fake / Example Data47 hits · 50 pts
SeverityFileLineSnippetContext
LOW⚡test/bots/test_discord_app.py24 os.environ['DISCORD_BOT_TOKEN'] = 'fake_token'CODE
LOW⚡test/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
LOW⚡test/toolkits/test_search_functions.py1174 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOW⚡test/toolkits/test_search_functions.py1187 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOW⚡test/toolkits/test_search_functions.py1362 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOW⚡test/toolkits/test_search_functions.py1371 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOW⚡test/toolkits/test_search_functions.py1479 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOW⚡test/toolkits/test_search_functions.py1492 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOW⚡test/toolkits/test_search_functions.py1654 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_search_functions.py1411 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOWtest/toolkits/test_search_functions.py1433 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOWtest/toolkits/test_search_functions.py1458 with patch.dict(os.environ, {'QUERIT_API_KEY': 'fake_key'}):CODE
LOW⚡test/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
LOW⚡test/toolkits/test_imap_mail_toolkit.py91 'test@test.com', 'test_password'CODE
LOW⚡test/toolkits/test_imap_mail_toolkit.py585 username="test@test.com",CODE
LOW⚡test/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
LOW⚡test/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-Vocabulary17 hits · 42 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
MEDIUM⚡test/retrievers/test_vector_retriever.py52# Test initialization with a custom embedding modelCOMMENT
MEDIUM⚡test/retrievers/test_vector_retriever.py59# Test initialization with default embedding modelCOMMENT
MEDIUM⚡test/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.py4254 # This prevents single tool calls from exceeding context windowSTRING
MEDIUMcamel/agents/chat_agent.py5129 # context windowSTRING
MEDIUMcamel/agents/chat_agent.py5296 # context windowSTRING
MEDIUMcamel/utils/constants.py33 # Default top k value for RAGCOMMENT
MEDIUMcamel/utils/constants.py36 # Default similarity threshold value for RAGCOMMENT
MEDIUMcamel/models/reka_model.py58 # Reka's "context" means the context window was exhausted before aCOMMENT
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
MEDIUM⚡examples/caches/semantic_cache_example.py53 # Step 1: Initialize the embedding modelCOMMENT
Structural Annotation Overuse29 hits · 37 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.py1803 # 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
LOWexamples/storages/nebular_graph.py24# Step 2: Initialize the NebulaGraph clientCOMMENT
LOW⚡examples/models/ppio_model_example.py102### Step 1: Set up the divisibility conditionSTRING
LOW⚡examples/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
LOW⚡examples/models/ppio_model_example.py130### Step 4: Solve for $ b $STRING
LOW⚡examples/models/ppio_model_example.py140### Step 5: Verify the solutionsSTRING
LOWexamples/models/ppio_model_example.py152### Step 6: Sum the valid basesSTRING
LOW⚡examples/services/agent_openapi_server.py341 # Step 1: Create two agentsSTRING
LOW⚡examples/services/agent_openapi_server.py352 # Step 2: List current agentsSTRING
LOW⚡examples/services/agent_openapi_server.py356 # Step 3: Delete agent_1STRING
LOW⚡examples/services/agent_openapi_server.py360 # Step 4: List agents againSTRING
LOW⚡examples/caches/semantic_cache_example.py53 # Step 1: Initialize the embedding modelCOMMENT
LOW⚡examples/caches/semantic_cache_example.py68 # Step 2: Initialize vector storage (in-memory FAISS)COMMENT
LOW⚡examples/caches/semantic_cache_example.py76 # Step 3: Create the semantic cacheCOMMENT
LOW⚡examples/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
LOW⚡examples/caches/semantic_cache_example.py170 # Step 7: Show cache statisticsCOMMENT
LOW⚡examples/caches/semantic_cache_example.py178 # Step 8: Demonstrate find_similarCOMMENT
LOW⚡examples/caches/semantic_cache_example.py188 # Step 9: Demonstrate cache managementCOMMENT
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.py316 # 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.py573 r"""A comprehensive command sanitizer for both local andCODE
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
MEDIUM⚡examples/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.py1803 # 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
LOW⚡examples/models/ppio_model_example.py102### Step 1: Set up the divisibility conditionSTRING
LOW⚡examples/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
LOW⚡examples/models/ppio_model_example.py130### Step 4: Solve for $ b $STRING
LOW⚡examples/models/ppio_model_example.py140### Step 5: Verify the solutionsSTRING
LOWexamples/models/ppio_model_example.py152### Step 6: Sum the valid basesSTRING
LOW⚡examples/services/agent_openapi_server.py341 # Step 1: Create two agentsSTRING
LOW⚡examples/services/agent_openapi_server.py352 # Step 2: List current agentsSTRING
LOW⚡examples/services/agent_openapi_server.py356 # Step 3: Delete agent_1STRING
LOW⚡examples/services/agent_openapi_server.py360 # Step 4: List agents againSTRING
LOW⚡examples/caches/semantic_cache_example.py53 # Step 1: Initialize the embedding modelCOMMENT
LOW⚡examples/caches/semantic_cache_example.py68 # Step 2: Initialize vector storage (in-memory FAISS)COMMENT
LOW⚡examples/caches/semantic_cache_example.py76 # Step 3: Create the semantic cacheCOMMENT
LOW⚡examples/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
LOW⚡examples/caches/semantic_cache_example.py170 # Step 7: Show cache statisticsCOMMENT
LOW⚡examples/caches/semantic_cache_example.py178 # Step 8: Demonstrate find_similarCOMMENT
LOW⚡examples/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
MEDIUM⚡examples/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
LOW⚡test/agents/test_repo_agent.py279 "text": "def test_function():\n return 'test'",CODE
LOW⚡test/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
LOW⚡test/prompts/test_prompt_base.py25 def my_function():CODE
LOW⚡test/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.py1027 ... def my_function():CODE
LOWcamel/utils/commons.py1034 ... 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.py5094CODE
MEDIUMcamel/agents/chat_agent.py6106CODE
Example Usage Blocks3 hits · 5 pts
SeverityFileLineSnippetContext
LOW⚡examples/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