Repository Analysis

topoteretes/cognee

Memory control plane for AI Agents in 6 lines of code

23.3 Moderate AI signal View on GitHub
23.3
Adjusted Score
23.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
17,589
Stars
Python
Language
296,106
Lines of Code
2140
Files
5197
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 162MEDIUM 491LOW 4544

Pattern Findings

5197 matches across 19 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers2429 hits · 2440 pts
SeverityFileLineSnippet
LOWcognee/context_global_variables.py30async def set_session_user_context_variable(user):
LOWcognee/context_global_variables.py34def multi_user_support_possible():
LOWcognee/context_global_variables.py83def backend_access_control_enabled():
LOWcognee/context_global_variables.py114 async def apply_database_context_variables(
LOWcognee/context_global_variables.py235def set_database_global_context_variables(
LOWcognee/tasks/memify/cognify_agent_trace_feedback.py12async def cognify_agent_trace_feedback(
LOWcognee/tasks/memify/extract_agent_trace_feedbacks.py28async def extract_agent_trace_feedbacks(
LOWcognee/tasks/memify/get_triplet_datapoints.py13def _build_datapoint_type_index_mapping() -> Dict[str, List[str]]:
LOWcognee/tasks/memify/get_triplet_datapoints.py72def _extract_relationship_text(
LOWcognee/tasks/memify/apply_frequency_weights.py94async def _mark_frequency_processed(
LOWcognee/tasks/memify/global_context_index/update.py39def validate_global_context_index_config(
LOWcognee/tasks/memify/global_context_index/update.py66def validate_graph_dataset_context(
LOWcognee/tasks/memify/global_context_index/update.py74async def filter_graph_dataset_text_summaries(
LOWcognee/tasks/memify/global_context_index/update.py93async def select_text_summaries_for_strategy(
LOWcognee/tasks/memify/global_context_index/update.py104async def load_graph_bucketing_data_if_needed(
LOWcognee/tasks/memify/global_context_index/update.py118async def reset_context_index_for_rebuild(
LOWcognee/tasks/memify/global_context_index/update.py133def select_new_context_index_items(
LOWcognee/tasks/memify/global_context_index/update.py142def validate_existing_buckets_for_strategy(
LOWcognee/tasks/memify/global_context_index/update.py177async def prepare_existing_context_index(
LOWcognee/tasks/memify/global_context_index/update.py203async def ensure_graph_bucketing_inputs(
LOWcognee/tasks/memify/global_context_index/update.py220def unpack_graph_bucketing_inputs(
LOWcognee/tasks/memify/global_context_index/update.py228async def build_and_persist_context_index(
LOWcognee/tasks/memify/global_context_index/update.py261async def update_global_context_index(
LOWcognee/tasks/memify/global_context_index/build.py57def source_collection_for_level(level: int) -> str:
LOWcognee/tasks/memify/global_context_index/build.py160def merge_existing_and_new_buckets(
LOWcognee/tasks/memify/global_context_index/persist.py17async def safe_delete_context_vectors(vector_engine: Any, ids: list[str]) -> None:
LOWcognee/tasks/memify/global_context_index/persist.py30async def delete_context_index_nodes(unified_engine: Any, bucket_ids: list[str]) -> None:
LOWcognee/tasks/memify/global_context_index/persist.py37def ensure_global_context_storage_context(
LOWcognee/tasks/memify/global_context_index/persist.py50def build_context_index_edges(assignments: list[BucketAssignment]) -> list:
LOWcognee/tasks/memify/global_context_index/persist.py72async def persist_context_summaries(
LOWcognee/tasks/memify/global_context_index/persist.py83async def persist_context_index_edges(
LOWcognee/tasks/memify/global_context_index/summarize.py31async def generate_global_context_summary(children: list[SummaryNode]) -> str:
LOWcognee/tasks/memify/global_context_index/summarize.py35async def build_bucket_summary_datapoint(
LOWcognee/tasks/memify/global_context_index/summarize.py61async def generate_bucket_summary_datapoints(
LOWcognee/tasks/memify/global_context_index/summarize.py71async def build_global_context_summary_datapoint(
LOWcognee/tasks/memify/global_context_index/load.py19def global_context_summary_level(attributes: dict[str, Any]) -> int | None:
LOWcognee/tasks/memify/global_context_index/load.py26def is_root_global_context_summary(attributes: dict[str, Any]) -> bool:
LOWcognee/tasks/memify/global_context_index/load.py35def graph_bucket_entity_ids_from_attributes(
LOWcognee/tasks/memify/global_context_index/load.py50def extract_context_index_input(
LOWcognee/tasks/memify/global_context_index/load.py136def rebuild_child_ids_from_parent_pointers(
LOWcognee/tasks/memify/global_context_index/load.py152async def load_context_index_input_from_graph(
LOWcognee/tasks/memify/global_context_index/load.py160async def get_context_index_memory_fragment() -> CogneeGraph:
LOWcognee/tasks/memify/global_context_index/load.py177async def extract_global_context_index_input(
LOW…/tasks/memify/global_context_index/bucketing/common.py47def mark_bucket_for_persistence(
LOW…/memify/global_context_index/bucketing/graph/inputs.py15async def load_graph_bucketing_inputs(
LOW…/memify/global_context_index/bucketing/graph/inputs.py45def validate_graph_bucketing_inputs(missing_made_from_summary_ids: set[str]) -> None:
LOW…mify/global_context_index/bucketing/graph/placement.py15def rebuild_graph_buckets_for_level(
LOW…mify/global_context_index/bucketing/graph/placement.py76def place_graph_summaries_incrementally(
LOW…mify/global_context_index/bucketing/graph/placement.py151def validate_graph_buckets_can_be_extended(existing_buckets: list[SummaryNode]) -> None:
LOW…mify/global_context_index/bucketing/graph/placement.py161def validate_vector_buckets_can_be_extended(existing_buckets: list[SummaryNode]) -> None:
LOW…mify/global_context_index/bucketing/graph/placement.py188def _normalize_existing_graph_buckets(
LOW…mify/global_context_index/bucketing/graph/placement.py209def _has_positive_entity_weight(
LOW…mify/global_context_index/bucketing/graph/placement.py216def _build_entity_to_bucket_ids(
LOW…mify/global_context_index/bucketing/graph/placement.py246def _build_entity_to_summary_ids(
LOW…mify/global_context_index/bucketing/graph/placement.py257def _choose_existing_graph_bucket(
LOW…mify/global_context_index/bucketing/graph/placement.py323def _first_available_misc_bucket(
LOW…mify/global_context_index/bucketing/graph/placement.py379def _assign_summary_to_graph_bucket(
LOW…mify/global_context_index/bucketing/graph/placement.py394def _assign_summary_to_misc_bucket(
LOW…mify/global_context_index/bucketing/graph/placement.py420def _build_entity_bucket_child_ids(
LOW…mify/global_context_index/bucketing/graph/placement.py517def _add_bucket_with_entities(
2369 more matches not shown…
Decorative Section Separators341 hits · 1150 pts
SeverityFileLineSnippet
MEDIUMcognee/__init__.py18# ---------------------------------------------------------------------------
MEDIUMcognee/__init__.py20# ---------------------------------------------------------------------------
MEDIUMcognee/__init__.py45# ---------------------------------------------------------------------------
MEDIUMcognee/__init__.py47# ---------------------------------------------------------------------------
MEDIUMcognee/tasks/ingestion/resolve_dlt_sources.py161# ---------------------------------------------------------------------------
MEDIUMcognee/tasks/ingestion/resolve_dlt_sources.py163# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/pipelines/test_bound_task_pipeline.py8# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/pipelines/test_bound_task_pipeline.py10# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/pipelines/test_bound_task_pipeline.py42# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/pipelines/test_bound_task_pipeline.py44# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/pipelines/test_bound_task_pipeline.py29# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/pipelines/test_bound_task_pipeline.py31# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py80# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py82# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py139# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py141# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py166# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py168# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py230# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py232# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py290# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py292# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py340# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_api_error_responses.py342# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_delete_ontology.py22# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_delete_ontology.py24# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_delete_ontology.py61# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_delete_ontology.py63# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_delete_ontology.py164# ---------------------------------------------------------------------------
MEDIUMcognee/tests/unit/api/test_delete_ontology.py166# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py30# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py32# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py98# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py100# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py206# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py208# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py288# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py290# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py371# ---------------------------------------------------------------------------
MEDIUM…ee/tests/unit/api/v1/forget/test_forget_memory_only.py373# ---------------------------------------------------------------------------
MEDIUM…/infrastructure/databases/test_unified_store_engine.py9# ---------------------------------------------------------------------------
MEDIUM…/infrastructure/databases/test_unified_store_engine.py11# ---------------------------------------------------------------------------
MEDIUM…/infrastructure/databases/test_unified_store_engine.py43# ---------------------------------------------------------------------------
MEDIUM…/infrastructure/databases/test_unified_store_engine.py45# ---------------------------------------------------------------------------
MEDIUM…/infrastructure/databases/test_unified_store_engine.py89# ---------------------------------------------------------------------------
MEDIUM…/infrastructure/databases/test_unified_store_engine.py91# ---------------------------------------------------------------------------
MEDIUM…/infrastructure/databases/test_unified_store_engine.py130# ---------------------------------------------------------------------------
MEDIUM…/infrastructure/databases/test_unified_store_engine.py132# ---------------------------------------------------------------------------
MEDIUM…rastructure/databases/test_neptune_analytics_hybrid.py49# ---------------------------------------------------------------------------
MEDIUM…rastructure/databases/test_neptune_analytics_hybrid.py51# ---------------------------------------------------------------------------
MEDIUM…rastructure/databases/test_neptune_analytics_hybrid.py117# ---------------------------------------------------------------------------
MEDIUM…rastructure/databases/test_neptune_analytics_hybrid.py119# ---------------------------------------------------------------------------
MEDIUM…rastructure/databases/test_neptune_analytics_hybrid.py299# ---------------------------------------------------------------------------
MEDIUM…rastructure/databases/test_neptune_analytics_hybrid.py301# ---------------------------------------------------------------------------
MEDIUM…rastructure/databases/test_neptune_analytics_hybrid.py188# ---------------------------------------------------------------------------
MEDIUM…rastructure/databases/test_neptune_analytics_hybrid.py190# ---------------------------------------------------------------------------
MEDIUM…tructure/databases/graph/test_kuzu_subprocess_proxy.py157# ---------------------------------------------------------------------------
MEDIUM…tructure/databases/graph/test_kuzu_subprocess_proxy.py159# ---------------------------------------------------------------------------
MEDIUM…nit/modules/memify_tasks/test_sync_graph_to_session.py130# ---------------------------------------------------------------------------
MEDIUM…nit/modules/memify_tasks/test_sync_graph_to_session.py132# ---------------------------------------------------------------------------
281 more matches not shown…
Unused Imports1069 hits · 1040 pts
SeverityFileLineSnippet
LOWcognee/root_dir.py2
LOWcognee/__init__.py21
LOWcognee/__init__.py22
LOWcognee/__init__.py23
LOWcognee/__init__.py24
LOWcognee/__init__.py25
LOWcognee/__init__.py26
LOWcognee/__init__.py27
LOWcognee/__init__.py28
LOWcognee/__init__.py29
LOWcognee/__init__.py30
LOWcognee/__init__.py30
LOWcognee/__init__.py31
LOWcognee/__init__.py31
LOWcognee/__init__.py32
LOWcognee/__init__.py35
LOWcognee/__init__.py36
LOWcognee/__init__.py39
LOWcognee/__init__.py40
LOWcognee/__init__.py43
LOWcognee/__init__.py48
LOWcognee/__init__.py48
LOWcognee/__init__.py48
LOWcognee/__init__.py48
LOWcognee/__init__.py48
LOWcognee/__init__.py48
LOWcognee/__init__.py48
LOWcognee/__init__.py48
LOWcognee/__init__.py49
LOWcognee/__init__.py49
LOWcognee/__init__.py49
LOWcognee/__init__.py49
LOWcognee/__init__.py52
LOWcognee/__init__.py52
LOWcognee/__init__.py52
LOWcognee/__init__.py52
LOWcognee/__init__.py52
LOWcognee/__init__.py61
LOWcognee/__init__.py64
LOWcognee/__init__.py64
LOWcognee/low_level.py1
LOWcognee/low_level.py2
LOWcognee/context_global_variables.py8
LOWcognee/context_global_variables.py15
LOWcognee/tasks/memify/__init__.py9
LOWcognee/tasks/memify/__init__.py10
LOWcognee/tasks/memify/__init__.py11
LOWcognee/tasks/memify/__init__.py12
LOWcognee/tasks/memify/__init__.py13
LOWcognee/tasks/memify/__init__.py14
LOWcognee/tasks/memify/__init__.py15
LOWcognee/tasks/memify/__init__.py16
LOWcognee/tasks/memify/get_triplet_datapoints.py8
LOWcognee/tasks/memify/apply_frequency_weights.py5
LOWcognee/tasks/memify/global_context_index/update.py1
LOWcognee/tasks/memify/global_context_index/build.py1
LOW…asks/memify/global_context_index/bucketing_strategy.py1
LOWcognee/tasks/memify/global_context_index/models.py1
LOWcognee/tasks/memify/global_context_index/persist.py1
LOWcognee/tasks/memify/global_context_index/__init__.py1
1009 more matches not shown…
Excessive Try-Catch Wrapping668 hits · 663 pts
SeverityFileLineSnippet
LOWcognee/run_migrations.py139 except Exception:
LOWcognee/tasks/codingagents/coding_rule_associations.py85 except Exception as e:
LOWcognee/tasks/memify/cognify_agent_trace_feedback.py53 except Exception as error:
LOWcognee/tasks/memify/extract_agent_trace_feedbacks.py114 except Exception as error:
LOWcognee/tasks/memify/extract_agent_trace_feedbacks.py129 except Exception as error:
LOWcognee/tasks/memify/sync_graph_to_session.py55 except Exception:
LOWcognee/tasks/memify/sync_graph_to_session.py57 except Exception:
LOWcognee/tasks/memify/sync_graph_to_session.py70 except Exception:
LOWcognee/tasks/memify/get_triplet_datapoints.py243 except Exception as e:
LOWcognee/tasks/memify/get_triplet_datapoints.py279 except Exception as e:
LOWcognee/tasks/memify/cognify_session.py42 except Exception as e:
LOWcognee/tasks/memify/extract_user_sessions.py69 except Exception as e:
LOWcognee/tasks/memify/extract_user_sessions.py79 except Exception as e:
LOW…completion/entity_extractors/regex_entity_extractor.py70 except Exception as e:
LOW…y_completion/entity_extractors/llm_entity_extractor.py70 except Exception as e:
LOWcognee/tasks/ingestion/resolve_dlt_sources.py310 except Exception:
LOWcognee/tasks/ingestion/ingest_dlt_source.py112 except Exception as e:
LOWcognee/tasks/ingestion/ingest_dlt_source.py134 except Exception as e:
LOWcognee/tasks/ingestion/ingest_dlt_source.py153 except Exception as e:
LOWcognee/tasks/ingestion/ingest_dlt_source.py265 except Exception as e:
LOW…nee/tasks/temporal_awareness/index_graphiti_objects.py19 except Exception as e:
MEDIUM…nee/tasks/temporal_awareness/index_graphiti_objects.py12def index_and_transform_graphiti_nodes_and_edges():
LOWcognee/tasks/web_scraper/default_url_crawler.py120 except Exception:
LOWcognee/tasks/web_scraper/default_url_crawler.py201 except Exception as e:
LOWcognee/tasks/web_scraper/default_url_crawler.py249 except Exception as e:
LOWcognee/tasks/web_scraper/default_url_crawler.py271 except Exception:
LOWcognee/tasks/web_scraper/default_url_crawler.py302 except Exception as exc:
LOWcognee/tasks/web_scraper/default_url_crawler.py366 except Exception as exc:
LOWcognee/tasks/web_scraper/default_url_crawler.py434 except Exception as e:
LOWcognee/tasks/web_scraper/utils.py81 except Exception as e:
LOWcognee/tasks/translation/translate_content.py174 except Exception as e:
LOWcognee/tasks/translation/detect_language.py162 except Exception as e:
LOWcognee/tasks/translation/providers/azure_provider.py99 except Exception as e:
LOWcognee/tasks/translation/providers/azure_provider.py184 except Exception as e:
LOWcognee/tasks/translation/providers/llm_provider.py102 except Exception as e:
LOWcognee/tasks/translation/providers/llm_provider.py142 except Exception:
LOWcognee/tasks/translation/providers/google_provider.py41 except Exception as e:
LOWcognee/tasks/translation/providers/google_provider.py51 except Exception as e:
LOWcognee/tasks/translation/providers/google_provider.py100 except Exception as e:
LOWcognee/tasks/translation/providers/google_provider.py156 except Exception as e:
LOWcognee/tasks/storage/index_graph_edges.py89 except Exception as e:
LOWcognee/tasks/chunks/create_chunk_associations.py64 except Exception as e:
LOWcognee/tasks/chunks/create_chunk_associations.py162 except Exception as e:
LOWcognee/tasks/chunks/create_chunk_associations.py177 except Exception as e:
LOWcognee/tasks/chunks/create_chunk_associations.py216 except Exception as e:
LOWcognee/tasks/cleanup/cleanup_unused_data.py162 except Exception as e:
LOWcognee/tests/test_shared_node_preservation.py458 except Exception as e:
LOWcognee/tests/test_chunk_associations.py32 except Exception:
LOWcognee/tests/test_delete_by_id.py141 except Exception as e:
LOWcognee/tests/test_delete_by_id.py158 except Exception as e:
LOWcognee/tests/test_delete_by_id.py175 except Exception as e:
LOWcognee/tests/test_delete_by_id.py194 except Exception as e:
LOWcognee/tests/test_delete_by_id.py220 except Exception as e:
LOWcognee/tests/test_delete_by_id.py244 except Exception as e:
LOWcognee/tests/test_delete_by_id.py292 except Exception as e:
LOWcognee/tests/test_search_db.py49 except Exception:
LOWcognee/tests/test_agent_memory_e2e.py27 except Exception:
LOWcognee/tests/test_subprocess_rss.py185 except Exception:
LOWcognee/tests/test_usage_logger_e2e.py22 except Exception:
LOWcognee/tests/test_permissions.py44 except Exception:
608 more matches not shown…
Cross-File Repetition90 hits · 450 pts
SeverityFileLineSnippet
HIGHcognee/tasks/summarization/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/tasks/graph/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/tasks/storage/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/tasks/documents/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/api/v1/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/infrastructure/data/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/modules/ontology/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/modules/search/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/modules/retrieval/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/modules/data/exceptions/__init__.py0custom exceptions for the cognee api. this module defines a set of exceptions for handling various data errors
HIGHcognee/tests/test_custom_data_label.py0natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval.
HIGHcognee/tests/test_delete_data_and_dataset_if_empty.py0natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval.
HIGHcognee/tests/test_dataset_database_handler.py0natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval.
HIGHcognee/tests/test_dataset_delete.py0natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval.
HIGH…es/custom_pipelines/custom_cognify_pipeline_example.py0natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval.
HIGHexamples/demos/simple_cognee_example.py0natural language processing (nlp) is an interdisciplinary subfield of computer science and information retrieval.
HIGHcognee/tests/test_permissions.py0a quantum computer is a computer that takes advantage of quantum mechanical phenomena. at small scales, physical matter
HIGH…permissions_example/tenant_role_constraints_example.py0a 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.py0a 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.py0a 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.py0a 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.py0test get_completion with session config but no user id.
HIGH…l/graph_completion_retriever_context_extension_test.py0test get_completion with session config but no user id.
HIGH…nit/modules/retrieval/rag_completion_retriever_test.py0test get_completion with session config but no user id.
HIGH…ests/unit/modules/retrieval/temporal_retriever_test.py0test get_completion with session config but no user id.
HIGH…tests/unit/modules/retrieval/triplet_retriever_test.py0test get_completion with session config but no user id.
HIGH…l/graph_completion_retriever_context_extension_test.py0test get_completion retrieves context when not provided.
HIGH…ests/unit/modules/retrieval/temporal_retriever_test.py0test get_completion retrieves context when not provided.
HIGH…sts/unit/modules/retrieval/summaries_retriever_test.py0test get_completion retrieves context when not provided.
HIGH…tests/unit/modules/retrieval/triplet_retriever_test.py0test get_completion retrieves context when not provided.
HIGH…t/modules/retrieval/graph_completion_retriever_test.py0test get_completion retrieves context when not provided.
HIGH…nit/modules/retrieval/rag_completion_retriever_test.py0test that collectionnotfounderror is converted to nodataerror.
HIGH…sts/unit/modules/retrieval/summaries_retriever_test.py0test that collectionnotfounderror is converted to nodataerror.
HIGH…tests/unit/modules/retrieval/triplet_retriever_test.py0test that collectionnotfounderror is converted to nodataerror.
HIGH…/tests/unit/modules/retrieval/chunks_retriever_test.py0test that collectionnotfounderror is converted to nodataerror.
HIGH…nit/modules/retrieval/rag_completion_retriever_test.py0test that top_k parameter limits the number of results.
HIGH…sts/unit/modules/retrieval/summaries_retriever_test.py0test that top_k parameter limits the number of results.
HIGH…/tests/unit/modules/retrieval/chunks_retriever_test.py0test that top_k parameter limits the number of results.
HIGH…l/test_graph_completion_retriever_context_extension.py0set up a clean test environment with simple graph data.
HIGH…tegration/retrieval/test_graph_completion_retriever.py0set up a clean test environment with simple graph data.
HIGH…ieval/test_graph_completion_decomposition_retriever.py0set up a clean test environment with simple graph data.
HIGH…ation/retrieval/test_graph_completion_retriever_cot.py0set up a clean test environment with simple graph data.
HIGH…l/test_graph_completion_retriever_context_extension.py0set up a clean test environment with complex graph data.
HIGH…tegration/retrieval/test_graph_completion_retriever.py0set up a clean test environment with complex graph data.
HIGH…ation/retrieval/test_graph_completion_retriever_cot.py0set up a clean test environment with complex graph data.
HIGH…l/test_graph_completion_retriever_context_extension.py0set up a clean test environment without graph data.
HIGH…tegration/retrieval/test_graph_completion_retriever.py0set up a clean test environment without graph data.
HIGH…ieval/test_graph_completion_decomposition_retriever.py0set up a clean test environment without graph data.
HIGH…ation/retrieval/test_graph_completion_retriever_cot.py0set up a clean test environment without graph data.
HIGH…e/infrastructure/databases/cache/cache_db_interface.py0delete a single qa entry by qa_id. returns true if deleted, false if qa_id not found.
HIGH…e/infrastructure/databases/cache/redis/RedisAdapter.py0delete a single qa entry by qa_id. returns true if deleted, false if qa_id not found.
HIGH…frastructure/databases/cache/fscache/FsCacheAdapter.py0delete a single qa entry by qa_id. returns true if deleted, false if qa_id not found.
HIGH…gnee/infrastructure/databases/graph/ladybug/adapter.py0get 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.py0get 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.py0get 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.py0return the desired batch size for embedding calls returns:
HIGH…ructure/databases/vector/embeddings/EmbeddingEngine.py0return the desired batch size for embedding calls returns:
HIGH…atabases/vector/embeddings/FastembedEmbeddingEngine.py0return the desired batch size for embedding calls returns:
HIGH…e/databases/vector/embeddings/OllamaEmbeddingEngine.py0return the desired batch size for embedding calls returns:
HIGH…tput_framework/litellm_instructor/llm/llm_interface.py0generate an audio transcript from a user query. this method creates a transcript from the specified audio file, raising
30 more matches not shown…
Self-Referential Comments88 hits · 270 pts
SeverityFileLineSnippet
MEDIUMcognee/tasks/ingestion/migrate_relational_database.py33 # Create a mapping of node_id to node objects for referencing in edge creation
MEDIUMcognee/tasks/ingestion/migrate_relational_database.py157 # Create a mapping of node_id to node objects for referencing in edge creation
MEDIUMcognee/tasks/ingestion/migrate_relational_database.py163 # Create a TableType node for each table
MEDIUMcognee/tasks/ingestion/migrate_relational_database.py193 # Create a node ID in the format "table_name:primary_key_value"
MEDIUMcognee/tasks/ingestion/migrate_relational_database.py196 # Create a TableRow node
MEDIUMcognee/tests/test_custom_data_label.py8 # Create a clean slate for cognee -- reset data and system state
MEDIUMcognee/tests/test_delete_data_and_dataset_if_empty.py41 # Create a clean slate for cognee -- reset data and system state
MEDIUMcognee/tests/test_relational_db_migration.py53 # Create the dataset so search can find it by name
MEDIUMcognee/tests/test_graph_visualization_permissions.py114 # Create a user without any permissions to the dataset
MEDIUMcognee/tests/test_graph_model_from_schema.py12 # Create a clean slate for cognee -- reset data and system state
MEDIUMcognee/tests/test_graph_model_from_schema.py25 # Define a custom graph model for programming languages.
MEDIUMcognee/tests/test_custom_model.py14 # Define a custom graph model for programming languages.
MEDIUMcognee/tests/test_dataset_database_handler.py93 # Create a clean slate for cognee -- reset data and system state
MEDIUMcognee/tests/test_telemetry.py27 # Create the file with a test ID if it doesn't exist
MEDIUMcognee/tests/test_dataset_delete.py37 # Create a clean slate for cognee -- reset data and system state
MEDIUMcognee/tests/test_multi_tenancy.py22 # Create a clean slate for cognee -- reset data and system state
MEDIUM…unit/entity_extraction/regex_entity_extraction_test.py265 # Create a minimal test config file
MEDIUM…frastructure/test_embedding_rate_limiting_realistic.py34 # Create a fresh config instance and verify settings
MEDIUM…frastructure/test_embedding_rate_limiting_realistic.py41 # Create a mock embedding engine
MEDIUM…frastructure/test_embedding_rate_limiting_realistic.py51 # Create a list of tasks to simulate concurrent requests
MEDIUM…frastructure/test_embedding_rate_limiting_realistic.py170 # Create a mock engine configured to fail every 3rd request
MEDIUM…sts/unit/infrastructure/databases/test_rate_limiter.py106 # Create a fresh instance
MEDIUM…sts/unit/infrastructure/databases/test_rate_limiter.py127 # Create a fresh instance
MEDIUM…l/graph_completion_retriever_context_extension_test.py168 # Create a second edge for extension rounds
MEDIUM…l/graph_completion_retriever_context_extension_test.py632 # Create a second edge for extension rounds
MEDIUM…l/graph_completion_retriever_context_extension_test.py881 # Create a second edge for extension rounds
MEDIUM…t/modules/retrieval/test_brute_force_triplet_search.py413 # Create a mock fragment that will raise EntityNotFoundError when project_graph_from_db is called
MEDIUM…/unit/modules/users/test_tutorial_notebook_creation.py213 # Create a tutorial directory with cells and config.json
MEDIUM…/unit/modules/users/test_tutorial_notebook_creation.py253 # Create a tutorial directory with cells but no config.json
MEDIUM…/unit/modules/users/test_tutorial_notebook_creation.py405 # Create a file that will cause an error (invalid extension that passes filter)
MEDIUM…/unit/modules/users/test_tutorial_notebook_creation.py440 # Create a file that will cause an error when trying to determine cell type
MEDIUM…gnee/tests/tasks/translation/translate_content_test.py23 # Create a minimal Document for the is_part_of field
MEDIUM…/tests/cli_tests/cli_unit_tests/test_cli_edge_cases.py26 # Create an event loop and run the coroutine
MEDIUM…ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py26 # Create an event loop and run the coroutine
MEDIUMcognee/tests/api/test_backend_auth.py52 # Create an API key using the bearer token
MEDIUMcognee/tests/api/test_backend_auth.py138 # Create an API key with HASH_API_KEY=True active
MEDIUMcognee/tests/e2e/postgres/test_postgres_adapter.py338 # Create a fake type with __name__ == "Entity"
MEDIUMcognee/shared/graph_model_utils.py171 # Create a clean slate for cognee -- reset data and system state
MEDIUMcognee/shared/graph_model_utils.py184 # Define a custom graph model for programming languages.
MEDIUMcognee/shared/utils.py278 # Create the server
MEDIUMcognee/shared/logging_utils.py188 # Create the log entry
MEDIUMcognee/shared/logging_utils.py516 # Create a new log file name with the cognee start time
MEDIUM…eval_framework/benchmark_adapters/hotpot_qa_adapter.py27 # Create a mapping of title to sentences for easy lookup
MEDIUMcognee/api/v1/ui/node_setup.py97 # Create a temporary script file
MEDIUMcognee/api/v1/ui/ui.py189 # Create a temporary directory for download
MEDIUMcognee/api/v1/config/config.py1"""This module is used to set the configuration of the system."""
MEDIUMcognee/api/v1/responses/routers/get_responses_router.py131 # Create a format the dispatcher can handle
MEDIUMcognee/api/v1/responses/routers/get_responses_router.py159 # Create the response object with all processed tool calls
MEDIUMcognee/api/v1/serve/management_api.py140 # Create a new key with retries
MEDIUMcognee/api/v1/sync/sync.py708 # Create a temporary file-like object from the bytes
MEDIUM…e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py404 # Create a MetaData instance to load table information
MEDIUM…e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py408 # Define the full table name
MEDIUM…e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py589 # Create a MetaData instance to load table information
MEDIUMcognee/infrastructure/databases/dataset_queue/queue.py141 # Create the slot dict for this task up front so callers can write
MEDIUM…frastructure/databases/graph/neptune_driver/adapter.py558 # Create the bulk-edge OpenCypher query using UNWIND
MEDIUM…utput_framework/litellm_instructor/llm/rate_limiter.py163 # Create a fresh rate limit item for each check
MEDIUM…put_framework/litellm_instructor/llm/get_llm_client.py69# Define an Enum for LLM Providers
MEDIUMcognee/modules/storage/utils/__init__.py47 # Create a base class with the same configuration as DataPoint
MEDIUMcognee/modules/storage/utils/__init__.py51 # Create the model inheriting from the configured base
MEDIUMevals/old/mem0_01042025/hotpot_qa_mem0.py29 # Create a conversation that includes the document content
28 more matches not shown…
Docstring Block Structure46 hits · 230 pts
SeverityFileLineSnippet
HIGHcognee/tasks/memify/extract_agent_trace_feedbacks.py34 Extract step-level agent trace content for the current user. Retrieves either stored ``session_feedback`` valu
HIGHcognee/tasks/memify/extract_user_sessions.py16 Extract Q&A sessions for the current user via SessionManager. Retrieves all Q&A triplets from specified sessio
HIGHcognee/tasks/web_scraper/web_scraper_task.py54Schedule or run a web scraping task. This function schedules a recurring web scraping task using APScheduler or run
HIGHcognee/tasks/web_scraper/web_scraper_task.py128Scrape URLs and store data points in a Graph database. This function scrapes content from the provided URLs, create
HIGHcognee/tasks/web_scraper/web_scraper_task.py335Validate and configure arguments for web_scraper_task. Args: tavily_api_key: API key for Tavily. ex
HIGHcognee/tasks/web_scraper/web_scraper_task.py370Extract the path after the base URL. Args: base_url: The base URL (e.g., "https://example.com"). ur
HIGHcognee/tasks/web_scraper/default_url_crawler.py179Fetch and cache robots.txt data. Args: domain_root: The root URL (e.g., "https://example.com").
HIGHcognee/tasks/web_scraper/default_url_crawler.py275Fetch a URL using HTTPX with retries. Args: url: The URL to fetch. Returns: st
HIGHcognee/tasks/web_scraper/default_url_crawler.py317Fetch and render a URL using Playwright for JavaScript content. Args: url: The URL to fetch.
HIGHcognee/tasks/web_scraper/default_url_crawler.py384Fetch and extract content from URLs using BeautifulSoup or Playwright. Args: urls: A single URL, li
HIGHcognee/tasks/web_scraper/utils.py18Fetch content from one or more URLs using the specified tool. This function retrieves web page content using either
HIGHcognee/tasks/web_scraper/utils.py90Fetch content from URLs using the Tavily API. Args: urls: A single URL (str) or a list of URLs (List[str])
HIGHcognee/tasks/translation/detect_language.py93 Detect the language of the given text. Uses the langdetect library which is already a dependency of cognee.
HIGHcognee/tasks/translation/providers/__init__.py17 Factory function to get the appropriate translation provider. Args: provider_name: Name of the provide
HIGHcognee/tasks/graph/extract_graph_from_data.py65Integrate chunk graphs with ontology validation and store in databases. This function processes document chunks and
HIGHcognee/tasks/chunks/create_chunk_associations.py106Create semantic association edges between document chunks in the knowledge graph. For each valid chunk, performs a
HIGHcognee/shared/usage_logger.py259Inner decorator that wraps the function with usage logging. Args: func: The async function to wrap
HIGHcognee/shared/usage_logger.py280Wrapper function that executes the original function and logs usage. This wrapper: - Extracts u
HIGHcognee/api/v1/ontologies/ontologies.py95 Upload ontology files with their respective keys. Args: ontology_key: List of unique keys
HIGHcognee/api/v1/ontologies/ontologies.py130 Retrieve ontology content for one or more keys. Args: ontology_key: List of ontology keys
HIGHcognee/api/v1/visualize/start_visualization_server.py7 Start a visualization server on the specified port. Args: port (int): The port number to run the serve
HIGHcognee/api/v1/search/search.py72 Search and query the knowledge graph for insights, information, and connections. This is the final step in the
HIGHcognee/api/v1/sync/sync.py102 Sync local Cognee data to Cognee Cloud. This function handles synchronization of multiple datasets, knowledge
HIGH…gnee/infrastructure/databases/graph/ladybug/adapter.py2813 Retrieve a batch of triplets (start_node, relationship, end_node) from the graph. Parameters:
HIGH…ucture/databases/graph/neptune_driver/neptune_utils.py17 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.py110 Build a configuration dictionary for Neptune Analytics connection. Parameters: ----------- - graph
HIGH…utput_framework/litellm_instructor/llm/rate_limiter.py237 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.py286 Handle rate limiting for LLM API calls in an asynchronous context. This wrapper function first ensures
HIGH…utput_framework/litellm_instructor/llm/rate_limiter.py413 Handle retries for a function call in case of errors, specifically for rate limit errors.
HIGH…utput_framework/litellm_instructor/llm/rate_limiter.py499 Handle retries for a given async function in case of errors, with rate limit check and backoff
HIGHcognee/infrastructure/engine/models/DataPoint.py289 Convert the DataPoint instance to a dictionary representation. This method uses the model's built-in f
HIGHcognee/infrastructure/loaders/core/csv_loader.py48 Load and process the csv file. Args: file_path: Path to the file to load encod
HIGHcognee/infrastructure/loaders/core/audio_loader.py67 Load and process the audio file. Args: file_path: Path to the file to load **k
HIGHcognee/infrastructure/loaders/core/image_loader.py81 Load and process the image file. Args: file_path: Path to the file to load **k
HIGHcognee/infrastructure/loaders/core/text_loader.py54 Load and process the text file. Args: file_path: Path to the file to load enco
HIGH…frastructure/loaders/external/beautiful_soup_loader.py235Normalize an extraction rule to an ExtractionRule dataclass. Args: rule: A string (CSS selector) or
HIGH…frastructure/loaders/external/beautiful_soup_loader.py259Extract content from HTML using BeautifulSoup or lxml XPath. Args: html: The HTML content to extrac
HIGHcognee/infrastructure/loaders/external/pypdf_loader.py38 Load PDF file and extract text content. Args: file_path: Path to the PDF file
HIGH…infrastructure/loaders/external/unstructured_loader.py75 Load document using unstructured library. Args: file_path: Path to the document file
HIGHcognee/modules/tools/execute_tool.py38 Execute a tool call with permission and scope enforcement. Args: user: Authenticated user; permission
HIGH…gnee/modules/ontology/get_default_ontology_resolver.py13 Create and return an ontology resolver instance based on environment parameters. Currently, this function supp
HIGHcognee/modules/search/methods/search.py58 Args: query_text: query_type: datasets: user: system_prompt_path:
HIGH…ules/retrieval/utils/description_to_codepart_search.py30 Maps a code description query to relevant code parts using a CodeGraph pipeline. Args: query (str): Th
HIGH…/permissions/methods/has_user_management_permission.py14 Check if requester is allowed to manage users for a tenant. The requester is allowed if they are the tenant ow
HIGHcognee/modules/sync/methods/update_sync_operation.py15 Retry database operations with exponential backoff for transient failures. Args: operation_func: Async
HIGH…/extract_graph_from_data_with_entity_disambiguation.py65Integrate chunk graphs with ontology validation and store in databases. This function processes document chunks and
Deep Nesting165 hits · 156 pts
SeverityFileLineSnippet
LOWcognee/run_migrations.py63
LOWcognee/tasks/codingagents/coding_rule_associations.py54
LOWcognee/tasks/memify/extract_agent_trace_feedbacks.py28
LOWcognee/tasks/memify/get_triplet_datapoints.py13
LOWcognee/tasks/memify/get_triplet_datapoints.py169
LOWcognee/tasks/memify/apply_feedback_weights.py71
LOWcognee/tasks/memify/extract_user_sessions.py12
LOWcognee/tasks/memify/apply_frequency_weights.py51
LOW…ify/global_context_index/bucketing/vector/placement.py179
LOWcognee/tasks/ingestion/save_data_item_to_storage.py27
LOWcognee/tasks/ingestion/resolve_data_directories.py10
LOWcognee/tasks/ingestion/data_item_to_text_file.py36
LOWcognee/tasks/ingestion/migrate_relational_database.py155
LOWcognee/tasks/web_scraper/default_url_crawler.py314
LOWcognee/tasks/translation/translate_content.py17
LOWcognee/tasks/storage/index_data_points.py73
LOWcognee/tasks/chunks/chunk_by_sentence.py32
LOWcognee/tests/test_relational_db_migration.py46
LOWcognee/tests/test_relational_db_migration.py212
LOW…infrastructure/session/test_session_sdk_integration.py58
LOWcognee/tests/utils/filter_overlapping_entities.py1
LOWcognee/tests/utils/filter_overlapping_relationships.py4
LOWcognee/tests/performance/locust_performance_analysis.py321
LOWcognee/tests/performance/batch_add_cognify_test.py105
LOWcognee/shared/usage_logger.py114
LOWcognee/shared/cache.py247
LOWcognee/shared/logging_utils.py271
LOWcognee/shared/logging_utils.py157
LOWcognee/cli/minimal_cli.py16
LOWcognee/cli/api_dispatch.py159
LOWcognee/cli/api_dispatch.py229
LOWcognee/cli/api_dispatch.py279
LOWcognee/cli/_cognee.py117
LOWcognee/cli/_cognee.py201
LOWcognee/cli/_cognee.py211
LOWcognee/cli/commands/delete_command.py34
LOWcognee/cli/commands/delete_command.py87
LOWcognee/cli/commands/remember_command.py59
LOWcognee/cli/commands/remember_command.py65
LOWcognee/cli/commands/search_command.py81
LOWcognee/cli/commands/cognify_command.py71
LOWcognee/cli/commands/cognify_command.py92
LOWcognee/cli/commands/recall_command.py68
LOWcognee/cli/commands/config_command.py58
LOWcognee/cli/commands/config_command.py87
LOWcognee/exceptions/exceptions.py10
LOW…ee/memify_pipelines/consolidate_entity_descriptions.py60
LOWcognee/eval_framework/analysis/metrics_calculator.py31
LOW…gnee/eval_framework/benchmark_adapters/beam_adapter.py81
LOW…gnee/eval_framework/benchmark_adapters/beam_adapter.py192
LOWcognee/api/client.py141
LOWcognee/api/v1/ui/node_setup.py32
LOWcognee/api/v1/ui/node_setup.py76
LOWcognee/api/v1/ui/node_setup.py141
LOWcognee/api/v1/ui/node_setup.py210
LOWcognee/api/v1/ui/ui.py24
LOWcognee/api/v1/ui/ui.py138
LOWcognee/api/v1/ui/ui.py369
LOWcognee/api/v1/ui/ui.py40
LOWcognee/api/v1/ui/npm_utils.py12
105 more matches not shown…
Redundant / Tautological Comments83 hits · 116 pts
SeverityFileLineSnippet
LOWcognee/root_dir.py24 # Check if it's an S3 URL - S3 URLs are absolute by definition
LOWcognee/tasks/ingestion/resolve_data_directories.py42 if isinstance(item, str): # Check if the item is a path
LOWcognee/tasks/ingestion/ingest_data.py173 # Check if data is already in dataset
LOWcognee/tasks/translation/detect_language.py146 # Check if translation is needed
LOWcognee/tasks/translation/providers/llm_provider.py140 # Check if API key is configured (required for most providers)
LOWcognee/tests/test_shared_node_preservation.py266 # Check if Germany is still in vector index
LOWcognee/tests/test_custom_data_label.py36 # Display results
LOWcognee/tests/test_custom_data_label.py57 # Check if label is properly added and stored
LOWcognee/tests/test_delete_data_and_dataset_if_empty.py79 # Check if databases are properly created and exist before deletion
LOWcognee/tests/test_search_db.py120 # Check if Triplet_text collection was created
LOWcognee/tests/test_graph_model_from_schema.py64 # Display results
LOWcognee/tests/test_dataset_database_handler.py124 # Display results
LOWcognee/tests/test_starter_pipelines.py18 # Check if required environment variables are set
LOWcognee/tests/test_telemetry.py21 # Check if .anon_id exists in the project root
LOWcognee/tests/test_telemetry.py105 # Set ENV to dev which should disable telemetry
LOWcognee/tests/test_dataset_delete.py68 # Check if databases are properly created and exist before deletion
LOWcognee/tests/test_cognee_server_start.py33 # Check if server started with errors
LOW…sts/unit/infrastructure/databases/test_rate_limiter.py145 # Print the results
LOWcognee/shared/graph_model_utils.py223 # Display results
LOWcognee/shared/cache.py174 # Check if already cached and valid
LOWcognee/shared/logging_utils.py159 # Check if stream is available before trying to write
LOWcognee/shared/logging_utils.py334 # Check if this is a LiteLLM-related logger
LOWcognee/shared/logging_utils.py404 # Check if there's an exc_info that needs to be processed
LOWcognee/shared/logging_utils.py510 # Check if we already have a log file path from the environment
LOWcognee/api/v1/ui/node_setup.py37 # Check if nvm is available in the shell
LOWcognee/api/v1/ui/node_setup.py235 # Check if nvm is installed
LOWcognee/api/v1/ui/node_setup.py318 # Check if nvm is installed
LOWcognee/api/v1/ui/ui.py152 # Check if already downloaded and up to date
LOWcognee/api/v1/ui/ui.py650 # Check if process is still running
LOWcognee/api/v1/datasets/routers/get_datasets_router.py471 # Check if matching_data contains an element
LOWcognee/api/v1/responses/routers/get_responses_router.py118 # Check if there are function tool calls in the output
LOWcognee/api/v1/sync/routers/get_sync_router.py112 # Check if user has any running sync operations
LOW…bic/versions/211ab850ef3d_add_sync_operations_table.py26 # 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.py79 # 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_.py279 # Check if the constraint covers ONLY the target column
LOW…ons/46a6ce2bd2b2_expand_dataset_database_with_json_.py286 # Check if the constraint covers ONLY the target column
LOW…e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py329 # Check if any references to this data_id still exist in the DatasetData table
LOW…e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py348 # Check if other data objects point to the same raw data location
LOW…e/databases/relational/sqlalchemy/SqlAlchemyAdapter.py413 # Check if table is in list of tables for the given schema
LOWcognee/infrastructure/databases/graph/config.py99 # Check if absolute path is provided
LOWcognee/infrastructure/llm/config.py129 # Check if BAML is selected as structured output framework but not available
LOW…tructured_output_framework/baml/baml_client/runtime.py129 # Check if already aborted
LOW…tructured_output_framework/baml/baml_client/runtime.py158 # Check if already aborted
LOW…ured_output_framework/baml/baml_client/async_client.py88 # Check if on_tick is provided
LOW…tured_output_framework/baml/baml_client/sync_client.py101 # Check if on_tick is provided
LOW…put_framework/litellm_instructor/llm/get_llm_client.py382 # Check if max_token value is defined in liteLLM for given model
LOW…nfrastructure/llm/extraction/extract_event_entities.py31 # Check if the prompt path is an absolute path or just a filename
LOW…lm/extraction/knowledge_graph/extract_content_graph.py22 # Check if the prompt path is an absolute path or just a filename
LOW…/llm/extraction/knowledge_graph/extract_event_graph.py32 # Check if the prompt path is an absolute path or just a filename
LOWcognee/infrastructure/files/utils/open_data_file.py16 # Check if this is a file URI BEFORE normalizing (which corrupts URIs)
LOWcognee/infrastructure/files/storage/LocalFileStorage.py14 # Check if this is actually a URL (has a scheme like file://, http://, etc.)
LOW…infrastructure/loaders/external/advanced_pdf_loader.py88 # Check if there is any content
LOW…odules/graph/methods/delete_dataset_nodes_and_edges.py23 # 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.py32 # 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.py340 # Check if retriever info is found for the given query type
LOWcognee/modules/search/methods/search.py246 # Check if graph for dataset is empty and log warnings if necessary
LOWcognee/modules/retrieval/graph_completion_retriever.py127 # Check if all triplets are empty, in case of batch queries
LOWcognee/modules/retrieval/graph_completion_retriever.py236 # Check if all triplets are empty, in case of batch queries
LOW…modules/users/methods/store_principal_configuration.py30 # Check if a configuration with this name already exists for the principal
LOW…sers/permissions/methods/give_permission_on_dataset.py55 # Check if the ACL entry already exists to avoid duplicates
23 more matches not shown…
Verbosity Indicators62 hits · 96 pts
SeverityFileLineSnippet
LOWcognee/tests/unit/api/test_ontology_endpoint.py160 # Step 1: Upload two ontologies (one-by-one)
LOWcognee/tests/unit/api/test_ontology_endpoint.py189 # Step 2: Verify ontologies are listed
LOWcognee/tests/unit/api/test_ontology_endpoint.py196 # Step 3: Test cognify with multiple ontologies
LOWcognee/eval_framework/run_beam_eval.py49 # Step 1: Build corpus (ingest conversation into cognee)
LOWcognee/eval_framework/run_beam_eval.py55 # Step 2: Answer probing questions (routed by question type)
LOWcognee/eval_framework/run_beam_eval.py59 # Step 3: Evaluate with rubric metric
LOWcognee/eval_framework/run_beam_eval.py63 # Step 4: Dashboard
LOW…nee/eval_framework/evaluation/run_evaluation_module.py65 # Step 1: Evaluate answers if requested
LOW…nee/eval_framework/evaluation/run_evaluation_module.py71 # Step 2: Calculate metrics if requested
LOWcognee/api/v1/add/add.py189 # Step 1: Add your data (text content or file path)
LOWcognee/api/v1/add/add.py194 # Step 2: Process into knowledge graph
LOWcognee/api/v1/add/add.py197 # Step 3: Search and query
LOWcognee/api/v1/serve/serve.py136 # Step 1: Check for saved credentials
LOWcognee/api/v1/serve/serve.py174 # Step 2: Device Code Flow
LOWcognee/api/v1/serve/serve.py185 # Step 3: Discover or create tenant
LOWcognee/api/v1/serve/serve.py195 # Step 4: Get service URL
LOWcognee/api/v1/serve/serve.py198 # Step 5: Get or create API key
LOWcognee/api/v1/serve/serve.py201 # Step 6: Save credentials
LOWcognee/api/v1/serve/serve.py215 # Step 7: Connect
LOWcognee/api/v1/serve/device_auth.py66 # Step 1: Request device code
LOWcognee/api/v1/serve/device_auth.py88 # Step 2: Show the user what to do
LOWcognee/api/v1/serve/device_auth.py99 # Step 3: Poll for token
LOWcognee/api/v1/sync/sync.py342 # Step 3: Trigger local cognify processing if any files were downloaded
LOWcognee/api/v1/sync/sync.py255 # Step 1: Sync files for all datasets concurrently
LOWcognee/api/v1/sync/sync.py320 # Step 2: Trigger cognify processing once for all datasets (only if any files were uploaded)
LOWcognee/api/v1/sync/sync.py419 # Step 1: Extract local file info with stored hashes
LOWcognee/api/v1/sync/sync.py427 # Step 2: Check what files are missing on cloud
LOWcognee/api/v1/sync/sync.py440 # Step 3: Upload files that are missing on cloud
LOWcognee/api/v1/sync/sync.py448 # Step 4: Download files that are missing locally
LOW…infrastructure/databases/graph/neo4j_driver/adapter.py676 // Step 1: Collect all nodes
LOW…infrastructure/databases/graph/neo4j_driver/adapter.py680 // Step 2: Find all connected components
LOW…infrastructure/databases/graph/neo4j_driver/adapter.py690 // Step 3: Aggregate components
LOW…infrastructure/databases/graph/neo4j_driver/adapter.py693 // Step 4: Identify the largest connected component
LOW…infrastructure/databases/graph/neo4j_driver/adapter.py700 // Step 5: Find nodes not in the largest connected component
LOW…infrastructure/databases/graph/neo4j_driver/adapter.py1263 # Step 2: Fetch all nodes
LOW…infrastructure/databases/graph/neo4j_driver/adapter.py1274 # Step 3: Fetch all edges between collected nodes
LOW…frastructure/databases/graph/neptune_driver/adapter.py689 # Step 1: Find all neighbor node IDs within depth hops
LOW…frastructure/databases/graph/neptune_driver/adapter.py709 # Step 2: Fetch all nodes
LOW…frastructure/databases/graph/neptune_driver/adapter.py718 # Step 3: Fetch all edges between collected nodes
LOW…-development-with-cognee/data/guido_contributions.json698 "before_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\
LOW…-development-with-cognee/data/guido_contributions.json699 "after_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\n
LOW…-development-with-cognee/data/guido_contributions.json700 "diff_context": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]
LOW…-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx45// Step 1: Verify connection
LOW…-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx74// Step 2: SDK quickstart
LOW…-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx111// Step 3: Test from UI
LOW…-frontend/src/app/(app)/onboarding/ServeOnboarding.tsx197// Step 4: Done
LOWdistributed/deploy/daytona_sandbox.py90 # Step 1: Install Cognee (streamed)
LOWdistributed/deploy/daytona_sandbox.py95 # Step 2: Kill any existing server, then start fresh
LOW…_pipelines/dynamic_steps_resume_analysis_hr_example.py164 # Step 1: Reset data and system state
LOW…_pipelines/dynamic_steps_resume_analysis_hr_example.py173 # Step 2: Add text
LOW…_pipelines/dynamic_steps_resume_analysis_hr_example.py180 # Step 3: Create knowledge graph
LOW…_pipelines/dynamic_steps_resume_analysis_hr_example.py185 # Step 4: Query insights
LOW…mporal_awareness_example/temporal_awareness_example.py16 # Step 1: Reset data and system state
LOW…mporal_awareness_example/temporal_awareness_example.py20 # Step 2: Add text and create knowledge graph
LOW…mporal_awareness_example/temporal_awareness_example.py33 # Step 3: Query insights
LOW…vocabulary/ontology_as_reference_vocabulary_example.py24 # Step 1: Reset data and system state
LOW…vocabulary/ontology_as_reference_vocabulary_example.py28 # Step 2: Add text
LOW…vocabulary/ontology_as_reference_vocabulary_example.py32 # Step 3: Create knowledge graph
LOW…vocabulary/ontology_as_reference_vocabulary_example.py48 # Step 4: Query insights
LOWnotebooks/data/guido_contributions.json698 "before_code": " if literal(expr) == LITERAL_TYPE:\n vartype = type_map[expr]\
2 more matches not shown…
Magic Placeholder Names18 hits · 95 pts
SeverityFileLineSnippet
HIGHCLAUDE.md340LLM_API_KEY="your_api_key"
HIGHCLAUDE.md378BAML_LLM_API_KEY="your_api_key"
HIGHcognee/api/v1/config/config.py108 cognee.config.set_llm_api_key("your-api-key")
HIGHcognee-frontend/src/app/(app)/api-keys/ApiKeysPage.tsx222 <span style={{ fontSize: 12, color: "#A1A1AA", fontFamily: '"Fira Code", monospace', flex: 1 }}>X-Api-Key: {"<
HIGHcognee-frontend/src/app/(app)/api-keys/ApiKeysPage.tsx223 <CopyBtn id="header" text={`X-Api-Key: <your-api-key>${tenantId ? `\nX-Tenant-Id: ${tenantId}` : ""}`} copiedF
HIGH…gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx610 api_key="<your-api-key>"
HIGH…gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx621 <CopyButton text={`import asyncio\nimport cognee\n\nasync def main():\n await cognee.serve(\n
HIGH…-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx234 ' api_key="<your-api-key>"',
HIGH…-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx283 ' api_key="your-api-key"',
HIGH…-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx487 ' api_key="<your-api-key>"',
HIGH…-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx547 ' -H "X-Api-Key: <your-api-key>"',
HIGH…-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx787 ' api_key="your-api-key"',
HIGH…-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx855 ' api_key="your-api-key"',
HIGH…-frontend/src/app/(app)/onboarding/ConnectionSteps.tsx888 ' api_key="your-api-key"',
HIGH…ontend/src/app/(app)/connect-agent/ConnectionModal.tsx73 .catch(() => setApiKey("your-api-key"))
HIGH…ontend/src/app/(app)/connect-agent/ConnectionModal.tsx98 const text = fillTemplate(step.copyText, baseUrl, apiKey || "your-api-key");
HIGH…example/user_permissions_and_access_control_example.py30 # os.environ["LLM_API_KEY"] = "your-api-key"
HIGH…/comprehensive_example/cognee_comprehensive_example.py8os.environ["LLM_API_KEY"] = "your_api_key"
Over-Commented Block61 hits · 56 pts
SeverityFileLineSnippet
LOWcognee/alembic.ini1# A generic, single database configuration.
LOWcognee/alembic.ini21# Any required deps can installed by adding `alembic[tz]` to the pip requirements
LOWcognee/alembic.ini41# The path separator used here should be the separator specified by "version_path_separator" below.
LOWcognee/alembic.ini61# are written from script.py.mako
LOWcognee/api/v1/responses/default_tools.py61 # "type": "function",
LOW…gnee/infrastructure/databases/graph/ladybug/adapter.py201 self._all_queries_drained = asyncio.Event()
LOW…gnee/infrastructure/databases/graph/ladybug/adapter.py461 raise
LOW…gnee/infrastructure/databases/graph/ladybug/adapter.py741 """
LOW…gnee/infrastructure/databases/graph/ladybug/adapter.py761 # chain plus a bounded ``_rpc_lock`` acquire). Offload them to a
LOW…gnee/infrastructure/databases/graph/ladybug/adapter.py2521 # mutex that ``query()`` uses to keep two processes from opening
LOW…rastructure/databases/vector/lancedb/LanceDBAdapter.py81 url: Optional[str]
LOW…rastructure/databases/vector/lancedb/LanceDBAdapter.py161 # in subprocess-proxy mode (the ``RemoteLanceDBConnection``
LOW…rastructure/databases/vector/lancedb/LanceDBAdapter.py1101 if "belongs_to_set" not in payload_fields:
LOW…ured_output_framework/baml/baml_client/type_builder.py1# ----------------------------------------------------------------------------
LOWcognee/modules/visualization/views/story_view.js701 nodes.forEach(function(n){n.fx=null;n.fy=null});
LOWcognee/modules/visualization/views/schema_view.js1// Schema view (Phase 2 redesign): explicit-position ontology diagram.
LOW…e/modules/graph/methods/delete_data_nodes_and_edges.py41 # datasets in a single global DB) isn't hard-deleted when only one
LOW…e/modules/graph/utils/get_model_instance_from_graph.py1from collections import OrderedDict
LOWcognee/modules/graph/models/Edge.py41 # __table_args__ = (
LOWcognee/modules/graph/models/Node.py41 Index("index_node_dataset_slug", "dataset_id", "slug"),
LOWcognee-frontend/types/troika-three-utils.d.ts21// remove(...args: any[]): void;
LOWcognee-frontend/types/troika-three-utils.d.ts41// computeBoundingBox(...args: any[]): void;
LOWcognee-frontend/types/troika-three-utils.d.ts81// static DEFAULT_MATRIX_AUTO_UPDATE: boolean;
LOWcognee-frontend/types/troika-three-utils.d.ts101
LOWcognee-frontend/types/troika-three-utils.d.ts261// function toArray(...args: any[]): void;
LOWcognee-frontend/types/troika-three-utils.d.ts421// function transformDirection(...args: any[]): void;
LOWcognee-frontend/types/troika-three-utils.d.ts441// name: string;
LOWcognee-frontend/types/troika-three-utils.d.ts461// name: string;
LOWcognee-frontend/types/troika-three-text.d.ts21// remove(...args: any[]): void;
LOWcognee-frontend/types/troika-three-text.d.ts41// computeBoundingBox(...args: any[]): void;
LOWcognee-frontend/types/troika-three-text.d.ts81// static DEFAULT_MATRIX_AUTO_UPDATE: boolean;
LOWcognee-frontend/types/troika-three-text.d.ts101
LOWcognee-frontend/types/troika-three-text.d.ts261// function toArray(...args: any[]): void;
LOWcognee-frontend/types/troika-three-text.d.ts421// function transformDirection(...args: any[]): void;
LOWcognee-frontend/types/troika-three-text.d.ts441// name: string;
LOWcognee-frontend/types/troika-three-text.d.ts461// name: string;
LOWcognee-frontend/src/app/(graph)/GraphVisualization.tsx81 }
LOWcognee-frontend/src/app/(graph)/GraphVisualization.tsx101 // }
LOWcognee-frontend/src/modules/datasets/cognifyDataset.ts41 // return getDatasetGraph(dataset, instance)
LOWcognee-frontend/src/modules/datasets/cognifyDataset.ts61
LOWtools/check-package.sh1##!/usr/bin/env bash
LOWtools/check-package.sh21# fi
LOWdistributed/deploy/daytona.yaml1# Daytona is now an SDK-based cloud sandbox platform.
LOWdeployment/helm/Chart.yaml1apiVersion: v2
LOWdeployment/helm/Chart.yaml21# incremented each time you make changes to the application. Versions are not expected to
LOW…ional_database_to_knowledge_graph_migration_example.py21# 1. Copy `.env.template` and rename it to `.env`.
LOWexamples/demos/pipeline_api_proposal.py21# Before (current):
LOWexamples/demos/pipeline_api_proposal.py161# 4a. Semaphore-based concurrency (replaces batch-based parallelism)
LOWexamples/demos/pipeline_api_proposal.py181#
LOWexamples/demos/pipeline_api_proposal.py281 )
LOWexamples/demos/pipeline_api_proposal.py301# | batch_size config | @step decorator | Task(fn, batch_size=N) |
LOWcognee-mcp/apps-src/src/main.tsx21
LOW.github/workflows/vector_db_tests.yml21 # run-chromadb-tests:
LOW.github/workflows/vector_db_tests.yml41 # uses: ./.github/actions/cognee_setup
LOW.github/workflows/scorecard.yml41 - name: "Run analysis"
LOWcognee_db_workers/harness.py521 self._last_accessed_at = time.time()
LOWcognee_db_workers/harness.py801 # spurious ``TimeoutError`` (clock jumped forward) or hang past the
LOWcognee_db_workers/harness.py901 # Replay setup in registration order. Each step runs against the
LOWcognee_db_workers/harness.py921 resp = self._raw_call_locked(req)
LOWcognee_db_workers/harness.py1001 except std_queue.Empty:
1 more matches not shown…
AI Slop Vocabulary20 hits · 36 pts
SeverityFileLineSnippet
MEDIUMcognee/tests/integration/test_belongs_to_set_neo4j.py302 # Force the merged detag query to fail. Whitelist the harness
LOW…ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py378 # Should not raise exception, just return
LOW…ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py407 # Should not raise exception, just return with error message
LOW…ee/tests/cli_tests/cli_unit_tests/test_cli_commands.py457 # Should not raise exception, just return with error message
MEDIUMcognee/api/v1/health/health.py243 """Get comprehensive health status."""
LOW…structure/databases/vector/chromadb/ChromaDBAdapter.py396 # If limit is still 0, no need to do the search, just return empty results
LOW…structure/databases/vector/pgvector/PGVectorAdapter.py424 # If limit is still 0, no need to do the search, just return empty results
LOWcognee/modules/storage/utils/__init__.py17 # if the obj is uuid, we simply return the value of uuid
LOW…/users/authentication/api_key/get_api_key_transport.py22 # No login response for API key auth — just return unchanged
LOW…/users/authentication/api_key/get_api_key_transport.py26 # No logout response for API key auth — just return unchanged
MEDIUMcognee/modules/sync/models/SyncOperation.py92 """Get comprehensive progress information."""
MEDIUM…-development-with-cognee/data/guido_contributions.json57 "before_code": "\n # We should always patch indirect dependencies, even in full (non-incremental) bui
MEDIUM…-development-with-cognee/data/guido_contributions.json59 "diff_context": "\n # We should always patch indirect dependencies, even in full (non-incremental) bu
LOW…-development-with-cognee/data/guido_contributions.json824 "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.py62 # No manual dict-based deduplication needed — just create instances freely.
MEDIUMcognee-mcp/apps-src/package-lock.json2255 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",
MEDIUMcognee_db_workers/lancedb_worker.py138 # Serialize the arrow Table via pyarrow's IPC stream for robust transfer.
MEDIUMnotebooks/data/guido_contributions.json57 "before_code": "\n # We should always patch indirect dependencies, even in full (non-incremental) bui
MEDIUMnotebooks/data/guido_contributions.json59 "diff_context": "\n # We should always patch indirect dependencies, even in full (non-incremental) bu
LOWnotebooks/data/guido_contributions.json824 "description": "Make the new bug templates less markup-heavy (#9438)\n\n- Remove emoji\r\n- Instead of `## H2 headin
Fake / Example Data29 hits · 33 pts
SeverityFileLineSnippet
LOW…sts/unit/infrastructure/engine/test_identity_fields.py141 p1 = PersonWithIdentity(name="John Doe")
LOW…/unit/modules/users/test_conditional_authentication.py45 email="user@example.com",
LOW…/unit/modules/users/test_conditional_authentication.py65 email="user@example.com",
LOW…nee/tests/unit/interfaces/graph/test_weighted_edges.py48 name="John Doe",
LOWcognee/tests/backwards_compatibility/phase1_seed.py6Seeds the database with Lorem Ipsum data: add → cognify → search.
LOWcognee/tests/backwards_compatibility/phase1_seed.py10Verifies that the current branch can search the v0.5.7 cognified data, then adds + cognifies new Lorem Ipsum data with
LOWcognee/tests/backwards_compatibility/phase1_seed.py21Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
LOWcognee/tests/backwards_compatibility/phase1_seed.py21Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
LOWcognee/tests/backwards_compatibility/phase1_seed.py27Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for
LOWcognee/tests/backwards_compatibility/phase1_seed.py32SEARCH_QUERY = "What is Lorem Ipsum and where does it come from?"
LOWcognee/tests/backwards_compatibility/phase1_seed.py42 print("Adding Lorem Ipsum text...")
LOWcognee/tests/backwards_compatibility/phase2_verify.py6Seeds the database with Lorem Ipsum data: add → cognify → search.
LOWcognee/tests/backwards_compatibility/phase2_verify.py10Verifies that the current branch can search the v0.5.7 cognified data, then adds + cognifies new Lorem Ipsum data with
LOWcognee/tests/backwards_compatibility/phase2_verify.py21Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
LOWcognee/tests/backwards_compatibility/phase2_verify.py21Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
LOWcognee/tests/backwards_compatibility/phase2_verify.py27Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for
LOWcognee/tests/backwards_compatibility/phase2_verify.py31Loren Ipsum Dolor sit amet, Lorem ipsum.
LOWcognee/tests/backwards_compatibility/phase2_verify.py31Loren Ipsum Dolor sit amet, Lorem ipsum.
LOWcognee/tests/backwards_compatibility/phase2_verify.py34SEARCH_QUERY = "What is Lorem Ipsum and where does it come from?"
LOWcognee/tests/backwards_compatibility/phase2_verify.py63 print("\n[Step 2] Adding Lorem Ipsum text with current branch...")
LOWcognee/tests/api/test_agent_mode.py24_DUMMY_USER = User(email="test@test.com", hashed_password="!")
LOWcognee/infrastructure/llm/extraction/texts.json2 "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standa
LOWcognee/infrastructure/llm/extraction/texts.json3 "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its
LOWcognee/infrastructure/llm/extraction/texts.json4 "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literat
LOWcognee/infrastructure/llm/extraction/texts.json4 "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literat
LOWcognee/infrastructure/llm/extraction/texts.json5 "The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and
LOWcognee/infrastructure/llm/extraction/texts.json6 "There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some for
LOWcognee-starter-kit/src/data/people.json3 "name": "John Doe",
LOW…om_pipelines/organizational_hierarchy/data/people.json3 "name": "John Doe",
Slop Phrases13 hits · 24 pts
SeverityFileLineSnippet
LOWcognee/tests/test_lancedb.py318 # Note: make sure to call test_vector_engine_search_with_nodeset_filtering()
LOWcognee/tests/test_pgvector.py333 # Note: make sure to call test_vector_engine_search_with_nodeset_filtering()
MEDIUM…/old/mem0_01042025/metrics_output_mem0_human_eval.json114 "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.json334 "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.json444 "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.json114 "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.json334 "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.json444 "answer": "The context provided does not contain information about Jalen Jones or the arena where his NBA team p
MEDIUMevals/old/mem0_01042025/metrics_output_mem0.json194 "answer": "Based on the provided context, there is no mention of Robert Croft or a facility where he worked as a
MEDIUMevals/old/mem0_01042025/metrics_output_mem0.json574 "answer": "The provided context does not contain information about the town where Black Crescent Mountain is loc
MEDIUMevals/old/mem0_01042025/metrics_output_mem0.json764 "answer": "The context provided does not contain information about Jalen Jones or the arena where his NBA team p
LOWcognee-frontend/src/app/(graph)/GraphVisualization.tsx264 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.py26# NOTE: If you don't have a DB you want to migrate you can try it out with our
Cross-Language Confusion4 hits · 22 pts
SeverityFileLineSnippet
HIGHcognee/tests/test_neptune_analytics_vector.py124 # Always return true
HIGHdistributed/deploy/modal_app.py10 1. pip install modal && modal setup
HIGHdistributed/deploy/daytona_sandbox.py97 sandbox.process.exec("pkill -f uvicorn || true", timeout=5)
HIGHcognee-mcp/src/server.py1385 "Build it with: cd cognee-mcp/apps-src && npm install && npm run build"
Cross-Language Confusion (JS/TS)4 hits · 22 pts
SeverityFileLineSnippet
HIGH…gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx616 print(results)
HIGH…gnee-frontend/src/app/(app)/dashboard/OverviewPage.tsx1289 print(results)
HIGHcognee-frontend/src/app/(app)/connect-agent/prompts.ts217 print(r)
HIGHcognee-frontend/src/app/(app)/connect-agent/prompts.ts246 print("Connected!" if results else "No results — check credentials")
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippet
LOWevals/src/qa/qa_benchmark_cognee.py166 # Example usage
LOWevals/src/qa/qa_benchmark_mem0.py103 # Example usage
LOWevals/src/qa/qa_benchmark_lightrag.py80 # Example usage
LOWdistributed/deploy/modal-deploy.sh6# Usage:
LOWdistributed/deploy/fly-deploy.sh6# Usage:
Overly Generic Function Names2 hits · 1 pts
SeverityFileLineSnippet
LOW…utput_framework/litellm_instructor/llm/rate_limiter.py16 def my_function():
LOW…utput_framework/litellm_instructor/llm/rate_limiter.py26 def my_function():