A modular graph-based Retrieval-Augmented Generation (RAG) system
1111 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/unit/config/test_template_engine_config.py | 0 | test that missing required parameters raise validation errors. |
| HIGH | tests/unit/config/test_metrics_config.py | 0 | test that missing required parameters raise validation errors. |
| HIGH | tests/unit/config/test_retry_config.py | 0 | test that missing required parameters raise validation errors. |
| HIGH | tests/unit/config/test_retry_config.py | 0 | test that missing required parameters raise validation errors. |
| HIGH | tests/unit/config/test_tokenizer_config.py | 0 | test that missing required parameters raise validation errors. |
| HIGH | tests/unit/config/test_rate_limit_config.py | 0 | test that missing required parameters raise validation errors. |
| HIGH | tests/unit/config/test_model_config.py | 0 | test that missing required parameters raise validation errors. |
| HIGH | tests/unit/graphs/test_compute_degree.py | 0 | build a relationships dataframe from (source, target, weight) tuples. |
| HIGH | tests/unit/graphs/test_modularity.py | 0 | build a relationships dataframe from (source, target, weight) tuples. |
| HIGH | tests/unit/graphs/test_connected_components.py | 0 | build a relationships dataframe from (source, target, weight) tuples. |
| HIGH | tests/unit/graphs/test_stable_lcc.py | 0 | build a relationships dataframe from (source, target, weight) tuples. |
| HIGH | tests/unit/graphs/test_modularity.py | 0 | load the realistic graph fixture as a relationships dataframe. |
| HIGH | tests/unit/graphs/test_connected_components.py | 0 | load the realistic graph fixture as a relationships dataframe. |
| HIGH | tests/unit/graphs/test_stable_lcc.py | 0 | load the realistic graph fixture as a relationships dataframe. |
| HIGH | tests/integration/language_model/test_rate_limiter.py | 0 | with _num_requests = 10 and _rpm = 4, we expect the requests to be distributed across ceil(10/4) = 3 bins: with a stagge |
| HIGH | tests/integration/language_model/test_rate_limiter.py | 0 | with _num_requests = 10 and _rpm = 4, we expect the requests to be distributed across ceil(10/4) = 3 bins: with a stagge |
| HIGH | tests/integration/language_model/test_rate_limiter.py | 0 | with _num_requests = 10 and _rpm = 4, we expect the requests to be distributed across ceil(10/4) = 3 bins: with a stagge |
| HIGH | tests/integration/language_model/test_rate_limiter.py | 0 | with _num_requests = 10, _tpm = 75 and _tokens_per_request = 25, we expect the requests to be distributed across ceil( ( |
| HIGH | tests/integration/language_model/test_rate_limiter.py | 0 | with _num_requests = 10, _tpm = 75 and _tokens_per_request = 25, we expect the requests to be distributed across ceil( ( |
| HIGH | tests/integration/language_model/test_rate_limiter.py | 0 | with _num_requests = 10, _tpm = 75 and _tokens_per_request = 25, we expect the requests to be distributed across ceil( ( |
| HIGH | …ges/graphrag-llm/graphrag_llm/metrics/metrics_store.py | 0 | clear all metrics from the store. returns ------- none |
| HIGH | …raphrag-llm/graphrag_llm/metrics/noop_metrics_store.py | 0 | clear all metrics from the store. returns ------- none |
| HIGH | …phrag-llm/graphrag_llm/metrics/memory_metrics_store.py | 0 | clear all metrics from the store. returns ------- none |
| HIGH | …kages/graphrag-llm/graphrag_llm/tokenizer/tokenizer.py | 0 | encode the given text into a list of tokens. args ---- text: str the input text to encode. returns ------- list[int]: a |
| HIGH | …phrag-llm/graphrag_llm/tokenizer/tiktoken_tokenizer.py | 0 | encode the given text into a list of tokens. args ---- text: str the input text to encode. returns ------- list[int]: a |
| HIGH | …phrag-llm/graphrag_llm/tokenizer/lite_llm_tokenizer.py | 0 | encode the given text into a list of tokens. args ---- text: str the input text to encode. returns ------- list[int]: a |
| HIGH | …kages/graphrag-llm/graphrag_llm/tokenizer/tokenizer.py | 0 | decode a list of tokens back into a string. args ---- tokens: list[int] a list of tokens to decode. returns ------- str: |
| HIGH | …phrag-llm/graphrag_llm/tokenizer/tiktoken_tokenizer.py | 0 | decode a list of tokens back into a string. args ---- tokens: list[int] a list of tokens to decode. returns ------- str: |
| HIGH | …phrag-llm/graphrag_llm/tokenizer/lite_llm_tokenizer.py | 0 | decode a list of tokens back into a string. args ---- tokens: list[int] a list of tokens to decode. returns ------- str: |
| HIGH | packages/graphrag/graphrag/config/enums.py | 0 | noun phrase extractor based on dependency parsing and ner using spacy. |
| HIGH | …oun_graph/np_extractors/syntactic_parsing_extractor.py | 0 | noun phrase extractor based on dependency parsing and ner using spacy. |
| HIGH | …oun_graph/np_extractors/syntactic_parsing_extractor.py | 0 | noun phrase extractor based on dependency parsing and ner using spacy. |
| HIGH | …/graphrag/graphrag/config/models/prune_graph_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …graphrag/graphrag/config/models/basic_search_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …rag/graphrag/config/models/extract_graph_nlp_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …es/graphrag/graphrag/config/models/snapshots_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …raphrag/graphrag/config/models/global_search_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …s/graphrag/graphrag/config/models/embed_text_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …raphrag/graphrag/config/models/cluster_graph_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …raphrag/config/models/summarize_descriptions_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …graphrag/graphrag/config/models/local_search_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …es/graphrag/graphrag/config/models/graph_rag_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …es/graphrag/graphrag/config/models/reporting_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …graphrag/graphrag/config/models/drift_search_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …raphrag/graphrag/config/models/extract_graph_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …aphrag/graphrag/config/models/extract_claims_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …rag/graphrag/config/models/community_reports_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …graphrag-chunking/graphrag_chunking/chunking_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …aphrag-vectors/graphrag_vectors/vector_store_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …ages/graphrag-vectors/graphrag_vectors/index_schema.py | 0 | parameterization settings for the default configuration. |
| HIGH | packages/graphrag-input/graphrag_input/input_config.py | 0 | parameterization settings for the default configuration. |
| HIGH | …phrag/graphrag/callbacks/workflow_callbacks_manager.py | 0 | execute this callback when an error occurs in the pipeline. |
| HIGH | …ages/graphrag/graphrag/callbacks/workflow_callbacks.py | 0 | execute this callback when an error occurs in the pipeline. |
| HIGH | …graphrag/graphrag/callbacks/noop_workflow_callbacks.py | 0 | execute this callback when an error occurs in the pipeline. |
| HIGH | …phrag/graphrag/callbacks/console_workflow_callbacks.py | 0 | execute this callback when an error occurs in the pipeline. |
| HIGH | …ages/graphrag/graphrag/callbacks/workflow_callbacks.py | 0 | execute this callback to signal when the entire pipeline starts. |
| HIGH | …graphrag/graphrag/callbacks/noop_workflow_callbacks.py | 0 | execute this callback to signal when the entire pipeline starts. |
| HIGH | …phrag/graphrag/callbacks/console_workflow_callbacks.py | 0 | execute this callback to signal when the entire pipeline starts. |
| HIGH | …ages/graphrag/graphrag/callbacks/workflow_callbacks.py | 0 | execute this callback to signal when the entire pipeline ends. |
| HIGH | …graphrag/graphrag/callbacks/noop_workflow_callbacks.py | 0 | execute this callback to signal when the entire pipeline ends. |
| 45 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/vector_stores/test_timestamp.py | 40 | def test_empty_string_returns_empty(self): |
| LOW | tests/unit/vector_stores/test_timestamp.py | 77 | def test_produces_correct_keys(self): |
| LOW | tests/unit/vector_stores/test_timestamp.py | 104 | def test_contains_create_and_update_fields(self): |
| LOW | tests/unit/vector_stores/test_filtering.py | 60 | def test_missing_field_returns_false(self): |
| LOW | tests/unit/vector_stores/test_filtering.py | 136 | def test_eq_produces_condition(self): |
| LOW | tests/unit/vector_stores/test_filtering.py | 305 | def test_complex_nested_roundtrip(self): |
| LOW | tests/unit/prompt_tune/test_load_docs_in_chunks.py | 104 | async def test_top_selection_returns_limited_chunks( |
| LOW | tests/unit/prompt_tune/test_load_docs_in_chunks.py | 141 | async def test_random_selection_returns_correct_count( |
| LOW | tests/unit/prompt_tune/test_load_docs_in_chunks.py | 176 | async def test_escapes_braces_in_output(self, mock_config, mock_logger): |
| LOW | tests/unit/prompt_tune/test_load_docs_in_chunks.py | 219 | async def test_limit_out_of_range_uses_default( |
| LOW | tests/unit/prompt_tune/test_load_docs_in_chunks.py | 258 | async def test_chunks_all_documents( |
| LOW | tests/unit/config/test_template_engine_config.py | 14 | def test_template_engine_config_validation() -> None: |
| LOW | tests/unit/config/test_metrics_config.py | 13 | def test_file_metrics_writer_validation() -> None: |
| LOW | tests/unit/config/test_retry_config.py | 10 | def test_exponential_backoff_validation() -> None: |
| LOW | tests/unit/config/test_retry_config.py | 50 | def test_immediate_validation() -> None: |
| LOW | tests/unit/config/test_tokenizer_config.py | 10 | def test_litellm_tokenizer_validation() -> None: |
| LOW | tests/unit/config/test_rate_limit_config.py | 10 | def test_sliding_window_validation() -> None: |
| LOW | tests/unit/config/utils.py | 57 | def get_default_graphrag_config() -> GraphRagConfig: |
| LOW | tests/unit/config/utils.py | 73 | def assert_rate_limit_configs( |
| LOW | tests/unit/config/utils.py | 115 | def assert_vector_store_configs( |
| LOW | tests/unit/config/utils.py | 162 | def assert_text_embedding_configs( |
| LOW | tests/unit/config/utils.py | 186 | def assert_extract_graph_configs( |
| LOW | tests/unit/config/utils.py | 195 | def assert_text_analyzer_configs( |
| LOW | tests/unit/config/utils.py | 210 | def assert_extract_graph_nlp_configs( |
| LOW | tests/unit/config/utils.py | 218 | def assert_prune_graph_configs( |
| LOW | tests/unit/config/utils.py | 230 | def assert_summarize_descriptions_configs( |
| LOW | tests/unit/config/utils.py | 238 | def assert_community_reports_configs( |
| LOW | tests/unit/config/utils.py | 248 | def assert_extract_claims_configs( |
| LOW | tests/unit/config/utils.py | 258 | def assert_cluster_graph_configs( |
| LOW | tests/unit/config/utils.py | 266 | def assert_local_search_configs( |
| LOW | tests/unit/config/utils.py | 280 | def assert_global_search_configs( |
| LOW | tests/unit/config/utils.py | 297 | def assert_drift_search_configs( |
| LOW | tests/unit/config/utils.py | 330 | def assert_basic_search_configs( |
| LOW | tests/unit/config/test_config.py | 45 | def test_load_config_with_cli_overrides() -> None: |
| LOW | tests/unit/config/test_model_config.py | 11 | def test_litellm_provider_validation() -> None: |
| LOW | tests/unit/utils/test_encoding.py | 16 | def test_num_tokens_empty_input(): |
| LOW | tests/unit/storage/test_csv_table_provider.py | 46 | async def test_read_nonexistent_table_raises_error(self): |
| LOW | tests/unit/storage/test_csv_table_provider.py | 62 | async def test_dataframe_with_multiple_types(self): |
| LOW | tests/unit/storage/test_parquet_table_provider.py | 41 | async def test_read_nonexistent_table_raises_error(self): |
| LOW | tests/unit/storage/test_parquet_table_provider.py | 55 | async def test_dataframe_with_multiple_types(self): |
| LOW | tests/unit/storage/test_csv_table.py | 58 | async def test_original_readable_during_writes( |
| LOW | tests/unit/storage/test_csv_table.py | 74 | async def test_temp_file_replaces_original_on_close( |
| LOW | tests/unit/storage/test_csv_table.py | 89 | async def test_no_temp_file_left_after_close( |
| LOW | tests/unit/storage/test_csv_table.py | 103 | async def test_multiple_writes_accumulate_in_temp( |
| LOW | tests/unit/storage/test_csv_table.py | 124 | async def test_concurrent_read_and_write_same_file( |
| LOW | tests/unit/storage/test_csv_table.py | 165 | async def test_append_to_existing_file( |
| LOW | tests/unit/storage/test_csv_table.py | 183 | async def test_append_creates_file_with_header( |
| LOW | tests/unit/storage/test_csv_table.py | 198 | async def test_no_temp_file_used_for_append( |
| LOW | tests/unit/storage/test_csv_table.py | 221 | async def test_double_close_is_safe( |
| LOW | tests/unit/storage/test_csv_table.py | 232 | async def test_close_without_writes_is_safe( |
| LOW | tests/unit/chunking/test_chunker.py | 55 | def test_mixed_whitespace_handling(self): |
| LOW | tests/unit/chunking/test_chunker.py | 96 | def test_split_text_str_empty(): |
| LOW | tests/unit/chunking/test_chunker.py | 108 | def test_split_text_on_tokens(): |
| LOW | tests/unit/chunking/test_chunker.py | 137 | def test_split_text_on_tokens_one_overlap(): |
| LOW | tests/unit/chunking/test_chunker.py | 169 | def test_split_text_on_tokens_no_overlap(): |
| LOW | tests/unit/chunking/test_prepend_metadata.py | 7 | def test_add_metadata_one_row(): |
| LOW | tests/unit/chunking/test_prepend_metadata.py | 17 | def test_add_metadata_one_row_append(): |
| LOW | tests/unit/chunking/test_prepend_metadata.py | 27 | def test_add_metadata_multiple_rows(): |
| LOW | tests/unit/chunking/test_prepend_metadata.py | 37 | def test_add_metadata_custom_delimiters(): |
| LOW | tests/unit/load_config/test_load_config.py | 16 | def test_load_config_validation(): |
| 315 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/indexing/test_init_content.py | 5 | |
| LOW | tests/integration/language_model/test_factory.py | 20 | |
| LOW | tests/integration/language_model/test_factory.py | 20 | |
| LOW | tests/integration/language_model/test_factory.py | 22 | |
| LOW | tests/integration/language_model/test_factory.py | 23 | |
| LOW | tests/integration/language_model/test_factory.py | 24 | |
| LOW | tests/integration/language_model/test_factory.py | 24 | |
| LOW | tests/integration/language_model/test_factory.py | 24 | |
| LOW | tests/integration/language_model/test_factory.py | 24 | |
| LOW | tests/integration/language_model/test_factory.py | 24 | |
| LOW | tests/integration/language_model/test_factory.py | 24 | |
| LOW | …raphrag-llm/graphrag_llm/metrics/metrics_aggregator.py | 12 | |
| LOW | …-llm/graphrag_llm/metrics/default_metrics_processor.py | 13 | |
| LOW | …-llm/graphrag_llm/metrics/default_metrics_processor.py | 13 | |
| LOW | …-llm/graphrag_llm/metrics/default_metrics_processor.py | 15 | |
| LOW | …-llm/graphrag_llm/metrics/default_metrics_processor.py | 16 | |
| LOW | …-llm/graphrag_llm/metrics/default_metrics_processor.py | 16 | |
| LOW | …raphrag-llm/graphrag_llm/metrics/log_metrics_writer.py | 14 | |
| LOW | …ges/graphrag-llm/graphrag_llm/metrics/metrics_store.py | 10 | |
| LOW | …ges/graphrag-llm/graphrag_llm/metrics/metrics_store.py | 11 | |
| LOW | …es/graphrag-llm/graphrag_llm/metrics/metrics_writer.py | 10 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 6 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 7 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 8 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 8 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 12 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 13 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 13 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 17 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 18 | |
| LOW | packages/graphrag-llm/graphrag_llm/metrics/__init__.py | 18 | |
| LOW | …rag-llm/graphrag_llm/metrics/metrics_writer_factory.py | 16 | |
| LOW | …rag-llm/graphrag_llm/metrics/metrics_writer_factory.py | 18 | |
| LOW | …hrag-llm/graphrag_llm/metrics/metrics_store_factory.py | 15 | |
| LOW | …hrag-llm/graphrag_llm/metrics/metrics_store_factory.py | 17 | |
| LOW | …graphrag-llm/graphrag_llm/metrics/metrics_processor.py | 10 | |
| LOW | …graphrag-llm/graphrag_llm/metrics/metrics_processor.py | 10 | |
| LOW | …graphrag-llm/graphrag_llm/metrics/metrics_processor.py | 12 | |
| LOW | …graphrag-llm/graphrag_llm/metrics/metrics_processor.py | 13 | |
| LOW | …graphrag-llm/graphrag_llm/metrics/metrics_processor.py | 13 | |
| LOW | …graphrag-llm/graphrag_llm/metrics/metrics_processor.py | 13 | |
| LOW | …graphrag-llm/graphrag_llm/metrics/metrics_processor.py | 13 | |
| LOW | …-llm/graphrag_llm/metrics/metrics_processor_factory.py | 15 | |
| LOW | …phrag-llm/graphrag_llm/metrics/memory_metrics_store.py | 14 | |
| LOW | …aphrag-llm/graphrag_llm/metrics/file_metrics_writer.py | 15 | |
| LOW | …hrag-llm/graphrag_llm/middleware/with_request_count.py | 9 | |
| LOW | …hrag-llm/graphrag_llm/middleware/with_request_count.py | 9 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 17 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 17 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 19 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 20 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 21 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 22 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 23 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 24 | |
| LOW | …lm/graphrag_llm/middleware/with_middleware_pipeline.py | 24 | |
| LOW | …llm/graphrag_llm/middleware/with_errors_for_testing.py | 14 | |
| LOW | …llm/graphrag_llm/middleware/with_errors_for_testing.py | 14 | |
| LOW | …kages/graphrag-llm/graphrag_llm/middleware/__init__.py | 6 | |
| LOW | …kages/graphrag-llm/graphrag_llm/middleware/__init__.py | 7 | |
| 329 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 18 | # ── Condition.evaluate ────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 65 | # ── AndExpr.evaluate ──────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 90 | # ── OrExpr.evaluate ───────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 115 | # ── NotExpr.evaluate ──────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 130 | # ── F builder ─────────────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 176 | # ── Operator overloads ────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 208 | # ── AND/OR flattening ────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 227 | # ── Double negation ──────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/vector_stores/test_filtering.py | 243 | # ── JSON round-trip ───────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/graphs/test_modularity.py | 19 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_modularity.py | 21 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_modularity.py | 85 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_modularity.py | 87 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_modularity.py | 107 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_modularity.py | 109 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_connected_components.py | 31 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_connected_components.py | 33 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_connected_components.py | 52 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_connected_components.py | 54 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_connected_components.py | 133 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_connected_components.py | 135 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 55 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 57 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 96 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 98 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 114 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 116 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 139 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 141 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 177 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/graphs/test_stable_lcc.py | 179 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 86 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 88 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 146 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 148 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 182 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 184 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 30 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 32 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 244 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_cluster_graph.py | 246 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 137 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 139 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 247 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 249 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 286 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 288 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 380 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 382 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 443 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 445 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 564 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 566 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 171 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 173 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 488 | # ------------------------------------------------------------------- |
| MEDIUM | tests/unit/indexing/test_create_communities.py | 490 | # ------------------------------------------------------------------- |
| MEDIUM | tests/verbs/test_create_final_text_units.py | 29 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/verbs/test_create_final_text_units.py | 31 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/verbs/test_create_final_text_units.py | 61 | # --------------------------------------------------------------------------- |
| 29 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/unit/indexing/cache/test_file_pipeline_cache.py | 34 | # Create a cache directory |
| MEDIUM | tests/integration/vector_stores/test_azure_ai_search.py | 46 | # Create the necessary mocks first |
| MEDIUM | tests/integration/vector_stores/test_azure_ai_search.py | 65 | # Create the necessary mocks first |
| MEDIUM | tests/integration/vector_stores/test_azure_ai_search.py | 126 | # Define a simple text embedder function for testing |
| MEDIUM | tests/integration/vector_stores/test_azure_ai_search.py | 141 | # Create a mock embedder that returns None and verify that no results are produced |
| MEDIUM | tests/integration/vector_stores/test_azure_ai_search.py | 195 | # Define a simple text embedder function for testing |
| MEDIUM | tests/integration/vector_stores/test_cosmosdb.py | 55 | # Define a simple text embedder function for testing |
| MEDIUM | tests/integration/vector_stores/test_cosmosdb.py | 132 | # Define a simple text embedder function for testing |
| MEDIUM | tests/integration/vector_stores/test_factory.py | 67 | # Create a mock that satisfies the VectorStore interface |
| MEDIUM | tests/integration/vector_stores/test_lancedb.py | 108 | # Define a simple text embedder function for testing |
| MEDIUM | tests/integration/cache/test_factory.py | 102 | # Create a mock that satisfies the PipelineCache interface |
| MEDIUM | tests/integration/storage/test_factory.py | 78 | # Create a mock that satisfies the Storage interface |
| MEDIUM | unified-search-app/app/data_config.py | 6 | # This file is used to store configurations for the graph-indexed data and the LLM/embeddings models used in the app. |
| MEDIUM | …summarize_communities/graph_context/context_builder.py | 160 | # Create the ALL_CONTEXT column |
| MEDIUM | …graphrag/query/structured_search/drift_search/state.py | 83 | # Create a mapping from nodes to unique IDs |
| MEDIUM | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py | 91 | # Define the container vector policy |
| MEDIUM | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py | 103 | # Define the vector indexing policy |
| MEDIUM | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py | 121 | # Create the container and container client |
| MEDIUM | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py | 132 | # Create the container with compatible indexing policy |
| MEDIUM | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py | 158 | # Create a CosmosDB container on overwrite |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | unified-search-app/app/home_page.py | 60 | except Exception as e: # noqa: BLE001 |
| LOW | unified-search-app/app/home_page.py | 234 | except Exception as e: # noqa: BLE001 |
| LOW | …h-app/app/knowledge_loader/data_sources/blob_source.py | 95 | except Exception as err: |
| LOW | …h-app/app/knowledge_loader/data_sources/blob_source.py | 117 | except Exception as err: |
| LOW | …search-app/app/knowledge_loader/data_sources/loader.py | 61 | except Exception as e: # noqa: BLE001 |
| MEDIUM | …search-app/app/knowledge_loader/data_sources/loader.py | 62 | print(f"Error loading dataset config: {e}") # noqa T201 |
| LOW | …hrag-llm/graphrag_llm/middleware/with_request_count.py | 57 | except Exception: |
| LOW | …hrag-llm/graphrag_llm/middleware/with_request_count.py | 76 | except Exception: |
| LOW | …ges/graphrag-llm/graphrag_llm/middleware/with_cache.py | 92 | except Exception: # noqa: BLE001 |
| LOW | …ges/graphrag-llm/graphrag_llm/middleware/with_cache.py | 140 | except Exception: # noqa: BLE001 |
| LOW | …s/graphrag-llm/graphrag_llm/middleware/with_logging.py | 50 | except Exception as e: |
| LOW | …s/graphrag-llm/graphrag_llm/middleware/with_logging.py | 65 | except Exception as e: |
| LOW | …s/graphrag-llm/graphrag_llm/retry/exponential_retry.py | 71 | except Exception as e: |
| LOW | …s/graphrag-llm/graphrag_llm/retry/exponential_retry.py | 103 | except Exception as e: |
| LOW | …ges/graphrag-llm/graphrag_llm/retry/immediate_retry.py | 51 | except Exception as e: |
| LOW | …ges/graphrag-llm/graphrag_llm/retry/immediate_retry.py | 75 | except Exception as e: |
| LOW | …aphrag-llm/graphrag_llm/utils/function_tool_manager.py | 128 | except Exception as e: |
| LOW | …g-llm/graphrag_llm/templating/jinja_template_engine.py | 48 | except Exception as e: |
| LOW | …aphrag-llm/graphrag_llm/threading/completion_thread.py | 90 | except Exception as e: # noqa: BLE001 |
| LOW | …raphrag-llm/graphrag_llm/threading/embedding_thread.py | 87 | except Exception as e: # noqa: BLE001 |
| LOW | packages/graphrag/graphrag/index/validate_config.py | 29 | except Exception as e: # noqa: BLE001 |
| LOW | packages/graphrag/graphrag/index/validate_config.py | 46 | except Exception as e: # noqa: BLE001 |
| LOW | …ages/graphrag/graphrag/index/utils/derive_from_rows.py | 147 | except Exception as e: # noqa: BLE001 |
| LOW | …index/operations/extract_covariates/claim_extractor.py | 91 | except Exception as e: |
| LOW | …rations/summarize_communities/summarize_communities.py | 162 | except Exception: |
| LOW | …s/summarize_communities/community_reports_extractor.py | 88 | except Exception as e: |
| LOW | …hrag/index/operations/extract_graph/graph_extractor.py | 66 | except Exception as e: # pragma: no cover - defensive logging |
| LOW | packages/graphrag/graphrag/index/run/run_pipeline.py | 153 | except Exception as e: |
| LOW | …aphrag/query/structured_search/global_search/search.py | 264 | except Exception: |
| LOW | …aphrag/query/structured_search/global_search/search.py | 421 | except Exception: |
| LOW | …raphrag/query/structured_search/local_search/search.py | 134 | except Exception: |
| LOW | …raphrag/query/structured_search/basic_search/search.py | 128 | except Exception: |
| LOW | …ages/graphrag/graphrag/query/question_gen/local_gen.py | 138 | except Exception: |
| LOW | …ages/graphrag/graphrag/query/question_gen/local_gen.py | 229 | except Exception: |
| LOW | …/graphrag-common/graphrag_common/config/load_config.py | 191 | except Exception as error: |
| LOW | …/graphrag-common/graphrag_common/config/load_config.py | 198 | except Exception as error: |
| LOW | …raphrag-storage/graphrag_storage/azure_blob_storage.py | 154 | except Exception: # noqa: BLE001 |
| LOW | …raphrag-storage/graphrag_storage/azure_blob_storage.py | 175 | except Exception: # noqa: BLE001 |
| LOW | …raphrag-storage/graphrag_storage/azure_blob_storage.py | 194 | except Exception: |
| LOW | …raphrag-storage/graphrag_storage/azure_blob_storage.py | 250 | except Exception: # noqa: BLE001 |
| LOW | …phrag-storage/graphrag_storage/azure_cosmos_storage.py | 147 | except Exception: # noqa: BLE001 |
| LOW | …phrag-storage/graphrag_storage/azure_cosmos_storage.py | 171 | except Exception: |
| LOW | …phrag-storage/graphrag_storage/azure_cosmos_storage.py | 202 | except Exception: |
| LOW | …phrag-storage/graphrag_storage/azure_cosmos_storage.py | 214 | except Exception: |
| LOW | …phrag-storage/graphrag_storage/azure_cosmos_storage.py | 231 | except Exception: |
| LOW | …phrag-storage/graphrag_storage/azure_cosmos_storage.py | 322 | except Exception: # noqa: BLE001 |
| LOW | …rage/graphrag_storage/tables/parquet_table_provider.py | 68 | except Exception: |
| LOW | …-storage/graphrag_storage/tables/csv_table_provider.py | 74 | except Exception: |
| LOW | packages/graphrag-input/graphrag_input/input_reader.py | 61 | except Exception as e: # noqa: BLE001 (catching Exception is fine here) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/smoke/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/vector_stores/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/hasher/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/config/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/graphrag_factory/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/utils/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/storage/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/chunking/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/load_config/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/indexing/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/indexing/cache/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/indexing/update/__init__.py | 1 | # Copyright (C) 2026 Microsoft Corporation. |
| LOW | tests/unit/indexing/input/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/indexing/graph/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/indexing/graph/utils/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/indexing/graph/extractors/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | …ndexing/graph/extractors/community_reports/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/indexing/operations/__init__.py | 1 | # Copyright (C) 2026 Microsoft |
| LOW | tests/unit/indexing/operations/embed_text/__init__.py | 1 | # Copyright (C) 2026 Microsoft |
| LOW | tests/unit/indexing/verbs/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/indexing/verbs/entities/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | …ts/unit/indexing/verbs/entities/extraction/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | …exing/verbs/entities/extraction/strategies/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | …s/extraction/strategies/graph_intelligence/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/query/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/query/context_builder/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/query/input/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/unit/query/input/retrieval/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/integration/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/integration/cache/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/integration/storage/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/integration/language_model/__init__.py | 1 | # Copyright (c) 2025 Microsoft Corporation. |
| LOW | tests/verbs/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | tests/verbs/test_extract_graph.py | 61 | # this is because the mock responses always result in a single description, which is returned verbatim rather than s |
| LOW | tests/notebook/__init__.py | 1 | # Copyright (c) 2024 Microsoft Corporation. |
| LOW | …rag/graphrag/prompt_tune/prompt/entity_relationship.py | 81 | ## |
| LOW | …kages/graphrag/graphrag/prompts/index/extract_graph.py | 81 | ## |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/indexing/cache/test_file_pipeline_cache.py | 45 | # Check if the cache directory is empty |
| LOW | tests/integration/vector_stores/test_factory.py | 85 | # Check if it's in the list of registered vector store types |
| LOW | tests/integration/cache/test_factory.py | 117 | # Check if it's in the list of registered cache types |
| LOW | tests/integration/logging/test_factory.py | 50 | # Check if it's in the list of registered logger types |
| LOW | …graphrag_llm/rate_limit/sliding_window_rate_limiter.py | 101 | # Check if current token window exceeds token limit |
| LOW | …graphrag/prompt_tune/generator/extract_graph_prompt.py | 106 | # Write file to output path |
| LOW | …rompt_tune/generator/community_report_summarization.py | 46 | # Write file to output path |
| LOW | …g/prompt_tune/generator/entity_summarization_prompt.py | 35 | # Write file to output path |
| LOW | packages/graphrag/graphrag/logger/standard_logging.py | 76 | # Close file handlers properly before removing them |
| LOW | …kages/graphrag/graphrag/logger/blob_workflow_logger.py | 106 | ): # Check if block count exceeds 25k |
| LOW | packages/graphrag/graphrag/index/update/communities.py | 34 | # Check if size and period columns exist in the old_communities. If not, add them |
| LOW | packages/graphrag/graphrag/index/update/communities.py | 110 | # Check if size and period columns exist in the old_community_reports. If not, add them |
| LOW | …ag/graphrag/query/context_builder/community_context.py | 176 | # Check if the current batch has been added |
| LOW | …raphrag/query/structured_search/drift_search/search.py | 219 | # Check if query state is empty |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/smoke/test_fixtures.py | 150 | |
| LOW | unified-search-app/app/home_page.py | 20 | |
| LOW | unified-search-app/app/ui/report_details.py | 18 | |
| LOW | unified-search-app/app/ui/search.py | 63 | |
| LOW | unified-search-app/app/ui/search.py | 121 | |
| LOW | unified-search-app/app/ui/search.py | 192 | |
| LOW | scripts/copy_build_assets.py | 10 | |
| LOW | …kages/graphrag-llm/graphrag_llm/tokenizer/tokenizer.py | 50 | |
| LOW | packages/graphrag/graphrag/prompt_tune/loader/input.py | 44 | |
| LOW | packages/graphrag/graphrag/utils/cli.py | 27 | |
| LOW | packages/graphrag/graphrag/utils/cli.py | 31 | |
| LOW | …raphrag/graphrag/index/workflows/create_communities.py | 195 | |
| LOW | …ns/summarize_communities/graph_context/sort_context.py | 11 | |
| LOW | …ag/graphrag/query/context_builder/community_context.py | 189 | |
| LOW | …g/query/context_builder/dynamic_community_selection.py | 73 | |
| LOW | packages/graphrag/graphrag/query/llm/text_utils.py | 44 | |
| LOW | …aphrag/query/structured_search/global_search/search.py | 306 | |
| LOW | …/query/structured_search/local_search/mixed_context.py | 375 | |
| LOW | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py | 166 | |
| LOW | …s/graphrag-vectors/graphrag_vectors/azure_ai_search.py | 168 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …rag/graphrag/index/workflows/create_base_text_units.py | 41 | total_rows = await documents_table.length() |
| HIGH | packages/graphrag/graphrag/index/utils/is_null.py | 11 | """Check if value is null or is nan.""" |
| HIGH | …/index/operations/build_noun_graph/build_noun_graph.py | 70 | total = await text_unit_table.length() |
| HIGH | …orage/graphrag_storage/tables/cosmos_table_provider.py | 497 | return await inner.length() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/graphrag/graphrag/query/factory.py | 130 | # TODO: Allow for another llm definition only for Global Search to leverage -mini models |
| MEDIUM | …raphrag/query/structured_search/drift_search/search.py | 280 | # Reduce response_state to a single comprehensive response |
| MEDIUM | …raphrag/query/structured_search/drift_search/search.py | 359 | """Reduce the response to a single comprehensive response. |
| MEDIUM | …raphrag/query/structured_search/drift_search/search.py | 418 | """Reduce the response to a single comprehensive response. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | unified-search-app/app/home_page.py | 157 | caption="###### Answer context: AI-generated network reports covering all input documents", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …aphrag/query/structured_search/global_search/search.py | 156 | # Step 1: Generate answers for each batch of community short summaries |
| LOW | …aphrag/query/structured_search/global_search/search.py | 190 | # Step 2: Combine the intermediate answers from step 2 to generate the final answer |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ages/graphrag/graphrag/index/utils/derive_from_rows.py | 75 | async def execute_task(task: Coroutine) -> ItemType | None: |