Memory control plane for AI Agents in 6 lines of code
5197 matches across 19 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cognee/context_global_variables.py | 30 | async def set_session_user_context_variable(user): |
| LOW | cognee/context_global_variables.py | 34 | def multi_user_support_possible(): |
| LOW | cognee/context_global_variables.py | 83 | def backend_access_control_enabled(): |
| LOW | cognee/context_global_variables.py | 114 | async def apply_database_context_variables( |
| LOW | cognee/context_global_variables.py | 235 | def set_database_global_context_variables( |
| LOW | cognee/tasks/memify/cognify_agent_trace_feedback.py | 12 | async def cognify_agent_trace_feedback( |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 28 | async def extract_agent_trace_feedbacks( |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 13 | def _build_datapoint_type_index_mapping() -> Dict[str, List[str]]: |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 72 | def _extract_relationship_text( |
| LOW | cognee/tasks/memify/apply_frequency_weights.py | 94 | async def _mark_frequency_processed( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 39 | def validate_global_context_index_config( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 66 | def validate_graph_dataset_context( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 74 | async def filter_graph_dataset_text_summaries( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 93 | async def select_text_summaries_for_strategy( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 104 | async def load_graph_bucketing_data_if_needed( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 118 | async def reset_context_index_for_rebuild( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 133 | def select_new_context_index_items( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 142 | def validate_existing_buckets_for_strategy( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 177 | async def prepare_existing_context_index( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 203 | async def ensure_graph_bucketing_inputs( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 220 | def unpack_graph_bucketing_inputs( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 228 | async def build_and_persist_context_index( |
| LOW | cognee/tasks/memify/global_context_index/update.py | 261 | async def update_global_context_index( |
| LOW | cognee/tasks/memify/global_context_index/build.py | 57 | def source_collection_for_level(level: int) -> str: |
| LOW | cognee/tasks/memify/global_context_index/build.py | 160 | def merge_existing_and_new_buckets( |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 17 | async def safe_delete_context_vectors(vector_engine: Any, ids: list[str]) -> None: |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 30 | async def delete_context_index_nodes(unified_engine: Any, bucket_ids: list[str]) -> None: |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 37 | def ensure_global_context_storage_context( |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 50 | def build_context_index_edges(assignments: list[BucketAssignment]) -> list: |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 72 | async def persist_context_summaries( |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 83 | async def persist_context_index_edges( |
| LOW | cognee/tasks/memify/global_context_index/summarize.py | 31 | async def generate_global_context_summary(children: list[SummaryNode]) -> str: |
| LOW | cognee/tasks/memify/global_context_index/summarize.py | 35 | async def build_bucket_summary_datapoint( |
| LOW | cognee/tasks/memify/global_context_index/summarize.py | 61 | async def generate_bucket_summary_datapoints( |
| LOW | cognee/tasks/memify/global_context_index/summarize.py | 71 | async def build_global_context_summary_datapoint( |
| LOW | cognee/tasks/memify/global_context_index/load.py | 19 | def global_context_summary_level(attributes: dict[str, Any]) -> int | None: |
| LOW | cognee/tasks/memify/global_context_index/load.py | 26 | def is_root_global_context_summary(attributes: dict[str, Any]) -> bool: |
| LOW | cognee/tasks/memify/global_context_index/load.py | 35 | def graph_bucket_entity_ids_from_attributes( |
| LOW | cognee/tasks/memify/global_context_index/load.py | 50 | def extract_context_index_input( |
| LOW | cognee/tasks/memify/global_context_index/load.py | 136 | def rebuild_child_ids_from_parent_pointers( |
| LOW | cognee/tasks/memify/global_context_index/load.py | 152 | async def load_context_index_input_from_graph( |
| LOW | cognee/tasks/memify/global_context_index/load.py | 160 | async def get_context_index_memory_fragment() -> CogneeGraph: |
| LOW | cognee/tasks/memify/global_context_index/load.py | 177 | async def extract_global_context_index_input( |
| LOW | …/tasks/memify/global_context_index/bucketing/common.py | 47 | def mark_bucket_for_persistence( |
| LOW | …/memify/global_context_index/bucketing/graph/inputs.py | 15 | async def load_graph_bucketing_inputs( |
| LOW | …/memify/global_context_index/bucketing/graph/inputs.py | 45 | def validate_graph_bucketing_inputs(missing_made_from_summary_ids: set[str]) -> None: |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 15 | def rebuild_graph_buckets_for_level( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 76 | def place_graph_summaries_incrementally( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 151 | def validate_graph_buckets_can_be_extended(existing_buckets: list[SummaryNode]) -> None: |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 161 | def validate_vector_buckets_can_be_extended(existing_buckets: list[SummaryNode]) -> None: |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 188 | def _normalize_existing_graph_buckets( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 209 | def _has_positive_entity_weight( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 216 | def _build_entity_to_bucket_ids( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 246 | def _build_entity_to_summary_ids( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 257 | def _choose_existing_graph_bucket( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 323 | def _first_available_misc_bucket( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 379 | def _assign_summary_to_graph_bucket( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 394 | def _assign_summary_to_misc_bucket( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 420 | def _build_entity_bucket_child_ids( |
| LOW | …mify/global_context_index/bucketing/graph/placement.py | 517 | def _add_bucket_with_entities( |
| 2369 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | cognee/__init__.py | 18 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/__init__.py | 20 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/__init__.py | 45 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/__init__.py | 47 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tasks/ingestion/resolve_dlt_sources.py | 161 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tasks/ingestion/resolve_dlt_sources.py | 163 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 8 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 10 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 42 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 44 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 29 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/pipelines/test_bound_task_pipeline.py | 31 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 80 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 82 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 139 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 141 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 166 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 168 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 230 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 232 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 290 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 292 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 340 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_api_error_responses.py | 342 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_delete_ontology.py | 22 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_delete_ontology.py | 24 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_delete_ontology.py | 61 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_delete_ontology.py | 63 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_delete_ontology.py | 164 | # --------------------------------------------------------------------------- |
| MEDIUM | cognee/tests/unit/api/test_delete_ontology.py | 166 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 30 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 32 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 98 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 100 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 206 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 208 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 288 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 290 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 371 | # --------------------------------------------------------------------------- |
| MEDIUM | …ee/tests/unit/api/v1/forget/test_forget_memory_only.py | 373 | # --------------------------------------------------------------------------- |
| MEDIUM | …/infrastructure/databases/test_unified_store_engine.py | 9 | # --------------------------------------------------------------------------- |
| MEDIUM | …/infrastructure/databases/test_unified_store_engine.py | 11 | # --------------------------------------------------------------------------- |
| MEDIUM | …/infrastructure/databases/test_unified_store_engine.py | 43 | # --------------------------------------------------------------------------- |
| MEDIUM | …/infrastructure/databases/test_unified_store_engine.py | 45 | # --------------------------------------------------------------------------- |
| MEDIUM | …/infrastructure/databases/test_unified_store_engine.py | 89 | # --------------------------------------------------------------------------- |
| MEDIUM | …/infrastructure/databases/test_unified_store_engine.py | 91 | # --------------------------------------------------------------------------- |
| MEDIUM | …/infrastructure/databases/test_unified_store_engine.py | 130 | # --------------------------------------------------------------------------- |
| MEDIUM | …/infrastructure/databases/test_unified_store_engine.py | 132 | # --------------------------------------------------------------------------- |
| MEDIUM | …rastructure/databases/test_neptune_analytics_hybrid.py | 49 | # --------------------------------------------------------------------------- |
| MEDIUM | …rastructure/databases/test_neptune_analytics_hybrid.py | 51 | # --------------------------------------------------------------------------- |
| MEDIUM | …rastructure/databases/test_neptune_analytics_hybrid.py | 117 | # --------------------------------------------------------------------------- |
| MEDIUM | …rastructure/databases/test_neptune_analytics_hybrid.py | 119 | # --------------------------------------------------------------------------- |
| MEDIUM | …rastructure/databases/test_neptune_analytics_hybrid.py | 299 | # --------------------------------------------------------------------------- |
| MEDIUM | …rastructure/databases/test_neptune_analytics_hybrid.py | 301 | # --------------------------------------------------------------------------- |
| MEDIUM | …rastructure/databases/test_neptune_analytics_hybrid.py | 188 | # --------------------------------------------------------------------------- |
| MEDIUM | …rastructure/databases/test_neptune_analytics_hybrid.py | 190 | # --------------------------------------------------------------------------- |
| MEDIUM | …tructure/databases/graph/test_kuzu_subprocess_proxy.py | 157 | # --------------------------------------------------------------------------- |
| MEDIUM | …tructure/databases/graph/test_kuzu_subprocess_proxy.py | 159 | # --------------------------------------------------------------------------- |
| MEDIUM | …nit/modules/memify_tasks/test_sync_graph_to_session.py | 130 | # --------------------------------------------------------------------------- |
| MEDIUM | …nit/modules/memify_tasks/test_sync_graph_to_session.py | 132 | # --------------------------------------------------------------------------- |
| 281 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cognee/root_dir.py | 2 | |
| LOW | cognee/__init__.py | 21 | |
| LOW | cognee/__init__.py | 22 | |
| LOW | cognee/__init__.py | 23 | |
| LOW | cognee/__init__.py | 24 | |
| LOW | cognee/__init__.py | 25 | |
| LOW | cognee/__init__.py | 26 | |
| LOW | cognee/__init__.py | 27 | |
| LOW | cognee/__init__.py | 28 | |
| LOW | cognee/__init__.py | 29 | |
| LOW | cognee/__init__.py | 30 | |
| LOW | cognee/__init__.py | 30 | |
| LOW | cognee/__init__.py | 31 | |
| LOW | cognee/__init__.py | 31 | |
| LOW | cognee/__init__.py | 32 | |
| LOW | cognee/__init__.py | 35 | |
| LOW | cognee/__init__.py | 36 | |
| LOW | cognee/__init__.py | 39 | |
| LOW | cognee/__init__.py | 40 | |
| LOW | cognee/__init__.py | 43 | |
| LOW | cognee/__init__.py | 48 | |
| LOW | cognee/__init__.py | 48 | |
| LOW | cognee/__init__.py | 48 | |
| LOW | cognee/__init__.py | 48 | |
| LOW | cognee/__init__.py | 48 | |
| LOW | cognee/__init__.py | 48 | |
| LOW | cognee/__init__.py | 48 | |
| LOW | cognee/__init__.py | 48 | |
| LOW | cognee/__init__.py | 49 | |
| LOW | cognee/__init__.py | 49 | |
| LOW | cognee/__init__.py | 49 | |
| LOW | cognee/__init__.py | 49 | |
| LOW | cognee/__init__.py | 52 | |
| LOW | cognee/__init__.py | 52 | |
| LOW | cognee/__init__.py | 52 | |
| LOW | cognee/__init__.py | 52 | |
| LOW | cognee/__init__.py | 52 | |
| LOW | cognee/__init__.py | 61 | |
| LOW | cognee/__init__.py | 64 | |
| LOW | cognee/__init__.py | 64 | |
| LOW | cognee/low_level.py | 1 | |
| LOW | cognee/low_level.py | 2 | |
| LOW | cognee/context_global_variables.py | 8 | |
| LOW | cognee/context_global_variables.py | 15 | |
| LOW | cognee/tasks/memify/__init__.py | 9 | |
| LOW | cognee/tasks/memify/__init__.py | 10 | |
| LOW | cognee/tasks/memify/__init__.py | 11 | |
| LOW | cognee/tasks/memify/__init__.py | 12 | |
| LOW | cognee/tasks/memify/__init__.py | 13 | |
| LOW | cognee/tasks/memify/__init__.py | 14 | |
| LOW | cognee/tasks/memify/__init__.py | 15 | |
| LOW | cognee/tasks/memify/__init__.py | 16 | |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 8 | |
| LOW | cognee/tasks/memify/apply_frequency_weights.py | 5 | |
| LOW | cognee/tasks/memify/global_context_index/update.py | 1 | |
| LOW | cognee/tasks/memify/global_context_index/build.py | 1 | |
| LOW | …asks/memify/global_context_index/bucketing_strategy.py | 1 | |
| LOW | cognee/tasks/memify/global_context_index/models.py | 1 | |
| LOW | cognee/tasks/memify/global_context_index/persist.py | 1 | |
| LOW | cognee/tasks/memify/global_context_index/__init__.py | 1 | |
| 1009 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cognee/run_migrations.py | 139 | except Exception: |
| LOW | cognee/tasks/codingagents/coding_rule_associations.py | 85 | except Exception as e: |
| LOW | cognee/tasks/memify/cognify_agent_trace_feedback.py | 53 | except Exception as error: |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 114 | except Exception as error: |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 129 | except Exception as error: |
| LOW | cognee/tasks/memify/sync_graph_to_session.py | 55 | except Exception: |
| LOW | cognee/tasks/memify/sync_graph_to_session.py | 57 | except Exception: |
| LOW | cognee/tasks/memify/sync_graph_to_session.py | 70 | except Exception: |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 243 | except Exception as e: |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 279 | except Exception as e: |
| LOW | cognee/tasks/memify/cognify_session.py | 42 | except Exception as e: |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 69 | except Exception as e: |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 79 | except Exception as e: |
| LOW | …completion/entity_extractors/regex_entity_extractor.py | 70 | except Exception as e: |
| LOW | …y_completion/entity_extractors/llm_entity_extractor.py | 70 | except Exception as e: |
| LOW | cognee/tasks/ingestion/resolve_dlt_sources.py | 310 | except Exception: |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 112 | except Exception as e: |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 134 | except Exception as e: |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 153 | except Exception as e: |
| LOW | cognee/tasks/ingestion/ingest_dlt_source.py | 265 | except Exception as e: |
| LOW | …nee/tasks/temporal_awareness/index_graphiti_objects.py | 19 | except Exception as e: |
| MEDIUM | …nee/tasks/temporal_awareness/index_graphiti_objects.py | 12 | def index_and_transform_graphiti_nodes_and_edges(): |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 120 | except Exception: |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 201 | except Exception as e: |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 249 | except Exception as e: |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 271 | except Exception: |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 302 | except Exception as exc: |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 366 | except Exception as exc: |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 434 | except Exception as e: |
| LOW | cognee/tasks/web_scraper/utils.py | 81 | except Exception as e: |
| LOW | cognee/tasks/translation/translate_content.py | 174 | except Exception as e: |
| LOW | cognee/tasks/translation/detect_language.py | 162 | except Exception as e: |
| LOW | cognee/tasks/translation/providers/azure_provider.py | 99 | except Exception as e: |
| LOW | cognee/tasks/translation/providers/azure_provider.py | 184 | except Exception as e: |
| LOW | cognee/tasks/translation/providers/llm_provider.py | 102 | except Exception as e: |
| LOW | cognee/tasks/translation/providers/llm_provider.py | 142 | except Exception: |
| LOW | cognee/tasks/translation/providers/google_provider.py | 41 | except Exception as e: |
| LOW | cognee/tasks/translation/providers/google_provider.py | 51 | except Exception as e: |
| LOW | cognee/tasks/translation/providers/google_provider.py | 100 | except Exception as e: |
| LOW | cognee/tasks/translation/providers/google_provider.py | 156 | except Exception as e: |
| LOW | cognee/tasks/storage/index_graph_edges.py | 89 | except Exception as e: |
| LOW | cognee/tasks/chunks/create_chunk_associations.py | 64 | except Exception as e: |
| LOW | cognee/tasks/chunks/create_chunk_associations.py | 162 | except Exception as e: |
| LOW | cognee/tasks/chunks/create_chunk_associations.py | 177 | except Exception as e: |
| LOW | cognee/tasks/chunks/create_chunk_associations.py | 216 | except Exception as e: |
| LOW | cognee/tasks/cleanup/cleanup_unused_data.py | 162 | except Exception as e: |
| LOW | cognee/tests/test_shared_node_preservation.py | 458 | except Exception as e: |
| LOW | cognee/tests/test_chunk_associations.py | 32 | except Exception: |
| LOW | cognee/tests/test_delete_by_id.py | 141 | except Exception as e: |
| LOW | cognee/tests/test_delete_by_id.py | 158 | except Exception as e: |
| LOW | cognee/tests/test_delete_by_id.py | 175 | except Exception as e: |
| LOW | cognee/tests/test_delete_by_id.py | 194 | except Exception as e: |
| LOW | cognee/tests/test_delete_by_id.py | 220 | except Exception as e: |
| LOW | cognee/tests/test_delete_by_id.py | 244 | except Exception as e: |
| LOW | cognee/tests/test_delete_by_id.py | 292 | except Exception as e: |
| LOW | cognee/tests/test_search_db.py | 49 | except Exception: |
| LOW | cognee/tests/test_agent_memory_e2e.py | 27 | except Exception: |
| LOW | cognee/tests/test_subprocess_rss.py | 185 | except Exception: |
| LOW | cognee/tests/test_usage_logger_e2e.py | 22 | except Exception: |
| LOW | cognee/tests/test_permissions.py | 44 | except Exception: |
| 608 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | cognee/tasks/summarization/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/tasks/graph/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/tasks/storage/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/tasks/documents/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/api/v1/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/infrastructure/data/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/modules/ontology/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/modules/search/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/modules/retrieval/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/modules/data/exceptions/__init__.py | 0 | custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors |
| HIGH | cognee/tests/test_custom_data_label.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. |
| 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. |
| HIGH | cognee/tests/test_dataset_database_handler.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. |
| HIGH | cognee/tests/test_dataset_delete.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. |
| HIGH | …es/custom_pipelines/custom_cognify_pipeline_example.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. |
| HIGH | examples/demos/simple_cognee_example.py | 0 | natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval. |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| HIGH | …dules/retrieval/graph_completion_retriever_cot_test.py | 0 | test get_completion with session config but no user id. |
| HIGH | …l/graph_completion_retriever_context_extension_test.py | 0 | test get_completion with session config but no user id. |
| HIGH | …nit/modules/retrieval/rag_completion_retriever_test.py | 0 | test get_completion with session config but no user id. |
| HIGH | …ests/unit/modules/retrieval/temporal_retriever_test.py | 0 | test get_completion with session config but no user id. |
| HIGH | …tests/unit/modules/retrieval/triplet_retriever_test.py | 0 | test get_completion with session config but no user id. |
| HIGH | …l/graph_completion_retriever_context_extension_test.py | 0 | test get_completion retrieves context when not provided. |
| HIGH | …ests/unit/modules/retrieval/temporal_retriever_test.py | 0 | test get_completion retrieves context when not provided. |
| HIGH | …sts/unit/modules/retrieval/summaries_retriever_test.py | 0 | test get_completion retrieves context when not provided. |
| HIGH | …tests/unit/modules/retrieval/triplet_retriever_test.py | 0 | test get_completion retrieves context when not provided. |
| HIGH | …t/modules/retrieval/graph_completion_retriever_test.py | 0 | test get_completion retrieves context when not provided. |
| HIGH | …nit/modules/retrieval/rag_completion_retriever_test.py | 0 | test that collectionnotfounderror is converted to nodataerror. |
| HIGH | …sts/unit/modules/retrieval/summaries_retriever_test.py | 0 | test that collectionnotfounderror is converted to nodataerror. |
| HIGH | …tests/unit/modules/retrieval/triplet_retriever_test.py | 0 | test that collectionnotfounderror is converted to nodataerror. |
| HIGH | …/tests/unit/modules/retrieval/chunks_retriever_test.py | 0 | test that collectionnotfounderror is converted to nodataerror. |
| HIGH | …nit/modules/retrieval/rag_completion_retriever_test.py | 0 | test that top_k parameter limits the number of results. |
| HIGH | …sts/unit/modules/retrieval/summaries_retriever_test.py | 0 | test that top_k parameter limits the number of results. |
| HIGH | …/tests/unit/modules/retrieval/chunks_retriever_test.py | 0 | test that top_k parameter limits the number of results. |
| HIGH | …l/test_graph_completion_retriever_context_extension.py | 0 | set up a clean test environment with simple graph data. |
| HIGH | …tegration/retrieval/test_graph_completion_retriever.py | 0 | set up a clean test environment with simple graph data. |
| HIGH | …ieval/test_graph_completion_decomposition_retriever.py | 0 | set up a clean test environment with simple graph data. |
| HIGH | …ation/retrieval/test_graph_completion_retriever_cot.py | 0 | set up a clean test environment with simple graph data. |
| HIGH | …l/test_graph_completion_retriever_context_extension.py | 0 | set up a clean test environment with complex graph data. |
| HIGH | …tegration/retrieval/test_graph_completion_retriever.py | 0 | set up a clean test environment with complex graph data. |
| HIGH | …ation/retrieval/test_graph_completion_retriever_cot.py | 0 | set up a clean test environment with complex graph data. |
| HIGH | …l/test_graph_completion_retriever_context_extension.py | 0 | set up a clean test environment without graph data. |
| HIGH | …tegration/retrieval/test_graph_completion_retriever.py | 0 | set up a clean test environment without graph data. |
| HIGH | …ieval/test_graph_completion_decomposition_retriever.py | 0 | set up a clean test environment without graph data. |
| HIGH | …ation/retrieval/test_graph_completion_retriever_cot.py | 0 | set up a clean test environment without graph data. |
| HIGH | …e/infrastructure/databases/cache/cache_db_interface.py | 0 | delete a single qa entry by qa_id. returns true if deleted, false if qa_id not found. |
| HIGH | …e/infrastructure/databases/cache/redis/RedisAdapter.py | 0 | delete a single qa entry by qa_id. returns true if deleted, false if qa_id not found. |
| HIGH | …frastructure/databases/cache/fscache/FsCacheAdapter.py | 0 | delete a single qa entry by qa_id. returns true if deleted, false if qa_id not found. |
| HIGH | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 0 | get the k-hop neighborhood subgraph around a set of seed nodes. returns all nodes and edges within `depth` hops of any s |
| HIGH | …infrastructure/databases/graph/neo4j_driver/adapter.py | 0 | get the k-hop neighborhood subgraph around a set of seed nodes. returns all nodes and edges within `depth` hops of any s |
| HIGH | …frastructure/databases/graph/neptune_driver/adapter.py | 0 | get the k-hop neighborhood subgraph around a set of seed nodes. returns all nodes and edges within `depth` hops of any s |
| HIGH | …/databases/vector/embeddings/LiteLLMEmbeddingEngine.py | 0 | return the desired batch size for embedding calls returns: |
| HIGH | …ructure/databases/vector/embeddings/EmbeddingEngine.py | 0 | return the desired batch size for embedding calls returns: |
| HIGH | …atabases/vector/embeddings/FastembedEmbeddingEngine.py | 0 | return the desired batch size for embedding calls returns: |
| HIGH | …e/databases/vector/embeddings/OllamaEmbeddingEngine.py | 0 | return the desired batch size for embedding calls returns: |
| HIGH | …tput_framework/litellm_instructor/llm/llm_interface.py | 0 | generate an audio transcript from a user query. this method creates a transcript from the specified audio file, raising |
| 30 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | cognee/tasks/ingestion/migrate_relational_database.py | 33 | # Create a mapping of node_id to node objects for referencing in edge creation |
| MEDIUM | cognee/tasks/ingestion/migrate_relational_database.py | 157 | # Create a mapping of node_id to node objects for referencing in edge creation |
| MEDIUM | cognee/tasks/ingestion/migrate_relational_database.py | 163 | # Create a TableType node for each table |
| MEDIUM | cognee/tasks/ingestion/migrate_relational_database.py | 193 | # Create a node ID in the format "table_name:primary_key_value" |
| MEDIUM | cognee/tasks/ingestion/migrate_relational_database.py | 196 | # Create a TableRow node |
| MEDIUM | cognee/tests/test_custom_data_label.py | 8 | # Create a clean slate for cognee -- reset data and system state |
| MEDIUM | cognee/tests/test_delete_data_and_dataset_if_empty.py | 41 | # Create a clean slate for cognee -- reset data and system state |
| MEDIUM | cognee/tests/test_relational_db_migration.py | 53 | # Create the dataset so search can find it by name |
| MEDIUM | cognee/tests/test_graph_visualization_permissions.py | 114 | # Create a user without any permissions to the dataset |
| MEDIUM | cognee/tests/test_graph_model_from_schema.py | 12 | # Create a clean slate for cognee -- reset data and system state |
| MEDIUM | cognee/tests/test_graph_model_from_schema.py | 25 | # Define a custom graph model for programming languages. |
| MEDIUM | cognee/tests/test_custom_model.py | 14 | # Define a custom graph model for programming languages. |
| MEDIUM | cognee/tests/test_dataset_database_handler.py | 93 | # Create a clean slate for cognee -- reset data and system state |
| MEDIUM | cognee/tests/test_telemetry.py | 27 | # Create the file with a test ID if it doesn't exist |
| MEDIUM | cognee/tests/test_dataset_delete.py | 37 | # Create a clean slate for cognee -- reset data and system state |
| MEDIUM | cognee/tests/test_multi_tenancy.py | 22 | # Create a clean slate for cognee -- reset data and system state |
| MEDIUM | …unit/entity_extraction/regex_entity_extraction_test.py | 265 | # Create a minimal test config file |
| MEDIUM | …frastructure/test_embedding_rate_limiting_realistic.py | 34 | # Create a fresh config instance and verify settings |
| MEDIUM | …frastructure/test_embedding_rate_limiting_realistic.py | 41 | # Create a mock embedding engine |
| MEDIUM | …frastructure/test_embedding_rate_limiting_realistic.py | 51 | # Create a list of tasks to simulate concurrent requests |
| MEDIUM | …frastructure/test_embedding_rate_limiting_realistic.py | 170 | # Create a mock engine configured to fail every 3rd request |
| MEDIUM | …sts/unit/infrastructure/databases/test_rate_limiter.py | 106 | # Create a fresh instance |
| MEDIUM | …sts/unit/infrastructure/databases/test_rate_limiter.py | 127 | # Create a fresh instance |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 168 | # Create a second edge for extension rounds |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 632 | # Create a second edge for extension rounds |
| MEDIUM | …l/graph_completion_retriever_context_extension_test.py | 881 | # Create a second edge for extension rounds |
| 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 |
| MEDIUM | …/unit/modules/users/test_tutorial_notebook_creation.py | 213 | # Create a tutorial directory with cells and config.json |
| MEDIUM | …/unit/modules/users/test_tutorial_notebook_creation.py | 253 | # Create a tutorial directory with cells but no config.json |
| MEDIUM | …/unit/modules/users/test_tutorial_notebook_creation.py | 405 | # Create a file that will cause an error (invalid extension that passes filter) |
| MEDIUM | …/unit/modules/users/test_tutorial_notebook_creation.py | 440 | # Create a file that will cause an error when trying to determine cell type |
| MEDIUM | …gnee/tests/tasks/translation/translate_content_test.py | 23 | # Create a minimal Document for the is_part_of field |
| MEDIUM | …/tests/cli_tests/cli_unit_tests/test_cli_edge_cases.py | 26 | # Create an event loop and run the coroutine |
| MEDIUM | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 26 | # Create an event loop and run the coroutine |
| MEDIUM | cognee/tests/api/test_backend_auth.py | 52 | # Create an API key using the bearer token |
| MEDIUM | cognee/tests/api/test_backend_auth.py | 138 | # Create an API key with HASH_API_KEY=True active |
| MEDIUM | cognee/tests/e2e/postgres/test_postgres_adapter.py | 338 | # Create a fake type with __name__ == "Entity" |
| MEDIUM | cognee/shared/graph_model_utils.py | 171 | # Create a clean slate for cognee -- reset data and system state |
| MEDIUM | cognee/shared/graph_model_utils.py | 184 | # Define a custom graph model for programming languages. |
| MEDIUM | cognee/shared/utils.py | 278 | # Create the server |
| MEDIUM | cognee/shared/logging_utils.py | 188 | # Create the log entry |
| MEDIUM | cognee/shared/logging_utils.py | 516 | # Create a new log file name with the cognee start time |
| MEDIUM | …eval_framework/benchmark_adapters/hotpot_qa_adapter.py | 27 | # Create a mapping of title to sentences for easy lookup |
| MEDIUM | cognee/api/v1/ui/node_setup.py | 97 | # Create a temporary script file |
| MEDIUM | cognee/api/v1/ui/ui.py | 189 | # Create a temporary directory for download |
| MEDIUM | cognee/api/v1/config/config.py | 1 | """This module is used to set the configuration of the system.""" |
| MEDIUM | cognee/api/v1/responses/routers/get_responses_router.py | 131 | # Create a format the dispatcher can handle |
| MEDIUM | cognee/api/v1/responses/routers/get_responses_router.py | 159 | # Create the response object with all processed tool calls |
| MEDIUM | cognee/api/v1/serve/management_api.py | 140 | # Create a new key with retries |
| MEDIUM | cognee/api/v1/sync/sync.py | 708 | # Create a temporary file-like object from the bytes |
| MEDIUM | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 404 | # Create a MetaData instance to load table information |
| MEDIUM | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 408 | # Define the full table name |
| MEDIUM | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 589 | # Create a MetaData instance to load table information |
| MEDIUM | cognee/infrastructure/databases/dataset_queue/queue.py | 141 | # Create the slot dict for this task up front so callers can write |
| MEDIUM | …frastructure/databases/graph/neptune_driver/adapter.py | 558 | # Create the bulk-edge OpenCypher query using UNWIND |
| MEDIUM | …utput_framework/litellm_instructor/llm/rate_limiter.py | 163 | # Create a fresh rate limit item for each check |
| MEDIUM | …put_framework/litellm_instructor/llm/get_llm_client.py | 69 | # Define an Enum for LLM Providers |
| MEDIUM | cognee/modules/storage/utils/__init__.py | 47 | # Create a base class with the same configuration as DataPoint |
| MEDIUM | cognee/modules/storage/utils/__init__.py | 51 | # Create the model inheriting from the configured base |
| MEDIUM | evals/old/mem0_01042025/hotpot_qa_mem0.py | 29 | # Create a conversation that includes the document content |
| 28 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| 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 |
| 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 |
| HIGH | cognee/tasks/web_scraper/web_scraper_task.py | 54 | Schedule or run a web scraping task. This function schedules a recurring web scraping task using APScheduler or run |
| HIGH | cognee/tasks/web_scraper/web_scraper_task.py | 128 | Scrape URLs and store data points in a Graph database. This function scrapes content from the provided URLs, create |
| HIGH | cognee/tasks/web_scraper/web_scraper_task.py | 335 | Validate and configure arguments for web_scraper_task. Args: tavily_api_key: API key for Tavily. ex |
| HIGH | cognee/tasks/web_scraper/web_scraper_task.py | 370 | Extract the path after the base URL. Args: base_url: The base URL (e.g., "https://example.com"). ur |
| HIGH | cognee/tasks/web_scraper/default_url_crawler.py | 179 | Fetch and cache robots.txt data. Args: domain_root: The root URL (e.g., "https://example.com"). |
| HIGH | cognee/tasks/web_scraper/default_url_crawler.py | 275 | Fetch a URL using HTTPX with retries. Args: url: The URL to fetch. Returns: st |
| HIGH | cognee/tasks/web_scraper/default_url_crawler.py | 317 | Fetch and render a URL using Playwright for JavaScript content. Args: url: The URL to fetch. |
| HIGH | cognee/tasks/web_scraper/default_url_crawler.py | 384 | Fetch and extract content from URLs using BeautifulSoup or Playwright. Args: urls: A single URL, li |
| 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 |
| 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]) |
| 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. |
| HIGH | cognee/tasks/translation/providers/__init__.py | 17 | Factory function to get the appropriate translation provider. Args: provider_name: Name of the provide |
| HIGH | cognee/tasks/graph/extract_graph_from_data.py | 65 | Integrate chunk graphs with ontology validation and store in databases. This function processes document chunks and |
| HIGH | cognee/tasks/chunks/create_chunk_associations.py | 106 | Create semantic association edges between document chunks in the knowledge graph. For each valid chunk, performs a |
| HIGH | cognee/shared/usage_logger.py | 259 | Inner decorator that wraps the function with usage logging. Args: func: The async function to wrap |
| HIGH | cognee/shared/usage_logger.py | 280 | Wrapper function that executes the original function and logs usage. This wrapper: - Extracts u |
| HIGH | cognee/api/v1/ontologies/ontologies.py | 95 | Upload ontology files with their respective keys. Args: ontology_key: List of unique keys |
| HIGH | cognee/api/v1/ontologies/ontologies.py | 130 | Retrieve ontology content for one or more keys. Args: ontology_key: List of ontology keys |
| 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 |
| HIGH | cognee/api/v1/search/search.py | 72 | Search and query the knowledge graph for insights, information, and connections. This is the final step in the |
| HIGH | cognee/api/v1/sync/sync.py | 102 | Sync local Cognee data to Cognee Cloud. This function handles synchronization of multiple datasets, knowledge |
| HIGH | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 2813 | Retrieve a batch of triplets (start_node, relationship, end_node) from the graph. Parameters: |
| 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 |
| HIGH | …ucture/databases/graph/neptune_driver/neptune_utils.py | 110 | Build a configuration dictionary for Neptune Analytics connection. Parameters: ----------- - graph |
| 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 |
| 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 |
| 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. |
| 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 |
| HIGH | cognee/infrastructure/engine/models/DataPoint.py | 289 | Convert the DataPoint instance to a dictionary representation. This method uses the model's built-in f |
| 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 |
| 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 |
| 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 |
| 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 |
| HIGH | …frastructure/loaders/external/beautiful_soup_loader.py | 235 | Normalize an extraction rule to an ExtractionRule dataclass. Args: rule: A string (CSS selector) or |
| 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 |
| HIGH | cognee/infrastructure/loaders/external/pypdf_loader.py | 38 | Load PDF file and extract text content. Args: file_path: Path to the PDF file |
| HIGH | …infrastructure/loaders/external/unstructured_loader.py | 75 | Load document using unstructured library. Args: file_path: Path to the document file |
| HIGH | cognee/modules/tools/execute_tool.py | 38 | Execute a tool call with permission and scope enforcement. Args: user: Authenticated user; permission |
| 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 |
| HIGH | cognee/modules/search/methods/search.py | 58 | Args: query_text: query_type: datasets: user: system_prompt_path: |
| 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 |
| 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 |
| HIGH | cognee/modules/sync/methods/update_sync_operation.py | 15 | Retry database operations with exponential backoff for transient failures. Args: operation_func: Async |
| 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 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cognee/run_migrations.py | 63 | |
| LOW | cognee/tasks/codingagents/coding_rule_associations.py | 54 | |
| LOW | cognee/tasks/memify/extract_agent_trace_feedbacks.py | 28 | |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 13 | |
| LOW | cognee/tasks/memify/get_triplet_datapoints.py | 169 | |
| LOW | cognee/tasks/memify/apply_feedback_weights.py | 71 | |
| LOW | cognee/tasks/memify/extract_user_sessions.py | 12 | |
| LOW | cognee/tasks/memify/apply_frequency_weights.py | 51 | |
| LOW | …ify/global_context_index/bucketing/vector/placement.py | 179 | |
| LOW | cognee/tasks/ingestion/save_data_item_to_storage.py | 27 | |
| LOW | cognee/tasks/ingestion/resolve_data_directories.py | 10 | |
| LOW | cognee/tasks/ingestion/data_item_to_text_file.py | 36 | |
| LOW | cognee/tasks/ingestion/migrate_relational_database.py | 155 | |
| LOW | cognee/tasks/web_scraper/default_url_crawler.py | 314 | |
| LOW | cognee/tasks/translation/translate_content.py | 17 | |
| LOW | cognee/tasks/storage/index_data_points.py | 73 | |
| LOW | cognee/tasks/chunks/chunk_by_sentence.py | 32 | |
| LOW | cognee/tests/test_relational_db_migration.py | 46 | |
| LOW | cognee/tests/test_relational_db_migration.py | 212 | |
| LOW | …infrastructure/session/test_session_sdk_integration.py | 58 | |
| LOW | cognee/tests/utils/filter_overlapping_entities.py | 1 | |
| LOW | cognee/tests/utils/filter_overlapping_relationships.py | 4 | |
| LOW | cognee/tests/performance/locust_performance_analysis.py | 321 | |
| LOW | cognee/tests/performance/batch_add_cognify_test.py | 105 | |
| LOW | cognee/shared/usage_logger.py | 114 | |
| LOW | cognee/shared/cache.py | 247 | |
| LOW | cognee/shared/logging_utils.py | 271 | |
| LOW | cognee/shared/logging_utils.py | 157 | |
| LOW | cognee/cli/minimal_cli.py | 16 | |
| LOW | cognee/cli/api_dispatch.py | 159 | |
| LOW | cognee/cli/api_dispatch.py | 229 | |
| LOW | cognee/cli/api_dispatch.py | 279 | |
| LOW | cognee/cli/_cognee.py | 117 | |
| LOW | cognee/cli/_cognee.py | 201 | |
| LOW | cognee/cli/_cognee.py | 211 | |
| LOW | cognee/cli/commands/delete_command.py | 34 | |
| LOW | cognee/cli/commands/delete_command.py | 87 | |
| LOW | cognee/cli/commands/remember_command.py | 59 | |
| LOW | cognee/cli/commands/remember_command.py | 65 | |
| LOW | cognee/cli/commands/search_command.py | 81 | |
| LOW | cognee/cli/commands/cognify_command.py | 71 | |
| LOW | cognee/cli/commands/cognify_command.py | 92 | |
| LOW | cognee/cli/commands/recall_command.py | 68 | |
| LOW | cognee/cli/commands/config_command.py | 58 | |
| LOW | cognee/cli/commands/config_command.py | 87 | |
| LOW | cognee/exceptions/exceptions.py | 10 | |
| LOW | …ee/memify_pipelines/consolidate_entity_descriptions.py | 60 | |
| LOW | cognee/eval_framework/analysis/metrics_calculator.py | 31 | |
| LOW | …gnee/eval_framework/benchmark_adapters/beam_adapter.py | 81 | |
| LOW | …gnee/eval_framework/benchmark_adapters/beam_adapter.py | 192 | |
| LOW | cognee/api/client.py | 141 | |
| LOW | cognee/api/v1/ui/node_setup.py | 32 | |
| LOW | cognee/api/v1/ui/node_setup.py | 76 | |
| LOW | cognee/api/v1/ui/node_setup.py | 141 | |
| LOW | cognee/api/v1/ui/node_setup.py | 210 | |
| LOW | cognee/api/v1/ui/ui.py | 24 | |
| LOW | cognee/api/v1/ui/ui.py | 138 | |
| LOW | cognee/api/v1/ui/ui.py | 369 | |
| LOW | cognee/api/v1/ui/ui.py | 40 | |
| LOW | cognee/api/v1/ui/npm_utils.py | 12 | |
| 105 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cognee/root_dir.py | 24 | # Check if it's an S3 URL - S3 URLs are absolute by definition |
| LOW | cognee/tasks/ingestion/resolve_data_directories.py | 42 | if isinstance(item, str): # Check if the item is a path |
| LOW | cognee/tasks/ingestion/ingest_data.py | 173 | # Check if data is already in dataset |
| LOW | cognee/tasks/translation/detect_language.py | 146 | # Check if translation is needed |
| LOW | cognee/tasks/translation/providers/llm_provider.py | 140 | # Check if API key is configured (required for most providers) |
| LOW | cognee/tests/test_shared_node_preservation.py | 266 | # Check if Germany is still in vector index |
| LOW | cognee/tests/test_custom_data_label.py | 36 | # Display results |
| LOW | cognee/tests/test_custom_data_label.py | 57 | # Check if label is properly added and stored |
| LOW | cognee/tests/test_delete_data_and_dataset_if_empty.py | 79 | # Check if databases are properly created and exist before deletion |
| LOW | cognee/tests/test_search_db.py | 120 | # Check if Triplet_text collection was created |
| LOW | cognee/tests/test_graph_model_from_schema.py | 64 | # Display results |
| LOW | cognee/tests/test_dataset_database_handler.py | 124 | # Display results |
| LOW | cognee/tests/test_starter_pipelines.py | 18 | # Check if required environment variables are set |
| LOW | cognee/tests/test_telemetry.py | 21 | # Check if .anon_id exists in the project root |
| LOW | cognee/tests/test_telemetry.py | 105 | # Set ENV to dev which should disable telemetry |
| LOW | cognee/tests/test_dataset_delete.py | 68 | # Check if databases are properly created and exist before deletion |
| LOW | cognee/tests/test_cognee_server_start.py | 33 | # Check if server started with errors |
| LOW | …sts/unit/infrastructure/databases/test_rate_limiter.py | 145 | # Print the results |
| LOW | cognee/shared/graph_model_utils.py | 223 | # Display results |
| LOW | cognee/shared/cache.py | 174 | # Check if already cached and valid |
| LOW | cognee/shared/logging_utils.py | 159 | # Check if stream is available before trying to write |
| LOW | cognee/shared/logging_utils.py | 334 | # Check if this is a LiteLLM-related logger |
| LOW | cognee/shared/logging_utils.py | 404 | # Check if there's an exc_info that needs to be processed |
| LOW | cognee/shared/logging_utils.py | 510 | # Check if we already have a log file path from the environment |
| LOW | cognee/api/v1/ui/node_setup.py | 37 | # Check if nvm is available in the shell |
| LOW | cognee/api/v1/ui/node_setup.py | 235 | # Check if nvm is installed |
| LOW | cognee/api/v1/ui/node_setup.py | 318 | # Check if nvm is installed |
| LOW | cognee/api/v1/ui/ui.py | 152 | # Check if already downloaded and up to date |
| LOW | cognee/api/v1/ui/ui.py | 650 | # Check if process is still running |
| LOW | cognee/api/v1/datasets/routers/get_datasets_router.py | 471 | # Check if matching_data contains an element |
| LOW | cognee/api/v1/responses/routers/get_responses_router.py | 118 | # Check if there are function tool calls in the output |
| LOW | cognee/api/v1/sync/routers/get_sync_router.py | 112 | # Check if user has any running sync operations |
| 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) |
| 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 |
| LOW | …ons/46a6ce2bd2b2_expand_dataset_database_with_json_.py | 279 | # Check if the constraint covers ONLY the target column |
| LOW | …ons/46a6ce2bd2b2_expand_dataset_database_with_json_.py | 286 | # Check if the constraint covers ONLY the target column |
| LOW | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 329 | # Check if any references to this data_id still exist in the DatasetData table |
| LOW | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 348 | # Check if other data objects point to the same raw data location |
| LOW | …e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py | 413 | # Check if table is in list of tables for the given schema |
| LOW | cognee/infrastructure/databases/graph/config.py | 99 | # Check if absolute path is provided |
| LOW | cognee/infrastructure/llm/config.py | 129 | # Check if BAML is selected as structured output framework but not available |
| LOW | …tructured_output_framework/baml/baml_client/runtime.py | 129 | # Check if already aborted |
| LOW | …tructured_output_framework/baml/baml_client/runtime.py | 158 | # Check if already aborted |
| LOW | …ured_output_framework/baml/baml_client/async_client.py | 88 | # Check if on_tick is provided |
| LOW | …tured_output_framework/baml/baml_client/sync_client.py | 101 | # Check if on_tick is provided |
| LOW | …put_framework/litellm_instructor/llm/get_llm_client.py | 382 | # Check if max_token value is defined in liteLLM for given model |
| LOW | …nfrastructure/llm/extraction/extract_event_entities.py | 31 | # Check if the prompt path is an absolute path or just a filename |
| LOW | …lm/extraction/knowledge_graph/extract_content_graph.py | 22 | # Check if the prompt path is an absolute path or just a filename |
| LOW | …/llm/extraction/knowledge_graph/extract_event_graph.py | 32 | # Check if the prompt path is an absolute path or just a filename |
| LOW | cognee/infrastructure/files/utils/open_data_file.py | 16 | # Check if this is a file URI BEFORE normalizing (which corrupts URIs) |
| LOW | cognee/infrastructure/files/storage/LocalFileStorage.py | 14 | # Check if this is actually a URL (has a scheme like file://, http://, etc.) |
| LOW | …infrastructure/loaders/external/advanced_pdf_loader.py | 88 | # Check if there is any content |
| LOW | …odules/graph/methods/delete_dataset_nodes_and_edges.py | 23 | # Check if user has delete permission for the dataset before proceeding with deletion of related graph/vector nodes |
| LOW | …e/modules/graph/methods/delete_data_nodes_and_edges.py | 32 | # Check if user has delete permissions for the dataset before proceeding with deletion of related graph/vector nodes |
| LOW | …s/search/methods/get_search_type_retriever_instance.py | 340 | # Check if retriever info is found for the given query type |
| LOW | cognee/modules/search/methods/search.py | 246 | # Check if graph for dataset is empty and log warnings if necessary |
| LOW | cognee/modules/retrieval/graph_completion_retriever.py | 127 | # Check if all triplets are empty, in case of batch queries |
| LOW | cognee/modules/retrieval/graph_completion_retriever.py | 236 | # Check if all triplets are empty, in case of batch queries |
| LOW | …modules/users/methods/store_principal_configuration.py | 30 | # Check if a configuration with this name already exists for the principal |
| LOW | …sers/permissions/methods/give_permission_on_dataset.py | 55 | # Check if the ACL entry already exists to avoid duplicates |
| 23 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cognee/tests/unit/api/test_ontology_endpoint.py | 160 | # Step 1: Upload two ontologies (one-by-one) |
| LOW | cognee/tests/unit/api/test_ontology_endpoint.py | 189 | # Step 2: Verify ontologies are listed |
| LOW | cognee/tests/unit/api/test_ontology_endpoint.py | 196 | # Step 3: Test cognify with multiple ontologies |
| LOW | cognee/eval_framework/run_beam_eval.py | 49 | # Step 1: Build corpus (ingest conversation into cognee) |
| LOW | cognee/eval_framework/run_beam_eval.py | 55 | # Step 2: Answer probing questions (routed by question type) |
| LOW | cognee/eval_framework/run_beam_eval.py | 59 | # Step 3: Evaluate with rubric metric |
| LOW | cognee/eval_framework/run_beam_eval.py | 63 | # Step 4: Dashboard |
| LOW | …nee/eval_framework/evaluation/run_evaluation_module.py | 65 | # Step 1: Evaluate answers if requested |
| LOW | …nee/eval_framework/evaluation/run_evaluation_module.py | 71 | # Step 2: Calculate metrics if requested |
| LOW | cognee/api/v1/add/add.py | 189 | # Step 1: Add your data (text content or file path) |
| LOW | cognee/api/v1/add/add.py | 194 | # Step 2: Process into knowledge graph |
| LOW | cognee/api/v1/add/add.py | 197 | # Step 3: Search and query |
| LOW | cognee/api/v1/serve/serve.py | 136 | # Step 1: Check for saved credentials |
| LOW | cognee/api/v1/serve/serve.py | 174 | # Step 2: Device Code Flow |
| LOW | cognee/api/v1/serve/serve.py | 185 | # Step 3: Discover or create tenant |
| LOW | cognee/api/v1/serve/serve.py | 195 | # Step 4: Get service URL |
| LOW | cognee/api/v1/serve/serve.py | 198 | # Step 5: Get or create API key |
| LOW | cognee/api/v1/serve/serve.py | 201 | # Step 6: Save credentials |
| LOW | cognee/api/v1/serve/serve.py | 215 | # Step 7: Connect |
| LOW | cognee/api/v1/serve/device_auth.py | 66 | # Step 1: Request device code |
| LOW | cognee/api/v1/serve/device_auth.py | 88 | # Step 2: Show the user what to do |
| LOW | cognee/api/v1/serve/device_auth.py | 99 | # Step 3: Poll for token |
| LOW | cognee/api/v1/sync/sync.py | 342 | # Step 3: Trigger local cognify processing if any files were downloaded |
| LOW | cognee/api/v1/sync/sync.py | 255 | # Step 1: Sync files for all datasets concurrently |
| LOW | cognee/api/v1/sync/sync.py | 320 | # Step 2: Trigger cognify processing once for all datasets (only if any files were uploaded) |
| LOW | cognee/api/v1/sync/sync.py | 419 | # Step 1: Extract local file info with stored hashes |
| LOW | cognee/api/v1/sync/sync.py | 427 | # Step 2: Check what files are missing on cloud |
| LOW | cognee/api/v1/sync/sync.py | 440 | # Step 3: Upload files that are missing on cloud |
| LOW | cognee/api/v1/sync/sync.py | 448 | # Step 4: Download files that are missing locally |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 676 | // Step 1: Collect all nodes |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 680 | // Step 2: Find all connected components |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 690 | // Step 3: Aggregate components |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 693 | // Step 4: Identify the largest connected component |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 700 | // Step 5: Find nodes not in the largest connected component |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1263 | # Step 2: Fetch all nodes |
| LOW | …infrastructure/databases/graph/neo4j_driver/adapter.py | 1274 | # Step 3: Fetch all edges between collected nodes |
| LOW | …frastructure/databases/graph/neptune_driver/adapter.py | 689 | # Step 1: Find all neighbor node IDs within depth hops |
| LOW | …frastructure/databases/graph/neptune_driver/adapter.py | 709 | # Step 2: Fetch all nodes |
| LOW | …frastructure/databases/graph/neptune_driver/adapter.py | 718 | # Step 3: Fetch all edges between collected nodes |
| LOW | …-development-with-cognee/data/guido_contributions.json | 698 | "before_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\ |
| LOW | …-development-with-cognee/data/guido_contributions.json | 699 | "after_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\n |
| LOW | …-development-with-cognee/data/guido_contributions.json | 700 | "diff_context": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr] |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 45 | // Step 1: Verify connection |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 74 | // Step 2: SDK quickstart |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 111 | // Step 3: Test from UI |
| LOW | …-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx | 197 | // Step 4: Done |
| LOW | distributed/deploy/daytona_sandbox.py | 90 | # Step 1: Install Cognee (streamed) |
| LOW | distributed/deploy/daytona_sandbox.py | 95 | # Step 2: Kill any existing server, then start fresh |
| LOW | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 164 | # Step 1: Reset data and system state |
| LOW | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 173 | # Step 2: Add text |
| LOW | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 180 | # Step 3: Create knowledge graph |
| LOW | …_pipelines/dynamic_steps_resume_analysis_hr_example.py | 185 | # Step 4: Query insights |
| LOW | …mporal_awareness_example/temporal_awareness_example.py | 16 | # Step 1: Reset data and system state |
| LOW | …mporal_awareness_example/temporal_awareness_example.py | 20 | # Step 2: Add text and create knowledge graph |
| LOW | …mporal_awareness_example/temporal_awareness_example.py | 33 | # Step 3: Query insights |
| LOW | …vocabulary/ontology_as_reference_vocabulary_example.py | 24 | # Step 1: Reset data and system state |
| LOW | …vocabulary/ontology_as_reference_vocabulary_example.py | 28 | # Step 2: Add text |
| LOW | …vocabulary/ontology_as_reference_vocabulary_example.py | 32 | # Step 3: Create knowledge graph |
| LOW | …vocabulary/ontology_as_reference_vocabulary_example.py | 48 | # Step 4: Query insights |
| LOW | notebooks/data/guido_contributions.json | 698 | "before_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\ |
| 2 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | CLAUDE.md | 340 | LLM_API_KEY="your_api_key" |
| HIGH | CLAUDE.md | 378 | BAML_LLM_API_KEY="your_api_key" |
| HIGH | cognee/api/v1/config/config.py | 108 | cognee.config.set_llm_api_key("your-api-key") |
| HIGH | cognee-frontend/src/app/(app)/api-keys/ApiKeysPage.tsx | 222 | <span style={{ fontSize: 12, color: "#A1A1AA", fontFamily: '"Fira Code", monospace', flex: 1 }}>X-Api-Key: {"< |
| HIGH | cognee-frontend/src/app/(app)/api-keys/ApiKeysPage.tsx | 223 | <CopyBtn id="header" text={`X-Api-Key: <your-api-key>${tenantId ? `\nX-Tenant-Id: ${tenantId}` : ""}`} copiedF |
| HIGH | …gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx | 610 | api_key="<your-api-key>" |
| HIGH | …gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx | 621 | <CopyButton text={`import asyncio\nimport cognee\n\nasync def main():\n await cognee.serve(\n |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 234 | ' api_key="<your-api-key>"', |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 283 | ' api_key="your-api-key"', |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 487 | ' api_key="<your-api-key>"', |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 547 | ' -H "X-Api-Key: <your-api-key>"', |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 787 | ' api_key="your-api-key"', |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 855 | ' api_key="your-api-key"', |
| HIGH | …-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx | 888 | ' api_key="your-api-key"', |
| HIGH | …ontend/src/app/(app)/connect-agent/ConnectionModal.tsx | 73 | .catch(() => setApiKey("your-api-key")) |
| HIGH | …ontend/src/app/(app)/connect-agent/ConnectionModal.tsx | 98 | const text = fillTemplate(step.copyText, baseUrl, apiKey || "your-api-key"); |
| HIGH | …example/user_permissions_and_access_control_example.py | 30 | # os.environ["LLM_API_KEY"] = "your-api-key" |
| HIGH | …/comprehensive_example/cognee_comprehensive_example.py | 8 | os.environ["LLM_API_KEY"] = "your_api_key" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cognee/alembic.ini | 1 | # A generic, single database configuration. |
| LOW | cognee/alembic.ini | 21 | # Any required deps can installed by adding `alembic[tz]` to the pip requirements |
| LOW | cognee/alembic.ini | 41 | # The path separator used here should be the separator specified by "version_path_separator" below. |
| LOW | cognee/alembic.ini | 61 | # are written from script.py.mako |
| LOW | cognee/api/v1/responses/default_tools.py | 61 | # "type": "function", |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 201 | self._all_queries_drained = asyncio.Event() |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 461 | raise |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 741 | """ |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 761 | # chain plus a bounded ``_rpc_lock`` acquire). Offload them to a |
| LOW | …gnee/infrastructure/databases/graph/ladybug/adapter.py | 2521 | # mutex that ``query()`` uses to keep two processes from opening |
| LOW | …rastructure/databases/vector/lancedb/LanceDBAdapter.py | 81 | url: Optional[str] |
| LOW | …rastructure/databases/vector/lancedb/LanceDBAdapter.py | 161 | # in subprocess-proxy mode (the ``RemoteLanceDBConnection`` |
| LOW | …rastructure/databases/vector/lancedb/LanceDBAdapter.py | 1101 | if "belongs_to_set" not in payload_fields: |
| LOW | …ured_output_framework/baml/baml_client/type_builder.py | 1 | # ---------------------------------------------------------------------------- |
| LOW | cognee/modules/visualization/views/story_view.js | 701 | nodes.forEach(function(n){n.fx=null;n.fy=null}); |
| LOW | cognee/modules/visualization/views/schema_view.js | 1 | // Schema view (Phase 2 redesign): explicit-position ontology diagram. |
| LOW | …e/modules/graph/methods/delete_data_nodes_and_edges.py | 41 | # datasets in a single global DB) isn't hard-deleted when only one |
| LOW | …e/modules/graph/utils/get_model_instance_from_graph.py | 1 | from collections import OrderedDict |
| LOW | cognee/modules/graph/models/Edge.py | 41 | # __table_args__ = ( |
| LOW | cognee/modules/graph/models/Node.py | 41 | Index("index_node_dataset_slug", "dataset_id", "slug"), |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 21 | // remove(...args: any[]): void; |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 41 | // computeBoundingBox(...args: any[]): void; |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 81 | // static DEFAULT_MATRIX_AUTO_UPDATE: boolean; |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 101 | |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 261 | // function toArray(...args: any[]): void; |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 421 | // function transformDirection(...args: any[]): void; |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 441 | // name: string; |
| LOW | cognee-frontend/types/troika-three-utils.d.ts | 461 | // name: string; |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 21 | // remove(...args: any[]): void; |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 41 | // computeBoundingBox(...args: any[]): void; |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 81 | // static DEFAULT_MATRIX_AUTO_UPDATE: boolean; |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 101 | |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 261 | // function toArray(...args: any[]): void; |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 421 | // function transformDirection(...args: any[]): void; |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 441 | // name: string; |
| LOW | cognee-frontend/types/troika-three-text.d.ts | 461 | // name: string; |
| LOW | cognee-frontend/src/app/(graph)/GraphVisualization.tsx | 81 | } |
| LOW | cognee-frontend/src/app/(graph)/GraphVisualization.tsx | 101 | // } |
| LOW | cognee-frontend/src/modules/datasets/cognifyDataset.ts | 41 | // return getDatasetGraph(dataset, instance) |
| LOW | cognee-frontend/src/modules/datasets/cognifyDataset.ts | 61 | |
| LOW | tools/check-package.sh | 1 | ##!/usr/bin/env bash |
| LOW | tools/check-package.sh | 21 | # fi |
| LOW | distributed/deploy/daytona.yaml | 1 | # Daytona is now an SDK-based cloud sandbox platform. |
| LOW | deployment/helm/Chart.yaml | 1 | apiVersion: v2 |
| LOW | deployment/helm/Chart.yaml | 21 | # incremented each time you make changes to the application. Versions are not expected to |
| LOW | …ional_database_to_knowledge_graph_migration_example.py | 21 | # 1. Copy `.env.template` and rename it to `.env`. |
| LOW | examples/demos/pipeline_api_proposal.py | 21 | # Before (current): |
| LOW | examples/demos/pipeline_api_proposal.py | 161 | # 4a. Semaphore-based concurrency (replaces batch-based parallelism) |
| LOW | examples/demos/pipeline_api_proposal.py | 181 | # |
| LOW | examples/demos/pipeline_api_proposal.py | 281 | ) |
| LOW | examples/demos/pipeline_api_proposal.py | 301 | # | batch_size config | @step decorator | Task(fn, batch_size=N) | |
| LOW | cognee-mcp/apps-src/src/main.tsx | 21 | |
| LOW | .github/workflows/vector_db_tests.yml | 21 | # run-chromadb-tests: |
| LOW | .github/workflows/vector_db_tests.yml | 41 | # uses: ./.github/actions/cognee_setup |
| LOW | .github/workflows/scorecard.yml | 41 | - name: "Run analysis" |
| LOW | cognee_db_workers/harness.py | 521 | self._last_accessed_at = time.time() |
| LOW | cognee_db_workers/harness.py | 801 | # spurious ``TimeoutError`` (clock jumped forward) or hang past the |
| LOW | cognee_db_workers/harness.py | 901 | # Replay setup in registration order. Each step runs against the |
| LOW | cognee_db_workers/harness.py | 921 | resp = self._raw_call_locked(req) |
| LOW | cognee_db_workers/harness.py | 1001 | except std_queue.Empty: |
| 1 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | cognee/tests/integration/test_belongs_to_set_neo4j.py | 302 | # Force the merged detag query to fail. Whitelist the harness |
| LOW | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 378 | # Should not raise exception, just return |
| LOW | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 407 | # Should not raise exception, just return with error message |
| LOW | …ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py | 457 | # Should not raise exception, just return with error message |
| MEDIUM | cognee/api/v1/health/health.py | 243 | """Get comprehensive health status.""" |
| LOW | …structure/databases/vector/chromadb/ChromaDBAdapter.py | 396 | # If limit is still 0, no need to do the search, just return empty results |
| LOW | …structure/databases/vector/pgvector/PGVectorAdapter.py | 424 | # If limit is still 0, no need to do the search, just return empty results |
| LOW | cognee/modules/storage/utils/__init__.py | 17 | # if the obj is uuid, we simply return the value of uuid |
| LOW | …/users/authentication/api_key/get_api_key_transport.py | 22 | # No login response for API key auth — just return unchanged |
| LOW | …/users/authentication/api_key/get_api_key_transport.py | 26 | # No logout response for API key auth — just return unchanged |
| MEDIUM | cognee/modules/sync/models/SyncOperation.py | 92 | """Get comprehensive progress information.""" |
| MEDIUM | …-development-with-cognee/data/guido_contributions.json | 57 | "before_code": "\n # We should always patch indirect dependencies, even in full (non-incremental) bui |
| MEDIUM | …-development-with-cognee/data/guido_contributions.json | 59 | "diff_context": "\n # We should always patch indirect dependencies, even in full (non-incremental) bu |
| LOW | …-development-with-cognee/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 |
| LOW | …hierarchy/organizational_hierarchy_pipeline_example.py | 62 | # No manual dict-based deduplication needed — just create instances freely. |
| MEDIUM | cognee-mcp/apps-src/package-lock.json | 2255 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", |
| MEDIUM | cognee_db_workers/lancedb_worker.py | 138 | # Serialize the arrow Table via pyarrow's IPC stream for robust transfer. |
| MEDIUM | notebooks/data/guido_contributions.json | 57 | "before_code": "\n # We should always patch indirect dependencies, even in full (non-incremental) bui |
| MEDIUM | notebooks/data/guido_contributions.json | 59 | "diff_context": "\n # We should always patch indirect dependencies, even in full (non-incremental) bu |
| 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 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …sts/unit/infrastructure/engine/test_identity_fields.py | 141 | p1 = PersonWithIdentity(name="John Doe") |
| LOW | …/unit/modules/users/test_conditional_authentication.py | 45 | email="user@example.com", |
| LOW | …/unit/modules/users/test_conditional_authentication.py | 65 | email="user@example.com", |
| LOW | …nee/tests/unit/interfaces/graph/test_weighted_edges.py | 48 | name="John Doe", |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 6 | Seeds the database with Lorem Ipsum data: add → cognify → search. |
| 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 |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 27 | Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 32 | SEARCH_QUERY = "What is Lorem Ipsum and where does it come from?" |
| LOW | cognee/tests/backwards_compatibility/phase1_seed.py | 42 | print("Adding Lorem Ipsum text...") |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 6 | Seeds the database with Lorem Ipsum data: add → cognify → search. |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 10 | Verifies that the current branch can search the v0.5.7 cognified data, then adds + cognifies new Lorem Ipsum data with |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 27 | Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 31 | Loren Ipsum Dolor sit amet, Lorem ipsum. |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 31 | Loren Ipsum Dolor sit amet, Lorem ipsum. |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 34 | SEARCH_QUERY = "What is Lorem Ipsum and where does it come from?" |
| LOW | cognee/tests/backwards_compatibility/phase2_verify.py | 63 | print("\n[Step 2] Adding Lorem Ipsum text with current branch...") |
| LOW | cognee/tests/api/test_agent_mode.py | 24 | _DUMMY_USER = User(email="test@test.com", hashed_password="!") |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| LOW | cognee-starter-kit/src/data/people.json | 3 | "name": "John Doe", |
| LOW | …om_pipelines/organizational_hierarchy/data/people.json | 3 | "name": "John Doe", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cognee/tests/test_lancedb.py | 318 | # Note: make sure to call test_vector_engine_search_with_nodeset_filtering() |
| LOW | cognee/tests/test_pgvector.py | 333 | # Note: make sure to call test_vector_engine_search_with_nodeset_filtering() |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| LOW | cognee-frontend/src/app/(graph)/GraphVisualization.tsx | 264 | links: [{ source: 1, target: 2, label: "but don't forget to" }, { source: 2, target: 3, label: "and after th |
| MEDIUM | …ional_database_to_knowledge_graph_migration_example.py | 26 | # NOTE: If you don't have a DB you want to migrate you can try it out with our |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | cognee/tests/test_neptune_analytics_vector.py | 124 | # Always return true |
| HIGH | distributed/deploy/modal_app.py | 10 | 1. pip install modal && modal setup |
| HIGH | distributed/deploy/daytona_sandbox.py | 97 | sandbox.process.exec("pkill -f uvicorn || true", timeout=5) |
| HIGH | cognee-mcp/src/server.py | 1385 | "Build it with: cd cognee-mcp/apps-src && npm install && npm run build" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx | 616 | print(results) |
| HIGH | …gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx | 1289 | print(results) |
| HIGH | cognee-frontend/src/app/(app)/connect-agent/prompts.ts | 217 | print(r) |
| HIGH | cognee-frontend/src/app/(app)/connect-agent/prompts.ts | 246 | print("Connected!" if results else "No results — check credentials") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | evals/src/qa/qa_benchmark_cognee.py | 166 | # Example usage |
| LOW | evals/src/qa/qa_benchmark_mem0.py | 103 | # Example usage |
| LOW | evals/src/qa/qa_benchmark_lightrag.py | 80 | # Example usage |
| LOW | distributed/deploy/modal-deploy.sh | 6 | # Usage: |
| LOW | distributed/deploy/fly-deploy.sh | 6 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …utput_framework/litellm_instructor/llm/rate_limiter.py | 16 | def my_function(): |
| LOW | …utput_framework/litellm_instructor/llm/rate_limiter.py | 26 | def my_function(): |