Repository Analysis

deepset-ai/haystack

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

8.0 Low AI signal View on GitHub
8.0
Adjusted Score
8.0
Raw Score
100%
Time Factor
2026-05-30
Last Push
25,411
Stars
MDX
Language
954,944
Lines of Code
3218
Files
4745
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 658MEDIUM 99LOW 3988

Pattern Findings

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

Hyper-Verbose Identifiers3234 hits · 3218 pts
SeverityFileLineSnippet
LOWtest/test_logging.py44 def test_skip_logging_configuration(
LOWtest/test_logging.py61 def test_log_filtering_when_using_debug(self, capfd: CaptureFixture) -> None:
LOWtest/test_logging.py72 def test_log_filtering_when_using_debug_and_log_level_is_debug(self, capfd: CaptureFixture) -> None:
LOWtest/test_logging.py85 def test_console_rendered_structured_log_even_if_no_tty_but_python_config(
LOWtest/test_logging.py101 def test_console_rendered_structured_log_if_in_ipython(
LOWtest/test_logging.py117 def test_console_rendered_structured_log_even_in_jupyter(
LOWtest/test_logging.py133 def test_console_rendered_structured_log_even_if_no_tty_but_forced_through_env(
LOWtest/test_logging.py149 def test_console_rendered_structured_log(self, capfd: CaptureFixture) -> None:
LOWtest/test_logging.py175 def function_that_raises_and_adds_to_stack_trace():
LOWtest/test_logging.py188 def test_logging_of_contextvars(self, capfd: CaptureFixture, set_context_var_key: str) -> None:
LOWtest/test_logging.py201 def test_logging_as_json_if_not_atty(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None:
LOWtest/test_logging.py242 def test_logging_as_json_enabling_via_env(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None:
LOWtest/test_logging.py263 def test_logging_of_contextvars(
LOWtest/test_logging.py287 def test_logging_exceptions_json(self, capfd: CaptureFixture) -> None:
LOWtest/test_logging.py292 def function_that_raises_and_adds_to_stack_trace():
LOWtest/test_logging.py337 def test_trace_log_correlation_python_logs_with_console_rendering(
LOWtest/test_logging.py349 def test_trace_log_correlation_python_logs(self, spying_tracer: SpyingTracer, capfd: CaptureFixture) -> None:
LOWtest/test_logging.py371 def test_trace_log_correlation_no_span(self, spying_tracer: SpyingTracer, capfd: CaptureFixture) -> None:
LOWtest/test_logging.py391 def test_trace_log_correlation_no_tracer(self, capfd: CaptureFixture) -> None:
LOWtest/test_logging.py413 def test_correct_stack_level_with_stdlib_rendering(
LOWtest/test_logging.py429 def test_correct_stack_level_with_consoler_rendering(self, capfd: CaptureFixture) -> None:
LOWtest/test_logging.py517 def test_log_with_string_cast(self, capfd: LogCaptureFixture) -> None:
LOWtest/test_logging.py551 def test_haystack_logger_with_positional_args(self, method: str, expected_level: str) -> None:
LOWtest/test_logging.py572 def test_haystack_logger_with_old_interpolation(self, method: str, expected_level: str) -> None:
LOWtest/test_logging.py581 def test_that_haystack_logger_is_used(self) -> None:
LOWtest/test_imports.py11def test_lazy_importer_avoids_importing_unused_modules():
LOWtest/test_imports.py30def test_import_error_is_suppressed_and_deferred():
LOWtest/test_telemetry.py69def test_pipeline_running_with_non_serializable_component(telemetry):
LOWtest/test_telemetry.py98def test_pipeline_running_with_non_dict_telemetry_data(caplog):
LOWtest/tracing/test_utils.py45 def test_list_serialized_recursively(self) -> None:
LOWtest/tracing/test_utils.py49 def test_dict_serialized_recursively(self) -> None:
LOWtest/tracing/test_utils.py53 def test_nested_list_and_dict(self) -> None:
LOWtest/tracing/test_utils.py63 def test_object_with_to_trace_dict_placeholders(self) -> None:
LOWtest/tracing/test_utils.py68 def test_object_with_to_trace_dict_no_placeholders(self) -> None:
LOWtest/tracing/test_utils.py73 def test_list_of_objects_with_to_dict(self) -> None:
LOWtest/tracing/test_utils.py78 def test_dict_with_object_values(self) -> None:
LOWtest/tracing/test_utils.py83 def test_object_without_serialization_methods(self) -> None:
LOWtest/tracing/test_logging_tracer.py51 def test_tracing_complex_values(self, caplog: pytest.LogCaptureFixture) -> None:
LOWtest/tracing/test_logging_tracer.py104 def test_logging_pipeline_with_content_tracing(self, caplog: pytest.LogCaptureFixture) -> None:
LOWtest/tracing/test_logging_tracer.py135 def test_logging_pipeline_on_failure(self, caplog: pytest.LogCaptureFixture) -> None:
LOWtest/tracing/test_opentelemetry.py33 def test_opentelemetry_tracer(
LOWtest/tracing/test_opentelemetry.py72 def test_tracing_complex_values(
LOWtest/tracing/test_opentelemetry.py83 def test_log_correlation_info(self, opentelemetry_tracer: opentelemetry.trace.Tracer) -> None:
LOWtest/tracing/test_tracer.py91 def configured_opentelemetry_tracing(self) -> Generator[None]:
LOWtest/tracing/test_tracer.py107 def test_skip_auto_enable_tracer_if_already_configured(self) -> None:
LOWtest/tracing/test_tracer.py115 def test_skip_auto_enable_if_tracing_disabled_via_env(
LOWtest/tracing/test_tracer.py126 def test_enable_opentelemetry_tracer(self, configured_opentelemetry_tracing: None) -> None:
LOWtest/tracing/test_tracer.py140 def test__auto_configured_opentelemetry_tracer(self, configured_opentelemetry_tracing):
LOWtest/tracing/test_tracer.py144 def test__auto_configured_opentelemetry_tracer_with_failing_import(self, monkeypatch):
LOWtest/tracing/test_tracer.py149 def test__auto_configured_datadog_tracer(self):
LOWtest/tracing/test_tracer.py153 def test__auto_configured_datadog_tracer_with_failing_import(self, monkeypatch):
LOWtest/tracing/test_tracer.py160 def test_set_content_tag_with_enabled_content_tracing(self, spying_tracer: SpyingTracer) -> None:
LOWtest/tracing/test_tracer.py171 def test_set_content_tag_when_disabled_via_env_variable(self, monkeypatch: MonkeyPatch) -> None:
LOWtest/tracing/utils.py27 def get_correlation_data_for_logs(self) -> dict[str, Any]:
LOWtest/tracing/test_datadog.py36 def test_opentelemetry_tracer(self, datadog_tracer: ddTracer, capfd: CaptureFixture) -> None:
LOWtest/tracing/test_datadog.py88 def test_tracing_complex_values(self, datadog_tracer: ddTracer, capfd: CaptureFixture) -> None:
LOWtest/tracing/test_datadog.py98 def test_get_log_correlation_info(self, datadog_tracer: ddTracer) -> None:
LOWtest/document_stores/test_in_memory.py359 def test_embedding_retrieval_invalid_query(self, in_memory_doc_store):
LOWtest/document_stores/test_in_memory.py365 def test_embedding_retrieval_no_embeddings(self, in_memory_doc_store, caplog):
LOWtest/document_stores/test_in_memory.py373 def test_embedding_retrieval_some_documents_wo_embeddings(self, in_memory_doc_store, caplog):
3174 more matches not shown…
Cross-File Repetition408 hits · 2040 pts
SeverityFileLineSnippet
HIGHtest/tools/test_from_function.py0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.22/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.22/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.25/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.25/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.24/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.24/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.23/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.23/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.28/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.28/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.26/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.26/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.19/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.19/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.21/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.21/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.20/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.20/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.27/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.27/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.18/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.18/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.29/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGH…_versioned_docs/version-2.29/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGHdocs-website/reference/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGHdocs-website/reference/haystack-api/tools_api.md0a simple function to get the current weather for a location.
HIGHtest/core/pipeline/features/test_run.py0check if this code is valid and can run: {{ code[0] }} return "pass" if it passes and "fail" if it fails. provide additi
HIGHtest/core/pipeline/features/test_run.py0check if this code is valid and can run: {{ code[0] }} return "pass" if it passes and "fail" if it fails. provide additi
HIGHtest/core/pipeline/features/test_run.py0check if this code is valid and can run: {{ code[0] }} return "pass" if it passes and "fail" if it fails. provide additi
HIGH…e/breakpoints/test_pipeline_breakpoints_list_joiner.py0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.22/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.25/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.24/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.23/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.28/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.26/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.19/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.21/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.20/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.27/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.18/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGH…ersioned_docs/version-2.29/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGHdocs-website/reference/haystack-api/joiners_api.md0you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{
HIGHtest/utils/test_jinja2_chat_extension.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/components/builders/test_chat_prompt_builder.py0{% message role="user" %} hello, my name is {{name}}! {% endmessage %}
HIGHtest/utils/test_jinja2_extensions.py0mock the arrow.now function to return a fixed datetime
HIGHtest/components/builders/test_chat_prompt_builder.py0mock the arrow.now function to return a fixed datetime
HIGHtest/components/builders/test_prompt_builder.py0mock the arrow.now function to return a fixed datetime
HIGH…st/components/preprocessors/test_recursive_splitter.py0a simple sentence1. a bright sentence2. a clever sentence3
HIGH…st/components/preprocessors/test_recursive_splitter.py0a simple sentence1. a bright sentence2. a clever sentence3
HIGH…st/components/preprocessors/test_recursive_splitter.py0a simple sentence1. a bright sentence2. a clever sentence3
348 more matches not shown…
Magic Placeholder Names193 hits · 964 pts
SeverityFileLineSnippet
HIGH…components/embedders/hugging_face_api_text_embedder.py39 token=Secret.from_token("<your-api-key>"))
HIGH…components/embedders/hugging_face_api_text_embedder.py53 token=Secret.from_token("<your-api-key>"))
HIGH…onents/embedders/hugging_face_api_document_embedder.py49 token=Secret.from_token("<your-api-key>"))
HIGH…onents/embedders/hugging_face_api_document_embedder.py68 token=Secret.from_token("<your-api-key>"))
HIGHhaystack/components/generators/hugging_face_api.py60 token=Secret.from_token("<your-api-key>"))
HIGHhaystack/components/generators/hugging_face_api.py91 token=Secret.from_token("<your-api-key>"))
HIGHhaystack/components/generators/azure.py42 api_key=Secret.from_token("<your-api-key>"),
HIGHhaystack/components/generators/chat/hugging_face_api.py283 token=Secret.from_token("<your-api-key>"))
HIGHhaystack/components/generators/chat/hugging_face_api.py309 token=Secret.from_token("<your-api-key>")
HIGHhaystack/components/generators/chat/hugging_face_api.py328 token=Secret.from_token("<your-api-key>"))
HIGHhaystack/components/generators/chat/azure.py55 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md38 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md219 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md866 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md892 token=Secret.from_token("<your-api-key>")
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md911 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md1885 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md1905 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.22/haystack-api/embedders_api.md367 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.22/haystack-api/embedders_api.md386 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.22/haystack-api/embedders_api.md554 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.22/haystack-api/embedders_api.md568 token=Secret.from_token("<your-api-key>"))
HIGH…ce_versioned_docs/version-2.22/integrations-api/mcp.md788# 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API key
HIGH…versioned_docs/version-2.22/integrations-api/qdrant.md581 api_key="<your-api-key>",
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md35 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md180 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md628 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md654 token=Secret.from_token("<your-api-key>")
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md673 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md1720 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md1750 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.25/haystack-api/embedders_api.md267 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.25/haystack-api/embedders_api.md286 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.25/haystack-api/embedders_api.md441 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.25/haystack-api/embedders_api.md455 token=Secret.from_token("<your-api-key>"))
HIGH…ce_versioned_docs/version-2.25/integrations-api/mcp.md788# 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API key
HIGH…versioned_docs/version-2.25/integrations-api/qdrant.md581 api_key="<your-api-key>",
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md38 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md219 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md866 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md892 token=Secret.from_token("<your-api-key>")
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md911 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md1885 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md1905 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.24/haystack-api/embedders_api.md367 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.24/haystack-api/embedders_api.md386 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.24/haystack-api/embedders_api.md554 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.24/haystack-api/embedders_api.md568 token=Secret.from_token("<your-api-key>"))
HIGH…ce_versioned_docs/version-2.24/integrations-api/mcp.md788# 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API key
HIGH…versioned_docs/version-2.24/integrations-api/qdrant.md581 api_key="<your-api-key>",
HIGH…ioned_docs/version-2.23/haystack-api/generators_api.md38 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.23/haystack-api/generators_api.md219 api_key=Secret.from_token("<your-api-key>"),
HIGH…ioned_docs/version-2.23/haystack-api/generators_api.md866 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.23/haystack-api/generators_api.md892 token=Secret.from_token("<your-api-key>")
HIGH…ioned_docs/version-2.23/haystack-api/generators_api.md911 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.23/haystack-api/generators_api.md1885 token=Secret.from_token("<your-api-key>"))
HIGH…ioned_docs/version-2.23/haystack-api/generators_api.md1905 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.23/haystack-api/embedders_api.md367 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.23/haystack-api/embedders_api.md386 token=Secret.from_token("<your-api-key>"))
HIGH…sioned_docs/version-2.23/haystack-api/embedders_api.md554 token=Secret.from_token("<your-api-key>"))
133 more matches not shown…
Cross-Language Confusion51 hits · 350 pts
SeverityFileLineSnippet
HIGHtest/tracing/test_utils.py103 '{"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, '
HIGHtest/tracing/test_utils.py104 '"sparse_embedding": null}',
HIGHtest/tracing/test_utils.py108 '[{"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, '
HIGHtest/tracing/test_utils.py109 '"sparse_embedding": null}]',
HIGHtest/tracing/test_utils.py113 '{"key": {"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, '
HIGHtest/tracing/test_utils.py114 '"sparse_embedding": null}}',
HIGHtest/core/pipeline/test_utils.py44 empty_queue.push("item1", 1)
HIGHtest/core/pipeline/test_utils.py54 empty_queue.push(item, priority)
HIGHtest/core/pipeline/test_utils.py66 empty_queue.push(item, priority)
HIGHtest/core/pipeline/test_utils.py76 empty_queue.push("medium1", 2)
HIGHtest/core/pipeline/test_utils.py77 empty_queue.push("high", 1)
HIGHtest/core/pipeline/test_utils.py78 empty_queue.push("medium2", 2)
HIGHtest/core/pipeline/test_utils.py79 empty_queue.push("low", 3)
HIGHtest/core/pipeline/test_utils.py146 empty_queue.push("item", 1)
HIGHtest/core/pipeline/test_utils.py159 empty_queue.push(f"item{i}", priority)
HIGHtest/core/pipeline/test_utils.py90 empty_queue.push("item1", 1)
HIGHtest/core/pipeline/test_utils.py91 empty_queue.push("item2", 2)
HIGHtest/core/pipeline/test_utils.py105 empty_queue.push("item1", 1)
HIGHtest/core/pipeline/test_utils.py128 empty_queue.push("item1", 1)
HIGHtest/core/pipeline/test_utils.py130 empty_queue.push("item2", 2)
HIGHtest/core/pipeline/test_utils.py188 empty_queue.push(item, priority)
HIGHtest/core/pipeline/test_pipeline_base.py1387 queue.push("ready_component", ComponentPriority.READY)
HIGHtest/core/pipeline/test_pipeline_base.py1400 queue.push("ready_component", ComponentPriority.READY)
HIGHtest/core/pipeline/test_pipeline_base.py1692 priority_queue.push("comp1", ComponentPriority.DEFER)
HIGHtest/core/pipeline/test_pipeline_base.py1693 priority_queue.push("comp2", ComponentPriority.DEFER)
HIGHtest/core/pipeline/test_pipeline_base.py1719 priority_queue.push("branch_joiner", ComponentPriority.DEFER)
HIGHtest/core/pipeline/test_pipeline_base.py1720 priority_queue.push("comp3", ComponentPriority.DEFER)
HIGHtest/core/pipeline/test_pipeline_base.py2438 priority_queue.push("comp1", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py2439 priority_queue.push("comp2", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py2440 priority_queue.push("comp3", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py2469 priority_queue.push("comp1", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py2470 priority_queue.push("router", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py2471 priority_queue.push("comp2", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py2472 priority_queue.push("blocking_comp", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py2473 priority_queue.push("a_comp3", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py1427 queue.push(component_name, priority)
HIGHtest/core/pipeline/test_pipeline_base.py2412 priority_queue.push("comp1", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/test_pipeline_base.py2413 priority_queue.push("comp2", ComponentPriority.BLOCKED)
HIGHtest/core/pipeline/features/conftest.py165 assert actual_value.equals(expected_value)
HIGHtest/components/agents/test_agent.py1151 '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in Paris
HIGHtest/components/agents/test_agent.py1153 '{"replies": [{"role": "assistant", "meta": {}, "name": null, "content": [{"text": "Hello"}]}]}',
HIGHtest/components/agents/test_agent.py1155 '[{"type": "haystack.tools.tool.Tool", "data": {"name": "weather_tool", "description": "Provides weather inf
HIGHtest/components/agents/test_agent.py1158 '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in Paris
HIGHtest/components/agents/test_agent.py1159 '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in Paris
HIGHtest/components/agents/test_agent.py1213 '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in Paris
HIGHtest/components/agents/test_agent.py1215 '{"replies": [{"role": "assistant", "meta": {}, "name": null, "content": [{"text": "Hello from run_async"}]}
HIGHtest/components/agents/test_agent.py1217 '[{"type": "haystack.tools.tool.Tool", "data": {"name": "weather_tool", "description": "Provides weather inf
HIGHtest/components/agents/test_agent.py1220 '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in Paris
HIGHtest/components/agents/test_agent.py1221 '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in Paris
HIGHhaystack/core/pipeline/breakpoint.py321 "key": [{"sender": null, "value": "some value"}] -> "key": "some value"
HIGHhaystack/core/pipeline/base.py1180 priority_queue.push(component_name, priority)
Unused Imports307 hits · 301 pts
SeverityFileLineSnippet
LOWtest/test_imports.py20
LOWtest/test_imports.py32
LOWhaystack/logging.py14
LOWhaystack/logging.py14
LOWhaystack/__init__.py12
LOWhaystack/__init__.py13
LOWhaystack/__init__.py13
LOWhaystack/__init__.py14
LOWhaystack/__init__.py14
LOWhaystack/__init__.py15
LOWhaystack/__init__.py15
LOWhaystack/__init__.py16
LOWhaystack/__init__.py16
LOWhaystack/__init__.py17
LOWhaystack/__init__.py17
LOWhaystack/__init__.py17
LOWhaystack/__init__.py17
LOWhaystack/__init__.py18
LOWhaystack/tracing/__init__.py7
LOWhaystack/tracing/__init__.py7
LOWhaystack/tracing/__init__.py7
LOWhaystack/tracing/__init__.py7
LOWhaystack/tracing/__init__.py7
LOWhaystack/tracing/__init__.py7
LOWhaystack/tracing/__init__.py7
LOWhaystack/tracing/__init__.py16
LOWhaystack/tracing/datadog.py15
LOWhaystack/tracing/datadog.py16
LOWhaystack/document_stores/types/__init__.py5
LOWhaystack/document_stores/types/__init__.py5
LOWhaystack/document_stores/types/__init__.py6
LOWhaystack/document_stores/types/__init__.py7
LOWhaystack/document_stores/in_memory/__init__.py13
LOWhaystack/document_stores/in_memory/document_store.py11
LOWhaystack/document_stores/errors/__init__.py5
LOWhaystack/document_stores/errors/__init__.py5
LOWhaystack/document_stores/errors/__init__.py5
LOWhaystack/human_in_the_loop/strategies.py19
LOWhaystack/human_in_the_loop/__init__.py18
LOWhaystack/human_in_the_loop/__init__.py19
LOWhaystack/human_in_the_loop/__init__.py20
LOWhaystack/human_in_the_loop/__init__.py21
LOWhaystack/human_in_the_loop/__init__.py22
LOWhaystack/human_in_the_loop/__init__.py23
LOWhaystack/human_in_the_loop/__init__.py24
LOWhaystack/human_in_the_loop/__init__.py25
LOWhaystack/human_in_the_loop/types/__init__.py5
LOWhaystack/human_in_the_loop/types/__init__.py5
LOWhaystack/human_in_the_loop/types/__init__.py5
LOWhaystack/tools/__init__.py10
LOWhaystack/tools/__init__.py10
LOWhaystack/tools/__init__.py11
LOWhaystack/tools/__init__.py13
LOWhaystack/tools/__init__.py14
LOWhaystack/tools/__init__.py15
LOWhaystack/tools/__init__.py16
LOWhaystack/tools/__init__.py16
LOWhaystack/tools/__init__.py17
LOWhaystack/tools/__init__.py17
LOWhaystack/tools/searchable_toolset.py18
247 more matches not shown…
Self-Referential Comments88 hits · 248 pts
SeverityFileLineSnippet
MEDIUMtest/document_stores/test_in_memory.py604 # Create a mix of concurrent operations
MEDIUMtest/tools/test_pipeline_tool.py293 # Create an Agent with the tool
MEDIUMtest/tools/test_pipeline_tool.py338 # Create an Agent with the tool
MEDIUMtest/tools/test_component_tool.py911 # Create a pipeline and add the component to it
MEDIUMtest/tools/test_component_tool.py409 # Create a pipeline with the annotated component
MEDIUMtest/tools/test_component_tool.py476 # Create a pipeline with both components
MEDIUMtest/tools/test_component_tool.py843 # Create the search component and tool
MEDIUMtest/core/pipeline/test_pipeline_base.py1713 # Create a cycle between comp2 and comp3. Entry point is comp1 -> comp2
MEDIUM…breakpoints/test_pipeline_breakpoints_branch_joiner.py72 # Create a Breakpoint on-the-fly using the shared output directory
MEDIUM…breakpoints/test_pipeline_breakpoints_string_joiner.py48 # Create a Breakpoint on-the-fly using the shared output directory
MEDIUM…breakpoints/test_pipeline_breakpoints_answer_joiner.py66 # Create a Breakpoint on-the-fly using the shared output directory
MEDIUM…e/breakpoints/test_pipeline_breakpoints_list_joiner.py69 # Create a Breakpoint on-the-fly using the shared output directory
MEDIUM…ipeline/breakpoints/test_pipeline_breakpoints_loops.py117 # Create a Breakpoint on-the-fly using the shared output directory
MEDIUM…ne/breakpoints/test_pipeline_breakpoints_rag_hybrid.py118 # Create a Breakpoint on-the-fly using the shared output directory
MEDIUM…st/components/preprocessors/test_recursive_splitter.py933 # Create a complex text with multiple separators and chunks of different sizes
MEDIUM…reprocessors/test_embedding_based_document_splitter.py665 # Create a very long text with multiple paragraphs and topics
MEDIUM…reprocessors/test_embedding_based_document_splitter.py754 # Create a very long text with multiple paragraphs and topics
MEDIUM…onents/retrievers/test_auto_merging_retriever_async.py82 # Create a leaf document that points to this parent
MEDIUM…t/components/retrievers/test_auto_merging_retriever.py133 # Create a leaf document that points to this parent
MEDIUMtest/components/tools/test_tool_invoker.py599 # Create a shared counter variable to simulate a state value that gets updated
MEDIUMtest/components/tools/test_tool_invoker.py670 # Create a shared counter variable to simulate a state value that gets updated
MEDIUMtest/components/tools/test_tool_invoker.py1079 # Create a mock object with to_dict method
MEDIUMtest/components/tools/test_tool_invoker.py1434 # Create the actual tool that will replace the placeholder during warmup
MEDIUMtest/components/tools/test_tool_invoker.py1443 # Create a toolset that simulates MCPToolset with eager_connect=False (lazy connection)
MEDIUMtest/components/converters/image/test_pdf_to_image.py98 # Create an empty ByteStream object
MEDIUMtest/components/converters/image/test_file_to_image.py107 # Create an empty ByteStream object
MEDIUM…/components/embedders/test_openai_document_embedder.py235 # Create a successful response for the second call
MEDIUMtest/components/generators/conftest.py404 # Create a custom stream that yields both events sequentially
MEDIUMtest/components/generators/test_hugging_face_api.py231 # Define the streaming callback function
MEDIUMtest/components/generators/test_hugging_face_api.py243 # Create a fake streamed response
MEDIUMtest/components/generators/chat/test_openai.py1224 # Create a mock tool that tracks if warm_up() was called
MEDIUMtest/components/generators/chat/test_azure_responses.py392 # Create a mock tool that tracks if warm_up() was called
MEDIUM…st/components/generators/chat/test_hugging_face_api.py411 # Define the streaming callback function
MEDIUM…st/components/generators/chat/test_hugging_face_api.py423 # Create a fake streamed response
MEDIUM…st/components/generators/chat/test_hugging_face_api.py481 # Define the streaming callback function
MEDIUM…st/components/generators/chat/test_hugging_face_api.py492 # Create a fake streamed response
MEDIUM…st/components/generators/chat/test_hugging_face_api.py965 # Create a fake streamed response
MEDIUM…st/components/generators/chat/test_hugging_face_api.py1266 # Create a mock tool that tracks if warm_up() was called
MEDIUM…st/components/generators/chat/test_hugging_face_api.py1432 # Create a fake streamed response with reasoning
MEDIUMtest/components/generators/chat/test_azure.py443 # Create a mock tool that tracks if warm_up() was called
MEDIUM…/components/generators/chat/test_hugging_face_local.py269 # Create a mock tool that tracks if warm_up() was called
MEDIUM…/components/generators/chat/test_hugging_face_local.py444 # Define the streaming callback function
MEDIUM…/components/generators/chat/test_hugging_face_local.py467 # Define the streaming callback function
MEDIUM…/components/generators/chat/test_hugging_face_local.py696 # Create a new mock with return_value set in constructor to avoid thread-safety issues
MEDIUM…/components/generators/chat/test_hugging_face_local.py803 # Create a mock that simulates streaming behavior
MEDIUM…st/components/generators/chat/test_openai_responses.py352 # Create a mock tool that tracks if warm_up() was called
MEDIUMhaystack/tools/component_tool.py73 # Create a SerperDev search component
MEDIUMhaystack/tools/component_tool.py76 # Create a tool from the component
MEDIUMhaystack/tools/component_tool.py187 # Create the tools schema from the component run method parameters
MEDIUMhaystack/tools/component_tool.py226 # Create the Tool instance with the component invoker as the function to be called and the schema
MEDIUMhaystack/tools/searchable_toolset.py41 # Create a catalog of tools
MEDIUMhaystack/tools/pipeline_tool.py81 # Create an Agent with the tool
MEDIUMhaystack/tools/toolset.py65 # Create a toolset with the math tools
MEDIUMhaystack/tools/toolset.py130 # Create the dynamic toolset and use it with ToolInvoker
MEDIUMhaystack/core/pipeline/pipeline.py399 # Create a snapshot of the state of the pipeline before the error occurred.
MEDIUMhaystack/core/pipeline/breakpoint.py546 # Create an empty pipeline snapshot
MEDIUMhaystack/core/pipeline/base.py231 # Create a new one
MEDIUMhaystack/core/pipeline/base.py634 # Create the new connection
MEDIUMhaystack/core/pipeline/base.py1321 # Create a list of all components that have the same priority as the current component, including the
MEDIUMhaystack/core/component/component.py271 # Create the sockets if set_input_types() wasn't called in the constructor.
28 more matches not shown…
Excessive Try-Catch Wrapping106 hits · 108 pts
SeverityFileLineSnippet
LOWtest/tracing/test_logging_tracer.py147 except Exception:
LOW…/test_pipeline_crash_agent_pipeline_snapshot_raised.py26 except Exception as e:
LOWtest/core/pipeline/features/conftest.py91 except Exception as e:
LOWtest/core/pipeline/features/conftest.py126 except Exception as e:
LOW…ts/test_pipeline_breakpoints_agent_function_calling.py27 except Exception as e:
LOW…ts/test_pipeline_breakpoints_agent_function_calling.py36 except Exception as e:
LOW…st/components/generators/chat/test_openai_responses.py83 except Exception as e:
LOWhaystack/logging.py230 except Exception as error:
MEDIUMhaystack/logging.py231 print(f"Error in findCaller: {error}")
LOWhaystack/tracing/utils.py35 except Exception as error:
LOWhaystack/tracing/logging_tracer.py73 except Exception as e: # noqa: TRY203
LOWhaystack/document_stores/in_memory/document_store.py400 except Exception as e:
LOWhaystack/tools/from_function.py167 except Exception as e:
LOWhaystack/tools/component_tool.py349 except Exception as e:
LOWhaystack/tools/parameters_schema_utils.py148 except Exception as e:
LOWhaystack/tools/tool.py267 except Exception as e:
LOWhaystack/core/pipeline/utils.py49 except Exception as e:
LOWhaystack/core/pipeline/pipeline.py99 except Exception as error:
LOWhaystack/core/pipeline/breakpoint.py207 except Exception as error:
LOWhaystack/core/pipeline/breakpoint.py253 except Exception as error:
LOWhaystack/core/pipeline/breakpoint.py388 except Exception as error:
LOWhaystack/core/pipeline/breakpoint.py403 except Exception as field_error:
LOWhaystack/core/pipeline/draw.py323 except Exception as exc:
LOWhaystack/core/pipeline/base.py236 except Exception as e:
LOWhaystack/core/pipeline/base.py240 except Exception:
LOWhaystack/core/pipeline/base.py309 except Exception as e:
LOWhaystack/core/pipeline/base.py1460 except Exception as e:
LOWhaystack/core/pipeline/async_pipeline.py80 except Exception as error:
LOWhaystack/core/pipeline/async_pipeline.py91 except Exception as error:
LOWhaystack/utils/misc.py123 except Exception:
LOWhaystack/utils/base_serialization.py282 except Exception as e:
LOWhaystack/utils/base_serialization.py291 except Exception as e:
LOWhaystack/utils/jinja2_extensions.py51 except Exception as e:
LOWhaystack/utils/callable_serialization.py63 except Exception:
LOWhaystack/components/routers/file_type_router.py181 except Exception as e:
LOWhaystack/components/routers/conditional_router.py368 except Exception as e:
LOW…stack/components/preprocessors/csv_document_cleaner.py84 except Exception as e:
LOW…tack/components/preprocessors/csv_document_splitter.py111 except Exception as e:
LOW…stack/components/preprocessors/python_code_splitter.py170 except Exception: # pragma: no cover - defensive guard
LOWhaystack/components/retrievers/multi_retriever.py203 except Exception as e:
LOWhaystack/components/retrievers/multi_retriever.py258 except Exception as e:
LOWhaystack/components/tools/tool_invoker.py296 except Exception as error:
LOWhaystack/components/tools/tool_invoker.py332 except Exception as e:
LOWhaystack/components/tools/tool_invoker.py675 except Exception as e:
LOWhaystack/components/tools/tool_invoker.py813 except Exception as e:
MEDIUMhaystack/components/tools/tool_invoker.py247def _runner() -> Any:
LOWhaystack/components/fetchers/link_content.py222 except Exception:
LOWhaystack/components/fetchers/link_content.py332 except Exception as e:
LOWhaystack/components/fetchers/link_content.py363 except Exception as e:
LOWhaystack/components/fetchers/link_content.py388 except Exception as e:
LOWhaystack/components/websearch/serper_dev.py139 except Exception:
LOWhaystack/components/converters/docx.py224 except Exception as e:
LOWhaystack/components/converters/docx.py231 except Exception as e:
LOWhaystack/components/converters/tika.py121 except Exception as e:
LOWhaystack/components/converters/tika.py133 except Exception as conversion_e:
LOWhaystack/components/converters/azure.py146 except Exception as e:
LOWhaystack/components/converters/file_to_file_content.py80 except Exception as e:
LOWhaystack/components/converters/pdfminer.py190 except Exception as e:
LOWhaystack/components/converters/pdfminer.py196 except Exception as e:
LOWhaystack/components/converters/html.py110 except Exception as e:
46 more matches not shown…
Over-Commented Block83 hits · 82 pts
SeverityFileLineSnippet
LOWtest/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/tracing/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/marshal/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/core/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/core/pipeline/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/core/pipeline/test_pipeline_base.py2481 # For educational purposes I've left what the inputs would have looked like while running the pipeline.
LOWtest/components/routers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/preprocessors/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/retrievers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/tools/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/fetchers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/writers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/builders/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/joiners/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/websearch/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/converters/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/converters/image/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/evaluators/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/embedders/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/audio/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/samplers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/generators/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/generators/chat/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/readers/test_extractive.py901 assert answers[2].score == pytest.approx(0.019673851661650588, abs=1e-5)
LOWtest/components/rankers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/query/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/extractors/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/components/extractors/image/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWtest/evaluation/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWhaystack/document_stores/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWhaystack/tools/from_function.py41 '''A simple function to get the current weather for a location.'''
LOWhaystack/tools/from_function.py241 city: Annotated[str, "the city for which to get the weather"] = "Munich",
LOWhaystack/core/component/component.py161
LOWhaystack/testing/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWhaystack/components/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOWhaystack/components/routers/llm_messages_router.py41
LOW…k/components/preprocessors/markdown_header_splitter.py81 # Matches fenced code blocks delimited by triple backticks (```) or triple tildes (~~~).
LOW…ack/components/retrievers/sentence_window_retriever.py61 rag.connect("bm25_retriever", "sentence_window_retriever")
LOWhaystack/components/tools/tool_invoker.py121 result = invoker.run(messages=[message])
LOWhaystack/components/agents/state/state_utils.py21
LOWhaystack/components/evaluators/context_relevance.py81 # [1,1,0]
LOWhaystack/components/embedders/backends/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOW…stack/components/rankers/meta_field_grouping_ranker.py41 result = ranker.run(documents=docs)
LOW.github/utils/parse_validate_version.sh1#!/bin/bash
LOW.github/utils/wait_for_workflows.sh1#!/bin/bash
LOW.github/utils/prepare_release_notification.sh1#!/bin/bash
LOWe2e/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
LOW…ersioned_docs/version-2.25/haystack-api/rankers_api.md441result = ranker.run(documents=docs)
LOW…ioned_docs/version-2.25/haystack-api/retrievers_api.md861rag.connect("bm25_retriever", "sentence_window_retriever")
LOW…ioned_docs/version-2.25/haystack-api/evaluators_api.md101evaluator = ContextRelevanceEvaluator()
LOW…ersioned_docs/version-2.24/haystack-api/rankers_api.md461 Document(content="A chromosome is a package of DNA", meta={"group": "314", "split_id": 2, "subgroup": "subC"}),
LOW…ioned_docs/version-2.24/haystack-api/retrievers_api.md961# >> meta: {'source_id': '74ea87deb38012873cf8c07e...f19d01a26a098447113e1d7b83efd30c02987114', 'page_number': 1,
LOW…ersioned_docs/version-2.28/haystack-api/rankers_api.md581ranker = MetaFieldGroupingRanker(group_by="group",subgroup_by="subgroup", sort_docs_by="split_id")
LOW…ersioned_docs/version-2.28/haystack-api/routers_api.md541print(router.run([ChatMessage.from_user("How to rob a bank?")]))
LOW…_versioned_docs/version-2.28/haystack-api/tools_api.md341 return f"Weather report for {city}: 20 {unit}, sunny"
LOW…_docs/version-2.28/haystack-api/tool_components_api.md101# >> result='"The weather in Berlin is 20 degrees."',
LOW…ioned_docs/version-2.28/haystack-api/retrievers_api.md861rag.add_component("bm25_retriever", InMemoryBM25Retriever(doc_store, top_k=1))
LOW…ioned_docs/version-2.28/haystack-api/evaluators_api.md101evaluator = ContextRelevanceEvaluator()
LOW…ersioned_docs/version-2.26/haystack-api/rankers_api.md581# [
LOW…ioned_docs/version-2.26/haystack-api/retrievers_api.md861rag.connect("bm25_retriever", "sentence_window_retriever")
23 more matches not shown…
Deep Nesting81 hits · 78 pts
SeverityFileLineSnippet
LOW…ts/test_pipeline_breakpoints_agent_function_calling.py81
LOWhaystack/document_stores/in_memory/document_store.py591
LOWhaystack/human_in_the_loop/strategies.py417
LOWhaystack/human_in_the_loop/user_interfaces.py86
LOWhaystack/human_in_the_loop/user_interfaces.py183
LOWhaystack/tools/from_function.py334
LOWhaystack/tools/utils.py40
LOWhaystack/tools/parameters_schema_utils.py105
LOWhaystack/tools/tool.py103
LOWhaystack/core/serialization.py41
LOWhaystack/core/serialization.py250
LOWhaystack/core/pipeline/pipeline.py114
LOWhaystack/core/pipeline/breakpoint.py57
LOWhaystack/core/pipeline/draw.py181
LOWhaystack/core/pipeline/base.py177
LOWhaystack/core/pipeline/base.py1005
LOWhaystack/core/pipeline/base.py1109
LOWhaystack/core/pipeline/base.py1561
LOWhaystack/core/pipeline/async_pipeline.py106
LOWhaystack/core/super_component/super_component.py203
LOWhaystack/utils/misc.py33
LOWhaystack/utils/device.py219
LOWhaystack/utils/jinja2_extensions.py98
LOWhaystack/utils/hf.py257
LOWhaystack/testing/sample_components/concatenate.py15
LOWhaystack/components/routers/file_type_router.py133
LOWhaystack/components/routers/document_type_router.py112
LOWhaystack/components/routers/conditional_router.py306
LOWhaystack/components/routers/conditional_router.py377
LOWhaystack/components/connectors/openapi_service.py23
LOWhaystack/components/connectors/openapi_service.py293
LOWhaystack/components/connectors/openapi_service.py348
LOW…k/components/preprocessors/markdown_header_splitter.py208
LOW…tack/components/preprocessors/csv_document_splitter.py74
LOW…stack/components/preprocessors/python_code_splitter.py563
LOWhaystack/components/preprocessors/recursive_splitter.py150
LOWhaystack/components/preprocessors/recursive_splitter.py275
LOWhaystack/components/preprocessors/recursive_splitter.py358
LOWhaystack/components/tools/tool_invoker.py497
LOWhaystack/components/tools/tool_invoker.py566
LOWhaystack/components/tools/tool_invoker.py701
LOWhaystack/components/builders/chat_prompt_builder.py139
LOWhaystack/components/builders/chat_prompt_builder.py210
LOWhaystack/components/builders/answer_builder.py117
LOWhaystack/components/websearch/serper_dev.py113
LOWhaystack/components/websearch/serper_dev.py227
LOWhaystack/components/converters/docx.py306
LOWhaystack/components/converters/azure.py215
LOWhaystack/components/converters/azure.py366
LOWhaystack/components/converters/pdfminer.py111
LOWhaystack/components/converters/openapi_functions.py60
LOWhaystack/components/converters/xlsx.py161
LOWhaystack/components/converters/json.py179
LOWhaystack/components/converters/pptx.py75
LOWhaystack/components/agents/agent.py343
LOWhaystack/components/agents/agent.py726
LOWhaystack/components/agents/agent.py957
LOWhaystack/components/validators/json_schema.py221
LOWhaystack/components/generators/utils.py14
LOWhaystack/components/generators/utils.py79
21 more matches not shown…
Redundant / Tautological Comments39 hits · 61 pts
SeverityFileLineSnippet
LOWhaystack/human_in_the_loop/strategies.py93 # Check if we should ask based on policy
LOWhaystack/human_in_the_loop/strategies.py400 # Check if there's already a decision for this tool call in the execution context
LOWhaystack/human_in_the_loop/strategies.py471 # Check if there's already a decision for this tool call in the execution context
LOWhaystack/tools/serde_utils.py53 # Check if it's a serialized Toolset (a dict with "type" and "data" keys)
LOWhaystack/tools/pipeline_tool.py90 # Print result of the tool call
LOWhaystack/tools/parameters_schema_utils.py51 # Check if it's a Callable type (direct or parameterized)
LOWhaystack/core/pipeline/breakpoint.py559 # Check if we should break for this specific tool or all tools
LOWhaystack/core/pipeline/breakpoint.py99 # Check if the ordered_component_names are valid components in the pipeline
LOWhaystack/core/pipeline/breakpoint.py107 # Check if the original_input_data is valid components in the pipeline
LOWhaystack/core/pipeline/breakpoint.py213 # Check if snapshot saving is enabled via environment variable (enabled by default)
LOWhaystack/core/pipeline/base.py945 # Check if an input is provided more than once for non-variadic sockets
LOWhaystack/core/pipeline/component_checks.py77 # Check if socket has all required inputs or is a lazy variadic socket with any input
LOWhaystack/core/super_component/utils.py126 # Check if all arguments are compatible
LOWhaystack/utils/jinja2_extensions.py81 # Check if a custom datetime format is provided after a comma
LOWhaystack/components/routers/conditional_router.py451 # Check if template_text is a string before attempting to parse
LOW…tack/components/preprocessors/csv_document_splitter.py267 # Check if there are consecutive rows >= row_split_threshold now present
LOWhaystack/components/tools/tool_invoker.py523 # Check if the tool is available, otherwise return an error message
LOWhaystack/components/websearch/serper_dev.py244 # Check if highlighted_answers is a list and has at least one element
LOWhaystack/components/converters/azure.py241 # Check if first row is a merged cell spanning whole table
LOWhaystack/components/converters/azure.py349 # Check if paragraph is part of a table and if so skip
LOWhaystack/components/converters/azure.py448 # Check if line is part of a table and if so skip
LOWhaystack/components/converters/azure.py483 # Check if line is part of a table
LOWhaystack/components/agents/agent.py261 # Check if chat_generator supports tools parameter
LOWhaystack/components/agents/agent.py860 # Check if any of the LLM responses contain a tool call or if the LLM is not using tools
LOWhaystack/components/agents/agent.py936 # Check if any LLM message's tool call name matches an exit condition
LOWhaystack/components/agents/agent.py1095 # Check if any of the LLM responses contain a tool call or if the LLM is not using tools
LOWhaystack/components/agents/agent.py1170 # Check if any LLM message's tool call name matches an exit condition
LOWhaystack/components/agents/agent.py1212 # Check if any error is specifically from the tool matching the exit condition
LOWhaystack/components/agents/state/state.py76 # Check if the list contains ChatMessage elements
LOWhaystack/components/samplers/top_p.py101 # Check if the cumulative probabilities are close to top_p with a 1e-6 tolerance
LOWhaystack/components/generators/chat/hugging_face_api.py191 # Check if this choice contains tool call information
LOWhaystack/components/query/query_expander.py139 # Check if required variables are present in the template
LOWhaystack/components/extractors/regex_text_extractor.py52 # Check if the pattern has at least one capture group
LOW.github/workflows/release_notes.yml43 # Check if any of the commit messages contain tags ci/docs/test
LOW.github/utils/create_unstable_docs_docusaurus.py46 # Check if the versions we're about to create already exist in versioned_docs
LOWdocs-website/scripts/setup-dev.sh13# Check if we're in the right directory
LOWdocs-website/scripts/setup-dev.sh19# Check if Python is available
LOWdocs-website/scripts/setup-dev.sh25# Check if base dependencies are installed
LOWdocs-website/scripts/setup-dev.sh39# Check if requirements.txt was generated
Fake / Example Data59 hits · 60 pts
SeverityFileLineSnippet
LOWtest/components/routers/test_document_type_router.py258 "author": "John Doe",
LOWtest/components/routers/test_document_type_router.py269 assert classified_doc.meta["author"] == "John Doe"
LOWtest/components/preprocessors/test_document_cleaner.py98 Lorem ipsum dolor sit amet
LOWtest/components/preprocessors/test_document_cleaner.py98 Lorem ipsum dolor sit amet
LOWtest/components/preprocessors/test_document_cleaner.py116 Lorem ipsum dolor sit amet 3
LOWtest/components/preprocessors/test_document_cleaner.py116 Lorem ipsum dolor sit amet 3
LOW…xtractors/image/test_llm_document_content_extractor.py459 {"title": "Example Document", "author": "John Doe", "date": "2024-01-15", "document_type": "invoice"}
LOW…ioned_docs/version-2.22/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.22/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.22/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.22/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.25/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.25/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.25/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.25/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.24/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.24/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.24/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.24/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.23/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.23/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.23/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.23/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.28/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.28/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.28/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.28/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.26/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.26/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.26/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.26/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.19/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.19/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.19/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.19/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.21/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.21/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.21/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.21/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.20/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.20/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.20/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.20/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.27/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.27/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.27/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.27/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.18/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.18/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.18/integrations-api/mongodb_atlas.md180results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.18/integrations-api/mongodb_atlas.md184The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOW…ioned_docs/version-2.29/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOW…ioned_docs/version-2.29/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…ed_docs/version-2.29/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…ed_docs/version-2.29/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
LOWdocs-website/reference/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}
LOWdocs-website/reference/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}
LOW…cs-website/reference/integrations-api/mongodb_atlas.md167results = retriever.run(query="Lorem ipsum")
LOW…cs-website/reference/integrations-api/mongodb_atlas.md171The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the
Example Usage Blocks70 hits · 35 pts
SeverityFileLineSnippet
LOWhaystack/tools/from_function.py32 ### Usage example
LOWhaystack/tools/from_function.py234 ### Usage example
LOWhaystack/core/super_component/super_component.py408 ### Usage example
LOWhaystack/utils/experimental.py19 ## Usage example
LOWhaystack/components/routers/document_length_router.py19 ### Usage example
LOWhaystack/components/routers/llm_messages_router.py22 ### Usage example
LOWhaystack/components/routers/text_language_router.py24 ### Usage example
LOWhaystack/components/routers/file_type_router.py35 ### Usage example
LOWhaystack/components/routers/transformers_text_router.py24 ### Usage example
LOWhaystack/components/routers/document_type_router.py26 ### Usage example
LOWhaystack/components/routers/zero_shot_text_router.py25 ### Usage example
LOWhaystack/components/routers/conditional_router.py50 ### Usage example
LOWhaystack/components/preprocessors/document_splitter.py42 ### Usage example
LOW…onents/preprocessors/hierarchical_document_splitter.py20 ## Usage example
LOWhaystack/components/preprocessors/text_cleaner.py21 ### Usage example
LOWhaystack/components/preprocessors/document_cleaner.py27 ### Usage example:
LOW…nts/preprocessors/embedding_based_document_splitter.py36 ### Usage example
LOWhaystack/components/retrievers/multi_retriever.py33 ### Usage example
LOW…ack/components/retrievers/sentence_window_retriever.py38 ### Usage example
LOW…ck/components/retrievers/multi_query_text_retriever.py26 ### Usage example
LOW…tack/components/retrievers/text_embedding_retriever.py23 ### Usage example
LOWhaystack/components/retrievers/filter_retriever.py16 ### Usage example
LOW…mponents/retrievers/multi_query_embedding_retriever.py25 ### Usage example
LOW…components/retrievers/in_memory/embedding_retriever.py23 ### Usage example
LOW…tack/components/retrievers/in_memory/bm25_retriever.py19 ### Usage example
LOWhaystack/components/fetchers/link_content.py87 ### Usage example
LOWhaystack/components/writers/document_writer.py16 ### Usage example
LOWhaystack/components/builders/answer_builder.py25 ### Usage example
LOWhaystack/components/joiners/string_joiner.py15 ### Usage example
LOWhaystack/components/joiners/answer_joiner.py50 ### Usage example
LOWhaystack/components/joiners/document_joiner.py56 ### Usage example:
LOWhaystack/components/converters/azure.py40 ### Usage example
LOWhaystack/components/converters/file_to_file_content.py24 ### Usage example
LOWhaystack/components/converters/txt.py25 ### Usage example
LOWhaystack/components/converters/pypdf.py58 ### Usage example
LOWhaystack/components/converters/csv.py29 ### Usage example
LOWhaystack/components/converters/xlsx.py33 ### Usage example
LOW…stack/components/converters/image/document_to_image.py36 ### Usage example
LOW…ystack/components/converters/image/file_to_document.py27 ### Usage example
LOWhaystack/components/converters/image/pdf_to_image.py23 ### Usage example
LOWhaystack/components/converters/image/file_to_image.py35 ### Usage example
LOWhaystack/components/agents/state/state.py104 ### Usage example
LOWhaystack/components/embedders/azure_text_embedder.py21 ### Usage example
LOW…stack/components/embedders/openai_document_embedder.py26 ### Usage example
LOW…ystack/components/embedders/azure_document_embedder.py23 ### Usage example
LOWhaystack/components/embedders/openai_text_embedder.py23 ### Usage example
LOW…s/embedders/sentence_transformers_document_embedder.py27 ### Usage example:
LOW…ders/sentence_transformers_sparse_document_embedder.py27 ### Usage example:
LOW…ders/image/sentence_transformers_doc_image_embedder.py34 ### Usage example
LOWhaystack/components/audio/whisper_remote.py29 ### Usage example
LOWhaystack/components/audio/whisper_local.py42 ### Usage example
LOWhaystack/components/generators/hugging_face_local.py31 ### Usage example
LOWhaystack/components/generators/azure.py35 ### Usage example
LOWhaystack/components/generators/openai_dalle.py26 ### Usage example
LOWhaystack/components/generators/openai.py48 ### Usage example
LOW…stack/components/generators/chat/hugging_face_local.py98 ### Usage example
LOWhaystack/components/generators/chat/openai_responses.py63 ### Usage example
LOWhaystack/components/generators/chat/azure.py44 ### Usage example
LOWhaystack/components/generators/chat/azure_responses.py36 ### Usage example
LOWhaystack/components/generators/chat/openai.py74 ### Usage example
10 more matches not shown…
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippet
HIGHhaystack/core/component/component.py407 See module's docstring. Args: cls: the class that should be used as a component. Returns:
HIGHhaystack/components/generators/chat/openai_responses.py117 Creates an instance of OpenAIResponsesChatGenerator. Uses OpenAI's gpt-5-mini by default. Before initi
HIGHhaystack/components/generators/chat/azure.py131 Initialize the Azure OpenAI Chat Generator component. :param azure_endpoint: The endpoint of the deplo
HIGHhaystack/components/generators/chat/azure_responses.py107 Initialize the AzureOpenAIResponsesChatGenerator component. :param api_key: The API key to use for aut
HIGHhaystack/components/generators/chat/openai.py135 Creates an instance of OpenAIChatGenerator. Unless specified otherwise in `model`, uses OpenAI's gpt-5-mini
Decorative Section Separators4 hits · 15 pts
SeverityFileLineSnippet
MEDIUMhaystack/core/pipeline/async_pipeline.py242 # -------------------------------------------------
MEDIUMhaystack/core/pipeline/async_pipeline.py245 # -------------------------------------------------
MEDIUMhaystack/core/pipeline/async_pipeline.py378 # -------------------------------------------------
MEDIUMhaystack/core/pipeline/async_pipeline.py380 # -------------------------------------------------
AI Slop Vocabulary6 hits · 12 pts
SeverityFileLineSnippet
MEDIUMtest/test_logging.py158 # Only check for the minute to be a bit more robust
LOWhaystack/core/pipeline/breakpoint.py342 # For other data types, just return the value as is.
LOWhaystack/core/pipeline/base.py1127 # if we are resuming a component, the inputs are already consumed, so we just return the first input
LOWhaystack/components/fetchers/link_content.py23 pass # nothing to import as we simply set the http2 attribute, library handles the rest
MEDIUMhaystack/components/readers/extractive.py276 mask = torch.logical_and(mask, attention_mask == 1) # Definitely remove special tokens
MEDIUMdocs-website/scripts/test_python_snippets.py296 # Prepend a line directive comment to facilitate mapping if needed
Verbosity Indicators4 hits · 7 pts
SeverityFileLineSnippet
LOWhaystack/tools/parameters_schema_utils.py43 The purpose of this function is to help identify Callable types so they can
LOW…tack/components/preprocessors/csv_document_splitter.py256 # Step 1: Split by rows
LOW…tack/components/preprocessors/csv_document_splitter.py259 # Step 2: Split by columns
LOW…tack/components/preprocessors/csv_document_splitter.py264 # Step 3: Recursively reapply splitting checked by whether any new empty rows appear after column split
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippet
HIGHCONTRIBUTING.md26- **Open the PR** — Use a [conventional commit](https://www.conventionalcommits.org/en/v1.0.0/) title, fill the [PR temp
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippet
LOWhaystack/tracing/logging_tracer.py75 # we make sure to log the operation name and tags of the span when the context manager exits
MEDIUMhaystack/components/tools/tool_invoker.py112 # Here, we create it manually for demonstration purposes
MEDIUMhaystack/components/tools/tool_invoker.py170 # Here, we create it manually for demonstration purposes
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippet
LOWtest/utils/test_callable_serialization.py27 def my_method(self):
LOWhaystack/tools/from_function.py229 def my_function(): ...
LOWhaystack/tools/from_function.py232 def my_function(): ...