Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
This report presents the forensic synthetic code analysis of topoteretes/cognee, a Python project with 27,823 GitHub stars. SynthScan v2.0 examined 353,706 lines of code across 2350 source files, recording 7118 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 27.2 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 7118 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/context_global_variables.py | 43 | async def set_session_user_context_variable(user): | CODE |
| LOW | cognee/context_global_variables.py | 47 | def multi_user_support_possible(): | CODE |
| LOW | cognee/context_global_variables.py | 96 | def backend_access_control_enabled(): | CODE |
| LOW | cognee/context_global_variables.py | 147 | async def apply_database_context_variables( | CODE |
| LOW | cognee/context_global_variables.py | 303 | def set_database_global_context_variables( | CODE |
| LOW | cognee/run_migrations.py | 11 | async def run_relational_migrations(): | CODE |
| LOW | cognee/tasks/memify/cognify_agent_trace_feedback.py | 12 | async def cognify_agent_trace_feedback( | CODE |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 28 | async def extract_agent_trace_feedbacks( | CODE |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 13 | def _build_datapoint_type_index_mapping() -> Dict[str, List[str]]: | CODE |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 72 | def _extract_relationship_text( | CODE |
| LOW | cognee/tasks/memify/apply_frequency_weights.py | 94 | async def _mark_frequency_processed( | 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 |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 188 | def _normalize_existing_graph_buckets( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 209 | def _has_positive_entity_weight( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 216 | def _build_entity_to_bucket_ids( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 246 | def _build_entity_to_summary_ids( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 257 | def _choose_existing_graph_bucket( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 323 | def _first_available_misc_bucket( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 379 | def _assign_summary_to_graph_bucket( | CODE |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 394 | def _assign_summary_to_misc_bucket( | CODE |
| 3490 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cognee/__init__.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/__init__.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/__init__.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/__init__.py | 54 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/resolve_dlt_sources.py | 209 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/resolve_dlt_sources.py | 211 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 69 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/connectors/gmail.py | 123 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/connectors/gmail.py | 125 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 212 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 214 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/connectors/gmail.py | 268 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tasks/ingestion/connectors/gmail.py | 270 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 406 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tasks/ingestion/connectors/gmail.py | 408 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 132 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 136 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 210 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 212 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 287 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 289 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 303 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | cognee/tests/test_delete_two_documents_empty_store.py | 305 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/tasks/test_gmail_connector.py | 125 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/tasks/test_gmail_connector.py | 127 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/tasks/test_gmail_connector.py | 171 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/tasks/test_gmail_connector.py | 173 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/tasks/test_gmail_connector.py | 194 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/tasks/test_gmail_connector.py | 196 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/tasks/test_gmail_connector.py | 276 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/tasks/test_gmail_connector.py | 278 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/tasks/test_gmail_connector.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/tasks/test_gmail_connector.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …e/tests/unit/tasks/memify/test_global_context_index.py | 1388 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …e/tests/unit/tasks/memify/test_global_context_index.py | 1390 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 8 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 10 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 42 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 44 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 31 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 81 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 83 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/api/test_api_error_responses.py | 140 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/api/test_api_error_responses.py | 142 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 169 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 171 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 245 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 247 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 317 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 319 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 367 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 369 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_delete_ontology.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cognee/tests/unit/api/test_delete_ontology.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/api/test_delete_ontology.py | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/api/test_delete_ontology.py | 63 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/api/test_delete_ontology.py | 164 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cognee/tests/unit/api/test_delete_ontology.py | 166 | # --------------------------------------------------------------------------- | COMMENT |
| 381 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/root_dir.py | 2 | CODE | |
| LOW | cognee/__init__.py | 21 | CODE | |
| LOW | cognee/__init__.py | 22 | CODE | |
| LOW | cognee/__init__.py | 23 | CODE | |
| LOW | cognee/__init__.py | 24 | CODE | |
| LOW | cognee/__init__.py | 25 | CODE | |
| LOW | cognee/__init__.py | 26 | CODE | |
| LOW | cognee/__init__.py | 27 | CODE | |
| LOW | cognee/__init__.py | 28 | CODE | |
| LOW | cognee/__init__.py | 29 | CODE | |
| LOW | cognee/__init__.py | 30 | CODE | |
| LOW | cognee/__init__.py | 31 | CODE | |
| LOW | cognee/__init__.py | 31 | CODE | |
| LOW | cognee/__init__.py | 32 | CODE | |
| LOW | cognee/__init__.py | 32 | CODE | |
| LOW | cognee/__init__.py | 32 | CODE | |
| LOW | cognee/__init__.py | 32 | CODE | |
| LOW | cognee/__init__.py | 32 | CODE | |
| LOW | cognee/__init__.py | 39 | CODE | |
| LOW | cognee/__init__.py | 42 | CODE | |
| LOW | cognee/__init__.py | 43 | CODE | |
| LOW | cognee/__init__.py | 46 | CODE | |
| LOW | cognee/__init__.py | 47 | CODE | |
| LOW | cognee/__init__.py | 50 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 55 | CODE | |
| LOW | cognee/__init__.py | 69 | CODE | |
| LOW | cognee/__init__.py | 69 | CODE | |
| LOW | cognee/__init__.py | 69 | CODE | |
| LOW | cognee/__init__.py | 69 | CODE | |
| LOW | cognee/__init__.py | 73 | 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 | 85 | CODE | |
| LOW | cognee/__init__.py | 88 | CODE | |
| LOW | cognee/__init__.py | 88 | CODE | |
| LOW | cognee/__init__.py | 89 | CODE | |
| LOW | cognee/low_level.py | 1 | CODE | |
| LOW | cognee/low_level.py | 2 | CODE | |
| LOW | cognee/context_global_variables.py | 11 | CODE | |
| LOW | cognee/context_global_variables.py | 18 | CODE | |
| LOW | cognee/tasks/memify/__init__.py | 9 | CODE | |
| LOW | cognee/tasks/memify/__init__.py | 10 | CODE | |
| LOW | cognee/tasks/memify/__init__.py | 11 | CODE | |
| LOW | cognee/tasks/memify/__init__.py | 12 | CODE | |
| LOW | cognee/tasks/memify/__init__.py | 13 | CODE | |
| LOW | cognee/tasks/memify/__init__.py | 14 | CODE | |
| 1154 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 | …es/custom_pipelines/custom_cognify_pipeline_example.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. | STRING |
| HIGH | examples/demos/simple_cognee_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 | …permissions_example/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 | …example/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 | …tions/permissions_example/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 | …ons/permissions_example/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 | …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 |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | legacy get_all_qas returns same as get_all_qa_entries. | STRING |
| HIGH | …rastructure/databases/cache/test_redis_adapter_crud.py | 0 | legacy get_latest_qa returns same as get_latest_qa_entries. | STRING |
| HIGH | …infrastructure/databases/cache/test_fs_adapter_crud.py | 0 | legacy get_latest_qa returns same as get_latest_qa_entries. | STRING |
| HIGH | …nfrastructure/databases/cache/test_sql_adapter_crud.py | 0 | legacy get_latest_qa returns same as get_latest_qa_entries. | STRING |
| 137 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 | 53 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 114 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 129 | except Exception as error: | CODE |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 243 | except Exception as e: | CODE |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 279 | except Exception as e: | CODE |
| LOW | cognee/tasks/memify/cognify_session.py | 52 | except Exception as e: | CODE |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 69 | except Exception as e: | CODE |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 79 | except Exception as e: | CODE |
| LOW | …completion/entity_extractors/regex_entity_extractor.py | 70 | except Exception as e: | CODE |
| LOW | …y_completion/entity_extractors/llm_entity_extractor.py | 70 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/resolve_dlt_sources.py | 369 | except Exception: | CODE |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 112 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 134 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 153 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 265 | except Exception as e: | CODE |
| LOW | cognee/tasks/ingestion/utils.py | 24 | except Exception: | CODE |
| LOW⚡ | cognee/tasks/ingestion/connectors/gmail.py | 132 | except Exception: # pragma: no cover - defensive | CODE |
| LOW | cognee/tasks/ingestion/connectors/gmail.py | 252 | except Exception as exc: # pragma: no cover - network/permission dependent | CODE |
| LOW⚡ | cognee/tasks/ingestion/connectors/gmail.py | 263 | except Exception as exc: # pragma: no cover - network dependent | CODE |
| LOW | cognee/tasks/ingestion/connectors/gmail.py | 343 | except Exception as exc: | CODE |
| LOW | …nee/tasks/temporal_awareness/index_graphiti_objects.py | 19 | except Exception as e: | CODE |
| MEDIUM | …nee/tasks/temporal_awareness/index_graphiti_objects.py | 12 | def index_and_transform_graphiti_nodes_and_edges(): | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 125 | except Exception: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 206 | except Exception as e: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 254 | except Exception as e: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 276 | except Exception: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 307 | except Exception as exc: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 371 | except Exception as exc: | CODE |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 444 | except Exception as e: | CODE |
| LOW | cognee/tasks/web_scraper/utils.py | 81 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/translate_content.py | 174 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/detect_language.py | 162 | 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 | 102 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/llm_provider.py | 142 | except Exception: | CODE |
| LOW | cognee/tasks/translation/providers/google_provider.py | 41 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/google_provider.py | 51 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/google_provider.py | 100 | except Exception as e: | CODE |
| LOW | cognee/tasks/translation/providers/google_provider.py | 156 | except Exception as e: | CODE |
| LOW | cognee/tasks/storage/index_graph_edges.py | 88 | except Exception as e: | CODE |
| LOW | cognee/tasks/chunks/create_chunk_associations.py | 67 | except Exception as e: | CODE |
| LOW | cognee/tasks/chunks/create_chunk_associations.py | 166 | except Exception as e: | CODE |
| LOW | cognee/tasks/chunks/create_chunk_associations.py | 181 | except Exception as e: | CODE |
| LOW | cognee/tasks/chunks/create_chunk_associations.py | 225 | except Exception as e: | CODE |
| LOW | cognee/tasks/cleanup/cleanup_unused_data.py | 162 | except Exception as e: | CODE |
| LOW | cognee/tests/test_shared_node_preservation.py | 458 | except Exception as e: | CODE |
| LOW | cognee/tests/test_chunk_associations.py | 32 | except Exception: | CODE |
| LOW | cognee/tests/test_delete_by_id.py | 141 | except Exception as e: | CODE |
| LOW | cognee/tests/test_delete_by_id.py | 158 | except Exception as e: | CODE |
| LOW | cognee/tests/test_delete_by_id.py | 175 | except Exception as e: | CODE |
| LOW | cognee/tests/test_delete_by_id.py | 194 | except Exception as e: | CODE |
| LOW | cognee/tests/test_delete_by_id.py | 220 | except Exception as e: | CODE |
| LOW | cognee/tests/test_delete_by_id.py | 244 | except Exception as e: | CODE |
| LOW | cognee/tests/test_delete_by_id.py | 292 | except Exception as e: | CODE |
| LOW | cognee/tests/test_search_db.py | 49 | except Exception: | CODE |
| LOW | cognee/tests/test_agent_memory_e2e.py | 28 | except Exception: | CODE |
| LOW | cognee/tests/test_subprocess_rss.py | 185 | except Exception: | CODE |
| LOW | cognee/tests/test_usage_logger_e2e.py | 22 | except Exception: | CODE |
| 758 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 | 8 | # 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 | 75 | # Create the dataset so search can find it by name | COMMENT |
| MEDIUM | cognee/tests/test_graph_visualization_permissions.py | 114 | # Create a user without any permissions to the dataset | COMMENT |
| MEDIUM | cognee/tests/test_graph_model_from_schema.py | 12 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | cognee/tests/test_graph_model_from_schema.py | 25 | # Define a custom graph model for programming languages. | COMMENT |
| MEDIUM | cognee/tests/test_custom_model.py | 14 | # 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_telemetry.py | 27 | # Create the file with a test ID if it doesn't exist | 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 | 22 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | …unit/entity_extraction/regex_entity_extraction_test.py | 265 | # Create a minimal test config file | COMMENT |
| MEDIUM⚡ | …frastructure/test_embedding_rate_limiting_realistic.py | 34 | # Create a fresh config instance and verify settings | COMMENT |
| MEDIUM⚡ | …frastructure/test_embedding_rate_limiting_realistic.py | 41 | # Create a mock embedding engine | COMMENT |
| MEDIUM⚡ | …frastructure/test_embedding_rate_limiting_realistic.py | 51 | # Create a list of tasks to simulate concurrent requests | COMMENT |
| MEDIUM | …frastructure/test_embedding_rate_limiting_realistic.py | 170 | # Create a mock engine configured to fail every 3rd request | COMMENT |
| MEDIUM | …sts/unit/infrastructure/databases/test_rate_limiter.py | 106 | # Create a fresh instance | COMMENT |
| MEDIUM | …sts/unit/infrastructure/databases/test_rate_limiter.py | 127 | # Create a fresh instance | COMMENT |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 168 | # Create a second edge for extension rounds | COMMENT |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 632 | # Create a second edge for extension rounds | COMMENT |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 881 | # Create a second edge for extension rounds | COMMENT |
| MEDIUM⚡ | …t/modules/retrieval/test_brute_force_triplet_search.py | 413 | # 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 | 26 | # Create an event loop and run the coroutine | COMMENT |
| MEDIUM | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 26 | # Create an event loop and run the coroutine | COMMENT |
| MEDIUM | cognee/tests/api/test_backend_auth.py | 52 | # Create an API key using the bearer token | COMMENT |
| MEDIUM | cognee/tests/api/test_backend_auth.py | 138 | # Create an API key with HASH_API_KEY=True active | COMMENT |
| MEDIUM | cognee/tests/e2e/postgres/test_postgres_adapter.py | 338 | # Create a fake type with __name__ == "Entity" | COMMENT |
| MEDIUM | cognee/shared/graph_model_utils.py | 176 | # Create a clean slate for cognee -- reset data and system state | COMMENT |
| MEDIUM | cognee/shared/graph_model_utils.py | 189 | # Define a custom graph model for programming languages. | COMMENT |
| MEDIUM | cognee/shared/utils.py | 323 | # Create the server | COMMENT |
| MEDIUM | cognee/shared/logging_utils.py | 188 | # Create the log entry | COMMENT |
| MEDIUM | cognee/shared/logging_utils.py | 531 | # 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 | 97 | # Create a temporary script file | COMMENT |
| MEDIUM | cognee/api/v1/ui/ui.py | 244 | # 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 | 131 | # Create a format the dispatcher can handle | COMMENT |
| MEDIUM | cognee/api/v1/responses/routers/get_responses_router.py | 159 | # Create the response object with all processed tool calls | COMMENT |
| MEDIUM | cognee/api/v1/agents/agents.py | 53 | # Create an agent with read/write on a dataset | STRING |
| MEDIUM | cognee/api/v1/serve/management_api.py | 140 | # Create a new key with retries | COMMENT |
| MEDIUM | cognee/api/v1/sync/sync.py | 728 | # Create a temporary file-like object from the bytes | COMMENT |
| MEDIUM⚡ | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 431 | # Create a MetaData instance to load table information | COMMENT |
| MEDIUM⚡ | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 435 | # Define the full table name | COMMENT |
| MEDIUM | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 655 | # Create a MetaData instance to load table information | COMMENT |
| MEDIUM | cognee/infrastructure/databases/dataset_queue/queue.py | 162 | # Create the slot dict for this task up front so callers can write | COMMENT |
| MEDIUM | …frastructure/databases/graph/neptune_driver/adapter.py | 581 | # Create the bulk-edge OpenCypher query using UNWIND | STRING |
| 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 | 69 | # Define an Enum for LLM Providers | COMMENT |
| MEDIUM | cognee/modules/storage/utils/__init__.py | 47 | # Create a base class with the same configuration as DataPoint | COMMENT |
| MEDIUM | cognee/modules/storage/utils/__init__.py | 51 | # Create the model inheriting from the configured base | COMMENT |
| MEDIUM | evals/old/mem0_01042025/hotpot_qa_mem0.py | 29 | # Create a conversation that includes the document content | COMMENT |
| MEDIUM | evals/src/analysis/analyze_results.py | 48 | # Create a copy with just the metric mean, sorted descending | COMMENT |
| MEDIUM | evals/src/qa/qa_benchmark_cognee.py | 90 | # Create a clean slate for cognee | COMMENT |
| MEDIUM | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 540 | "# Create an API key", | CODE |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 34 | Extract step-level agent trace content for the current user. Retrieves either stored ``session_feedback`` valu | STRING |
| HIGH | cognee/tasks/memify/extract_user_sessions.py | 16 | Extract Q&A sessions for the current user via SessionManager. Retrieves all Q&A triplets from specified sessio | 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 | 133 | 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 | 347 | 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 | 382 | 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 | 184 | 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 | 280 | 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 | 322 | 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 | 389 | Fetch and extract content from URLs using BeautifulSoup or Playwright. Args: urls: A single URL, li | STRING |
| HIGH | cognee/tasks/web_scraper/utils.py | 18 | Fetch content from one or more URLs using the specified tool. This function retrieves web page content using either | STRING |
| HIGH | cognee/tasks/web_scraper/utils.py | 90 | 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/translation/detect_language.py | 93 | 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 | 66 | Integrate chunk graphs with ontology validation and store in databases. This function processes document chunks and | 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 | 259 | Inner decorator that wraps the function with usage logging. Args: func: The async function to wrap | STRING |
| HIGH | cognee/shared/usage_logger.py | 280 | Wrapper function that executes the original function and logs usage. This wrapper: - Extracts u | STRING |
| HIGH | cognee/api/v1/ontologies/ontologies.py | 95 | Upload ontology files with their respective keys. Args: ontology_key: List of unique keys | STRING |
| HIGH | cognee/api/v1/ontologies/ontologies.py | 130 | 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 | 78 | Search and query the knowledge graph for insights, information, and connections. This is the final step in the | 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 | 3551 | 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 | cognee/infrastructure/engine/models/DataPoint.py | 334 | Convert the DataPoint instance to a dictionary representation. This method uses the model's built-in f | STRING |
| HIGH | cognee/infrastructure/loaders/core/csv_loader.py | 48 | 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 | 67 | 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 | 81 | Load and process the image file. Args: file_path: Path to the file to load **k | STRING |
| HIGH | cognee/infrastructure/loaders/core/text_loader.py | 54 | 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 | 259 | Extract content from HTML using BeautifulSoup or lxml XPath. Args: html: The HTML content to extrac | STRING |
| HIGH | cognee/infrastructure/loaders/external/pypdf_loader.py | 38 | Load PDF file and extract text content. Args: file_path: Path to the PDF file | STRING |
| HIGH | …infrastructure/loaders/external/unstructured_loader.py | 75 | 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 | 13 | Create and return an ontology resolver instance based on environment parameters. Currently, this function supp | STRING |
| HIGH | cognee/modules/search/methods/search.py | 64 | Args: query_text: query_type: datasets: user: system_prompt_path: | STRING |
| HIGH | …ules/retrieval/utils/description_to_codepart_search.py | 30 | Maps a code description query to relevant code parts using a CodeGraph pipeline. Args: query (str): Th | STRING |
| HIGH | …/permissions/methods/has_user_management_permission.py | 14 | Check if requester is allowed to manage users for a tenant. The requester is allowed if they are the tenant ow | STRING |
| HIGH | cognee/modules/sync/methods/update_sync_operation.py | 15 | Retry database operations with exponential backoff for transient failures. Args: operation_func: Async | STRING |
| HIGH | …/extract_graph_from_data_with_entity_disambiguation.py | 65 | Integrate chunk graphs with ontology validation and store in databases. This function processes document chunks and | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tasks/codingagents/coding_rule_associations.py | 55 | CODE | |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 28 | CODE | |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 13 | CODE | |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 169 | CODE | |
| LOW | cognee/tasks/memify/apply_feedback_weights.py | 71 | CODE | |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 12 | CODE | |
| LOW | cognee/tasks/memify/apply_frequency_weights.py | 51 | CODE | |
| LOW | …ify/global_context_index/bucketing/vector/placement.py | 179 | CODE | |
| LOW | cognee/tasks/ingestion/save_data_item_to_storage.py | 28 | CODE | |
| LOW | cognee/tasks/ingestion/resolve_data_directories.py | 10 | CODE | |
| LOW | cognee/tasks/ingestion/data_item_to_text_file.py | 36 | CODE | |
| LOW | cognee/tasks/ingestion/migrate_relational_database.py | 155 | CODE | |
| LOW | cognee/tasks/ingestion/connectors/gmail.py | 301 | CODE | |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 319 | CODE | |
| LOW | cognee/tasks/translation/translate_content.py | 17 | CODE | |
| LOW | cognee/tasks/storage/index_data_points.py | 73 | CODE | |
| LOW | cognee/tasks/chunks/chunk_by_sentence.py | 32 | CODE | |
| LOW | cognee/tests/test_relational_db_migration.py | 68 | CODE | |
| LOW | cognee/tests/test_relational_db_migration.py | 234 | CODE | |
| LOW | cognee/tests/test_release_multi_user_e2e.py | 507 | CODE | |
| LOW | …infrastructure/session/test_session_sdk_integration.py | 59 | CODE | |
| LOW | cognee/tests/utils/filter_overlapping_entities.py | 1 | CODE | |
| LOW | cognee/tests/utils/filter_overlapping_relationships.py | 4 | CODE | |
| LOW | cognee/tests/performance/locust_performance_analysis.py | 321 | CODE | |
| LOW | cognee/tests/performance/batch_add_cognify_test.py | 105 | CODE | |
| LOW | cognee/shared/usage_logger.py | 114 | CODE | |
| LOW | cognee/shared/cache.py | 247 | CODE | |
| LOW | cognee/shared/logging_utils.py | 271 | CODE | |
| LOW | cognee/shared/logging_utils.py | 157 | CODE | |
| LOW | cognee/cli/minimal_cli.py | 16 | CODE | |
| LOW | cognee/cli/api_dispatch.py | 159 | CODE | |
| LOW | cognee/cli/api_dispatch.py | 229 | CODE | |
| LOW | cognee/cli/api_dispatch.py | 279 | CODE | |
| LOW | cognee/cli/_cognee.py | 124 | CODE | |
| LOW | cognee/cli/_cognee.py | 208 | CODE | |
| LOW | cognee/cli/_cognee.py | 218 | CODE | |
| LOW | cognee/cli/commands/delete_command.py | 34 | CODE | |
| LOW | cognee/cli/commands/delete_command.py | 87 | CODE | |
| LOW | cognee/cli/commands/remember_command.py | 59 | CODE | |
| LOW | cognee/cli/commands/remember_command.py | 65 | CODE | |
| LOW | cognee/cli/commands/search_command.py | 81 | CODE | |
| LOW | cognee/cli/commands/cognify_command.py | 74 | CODE | |
| LOW | cognee/cli/commands/cognify_command.py | 104 | CODE | |
| LOW | cognee/cli/commands/recall_command.py | 68 | CODE | |
| LOW | cognee/cli/commands/config_command.py | 58 | CODE | |
| LOW | cognee/cli/commands/config_command.py | 87 | CODE | |
| LOW | cognee/exceptions/exceptions.py | 10 | CODE | |
| LOW | …ee/memify_pipelines/consolidate_entity_descriptions.py | 60 | CODE | |
| LOW | cognee/eval_framework/analysis/metrics_calculator.py | 31 | CODE | |
| LOW | …gnee/eval_framework/benchmark_adapters/beam_adapter.py | 81 | CODE | |
| LOW | …gnee/eval_framework/benchmark_adapters/beam_adapter.py | 192 | CODE | |
| LOW | cognee/api/client.py | 131 | CODE | |
| LOW | cognee/api/v1/ui/node_setup.py | 32 | CODE | |
| LOW | cognee/api/v1/ui/node_setup.py | 76 | CODE | |
| LOW | cognee/api/v1/ui/node_setup.py | 141 | CODE | |
| LOW | cognee/api/v1/ui/node_setup.py | 210 | CODE | |
| LOW | cognee/api/v1/ui/ui.py | 79 | CODE | |
| LOW | cognee/api/v1/ui/ui.py | 193 | CODE | |
| LOW | cognee/api/v1/ui/ui.py | 424 | CODE | |
| LOW | cognee/api/v1/ui/ui.py | 95 | CODE | |
| 126 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | README.md | 113 | ### Step 1: Install Cognee | COMMENT |
| LOW⚡ | README.md | 121 | ### Step 2: Configure the LLM | COMMENT |
| LOW⚡ | README.md | 130 | ### Step 3: Run the Pipeline | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 160 | # Step 1: Upload two ontologies (one-by-one) | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 189 | # Step 2: Verify ontologies are listed | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 196 | # 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 | 65 | # Step 1: Evaluate answers if requested | COMMENT |
| LOW⚡ | …nee/eval_framework/evaluation/run_evaluation_module.py | 71 | # Step 2: Calculate metrics if requested | COMMENT |
| LOW⚡ | cognee/api/v1/add/add.py | 125 | # Step 1: Add your data (text content or file path) | STRING |
| LOW⚡ | cognee/api/v1/add/add.py | 130 | # Step 2: Process into knowledge graph | STRING |
| LOW⚡ | cognee/api/v1/add/add.py | 133 | # Step 3: Search and query | STRING |
| LOW | cognee/api/v1/serve/serve.py | 136 | # Step 1: Check for saved credentials | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 174 | # Step 2: Device Code Flow | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 185 | # Step 3: Discover or create tenant | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 195 | # Step 4: Get service URL | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 198 | # Step 5: Get or create API key | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 201 | # Step 6: Save credentials | COMMENT |
| LOW | cognee/api/v1/serve/serve.py | 215 | # Step 7: Connect | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 66 | # Step 1: Request device code | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 88 | # Step 2: Show the user what to do | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 99 | # 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 | 1283 | // Step 1: Collect all nodes | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1287 | // Step 2: Find all connected components | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1297 | // Step 3: Aggregate components | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1300 | // Step 4: Identify the largest connected component | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1307 | // Step 5: Find nodes not in the largest connected component | COMMENT |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1891 | # Step 2: Fetch all nodes | STRING |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1903 | # Step 3: Fetch all edges between collected nodes | STRING |
| LOW⚡ | …frastructure/databases/graph/neptune_driver/adapter.py | 732 | # Step 2: Fetch all nodes | STRING |
| LOW⚡ | …frastructure/databases/graph/neptune_driver/adapter.py | 741 | # Step 3: Fetch all edges between collected nodes | STRING |
| LOW | …frastructure/databases/graph/neptune_driver/adapter.py | 712 | # Step 1: Find all neighbor node IDs within depth hops | STRING |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 130 | # Step 1: accepted learning statements from session_learnings. | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 211 | # Step 5: LOAD nodes — ALL DocumentChunk nodes in the dataset (the chunk | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 252 | # Step 6: EMBED node texts (batched) and compute coords per node. | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 273 | # Step 7: PERSIST per-node coordinate vectors. | COMMENT |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 53 | // Step 1: Verify connection | COMMENT |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 82 | // Step 2: SDK quickstart | COMMENT |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 119 | // Step 3: Test from UI | COMMENT |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 205 | // Step 4: Done | COMMENT |
| LOW⚡ | distributed/deploy/daytona_sandbox.py | 90 | # Step 1: Install Cognee (streamed) | COMMENT |
| LOW⚡ | distributed/deploy/daytona_sandbox.py | 95 | # Step 2: Kill any existing server, then start fresh | COMMENT |
| LOW⚡ | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 164 | # Step 1: Reset data and system state | STRING |
| LOW⚡ | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 173 | # Step 2: Add text | STRING |
| LOW⚡ | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 180 | # Step 3: Create knowledge graph | STRING |
| LOW⚡ | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 185 | # Step 4: Query insights | STRING |
| LOW⚡ | …mporal_awareness_example/temporal_awareness_example.py | 17 | # Step 1: Reset data and system state | COMMENT |
| LOW⚡ | …mporal_awareness_example/temporal_awareness_example.py | 20 | # Step 2: Remember text and create temporal knowledge graph memory | COMMENT |
| LOW | …mporal_awareness_example/temporal_awareness_example.py | 36 | # Step 3: Query insights | COMMENT |
| LOW | …vocabulary/ontology_as_reference_vocabulary_example.py | 23 | # Step 1: Reset data and system state | COMMENT |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/root_dir.py | 24 | # Check if it's an S3 URL - S3 URLs are absolute by definition | COMMENT |
| LOW | cognee/tasks/ingestion/resolve_data_directories.py | 42 | if isinstance(item, str): # Check if the item is a path | CODE |
| LOW | cognee/tasks/ingestion/ingest_data.py | 196 | # Check if data is already in dataset | COMMENT |
| LOW | cognee/tasks/translation/detect_language.py | 146 | # Check if translation is needed | COMMENT |
| LOW | cognee/tasks/translation/providers/llm_provider.py | 140 | # Check if API key is configured (required for most providers) | COMMENT |
| LOW | cognee/tests/test_shared_node_preservation.py | 266 | # Check if Germany is still in vector index | COMMENT |
| LOW | cognee/tests/test_custom_data_label.py | 36 | # Display results | STRING |
| LOW | cognee/tests/test_custom_data_label.py | 57 | # 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 | 141 | # Check if Triplet_text collection was created | COMMENT |
| LOW | cognee/tests/test_graph_model_from_schema.py | 64 | # 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_telemetry.py | 21 | # Check if .anon_id exists in the project root | COMMENT |
| LOW | cognee/tests/test_telemetry.py | 105 | # Set ENV to dev which should disable telemetry | 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 | 33 | # Check if server started with errors | COMMENT |
| LOW | …sts/unit/infrastructure/databases/test_rate_limiter.py | 145 | # Print the results | COMMENT |
| LOW | cognee/shared/graph_model_utils.py | 228 | # Display results | COMMENT |
| LOW | cognee/shared/cache.py | 174 | # 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 | 334 | # Check if this is a LiteLLM-related logger | COMMENT |
| LOW | cognee/shared/logging_utils.py | 404 | # Check if there's an exc_info that needs to be processed | COMMENT |
| LOW | cognee/shared/logging_utils.py | 525 | # 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 | 235 | # Check if nvm is installed | COMMENT |
| LOW | cognee/api/v1/ui/node_setup.py | 318 | # Check if nvm is installed | COMMENT |
| LOW | cognee/api/v1/ui/ui.py | 207 | # Check if already downloaded and up to date | COMMENT |
| LOW | cognee/api/v1/ui/ui.py | 732 | # Check if process is still running | COMMENT |
| LOW | cognee/api/v1/datasets/routers/get_datasets_router.py | 540 | # Check if matching_data contains an element | COMMENT |
| LOW | cognee/api/v1/responses/routers/get_responses_router.py | 118 | # 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 | 26 | # 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 | 79 | # 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 | 279 | # Check if the constraint covers ONLY the target column | STRING |
| LOW | …ons/46a6ce2bd2b2_expand_dataset_database_with_json_.py | 286 | # Check if the constraint covers ONLY the target column | STRING |
| LOW | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 356 | # Check if any references to this data_id still exist in the DatasetData table | COMMENT |
| LOW | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 375 | # Check if other data objects point to the same raw data location | COMMENT |
| LOW⚡ | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 440 | # Check if table is in list of tables for the given schema | COMMENT |
| LOW | cognee/infrastructure/databases/graph/config.py | 99 | # Check if absolute path is provided | COMMENT |
| LOW | cognee/infrastructure/llm/config.py | 153 | # Check if BAML is selected as structured output framework but not available | COMMENT |
| LOW | …tructured_output_framework/baml/baml_client/runtime.py | 129 | # Check if already aborted | COMMENT |
| LOW | …tructured_output_framework/baml/baml_client/runtime.py | 158 | # Check if already aborted | COMMENT |
| LOW | …ured_output_framework/baml/baml_client/async_client.py | 88 | # Check if on_tick is provided | COMMENT |
| LOW | …tured_output_framework/baml/baml_client/sync_client.py | 101 | # Check if on_tick is provided | COMMENT |
| LOW | …put_framework/litellm_instructor/llm/get_llm_client.py | 386 | # 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 | 24 | # 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 | 16 | # 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 | …infrastructure/loaders/external/advanced_pdf_loader.py | 88 | # Check if there is any content | COMMENT |
| LOW | …odules/graph/methods/delete_dataset_nodes_and_edges.py | 25 | # 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 | 35 | # 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 | 380 | # Check if retriever info is found for the given query type | COMMENT |
| LOW | cognee/modules/search/methods/search.py | 271 | # Check if graph for dataset is empty and log warnings if necessary | COMMENT |
| LOW | cognee/modules/retrieval/graph_completion_retriever.py | 131 | # Check if all triplets are empty, in case of batch queries | COMMENT |
| LOW | cognee/modules/retrieval/graph_completion_retriever.py | 240 | # Check if all triplets are empty, in case of batch queries | COMMENT |
| LOW | …modules/users/methods/store_principal_configuration.py | 30 | # Check if a configuration with this name already exists for the principal | COMMENT |
| LOW | …sers/permissions/methods/give_permission_on_dataset.py | 55 | # Check if the ACL entry already exists to avoid duplicates | COMMENT |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 160 | # Step 1: Upload two ontologies (one-by-one) | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 189 | # Step 2: Verify ontologies are listed | COMMENT |
| LOW⚡ | cognee/tests/unit/api/test_ontology_endpoint.py | 196 | # 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 | 65 | # Step 1: Evaluate answers if requested | COMMENT |
| LOW⚡ | …nee/eval_framework/evaluation/run_evaluation_module.py | 71 | # Step 2: Calculate metrics if requested | COMMENT |
| LOW⚡ | cognee/api/v1/add/add.py | 125 | # Step 1: Add your data (text content or file path) | STRING |
| LOW⚡ | cognee/api/v1/add/add.py | 130 | # Step 2: Process into knowledge graph | STRING |
| LOW⚡ | cognee/api/v1/add/add.py | 133 | # Step 3: Search and query | STRING |
| LOW | cognee/api/v1/serve/serve.py | 136 | # Step 1: Check for saved credentials | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 174 | # Step 2: Device Code Flow | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 185 | # Step 3: Discover or create tenant | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 195 | # Step 4: Get service URL | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 198 | # Step 5: Get or create API key | COMMENT |
| LOW⚡ | cognee/api/v1/serve/serve.py | 201 | # Step 6: Save credentials | COMMENT |
| LOW | cognee/api/v1/serve/serve.py | 215 | # Step 7: Connect | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 66 | # Step 1: Request device code | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 88 | # Step 2: Show the user what to do | COMMENT |
| LOW | cognee/api/v1/serve/device_auth.py | 99 | # 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 | 1283 | // Step 1: Collect all nodes | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1287 | // Step 2: Find all connected components | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1297 | // Step 3: Aggregate components | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1300 | // Step 4: Identify the largest connected component | COMMENT |
| LOW⚡ | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1307 | // Step 5: Find nodes not in the largest connected component | COMMENT |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1891 | # Step 2: Fetch all nodes | STRING |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1903 | # Step 3: Fetch all edges between collected nodes | STRING |
| LOW⚡ | …frastructure/databases/graph/neptune_driver/adapter.py | 732 | # Step 2: Fetch all nodes | STRING |
| LOW⚡ | …frastructure/databases/graph/neptune_driver/adapter.py | 741 | # Step 3: Fetch all edges between collected nodes | STRING |
| LOW | …frastructure/databases/graph/neptune_driver/adapter.py | 712 | # Step 1: Find all neighbor node IDs within depth hops | STRING |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 130 | # Step 1: accepted learning statements from session_learnings. | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 211 | # Step 5: LOAD nodes — ALL DocumentChunk nodes in the dataset (the chunk | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 252 | # Step 6: EMBED node texts (batched) and compute coords per node. | COMMENT |
| LOW⚡ | cognee/modules/truth_subspace/build.py | 273 | # Step 7: PERSIST per-node coordinate vectors. | COMMENT |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 53 | // Step 1: Verify connection | COMMENT |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 82 | // Step 2: SDK quickstart | COMMENT |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 119 | // Step 3: Test from UI | COMMENT |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 205 | // Step 4: Done | COMMENT |
| LOW⚡ | distributed/deploy/daytona_sandbox.py | 90 | # Step 1: Install Cognee (streamed) | COMMENT |
| LOW⚡ | distributed/deploy/daytona_sandbox.py | 95 | # Step 2: Kill any existing server, then start fresh | COMMENT |
| LOW⚡ | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 164 | # Step 1: Reset data and system state | STRING |
| LOW⚡ | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 173 | # Step 2: Add text | STRING |
| LOW⚡ | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 180 | # Step 3: Create knowledge graph | STRING |
| LOW⚡ | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 185 | # Step 4: Query insights | STRING |
| LOW⚡ | …mporal_awareness_example/temporal_awareness_example.py | 17 | # Step 1: Reset data and system state | COMMENT |
| LOW⚡ | …mporal_awareness_example/temporal_awareness_example.py | 20 | # Step 2: Remember text and create temporal knowledge graph memory | COMMENT |
| LOW | …mporal_awareness_example/temporal_awareness_example.py | 36 | # Step 3: Query insights | COMMENT |
| LOW | …vocabulary/ontology_as_reference_vocabulary_example.py | 23 | # Step 1: Reset data and system state | COMMENT |
| LOW⚡ | …vocabulary/ontology_as_reference_vocabulary_example.py | 37 | # Step 2: Remember text using the ontology-backed graph config. | COMMENT |
| LOW⚡ | …vocabulary/ontology_as_reference_vocabulary_example.py | 42 | # Step 3: Query insights | COMMENT |
| LOW⚡ | notebooks/data/guido_contributions.json | 698 | "before_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\ | CODE |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CLAUDE.md | 348 | LLM_API_KEY="your_api_key" | CODE |
| HIGH | CLAUDE.md | 386 | BAML_LLM_API_KEY="your_api_key" | CODE |
| HIGH | cognee/api/v1/config/config.py | 108 | cognee.config.set_llm_api_key("your-api-key") | STRING |
| HIGH | cognee-frontend/src/app/(app)/api-keys/ApiKeysPage.tsx | 249 | <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 | 250 | <CopyBtn id="header" text={`X-Api-Key: <your-api-key>${tenantId ? `\nX-Tenant-Id: ${tenantId}` : ""}`} copiedF | CODE |
| HIGH | …gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx | 1128 | const resolvedKey = apiKey || "your-api-key"; | CODE |
| HIGH | cognee-frontend/src/app/(app)/integrations/page.tsx | 357 | 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 | cognee-frontend/src/app/(app)/onboarding/page.tsx | 723 | const resolvedKey = apiKey || "<your-api-key>"; | CODE |
| HIGH | …example/user_permissions_and_access_control_example.py | 24 | # os.environ["LLM_API_KEY"] = "your-api-key" | COMMENT |
| HIGH | …/comprehensive_example/cognee_comprehensive_example.py | 9 | os.environ["LLM_API_KEY"] = "your_api_key" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tasks/memify/global_context_index/__init__.py | 4 | __all__ = ["extract_global_context_index_input", "update_global_context_index"] | CODE |
| LOW | cognee/tasks/ingestion/migrate_relational_database.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tasks/ingestion/connectors/__init__.py | 17 | __all__ = ["gmail_source"] | CODE |
| LOW | …poral_awareness/build_graph_with_temporal_awareness.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/tasks/web_scraper/__init__.py | 28 | __all__ = [ | CODE |
| LOW | cognee/tasks/translation/__init__.py | 67 | __all__ = [ | CODE |
| LOW | cognee/tasks/translation/providers/__init__.py | 6 | __all__ = [ | CODE |
| LOW | cognee/tasks/documents/extract_chunks_from_documents.py | 15 | 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/unit/processing/chunks/test_input.py | 112 | __all__ = ["pad"] | CODE |
| LOW | …frastructure/test_embedding_rate_limiting_realistic.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/pipelines/__init__.py | 40 | __all__ = [ | CODE |
| LOW | cognee/shared/cache.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/cli/__init__.py | 6 | __all__ = [ | CODE |
| LOW | cognee/api/v1/llm/__init__.py | 3 | __all__ = ["get_llm_router"] | CODE |
| LOW | cognee/api/v1/llm/routers/__init__.py | 3 | __all__ = ["get_llm_router"] | CODE |
| LOW | cognee/api/v1/ontologies/__init__.py | 4 | __all__ = ["OntologyService", "get_ontology_router"] | CODE |
| LOW | cognee/api/v1/config/config.py | 576 | def set_graph_db_config(config_dict: dict) -> None: | CODE |
| LOW | cognee/api/v1/responses/dispatch_function.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/api/v1/responses/__init__.py | 3 | __all__ = ["get_responses_router"] | CODE |
| LOW | cognee/api/v1/responses/routers/__init__.py | 3 | __all__ = ["get_responses_router"] | CODE |
| LOW | cognee/api/v1/agents/__init__.py | 3 | __all__ = ["get_agents_router"] | CODE |
| LOW | cognee/api/v1/visualize/routers/__init__.py | 3 | __all__ = ["get_schema_router"] | CODE |
| LOW | cognee/api/v1/push/__init__.py | 3 | __all__ = ["PushResult", "push"] | CODE |
| LOW | cognee/api/v1/sessions/__init__.py | 3 | __all__ = ["get_sessions_router"] | CODE |
| LOW | cognee/api/v1/skills/__init__.py | 3 | __all__ = ["list_skills"] | CODE |
| LOW | cognee/api/v1/skills/routers/__init__.py | 3 | __all__ = ["get_skills_router"] | CODE |
| LOW | cognee/api/v1/serve/state.py | 19 | def set_remote_client(client: Optional["CloudClient"]) -> None: | CODE |
| LOW | cognee/api/v1/sync/__init__.py | 10 | __all__ = [ | CODE |
| LOW | cognee/api/v1/sync/routers/__init__.py | 3 | __all__ = ["get_sync_router"] | CODE |
| LOW | cognee/api/v1/export/__init__.py | 3 | __all__ = ["export", "ExportResult"] | CODE |
| LOW | cognee/api/v1/proposals/routers/__init__.py | 3 | __all__ = ["get_proposals_router"] | CODE |
| LOW | cognee/api/v1/session/__init__.py | 16 | __all__ = [ | CODE |
| LOW | cognee/infrastructure/locks/__init__.py | 3 | __all__ = ["release_improve_lock", "session_lock", "try_acquire_improve_lock"] | CODE |
| LOW | cognee/infrastructure/databases/cache/__init__.py | 5 | __all__ = ["get_cache_engine", "get_cache_config", "SessionQAEntry", "SessionAgentTraceEntry"] | CODE |
| LOW | …e/infrastructure/databases/cache/cache_db_interface.py | 188 | async def set_value(self, key: str, value: str, ttl: int | None = None) -> None: | CODE |
| LOW | cognee/infrastructure/databases/cache/tapes/__init__.py | 3 | __all__ = ["TapesCacheAdapter"] | CODE |
| LOW⚡ | …e/infrastructure/databases/cache/redis/RedisAdapter.py | 498 | async def set_value(self, key: str, value: str, ttl: int | None = None) -> None: | CODE |
| LOW⚡ | …frastructure/databases/cache/fscache/FsCacheAdapter.py | 395 | async def set_value(self, key: str, value: str, ttl: int | None = None) -> None: | CODE |
| LOW | cognee/infrastructure/databases/cache/sql/__init__.py | 3 | __all__ = ["SqlCacheAdapter"] | CODE |
| LOW | …/infrastructure/databases/cache/sql/SqlCacheAdapter.py | 1030 | async def set_value(self, key: str, value: str, ttl: Optional[int] = None) -> None: | CODE |
| LOW | …nee/infrastructure/databases/dataset_queue/__init__.py | 12 | __all__ = ["dataset_queue"] | CODE |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 1617 | async def set_graph_metadata(self, metadata: dict[str, str]) -> None: | CODE |
| LOW | …rastructure/databases/graph/ladybug/ladybug_migrate.py | 23 | __all__ = [ | CODE |
| LOW | cognee/infrastructure/databases/graph/kuzu/adapter.py | 19 | __all__ = [ | CODE |
| LOW | …nee/infrastructure/databases/graph/postgres/adapter.py | 1476 | async def set_graph_metadata(self, metadata: dict[str, str]) -> None: | STRING |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1006 | async def set_graph_metadata(self, metadata: dict[str, str]) -> None: | STRING |
| LOW | …rastructure/databases/graph/neptune_driver/__init__.py | 11 | __all__ = [ | CODE |
| LOW | cognee/infrastructure/databases/unified/__init__.py | 6 | __all__ = [ | CODE |
| LOW | …ee/infrastructure/databases/utils/closing_lru_cache.py | 96 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/infrastructure/databases/provenance/__init__.py | 24 | __all__ = [ | CODE |
| LOW | …tructured_output_framework/baml/baml_client/tracing.py | 26 | __all__ = ["trace", "set_tags", "flush", "on_log_event"] | CODE |
| LOW | …structured_output_framework/baml/baml_client/config.py | 88 | __all__ = [ | CODE |
| LOW | …tructured_output_framework/baml/baml_client/globals.py | 37 | __all__ = [] | CODE |
| LOW | …ructured_output_framework/baml/baml_client/__init__.py | 49 | __all__ = [ | STRING |
| LOW | …t_framework/litellm_instructor/llm/bedrock/__init__.py | 5 | __all__ = ["BedrockAdapter"] | CODE |
| LOW | cognee/infrastructure/engine/models/DataPoint.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | cognee/infrastructure/engine/models/DataPoint.py | 287 | def update_version(self) -> None: | CODE |
| LOW | cognee/infrastructure/loaders/__init__.py | 18 | __all__ = ["get_loader_engine", "use_loader", "LoaderInterface"] | CODE |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cognee/tests/test_neptune_analytics_vector.py | 124 | # Always return true | COMMENT |
| 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 | cognee/cli/commands/push_command.py | 99 | return await cognee.push( | STRING |
| HIGH | cognee/api/v1/recall/routers/get_recall_router.py | 41 | "Dataset names to search within. Omit (null) to search all datasets " | CODE |
| HIGH | cognee/api/v1/push/push.py | 27 | """Outcome of a ``cognee.push()`` call.""" | STRING |
| HIGH | cognee/api/v1/remember/remember.py | 720 | "cognee.push() to upload the data to the remote instance." | CODE |
| HIGH | cognee/api/v1/remember/routers/get_remember_router.py | 40 | """Import uploaded COGX archive tarballs (produced by ``cognee.push()``).""" | STRING |
| HIGH | cognee/modules/retrieval/utils/references.py | 72 | Missing, null, non-string, or empty/whitespace-only values are treated as | STRING |
| 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 | 97 | sandbox.process.exec("pkill -f uvicorn || true", timeout=5) | CODE |
| HIGH | cognee-mcp/src/server.py | 1394 | "Build it with: cd cognee-mcp/apps-src && npm install && npm run build" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 47 | CODE | |
| LOW | cognee/cli/api_client.py | 285 | CODE | |
| LOW | …s/logistics_system_utils/utils/world_creation_utils.py | 635 | CODE | |
| LOW | …rk_adapters/logistics_system_utils/entities/package.py | 93 | CODE | |
| LOW | cognee/api/v1/agents/agents.py | 158 | CODE | |
| LOW | cognee/api/v1/agents/agents.py | 214 | CODE | |
| LOW | cognee/api/v1/agents/routers/get_agents_router.py | 94 | CODE | |
| LOW | cognee/api/v1/cognify/cognify.py | 43 | CODE | |
| LOW | cognee/api/v1/recall/recall.py | 336 | CODE | |
| LOW | cognee/api/v1/search/search.py | 31 | CODE | |
| LOW | cognee/api/v1/add/add.py | 25 | CODE | |
| LOW | cognee/api/v1/remember/remember.py | 625 | CODE | |
| LOW | cognee/api/v1/remember/routers/get_remember_router.py | 109 | CODE | |
| LOW | …e/infrastructure/databases/cache/cache_db_interface.py | 133 | CODE | |
| LOW | …nee/infrastructure/databases/cache/get_cache_engine.py | 63 | CODE | |
| LOW | …e/infrastructure/databases/cache/redis/RedisAdapter.py | 24 | CODE | |
| LOW | …e/infrastructure/databases/cache/redis/RedisAdapter.py | 176 | CODE | |
| LOW | …e/infrastructure/databases/cache/redis/RedisAdapter.py | 357 | 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 | 326 | CODE | |
| LOW | …/infrastructure/databases/cache/sql/SqlCacheAdapter.py | 599 | CODE | |
| LOW | …nee/infrastructure/databases/graph/get_graph_engine.py | 243 | CODE | |
| LOW | …nee/infrastructure/databases/graph/get_graph_engine.py | 380 | CODE | |
| LOW | …/databases/vector/embeddings/LiteLLMEmbeddingEngine.py | 62 | CODE | |
| LOW | …ured_output_framework/baml/baml_client/async_client.py | 160 | CODE | |
| LOW | …ured_output_framework/baml/baml_client/async_client.py | 183 | CODE | |
| LOW | …tured_output_framework/baml/baml_client/sync_client.py | 172 | CODE | |
| LOW | …tured_output_framework/baml/baml_client/sync_client.py | 195 | CODE | |
| LOW | …put_framework/litellm_instructor/llm/gemini/adapter.py | 55 | CODE | |
| LOW | …work/litellm_instructor/llm/generic_llm_api/adapter.py | 90 | CODE | |
| LOW | …amework/litellm_instructor/llm/azure_openai/adapter.py | 53 | CODE | |
| LOW | …_framework/litellm_instructor/llm/llama_cpp/adapter.py | 70 | CODE | |
| LOW | …put_framework/litellm_instructor/llm/openai/adapter.py | 69 | CODE | |
| LOW | …nee/infrastructure/files/storage/FileBufferedReader.py | 16 | CODE | |
| LOW | cognee/infrastructure/session/session_manager.py | 310 | CODE | |
| LOW | cognee/infrastructure/session/session_manager.py | 574 | CODE | |
| LOW | cognee/modules/agent_memory/decorator.py | 29 | CODE | |
| LOW | cognee/modules/memify/memify.py | 25 | CODE | |
| LOW | cognee/modules/session_lifecycle/metrics.py | 370 | CODE | |
| LOW | cognee/modules/graph/cognee_graph/CogneeGraph.py | 226 | CODE | |
| LOW | cognee/modules/agents/registry.py | 126 | CODE | |
| LOW | cognee/modules/pipelines/operations/pipeline.py | 82 | CODE | |
| LOW | cognee/modules/pipelines/operations/pipeline.py | 123 | CODE | |
| LOW | cognee/modules/pipelines/operations/run_tasks.py | 58 | CODE | |
| LOW | …/modules/pipelines/operations/run_tasks_distributed.py | 89 | CODE | |
| LOW | …/modules/pipelines/operations/run_tasks_distributed.py | 86 | CODE | |
| LOW | cognee/modules/search/methods/search.py | 40 | CODE | |
| LOW | cognee/modules/search/methods/search.py | 153 | CODE | |
| LOW | cognee/modules/search/methods/search.py | 213 | CODE | |
| LOW | cognee/modules/search/methods/search.py | 241 | CODE | |
| LOW | cognee/modules/retrieval/agentic_retriever.py | 82 | CODE | |
| LOW | cognee/modules/retrieval/agentic_retriever.py | 290 | CODE | |
| LOW | …/retrieval/graph_completion_decomposition_retriever.py | 33 | CODE | |
| LOW | cognee/modules/retrieval/graph_completion_retriever.py | 44 | CODE | |
| LOW | cognee/modules/retrieval/hybrid_retriever.py | 36 | CODE | |
| LOW | …odules/retrieval/graph_summary_completion_retriever.py | 20 | CODE | |
| LOW | cognee/modules/retrieval/temporal_retriever.py | 36 | CODE | |
| LOW | …rieval/graph_completion_context_extension_retriever.py | 21 | CODE | |
| LOW | …ee/modules/retrieval/graph_completion_cot_retriever.py | 53 | CODE | |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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/tasks/storage/add_data_points.py | 101 | COMMENT | |
| LOW | cognee/api/v1/responses/default_tools.py | 61 | # "type": "function", | COMMENT |
| LOW | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 81 | COMMENT | |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 321 | # this — see ``close()``'s docstring for the cross-loop reason. | COMMENT |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 641 | # Submit + check-closed atomically under | COMMENT |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 901 | # Idempotent — a second close() sees the flag and returns. | COMMENT |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 3261 | # those files, so it MUST hold the same lock — otherwise a peer | COMMENT |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 61 | COMMENT | |
| LOW | …infrastructure/databases/unified/get_unified_engine.py | 61 | embedding_engine=embedding_engine, | COMMENT |
| LOW | …ee/infrastructure/databases/utils/closing_lru_cache.py | 121 | # generous on purpose: reaching it means the close is wedged or its completion | COMMENT |
| LOW | …ee/infrastructure/databases/utils/closing_lru_cache.py | 241 | # ``asyncio.wrap_future`` yields control so this task can run (no deadlock). | COMMENT |
| LOW | …ee/infrastructure/databases/utils/closing_lru_cache.py | 461 | raise TypeError("maxsize must be an int or None") | COMMENT |
| LOW | …e/infrastructure/databases/vector/get_vector_engine.py | 21 | if the old one was evicted (recovery path). Code that stores the return | COMMENT |
| LOW | …nfrastructure/databases/vector/create_vector_engine.py | 81 | # Check USE_UNIFIED_PROVIDER outside the cache so it's always re-read | COMMENT |
| LOW | …rastructure/databases/vector/lancedb/LanceDBAdapter.py | 81 | COMMENT | |
| LOW | …rastructure/databases/vector/lancedb/LanceDBAdapter.py | 181 | # Guards lifecycle state — the ``connection``, ``_session`` and | COMMENT |
| LOW | …ured_output_framework/baml/baml_client/type_builder.py | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| LOW | cognee/modules/visualization/views/inspector.js | 1 | // Schema type inspector side panel (PR3 + instance drill-down). | COMMENT |
| LOW | cognee/modules/visualization/views/semantic_map.js | 1 | // Semantic-map view — a meaning-space scatter of the graph. | COMMENT |
| LOW | cognee/modules/visualization/views/schema_view.js | 1 | // Schema view (Phase 2 redesign): explicit-position ontology diagram. | COMMENT |
| LOW | cognee/modules/visualization/views/memory_map.js | 1 | // Memory-map view (STEP 2). | COMMENT |
| LOW | cognee/modules/graph/methods/upsert_nodes.py | 61 | for start_index in range(0, len(node_rows), UPSERT_BATCH_SIZE): | COMMENT |
| LOW | …e/modules/graph/utils/get_model_instance_from_graph.py | 1 | from collections import OrderedDict | COMMENT |
| LOW | cognee/modules/graph/models/Edge.py | 41 | DateTime(timezone=True), default=lambda: datetime.now(timezone.utc), nullable=False | COMMENT |
| LOW | cognee/modules/graph/models/Node.py | 41 | ) | COMMENT |
| LOW | cognee/modules/graph/models/Node.py | 61 | # event.listen(Node.__table__, "after_create", enable_node_rls) | COMMENT |
| LOW | cognee/modules/migration/sources/base.py | 41 | # facts) to keep memory bounded. Set False on one-shot sources (e.g. live | COMMENT |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 21 | // remove(...args: any[]): void; | COMMENT |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 41 | // computeBoundingBox(...args: any[]): void; | COMMENT |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 81 | // static DEFAULT_MATRIX_AUTO_UPDATE: boolean; | COMMENT |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 101 | COMMENT | |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 261 | // function toArray(...args: any[]): void; | COMMENT |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 421 | // function transformDirection(...args: any[]): void; | COMMENT |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 441 | // name: string; | COMMENT |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 461 | // name: string; | COMMENT |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 21 | // remove(...args: any[]): void; | COMMENT |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 41 | // computeBoundingBox(...args: any[]): void; | COMMENT |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 81 | // static DEFAULT_MATRIX_AUTO_UPDATE: boolean; | COMMENT |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 101 | COMMENT | |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 261 | // function toArray(...args: any[]): void; | COMMENT |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 421 | // function transformDirection(...args: any[]): void; | COMMENT |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 441 | // name: string; | COMMENT |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 461 | // name: string; | COMMENT |
| LOW | cognee-frontend/src/app/(app)/onboarding/page.tsx | 221 | COMMENT | |
| LOW | cognee-frontend/src/app/(graph)/GraphVisualization.tsx | 81 | } | COMMENT |
| LOW | cognee-frontend/src/app/(graph)/GraphVisualization.tsx | 101 | // } | COMMENT |
| LOW | cognee-frontend/src/modules/datasets/cognifyDataset.ts | 41 | ...(options?.llmModel && { llmModel: options.llmModel }), | COMMENT |
| LOW | cognee-frontend/src/modules/datasets/cognifyDataset.ts | 61 | // const data = JSON.parse(event.data); | COMMENT |
| LOW | cognee-frontend/src/data/prompts.ts | 461 | // plugin/skill's remember tools). | COMMENT |
| LOW | tools/check-package.sh | 1 | ##!/usr/bin/env bash | COMMENT |
| LOW | tools/check-package.sh | 21 | # fi | COMMENT |
| LOW | distributed/deploy/daytona.yaml | 1 | # Daytona is now an SDK-based cloud sandbox platform. | COMMENT |
| LOW | deployment/helm/Chart.yaml | 1 | apiVersion: v2 | COMMENT |
| LOW | deployment/helm/Chart.yaml | 21 | # incremented each time you make changes to the application. Versions are not expected to | COMMENT |
| LOW | examples/demos/pipeline_api_proposal.py | 21 | # Before (current): | COMMENT |
| LOW | examples/demos/pipeline_api_proposal.py | 161 | # 4a. Semaphore-based concurrency (replaces batch-based parallelism) | COMMENT |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cognee/tests/unit/test_context_global_variables.py | 80 | fake_user = SimpleNamespace(id=user_id, tenant_id=None) | CODE |
| LOW⚡ | cognee/tests/unit/test_context_global_variables.py | 96 | return fake_user | CODE |
| LOW⚡ | cognee/tests/unit/test_agents_sdk_cli.py | 450 | fake_user = _make_user() | CODE |
| LOW⚡ | cognee/tests/unit/test_agents_sdk_cli.py | 453 | return fake_user | CODE |
| LOW | cognee/tests/unit/test_agents_sdk_cli.py | 466 | assert user is fake_user | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 22 | deal = DealBrief(deal_name="Acme Corp", health="Good") | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 26 | assert payload.completion.deal_name == "Acme Corp" | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 27 | assert payload.model_dump()["completion"] == {"deal_name": "Acme Corp", "health": "Good"} | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 52 | completion={"deal_name": "Acme Corp", "health": "Good"}, | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 55 | assert payload.completion == {"deal_name": "Acme Corp", "health": "Good"} | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 56 | assert payload.model_dump()["completion"] == {"deal_name": "Acme Corp", "health": "Good"} | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 63 | deal = DealBrief(deal_name="Acme Corp", health="Good") | CODE |
| LOW⚡ | cognee/tests/unit/search/test_search_result_payload.py | 66 | assert dumped["completion"] == {"deal_name": "Acme Corp", "health": "Good"} | 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 | …/unit/modules/users/test_conditional_authentication.py | 46 | email="user@example.com", | CODE |
| LOW | …/unit/modules/users/test_conditional_authentication.py | 68 | 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 | 48 | 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 | 10 | Verifies that the current branch can search the v0.5.7 cognified data, then adds + cognifies new Lorem Ipsum data with | STRING |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 27 | Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 32 | SEARCH_QUERY = "What is Lorem Ipsum and where does it come from?" | STRING |
| LOW⚡ | cognee/tests/backwards_compatibility/phase1_seed.py | 42 | 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 | 64 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 64 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 70 | Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 74 | Loren Ipsum Dolor sit amet, Lorem ipsum. | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 74 | Loren Ipsum Dolor sit amet, Lorem ipsum. | CODE |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 78 | SEARCH_QUERY = "What is Lorem Ipsum and where does it come from?" | STRING |
| LOW⚡ | cognee/tests/backwards_compatibility/phase2_verify.py | 463 | print("\n[Step 2] Re-adding + cognifying Lorem Ipsum with current branch...") | CODE |
| LOW | cognee/tests/api/test_agent_mode.py | 24 | _DUMMY_USER = User(email="test@test.com", hashed_password="!") | CODE |
| LOW⚡ | …ee/infrastructure/databases/vector/embeddings/utils.py | 32 | dummy_value = "." | CODE |
| LOW⚡ | …ee/infrastructure/databases/vector/embeddings/utils.py | 34 | return [t if is_embeddable(t) else dummy_value for t in text_list] | CODE |
| LOW⚡ | cognee/infrastructure/llm/extraction/texts.json | 2 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standa | CODE |
| LOW⚡ | cognee/infrastructure/llm/extraction/texts.json | 3 | "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its | CODE |
| LOW⚡ | cognee/infrastructure/llm/extraction/texts.json | 4 | "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literat | CODE |
| LOW⚡ | cognee/infrastructure/llm/extraction/texts.json | 4 | "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literat | CODE |
| LOW⚡ | cognee/infrastructure/llm/extraction/texts.json | 5 | "The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and | CODE |
| LOW⚡ | cognee/infrastructure/llm/extraction/texts.json | 6 | "There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some for | CODE |
| LOW | cognee-starter-kit/src/data/people.json | 3 | "name": "John Doe", | CODE |
| LOW | …om_pipelines/organizational_hierarchy/data/people.json | 3 | "name": "John Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cognee/skill.md | 309 | ### What Cognee gives agentic workflows | COMMENT |
| MEDIUM⚡ | …it/modules/retrieval/test_include_references_wiring.py | 29 | # CompletionRetriever (RAG / chunk evidence) | COMMENT |
| MEDIUM⚡ | cognee/cli/_cognee.py | 353 | # in-process. This is the correct mode for concurrent / multi-agent use | COMMENT |
| MEDIUM | cognee/api/v1/recall/query_router.py | 93 | # --- Reasoning / chain-of-thought --- | COMMENT |
| MEDIUM | …s/vector/embeddings/OpenAICompatibleEmbeddingEngine.py | 159 | # Handle context window exceeded by splitting input | COMMENT |
| MEDIUM | cognee/infrastructure/llm/tokenizer/resolver.py | 154 | # (e.g. a newly released embedding model), so guard the "never raises" | COMMENT |
| MEDIUM | cognee/infrastructure/llm/tokenizer/resolver.py | 194 | # override wins, otherwise use the embedding model's own repo. | COMMENT |
| MEDIUM | cognee/modules/retrieval/agentic_retriever.py | 263 | # Ungraded agentic executions use the neutral default score until | 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/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⚡ | evals/src/qa/qa_benchmark_base.py | 103 | # Get answer from RAG system | COMMENT |
| MEDIUM | evals/src/qa/qa_benchmark_base.py | 133 | # Initialize RAG system | COMMENT |
| MEDIUM | …pelines/memify_coding_agent_rule_extraction_example.py | 73 | # 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 | 101 | # the invoices related to the two customers, without any hallucinations or additional information | 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 | 302 | # Force the merged detag query to fail. Whitelist the harness | COMMENT |
| LOW⚡ | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 493 | # Should not raise exception, just return | COMMENT |
| LOW⚡ | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 522 | # Should not raise exception, just return with error message | COMMENT |
| LOW | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 572 | # Should not raise exception, just return with error message | COMMENT |
| MEDIUM | cognee/api/v1/health/health.py | 245 | """Get comprehensive health status.""" | STRING |
| MEDIUM | …ee/infrastructure/databases/utils/closing_lru_cache.py | 214 | # (a proxy finalizer can fire at exit). That's fine: harness's | COMMENT |
| LOW | …structure/databases/vector/pgvector/PGVectorAdapter.py | 492 | # If limit is still 0, no need to do the search, just return empty results | COMMENT |
| MEDIUM | cognee/modules/visualization/semantic_clusters.py | 144 | label the seam then discards, and no dependency on the #3601 harness. | STRING |
| LOW | cognee/modules/storage/utils/__init__.py | 17 | # if the obj is uuid, we simply return the value of uuid | COMMENT |
| MEDIUM | cognee/modules/cognify/rollback.py | 214 | # Important ordering for robust retries: | COMMENT |
| LOW⚡ | …/users/authentication/api_key/get_api_key_transport.py | 22 | # No login response for API key auth — just return unchanged | COMMENT |
| LOW⚡ | …/users/authentication/api_key/get_api_key_transport.py | 26 | # No logout response for API key auth — just return unchanged | COMMENT |
| MEDIUM | cognee/modules/sync/models/SyncOperation.py | 92 | """Get comprehensive progress information.""" | STRING |
| LOW | …hierarchy/organizational_hierarchy_pipeline_example.py | 62 | # No manual dict-based deduplication needed — just create instances freely. | COMMENT |
| MEDIUM | cognee-mcp/apps-src/package-lock.json | 2255 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | cognee_db_workers/lancedb_worker.py | 139 | # 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 |
|---|---|---|---|---|
| LOW | cognee/tests/test_lancedb.py | 306 | # Note: make sure to call test_vector_engine_search_with_nodeset_filtering() | COMMENT |
| LOW | cognee/tests/test_pgvector.py | 321 | # Note: make sure to call test_vector_engine_search_with_nodeset_filtering() | STRING |
| 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 | 266 | 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 | 42 | # 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 |
|---|---|---|---|---|
| CRITICAL | …e/tests/unit/infrastructure/llm/test_ollama_adapter.py | 57 | adapter.aclient.chat.completions.create.assert_awaited_once() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | evals/src/qa/qa_benchmark_cognee.py | 166 | # Example usage | COMMENT |
| LOW | evals/src/qa/qa_benchmark_mem0.py | 103 | # Example usage | COMMENT |
| LOW | evals/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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cognee/api/v1/sync/sync.py | 904 | # TODO: consider adding retries | COMMENT |
| LOW⚡ | cognee/api/v1/sync/sync.py | 908 | # TODO: consider adding retries | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |