Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free
This report summarizes scanner evidence for topoteretes/cognee, a Python project with 31,974 GitHub stars. SynthScan examined 630,364 lines of code across 3874 source files, recording 14481 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 29.6 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 10208 finding(s).
Are imports declared and package/API names verified? 1906 finding(s).
Are wrappers, guards, and repeated structures necessary? 11565 finding(s).
Which changes need focused human review? 14481 finding(s).
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.
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.
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.
The scanner identified 14481 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/base_config.py | 16 | def _tracing_explicitly_disabled() -> bool: | CODE |
| LOW | cognee/base_config.py | 63 | def validate_personalization_knobs(self): | CODE |
| LOW | cognee/context_global_variables.py | 44 | async def set_session_user_context_variable(user): | CODE |
| LOW | cognee/context_global_variables.py | 48 | def multi_user_support_possible(): | CODE |
| LOW | cognee/context_global_variables.py | 98 | def backend_access_control_enabled(): | CODE |
| LOW | cognee/context_global_variables.py | 177 | async def apply_database_context_variables( | CODE |
| LOW | cognee/context_global_variables.py | 403 | def set_database_global_context_variables( | CODE |
| LOW | cognee/run_migrations.py | 11 | async def run_relational_migrations(): | CODE |
| LOW | cognee/tasks/memify/extract_feedback_qas.py | 24 | def build_implicit_rating_map(context_rows: Any) -> dict[str, tuple[int, str]]: | CODE |
| LOW | cognee/tasks/memify/cognify_agent_trace_feedback.py | 31 | async def cognify_agent_trace_feedback( | CODE |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 101 | async def extract_agent_trace_feedbacks( | CODE |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 15 | def _build_datapoint_type_index_mapping() -> dict[str, list[str]]: | CODE |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 74 | def _extract_relationship_text( | CODE |
| LOW | …y/consolidate_entity_descriptions/read_neighborhood.py | 69 | def format_edges_with_endpoints( | CODE |
| LOW | …y/consolidate_entity_descriptions/read_neighborhood.py | 154 | async def get_entities_with_neighborhood(args) -> list[dict[str, Any]]: | CODE |
| LOW | …mify/consolidate_entity_descriptions/describe_types.py | 27 | async def generate_type_descriptions( | CODE |
| LOW | …fy/consolidate_entity_descriptions/rewrite_entities.py | 50 | def build_node_neighborhood_prompt( | CODE |
| LOW | …fy/consolidate_entity_descriptions/rewrite_entities.py | 173 | async def generate_consolidated_entity( | CODE |
| LOW | …fy/consolidate_entity_descriptions/rewrite_entities.py | 202 | async def generate_consolidated_entities( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 39 | def validate_global_context_index_config( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 66 | def validate_graph_dataset_context( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 74 | async def filter_graph_dataset_text_summaries( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 93 | async def select_text_summaries_for_strategy( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 104 | async def load_graph_bucketing_data_if_needed( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 118 | async def reset_context_index_for_rebuild( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 133 | def select_new_context_index_items( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 142 | def validate_existing_buckets_for_strategy( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 177 | async def prepare_existing_context_index( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 203 | async def ensure_graph_bucketing_inputs( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 220 | def unpack_graph_bucketing_inputs( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 228 | async def build_and_persist_context_index( | CODE |
| LOW | cognee/tasks/memify/global_context_index/update.py | 261 | async def update_global_context_index( | CODE |
| LOW | cognee/tasks/memify/global_context_index/build.py | 57 | def source_collection_for_level(level: int) -> str: | CODE |
| LOW | cognee/tasks/memify/global_context_index/build.py | 160 | def merge_existing_and_new_buckets( | CODE |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 19 | async def safe_delete_context_vectors(vector_engine: Any, ids: list[str]) -> None: | CODE |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 32 | async def delete_context_index_nodes(unified_engine: Any, bucket_ids: list[str]) -> None: | CODE |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 39 | def ensure_global_context_storage_context( | CODE |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 52 | def build_context_index_edges(assignments: list[BucketAssignment]) -> list: | CODE |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 74 | async def persist_context_summaries( | CODE |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 85 | def _context_index_source_ref(ctx: PipelineContext | None) -> tuple[str | None, str | None]: | CODE |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 109 | async def persist_context_index_edges( | CODE |
| LOW | cognee/tasks/memify/global_context_index/summarize.py | 31 | async def generate_global_context_summary(children: list[SummaryNode]) -> str: | CODE |
| LOW | cognee/tasks/memify/global_context_index/summarize.py | 35 | async def build_bucket_summary_datapoint( | CODE |
| LOW | cognee/tasks/memify/global_context_index/summarize.py | 61 | async def generate_bucket_summary_datapoints( | CODE |
| LOW | cognee/tasks/memify/global_context_index/summarize.py | 71 | async def build_global_context_summary_datapoint( | CODE |
| LOW⚡ | cognee/tasks/memify/global_context_index/load.py | 19 | def global_context_summary_level(attributes: dict[str, Any]) -> int | None: | CODE |
| LOW⚡ | cognee/tasks/memify/global_context_index/load.py | 26 | def is_root_global_context_summary(attributes: dict[str, Any]) -> bool: | CODE |
| LOW⚡ | cognee/tasks/memify/global_context_index/load.py | 35 | def graph_bucket_entity_ids_from_attributes( | CODE |
| LOW | cognee/tasks/memify/global_context_index/load.py | 50 | def extract_context_index_input( | CODE |
| LOW | cognee/tasks/memify/global_context_index/load.py | 136 | def rebuild_child_ids_from_parent_pointers( | CODE |
| LOW | cognee/tasks/memify/global_context_index/load.py | 152 | async def load_context_index_input_from_graph( | CODE |
| LOW | cognee/tasks/memify/global_context_index/load.py | 160 | async def get_context_index_memory_fragment() -> CogneeGraph: | CODE |
| LOW | cognee/tasks/memify/global_context_index/load.py | 177 | async def extract_global_context_index_input( | CODE |
| LOW | …/tasks/memify/global_context_index/bucketing/common.py | 47 | def mark_bucket_for_persistence( | CODE |
| LOW | …/memify/global_context_index/bucketing/graph/inputs.py | 15 | async def load_graph_bucketing_inputs( | CODE |
| LOW | …/memify/global_context_index/bucketing/graph/inputs.py | 45 | def validate_graph_bucketing_inputs(missing_made_from_summary_ids: set[str]) -> None: | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 15 | def rebuild_graph_buckets_for_level( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 76 | def place_graph_summaries_incrementally( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 151 | def validate_graph_buckets_can_be_extended(existing_buckets: list[SummaryNode]) -> None: | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 161 | def validate_vector_buckets_can_be_extended(existing_buckets: list[SummaryNode]) -> None: | CODE |
| 9038 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | slack-app-manifest.yml | 8 | # ── Local testing steps ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cognee/__init__.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/__init__.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/__init__.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/__init__.py | 75 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/resolve_dlt_sources.py | 508 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/resolve_dlt_sources.py | 510 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 154 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 156 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 185 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 187 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 316 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 318 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 391 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 393 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 699 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/linear.py | 701 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 104 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 139 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 141 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 205 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 207 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 313 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 315 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/connectors/gmail.py | 392 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/connectors/gmail.py | 394 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 579 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 581 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/notion.py | 125 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/notion.py | 127 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/notion.py | 259 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/notion.py | 261 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/notion.py | 469 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/notion.py | 471 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/notion.py | 718 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/notion.py | 720 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/google_drive.py | 100 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/google_drive.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/google_drive.py | 197 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/google_drive.py | 199 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/google_drive.py | 259 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/google_drive.py | 261 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/google_drive.py | 597 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/google_drive.py | 599 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 136 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 140 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 220 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 222 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 297 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 299 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 313 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 315 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | cognee/tests/test_video_loader.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/test_video_loader.py | 96 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/test_video_loader.py | 123 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/test_video_loader.py | 125 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/test_video_loader.py | 282 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/test_video_loader.py | 284 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/test_video_loader.py | 330 | # --------------------------------------------------------------------------- | COMMENT |
| 676 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/__init__.py | 40 | CODE | |
| LOW | cognee/__init__.py | 41 | CODE | |
| LOW | cognee/__init__.py | 42 | CODE | |
| LOW | cognee/__init__.py | 43 | CODE | |
| LOW | cognee/__init__.py | 44 | CODE | |
| LOW | cognee/__init__.py | 45 | CODE | |
| LOW | cognee/__init__.py | 46 | CODE | |
| LOW | cognee/__init__.py | 47 | CODE | |
| LOW | cognee/__init__.py | 48 | CODE | |
| LOW | cognee/__init__.py | 49 | CODE | |
| LOW | cognee/__init__.py | 50 | CODE | |
| LOW | cognee/__init__.py | 50 | CODE | |
| LOW | cognee/__init__.py | 51 | CODE | |
| LOW | cognee/__init__.py | 52 | CODE | |
| LOW | cognee/__init__.py | 52 | CODE | |
| LOW | cognee/__init__.py | 52 | CODE | |
| LOW | cognee/__init__.py | 52 | CODE | |
| LOW | cognee/__init__.py | 53 | CODE | |
| LOW | cognee/__init__.py | 53 | CODE | |
| LOW | cognee/__init__.py | 53 | CODE | |
| LOW | cognee/__init__.py | 53 | CODE | |
| LOW | cognee/__init__.py | 53 | CODE | |
| LOW | cognee/__init__.py | 60 | CODE | |
| LOW | cognee/__init__.py | 63 | CODE | |
| LOW | cognee/__init__.py | 64 | CODE | |
| LOW | cognee/__init__.py | 67 | CODE | |
| LOW | cognee/__init__.py | 68 | CODE | |
| LOW | cognee/__init__.py | 71 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 76 | CODE | |
| LOW | cognee/__init__.py | 90 | CODE | |
| LOW | cognee/__init__.py | 90 | CODE | |
| LOW | cognee/__init__.py | 90 | CODE | |
| LOW | cognee/__init__.py | 90 | CODE | |
| LOW | cognee/__init__.py | 94 | CODE | |
| LOW | cognee/__init__.py | 98 | CODE | |
| LOW | cognee/__init__.py | 101 | CODE | |
| LOW | cognee/__init__.py | 101 | CODE | |
| LOW | cognee/__init__.py | 101 | CODE | |
| LOW | cognee/__init__.py | 101 | CODE | |
| LOW | cognee/__init__.py | 101 | CODE | |
| LOW | cognee/__init__.py | 110 | CODE | |
| LOW | cognee/__init__.py | 113 | CODE | |
| LOW | cognee/__init__.py | 116 | CODE | |
| LOW | cognee/__init__.py | 116 | CODE | |
| LOW | cognee/__init__.py | 117 | CODE | |
| LOW | cognee/__init__.py | 118 | CODE | |
| LOW | cognee/__init__.py | 119 | CODE | |
| LOW | cognee/low_level.py | 1 | CODE | |
| LOW | cognee/low_level.py | 1 | CODE | |
| 1705 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cognee/tasks/summarization/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/tasks/graph/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/tasks/storage/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/tasks/documents/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/api/v1/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/infrastructure/data/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/modules/ontology/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/modules/search/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/modules/retrieval/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/modules/data/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/tasks/completion/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/infrastructure/databases/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/modules/ingestion/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/modules/graph/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/modules/users/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various user errors | STRING |
| HIGH | cognee/tests/test_custom_data_label.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. | STRING |
| HIGH | cognee/tests/test_delete_data_and_dataset_if_empty.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. | STRING |
| HIGH | cognee/tests/test_dataset_database_handler.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. | STRING |
| HIGH | cognee/tests/test_dataset_delete.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. | STRING |
| HIGH | examples/guides/simple_cognee_example.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. | STRING |
| HIGH | …os/custom_pipelines/custom_cognify_pipeline_example.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. | STRING |
| HIGH | cognee/tests/test_multi_tenancy.py | 0 | a quantum computer is a computer that takes advantage of quantum mechanical phenomena. at small scales, physical matter | STRING |
| HIGH | cognee/tests/test_permissions.py | 0 | a quantum computer is a computer that takes advantage of quantum mechanical phenomena. at small scales, physical matter | STRING |
| HIGH | …s/demos/permissions/tenant_role_constraints_example.py | 0 | a quantum computer is a computer that takes advantage of quantum mechanical phenomena. at small scales, physical matter | STRING |
| HIGH | …issions/user_permissions_and_access_control_example.py | 0 | a quantum computer is a computer that takes advantage of quantum mechanical phenomena. at small scales, physical matter | STRING |
| HIGH | examples/demos/permissions/tenant_role_setup_example.py | 0 | a quantum computer is a computer that takes advantage of quantum mechanical phenomena. at small scales, physical matter | STRING |
| HIGH | …mples/demos/permissions/data_access_control_example.py | 0 | a quantum computer is a computer that takes advantage of quantum mechanical phenomena. at small scales, physical matter | STRING |
| HIGH | …tests/unit/users/test_parent_reaches_agent_datasets.py | 0 | point cognee at a database of its own so these rows never touch dev data. | STRING |
| HIGH | …ee/tests/unit/users/test_agents_follow_their_parent.py | 0 | point cognee at a database of its own so these rows never touch dev data. | STRING |
| HIGH | cognee/tests/unit/users/test_manage_users_capability.py | 0 | point cognee at a database of its own so these rows never touch dev data. | STRING |
| HIGH | …t/users/permissions/test_get_effective_capabilities.py | 0 | point cognee at a database of its own so these rows never touch dev data. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | create_qa_entry with used_graph_element_ids stores and returns it. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | create_qa_entry with used_graph_element_ids stores and returns it. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | create_qa_entry with used_graph_element_ids stores and returns it. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | create_qa_entry with invalid used_graph_element_ids (disallowed keys) raises. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | create_qa_entry with invalid used_graph_element_ids (disallowed keys) raises. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | create_qa_entry with invalid used_graph_element_ids (disallowed keys) raises. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | append trace steps and retrieve them as a flat ordered session list. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | append trace steps and retrieve them as a flat ordered session list. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | append trace steps and retrieve them as a flat ordered session list. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | trace count helper returns the number of stored steps. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | trace count helper returns the number of stored steps. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | trace count helper returns the number of stored steps. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | trace persistence sanitizes uuids, datetimes, and custom objects into json-safe values. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | trace persistence sanitizes uuids, datetimes, and custom objects into json-safe values. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | trace persistence sanitizes uuids, datetimes, and custom objects into json-safe values. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | delete_feedback sets feedback_text and feedback_score to none. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | delete_feedback sets feedback_text and feedback_score to none. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | delete_feedback sets feedback_text and feedback_score to none. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | update_qa_entry merges memify_metadata keys instead of replacing the map. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | update_qa_entry merges memify_metadata keys instead of replacing the map. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | update_qa_entry merges memify_metadata keys instead of replacing the map. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | delete the entire session, including qa and trace entries. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | delete the entire session, including qa and trace entries. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | delete the entire session, including qa and trace entries. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | legacy add_qa stores entry with auto-generated qa_id. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | legacy add_qa stores entry with auto-generated qa_id. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | legacy add_qa stores entry with auto-generated qa_id. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | legacy get_all_qas returns same as get_all_qa_entries. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | legacy get_all_qas returns same as get_all_qa_entries. | STRING |
| 154 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tasks/codingagents/coding_rule_associations.py | 86 | except Exception as e: | CODE |
| LOW | cognee/tasks/memify/cognify_agent_trace_feedback.py | 118 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 259 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 275 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 251 | except Exception as e: | CODE |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 288 | except Exception: | CODE |
| LOW | cognee/tasks/memify/consolidate_entities.py | 426 | except Exception as error: # reconstruction is best-effort | CODE |
| LOW | cognee/tasks/memify/apply_feedback_weights.py | 278 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/apply_feedback_weights.py | 394 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/cross_connect_entities.py | 204 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/cognify_session.py | 124 | except Exception as e: | CODE |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 109 | except Exception as e: | CODE |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 119 | except Exception as e: | CODE |
| LOW | …mify/consolidate_entity_descriptions/describe_types.py | 93 | except Exception as error: | CODE |
| LOW | …fy/consolidate_entity_descriptions/rewrite_entities.py | 228 | except Exception as error: | CODE |
| LOW | …completion/entity_extractors/regex_entity_extractor.py | 68 | except Exception: | CODE |
| LOW | …y_completion/entity_extractors/llm_entity_extractor.py | 68 | except Exception: | CODE |
| LOW | cognee/tasks/ingestion/resolve_dlt_sources.py | 948 | except Exception: | CODE |
| LOW | cognee/tasks/ingestion/resolve_dlt_sources.py | 953 | except Exception: | CODE |
| LOW | …ee/tasks/ingestion/purge_stale_dlt_source_artifacts.py | 68 | except Exception as error: | CODE |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 129 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 180 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 199 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 371 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/utils.py | 28 | except Exception: | CODE |
| LOW | cognee/tasks/ingestion/connectors/gmail.py | 369 | except Exception as exc: | CODE |
| LOW⚡ | cognee/tasks/ingestion/connectors/gmail.py | 387 | except Exception as exc: # pragma: no cover - network dependent | CODE |
| LOW | cognee/tasks/ingestion/connectors/gmail.py | 492 | except Exception as exc: | CODE |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 231 | except Exception as exc: | CODE |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 324 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 395 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 458 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 478 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 507 | except Exception as e: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 127 | except Exception: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 212 | except Exception as e: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 260 | except Exception as e: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 282 | except Exception: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 316 | except Exception as exc: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 380 | except Exception as exc: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 453 | except Exception: | CODE |
| LOW | cognee/tasks/web_scraper/utils.py | 101 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/translate_content.py | 172 | except Exception: | CODE |
| LOW | cognee/tasks/translation/detect_language.py | 161 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/azure_provider.py | 99 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/azure_provider.py | 184 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/llm_provider.py | 101 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/llm_provider.py | 141 | except Exception: | CODE |
| LOW | cognee/tasks/translation/providers/google_provider.py | 40 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/google_provider.py | 50 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/google_provider.py | 99 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/google_provider.py | 155 | except Exception as e: | CODE |
| LOW | cognee/tasks/presort/check_cognee_status.py | 81 | except Exception as error: | CODE |
| LOW | cognee/tasks/presort/relations.py | 176 | except Exception as error: # LLM failures must not abort presort | CODE |
| LOW | cognee/tasks/presort/classify_files.py | 128 | except Exception as error: # LLM failures must not abort presort | CODE |
| LOW | cognee/tasks/presort/group_files.py | 181 | except Exception as error: # embedding failures must not abort presort | CODE |
| LOW | cognee/tasks/presort/detect_duplicates.py | 44 | except Exception as error: # hashing must never abort the scan | CODE |
| LOW | cognee/tasks/presort/scan_folder.py | 118 | except Exception as error: # sniffing must never abort the scan | CODE |
| LOW | cognee/tasks/presort/detect_pii.py | 231 | except Exception as error: # LLM failures must not abort presort | CODE |
| LOW | cognee/tasks/graph/resolve_temporal_contradictions.py | 108 | except Exception as error: | CODE |
| 997 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cognee/tasks/ingestion/data_item_to_text_file.py | 88 | except OSError: | CODE |
| HIGH | cognee/tests/test_incremental_update_stress.py | 140 | except (ImportError, AttributeError): | CODE |
| HIGH | cognee/tests/test_docling_slim_loader.py | 21 | except ImportError: | CODE |
| HIGH | cognee/tests/test_release_multi_user_e2e.py | 508 | except (urllib.error.URLError, ConnectionError, TimeoutError): | CODE |
| HIGH | cognee/tests/test_release_multi_user_e2e.py | 556 | except ProcessLookupError: | CODE |
| HIGH | cognee/tests/unit/test_ladybug_requirement.py | 80 | except ImportError: | CODE |
| HIGH | …tructure/databases/test_subprocess_session_failures.py | 873 | except SubprocessTransportError: | CODE |
| HIGH | …nit/infrastructure/dataset_queue/test_dataset_queue.py | 37 | except (ImportError, AttributeError): | CODE |
| HIGH | …nit/infrastructure/dataset_queue/test_dataset_queue.py | 103 | except (ImportError, AttributeError): | CODE |
| HIGH | …nit/infrastructure/dataset_queue/test_dataset_queue.py | 147 | except (ImportError, AttributeError): | CODE |
| HIGH | …nit/infrastructure/dataset_queue/test_dataset_queue.py | 207 | except (ImportError, AttributeError): | CODE |
| HIGH | …nit/infrastructure/dataset_queue/test_dataset_queue.py | 302 | except (ImportError, AttributeError): | CODE |
| HIGH | …nit/infrastructure/dataset_queue/test_dataset_queue.py | 421 | except (ImportError, AttributeError): | CODE |
| HIGH | …nit/infrastructure/dataset_queue/test_dataset_queue.py | 741 | except RuntimeError: | CODE |
| HIGH | …nit/infrastructure/dataset_queue/test_dataset_queue.py | 328 | except asyncio.CancelledError: | CODE |
| HIGH | …/modules/pipelines/test_telemetry_failure_isolation.py | 119 | except (ValueError, RuntimeError): | CODE |
| HIGH | cognee/tests/unit/modules/data/test_open_data_file.py | 106 | except FileNotFoundError: | CODE |
| HIGH | cognee/tests/tasks/translation/providers_test.py | 83 | except (TranslationError, ValueError): | CODE |
| HIGH | cognee/tests/tasks/translation/providers_test.py | 149 | except TranslationError: | CODE |
| HIGH | cognee/tests/tasks/translation/config_test.py | 69 | except ValidationError: | CODE |
| HIGH | cognee/tests/tasks/translation/config_test.py | 80 | except ValidationError: | CODE |
| HIGH | …ee/tests/integration/tasks/test_update_id_stability.py | 290 | except IngestionError: | CODE |
| HIGH | …ee/tests/integration/tasks/test_update_id_stability.py | 69 | except (ImportError, AttributeError): | CODE |
| HIGH | …sts/integration/tasks/test_add_ingestion_regression.py | 70 | except (ImportError, AttributeError): | CODE |
| HIGH | …ee/tests/integration/tasks/test_dataset_scoped_data.py | 323 | except IngestionError: | CODE |
| HIGH | …ee/tests/integration/tasks/test_dataset_scoped_data.py | 66 | except (ImportError, AttributeError): | CODE |
| HIGH | …nee/tests/integration/tasks/test_add_s3_call_counts.py | 104 | except (ImportError, AttributeError): | CODE |
| HIGH | …ucture/dataset_queue/test_dataset_queue_integration.py | 27 | except (ImportError, AttributeError): | CODE |
| HIGH | …ucture/dataset_queue/test_dataset_queue_integration.py | 120 | except RuntimeError: | CODE |
| HIGH | …/tests/cli_tests/cli_unit_tests/test_cli_edge_cases.py | 609 | except (AttributeError, CliCommandException): | CODE |
| HIGH | …/tests/cli_tests/cli_unit_tests/test_cli_edge_cases.py | 627 | except AttributeError: | CODE |
| HIGH | cognee/tests/journeys/mock_ai.py | 230 | except ValidationError: | CODE |
| HIGH | cognee/tests/performance/locust_performance_analysis.py | 347 | except FileNotFoundError: | CODE |
| HIGH | cognee/tests/performance/locust_performance_analysis.py | 405 | except ProcessLookupError: | CODE |
| HIGH | cognee/tests/performance/locust_performance_analysis.py | 328 | except (urllib.error.URLError, ConnectionError, TimeoutError): | CODE |
| HIGH | cognee/tests/performance/locust_performance_analysis.py | 410 | except ProcessLookupError: | CODE |
| HIGH | cognee/tests/performance/batch_add_cognify_test.py | 112 | except (urllib.error.URLError, ConnectionError, TimeoutError): | CODE |
| HIGH | cognee/tests/performance/batch_add_cognify_test.py | 187 | except FileNotFoundError: | CODE |
| HIGH | cognee/tests/performance/batch_add_cognify_test.py | 227 | except ProcessLookupError: | CODE |
| HIGH | cognee/tests/performance/batch_add_cognify_test.py | 232 | except ProcessLookupError: | CODE |
| HIGH | …/e2e/docker/test_docker_multi_tenant_access_control.py | 146 | except httpx.HTTPError: | CODE |
| HIGH | …/e2e/incremental_update/test_legacy_chunk_id_compat.py | 81 | except (ImportError, AttributeError): | CODE |
| HIGH | …ts/e2e/incremental_update/test_chunk_ownership_refs.py | 74 | except (ImportError, AttributeError): | CODE |
| HIGH | …2e/incremental_update/test_chunk_budget_persistence.py | 70 | except (ImportError, AttributeError): | CODE |
| HIGH | …e/incremental_update/test_chunk_ownership_semantics.py | 106 | except (ImportError, AttributeError): | CODE |
| HIGH | …ests/e2e/incremental_update/test_update_chunk_index.py | 67 | except (ImportError, AttributeError): | CODE |
| HIGH | …ee/tests/e2e/incremental_update/test_staged_publish.py | 76 | except (ImportError, AttributeError): | CODE |
| HIGH | …s/e2e/incremental_update/test_add_existing_document.py | 60 | except (ImportError, AttributeError): | CODE |
| HIGH | …/incremental_update/test_update_fallback_durability.py | 65 | except (ImportError, AttributeError): | CODE |
| HIGH | …ests/e2e/incremental_update/test_incremental_update.py | 75 | except (ImportError, AttributeError): | CODE |
| HIGH | cognee/tests/e2e/serve_routing/test_serve_routing.py | 89 | except (ImportError, AttributeError): | CODE |
| HIGH | cognee/shared/utils.py | 660 | except RuntimeError: | CODE |
| HIGH | cognee/shared/logging_utils.py | 121 | except OSError: # not writable here, try the next candidate | CODE |
| HIGH | cognee/shared/logging_utils.py | 129 | except OSError: # not writable here, fall through to the next candidate | CODE |
| HIGH | cognee/shared/logging_utils.py | 411 | except Exception: | CODE |
| HIGH | cognee/cli/_cognee.py | 271 | except (BrokenPipeError, OSError): | CODE |
| HIGH | cognee/cli/_cognee.py | 285 | except (BrokenPipeError, OSError): | CODE |
| HIGH | cognee/cli/_cognee.py | 292 | except (BrokenPipeError, OSError): | CODE |
| HIGH | cognee/eval_framework/beam/eval/metrics/kendall_tau.py | 97 | except json.JSONDecodeError: | CODE |
| HIGH | cognee/eval_framework/beam/eval/metrics/kendall_tau.py | 126 | except (json.JSONDecodeError, ValueError): | CODE |
| 54 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 107 | Extract not-yet-persisted agent trace steps for the current user. For each session, reads the trace persist wa | STRING |
| HIGH | cognee/tasks/memify/extract_user_sessions.py | 18 | Extract not-yet-persisted Q&A entries for the current user via SessionManager. For each session, reads the per | STRING |
| HIGH | cognee/tasks/web_scraper/web_scraper_task.py | 56 | Schedule or run a web scraping task. This function schedules a recurring web scraping task using APScheduler or run | STRING |
| HIGH | cognee/tasks/web_scraper/web_scraper_task.py | 138 | Scrape URLs and store data points in a Graph database. This function scrapes content from the provided URLs, create | STRING |
| HIGH | cognee/tasks/web_scraper/web_scraper_task.py | 357 | Validate and configure arguments for web_scraper_task. Args: tavily_api_key: API key for Tavily. ex | STRING |
| HIGH | cognee/tasks/web_scraper/web_scraper_task.py | 400 | Extract the path after the base URL. Args: base_url: The base URL (e.g., "https://example.com"). ur | STRING |
| HIGH | cognee/tasks/web_scraper/default_url_crawler.py | 190 | Fetch and cache robots.txt data. Args: domain_root: The root URL (e.g., "https://example.com"). | STRING |
| HIGH | cognee/tasks/web_scraper/default_url_crawler.py | 289 | Fetch a URL using HTTPX with retries. Args: url: The URL to fetch. Returns: st | STRING |
| HIGH | cognee/tasks/web_scraper/default_url_crawler.py | 331 | Fetch and render a URL using Playwright for JavaScript content. Args: url: The URL to fetch. | STRING |
| HIGH | cognee/tasks/web_scraper/default_url_crawler.py | 398 | Fetch and extract content from URLs using BeautifulSoup or Playwright. Args: urls: A single URL, li | STRING |
| HIGH | cognee/tasks/web_scraper/utils.py | 28 | Fetch content from one or more URLs using the specified tool. This function retrieves web page content using Beauti | STRING |
| HIGH | cognee/tasks/web_scraper/utils.py | 117 | Fetch content from URLs using the Tavily API. Args: urls: A single URL (str) or a list of URLs (List[str]) | STRING |
| HIGH | cognee/tasks/web_scraper/utils.py | 177 | Fetch content from URLs using the Keenable API. Uses Keenable's /v1/fetch endpoint (https://docs.keenable.ai) to ex | STRING |
| HIGH | cognee/tasks/translation/detect_language.py | 92 | Detect the language of the given text. Uses the langdetect library which is already a dependency of cognee. | STRING |
| HIGH | cognee/tasks/translation/providers/__init__.py | 17 | Factory function to get the appropriate translation provider. Args: provider_name: Name of the provide | STRING |
| HIGH | cognee/tasks/graph/extract_graph_from_data.py | 127 | Convert extracted graphs into linked data points for later storage. Graphs take the pure construction path when no | STRING |
| HIGH | cognee/tasks/chunks/create_chunk_associations.py | 110 | Create semantic association edges between document chunks in the knowledge graph. For each valid chunk, performs a | STRING |
| HIGH | cognee/shared/usage_logger.py | 321 | Inner decorator that wraps the function with usage logging. Args: func: The async function to wrap | STRING |
| HIGH | cognee/shared/usage_logger.py | 342 | Wrapper function that executes the original function and logs usage. This wrapper: - Extracts u | STRING |
| HIGH | cognee/api/v1/ontologies/ontologies.py | 124 | Upload ontology files with their respective keys. Args: ontology_key: List of unique keys | STRING |
| HIGH | cognee/api/v1/ontologies/ontologies.py | 159 | Retrieve ontology content for one or more keys. Args: ontology_key: List of ontology keys | STRING |
| HIGH | cognee/api/v1/visualize/start_visualization_server.py | 7 | Start a visualization server on the specified port. Args: port (int): The port number to run the serve | STRING |
| HIGH | cognee/api/v1/search/search.py | 73 | Search and query the knowledge graph for insights, information, and connections. This is the final step in the | STRING |
| HIGH | cognee/api/v1/serve/serve.py | 26 | Connect the local Cognee SDK to a remote or local Cognee instance. Two modes: **Local / direct mode** — when ` | STRING |
| HIGH | cognee/api/v1/sync/sync.py | 108 | Sync local Cognee data to Cognee Cloud. This function handles synchronization of multiple datasets, knowledge | STRING |
| HIGH | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 3963 | Retrieve a batch of triplets (start_node, relationship, end_node) from the graph. Parameters: | STRING |
| HIGH | …ucture/databases/graph/neptune_driver/neptune_utils.py | 17 | Parse a Neptune Analytics URL to extract graph ID and region. Expected format: neptune-graph://<GRAPH_ID>?regi | STRING |
| HIGH | …ucture/databases/graph/neptune_driver/neptune_utils.py | 110 | Build a configuration dictionary for Neptune Analytics connection. Parameters: ----------- - graph | STRING |
| HIGH | …utput_framework/litellm_instructor/llm/rate_limiter.py | 237 | Manage rate limiting for the wrapped function's execution. This decorator checks if the rate limit for | STRING |
| HIGH | …utput_framework/litellm_instructor/llm/rate_limiter.py | 286 | Handle rate limiting for LLM API calls in an asynchronous context. This wrapper function first ensures | STRING |
| HIGH | …utput_framework/litellm_instructor/llm/rate_limiter.py | 413 | Handle retries for a function call in case of errors, specifically for rate limit errors. | STRING |
| HIGH | …utput_framework/litellm_instructor/llm/rate_limiter.py | 499 | Handle retries for a given async function in case of errors, with rate limit check and backoff | STRING |
| HIGH | …tput_framework/litellm_instructor/llm/llm_interface.py | 55 | Generate an audio transcript from a user query. This method creates a transcript from the specified au | STRING |
| HIGH | cognee/infrastructure/engine/models/DataPoint.py | 375 | Convert the DataPoint instance to a dictionary representation. This method uses the model's built-in f | STRING |
| HIGH | cognee/infrastructure/loaders/LoaderInterface.py | 77 | Load and process the file, returning standardized result. Args: file_path: Path to the fil | STRING |
| HIGH | cognee/infrastructure/loaders/core/video_loader.py | 120 | Load and process the video file. Args: file_path: Path to the file to load **k | STRING |
| HIGH | cognee/infrastructure/loaders/core/csv_loader.py | 50 | Load and process the csv file. Args: file_path: Path to the file to load encod | STRING |
| HIGH | cognee/infrastructure/loaders/core/audio_loader.py | 69 | Load and process the audio file. Args: file_path: Path to the file to load **k | STRING |
| HIGH | cognee/infrastructure/loaders/core/image_loader.py | 88 | Transcribe the image and return the extracted text. When IMAGE_EXIF_ENABLED=true, extracts EXIF metada | STRING |
| HIGH | cognee/infrastructure/loaders/core/text_loader.py | 57 | Load and process the text file. Args: file_path: Path to the file to load enco | STRING |
| HIGH | …frastructure/loaders/external/beautiful_soup_loader.py | 235 | Normalize an extraction rule to an ExtractionRule dataclass. Args: rule: A string (CSS selector) or | STRING |
| HIGH | …frastructure/loaders/external/beautiful_soup_loader.py | 265 | Extract content from a BeautifulSoup parsed document. Args: soup: BeautifulSoup parsed document. | STRING |
| HIGH | cognee/infrastructure/loaders/external/pypdf_loader.py | 40 | Load PDF file and extract text content. Args: file_path: Path to the PDF file | STRING |
| HIGH | …infrastructure/loaders/external/unstructured_loader.py | 77 | Load document using unstructured library. Args: file_path: Path to the document file | STRING |
| HIGH | cognee/modules/tools/execute_tool.py | 38 | Execute a tool call with permission and scope enforcement. Args: user: Authenticated user; permission | STRING |
| HIGH | …gnee/modules/ontology/get_default_ontology_resolver.py | 67 | Create and return an ontology resolver instance based on environment parameters. Currently, this function supp | STRING |
| HIGH | cognee/modules/search/methods/search.py | 80 | Run one search type over the datasets a user may read and return per-dataset results. This is the internal entry po | STRING |
| HIGH | …ules/retrieval/utils/description_to_codepart_search.py | 29 | Maps a code description query to relevant code parts using a CodeGraph pipeline. Args: query (str): Th | STRING |
| HIGH | …les/users/capabilities/methods/get_capability_scope.py | 13 | Work out which tenant a capability change on this principal targets. Derived when the principal carrie | STRING |
| HIGH | …ities/methods/authorized_get_effective_capabilities.py | 10 | Return the capabilities the requester has in a tenant they belong to. Capabilities are tenant-scoped a | STRING |
| HIGH | cognee/modules/users/roles/methods/create_role.py | 18 | Create a new role with the given name in the request owner's current tenant, if they can manage users i | STRING |
| HIGH | cognee/modules/users/roles/methods/add_user_to_role.py | 28 | Add a user with the given id to the role with the given id, if the request owner can manage users in th | STRING |
| HIGH | …/permissions/methods/has_user_management_permission.py | 10 | Check if requester is allowed to manage users for a tenant. The requester is allowed if they hold the MANAGE_U | STRING |
| HIGH | …rmissions/methods/authorized_get_principal_datasets.py | 21 | Return the datasets a principal holds a permission on, if the requester is allowed to ask about that pr | STRING |
| HIGH | …ules/users/permissions/methods/has_grant_permission.py | 16 | Check if requester holds a capability in a tenant. The requester is allowed if the capability was granted to t | STRING |
| HIGH | …users/permissions/methods/require_tenant_membership.py | 12 | Assert that the user belongs to the tenant, for endpoints that take a tenant_id straight from the reque | STRING |
| HIGH | …ee/modules/users/tenants/methods/add_user_to_tenant.py | 20 | Add a user with the given id to the tenant with the given id. This can only be successful if the reques | STRING |
| HIGH | cognee/modules/sync/methods/update_sync_operation.py | 16 | Retry database operations with exponential backoff for transient failures. Args: operation_func: Async | STRING |
| HIGH | cognee/modules/data/methods/get_data.py | 19 | Retrieve data by ID. Every id ever issued keeps resolving. With ``dataset_id`` the lookup is precise: exact id | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 81 | # onnxruntime 1.23.2 only ships wheels through cp313; cp314 wheels start | COMMENT |
| LOW | pyproject.toml | 301 | [tool.uv] | COMMENT |
| LOW | slack-app-manifest.yml | 1 | # Slack app manifest for the Cognee Slack integration. | COMMENT |
| LOW | slack-app-manifest.yml | 21 | # http://localhost:3000. | COMMENT |
| LOW | docker-compose.yml | 81 | # Same storage volumes as the main service: shared memory between the | COMMENT |
| LOW | entrypoint.sh | 21 | # initial revision carries the frozen base schema — no stamp is written; | COMMENT |
| LOW | cognee/base_config.py | 41 | # Deliberately higher than the 0.1 used for global feedback_weight: a global | COMMENT |
| LOW | cognee/alembic.ini | 1 | # A generic, single database configuration. | COMMENT |
| LOW | cognee/alembic.ini | 21 | # Any required deps can installed by adding `alembic[tz]` to the pip requirements | COMMENT |
| LOW | cognee/alembic.ini | 41 | # The path separator used here should be the separator specified by "version_path_separator" below. | COMMENT |
| LOW | cognee/alembic.ini | 61 | # are written from script.py.mako | COMMENT |
| LOW | cognee/context_global_variables.py | 221 | except BaseException: | COMMENT |
| LOW | …ks/memify/consolidate_entity_descriptions/constants.py | 21 | # One cap per job, because the three jobs bound different things. | COMMENT |
| LOW | …ks/memify/consolidate_entity_descriptions/constants.py | 41 | # type summary and the merge - returns one short paragraph (~500 chars, ~125 | COMMENT |
| LOW | cognee/tasks/ingestion/save_data_item_to_storage.py | 101 | elif ( | COMMENT |
| LOW | cognee/tasks/ingestion/resolve_dlt_sources.py | 281 | # failed between deletion and commit, the orphans would be gone and the | COMMENT |
| LOW | cognee/tasks/ingestion/resolve_dlt_sources.py | 921 | # datasets.delete_data routing). Without it, cleanup resolves the *default* | COMMENT |
| LOW | cognee/tasks/ingestion/config.py | 1 | from functools import lru_cache | COMMENT |
| LOW | cognee/tasks/ingestion/config.py | 21 | # Env: DLT_COLUMN_VALUE_COLUMNS as JSON, or add(..., column_value_columns=...). | COMMENT |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 701 | # Opt into the document ingestion path: each file row (id/title/content/url) | COMMENT |
| LOW | cognee/tasks/graph/gliner_demo/extractor.py | 81 | COMMENT | |
| LOW | cognee/tasks/storage/add_data_points.py | 141 | else: | COMMENT |
| LOW | cognee/tasks/storage/add_data_points.py | 201 | await session.commit() | COMMENT |
| LOW | cognee/tasks/code_graph/code_files.py | 21 | COMMENT | |
| LOW | cognee/tests/unit/infrastructure/llm/test_llm_config.py | 201 | # Adapters now derive their default from the table. OpenAIAdapter is used | COMMENT |
| LOW | cognee/tests/e2e/bundled_extension/run_offline_e2e.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | cognee/shared/utils.py | 121 | return persistent_id | COMMENT |
| LOW | cognee/shared/utils.py | 661 | # No running event loop (shutdown, sync context, etc.) — telemetry is | COMMENT |
| LOW | cognee/shared/logging_utils.py | 161 | self.stream = self._open() | COMMENT |
| LOW | cognee/exceptions/remediation.py | 41 | from __future__ import annotations | COMMENT |
| LOW | cognee/api/client.py | 81 | # Keeps the WebSocket ?token= auth fallback out of uvicorn's own access/error | COMMENT |
| LOW | cognee/api/v1/update/incremental.py | 621 | COMMENT | |
| LOW | cognee/api/v1/update/incremental.py | 1061 | for chunk_id, index in plan.reused.items() | COMMENT |
| LOW | cognee/api/v1/responses/default_tools.py | 121 | }, | COMMENT |
| LOW | cognee/api/v1/visualize/live_updates.py | 81 | # that. Not single-flighted: a handful of connections racing a cache refresh | COMMENT |
| LOW | cognee/api/v1/visualize/memory_provenance.py | 801 | # A dataset scope is a caller who may read only some of the workspace, | COMMENT |
| LOW | cognee/api/v1/cognify/cognify.py | 481 | # requires — DLT-source manifests run the deterministic DLT list, code | COMMENT |
| LOW | cognee/api/v1/recall/recall.py | 461 | COMMENT | |
| LOW | cognee/api/v1/recall/query_router.py | 61 | # `for` takes a quantity as readily as a date (`for 2000 users`, `for 1500 | COMMENT |
| LOW | …api/v1/integrations/routers/get_integrations_router.py | 301 | # so a relayed authorize link completed by somebody else is refused instead of | COMMENT |
| LOW | cognee/api/v1/serve/cloud_client.py | 61 | self.service_url = service_url.rstrip("/") | COMMENT |
| LOW | cognee/alembic/env.py | 21 | # This line sets up loggers basically. Programmatic invocations (cognee's | COMMENT |
| LOW | cognee/infrastructure/locks/session_lock.py | 101 | yield | COMMENT |
| LOW | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 121 | # deadlock against another reader's lock. Because cognify() fans | COMMENT |
| LOW | …e/infrastructure/databases/graph/graph_db_interface.py | 121 | ``supports_incremental_chunk_updates``. A new backend also needs a | COMMENT |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 61 | # Rows per bulk MERGE statement (same convention as the Postgres/Turso | COMMENT |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 381 | # this — see ``close()``'s docstring for the cross-loop reason. | COMMENT |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 701 | # Submit + check-closed atomically under | COMMENT |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 961 | # Idempotent — a second close() sees the flag and returns. | COMMENT |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 3561 | COMMENT | |
| LOW | …tabases/graph/ladybug/LadybugDatasetDatabaseHandler.py | 61 | base_config.system_root_directory, "databases", str(dataset_database.owner_id) | COMMENT |
| LOW | …abases/graph/turso/TursoGraphDatasetDatabaseHandler.py | 81 | # handler name by apply_database_context_variables) differs from the | COMMENT |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 61 | # ------------------------------------------------------------------ | COMMENT |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 601 | return await self.query(query, params) | COMMENT |
| LOW | …ture/databases/utils/get_or_create_dataset_database.py | 101 | if existing_dataset_database: | COMMENT |
| LOW | …ee/infrastructure/databases/utils/closing_lru_cache.py | 141 | COMMENT | |
| LOW | …ee/infrastructure/databases/utils/closing_lru_cache.py | 281 | # ``logger.warning`` channel as the ``asyncio.run()`` branch. Without | COMMENT |
| LOW | …ee/infrastructure/databases/utils/closing_lru_cache.py | 501 | self._lock = Lock() | COMMENT |
| LOW | …ee/infrastructure/databases/utils/closing_lru_cache.py | 701 | asyncio.get_running_loop() | COMMENT |
| LOW | …nfrastructure/databases/vector/create_vector_engine.py | 321 | # ``.aevict_for_database``. | COMMENT |
| 210 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tasks/codingagents/coding_rule_associations.py | 55 | CODE | |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 101 | CODE | |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 15 | CODE | |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 177 | CODE | |
| LOW | cognee/tasks/memify/consolidate_entities.py | 96 | CODE | |
| LOW | cognee/tasks/memify/consolidate_entities.py | 134 | CODE | |
| LOW | cognee/tasks/memify/apply_feedback_weights.py | 108 | CODE | |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 14 | CODE | |
| LOW | …fy/consolidate_entity_descriptions/rewrite_entities.py | 50 | CODE | |
| LOW | …ify/global_context_index/bucketing/vector/placement.py | 179 | CODE | |
| LOW | cognee/tasks/ingestion/save_data_item_to_storage.py | 49 | CODE | |
| LOW | cognee/tasks/ingestion/resolve_dlt_sources.py | 341 | CODE | |
| LOW | cognee/tasks/ingestion/extract_dlt_source_edges.py | 24 | CODE | |
| LOW | cognee/tasks/ingestion/resolve_data_directories.py | 24 | CODE | |
| LOW | cognee/tasks/ingestion/ingest_data.py | 143 | CODE | |
| LOW | cognee/tasks/ingestion/ingest_data.py | 181 | CODE | |
| LOW | cognee/tasks/ingestion/data_item_to_text_file.py | 48 | CODE | |
| LOW | cognee/tasks/ingestion/migrate_relational_database.py | 155 | CODE | |
| LOW | cognee/tasks/ingestion/connectors/linear.py | 463 | CODE | |
| LOW | cognee/tasks/ingestion/connectors/gmail.py | 447 | CODE | |
| LOW | cognee/tasks/ingestion/connectors/notion.py | 321 | CODE | |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 262 | CODE | |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 364 | CODE | |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 328 | CODE | |
| LOW | cognee/tasks/web_scraper/utils.py | 21 | CODE | |
| LOW | cognee/tasks/presort/check_cognee_status.py | 25 | CODE | |
| LOW | cognee/tasks/presort/relations.py | 202 | CODE | |
| LOW | cognee/tasks/presort/group_files.py | 141 | CODE | |
| LOW | cognee/tasks/graph/gliner_demo/mapping.py | 104 | CODE | |
| LOW | cognee/tasks/storage/add_data_points.py | 70 | CODE | |
| LOW | cognee/tasks/storage/chunk_ownership.py | 142 | CODE | |
| LOW | cognee/tasks/chunks/chunk_by_sentence.py | 37 | CODE | |
| LOW | cognee/tasks/provenance/record_provenance.py | 99 | CODE | |
| LOW | cognee/tasks/code_graph/code_repo.py | 167 | CODE | |
| LOW | cognee/tasks/code_graph/enola.py | 339 | CODE | |
| LOW | cognee/tasks/code_graph/extract_code_graph.py | 359 | CODE | |
| LOW | cognee/tests/test_relational_db_migration.py | 49 | CODE | |
| LOW | cognee/tests/test_relational_db_migration.py | 215 | CODE | |
| LOW | cognee/tests/test_incremental_update_stress.py | 373 | CODE | |
| LOW | cognee/tests/test_release_multi_user_e2e.py | 501 | CODE | |
| LOW | cognee/tests/unit/test_telemetry_aggregate_extract.py | 354 | CODE | |
| LOW | …ee/tests/unit/exceptions/test_cognee_error_contract.py | 120 | CODE | |
| LOW | …ee/tests/unit/api/test_cognee_api_error_propagation.py | 70 | CODE | |
| LOW | …e/tests/unit/infrastructure/llm/test_litellm_native.py | 213 | CODE | |
| LOW | …sts/unit/modules/chunking/test_incremental_chunking.py | 83 | CODE | |
| LOW | …sts/unit/modules/chunking/test_incremental_chunking.py | 155 | CODE | |
| LOW | cognee/tests/unit/modules/chunking/test_diff_spans.py | 102 | CODE | |
| LOW | …infrastructure/session/test_session_sdk_integration.py | 60 | CODE | |
| LOW | cognee/tests/utils/filter_overlapping_entities.py | 1 | CODE | |
| LOW | cognee/tests/utils/filter_overlapping_relationships.py | 4 | CODE | |
| LOW | cognee/tests/journeys/_support.py | 98 | CODE | |
| LOW | cognee/tests/journeys/_support.py | 289 | CODE | |
| LOW | cognee/tests/journeys/_support.py | 109 | CODE | |
| LOW | cognee/tests/performance/locust_performance_analysis.py | 321 | CODE | |
| LOW | cognee/tests/performance/batch_add_cognify_test.py | 105 | CODE | |
| LOW | …ests/performance/statistics_percentile/capture_mock.py | 82 | CODE | |
| LOW | …ests/performance/statistics_percentile/bench_cognee.py | 490 | CODE | |
| LOW | …ests/performance/statistics_percentile/bench_cognee.py | 656 | CODE | |
| LOW | …ests/performance/statistics_percentile/bench_cognee.py | 722 | CODE | |
| LOW | …ts/e2e/incremental_update/test_chunk_ownership_refs.py | 115 | CODE | |
| 212 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sks/memify/consolidate_entity_descriptions/__init__.py | 5 | __all__ = [ | CODE |
| LOW | …s/memify/consolidate_entity_descriptions/type_links.py | 53 | def set_type_links(entity: Entity, entity_types: list[EntityType]) -> None: | CODE |
| LOW | cognee/tasks/memify/global_context_index/__init__.py | 4 | __all__ = ["extract_global_context_index_input", "update_global_context_index"] | CODE |
| LOW | …e/tasks/ingestion/refuse_changed_existing_documents.py | 135 | __all__ = ["refuse_changed_existing_documents"] | CODE |
| LOW | cognee/tasks/ingestion/migrate_relational_database.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tasks/ingestion/connectors/linear.py | 65 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tasks/ingestion/connectors/__init__.py | 14 | __all__ = [ | CODE |
| LOW | cognee/tasks/web_scraper/__init__.py | 29 | __all__ = [ | CODE |
| LOW | cognee/tasks/translation/__init__.py | 67 | __all__ = [ | CODE |
| LOW | cognee/tasks/translation/providers/__init__.py | 6 | __all__ = [ | CODE |
| LOW | cognee/tasks/presort/__init__.py | 29 | __all__ = [ | CODE |
| LOW | cognee/tasks/graph/gliner_demo/__init__.py | 55 | __all__ = [ | CODE |
| LOW | cognee/tasks/storage/close_node.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tasks/provenance/__init__.py | 3 | __all__ = ["record_provenance"] | CODE |
| LOW | cognee/tasks/documents/extract_chunks_from_documents.py | 17 | async def update_document_token_count(document_id: UUID, token_count: int) -> None: | CODE |
| LOW | cognee/memory/__init__.py | 11 | __all__ = [ | CODE |
| LOW | cognee/tests/test_chunk_associations.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tests/test_incremental_update_stress.py | 97 | def _setup_environment() -> None: | CODE |
| LOW | cognee/tests/test_delete_by_id.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tests/test_search_db.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tests/test_agent_memory_e2e.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tests/test_subprocess_rss.py | 114 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tests/test_usage_logger_e2e.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tests/test_permissions.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | cognee/tests/unit/conftest.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tests/unit/processing/chunks/test_input.py | 112 | __all__ = ["pad"] | CODE |
| LOW | …ee/tests/unit/exceptions/test_cognee_error_contract.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/tests/unit/infrastructure/test_rate_limiting_retry.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ucture/databases/test_subprocess_session_concurrent.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tructure/databases/test_subprocess_session_failures.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ucture/databases/test_index_schema_reference_fields.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ses/provenance/test_unified_graph_provenance_delete.py | 136 | async def set_graph_metadata(self, metadata: dict[str, str]) -> None: | CODE |
| LOW⚡ | cognee/tests/unit/modules/graph/test_graph_methods.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …ests/unit/modules/observability/test_memory_semconv.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …dules/retrieval/graph_completion_retriever_cot_test.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ests/unit/modules/retrieval/temporal_retriever_test.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …e/tests/integration/tasks/test_dlt_background_mixed.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tests/integration/tasks/test_add_data_points.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/integration/tasks/test_cognify_rollback_recovery.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | …integration/tasks/test_timestamp_datapoints_storage.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …gration/tasks/test_consolidate_entities_integration.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ntegration/tasks/test_add_foreground_orphan_cleanup.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nee/tests/integration/tasks/test_add_s3_call_counts.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ntegration/tasks/test_dlt_orphan_graph_vector_purge.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | …e/tests/integration/tasks/test_dlt_csv_loader_route.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ests/integration/tasks/test_dlt_stable_id_reprocess.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/integration/shared/test_usage_logger_integration.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …integration/retrieval/test_rag_completion_retriever.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tests/integration/retrieval/test_temporal_retriever.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …l/test_graph_completion_retriever_context_extension.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/tests/integration/retrieval/test_triplet_retriever.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tegration/retrieval/test_graph_completion_retriever.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ieval/test_graph_completion_decomposition_retriever.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ests/integration/retrieval/test_only_context_prompt.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/tests/integration/retrieval/test_structured_output.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ests/integration/retrieval/test_summaries_retriever.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rieval/test_brute_force_triplet_search_with_cognify.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …e/tests/integration/retrieval/test_chunks_retriever.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nee/tests/integration/retrieval/test_bm25_retriever.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ation/retrieval/test_graph_completion_retriever_cot.py | 13 | logger = logging.getLogger(__name__) | CODE |
| 179 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cognee/tasks/ingestion/migrate_relational_database.py | 33 | # Create a mapping of node_id to node objects for referencing in edge creation | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/migrate_relational_database.py | 157 | # Create a mapping of node_id to node objects for referencing in edge creation | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/migrate_relational_database.py | 163 | # Create a TableType node for each table | COMMENT |
| MEDIUM | cognee/tasks/ingestion/migrate_relational_database.py | 193 | # Create a node ID in the format "table_name:primary_key_value" | COMMENT |
| MEDIUM | cognee/tasks/ingestion/migrate_relational_database.py | 196 | # Create a TableRow node | COMMENT |
| MEDIUM | cognee/tests/test_custom_data_label.py | 9 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | cognee/tests/test_delete_data_and_dataset_if_empty.py | 41 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | cognee/tests/test_relational_db_migration.py | 56 | # Create the dataset so search can find it by name | COMMENT |
| MEDIUM | cognee/tests/test_graph_visualization_permissions.py | 125 | # Create a user without any permissions to the dataset | COMMENT |
| MEDIUM | cognee/tests/test_graph_model_from_schema.py | 13 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | cognee/tests/test_graph_model_from_schema.py | 26 | # Define a custom graph model for programming languages. | COMMENT |
| MEDIUM | cognee/tests/test_custom_model.py | 15 | # Define a custom graph model for programming languages. | COMMENT |
| MEDIUM | cognee/tests/test_dataset_database_handler.py | 93 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | cognee/tests/test_dataset_delete.py | 37 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | cognee/tests/test_multi_tenancy.py | 17 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | …unit/entity_extraction/regex_entity_extraction_test.py | 268 | # Create a minimal test config file | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_health_checker.py | 18 | # Create a dummy file that simulates existing user data that happens to be named "health_check_test" | COMMENT |
| MEDIUM | …sts/unit/infrastructure/databases/test_rate_limiter.py | 108 | # Create a fresh instance | COMMENT |
| MEDIUM | …sts/unit/infrastructure/databases/test_rate_limiter.py | 129 | # Create a fresh instance | COMMENT |
| MEDIUM | …bases/vector/test_lancedb_external_metadata_payload.py | 75 | # Create the table first, as the storage task does before indexing. | COMMENT |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 169 | # Create a second edge for extension rounds | COMMENT |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 633 | # Create a second edge for extension rounds | COMMENT |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 882 | # Create a second edge for extension rounds | COMMENT |
| MEDIUM⚡ | …t/modules/retrieval/test_brute_force_triplet_search.py | 575 | # Create a mock fragment that will raise EntityNotFoundError when project_graph_from_db is called | COMMENT |
| MEDIUM | …gnee/tests/tasks/translation/translate_content_test.py | 23 | # Create a minimal Document for the is_part_of field | COMMENT |
| MEDIUM | …/tests/cli_tests/cli_unit_tests/test_cli_edge_cases.py | 27 | # Create an event loop and run the coroutine | COMMENT |
| MEDIUM | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 30 | # Create an event loop and run the coroutine | COMMENT |
| MEDIUM | cognee/tests/api/test_backend_auth.py | 74 | # Create an API key using the bearer token | COMMENT |
| MEDIUM | cognee/tests/api/test_backend_auth.py | 161 | # Create an API key with HASH_API_KEY=True active | COMMENT |
| MEDIUM | cognee/tests/e2e/postgres/test_postgres_adapter.py | 629 | # Create a fake type with __name__ == "Entity" | COMMENT |
| MEDIUM | cognee/shared/graph_model_utils.py | 116 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | cognee/shared/graph_model_utils.py | 129 | # Define a custom graph model for programming languages. | COMMENT |
| MEDIUM | cognee/shared/utils.py | 713 | # Create the server | COMMENT |
| MEDIUM | cognee/shared/logging_utils.py | 205 | # Create the log entry | COMMENT |
| MEDIUM | cognee/shared/logging_utils.py | 579 | # Create a new log file name with the cognee start time | COMMENT |
| MEDIUM | …eval_framework/benchmark_adapters/hotpot_qa_adapter.py | 27 | # Create a mapping of title to sentences for easy lookup | COMMENT |
| MEDIUM | cognee/api/v1/ui/node_setup.py | 99 | # Create a temporary script file | COMMENT |
| MEDIUM | cognee/api/v1/ui/ui.py | 251 | # Create a temporary directory for download | COMMENT |
| MEDIUM | cognee/api/v1/config/config.py | 1 | """This module is used to set the configuration of the system.""" | STRING |
| MEDIUM | cognee/api/v1/responses/routers/get_responses_router.py | 137 | # Create a format the dispatcher can handle | COMMENT |
| MEDIUM | cognee/api/v1/responses/routers/get_responses_router.py | 165 | # Create the response object with all processed tool calls | COMMENT |
| MEDIUM | cognee/api/v1/agents/agents.py | 52 | # Create an agent with read/write on a dataset | STRING |
| MEDIUM | cognee/api/v1/serve/management_api.py | 145 | # Create a new key with retries | COMMENT |
| MEDIUM | cognee/api/v1/sync/sync.py | 731 | # Create a temporary file-like object from the bytes | COMMENT |
| MEDIUM⚡ | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 530 | # Create a MetaData instance to load table information | COMMENT |
| MEDIUM⚡ | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 534 | # Define the full table name | COMMENT |
| MEDIUM | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 773 | # Create a MetaData instance to load table information | COMMENT |
| MEDIUM | cognee/infrastructure/databases/dataset_queue/queue.py | 210 | # Create the slot dict for this task up front so callers can write | COMMENT |
| MEDIUM | …gres_demo/PostgresGraphSharedDatasetDatabaseHandler.py | 58 | # Create the graph tables inside the dataset schema. The engine is pinned | COMMENT |
| MEDIUM | …frastructure/databases/graph/neptune_driver/adapter.py | 601 | # Create the bulk-edge OpenCypher query using UNWIND | STRING |
| MEDIUM | …ector/pgvector/PGVectorSharedDatasetDatabaseHandler.py | 54 | # Create the dataset schema (and ensure the pgvector extension exists) in | COMMENT |
| MEDIUM | …utput_framework/litellm_instructor/llm/rate_limiter.py | 163 | # Create a fresh rate limit item for each check | COMMENT |
| MEDIUM | …put_framework/litellm_instructor/llm/get_llm_client.py | 72 | # Define an Enum for LLM Providers | COMMENT |
| MEDIUM | cognee/modules/storage/utils/__init__.py | 49 | # Create a base class with the same configuration as DataPoint | COMMENT |
| MEDIUM | cognee/modules/storage/utils/__init__.py | 53 | # Create the model inheriting from the configured base | COMMENT |
| MEDIUM | …/old/hotpot_qa_24_2025/src/analysis/analyze_results.py | 52 | # Create a copy with just the metric mean, sorted descending | COMMENT |
| MEDIUM | …ls/old/hotpot_qa_24_2025/src/qa/qa_benchmark_cognee.py | 94 | # Create a clean slate for cognee | COMMENT |
| MEDIUM | evals/old/mem0_01042025/hotpot_qa_mem0.py | 30 | # Create a conversation that includes the document content | COMMENT |
| MEDIUM | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 540 | "# Create an API key", | CODE |
| MEDIUM | cognee-starter-kit/src/pipelines/custom-model.py | 31 | # Define a custom graph model for programming languages. | COMMENT |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cognee/tasks/ingestion/exceptions/exceptions.py | 88 | 'external_metadata must be a JSON array of objects, e.g. [{"source": "crm"}, null].' | CODE |
| HIGH | cognee/tests/test_neptune_analytics_vector.py | 126 | # Always return true | COMMENT |
| HIGH | cognee/tests/unit/test_litellm_embedding_sanitize.py | 84 | # drives this through its OpenAI handler (the branch that injected the null), | COMMENT |
| HIGH | cognee/tests/unit/api/v1/test_add_remember_label.py | 8 | ('[{"source": "crm"}, null]'), which Swagger transmits intact. Entries pair | STRING |
| HIGH | cognee/tests/unit/api/v1/test_add_remember_label.py | 285 | "external_metadata": '[{"source": "crm", "ticket": 42}, null]', | CODE |
| HIGH | cognee/tests/unit/migration/test_export_roundtrip.py | 331 | ``COGXArchiveSource`` — the path ``cognee.push()`` and restore actually use. | STRING |
| HIGH | cognee/tests/unit/migration/test_push.py | 297 | result = asyncio.run(push_module.push("main_dataset", mode="hybrid")) | CODE |
| HIGH | cognee/tests/unit/migration/test_push.py | 331 | result = asyncio.run(push_module.push("local_name", target_dataset="remote_name")) | CODE |
| HIGH | cognee/tests/unit/migration/test_push.py | 350 | asyncio.run(push_module.push("main_dataset")) | CODE |
| HIGH | cognee/tests/unit/migration/test_push.py | 368 | asyncio.run(push_module.push("main_dataset")) | CODE |
| HIGH | cognee/tests/unit/migration/test_push.py | 392 | result = asyncio.run(push_module.push("main_dataset")) | CODE |
| HIGH | cognee/tests/unit/migration/test_push.py | 1 | """Unit tests for cognee.push() and the COGX archive transport helpers. | STRING |
| HIGH | …gnee/tests/e2e/temporal/test_timestamp_range_lookup.py | 221 | carry the field and some do not (or store null). Both lookups must still run | STRING |
| HIGH | …gnee/tests/e2e/temporal/test_timestamp_range_lookup.py | 249 | # And a stored JSON null, the shape a non-int time_at produces through the model. | COMMENT |
| HIGH | cognee/cli/commands/push_command.py | 100 | return await cognee.push( | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 88 | - **kind** (str): `"pipeline"` or `"operation"` (never null). | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 89 | - **operation_name** (str|null): Operation name; for pipeline rows this | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 91 | - **origin** (str|null): Initiating surface — `sdk`/`api`/`cli`/`mcp`/`background`. | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 92 | - **outcome** (str|null): `"succeeded"` / `"failed"` / `"noop"` (the call ran | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 98 | - **background** (bool|null): True when the call launched background work. | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 100 | - **error_class** (str|null): Exception class name when `outcome="failed"`. | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 101 | - **tokens_in** / **tokens_out** (int|null): Provider-billed token counts. | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 103 | - **started_at** / **ended_at** (str|null): ISO-8601 timestamps. | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 104 | - **user_id** (str|null): Triggering user. | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 105 | - **session_id** (str|null): Session-cache id; joins `session_model_usage`. | STRING |
| HIGH⚡ | cognee/api/v1/activity/routers/get_activity_router.py | 106 | - **parent_operation_id** (str|null): Parent's `pipeline_run_id`. | STRING |
| HIGH | cognee/api/v1/visualize/live_updates.py | 208 | - ``{"kind": "ready", "dataset_id": str, "cursor": str | null}`` — once, | STRING |
| HIGH | cognee/api/v1/recall/routers/get_recall_router.py | 33 | "Omit (or pass null) to let cognee auto-route the query (rule-based, no LLM " | CODE |
| HIGH | cognee/api/v1/recall/routers/get_recall_router.py | 42 | "Dataset names to search within. Omit (null) to search all datasets " | CODE |
| HIGH | cognee/api/v1/recall/routers/get_recall_router.py | 229 | (default: null) to auto-route the query with the rule-based router | STRING |
| HIGH | cognee/api/v1/push/push.py | 27 | """Outcome of a ``cognee.push()`` call.""" | STRING |
| HIGH | cognee/api/v1/add/routers/get_add_router.py | 83 | '[{"source": "crm", "ticket": 42}, null]. Paired positionally like labels: ' | CODE |
| HIGH | cognee/api/v1/add/routers/get_add_router.py | 132 | e.g. [{"source": "crm"}, null], paired positionally with the data items | STRING |
| HIGH | cognee/api/v1/users/routers/get_visualize_router.py | 682 | - `{"kind": "ready", "dataset_id": str, "cursor": str | null}` — sent | STRING |
| HIGH | cognee/api/v1/remember/remember.py | 1053 | "cognee.push() to upload the data to the remote instance." | CODE |
| HIGH | cognee/api/v1/remember/routers/get_remember_router.py | 41 | """Import uploaded COGX archive tarballs (produced by ``cognee.push()``).""" | STRING |
| HIGH | cognee/api/v1/remember/routers/get_remember_router.py | 157 | '[{"source": "crm", "ticket": 42}, null]. Paired positionally like labels: ' | CODE |
| HIGH | cognee/api/v1/remember/routers/get_remember_router.py | 326 | e.g. [{"source": "crm"}, null], paired positionally with the uploaded files | STRING |
| HIGH | …/databases/vector/embeddings/LiteLLMEmbeddingEngine.py | 226 | # Older LiteLLM releases serialize an omitted encoding format as null, | COMMENT |
| HIGH | cognee/modules/session_lifecycle/metrics.py | 148 | """Attribute an existing session to an agent connection (fill-if-null). | STRING |
| HIGH⚡ | cognee/modules/agents/registry.py | 181 | # (fill-if-null), so agent↔session attribution survives registry | COMMENT |
| HIGH | cognee/modules/retrieval/utils/references.py | 179 | Missing, null, non-string, or empty/whitespace-only values are treated as | STRING |
| HIGH | cognee/modules/retrieval/temporal_hybrid/matching.py | 23 | - "Until X", "through X", "up to X" include X: start null, end at X's upper bound. | CODE |
| HIGH | cognee/modules/migration/archive.py | 6 | ``cognee.push()`` on the sending side and the remember endpoint on the | STRING |
| HIGH | cognee/modules/migration/sources/cogx_archive.py | 24 | zero-LLM — matching the default of ``cognee.push()`` and the remember | STRING |
| HIGH | distributed/deploy/modal_app.py | 10 | 1. pip install modal && modal setup | STRING |
| HIGH⚡ | distributed/deploy/daytona_sandbox.py | 100 | sandbox.process.exec("pkill -f uvicorn || true", timeout=5) | CODE |
| HIGH | …docker-sandbox-kit/brainbox/tasks/code_architecture.py | 10 | 3. promote — `cognee.push(...)`: export the local graph as a COGX archive and | STRING |
| HIGH | …docker-sandbox-kit/brainbox/tasks/code_architecture.py | 115 | pushed = await cognee.push(args.dataset, target_dataset=args.target, mode="preserve") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tasks/graph/gliner_demo/schema.py | 176 | # Step 2: ontology | COMMENT |
| LOW | cognee/tasks/graph/gliner_demo/schema.py | 265 | # Step 3: label bank probe | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 162 | # Step 1: Upload two ontologies (one-by-one) | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 191 | # Step 2: Verify ontologies are listed | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 198 | # Step 3: Test cognify with multiple ontologies | COMMENT |
| LOW⚡ | cognee/eval_framework/run_beam_eval.py | 49 | # Step 1: Build corpus (ingest conversation into cognee) | COMMENT |
| LOW⚡ | cognee/eval_framework/run_beam_eval.py | 55 | # Step 2: Answer probing questions (routed by question type) | COMMENT |
| LOW⚡ | cognee/eval_framework/run_beam_eval.py | 59 | # Step 3: Evaluate with rubric metric | COMMENT |
| LOW⚡ | cognee/eval_framework/run_beam_eval.py | 63 | # Step 4: Dashboard | COMMENT |
| LOW⚡ | …nee/eval_framework/evaluation/run_evaluation_module.py | 63 | # Step 1: Evaluate answers if requested | COMMENT |
| LOW⚡ | …nee/eval_framework/evaluation/run_evaluation_module.py | 69 | # Step 2: Calculate metrics if requested | COMMENT |
| LOW⚡ | cognee/api/v1/add/add.py | 157 | # Step 1: Add your data (text content or file path) | STRING |
| LOW⚡ | cognee/api/v1/add/add.py | 162 | # Step 2: Process into knowledge graph | STRING |
| LOW⚡ | cognee/api/v1/add/add.py | 165 | # Step 3: Search and query | STRING |
| LOW | cognee/api/v1/serve/serve.py | 170 | # Step 1: Check for saved credentials | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 220 | # Step 2: Device Code Flow — only possible with an Auth0 device client ID. | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 264 | # Step 3: Discover or create tenant | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 274 | # Step 4: Get service URL | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 277 | # Step 5: Get or create API key | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 280 | # Step 6: Build credentials — saved in Step 7 only after the tenant | COMMENT |
| LOW | cognee/api/v1/serve/serve.py | 293 | # Step 7: Connect | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 65 | # Step 1: Request device code | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 87 | # Step 2: Show the user what to do | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 98 | # Step 3: Poll for token | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 328 | # Step 2: Trigger cognify processing once for all datasets (only if any files were uploaded) | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 350 | # Step 3: Trigger local cognify processing if any files were downloaded | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 427 | # Step 1: Extract local file info with stored hashes | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 435 | # Step 2: Check what files are missing on cloud | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 448 | # Step 3: Upload files that are missing on cloud | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 456 | # Step 4: Download files that are missing locally | COMMENT |
| LOW | cognee/api/v1/sync/sync.py | 263 | # Step 1: Sync files for all datasets concurrently | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1323 | // Step 1: Collect all nodes | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1327 | // Step 2: Find all connected components | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1337 | // Step 3: Aggregate components | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1340 | // Step 4: Identify the largest connected component | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1347 | // Step 5: Find nodes not in the largest connected component | COMMENT |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1936 | # Step 2: Fetch all nodes | STRING |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1948 | # Step 3: Fetch all edges between collected nodes | STRING |
| LOW⚡ | …frastructure/databases/graph/neptune_driver/adapter.py | 761 | # Step 2: Fetch all nodes | STRING |
| LOW⚡ | …frastructure/databases/graph/neptune_driver/adapter.py | 770 | # Step 3: Fetch all edges between collected nodes | STRING |
| LOW | …frastructure/databases/graph/neptune_driver/adapter.py | 741 | # Step 1: Find all neighbor node IDs within depth hops | STRING |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 224 | # Step 1: accepted learning statements from session_learnings. | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 333 | # Step 3: LOAD nodes — ALL DocumentChunk nodes in the dataset (the chunk | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 407 | # Step 5: PERSIST per-node coordinate vectors at epoch N+1 first ... | COMMENT |
| LOW | cognee/modules/truth_subspace/build.py | 206 | # Step 0: capability gate, before any embedding call. Only Ladybug | COMMENT |
| LOW | cognee/modules/truth_subspace/build.py | 297 | # Step 2: decide the epoch. New centroids are held in memory until the | COMMENT |
| LOW | cognee/modules/truth_subspace/build.py | 373 | # Step 4: EMBED node texts (batched) and compute coords per node at the | COMMENT |
| LOW | cognee/modules/truth_subspace/build.py | 432 | # Step 6: ... and only then move the centroids to N+1. Until this write | COMMENT |
| LOW | cognee/modules/user_preferences/update.py | 272 | # Step 1: advance the clock once for every not-yet-counted turn, rated or not. | COMMENT |
| LOW⚡ | cognee/modules/user_preferences/update.py | 356 | # Step 6: prune whenever the counter moved — the clock advances on unrated | COMMENT |
| LOW | cognee/modules/user_preferences/update.py | 389 | # Step 5: mark processed. update_qa MERGES the metadata dict into the | COMMENT |
| LOW | …rontend/src/app/(setup)/onboarding/ServeOnboarding.tsx | 55 | // Step 1: Verify connection | COMMENT |
| LOW | …rontend/src/app/(setup)/onboarding/ServeOnboarding.tsx | 85 | // Step 2: SDK quickstart | COMMENT |
| LOW | …rontend/src/app/(setup)/onboarding/ServeOnboarding.tsx | 123 | // Step 3: Test from UI | COMMENT |
| LOW | …rontend/src/app/(setup)/onboarding/ServeOnboarding.tsx | 210 | // Step 4: Done | COMMENT |
| LOW⚡ | distributed/deploy/daytona_sandbox.py | 93 | # Step 1: Install Cognee (streamed) | COMMENT |
| LOW⚡ | distributed/deploy/daytona_sandbox.py | 98 | # Step 2: Kill any existing server, then start fresh | COMMENT |
| LOW⚡ | examples/guides/fact_validity.py | 23 | # Step 1: start clean and remember the original fact. | COMMENT |
| LOW⚡ | examples/guides/fact_validity.py | 27 | # Step 2: entity node ids are deterministic — derive Acme's id from its name. | COMMENT |
| LOW⚡ | examples/guides/fact_validity.py | 30 | # Step 3: Alice changes jobs — close the old fact instead of deleting it. | COMMENT |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tasks/graph/gliner_demo/schema.py | 176 | # Step 2: ontology | COMMENT |
| LOW | cognee/tasks/graph/gliner_demo/schema.py | 265 | # Step 3: label bank probe | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 162 | # Step 1: Upload two ontologies (one-by-one) | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 191 | # Step 2: Verify ontologies are listed | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 198 | # Step 3: Test cognify with multiple ontologies | COMMENT |
| LOW⚡ | cognee/eval_framework/run_beam_eval.py | 49 | # Step 1: Build corpus (ingest conversation into cognee) | COMMENT |
| LOW⚡ | cognee/eval_framework/run_beam_eval.py | 55 | # Step 2: Answer probing questions (routed by question type) | COMMENT |
| LOW⚡ | cognee/eval_framework/run_beam_eval.py | 59 | # Step 3: Evaluate with rubric metric | COMMENT |
| LOW⚡ | cognee/eval_framework/run_beam_eval.py | 63 | # Step 4: Dashboard | COMMENT |
| LOW⚡ | …nee/eval_framework/evaluation/run_evaluation_module.py | 63 | # Step 1: Evaluate answers if requested | COMMENT |
| LOW⚡ | …nee/eval_framework/evaluation/run_evaluation_module.py | 69 | # Step 2: Calculate metrics if requested | COMMENT |
| LOW⚡ | cognee/api/v1/add/add.py | 157 | # Step 1: Add your data (text content or file path) | STRING |
| LOW⚡ | cognee/api/v1/add/add.py | 162 | # Step 2: Process into knowledge graph | STRING |
| LOW⚡ | cognee/api/v1/add/add.py | 165 | # Step 3: Search and query | STRING |
| LOW | cognee/api/v1/serve/serve.py | 170 | # Step 1: Check for saved credentials | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 220 | # Step 2: Device Code Flow — only possible with an Auth0 device client ID. | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 264 | # Step 3: Discover or create tenant | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 274 | # Step 4: Get service URL | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 277 | # Step 5: Get or create API key | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 280 | # Step 6: Build credentials — saved in Step 7 only after the tenant | COMMENT |
| LOW | cognee/api/v1/serve/serve.py | 293 | # Step 7: Connect | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 65 | # Step 1: Request device code | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 87 | # Step 2: Show the user what to do | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 98 | # Step 3: Poll for token | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 328 | # Step 2: Trigger cognify processing once for all datasets (only if any files were uploaded) | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 350 | # Step 3: Trigger local cognify processing if any files were downloaded | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 427 | # Step 1: Extract local file info with stored hashes | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 435 | # Step 2: Check what files are missing on cloud | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 448 | # Step 3: Upload files that are missing on cloud | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 456 | # Step 4: Download files that are missing locally | COMMENT |
| LOW | cognee/api/v1/sync/sync.py | 263 | # Step 1: Sync files for all datasets concurrently | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1323 | // Step 1: Collect all nodes | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1327 | // Step 2: Find all connected components | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1337 | // Step 3: Aggregate components | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1340 | // Step 4: Identify the largest connected component | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1347 | // Step 5: Find nodes not in the largest connected component | COMMENT |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1936 | # Step 2: Fetch all nodes | STRING |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1948 | # Step 3: Fetch all edges between collected nodes | STRING |
| LOW⚡ | …frastructure/databases/graph/neptune_driver/adapter.py | 761 | # Step 2: Fetch all nodes | STRING |
| LOW⚡ | …frastructure/databases/graph/neptune_driver/adapter.py | 770 | # Step 3: Fetch all edges between collected nodes | STRING |
| LOW | …frastructure/databases/graph/neptune_driver/adapter.py | 741 | # Step 1: Find all neighbor node IDs within depth hops | STRING |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 224 | # Step 1: accepted learning statements from session_learnings. | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 333 | # Step 3: LOAD nodes — ALL DocumentChunk nodes in the dataset (the chunk | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 407 | # Step 5: PERSIST per-node coordinate vectors at epoch N+1 first ... | COMMENT |
| LOW | cognee/modules/truth_subspace/build.py | 206 | # Step 0: capability gate, before any embedding call. Only Ladybug | COMMENT |
| LOW | cognee/modules/truth_subspace/build.py | 297 | # Step 2: decide the epoch. New centroids are held in memory until the | COMMENT |
| LOW | cognee/modules/truth_subspace/build.py | 373 | # Step 4: EMBED node texts (batched) and compute coords per node at the | COMMENT |
| LOW | cognee/modules/user_preferences/update.py | 272 | # Step 1: advance the clock once for every not-yet-counted turn, rated or not. | COMMENT |
| LOW⚡ | cognee/modules/user_preferences/update.py | 356 | # Step 6: prune whenever the counter moved — the clock advances on unrated | COMMENT |
| LOW | cognee/modules/user_preferences/update.py | 389 | # Step 5: mark processed. update_qa MERGES the metadata dict into the | COMMENT |
| LOW | …rontend/src/app/(setup)/onboarding/ServeOnboarding.tsx | 55 | // Step 1: Verify connection | COMMENT |
| LOW | …rontend/src/app/(setup)/onboarding/ServeOnboarding.tsx | 85 | // Step 2: SDK quickstart | COMMENT |
| LOW | …rontend/src/app/(setup)/onboarding/ServeOnboarding.tsx | 123 | // Step 3: Test from UI | COMMENT |
| LOW | …rontend/src/app/(setup)/onboarding/ServeOnboarding.tsx | 210 | // Step 4: Done | COMMENT |
| LOW⚡ | distributed/deploy/daytona_sandbox.py | 93 | # Step 1: Install Cognee (streamed) | COMMENT |
| LOW⚡ | distributed/deploy/daytona_sandbox.py | 98 | # Step 2: Kill any existing server, then start fresh | COMMENT |
| LOW⚡ | examples/guides/fact_validity.py | 23 | # Step 1: start clean and remember the original fact. | COMMENT |
| LOW⚡ | examples/guides/fact_validity.py | 27 | # Step 2: entity node ids are deterministic — derive Acme's id from its name. | COMMENT |
| LOW⚡ | examples/guides/fact_validity.py | 30 | # Step 3: Alice changes jobs — close the old fact instead of deleting it. | COMMENT |
| LOW⚡ | examples/guides/fact_validity.py | 34 | # Step 4: remember the replacement fact. | COMMENT |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | cognee/tests/unit/eval_framework/test_eval_runner.py | 228 | # Runner orchestration (mocked steps, no LLM/DB) | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/api/v1/validate/test_validate.py | 180 | # NodeSet has no index_fields — it's structural scaffolding, never embedded. | COMMENT |
| MEDIUM | …ests/unit/infrastructure/test_embedding_input_limit.py | 81 | # A TikToken fallback says nothing about the embedding model. | COMMENT |
| MEDIUM⚡ | …tests/unit/modules/visualization/test_subgraph_data.py | 192 | # --- fetch orchestration --------------------------------------------------- | COMMENT |
| MEDIUM | …/unit/modules/retrieval/test_graph_report_retriever.py | 37 | # Membership scaffolding (belongs_to_set -> NodeSet container). | COMMENT |
| MEDIUM | …/unit/modules/retrieval/test_graph_report_retriever.py | 46 | # Structural scaffolding (DERIVED). | COMMENT |
| MEDIUM⚡ | …it/modules/retrieval/test_include_references_wiring.py | 31 | # CompletionRetriever (RAG / chunk evidence) | COMMENT |
| MEDIUM⚡ | cognee/cli/_cognee.py | 372 | # in-process. This is the correct mode for concurrent / multi-agent use | COMMENT |
| MEDIUM | cognee/eval_framework/runner.py | 113 | # seams the tests patch to exercise orchestration without an LLM or database. | COMMENT |
| MEDIUM | …ture/databases/utils/get_or_create_dataset_database.py | 117 | # Record the embedding model that will build this dataset's vectors, so | COMMENT |
| MEDIUM | …rastructure/databases/vector/embeddings/input_limit.py | 28 | # hosted embedding model's limit (OpenAI 8191, Mistral 8192, Voyage 32000) and | COMMENT |
| MEDIUM | …s/vector/embeddings/OpenAICompatibleEmbeddingEngine.py | 190 | # Handle context window exceeded by splitting input | COMMENT |
| MEDIUM | …structure/databases/vector/turso/TursoVectorAdapter.py | 552 | # the graph/RAG hot path wants only id + distance, and payloads are large | COMMENT |
| MEDIUM | cognee/infrastructure/llm/tokenizer/resolver.py | 164 | # (e.g. a newly released embedding model), so guard the "never raises" | COMMENT |
| MEDIUM | cognee/infrastructure/llm/tokenizer/resolver.py | 204 | # override wins, otherwise use the embedding model's own repo. | COMMENT |
| MEDIUM | cognee/modules/search/methods/search.py | 543 | # A populated graph whose retriever still found nothing to search, e.g. RAG's | COMMENT |
| MEDIUM | cognee/modules/retrieval/agentic_retriever.py | 82 | # Answers through a multi-step loop on the agentic templates; the inherited | COMMENT |
| MEDIUM | cognee/modules/retrieval/agentic_retriever.py | 275 | # Ungraded agentic executions use the neutral default score until | COMMENT |
| MEDIUM | cognee/modules/retrieval/graph_report_retriever.py | 118 | # content edges only (drop membership scaffolding). | COMMENT |
| MEDIUM | cognee/modules/retrieval/graph_completion_retriever.py | 142 | # loudly (404 over the API) the same way the RAG retriever raises | COMMENT |
| MEDIUM | cognee/modules/retrieval/base_retriever.py | 38 | # legitimately answer without retrieval context (e.g. tool-driven agentic | COMMENT |
| MEDIUM | cognee/modules/data/deletion/prune_system.py | 58 | # embedding model so the next use does not report a false mismatch. | COMMENT |
| MEDIUM | evals/old/hotpot_50_corpus.json | 1 | ["Lomonosov Moscow State University (MSU; Russian: \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u0433\u | CODE |
| MEDIUM⚡ | evals/old/hotpot_qa_24_2025/src/qa/qa_benchmark_base.py | 101 | # Get answer from RAG system | COMMENT |
| MEDIUM | evals/old/hotpot_qa_24_2025/src/qa/qa_benchmark_base.py | 132 | # Initialize RAG system | COMMENT |
| MEDIUM | evals/old/comparative_eval/hotpot_50_corpus.json | 1 | ["Lomonosov Moscow State University (MSU; Russian: \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u0433\u | CODE |
| MEDIUM | tools/docs_issue_filter.py | 38 | # lists or scaffolding, none of which describe a documentation problem. | COMMENT |
| MEDIUM | docs/recall-vs-search.md | 68 | # Low level: raw SearchResult objects, agentic parameters as keywords. | COMMENT |
| MEDIUM | examples/README.md | 148 | ### [`agentic/`](demos/agentic/) — agents reasoning over memory | COMMENT |
| MEDIUM | …pelines/memify_coding_agent_rule_extraction_example.py | 83 | # Memify accepts these tasks and orchestrates forwarding of graph data through these tasks (if data is not specified | STRING |
| MEDIUM | …ional_database_to_knowledge_graph_migration_example.py | 113 | # the invoices related to the two customers, without any hallucinations or additional information | COMMENT |
| MEDIUM | .github/workflows/e2e_tests.yml | 169 | # Every stored chunk must fit the embedding model's window and be embedded | COMMENT |
| MEDIUM | cognee_db_workers/harness.py | 487 | # prefer the HANDLE-based watchdog (event-driven, immune to PID reuse) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/root_dir.py | 23 | # Check if it's an S3 URL - S3 URLs are absolute by definition | COMMENT |
| LOW | cognee/tasks/ingestion/resolve_data_directories.py | 75 | if isinstance(item, str): # Check if the item is a path | CODE |
| LOW | cognee/tasks/translation/detect_language.py | 145 | # Check if translation is needed | COMMENT |
| LOW | cognee/tasks/translation/providers/llm_provider.py | 139 | # Check if API key is configured (required for most providers) | COMMENT |
| LOW | cognee/tests/test_shared_node_preservation.py | 276 | # Check if Germany is still in vector index | COMMENT |
| LOW | cognee/tests/test_custom_data_label.py | 37 | # Display results | STRING |
| LOW | cognee/tests/test_custom_data_label.py | 53 | # Check if label is properly added and stored | STRING |
| LOW | cognee/tests/test_delete_data_and_dataset_if_empty.py | 79 | # Check if databases are properly created and exist before deletion | STRING |
| LOW | cognee/tests/test_search_db.py | 142 | # Check if Triplet_text collection was created | COMMENT |
| LOW | cognee/tests/test_graph_model_from_schema.py | 65 | # Display results | COMMENT |
| LOW | cognee/tests/test_dataset_database_handler.py | 124 | # Display results | STRING |
| LOW | cognee/tests/test_starter_pipelines.py | 18 | # Check if required environment variables are set | COMMENT |
| LOW | cognee/tests/test_dataset_delete.py | 68 | # Check if databases are properly created and exist before deletion | STRING |
| LOW | cognee/tests/test_cognee_server_start.py | 44 | # Check if server started with errors | COMMENT |
| LOW | …sts/unit/infrastructure/databases/test_rate_limiter.py | 147 | # Print the results | COMMENT |
| LOW | cognee/shared/graph_model_utils.py | 168 | # Display results | COMMENT |
| LOW | cognee/shared/cache.py | 176 | # Check if already cached and valid | COMMENT |
| LOW | cognee/shared/logging_utils.py | 159 | # Check if stream is available before trying to write | COMMENT |
| LOW | cognee/shared/logging_utils.py | 379 | # Check if this is a LiteLLM-related logger | COMMENT |
| LOW | cognee/shared/logging_utils.py | 449 | # Check if there's an exc_info that needs to be processed | COMMENT |
| LOW | cognee/shared/logging_utils.py | 573 | # Check if we already have a log file path from the environment | COMMENT |
| LOW | cognee/api/v1/ui/node_setup.py | 37 | # Check if nvm is available in the shell | COMMENT |
| LOW | cognee/api/v1/ui/node_setup.py | 243 | # Check if nvm is installed | COMMENT |
| LOW | cognee/api/v1/ui/node_setup.py | 333 | # Check if nvm is installed | COMMENT |
| LOW | cognee/api/v1/ui/ui.py | 214 | # Check if already downloaded and up to date | COMMENT |
| LOW | cognee/api/v1/ui/ui.py | 887 | # Check if process is still running | COMMENT |
| LOW | cognee/api/v1/responses/routers/get_responses_router.py | 124 | # Check if there are function tool calls in the output | COMMENT |
| LOW | cognee/api/v1/sync/routers/get_sync_router.py | 112 | # Check if user has any running sync operations | COMMENT |
| LOW | …bic/versions/211ab850ef3d_add_sync_operations_table.py | 25 | # Check if table already exists (it might be created by Base.metadata.create_all() in initial migration) | COMMENT |
| LOW | …s/6ee94db7381f_remove_unique_constraint_tenant_name.py | 81 | # Check if there's a unique index on the name column. If third element in row is 1, it's a unique index | COMMENT |
| LOW | …ons/46a6ce2bd2b2_expand_dataset_database_with_json_.py | 278 | # Check if the constraint covers ONLY the target column | STRING |
| LOW | …ons/46a6ce2bd2b2_expand_dataset_database_with_json_.py | 285 | # Check if the constraint covers ONLY the target column | STRING |
| LOW⚡ | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 539 | # Check if table is in list of tables for the given schema | COMMENT |
| LOW | cognee/infrastructure/databases/graph/config.py | 107 | # Check if absolute path is provided | COMMENT |
| LOW | cognee/infrastructure/llm/config.py | 318 | # Check if BAML is selected as structured output framework but not available | COMMENT |
| LOW | …tructured_output_framework/baml/baml_client/runtime.py | 131 | # Check if already aborted | COMMENT |
| LOW | …tructured_output_framework/baml/baml_client/runtime.py | 160 | # Check if already aborted | COMMENT |
| LOW | …ured_output_framework/baml/baml_client/async_client.py | 87 | # Check if on_tick is provided | COMMENT |
| LOW | …tured_output_framework/baml/baml_client/sync_client.py | 100 | # Check if on_tick is provided | COMMENT |
| LOW | …put_framework/litellm_instructor/llm/get_llm_client.py | 418 | # Check if max_token value is defined in liteLLM for given model | COMMENT |
| LOW | …nfrastructure/llm/extraction/extract_event_entities.py | 31 | # Check if the prompt path is an absolute path or just a filename | COMMENT |
| LOW | …lm/extraction/knowledge_graph/extract_content_graph.py | 37 | # Check if the prompt path is an absolute path or just a filename | COMMENT |
| LOW | …/llm/extraction/knowledge_graph/extract_event_graph.py | 32 | # Check if the prompt path is an absolute path or just a filename | COMMENT |
| LOW | cognee/infrastructure/files/utils/open_data_file.py | 17 | # Check if this is a file URI BEFORE normalizing (which corrupts URIs) | COMMENT |
| LOW | cognee/infrastructure/files/storage/LocalFileStorage.py | 14 | # Check if this is actually a URL (has a scheme like file://, http://, etc.) | COMMENT |
| LOW | cognee/infrastructure/loaders/core/image_loader.py | 117 | # Read file for metadata | COMMENT |
| LOW | …infrastructure/loaders/external/advanced_pdf_loader.py | 90 | # Check if there is any content | COMMENT |
| LOW | …odules/graph/methods/delete_dataset_nodes_and_edges.py | 26 | # Check if user has delete permission for the dataset before proceeding with deletion of related graph/vector nodes | COMMENT |
| LOW | …e/modules/graph/methods/delete_data_nodes_and_edges.py | 37 | # Check if user has delete permissions for the dataset before proceeding with deletion of related graph/vector nodes | COMMENT |
| LOW | …s/search/methods/get_search_type_retriever_instance.py | 431 | # Check if retriever info is found for the given query type | COMMENT |
| LOW | cognee/modules/search/methods/search.py | 336 | # Check if graph for dataset is empty and log warnings if necessary | COMMENT |
| LOW | cognee/modules/retrieval/graph_completion_retriever.py | 152 | # Check if all triplets are empty, in case of batch queries | COMMENT |
| LOW | cognee/modules/retrieval/graph_completion_retriever.py | 269 | # Check if all triplets are empty, in case of batch queries | COMMENT |
| LOW | …modules/users/methods/store_principal_configuration.py | 31 | # Check if a configuration with this name already exists for the principal | COMMENT |
| LOW | …sers/permissions/methods/give_permission_on_dataset.py | 56 | # Check if the ACL entry already exists to avoid duplicates | COMMENT |
| LOW | …ions/methods/authorized_give_permission_on_datasets.py | 31 | # Check if request owner has permission to share dataset access | COMMENT |
| LOW | cognee/modules/users/tenants/methods/select_tenant.py | 48 | # Check if User is part of Tenant | COMMENT |
| LOW | cognee/modules/data/methods/get_unique_dataset_id.py | 71 | # Check if dataset with legacy_dataset_id exists, if so use that one, else use modern_dataset_id | COMMENT |
| LOW | cognee/modules/data/methods/add_model_class_to_graph.py | 42 | if hasattr(field_type, "model_fields"): # Check if field type is a Pydantic model | CODE |
| LOW⚡ | …/hotpot_qa_24_2025/src/run_cross_benchmark_analysis.py | 101 | # Check if evaluated folder exists | COMMENT |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …mify/consolidate_entity_descriptions/describe_types.py | 27 | CODE | |
| LOW | cognee/tasks/ingestion/connectors/gmail.py | 582 | CODE | |
| LOW | cognee/tasks/ingestion/connectors/google_drive.py | 600 | CODE | |
| LOW | cognee/tasks/web_scraper/web_scraper_task.py | 44 | CODE | |
| LOW | cognee/tasks/web_scraper/web_scraper_task.py | 126 | CODE | |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 48 | CODE | |
| LOW | cognee/tasks/graph/gliner_demo/tasks.py | 218 | CODE | |
| LOW | cognee/tasks/graph/gliner_demo/tasks.py | 286 | CODE | |
| LOW | cognee/cli/api_client.py | 318 | CODE | |
| LOW | cognee/cli/api_client.py | 353 | CODE | |
| LOW | cognee/memify_pipelines/create_triplet_embeddings.py | 51 | CODE | |
| LOW | cognee/memify_pipelines/consolidate_entities.py | 25 | CODE | |
| LOW | …ee/memify_pipelines/consolidate_entity_descriptions.py | 37 | CODE | |
| LOW | …s/logistics_system_utils/utils/world_creation_utils.py | 635 | CODE | |
| LOW | …rk_adapters/logistics_system_utils/entities/package.py | 92 | CODE | |
| LOW | cognee/api/v1/update/update.py | 33 | CODE | |
| LOW | cognee/api/v1/agents/agents.py | 157 | CODE | |
| LOW | cognee/api/v1/agents/agents.py | 198 | CODE | |
| LOW | cognee/api/v1/agents/routers/get_agents_router.py | 102 | CODE | |
| LOW | cognee/api/v1/visualize/memory_provenance.py | 165 | CODE | |
| LOW | cognee/api/v1/visualize/visualize.py | 43 | CODE | |
| LOW | cognee/api/v1/visualize/visualize.py | 193 | CODE | |
| LOW | cognee/api/v1/visualize/visualize.py | 271 | CODE | |
| LOW | cognee/api/v1/visualize/visualize.py | 317 | CODE | |
| LOW | cognee/api/v1/cognify/cognify.py | 112 | CODE | |
| LOW | cognee/api/v1/cognify/cognify.py | 572 | CODE | |
| LOW | cognee/api/v1/recall/recall.py | 349 | CODE | |
| LOW | cognee/api/v1/search/search.py | 41 | CODE | |
| LOW | cognee/api/v1/add/add.py | 40 | CODE | |
| LOW | cognee/api/v1/add/routers/get_add_router.py | 49 | CODE | |
| LOW | cognee/api/v1/users/routers/get_visualize_router.py | 60 | CODE | |
| LOW | cognee/api/v1/users/routers/get_visualize_router.py | 167 | CODE | |
| LOW | cognee/api/v1/users/routers/get_visualize_router.py | 354 | CODE | |
| LOW | cognee/api/v1/remember/remember.py | 887 | CODE | |
| LOW | cognee/api/v1/remember/routers/get_remember_router.py | 119 | CODE | |
| LOW | …e/infrastructure/databases/cache/cache_db_interface.py | 127 | CODE | |
| LOW | …nee/infrastructure/databases/cache/get_cache_engine.py | 73 | CODE | |
| LOW | …e/infrastructure/databases/cache/redis/RedisAdapter.py | 24 | CODE | |
| LOW | …e/infrastructure/databases/cache/redis/RedisAdapter.py | 182 | CODE | |
| LOW | …e/infrastructure/databases/cache/redis/RedisAdapter.py | 367 | CODE | |
| LOW | …frastructure/databases/cache/fscache/FsCacheAdapter.py | 130 | CODE | |
| LOW | …frastructure/databases/cache/fscache/FsCacheAdapter.py | 271 | CODE | |
| LOW | …/infrastructure/databases/cache/sql/SqlCacheAdapter.py | 406 | CODE | |
| LOW | …/infrastructure/databases/cache/sql/SqlCacheAdapter.py | 681 | CODE | |
| LOW | …nee/infrastructure/databases/graph/get_graph_engine.py | 231 | CODE | |
| LOW | …nee/infrastructure/databases/graph/get_graph_engine.py | 298 | CODE | |
| LOW | …nfrastructure/databases/vector/create_vector_engine.py | 54 | CODE | |
| LOW | …/databases/vector/embeddings/LiteLLMEmbeddingEngine.py | 110 | CODE | |
| LOW | …ured_output_framework/baml/baml_client/async_client.py | 159 | CODE | |
| LOW | …ured_output_framework/baml/baml_client/async_client.py | 182 | CODE | |
| LOW | …tured_output_framework/baml/baml_client/sync_client.py | 171 | CODE | |
| LOW | …tured_output_framework/baml/baml_client/sync_client.py | 194 | CODE | |
| LOW | …ured_output_framework/litellm_native/native_adapter.py | 190 | CODE | |
| LOW | …put_framework/litellm_instructor/llm/gemini/adapter.py | 63 | CODE | |
| LOW | …work/litellm_instructor/llm/generic_llm_api/adapter.py | 101 | CODE | |
| LOW | …amework/litellm_instructor/llm/azure_openai/adapter.py | 51 | CODE | |
| LOW | …_framework/litellm_instructor/llm/llama_cpp/adapter.py | 72 | CODE | |
| LOW | …put_framework/litellm_instructor/llm/openai/adapter.py | 70 | CODE | |
| LOW | …nee/infrastructure/files/storage/FileBufferedReader.py | 16 | CODE | |
| LOW | …gnee/infrastructure/loaders/external/dlt_csv_loader.py | 46 | CODE | |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cognee/tests/unit/test_context_global_variables.py | 103 | return fake_user | CODE |
| LOW | cognee/tests/unit/test_context_global_variables.py | 87 | fake_user = SimpleNamespace(id=user_id, tenant_id=None) | CODE |
| LOW⚡ | cognee/tests/unit/test_agents_sdk_cli.py | 383 | fake_user = _make_user() | CODE |
| LOW⚡ | cognee/tests/unit/test_agents_sdk_cli.py | 386 | return fake_user | CODE |
| LOW | cognee/tests/unit/test_agents_sdk_cli.py | 399 | assert user is fake_user | CODE |
| LOW⚡ | …ts/unit/tasks/memify/test_session_persist_watermark.py | 73 | fake_user = SimpleNamespace(id=uuid.uuid4()) | CODE |
| LOW⚡ | …ts/unit/tasks/memify/test_session_persist_watermark.py | 74 | token = session_user.set(fake_user) | CODE |
| LOW⚡ | …ts/unit/tasks/memify/test_session_persist_watermark.py | 75 | yield fake_user | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 24 | deal = DealBrief(deal_name="Acme Corp", health="Good") | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 28 | assert payload.completion.deal_name == "Acme Corp" | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 29 | assert payload.model_dump()["completion"] == {"deal_name": "Acme Corp", "health": "Good"} | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 90 | completion={"deal_name": "Acme Corp", "health": "Good"}, | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 93 | assert payload.completion == {"deal_name": "Acme Corp", "health": "Good"} | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 94 | assert payload.model_dump()["completion"] == {"deal_name": "Acme Corp", "health": "Good"} | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 101 | deal = DealBrief(deal_name="Acme Corp", health="Good") | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 104 | assert dumped["completion"] == {"deal_name": "Acme Corp", "health": "Good"} | CODE |
| LOW | cognee/tests/unit/users/tenants/test_role_visibility.py | 145 | admin = FakeUser(uuid4(), email="admin@example.com") | CODE |
| LOW | cognee/tests/unit/users/tenants/test_role_visibility.py | 206 | admin = FakeUser(uuid4(), email="admin@example.com") | CODE |
| LOW | cognee/tests/unit/api/test_datasets_graph_summary.py | 40 | id=uuid4(), email="user@example.com", is_active=True, tenant_id=None | CODE |
| LOW | cognee/tests/unit/api/v1/test_serve_fail_loud.py | 47 | "email": "user@example.com", | CODE |
| LOW | cognee/tests/unit/api/v1/test_serve_fail_loud.py | 63 | assert "user@example.com" in message | CODE |
| LOW | cognee/tests/unit/api/v1/test_serve_fail_loud.py | 169 | "email": "user@example.com", | CODE |
| LOW⚡ | cognee/tests/unit/api/v1/test_serve_fail_loud.py | 180 | assert "user@example.com" in exc_info.value.message | CODE |
| LOW⚡ | cognee/tests/unit/api/v1/test_serve_fail_loud.py | 190 | "email": "user@example.com", | CODE |
| LOW⚡ | …sts/unit/infrastructure/engine/test_identity_fields.py | 192 | assert PersonWithIdentity.id_for("John Doe") == PersonWithIdentity(name="John_Doe").id | CODE |
| LOW | …sts/unit/infrastructure/engine/test_identity_fields.py | 141 | p1 = PersonWithIdentity(name="John Doe") | CODE |
| LOW | …sts/unit/infrastructure/engine/test_identity_fields.py | 218 | for raw in ["John", "John Doe", "O'Brien", "New York City", "ALL CAPS", "mixed Case's"]: | CODE |
| LOW⚡ | …sts/unit/modules/session_lifecycle/test_agent_usage.py | 242 | user = SimpleNamespace(id=caller_id, tenant_id=tenant_id, email="admin@example.com") | CODE |
| LOW⚡ | …sts/unit/modules/session_lifecycle/test_agent_usage.py | 246 | {"id": str(caller_id), "email": "admin@example.com", "roles": []}, | CODE |
| LOW | …sts/unit/modules/session_lifecycle/test_agent_usage.py | 279 | assert result[1]["user_email"] == "admin@example.com" | CODE |
| LOW⚡ | …e/tests/unit/modules/pipelines/test_provenance_mode.py | 191 | _simulate_pipeline_task(dp, mode="lightweight", user_label="user@example.com") | CODE |
| LOW⚡ | …e/tests/unit/modules/pipelines/test_provenance_mode.py | 192 | assert dp.source_user == "user@example.com" | CODE |
| LOW | …unit/modules/provenance/test_record_provenance_task.py | 70 | user=SimpleNamespace(email="user@example.com", id=uuid4()), | CODE |
| LOW | …unit/modules/provenance/test_record_provenance_task.py | 120 | assert entry.agent_id == "user@example.com" | CODE |
| LOW | …unit/modules/provenance/test_provenance_entry_model.py | 13 | agent_id="user@example.com", | CODE |
| LOW | …nit/modules/users/test_authenticated_websocket_user.py | 30 | return SimpleNamespace(id=uuid4(), email="user@example.com", is_active=is_active) | CODE |
| LOW⚡ | …nit/modules/users/test_authenticated_websocket_user.py | 238 | assert connection.receive_json() == {"email": "user@example.com"} | CODE |
| LOW | …/unit/modules/users/test_conditional_authentication.py | 45 | email="user@example.com", | CODE |
| LOW | …/unit/modules/users/test_conditional_authentication.py | 67 | email="user@example.com", | CODE |
| LOW⚡ | cognee/tests/unit/migration/test_import_source.py | 533 | regular = SimpleNamespace(id=uuid4(), email="user@example.com", is_superuser=False) | CODE |
| LOW | cognee/tests/unit/migration/test_import_source.py | 502 | superuser = SimpleNamespace(id=uuid4(), email="admin@example.com", is_superuser=True) | CODE |
| LOW | …nee/tests/unit/interfaces/graph/test_weighted_edges.py | 50 | name="John Doe", | CODE |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 6 | Seeds the database with Lorem Ipsum data: add → cognify → search. | STRING |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 15 | Verifies that the current branch can search the legacy cognified data, then adds + cognifies new Lorem Ipsum data with | STRING |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 29 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 29 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 35 | Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 40 | SEARCH_QUERY = "What is Lorem Ipsum and where does it come from?" | STRING |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 131 | print("Adding Lorem Ipsum text...") | STRING |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 6 | Seeds the database with Lorem Ipsum data: add → cognify → search. | STRING |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 83 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 83 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 89 | Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 93 | Loren Ipsum Dolor sit amet, Lorem ipsum. | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 93 | Loren Ipsum Dolor sit amet, Lorem ipsum. | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 97 | SEARCH_QUERY = "What is Lorem Ipsum and where does it come from?" | STRING |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 859 | print("\n[Step 2] Re-adding + cognifying Lorem Ipsum with current branch...") | STRING |
| LOW | cognee/tests/api/test_agent_mode.py | 25 | _DUMMY_USER = User(email="test@test.com", hashed_password="!") | CODE |
| LOW⚡ | …ee/infrastructure/databases/vector/embeddings/utils.py | 31 | dummy_value = "." | CODE |
| LOW⚡ | …ee/infrastructure/databases/vector/embeddings/utils.py | 33 | return [t if is_embeddable(t) else dummy_value for t in text_list] | CODE |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CLAUDE.md | 605 | LLM_API_KEY="your_api_key" | CODE |
| HIGH | CLAUDE.md | 651 | BAML_LLM_API_KEY="your_api_key" | CODE |
| HIGH | cognee/api/v1/config/config.py | 183 | cognee.config.set_llm_api_key("your-api-key") | STRING |
| HIGH | cognee-frontend/src/app/(app)/api-keys/ApiKeysPage.tsx | 268 | <span style={{ fontSize: 12, color: "rgba(237,236,234,0.65)", fontFamily: 'ui-monospace, Menlo, Monaco, "Casca | CODE |
| HIGH | cognee-frontend/src/app/(app)/api-keys/ApiKeysPage.tsx | 269 | <CopyBtn id="header" text={`X-Api-Key: <your-api-key>${tenantId ? `\nX-Tenant-Id: ${tenantId}` : ""}`} copiedF | CODE |
| HIGH | …pp/(app)/dashboard/partials/AgentConnectionSection.tsx | 50 | const resolvedKey = apiKey ?? "your-api-key"; | CODE |
| HIGH | …/(app)/integrations/partials/SetupConnectorSection.tsx | 22 | const resolvedKey = apiKey || "your-api-key"; | CODE |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 234 | ' api_key="<your-api-key>"', | CODE |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 283 | ' api_key="your-api-key"', | CODE |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 487 | ' api_key="<your-api-key>"', | CODE |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 547 | ' -H "X-Api-Key: <your-api-key>"', | CODE |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 787 | ' api_key="your-api-key"', | CODE |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 855 | ' api_key="your-api-key"', | CODE |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 888 | ' api_key="your-api-key"', | CODE |
| HIGH | …rc/app/(setup)/onboarding/partials/AgentOnboarding.tsx | 37 | const resolvedKey = apiKey || "your-api-key"; | CODE |
| HIGH | …/comprehensive_example/cognee_comprehensive_example.py | 20 | os.environ["LLM_API_KEY"] = "your_api_key" | CODE |
| HIGH | …issions/user_permissions_and_access_control_example.py | 34 | # os.environ["LLM_API_KEY"] = "your-api-key" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cognee/tests/test_release_multi_user_e2e.py | 225 | """Flatten a search response to one string, robust to result wrapper shape.""" | STRING |
| MEDIUM | cognee/tests/integration/test_belongs_to_set_neo4j.py | 301 | # Force the merged detag query to fail. Whitelist the harness | COMMENT |
| LOW⚡ | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 661 | # Should not raise exception, just return | COMMENT |
| LOW⚡ | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 690 | # Should not raise exception, just return with error message | COMMENT |
| LOW | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 832 | # Should not raise exception, just return with error message | COMMENT |
| MEDIUM | …/e2e/docker/test_docker_multi_tenant_access_control.py | 14 | Depends on: #3358 (Docker E2E harness). | STRING |
| MEDIUM | cognee/cli/commands/eval_command.py | 35 | # harness (and its optional deps) unless the eval command is used. | STRING |
| MEDIUM | cognee/api/v1/health/health.py | 257 | """Get comprehensive health status.""" | STRING |
| MEDIUM | …ee/infrastructure/databases/utils/closing_lru_cache.py | 245 | # (a proxy finalizer can fire at exit). That's fine: harness's | COMMENT |
| LOW | …structure/databases/vector/pgvector/PGVectorAdapter.py | 665 | # If limit is still 0, no need to do the search, just return empty results | COMMENT |
| MEDIUM | …put_framework/litellm_instructor/llm/get_llm_client.py | 96 | # Delegates completions to the host harness via MCP sampling (no API key). | COMMENT |
| MEDIUM | cognee/modules/visualization/semantic_clusters.py | 145 | label the seam then discards, and no dependency on the #3601 harness. | STRING |
| LOW | cognee/modules/agents/models.py | 16 | # your client matches one, otherwise just use your own lowercase name. | COMMENT |
| LOW | cognee/modules/storage/utils/__init__.py | 19 | # if the obj is uuid, we simply return the value of uuid | COMMENT |
| MEDIUM | cognee/modules/cognify/rollback.py | 276 | # Important ordering for robust retries: | COMMENT |
| LOW⚡ | …/users/authentication/api_key/get_api_key_transport.py | 41 | # No login response for API key auth — just return unchanged | COMMENT |
| LOW⚡ | …/users/authentication/api_key/get_api_key_transport.py | 45 | # No logout response for API key auth — just return unchanged | COMMENT |
| MEDIUM | cognee/modules/sync/models/SyncOperation.py | 94 | """Get comprehensive progress information.""" | STRING |
| MEDIUM | cognee-frontend/package-lock.json | 11994 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| LOW | …hierarchy/organizational_hierarchy_pipeline_example.py | 72 | # No manual dict-based deduplication needed — just create instances freely. | COMMENT |
| MEDIUM | scripts/docker_validation.sh | 49 | # harness (cognee/tests/deployment/mcp_harness.py), which boots the image with | COMMENT |
| MEDIUM | .github/workflows/performance_report_rust.yml | 101 | # cognee-rs supplies the CLI, the perf harness, and the committed cassette. | COMMENT |
| MEDIUM | .github/workflows/performance_report_rust.yml | 303 | # Attribute timings to the Rust code and retain the Python harness SHA. | COMMENT |
| MEDIUM | cognee_db_workers/lancedb_worker.py | 143 | # Serialize the arrow Table via pyarrow's IPC stream for robust transfer. | COMMENT |
| MEDIUM | notebooks/data/guido_contributions.json | 57 | "before_code": "\n # We should always patch indirect dependencies, even in full (non-incremental) bui | CODE |
| MEDIUM | notebooks/data/guido_contributions.json | 59 | "diff_context": "\n # We should always patch indirect dependencies, even in full (non-incremental) bu | CODE |
| LOW | notebooks/data/guido_contributions.json | 824 | "description": "Make the new bug templates less markup-heavy (#9438)\n\n- Remove emoji\r\n- Instead of `## H2 headin | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …e/tests/unit/infrastructure/llm/test_ollama_adapter.py | 76 | adapter.aclient.chat.completions.create.assert_awaited_once() | CODE |
| CRITICAL | …e/tests/unit/infrastructure/llm/test_ollama_adapter.py | 100 | adapter.aclient.chat.completions.create.assert_awaited_once() | CODE |
| CRITICAL | …e/tests/unit/infrastructure/llm/test_ollama_adapter.py | 128 | adapter.client.chat.completions.create.assert_awaited_once() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tests/test_lancedb.py | 311 | # Note: make sure to call test_vector_engine_search_with_nodeset_filtering() | COMMENT |
| LOW | cognee/tests/test_pgvector.py | 342 | # Note: make sure to call test_vector_engine_search_with_nodeset_filtering() | STRING |
| MEDIUM | cognee/modules/integrations/linear/agent_session.py | 214 | "i'm unable to", | CODE |
| MEDIUM | cognee/modules/integrations/slack/handle_cognee_ask.py | 282 | "i'm unable to", | CODE |
| MEDIUM | …/old/mem0_01042025/metrics_output_mem0_human_eval.json | 114 | "answer": "Based on the provided context, there is no mention of Robert Croft or a facility where he worked as a | CODE |
| MEDIUM | …/old/mem0_01042025/metrics_output_mem0_human_eval.json | 334 | "answer": "The provided context does not contain information about the town where Black Crescent Mountain is loc | CODE |
| MEDIUM | …/old/mem0_01042025/metrics_output_mem0_human_eval.json | 444 | "answer": "The context provided does not contain information about Jalen Jones or the arena where his NBA team p | CODE |
| MEDIUM | …/old/mem0_01042025/metrics_output_mem0_direct_llm.json | 114 | "answer": "Based on the provided context, there is no mention of Robert Croft or a facility where he worked as a | CODE |
| MEDIUM | …/old/mem0_01042025/metrics_output_mem0_direct_llm.json | 334 | "answer": "The provided context does not contain information about the town where Black Crescent Mountain is loc | CODE |
| MEDIUM | …/old/mem0_01042025/metrics_output_mem0_direct_llm.json | 444 | "answer": "The context provided does not contain information about Jalen Jones or the arena where his NBA team p | CODE |
| MEDIUM | evals/old/mem0_01042025/metrics_output_mem0.json | 194 | "answer": "Based on the provided context, there is no mention of Robert Croft or a facility where he worked as a | CODE |
| MEDIUM | evals/old/mem0_01042025/metrics_output_mem0.json | 574 | "answer": "The provided context does not contain information about the town where Black Crescent Mountain is loc | CODE |
| MEDIUM | evals/old/mem0_01042025/metrics_output_mem0.json | 764 | "answer": "The context provided does not contain information about Jalen Jones or the arena where his NBA team p | CODE |
| LOW | cognee-frontend/src/app/(graph)/GraphVisualization.tsx | 269 | links: [{ source: 1, target: 2, label: "but don't forget to" }, { source: 2, target: 3, label: "and after th | CODE |
| MEDIUM | …ional_database_to_knowledge_graph_migration_example.py | 54 | # NOTE: If you don't have a DB you want to migrate you can try it out with our | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ts/unit/tasks/ingestion/test_dlt_stable_manifest_id.py | 61 | CODE | |
| MEDIUM | …/tests/unit/modules/visualization/test_graph_stream.py | 153 | CODE | |
| MEDIUM | …/tests/unit/modules/visualization/test_graph_stream.py | 345 | CODE | |
| MEDIUM | …modules/pipelines/test_run_tasks_data_item_sessions.py | 96 | CODE | |
| MEDIUM | …les/pipelines/test_incremental_passthrough_metadata.py | 59 | CODE | |
| MEDIUM | …/modules/pipelines/test_telemetry_failure_isolation.py | 195 | CODE | |
| MEDIUM | …/modules/users/test_get_default_user_db_not_created.py | 29 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ls/old/hotpot_qa_24_2025/src/qa/qa_benchmark_cognee.py | 169 | # Example usage | COMMENT |
| LOW | evals/old/hotpot_qa_24_2025/src/qa/qa_benchmark_mem0.py | 102 | # Example usage | COMMENT |
| LOW | …/old/hotpot_qa_24_2025/src/qa/qa_benchmark_lightrag.py | 80 | # Example usage | COMMENT |
| LOW | distributed/deploy/modal-deploy.sh | 6 | # Usage: | COMMENT |
| LOW | distributed/deploy/fly-deploy.sh | 6 | # Usage: | COMMENT |
| LOW | …ntegrations/docker-sandbox-kit/cognee-memory/spec.yaml | 4 | # Usage: | COMMENT |
| LOW | scripts/fetch_ladybug_json_extension.sh | 11 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cognee/api/v1/sync/sync.py | 911 | # TODO: consider adding retries | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 915 | # TODO: consider adding retries | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tests/unit/tasks/code_graph/test_code_repo.py | 25 | (tmp_path / "lib" / "util.py").write_text("def helper():\n pass\n") | CODE |
| LOW | …utput_framework/litellm_instructor/llm/rate_limiter.py | 16 | def my_function(): | STRING |
| LOW | …utput_framework/litellm_instructor/llm/rate_limiter.py | 26 | def my_function(): | STRING |