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.

7.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of deepset-ai/haystack, a MDX project with 25,889 GitHub stars. SynthScan v2.0 examined 1,153,134 lines of code across 3864 source files, recording 5256 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 7.2 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

7.2
Adjusted Score
7.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
25.9K
Stars
MDX
Language
1.2M
Lines of Code
3.9K
Files
5.3K
Pattern Hits
2026-07-14
Scan Date
0.18
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 686MEDIUM 123LOW 4447

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 5256 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers3526 hits · 3555 pts
SeverityFileLineSnippetContext
LOWtest/test_logging.py95 def test_skip_logging_configuration(CODE
LOWtest/test_logging.py112 def test_log_filtering_when_using_debug(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py123 def test_log_filtering_when_using_debug_and_log_level_is_debug(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py136 def test_console_rendered_structured_log_even_if_no_tty_but_python_config(CODE
LOWtest/test_logging.py152 def test_console_rendered_structured_log_if_in_ipython(CODE
LOWtest/test_logging.py168 def test_console_rendered_structured_log_even_in_jupyter(CODE
LOWtest/test_logging.py184 def test_console_rendered_structured_log_even_if_no_tty_but_forced_through_env(CODE
LOWtest/test_logging.py200 def test_console_rendered_structured_log(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py226 def function_that_raises_and_adds_to_stack_trace():CODE
LOWtest/test_logging.py239 def test_logging_of_contextvars(self, capfd: CaptureFixture, set_context_var_key: str) -> None:CODE
LOWtest/test_logging.py252 def test_logging_as_json_if_not_atty(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None:CODE
LOWtest/test_logging.py293 def test_logging_as_json_enabling_via_env(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None:CODE
LOWtest/test_logging.py314 def test_logging_of_contextvars(CODE
LOWtest/test_logging.py338 def test_logging_exceptions_json(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py343 def function_that_raises_and_adds_to_stack_trace():CODE
LOWtest/test_logging.py388 def test_trace_log_correlation_python_logs_with_console_rendering(CODE
LOWtest/test_logging.py400 def test_trace_log_correlation_python_logs(self, spying_tracer: SpyingTracer, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py422 def test_trace_log_correlation_no_span(self, spying_tracer: SpyingTracer, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py442 def test_trace_log_correlation_no_tracer(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py464 def test_correct_stack_level_with_stdlib_rendering(CODE
LOWtest/test_logging.py480 def test_correct_stack_level_with_consoler_rendering(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py568 def test_log_with_string_cast(self, capfd: LogCaptureFixture) -> None:CODE
LOWtest/test_logging.py602 def test_haystack_logger_with_positional_args(self, method: str, expected_level: str) -> None:CODE
LOWtest/test_logging.py623 def test_haystack_logger_with_old_interpolation(self, method: str, expected_level: str) -> None:CODE
LOWtest/test_logging.py632 def test_that_haystack_logger_is_used(self) -> None:CODE
LOWtest/test_logging.py668 def test_handler_is_attached_to_haystack_namespaces_and_not_root(self) -> None:CODE
LOWtest/test_logging.py679 def test_integrations_logs_are_formatted_by_haystack(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py687 def test_other_services_logs_are_not_reformatted_by_haystack(CODE
LOWtest/test_logging.py714 def test_legacy_root_behavior_still_available_via_empty_logger_name(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py725 def test_switching_to_root_logger_does_not_duplicate_haystack_logs(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py741 def test_propagate_is_true_by_default(self, caplog: LogCaptureFixture) -> None:CODE
LOWtest/test_logging.py751 def test_propagate_false_stops_records_from_reaching_root(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py777 def test_structlog_native_logger_respects_level_lowered_after_configure(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py789 def test_structlog_native_logger_still_filters_below_level(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py805 def test_without_configure_structlog_existing_config_is_preserved(self, restore_structlog_config: None) -> None:CODE
LOWtest/test_logging.py820 def test_configure_structlog_takes_over_existing_config(self, restore_structlog_config: None) -> None:CODE
LOWtest/test_logging.py831 def test_installs_handler_without_configuring_structlog(self, restore_structlog_config: None) -> None:CODE
LOWtest/test_logging.py856 def test_repeated_get_logger_interpolates_the_message_exactly_once(self, capfd: CaptureFixture) -> None:CODE
LOWtest/test_logging.py872 def test_repeated_get_logger_does_not_rewrap_methods(self) -> None:CODE
LOWtest/test_logging.py893 def test_find_caller_does_not_print_or_mask_errors(self, capsys: CaptureFixture, monkeypatch: MonkeyPatch) -> None:CODE
LOWtest/test_imports.py11def test_lazy_importer_avoids_importing_unused_modules():CODE
LOWtest/test_imports.py30def test_import_error_is_suppressed_and_deferred():CODE
LOWtest/test_release_note_backticks.py29 def test_converts_single_to_double(self, text, expected):CODE
LOWtest/test_release_note_backticks.py42 def test_leaves_valid_rst_untouched(self, text):CODE
LOWtest/test_release_note_backticks.py45 def test_only_single_backticks_in_mixed_text_are_converted(self):CODE
LOWtest/test_release_note_backticks.py54 def test_unbalanced_single_backtick_is_left_untouched(self):CODE
LOWtest/test_release_note_backticks.py61 def test_fix_rewrites_file_and_is_idempotent(self, tmp_path):CODE
LOWtest/test_release_note_backticks.py74 def test_check_mode_reports_without_modifying(self, tmp_path):CODE
LOWtest/test_telemetry.py82def test_pipeline_running_with_non_serializable_component(telemetry):CODE
LOWtest/test_telemetry.py111def test_pipeline_running_with_non_dict_telemetry_data(caplog):CODE
LOWtest/test_telemetry.py132def test_send_telemetry_preserves_function_metadata():CODE
LOWtest/tracing/test_utils.py45 def test_list_serialized_recursively(self) -> None:CODE
LOWtest/tracing/test_utils.py49 def test_dict_serialized_recursively(self) -> None:CODE
LOWtest/tracing/test_utils.py53 def test_nested_list_and_dict(self) -> None:CODE
LOWtest/tracing/test_utils.py63 def test_object_with_to_trace_dict_placeholders(self) -> None:CODE
LOWtest/tracing/test_utils.py68 def test_object_with_to_trace_dict_no_placeholders(self) -> None:CODE
LOWtest/tracing/test_utils.py73 def test_list_of_objects_with_to_dict(self) -> None:CODE
LOWtest/tracing/test_utils.py78 def test_dict_with_object_values(self) -> None:CODE
LOWtest/tracing/test_utils.py83 def test_object_without_serialization_methods(self) -> None:CODE
LOWtest/tracing/test_logging_tracer.py52 def test_concurrent_spans_do_not_interleave(self, caplog: pytest.LogCaptureFixture) -> None:CODE
3466 more matches not shown…
Cross-File Repetition327 hits · 1635 pts
SeverityFileLineSnippetContext
HIGHtest/tools/test_from_function.py0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.22/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.25/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.24/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.23/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.30/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.31/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.28/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.26/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.19/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.21/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.20/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.27/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.18/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGH…_versioned_docs/version-2.29/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGHdocs-website/reference/haystack-api/tools_api.md0a simple function to get the current weather for a location.STRING
HIGHtest/tools/test_toolset.py0test serialization and deserialization with a list of toolsets.STRING
HIGHtest/components/agents/test_agent.py0test serialization and deserialization with a list of toolsets.STRING
HIGHtest/components/generators/chat/test_openai.py0test serialization and deserialization with a list of toolsets.STRING
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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
HIGH…ersioned_docs/version-2.30/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: {{STRING
HIGH…ersioned_docs/version-2.31/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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
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: {{STRING
HIGHtest/utils/test_jinja2_extensions.py0mock the arrow.now function to return a fixed datetimeSTRING
HIGHtest/components/builders/test_chat_prompt_builder.py0mock the arrow.now function to return a fixed datetimeSTRING
HIGHtest/components/builders/test_prompt_builder.py0mock the arrow.now function to return a fixed datetimeSTRING
HIGH…components/retrievers/test_text_embedding_retriever.py0create a document store populated with embedded documents.STRING
HIGHtest/components/retrievers/test_multi_retriever.py0create a document store populated with embedded documents.STRING
HIGH…nts/retrievers/test_multi_query_embedding_retriever.py0create a document store populated with embedded documents.STRING
HIGHtest/components/converters/test_pdfminer_to_document.py0test if the component runs correctly with store_full_path=falseSTRING
HIGH…st/components/converters/test_docx_file_to_document.py0test if the component runs correctly with store_full_path=falseSTRING
HIGHtest/components/converters/test_pptx_to_document.py0test if the component runs correctly with store_full_path=falseSTRING
HIGHtest/components/converters/test_markdown_to_document.py0test if the component runs correctly with store_full_path=falseSTRING
HIGHtest/components/converters/test_csv_to_document.py0test if the component runs correctly with store_full_path=falseSTRING
HIGHtest/components/converters/test_json.py0test if the component runs correctly with store_full_path=falseSTRING
HIGHtest/components/converters/test_pypdf_to_document.py0test if the component runs correctly with store_full_path=falseSTRING
HIGHtest/components/converters/test_pdfminer_to_document.py0test if the component runs correctly when an input file is not of the expected type.STRING
HIGHtest/components/converters/test_html_to_document.py0test if the component runs correctly when an input file is not of the expected type.STRING
HIGHtest/components/converters/test_markdown_to_document.py0test if the component runs correctly when an input file is not of the expected type.STRING
HIGHtest/components/agents/test_agent.py0mock the openai api completion response and reuse it for async testsSTRING
HIGHtest/components/generators/conftest.py0mock the openai api completion response and reuse it for async testsSTRING
HIGHtest/components/generators/chat/test_openai.py0mock the openai api completion response and reuse it for async testsSTRING
HIGHtest/components/generators/chat/test_openai_async.py0mock the openai api completion response and reuse it for async testsSTRING
HIGH…t/components/embedders/test_azure_document_embedder.py0tests that the max_retries init param is set correctly if equal 0STRING
HIGHtest/components/embedders/test_azure_text_embedder.py0tests that the max_retries init param is set correctly if equal 0STRING
HIGHtest/components/generators/chat/test_azure.py0tests that the max_retries init param is set correctly if equal 0STRING
HIGHtest/components/generators/chat/test_openai.py0extracts the text content of chatmessage objects :param messages: list of haystack chatmessage objects :param meta: optiSTRING
HIGHtest/components/generators/chat/test_azure_responses.py0extracts the text content of chatmessage objects :param messages: list of haystack chatmessage objects :param meta: optiSTRING
267 more matches not shown…
Magic Placeholder Names301 hits · 1532 pts
SeverityFileLineSnippetContext
HIGHhaystack/components/generators/chat/azure.py55 api_key=Secret.from_token("<your-api-key>"),STRING
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md38 api_key=Secret.from_token("<your-api-key>"),CODE
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md219 api_key=Secret.from_token("<your-api-key>"),CODE
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md866 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md892 token=Secret.from_token("<your-api-key>")CODE
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md911 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md1885 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.22/haystack-api/generators_api.md1905 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.22/haystack-api/embedders_api.md367 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.22/haystack-api/embedders_api.md386 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.22/haystack-api/embedders_api.md554 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.22/haystack-api/embedders_api.md568 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ce_versioned_docs/version-2.22/integrations-api/mcp.md788# 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API keyCOMMENT
HIGH…versioned_docs/version-2.22/integrations-api/qdrant.md581 api_key="<your-api-key>",CODE
HIGH…_docs/version-2.22/integrations-api/huggingface_api.md34 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.22/integrations-api/huggingface_api.md53 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.22/integrations-api/huggingface_api.md226 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.22/integrations-api/huggingface_api.md240 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.22/integrations-api/huggingface_api.md409 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.22/integrations-api/huggingface_api.md435 token=Secret.from_token("<your-api-key>")CODE
HIGH…_docs/version-2.22/integrations-api/huggingface_api.md454 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md35 api_key=Secret.from_token("<your-api-key>"),CODE
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md180 api_key=Secret.from_token("<your-api-key>"),CODE
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md628 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md654 token=Secret.from_token("<your-api-key>")CODE
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md673 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md1720 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.25/haystack-api/generators_api.md1750 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.25/haystack-api/embedders_api.md267 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.25/haystack-api/embedders_api.md286 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.25/haystack-api/embedders_api.md441 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.25/haystack-api/embedders_api.md455 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ce_versioned_docs/version-2.25/integrations-api/mcp.md788# 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API keyCOMMENT
HIGH…versioned_docs/version-2.25/integrations-api/qdrant.md581 api_key="<your-api-key>",CODE
HIGH…_docs/version-2.25/integrations-api/huggingface_api.md34 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.25/integrations-api/huggingface_api.md53 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.25/integrations-api/huggingface_api.md226 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.25/integrations-api/huggingface_api.md240 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.25/integrations-api/huggingface_api.md409 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.25/integrations-api/huggingface_api.md435 token=Secret.from_token("<your-api-key>")CODE
HIGH…_docs/version-2.25/integrations-api/huggingface_api.md454 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md38 api_key=Secret.from_token("<your-api-key>"),CODE
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md219 api_key=Secret.from_token("<your-api-key>"),CODE
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md866 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md892 token=Secret.from_token("<your-api-key>")CODE
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md911 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md1885 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ioned_docs/version-2.24/haystack-api/generators_api.md1905 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.24/haystack-api/embedders_api.md367 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.24/haystack-api/embedders_api.md386 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.24/haystack-api/embedders_api.md554 token=Secret.from_token("<your-api-key>"))CODE
HIGH…sioned_docs/version-2.24/haystack-api/embedders_api.md568 token=Secret.from_token("<your-api-key>"))CODE
HIGH…ce_versioned_docs/version-2.24/integrations-api/mcp.md788# 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API keyCOMMENT
HIGH…versioned_docs/version-2.24/integrations-api/qdrant.md581 api_key="<your-api-key>",CODE
HIGH…_docs/version-2.24/integrations-api/huggingface_api.md34 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.24/integrations-api/huggingface_api.md53 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.24/integrations-api/huggingface_api.md226 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.24/integrations-api/huggingface_api.md240 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.24/integrations-api/huggingface_api.md409 token=Secret.from_token("<your-api-key>"))CODE
HIGH…_docs/version-2.24/integrations-api/huggingface_api.md435 token=Secret.from_token("<your-api-key>")CODE
241 more matches not shown…
Cross-Language Confusion52 hits · 352 pts
SeverityFileLineSnippetContext
HIGHtest/tracing/test_utils.py103 '{"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, 'CODE
HIGHtest/tracing/test_utils.py104 '"sparse_embedding": null}',CODE
HIGHtest/tracing/test_utils.py108 '[{"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, 'CODE
HIGHtest/tracing/test_utils.py109 '"sparse_embedding": null}]',CODE
HIGHtest/tracing/test_utils.py113 '{"key": {"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, 'CODE
HIGHtest/tracing/test_utils.py114 '"sparse_embedding": null}}',CODE
HIGHtest/core/pipeline/test_utils.py44 empty_queue.push("item1", 1)CODE
HIGHtest/core/pipeline/test_utils.py54 empty_queue.push(item, priority)CODE
HIGHtest/core/pipeline/test_utils.py66 empty_queue.push(item, priority)CODE
HIGHtest/core/pipeline/test_utils.py76 empty_queue.push("medium1", 2)CODE
HIGHtest/core/pipeline/test_utils.py77 empty_queue.push("high", 1)CODE
HIGHtest/core/pipeline/test_utils.py78 empty_queue.push("medium2", 2)CODE
HIGHtest/core/pipeline/test_utils.py79 empty_queue.push("low", 3)CODE
HIGHtest/core/pipeline/test_utils.py146 empty_queue.push("item", 1)CODE
HIGHtest/core/pipeline/test_utils.py159 empty_queue.push(f"item{i}", priority)CODE
HIGHtest/core/pipeline/test_utils.py90 empty_queue.push("item1", 1)CODE
HIGHtest/core/pipeline/test_utils.py91 empty_queue.push("item2", 2)CODE
HIGHtest/core/pipeline/test_utils.py105 empty_queue.push("item1", 1)CODE
HIGHtest/core/pipeline/test_utils.py128 empty_queue.push("item1", 1)CODE
HIGHtest/core/pipeline/test_utils.py130 empty_queue.push("item2", 2)CODE
HIGHtest/core/pipeline/test_utils.py188 empty_queue.push(item, priority)CODE
HIGHtest/core/pipeline/test_pipeline_base.py1068 queue.push("ready_component", ComponentPriority.READY)CODE
HIGHtest/core/pipeline/test_pipeline_base.py1081 queue.push("blocked_component", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py1095 queue.push("ready_component", ComponentPriority.READY)CODE
HIGHtest/core/pipeline/test_pipeline_base.py1387 priority_queue.push("comp1", ComponentPriority.DEFER)CODE
HIGHtest/core/pipeline/test_pipeline_base.py1388 priority_queue.push("comp2", ComponentPriority.DEFER)CODE
HIGHtest/core/pipeline/test_pipeline_base.py1414 priority_queue.push("branch_joiner", ComponentPriority.DEFER)CODE
HIGHtest/core/pipeline/test_pipeline_base.py1415 priority_queue.push("comp3", ComponentPriority.DEFER)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2496 priority_queue.push("comp1", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2497 priority_queue.push("comp2", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2498 priority_queue.push("comp3", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2527 priority_queue.push("comp1", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2528 priority_queue.push("router", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2529 priority_queue.push("comp2", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2530 priority_queue.push("blocking_comp", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2531 priority_queue.push("a_comp3", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py1122 queue.push(component_name, priority)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2470 priority_queue.push("comp1", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/test_pipeline_base.py2471 priority_queue.push("comp2", ComponentPriority.BLOCKED)CODE
HIGHtest/core/pipeline/features/conftest.py164 assert actual_value.equals(expected_value)CODE
HIGHtest/components/agents/test_agent.py1378 "haystack.agent.tools": '[{"type": "haystack.tools.tool.Tool", "data": {"name": "weather_tool", "descriptionCODE
HIGHtest/components/agents/test_agent.py1381 "haystack.agent.input": '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "WhatCODE
HIGHtest/components/agents/test_agent.py1382 "haystack.agent.output": '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "WhaCODE
HIGHtest/components/agents/test_agent.py1543 == '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in PaCODE
HIGHtest/components/agents/test_agent.py1547 == '{"replies": [{"role": "assistant", "meta": {}, "name": null, "content": [{"text": "Hello from run_async"CODE
HIGHtest/components/agents/test_agent.py1556 "haystack.agent.tools": '[{"type": "haystack.tools.tool.Tool", "data": {"name": "weather_tool", "descriptionCODE
HIGHtest/components/agents/test_agent.py1559 "haystack.agent.input": '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "WhatCODE
HIGHtest/components/agents/test_agent.py1560 "haystack.agent.output": '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "WhaCODE
HIGHtest/components/agents/test_agent.py1363 == '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in PaCODE
HIGHtest/components/agents/test_agent.py1367 == '{"replies": [{"role": "assistant", "meta": {}, "name": null, "content": [{"text": "Hello"}]}]}'CODE
HIGHhaystack/core/pipeline/breakpoint.py272 "key": [{"sender": null, "value": "some value"}] -> "key": "some value"STRING
HIGHhaystack/core/pipeline/base.py1272 priority_queue.push(component_name, priority)CODE
Unused Imports279 hits · 275 pts
SeverityFileLineSnippetContext
LOWtest/test_imports.py20CODE
LOWtest/test_imports.py32CODE
LOWhaystack/logging.py17CODE
LOWhaystack/logging.py17CODE
LOWhaystack/__init__.py14CODE
LOWhaystack/__init__.py15CODE
LOWhaystack/__init__.py15CODE
LOWhaystack/__init__.py16CODE
LOWhaystack/__init__.py17CODE
LOWhaystack/__init__.py17CODE
LOWhaystack/__init__.py18CODE
LOWhaystack/__init__.py18CODE
LOWhaystack/__init__.py19CODE
LOWhaystack/__init__.py19CODE
LOWhaystack/__init__.py19CODE
LOWhaystack/__init__.py19CODE
LOWhaystack/__init__.py20CODE
LOWhaystack/tracing/__init__.py7CODE
LOWhaystack/tracing/__init__.py7CODE
LOWhaystack/tracing/__init__.py7CODE
LOWhaystack/tracing/__init__.py7CODE
LOWhaystack/tracing/__init__.py7CODE
LOWhaystack/tracing/__init__.py7CODE
LOWhaystack/document_stores/types/__init__.py5CODE
LOWhaystack/document_stores/types/__init__.py5CODE
LOWhaystack/document_stores/types/__init__.py6CODE
LOWhaystack/document_stores/types/__init__.py7CODE
LOWhaystack/document_stores/in_memory/__init__.py13CODE
LOWhaystack/document_stores/in_memory/document_store.py11CODE
LOWhaystack/document_stores/errors/__init__.py5CODE
LOWhaystack/document_stores/errors/__init__.py5CODE
LOWhaystack/document_stores/errors/__init__.py5CODE
LOWhaystack/tools/__init__.py38CODE
LOWhaystack/tools/__init__.py39CODE
LOWhaystack/tools/__init__.py40CODE
LOWhaystack/tools/__init__.py41CODE
LOWhaystack/tools/__init__.py42CODE
LOWhaystack/tools/__init__.py43CODE
LOWhaystack/tools/__init__.py44CODE
LOWhaystack/tools/__init__.py45CODE
LOWhaystack/tools/__init__.py46CODE
LOWhaystack/tools/__init__.py47CODE
LOWhaystack/tools/searchable_toolset.py20CODE
LOWhaystack/tools/serde_utils.py13CODE
LOWhaystack/tools/utils.py11CODE
LOWhaystack/tools/skills/__init__.py5CODE
LOWhaystack/marshal/__init__.py13CODE
LOWhaystack/marshal/__init__.py14CODE
LOWhaystack/core/__init__.py5CODE
LOWhaystack/core/serialization.py16CODE
LOWhaystack/core/pipeline/__init__.py5CODE
LOWhaystack/core/component/__init__.py5CODE
LOWhaystack/core/component/__init__.py5CODE
LOWhaystack/core/component/__init__.py6CODE
LOWhaystack/core/component/__init__.py6CODE
LOWhaystack/core/super_component/__init__.py5CODE
LOWhaystack/core/super_component/__init__.py5CODE
LOWhaystack/utils/misc.py19CODE
LOWhaystack/utils/__init__.py26CODE
LOWhaystack/utils/__init__.py27CODE
219 more matches not shown…
Self-Referential Comments52 hits · 146 pts
SeverityFileLineSnippetContext
MEDIUMtest/document_stores/test_in_memory.py658 # Create a mix of concurrent operationsCOMMENT
MEDIUMtest/tools/test_pipeline_tool.py251 # Create an Agent with the toolCOMMENT
MEDIUMtest/tools/test_pipeline_tool.py296 # Create an Agent with the toolCOMMENT
MEDIUMtest/tools/test_component_tool.py850 # Create a pipeline and add the component to itCOMMENT
MEDIUMtest/tools/test_component_tool.py393 # Create a pipeline with the annotated componentCOMMENT
MEDIUMtest/tools/test_component_tool.py459 # Create a pipeline with both componentsCOMMENT
MEDIUMtest/tools/test_component_tool.py790 # Create the component and toolCOMMENT
MEDIUMtest/core/pipeline/test_pipeline_base.py1408 # Create a cycle between comp2 and comp3. Entry point is comp1 -> comp2COMMENT
MEDIUM…breakpoints/test_pipeline_breakpoints_branch_joiner.py72 # Create a Breakpoint on-the-fly using the shared output directoryCOMMENT
MEDIUM…breakpoints/test_pipeline_breakpoints_string_joiner.py48 # Create a Breakpoint on-the-fly using the shared output directoryCOMMENT
MEDIUM…breakpoints/test_pipeline_breakpoints_answer_joiner.py66 # Create a Breakpoint on-the-fly using the shared output directoryCOMMENT
MEDIUM…e/breakpoints/test_pipeline_breakpoints_list_joiner.py71 # Create a Breakpoint on-the-fly using the shared output directorySTRING
MEDIUM…ipeline/breakpoints/test_pipeline_breakpoints_loops.py120 # Create a Breakpoint on-the-fly using the shared output directoryCOMMENT
MEDIUM…ne/breakpoints/test_pipeline_breakpoints_rag_hybrid.py118 # Create a Breakpoint on-the-fly using the shared output directoryCOMMENT
MEDIUM…st/components/preprocessors/test_recursive_splitter.py1005 # Create a complex text with multiple separators and chunks of different sizesCOMMENT
MEDIUM…reprocessors/test_embedding_based_document_splitter.py592 # Create a very long text with multiple paragraphs and topicsCOMMENT
MEDIUM…reprocessors/test_embedding_based_document_splitter.py675 # Create a very long text with multiple paragraphs and topicsCOMMENT
MEDIUM…onents/retrievers/test_auto_merging_retriever_async.py82 # Create a leaf document that points to this parentCOMMENT
MEDIUM…t/components/retrievers/test_auto_merging_retriever.py134 # Create a leaf document that points to this parentCOMMENT
MEDIUMtest/components/converters/image/test_pdf_to_image.py98 # Create an empty ByteStream objectCOMMENT
MEDIUMtest/components/converters/image/test_file_to_image.py107 # Create an empty ByteStream objectCOMMENT
MEDIUM…/components/embedders/test_openai_document_embedder.py241 # Create a successful response for the second callCOMMENT
MEDIUMtest/components/generators/conftest.py404 # Create a custom stream that yields both events sequentiallyCOMMENT
MEDIUMhaystack/tools/component_tool.py74 # Create a SerperDev search componentSTRING
MEDIUMhaystack/tools/component_tool.py77 # Create a tool from the componentSTRING
MEDIUMhaystack/tools/component_tool.py84 # Create an Agent with an OpenAIChatGenerator and the toolSTRING
MEDIUMhaystack/tools/component_tool.py183 # Create the tools schema from the component run method parametersCOMMENT
MEDIUMhaystack/tools/component_tool.py245 # Create the Tool instance with the component invoker as the function to be called and the schema.COMMENT
MEDIUMhaystack/tools/pipeline_tool.py76 # Create an Agent with the toolSTRING
MEDIUMhaystack/tools/toolset.py43 # Create a toolset with the math toolsSTRING
MEDIUMhaystack/tools/toolset.py93 # Create the dynamic toolset and use it with an AgentSTRING
MEDIUMhaystack/core/pipeline/pipeline.py475 # Create a snapshot of the state of the pipeline before the error occurred.COMMENT
MEDIUMhaystack/core/pipeline/base.py256 # Create a new oneCOMMENT
MEDIUMhaystack/core/pipeline/base.py681 # Create the new connectionCOMMENT
MEDIUMhaystack/core/pipeline/base.py1415 # Create a list of all components that have the same priority as the current component, including theCOMMENT
MEDIUMhaystack/core/component/component.py271 # Create the sockets if set_input_types() wasn't called in the constructor.COMMENT
MEDIUMhaystack/core/super_component/super_component.py457 # Create a super component with simplified input/output mappingSTRING
MEDIUMhaystack/core/super_component/super_component.py589 # Create a new __init__ method that will initialize both the original class and SuperComponentCOMMENT
MEDIUMhaystack/core/super_component/super_component.py624 # Create a new class inheriting from SuperComponent with the original methodsCOMMENT
MEDIUMhaystack/utils/http_client.py37 # Create a copy to avoid modifying the original dictCOMMENT
MEDIUMhaystack/components/routers/conditional_router.py270 # Create a Jinja environment to inspect variables in the condition templatesCOMMENT
MEDIUM…nts/preprocessors/embedding_based_document_splitter.py44 # Create a document with content that has a clear topic shiftSTRING
MEDIUM…nts/preprocessors/embedding_based_document_splitter.py252 # Create an initial split of the document content into smaller chunksCOMMENT
MEDIUM…nts/preprocessors/embedding_based_document_splitter.py269 # Create an initial split of the document content into smaller chunksCOMMENT
MEDIUMhaystack/components/fetchers/link_content.py171 # This method is invoked only after failed requests (exception raised)COMMENT
MEDIUMhaystack/components/fetchers/link_content.py391 # Create an empty ByteStream for failed requests when raise_on_failure is FalseCOMMENT
MEDIUMhaystack/components/joiners/branch.py41 # Define a schema for validationSTRING
MEDIUMhaystack/telemetry/_telemetry.py80 # Create the config fileCOMMENT
MEDIUM.github/workflows/branch_off.yml51 # Create the release branch from mainCOMMENT
MEDIUM…senotes/notes/add-component-tool-ffe9f9911ea055a6.yaml24 # Create a SerperDev search componentCOMMENT
MEDIUM…senotes/notes/add-component-tool-ffe9f9911ea055a6.yaml30 # Create a tool from the componentCOMMENT
MEDIUM…es/notes/add-tool-search-toolset-ca7c9c04f9e4b7cf.yaml21 # Create a catalog of toolsCOMMENT
Fake / Example Data138 hits · 132 pts
SeverityFileLineSnippetContext
LOWtest/tools/test_searchable_toolset.py834 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/tools/test_searchable_toolset.py883 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/tools/test_searchable_toolset.py529 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/routers/test_document_type_router.py276 "author": "John Doe",CODE
LOWtest/components/routers/test_document_type_router.py287 assert classified_doc.meta["author"] == "John Doe"CODE
LOW…/components/preprocessors/test_python_code_splitter.py143 doc = Document(content="placeholder")CODE
LOWtest/components/preprocessors/test_document_cleaner.py98 Lorem ipsum dolor sit ametCODE
LOWtest/components/preprocessors/test_document_cleaner.py98 Lorem ipsum dolor sit ametCODE
LOWtest/components/preprocessors/test_document_cleaner.py116 Lorem ipsum dolor sit amet 3CODE
LOWtest/components/preprocessors/test_document_cleaner.py116 Lorem ipsum dolor sit amet 3CODE
LOWtest/components/agents/test_agent.py672 monkeypatch.setenv("FAKE_OPENAI_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py1196 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py1205 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py224 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py240 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py328 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py395 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py409 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py500 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py565 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py608 monkeypatch.setenv("FAKE_OPENAI_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py653 monkeypatch.setenv("FAKE_OPENAI_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py774 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py795 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py825 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py852 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py868 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py884 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py898 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py915 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py1006 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py1149 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py1257 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py1812 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/agents/test_agent.py2301 function=lambda: "placeholder",CODE
LOWtest/components/agents/test_agent.py2334 function=lambda: "placeholder",CODE
LOWtest/components/agents/test_agent_hooks.py537 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/evaluators/test_sas_evaluator.py13 monkeypatch.setenv("HF_API_TOKEN", "fake-token")CODE
LOWtest/components/evaluators/test_sas_evaluator.py19 assert evaluator._token.resolve_value() == "fake-token"CODE
LOWtest/components/evaluators/test_sas_evaluator.py22 monkeypatch.setenv("HF_API_TOKEN", "fake-token")CODE
LOWtest/components/evaluators/test_sas_evaluator.py38 monkeypatch.setenv("HF_API_TOKEN", "fake-token")CODE
LOWtest/components/evaluators/test_sas_evaluator.py54 assert evaluator._token.resolve_value() == "fake-token"CODE
LOWtest/components/generators/chat/test_llm.py136 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/generators/chat/test_llm.py162 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/generators/chat/test_llm.py178 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOWtest/components/generators/chat/test_llm.py213 monkeypatch.setenv("OPENAI_API_KEY", "fake-key")CODE
LOW…xtractors/image/test_llm_document_content_extractor.py446 {"title": "Example Document", "author": "John Doe", "date": "2024-01-15", "document_type": "invoice"}CODE
LOWtest/dataclasses/test_document.py71 dataframe="placeholder",CODE
LOW…/version-2.22/integrations-api/microsoft_sharepoint.md268 operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, orCODE
LOW…/version-2.22/integrations-api/microsoft_sharepoint.md298 operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, orCODE
LOW…ioned_docs/version-2.22/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}CODE
LOW…ioned_docs/version-2.22/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}CODE
LOW…ed_docs/version-2.22/integrations-api/mongodb_atlas.md166results = retriever.run(query="Lorem ipsum")CODE
LOW…ed_docs/version-2.22/integrations-api/mongodb_atlas.md170The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from theCODE
LOW…/version-2.25/integrations-api/microsoft_sharepoint.md268 operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, orCODE
LOW…/version-2.25/integrations-api/microsoft_sharepoint.md298 operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, orCODE
LOW…ioned_docs/version-2.25/integrations-api/opensearch.md593 meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"}CODE
LOW…ioned_docs/version-2.25/integrations-api/opensearch.md601 meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"}CODE
LOW…ed_docs/version-2.25/integrations-api/mongodb_atlas.md166results = retriever.run(query="Lorem ipsum")CODE
LOW…ed_docs/version-2.25/integrations-api/mongodb_atlas.md170The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from theCODE
78 more matches not shown…
Modern AI Meta-Vocabulary62 hits · 126 pts
SeverityFileLineSnippetContext
MEDIUMe2e/pipelines/test_evaluation_pipeline.py208 # running the RAG pipeline A + evaluation pipelineCOMMENT
MEDIUMe2e/pipelines/test_evaluation_pipeline.py255 # running the RAG pipeline BCOMMENT
MEDIUM…sioned_docs/version-2.22/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.22/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.22/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.22/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.25/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.25/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.25/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.25/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.24/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.24/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.24/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.24/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.23/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.23/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.23/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.23/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.30/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.30/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.30/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.30/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.31/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.31/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.31/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.31/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.28/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.28/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.28/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.28/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.26/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.26/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.26/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.26/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.19/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.19/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.19/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.19/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.21/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.21/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.21/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.21/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.20/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.20/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.20/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.20/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.27/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.27/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.27/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.27/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.18/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.18/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.18/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.18/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUM…sioned_docs/version-2.29/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.29/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…sioned_docs/version-2.29/integrations-api/anthropic.md556 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUM…d_docs/version-2.29/integrations-api/amazon_bedrock.md1286 [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html)CODE
MEDIUMdocs-website/reference/integrations-api/anthropic.md130 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
MEDIUMdocs-website/reference/integrations-api/anthropic.md339 use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use)CODE
2 more matches not shown…
Modern Structural Boilerplate114 hits · 115 pts
SeverityFileLineSnippetContext
LOWtest/tracing/utils.py24 def set_tag(self, key: str, value: Any) -> None:CODE
LOWtest/tracing/utils.py30 def set_content_tag(self, key: str, value: Any) -> None:CODE
LOWhaystack/__init__.py27__all__ = [CODE
LOWhaystack/tracing/utils.py10logger = logging.getLogger(__name__)CODE
LOWhaystack/tracing/tracer.py18 def set_tag(self, key: str, value: Any) -> None:CODE
LOWhaystack/tracing/tracer.py30 def set_tags(self, tags: dict[str, Any]) -> None:CODE
LOWhaystack/tracing/tracer.py49 def set_content_tag(self, key: str, value: Any) -> None:CODE
LOWhaystack/tracing/tracer.py136 def set_tag(self, key: str, value: Any) -> None:CODE
LOWhaystack/tracing/logging_tracer.py15logger = logging.getLogger(__name__)CODE
LOWhaystack/tracing/logging_tracer.py25 def set_tag(self, key: str, value: Any) -> None:CODE
LOWhaystack/document_stores/types/__init__.py9__all__ = ["apply_filter_policy", "DocumentStore", "DuplicatePolicy", "FilterPolicy"]CODE
LOWhaystack/document_stores/types/filter_policy.py10logger = logging.getLogger(__name__)CODE
LOWhaystack/document_stores/in_memory/document_store.py26logger = logging.getLogger(__name__)CODE
LOWhaystack/document_stores/errors/__init__.py7__all__ = ["DocumentStoreError", "DuplicateDocumentError", "MissingDocumentError"]CODE
LOWhaystack/tools/tool_types.py18__all__ = ["ToolsType"]CODE
LOWhaystack/tools/component_tool.py36logger = logging.getLogger(__name__)CODE
LOWhaystack/tools/pipeline_tool.py18logger = logging.getLogger(__name__)CODE
LOWhaystack/tools/parameters_schema_utils.py21logger = logging.getLogger(__name__)CODE
LOWhaystack/tools/skills/__init__.py7__all__ = ["SkillToolset"]CODE
LOWhaystack/core/__init__.py7__all__ = ["SuperComponent"]CODE
LOWhaystack/core/pipeline/__init__.py7__all__ = ["Pipeline"]CODE
LOWhaystack/core/pipeline/utils.py15logger = logging.getLogger(__name__)CODE
LOWhaystack/core/pipeline/pipeline.py37logger = logging.getLogger(__name__)CODE
LOWhaystack/core/pipeline/breakpoint.py20logger = logging.getLogger(__name__)CODE
LOWhaystack/core/pipeline/draw.py20logger = logging.getLogger(__name__)CODE
LOWhaystack/core/pipeline/base.py64logger = logging.getLogger(__name__)CODE
LOWhaystack/core/component/__init__.py8__all__ = ["component", "Component", "InputSocket", "OutputSocket"]CODE
LOWhaystack/core/component/component.py92logger = logging.getLogger(__name__)CODE
LOWhaystack/core/component/component.py449 def set_input_types(self, instance: Any, **types: type[Any]) -> None:CODE
LOWhaystack/core/component/component.py499 def set_output_types(self, instance: Any, **types: type[Any]) -> None:CODE
LOWhaystack/core/super_component/__init__.py7__all__ = ["SuperComponent", "super_component"]CODE
LOWhaystack/core/super_component/super_component.py17logger = logging.getLogger(__name__)CODE
LOWhaystack/utils/misc.py30logger = logging.getLogger(__name__)CODE
LOWhaystack/utils/base_serialization.py15logger = logging.getLogger(__name__)CODE
LOWhaystack/utils/async_utils.py10logger = logging.getLogger(__name__)CODE
LOWhaystack/utils/jinja2_chat_extension.py29logger = logging.getLogger(__name__)CODE
LOWhaystack/utils/requests_utils.py14logger = logging.getLogger(__name__)CODE
LOWhaystack/utils/type_serialization.py17logger = logging.getLogger(__name__)CODE
LOWhaystack/utils/callable_serialization.py19logger = logging.getLogger(__name__)CODE
LOWhaystack/utils/hf.py14logger = logging.getLogger(__name__)CODE
LOWhaystack/testing/test_utils.py10logger = logging.getLogger(__name__)CODE
LOWhaystack/testing/test_utils.py13def set_all_seeds(seed: int, deterministic_cudnn: bool = False) -> None:CODE
LOWhaystack/testing/sample_components/__init__.py22__all__ = [CODE
LOWhaystack/components/routers/file_type_router.py20logger = logging.getLogger(__name__)CODE
LOWhaystack/components/routers/conditional_router.py20logger = logging.getLogger(__name__)CODE
LOWhaystack/components/preprocessors/sentence_tokenizer.py15logger = logging.getLogger(__name__)CODE
LOW…k/components/preprocessors/markdown_header_splitter.py11logger = logging.getLogger(__name__)CODE
LOW…stack/components/preprocessors/csv_document_cleaner.py15logger = logging.getLogger(__name__)CODE
LOWhaystack/components/preprocessors/document_splitter.py16logger = logging.getLogger(__name__)CODE
LOW…tack/components/preprocessors/csv_document_splitter.py14logger = logging.getLogger(__name__)CODE
LOW…stack/components/preprocessors/python_code_splitter.py13logger = logging.getLogger(__name__)CODE
LOWhaystack/components/preprocessors/document_cleaner.py15logger = logging.getLogger(__name__)CODE
LOW…nts/preprocessors/embedding_based_document_splitter.py20logger = logging.getLogger(__name__)CODE
LOWhaystack/components/preprocessors/recursive_splitter.py15logger = logging.getLogger(__name__)CODE
LOW…ack/components/retrievers/sentence_window_retriever.py10logger = logging.getLogger(__name__)CODE
LOWhaystack/components/retrievers/types/__init__.py7__all__ = ["TextRetriever", "EmbeddingRetriever"]CODE
LOWhaystack/components/fetchers/link_content.py25logger = logging.getLogger(__name__)CODE
LOWhaystack/components/builders/chat_prompt_builder.py18logger = logging.getLogger(__name__)CODE
LOWhaystack/components/builders/prompt_builder.py13logger = logging.getLogger(__name__)CODE
LOWhaystack/components/builders/answer_builder.py12logger = logging.getLogger(__name__)CODE
54 more matches not shown…
Over-Commented Block100 hits · 100 pts
SeverityFileLineSnippetContext
LOWtest/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/tracing/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/tools/skills/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/marshal/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/core/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/core/pipeline/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/core/pipeline/test_pipeline_base.py2541 # inputs passed between components.COMMENT
LOWtest/components/routers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/preprocessors/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/retrievers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/tools/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/fetchers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/writers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/builders/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/joiners/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/converters/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/converters/image/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/evaluators/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/embedders/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/samplers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/generators/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/generators/chat/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/rankers/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/query/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/extractors/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/components/extractors/image/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/hooks/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/hooks/human_in_the_loop/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/hooks/tool_result_offloading/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/skill_stores/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/skill_stores/file_system/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWtest/evaluation/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWhaystack/document_stores/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWhaystack/tools/from_function.py41 '''A simple function to get the current weather for a location.'''COMMENT
LOWhaystack/tools/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWhaystack/core/serialization_security.py41# `builtins` is on the default allowlist because deserialization legitimately needs builtin *types*COMMENT
LOWhaystack/core/component/component.py161COMMENT
LOWhaystack/testing/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWhaystack/components/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOWhaystack/components/routers/llm_messages_router.py41 print(router.run([ChatMessage.from_user("How to rob a bank?")]))COMMENT
LOW…k/components/preprocessors/markdown_header_splitter.py81 # Matches fenced code blocks delimited by triple backticks (```) or triple tildes (~~~).COMMENT
LOW…ack/components/retrievers/sentence_window_retriever.py61 rag.connect("bm25_retriever", "sentence_window_retriever")COMMENT
LOWhaystack/components/agents/state/state_utils.py21COMMENT
LOWhaystack/components/evaluators/context_relevance.py81 print(result["score"])COMMENT
LOW…stack/components/rankers/meta_field_grouping_ranker.py41 result = ranker.run(documents=docs)COMMENT
LOWhaystack/skill_stores/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOW.github/workflows/promote_unstable_docs.yml61 # This workflow is triggered by a tag pushed by the HaystackBot in release.yml > create-release-tag.COMMENT
LOW.github/workflows/cflite_pr.yml1name: ClusterFuzzLite PR fuzzingCOMMENT
LOW.github/workflows/scorecard.yml1# OpenSSF ScorecardCOMMENT
LOW.github/utils/parse_validate_version.sh1#!/bin/bashCOMMENT
LOW.github/utils/wait_for_workflows.sh1#!/bin/bashCOMMENT
LOW.github/utils/prepare_release_notification.sh1#!/bin/bashCOMMENT
LOWe2e/__init__.py1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>COMMENT
LOW…ersioned_docs/version-2.25/haystack-api/rankers_api.md441result = ranker.run(documents=docs)COMMENT
LOW…ioned_docs/version-2.25/haystack-api/retrievers_api.md861rag.connect("bm25_retriever", "sentence_window_retriever")COMMENT
LOW…ioned_docs/version-2.25/haystack-api/evaluators_api.md101evaluator = ContextRelevanceEvaluator()COMMENT
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"}),COMMENT
LOW…ioned_docs/version-2.24/haystack-api/retrievers_api.md961# >> meta: {'source_id': '74ea87deb38012873cf8c07e...f19d01a26a098447113e1d7b83efd30c02987114', 'page_number': 1,COMMENT
LOW…ersioned_docs/version-2.30/haystack-api/rankers_api.md581ranker = MetaFieldGroupingRanker(group_by="group",subgroup_by="subgroup", sort_docs_by="split_id")COMMENT
LOW…ersioned_docs/version-2.30/haystack-api/routers_api.md541print(router.run([ChatMessage.from_user("How to rob a bank?")]))COMMENT
40 more matches not shown…
Excessive Try-Catch Wrapping96 hits · 96 pts
SeverityFileLineSnippetContext
LOWtest/tracing/test_logging_tracer.py184 except Exception:CODE
LOWtest/core/pipeline/features/conftest.py90 except Exception as e:CODE
LOWtest/core/pipeline/features/conftest.py125 except Exception as e:CODE
LOW…st/components/generators/chat/test_openai_responses.py84 except Exception as e:CODE
LOWhaystack/tracing/utils.py35 except Exception as error:CODE
LOWhaystack/tracing/logging_tracer.py78 except Exception as e: # noqa: TRY203CODE
LOWhaystack/document_stores/in_memory/document_store.py411 except Exception as e:CODE
LOWhaystack/tools/from_function.py169 except Exception as e:CODE
LOWhaystack/tools/component_tool.py372 except Exception as e:CODE
LOWhaystack/tools/parameters_schema_utils.py135 except Exception as e:CODE
LOWhaystack/tools/tool.py299 except Exception as e:CODE
LOWhaystack/tools/tool.py319 except Exception as e:CODE
LOWhaystack/core/pipeline/utils.py49 except Exception as e:CODE
LOWhaystack/core/pipeline/pipeline.py181 except Exception as error:CODE
LOWhaystack/core/pipeline/pipeline.py567 except Exception as error:CODE
LOWhaystack/core/pipeline/pipeline.py605 except Exception:CODE
LOWhaystack/core/pipeline/breakpoint.py173 except Exception as error:CODE
LOWhaystack/core/pipeline/breakpoint.py207 except Exception as error:CODE
LOWhaystack/core/pipeline/breakpoint.py314 except Exception as error:CODE
LOWhaystack/core/pipeline/breakpoint.py329 except Exception as field_error:CODE
LOWhaystack/core/pipeline/draw.py323 except Exception as exc:STRING
LOWhaystack/core/pipeline/base.py261 except Exception as e:CODE
LOWhaystack/core/pipeline/base.py265 except Exception:CODE
LOWhaystack/core/pipeline/base.py345 except Exception as e:CODE
LOWhaystack/core/pipeline/base.py1548 except Exception as e:CODE
LOWhaystack/utils/misc.py129 except Exception:CODE
LOWhaystack/utils/base_serialization.py244 except Exception as e:CODE
LOWhaystack/utils/base_serialization.py253 except Exception as e:CODE
LOWhaystack/utils/jinja2_extensions.py51 except Exception as e:CODE
LOWhaystack/utils/callable_serialization.py96 except Exception:CODE
LOWhaystack/components/routers/file_type_router.py182 except Exception as e:CODE
LOWhaystack/components/routers/conditional_router.py454 except Exception as e:CODE
LOW…stack/components/preprocessors/csv_document_cleaner.py84 except Exception as e:CODE
LOW…tack/components/preprocessors/csv_document_splitter.py111 except Exception as e:CODE
LOW…stack/components/preprocessors/python_code_splitter.py170 except Exception: # pragma: no cover - defensive guardCODE
LOWhaystack/components/retrievers/multi_retriever.py256 except Exception as e:CODE
LOWhaystack/components/retrievers/multi_retriever.py320 except Exception as e:CODE
LOWhaystack/components/fetchers/link_content.py356 except Exception as e:CODE
LOWhaystack/components/fetchers/link_content.py387 except Exception as e:CODE
LOWhaystack/components/fetchers/link_content.py412 except Exception as e:CODE
LOWhaystack/components/converters/docx.py224 except Exception as e:CODE
LOWhaystack/components/converters/docx.py231 except Exception as e:CODE
LOWhaystack/components/converters/file_to_file_content.py76 except Exception as e:CODE
LOWhaystack/components/converters/pdfminer.py190 except Exception as e:CODE
LOWhaystack/components/converters/pdfminer.py196 except Exception as e:CODE
LOWhaystack/components/converters/html.py118 except Exception as e:CODE
LOWhaystack/components/converters/html.py129 except Exception as conversion_e:CODE
LOWhaystack/components/converters/txt.py81 except Exception as e:CODE
LOWhaystack/components/converters/txt.py87 except Exception as e:CODE
LOWhaystack/components/converters/markdown.py120 except Exception as e:CODE
LOWhaystack/components/converters/markdown.py128 except Exception as conversion_e:CODE
LOWhaystack/components/converters/output_adapter.py140 except Exception as e:CODE
LOWhaystack/components/converters/pypdf.py203 except Exception as e:CODE
LOWhaystack/components/converters/pypdf.py209 except Exception as e:CODE
LOWhaystack/components/converters/csv.py119 except Exception as e:CODE
LOWhaystack/components/converters/csv.py127 except Exception as e:CODE
LOWhaystack/components/converters/csv.py161 except Exception:CODE
LOWhaystack/components/converters/csv.py172 except Exception as e:CODE
LOWhaystack/components/converters/csv.py189 except Exception as e:CODE
LOWhaystack/components/converters/xlsx.py122 except Exception as e:CODE
36 more matches not shown…
Deep Nesting67 hits · 65 pts
SeverityFileLineSnippetContext
LOWhaystack/document_stores/in_memory/document_store.py608CODE
LOWhaystack/tools/from_function.py339CODE
LOWhaystack/tools/utils.py40CODE
LOWhaystack/tools/parameters_schema_utils.py105CODE
LOWhaystack/tools/tool.py111CODE
LOWhaystack/core/serialization.py42CODE
LOWhaystack/core/serialization.py256CODE
LOWhaystack/core/pipeline/pipeline.py196CODE
LOWhaystack/core/pipeline/pipeline.py775CODE
LOWhaystack/core/pipeline/draw.py181CODE
LOWhaystack/core/pipeline/base.py211CODE
LOWhaystack/core/pipeline/base.py1097CODE
LOWhaystack/core/pipeline/base.py1201CODE
LOWhaystack/core/pipeline/base.py1649CODE
LOWhaystack/core/super_component/super_component.py214CODE
LOWhaystack/utils/misc.py33CODE
LOWhaystack/utils/device.py219CODE
LOWhaystack/utils/jinja2_extensions.py98CODE
LOWhaystack/utils/hf.py54CODE
LOWhaystack/testing/sample_components/concatenate.py15CODE
LOWhaystack/components/routers/file_type_router.py134CODE
LOWhaystack/components/routers/document_type_router.py112CODE
LOWhaystack/components/routers/conditional_router.py382CODE
LOWhaystack/components/routers/conditional_router.py463CODE
LOW…k/components/preprocessors/markdown_header_splitter.py208CODE
LOW…tack/components/preprocessors/csv_document_splitter.py74CODE
LOW…stack/components/preprocessors/python_code_splitter.py563CODE
LOWhaystack/components/preprocessors/recursive_splitter.py152CODE
LOWhaystack/components/preprocessors/recursive_splitter.py277CODE
LOWhaystack/components/preprocessors/recursive_splitter.py363CODE
LOWhaystack/components/builders/chat_prompt_builder.py140CODE
LOWhaystack/components/builders/chat_prompt_builder.py213CODE
LOWhaystack/components/builders/answer_builder.py126CODE
LOWhaystack/components/builders/answer_builder.py280CODE
LOWhaystack/components/converters/docx.py306CODE
LOWhaystack/components/converters/pdfminer.py111CODE
LOWhaystack/components/converters/xlsx.py161CODE
LOWhaystack/components/converters/json.py179CODE
LOWhaystack/components/converters/pptx.py75CODE
LOWhaystack/components/agents/agent.py160CODE
LOWhaystack/components/agents/agent.py702CODE
LOWhaystack/components/agents/tool_calling.py344CODE
LOWhaystack/components/agents/tool_calling.py504CODE
LOWhaystack/components/validators/json_schema.py221CODE
LOWhaystack/components/generators/utils.py14CODE
LOWhaystack/components/generators/utils.py79CODE
LOWhaystack/components/generators/chat/openai_responses.py618CODE
LOWhaystack/components/generators/chat/openai_responses.py692CODE
LOWhaystack/components/generators/chat/openai_responses.py822CODE
LOWhaystack/components/generators/chat/openai_responses.py915CODE
LOWhaystack/components/generators/chat/openai_responses.py504CODE
LOWhaystack/components/generators/chat/mock.py120CODE
LOWhaystack/components/rankers/meta_field.py372CODE
LOW…ystack/components/extractors/llm_metadata_extractor.py283CODE
LOWhaystack/hooks/human_in_the_loop/user_interfaces.py86CODE
LOWhaystack/hooks/human_in_the_loop/user_interfaces.py183CODE
LOWhaystack/telemetry/_telemetry.py47CODE
LOWhaystack/dataclasses/chat_message.py416CODE
LOWhaystack/dataclasses/chat_message.py658CODE
LOWhaystack/dataclasses/chat_message.py713CODE
7 more matches not shown…
Redundant / Tautological Comments25 hits · 40 pts
SeverityFileLineSnippetContext
LOWhaystack/tools/serde_utils.py53 # Check if it's a serialized Toolset (a dict with "type" and "data" keys)COMMENT
LOWhaystack/tools/pipeline_tool.py85 # Print result of the tool callSTRING
LOWhaystack/tools/parameters_schema_utils.py51 # Check if it's a Callable type (direct or parameterized)COMMENT
LOWhaystack/core/pipeline/breakpoint.py69 # Check if the ordered_component_names are valid components in the pipelineCOMMENT
LOWhaystack/core/pipeline/breakpoint.py77 # Check if the original_input_data is valid components in the pipelineCOMMENT
LOWhaystack/core/pipeline/breakpoint.py179 # Check if snapshot saving is enabled via environment variable (enabled by default)COMMENT
LOWhaystack/core/pipeline/base.py1037 # Check if an input is provided more than once for non-variadic socketsCOMMENT
LOWhaystack/core/pipeline/component_checks.py77 # Check if socket has all required inputs or is a lazy variadic socket with any inputCOMMENT
LOWhaystack/core/super_component/utils.py126 # Check if all arguments are compatibleCOMMENT
LOWhaystack/utils/jinja2_extensions.py81 # Check if a custom datetime format is provided after a commaCOMMENT
LOWhaystack/components/routers/conditional_router.py540 # Check if template_text is a string before attempting to parseCOMMENT
LOW…tack/components/preprocessors/csv_document_splitter.py267 # Check if there are consecutive rows >= row_split_threshold now presentCOMMENT
LOWhaystack/components/agents/agent.py1282 # Check if any error is specifically from the tool matching the exit conditionCOMMENT
LOWhaystack/components/agents/tool_calling.py416 # Check if State is in func_paramsCOMMENT
LOWhaystack/components/agents/state/state.py76 # Check if the list contains ChatMessage elementsCOMMENT
LOWhaystack/components/samplers/top_p.py101 # Check if the cumulative probabilities are close to top_p with a 1e-6 toleranceCOMMENT
LOWhaystack/components/query/query_expander.py139 # Check if required variables are present in the templateCOMMENT
LOWhaystack/components/extractors/regex_text_extractor.py52 # Check if the pattern has at least one capture groupCOMMENT
LOWhaystack/hooks/human_in_the_loop/strategies.py89 # Check if we should ask based on policyCOMMENT
LOW.github/workflows/release_notes.yml47 # Check if any of the commit messages contain tags ci/docs/testCOMMENT
LOW.github/utils/create_unstable_docs_docusaurus.py46 # Check if the versions we're about to create already exist in versioned_docsCOMMENT
LOWdocs-website/scripts/setup-dev.sh13# Check if we're in the right directoryCOMMENT
LOWdocs-website/scripts/setup-dev.sh19# Check if Python is availableCOMMENT
LOWdocs-website/scripts/setup-dev.sh28# Check if base dependencies are installedCOMMENT
LOWdocs-website/scripts/setup-dev.sh42# Check if requirements.txt was generatedCOMMENT
Example Usage Blocks57 hits · 29 pts
SeverityFileLineSnippetContext
LOWhaystack/tools/from_function.py32 ### Usage exampleSTRING
LOWhaystack/tools/from_function.py239 ### Usage exampleSTRING
LOWhaystack/tools/skills/skill_toolset.py31 ### Usage exampleSTRING
LOWhaystack/core/super_component/super_component.py417 ### Usage exampleSTRING
LOWhaystack/utils/experimental.py19 ## Usage exampleSTRING
LOWhaystack/components/routers/document_length_router.py19 ### Usage exampleSTRING
LOWhaystack/components/routers/llm_messages_router.py23 ### Usage exampleSTRING
LOWhaystack/components/routers/file_type_router.py36 ### Usage exampleSTRING
LOWhaystack/components/routers/document_type_router.py26 ### Usage exampleSTRING
LOWhaystack/components/routers/conditional_router.py56 ### Usage exampleSTRING
LOWhaystack/components/preprocessors/document_splitter.py42 ### Usage exampleSTRING
LOW…onents/preprocessors/hierarchical_document_splitter.py20 ## Usage exampleSTRING
LOWhaystack/components/preprocessors/text_cleaner.py21 ### Usage exampleSTRING
LOWhaystack/components/preprocessors/document_cleaner.py27 ### Usage example:STRING
LOW…nts/preprocessors/embedding_based_document_splitter.py37 ### Usage exampleSTRING
LOWhaystack/components/retrievers/multi_retriever.py34 ### Usage exampleSTRING
LOW…ack/components/retrievers/sentence_window_retriever.py38 ### Usage exampleSTRING
LOW…ck/components/retrievers/multi_query_text_retriever.py27 ### Usage exampleSTRING
LOW…tack/components/retrievers/text_embedding_retriever.py23 ### Usage exampleSTRING
LOWhaystack/components/retrievers/filter_retriever.py16 ### Usage exampleSTRING
LOW…mponents/retrievers/multi_query_embedding_retriever.py26 ### Usage exampleSTRING
LOW…components/retrievers/in_memory/embedding_retriever.py23 ### Usage exampleSTRING
LOW…tack/components/retrievers/in_memory/bm25_retriever.py19 ### Usage exampleSTRING
LOWhaystack/components/fetchers/link_content.py87 ### Usage exampleSTRING
LOWhaystack/components/writers/document_writer.py16 ### Usage exampleSTRING
LOWhaystack/components/builders/answer_builder.py28 ### Usage exampleSTRING
LOWhaystack/components/joiners/string_joiner.py15 ### Usage exampleSTRING
LOWhaystack/components/joiners/answer_joiner.py50 ### Usage exampleSTRING
LOWhaystack/components/joiners/document_joiner.py56 ### Usage example:STRING
LOWhaystack/components/converters/file_to_file_content.py24 ### Usage exampleSTRING
LOWhaystack/components/converters/txt.py25 ### Usage exampleSTRING
LOWhaystack/components/converters/pypdf.py58 ### Usage exampleSTRING
LOWhaystack/components/converters/csv.py29 ### Usage exampleSTRING
LOWhaystack/components/converters/xlsx.py33 ### Usage exampleSTRING
LOW…stack/components/converters/image/document_to_image.py36 ### Usage exampleSTRING
LOW…ystack/components/converters/image/file_to_document.py28 ### Usage exampleSTRING
LOWhaystack/components/converters/image/pdf_to_image.py23 ### Usage exampleSTRING
LOWhaystack/components/converters/image/file_to_image.py35 ### Usage exampleSTRING
LOWhaystack/components/agents/state/state.py104 ### Usage exampleSTRING
LOWhaystack/components/embedders/azure_text_embedder.py21 ### Usage exampleSTRING
LOW…stack/components/embedders/openai_document_embedder.py26 ### Usage exampleSTRING
LOW…ystack/components/embedders/azure_document_embedder.py23 ### Usage exampleSTRING
LOWhaystack/components/embedders/openai_text_embedder.py23 ### Usage exampleSTRING
LOWhaystack/components/embedders/mock_document_embedder.py41 ### Usage exampleSTRING
LOWhaystack/components/embedders/mock_text_embedder.py37 ### Usage exampleSTRING
LOW…ystack/components/generators/openai_image_generator.py26 ### Usage exampleSTRING
LOWhaystack/components/generators/chat/openai_responses.py63 ### Usage exampleSTRING
LOWhaystack/components/generators/chat/azure.py44 ### Usage exampleSTRING
LOWhaystack/components/generators/chat/azure_responses.py36 ### Usage exampleSTRING
LOWhaystack/components/generators/chat/openai.py74 ### Usage exampleSTRING
LOWhaystack/components/generators/chat/mock.py59 ### Usage exampleSTRING
LOW…stack/components/rankers/meta_field_grouping_ranker.py25 ### Usage exampleSTRING
LOWhaystack/components/query/query_expander.py65 ### Usage exampleSTRING
LOWhaystack/components/caching/cache_checker.py19 ### Usage exampleSTRING
LOWhaystack/components/extractors/regex_text_extractor.py23 ### Usage exampleSTRING
LOW…nts/extractors/image/llm_document_content_extractor.py81 ### Usage exampleSTRING
LOWhaystack/hooks/from_function.py139 ### Usage exampleSTRING
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHhaystack/core/component/component.py407 See module's docstring. Args: cls: the class that should be used as a component. Returns: STRING
HIGHhaystack/components/generators/chat/openai_responses.py117 Creates an instance of OpenAIResponsesChatGenerator. Uses OpenAI's gpt-5-mini by default. Before initiSTRING
HIGHhaystack/components/generators/chat/azure.py131 Initialize the Azure OpenAI Chat Generator component. :param azure_endpoint: The endpoint of the deploSTRING
HIGHhaystack/components/generators/chat/azure_responses.py107 Initialize the AzureOpenAIResponsesChatGenerator component. :param api_key: The API key to use for autSTRING
HIGHhaystack/components/generators/chat/openai.py135 Creates an instance of OpenAIChatGenerator. Unless specified otherwise in `model`, uses OpenAI's gpt-5-mini STRING
Structural Annotation Overuse9 hits · 20 pts
SeverityFileLineSnippetContext
LOWtest/components/agents/test_agent_hitl.py290 # Step 1: the model calls producer and consumer together (consumer relies on inputs_from_state for `value`).COMMENT
LOWtest/components/agents/test_agent_hitl.py291 # Step 2: a plain text reply ends the run.COMMENT
LOWtest/components/agents/test_agent.py1207 # Step 1: two parallel tool calls + usage with nested detail dicts.COMMENT
LOWtest/components/agents/test_agent.py1208 # Step 2: one more weather_tool call + flat usage.COMMENT
LOWtest/components/agents/test_agent.py1209 # Step 3: final text answer + usage.COMMENT
LOW…tack/components/preprocessors/csv_document_splitter.py256 # Step 1: Split by rowsCOMMENT
LOW…tack/components/preprocessors/csv_document_splitter.py259 # Step 2: Split by columnsCOMMENT
LOW…tack/components/preprocessors/csv_document_splitter.py264 # Step 3: Recursively reapply splitting checked by whether any new empty rows appear after column splitCOMMENT
LOWhaystack/telemetry/_environment.py92 # NOTE: The following items are set to default values and never populated.COMMENT
AI Structural Patterns19 hits · 19 pts
SeverityFileLineSnippetContext
LOWhaystack/document_stores/in_memory/document_store.py65CODE
LOW…k/components/preprocessors/markdown_header_splitter.py26CODE
LOWhaystack/components/preprocessors/document_splitter.py55CODE
LOW…tack/components/preprocessors/document_preprocessor.py34CODE
LOW…stack/components/preprocessors/python_code_splitter.py86CODE
LOWhaystack/components/preprocessors/document_cleaner.py42CODE
LOWhaystack/components/converters/pdfminer.py49CODE
LOWhaystack/components/converters/pypdf.py75CODE
LOWhaystack/components/agents/agent.py540CODE
LOWhaystack/components/embedders/azure_text_embedder.py37CODE
LOW…stack/components/embedders/openai_document_embedder.py42CODE
LOW…ystack/components/embedders/azure_document_embedder.py39CODE
LOWhaystack/components/embedders/openai_text_embedder.py39CODE
LOWhaystack/components/embedders/mock_document_embedder.py53CODE
LOW…ystack/components/generators/openai_image_generator.py35CODE
LOWhaystack/components/generators/chat/openai_responses.py102CODE
LOWhaystack/components/generators/chat/azure.py112CODE
LOWhaystack/components/generators/chat/azure_responses.py90CODE
LOWhaystack/components/generators/chat/openai.py121CODE
Verbosity Indicators9 hits · 18 pts
SeverityFileLineSnippetContext
LOWtest/components/agents/test_agent_hitl.py290 # Step 1: the model calls producer and consumer together (consumer relies on inputs_from_state for `value`).COMMENT
LOWtest/components/agents/test_agent_hitl.py291 # Step 2: a plain text reply ends the run.COMMENT
LOWtest/components/agents/test_agent.py1207 # Step 1: two parallel tool calls + usage with nested detail dicts.COMMENT
LOWtest/components/agents/test_agent.py1208 # Step 2: one more weather_tool call + flat usage.COMMENT
LOWtest/components/agents/test_agent.py1209 # Step 3: final text answer + usage.COMMENT
LOWhaystack/tools/parameters_schema_utils.py43 The purpose of this function is to help identify Callable types so they canSTRING
LOW…tack/components/preprocessors/csv_document_splitter.py256 # Step 1: Split by rowsCOMMENT
LOW…tack/components/preprocessors/csv_document_splitter.py259 # Step 2: Split by columnsCOMMENT
LOW…tack/components/preprocessors/csv_document_splitter.py264 # Step 3: Recursively reapply splitting checked by whether any new empty rows appear after column splitCOMMENT
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMscripts/generate_platform_components_table.py130# ── Component type helpers ────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_platform_components_table.py150# ── Docs-site link map ────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_platform_components_table.py191# ── Source-scanning helpers ───────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_platform_components_table.py245# ── Schema loading ────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_platform_components_table.py264# ── MDX generation ────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_platform_components_table.py328# ── Entry point ───────────────────────────────────────────────────────────────COMMENT
AI Slop Vocabulary6 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMtest/test_logging.py209 # Only check for the minute to be a bit more robustCOMMENT
LOWhaystack/core/pipeline/breakpoint.py293 # For other data types, just return the value as is.COMMENT
LOWhaystack/core/pipeline/base.py1219 # if we are resuming a component, the inputs are already consumed, so we just return the first inputCOMMENT
LOWhaystack/components/fetchers/link_content.py23 pass # nothing to import as we simply set the http2 attribute, library handles the restCODE
MEDIUMdocs-website/scripts/test_python_snippets.py296 # Prepend a line directive comment to facilitate mapping if neededCOMMENT
MEDIUM.clusterfuzzlite/build.sh20 # Ship a seed corpus if one exists for this harness. The runner unpacksCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md26- **Open the PR** — Use a [conventional commit](https://www.conventionalcommits.org/en/v1.0.0/) title, fill the [PR tempCODE
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/utils/test_callable_serialization.py42 def my_method(self):CODE
LOWhaystack/tools/from_function.py234 def my_function(): ...STRING
LOWhaystack/tools/from_function.py237 def my_function(): ...STRING
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpyproject.toml205# TODO: Fix testing typingsCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhaystack/tracing/logging_tracer.py80 # we make sure to log the operation name and tags of the span when the context manager exitsCOMMENT