Repository Analysis

langflow-ai/langflow

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

28.9 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of langflow-ai/langflow, a Python project with 152,716 GitHub stars. SynthScan v2.0 examined 1,398,783 lines of code across 7272 source files, recording 33086 pattern matches distributed across 28 syntactic categories. The overall adjusted score of 28.9 places this repository in the Moderate 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).

28.9
Adjusted Score
28.9
Raw Score
100%
Time Factor
2026-08-01
Last Push
152.7K
Stars
Python
Language
1.4M
Lines of Code
7.3K
Files
33.1K
Pattern Hits
2026-08-02
Scan Date
0.08
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 5HIGH 582MEDIUM 3063LOW 29436

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 33086 distinct pattern matches across 28 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 Identifiers17153 hits · 16183 pts
SeverityFileLineSnippetContext
LOWdocs/openapi/generate_openapi.py50def _collect_and_rewrite_defs(node: Any, collected: dict[str, Any]) -> None:CODE
LOWdocs/static/files/Conversational_Notion_Agent.json3035 "value": "from typing import Any, cast\n\nfrom langflow.custom import Component\nfrom langflow.inputs imCODE
LOWdocs/static/files/Conversational_Notion_Agent.json453 "value": "import json\nfrom typing import Dict, Any, Union\nfrom markdown import markdown\nfrom bs4 impoCODE
LOWdocs/static/files/Conversational_Notion_Agent.json741 "value": "import requests\nfrom typing import Dict, Union\nfrom pydantic import BaseModel, Field\nfrom lCODE
LOWdocs/static/files/Meeting_Notes_Agent.json2096 "value": "import json\nfrom typing import Dict, Any, Union\nfrom markdown import markdowCODE
LOWdocs/static/files/Meeting_Notes_Agent.json2377 "value": "import requests\nfrom typing import Dict, Union\nfrom pydantic import BaseModeCODE
LOWdocs/static/files/AssemblyAI_Flow.json743 "value": "import assemblyai as aai\n\nfrom langflow.custom import Component\nfrom langflCODE
LOWdocs/src/plugins/segment/data-attribute-tracking.js37function initializeDataAttributeTracking() {CODE
LOWdocs/src/components/CopyPageButton.tsx118async function copyCurrentPageAsMarkdown(): Promise<boolean> {CODE
LOWdocs/src/theme/SearchBar/index.js24function importDocSearchModalIfNeeded() {CODE
LOWdocs/src/theme/SearchBar/index.js74function useResultsFooterComponent({ closeModal }) {CODE
LOWscripts/check_changes_filter.py76def get_changed_files_from_stdin() -> list[str]:STRING
LOWscripts/migrate_secret_key.py83def read_secret_key_from_file(config_dir: Path) -> str | None:CODE
LOWscripts/build_component_index.py28def _normalize_for_determinism(obj):CODE
LOWscripts/ci/test_pypi_nightly_tag.py79def test_main_and_base_return_identical_version_given_offset_histories():CODE
LOWscripts/ci/test_pypi_nightly_tag.py89def test_aligned_histories_increment_by_one():CODE
LOWscripts/ci/test_pypi_nightly_tag.py101def test_first_ever_nightly_both_absent():CODE
LOWscripts/ci/test_pypi_nightly_tag.py105def test_base_version_bump_resets_counter():CODE
LOWscripts/ci/test_pypi_nightly_tag.py111def test_base_version_bump_with_some_new_series_releases():CODE
LOWscripts/ci/test_pypi_nightly_tag.py122def test_final_release_does_not_advance_counter():CODE
LOWscripts/ci/test_pypi_nightly_tag.py131def test_malformed_response_raises():CODE
LOWscripts/ci/test_pypi_nightly_tag.py143def test_higher_package_lookup_failure_aborts():CODE
LOWscripts/ci/test_pypi_nightly_tag.py151def test_network_error_raises():CODE
LOWscripts/ci/test_pypi_nightly_tag.py164def test_unparseable_version_string_is_skipped():CODE
LOWscripts/ci/test_pypi_nightly_tag.py168def test_invalid_build_type_raises():CODE
LOWscripts/ci/test_update_lf_base_dependency.py44def test_pins_bare_and_extras_lfx_to_exact_dev(pyproject: Path) -> None:CODE
LOWscripts/ci/test_update_lf_base_dependency.py61def test_idempotent_on_already_pinned(pyproject: Path) -> None:CODE
LOWscripts/ci/test_update_lf_base_dependency.py69def test_raises_when_no_lfx_dependency(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/test_update_lf_base_dependency.py77def test_pattern_skips_unrelated_packages(pyproject: Path) -> None:CODE
LOWscripts/ci/update_component_index_version.py12def update_component_index_version(index_path: str | Path, version: str) -> None:CODE
LOWscripts/ci/test_release_workflow.py21def test_finalized_bundles_do_not_influence_shared_rc_number() -> None:CODE
LOWscripts/ci/test_release_workflow.py29def test_bundle_build_only_restamps_unpublished_versions() -> None:CODE
LOWscripts/ci/test_release_workflow.py39def test_nightly_coordinates_base_from_tag_commit_through_publish() -> None:CODE
LOWscripts/ci/test_release_workflow.py56def test_release_docker_builds_consume_built_wheels() -> None:CODE
LOWscripts/ci/test_update_lfx_version.py51def test_nightly_rewrite_keeps_component_index_in_lockstep(nightly_tree: tuple[Path, Path]) -> None:CODE
LOWscripts/ci/update_lfx_version.py28def update_sdk_dependency_in_lfx(pyproject_path: str, sdk_version: str) -> None:CODE
LOWscripts/ci/test_update_lfx_pre_release_dependency.py4def test_preserves_lfx_extras_and_markers():CODE
LOWscripts/ci/test_update_lfx_pre_release_dependency.py20def test_rewrites_an_existing_release_range_idempotently():STRING
LOWscripts/ci/test_install_release_wheels.py25def test_main_installs_every_release_artifact(tmp_path: Path) -> None:CODE
LOWscripts/ci/test_install_release_wheels.py43def test_base_excludes_main_and_bundle_wheels(tmp_path: Path) -> None:CODE
LOWscripts/ci/test_install_release_wheels.py55def test_missing_required_wheel_fails_closed(tmp_path: Path) -> None:CODE
LOWscripts/ci/test_install_release_wheels.py62def test_install_release_wheels_installs_verifies_and_checks(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/test_install_release_wheels.py101def test_install_release_wheels_without_artifacts_is_a_noop(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/test_install_release_wheels.py113def test_restore_frontend_replaces_wheel_assets(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/test_install_release_wheels.py140def test_restore_frontend_rejects_source_target_collision(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/test_langflow_pre_release_tag.py19def test_ignores_unrelated_newer_pre_release_line():CODE
LOWscripts/ci/test_langflow_pre_release_tag.py23def test_increments_same_base_rc_with_or_without_dot():CODE
LOWscripts/ci/test_langflow_pre_release_tag.py32def test_shared_rc_number_floor_applies_to_other_package_base():CODE
LOWscripts/ci/test_langflow_pre_release_tag.py36def test_shared_rc_number_floor_does_not_regress_existing_higher_rc():CODE
LOWscripts/ci/test_langflow_pre_release_tag.py40def test_cli_reads_released_versions_from_stdin():CODE
LOWscripts/ci/test_langflow_pre_release_tag.py51def test_unparseable_versions_are_skipped():CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py593 async def _run_list_snapshots_by_ids(self, snapshot_ids: list[str]) -> tuple[str, str, Any | None]:CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py599 async def _run_list_snapshots_by_names(self, snapshot_names: list[str]) -> tuple[str, str, Any | None]:CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py605 async def _run_list_configs_with_params(CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py1680 def _parse_create_provider_result_payload(self, provider_result: Any) -> WatsonxDeploymentCreateResultData:CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py1696 def _extract_create_snapshot_ids(self, create_provider_result: WatsonxDeploymentCreateResultData) -> set[str]:CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py1705 def _extract_create_tool_ref_map(CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py1731 def _extract_update_snapshot_ids(self, update_result: Any) -> set[str]:CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py1741 def _extract_update_added_snapshot_ids(self, update_result: Any) -> set[str]:CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py1751 def _extract_update_created_app_ids(self, update_result: Any) -> set[str]:CODE
17093 more matches not shown…
Decorative Section Separators2180 hits · 8032 pts
SeverityFileLineSnippetContext
MEDIUMscripts/migrate/check_router_trust.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py66# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py105# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py107# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py163# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py165# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py393# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py395# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py558# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py560# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py605# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py607# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py774# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py776# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1045# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1047# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1119# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1121# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1229# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1231# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py146# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py148# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py347# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py349# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1583# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1585# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1617# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1619# ---------------------------------------------------------------------------STRING
MEDIUMscripts/gp/tests/test_gp_client.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py14# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py67# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py69# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py149# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py151# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py191# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py193# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py241# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py243# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py330# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py332# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py630# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py632# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py656# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py658# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py769# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py771# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py911# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py913# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py952# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py954# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py1142# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py1144# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py91# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py93# ===================================================================COMMENT
2120 more matches not shown…
Fake / Example Data5788 hits · 4017 pts
SeverityFileLineSnippetContext
LOWdocs/static/files/Conversational_Notion_Agent.json3030 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json429 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json448 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json468 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json489 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json584 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json600 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json620 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json640 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json736 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json752 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json772 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json867 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json883 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json903 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json923 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1018 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1037 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1131 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1150 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1166 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1263 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1282 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1302 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1318 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1338 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1434 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1453 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1469 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1490 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1607 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1629 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1650 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1666 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1688 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1710 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1727 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1749 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1771 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1788 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1887 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1910 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1929 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1949 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1969 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1993 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2015 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2038 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2061 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2080 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2102 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2201 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2224 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2245 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2287 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2309 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2333 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2356 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2379 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2398 "placeholder": "",CODE
5728 more matches not shown…
Unused Imports2972 hits · 2678 pts
SeverityFileLineSnippetContext
LOWdocs/openapi/generate_openapi.py13CODE
LOWscripts/generate_migration.py3CODE
LOWscripts/generate_migration.py4CODE
LOWscripts/generate_migration.py5CODE
LOWscripts/generate_migration.py6CODE
LOWscripts/generate_migration.py7CODE
LOWscripts/generate_migration.py8CODE
LOWscripts/generate_migration.py9CODE
LOWscripts/generate_migration.py11CODE
LOWscripts/lint/check_component_env_writes.py33CODE
LOWscripts/ci/langflow_pre_release_tag.py3CODE
LOWscripts/ci/check_components_frozen.py19CODE
LOWscripts/ci/update_component_index_version.py3CODE
LOWscripts/ci/test_release_workflow.py3CODE
LOWscripts/ci/install_release_wheels.py10CODE
LOWscripts/ci/test_update_lfx_version.py3CODE
LOWscripts/ci/sync_bundle_lfx_pin.py39CODE
LOWscripts/ci/update_starter_projects.py6CODE
LOWscripts/ci/test_install_release_wheels.py3CODE
LOWscripts/ci/update_lfx_pre_release_dependency.py3CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py128CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py102CODE
LOWscripts/migrate/check_router_trust.py56CODE
LOWscripts/migrate/consolidate_bundles.py28CODE
LOWscripts/migrate/check_bare_names.py34CODE
LOWscripts/migrate/check_bundle_api_changelog.py29CODE
LOWscripts/migrate/port_bundle.py100CODE
LOWscripts/migrate/check_migration_append_only.py27CODE
LOWscripts/gp/check_backend_status.py12CODE
LOWscripts/gp/upload.py8CODE
LOWscripts/gp/download.py8CODE
LOWscripts/gp/bake_note_keys.py21CODE
LOWscripts/gp/extract_backend_strings.py26CODE
LOWscripts/a11y/a11y_scan.py5CODE
LOWsrc/lfx/tests/conftest.py44CODE
LOWsrc/lfx/tests/unit/test_flow_requirements.py3CODE
LOWsrc/lfx/tests/unit/test_fork.py3CODE
LOWsrc/lfx/tests/unit/test_preload.py8CODE
LOWsrc/lfx/tests/unit/test_check_components_frozen.py16CODE
LOWsrc/lfx/tests/unit/test_testing_plugin.py6CODE
LOWsrc/lfx/tests/unit/test_process.py11CODE
LOWsrc/lfx/tests/unit/test_safe_provider.py12CODE
LOW…c/lfx/tests/unit/test_flow_builder_custom_node_type.py20CODE
LOWsrc/lfx/tests/unit/test_patch_regexes.py8CODE
LOW…/interface/test_loading_custom_component_code_param.py8CODE
LOWsrc/lfx/tests/unit/interface/test_listing.py3CODE
LOW…x/tests/unit/interface/test_loading_no_env_fallback.py3CODE
LOWsrc/lfx/tests/unit/upgrade/test_upgrade_real_flows.py18CODE
LOWsrc/lfx/tests/unit/extension/test_registry.py14CODE
LOWsrc/lfx/tests/unit/extension/test_errors.py3CODE
LOW…ts/unit/extension/test_components_cache_integration.py15CODE
LOW…/tests/unit/extension/test_components_path_settings.py9CODE
LOWsrc/lfx/tests/unit/extension/test_reload_cli.py3CODE
LOWsrc/lfx/tests/unit/extension/test_init_template.py14CODE
LOWsrc/lfx/tests/unit/extension/test_manifest.py3CODE
LOWsrc/lfx/tests/unit/extension/test_schema.py7CODE
LOWsrc/lfx/tests/unit/extension/test_discovery.py19CODE
LOWsrc/lfx/tests/unit/extension/test_discovery.py73CODE
LOWsrc/lfx/tests/unit/extension/test_discovery.py75CODE
LOWsrc/lfx/tests/unit/extension/test_reload.py21CODE
2912 more matches not shown…
Self-Referential Comments580 hits · 1903 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/docker-compose.yml52 # Define the port inside of the Docker service to useCOMMENT
MEDIUMscripts/factory_restart_space.py40# Create an instance of the HfApi class to interact with the Hugging Face Hub.COMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp_spot.sh29# Create a firewall rule to allow TCP port 7860 for all instances in the VPCCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp_spot.sh35# Create a firewall rule to allow IAP trafficCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp_spot.sh41# Define the startup script as a multiline Bash here-docCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp_spot.sh56# Create a temporary file to store the startup scriptCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp_spot.sh60# Create the VM instance with the specified configuration and startup scriptCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp.sh29# Create a firewall rule to allow TCP port 7860 for all instances in the VPCCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp.sh35# Create a firewall rule to allow IAP trafficCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp.sh41# Define the startup script as a multiline Bash here-docCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp.sh58# Create a temporary file to store the startup scriptCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp.sh62# Create the VM instance with the specified configuration and startup scriptCOMMENT
MEDIUM.github/workflows/db-migration-validation.yml120 # Create a witness flow (proves row persistence)COMMENT
MEDIUM.github/workflows/db-migration-validation.yml137 # Create a witness credential (type=Credential stores encrypted value, exercises encrypted-column migrations)COMMENT
MEDIUM.github/workflows/typescript_test.yml70 # Define the directory where Playwright browsers will be installed.COMMENT
MEDIUM.github/workflows/typescript_test.yml259 # Create the matrix combinations stringCOMMENT
MEDIUM.github/workflows/a11y-scan.yml23 # Define the directory where Playwright browsers will be installed.COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py640 assert "# This file contains" in txtCODE
MEDIUMsrc/lfx/tests/unit/test_component_index.py146 # Create the directory structureCOMMENT
MEDIUMsrc/lfx/tests/unit/memory/test_memory.py274 # Create a larger batch to test performanceCOMMENT
MEDIUMsrc/lfx/tests/unit/config/test_environments.py236 # Create a git boundary so it doesn't walk up furtherSTRING
MEDIUMsrc/lfx/tests/unit/graph/graph/test_utils.py224 # Create a graph with 50 nodes that definitely contains cyclesCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_utils.py351 # Define the graph with multiple cyclesCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_utils.py358 # Define the graph with a single cycleCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_utils.py857 # Define a graph with the specified structureCOMMENT
MEDIUM…/lfx/tests/unit/graph/graph/test_subgraph_isolation.py18 # Create a simple graph: chat_input -> text_output -> chat_outputCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py148 # Create a simple linear graph structure:COMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py293 # Create a simple graph with two components and a flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py326 # Create a simple graph with two components and a flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py362 # Create a simple graph with flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py385 # Create a simple graph with flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py301 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py58 # Create a mock graphCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py338 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py376 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py404 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_lazy_imports.py119 # Create a test script with a graph variableCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_lazy_imports.py137 # Create a test script with get_graph functionCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py64 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py83 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py118 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py151 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py178 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py201 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py231 # Create a mock graph with invalid variableCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py256 # Create a mock graph with invalid variableCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve_app.py1355 # Create a mock result that mimics the real structureCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve_app.py1987 # Create a real message output scenarioCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve.py123 # Create a temporary JSON flow fileCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve.py144 # Create a mock graphCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve.py198 # Create a mock graphCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py129 # Create a real graph with ChatInput and ChatOutputCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py149 # Create a graph with only ChatOutput, no ChatInputCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py161 # Create a graph with only ChatInput, no ChatOutputCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py269 # Create a real Message objectCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py277 # Create a minimal mock for the vertex structureCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py303 # Create a real Message objectCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py311 # Create a minimal mock for the vertex structureCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py364 # Create a real Message objectCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py394 # Create a real Message objectCOMMENT
520 more matches not shown…
Cross-File Repetition304 hits · 1520 pts
SeverityFileLineSnippetContext
HIGHscripts/test_validator.py0from alembic import op import sqlalchemy as sa def upgrade(): bind = op.get_bind() inspector = sa.inspect(bind) columns STRING
HIGH…backend/tests/unit/alembic/test_existing_migrations.py0from alembic import op import sqlalchemy as sa def upgrade(): bind = op.get_bind() inspector = sa.inspect(bind) columns STRING
HIGH…backend/tests/unit/alembic/test_migration_validator.py0from alembic import op import sqlalchemy as sa def upgrade(): bind = op.get_bind() inspector = sa.inspect(bind) columns STRING
HIGHscripts/ci/update_pyproject_name.py0update the langflow-base dependency in pyproject.toml.STRING
HIGHscripts/ci/update_uv_dependency.py0update the langflow-base dependency in pyproject.toml.STRING
HIGHscripts/ci/update_lf_base_dependency.py0update the langflow-base dependency in pyproject.toml.STRING
HIGHsrc/lfx/tests/unit/test_propose_field_edit.py0\ name: updated flow nodes: a: chatinput b: languagemodelcomponent c: chatoutput edges: a.message -> b.input_value b.texSTRING
HIGHsrc/lfx/tests/unit/test_build_flow_from_spec.py0\ name: updated flow nodes: a: chatinput b: languagemodelcomponent c: chatoutput edges: a.message -> b.input_value b.texSTRING
HIGHsrc/backend/tests/unit/api/v1/test_mcp_client_server.py0\ name: updated flow nodes: a: chatinput b: languagemodelcomponent c: chatoutput edges: a.message -> b.input_value b.texSTRING
HIGHsrc/lfx/tests/unit/extension/migration/test_rewrite.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…/integration/extension/test_pilot_nextplaid_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…/tests/integration/extension/test_pilot_exa_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…integration/extension/test_pilot_duckduckgo_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…sts/integration/extension/test_pilot_paddle_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…ests/integration/extension/test_pilot_arxiv_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…/tests/integration/extension/test_pilot_ibm_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…sts/integration/extension/test_pilot_oracle_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…/integration/extension/test_pilot_firecrawl_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…ntegration/extension/test_pilot_empiriolabs_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGHsrc/lfx/tests/unit/utils/test_ssrf_requests.py0socket.getaddrinfo stub: hostnames resolve to a public ip, literal ips to themselves.STRING
HIGH…ts/unit/components/models_and_agents/test_a2a_agent.py0socket.getaddrinfo stub: hostnames resolve to a public ip, literal ips to themselves.STRING
HIGHsrc/backend/tests/unit/components/tools/test_searxng.py0socket.getaddrinfo stub: hostnames resolve to a public ip, literal ips to themselves.STRING
HIGH…/backend/tests/unit/components/data_source/test_rss.py0socket.getaddrinfo stub: hostnames resolve to a public ip, literal ips to themselves.STRING
HIGH…unit/components/langchain_utilities/test_json_agent.py0return the file names mapping for different versions.STRING
HIGH…/unit/components/langchain_utilities/test_csv_agent.py0return the file names mapping for different versions.STRING
HIGHsrc/backend/tests/base.py0return the file names mapping for different versions.STRING
HIGH…nit/components/models_and_agents/test_mcp_component.py0return the file names mapping for different versions.STRING
HIGH…ponents/embeddings/test_ollama_embeddings_component.py0return the file names mapping for different versions.STRING
HIGH…unit/components/processing/test_save_file_component.py0return the file names mapping for different versions.STRING
HIGH…ponents/processing/test_data_to_dataframe_component.py0return the file names mapping for different versions.STRING
HIGH…nit/components/processing/test_split_text_component.py0return the file names mapping for different versions.STRING
HIGH…nts/vectorstores/test_chroma_vector_store_component.py0return the file names mapping for different versions.STRING
HIGH…sts/unit/components/vectorstores/test_mongodb_atlas.py0return the file names mapping for different versions.STRING
HIGH…t/components/bundles/chroma/test_local_db_component.py0return the file names mapping for different versions.STRING
HIGH…mponents/bundles/elastic/test_opensearch_multimodal.py0return the file names mapping for different versions.STRING
HIGH…s/bundles/youtube/test_youtube_transcript_component.py0return the file names mapping for different versions.STRING
HIGHsrc/lfx/tests/unit/base/data/test_storage_utils.py0test getting size of non-existent file raises filenotfounderror.STRING
HIGH…ts/unit/services/storage/test_local_storage_service.py0test getting size of non-existent file raises filenotfounderror.STRING
HIGH…d/tests/integration/storage/test_s3_storage_service.py0test getting size of non-existent file raises filenotfounderror.STRING
HIGH…/integration/extension/test_pilot_nextplaid_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
HIGH…/tests/integration/extension/test_pilot_exa_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
HIGH…integration/extension/test_pilot_duckduckgo_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
HIGH…ests/integration/extension/test_pilot_arxiv_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
HIGH…/tests/integration/extension/test_pilot_ibm_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
HIGH…sts/integration/extension/test_pilot_oracle_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
HIGH…/integration/extension/test_pilot_nextplaid_upgrade.py0a pre-extraction flow saved with the dotted import path upgrades cleanly.STRING
HIGH…/tests/integration/extension/test_pilot_exa_upgrade.py0a pre-extraction flow saved with the dotted import path upgrades cleanly.STRING
HIGH…ests/integration/extension/test_pilot_arxiv_upgrade.py0a pre-extraction flow saved with the dotted import path upgrades cleanly.STRING
HIGH…/tests/integration/extension/test_pilot_ibm_upgrade.py0a pre-extraction flow saved with the dotted import path upgrades cleanly.STRING
HIGH…sts/integration/extension/test_pilot_oracle_upgrade.py0a pre-extraction flow saved with the dotted import path upgrades cleanly.STRING
HIGH…/integration/extension/test_pilot_nextplaid_upgrade.py0package-level import-path form (re-exported by ``__init__.py``) also upgrades.STRING
HIGH…/tests/integration/extension/test_pilot_exa_upgrade.py0package-level import-path form (re-exported by ``__init__.py``) also upgrades.STRING
HIGH…ests/integration/extension/test_pilot_arxiv_upgrade.py0package-level import-path form (re-exported by ``__init__.py``) also upgrades.STRING
HIGH…/tests/integration/extension/test_pilot_ibm_upgrade.py0package-level import-path form (re-exported by ``__init__.py``) also upgrades.STRING
HIGH…sts/integration/extension/test_pilot_oracle_upgrade.py0package-level import-path form (re-exported by ``__init__.py``) also upgrades.STRING
HIGH…/integration/extension/test_pilot_nextplaid_upgrade.py0``importlib.metadata`` can find ``extension.json`` for the installed dist.STRING
HIGH…sts/integration/extension/test_pilot_cohere_upgrade.py0``importlib.metadata`` can find ``extension.json`` for the installed dist.STRING
HIGH…s/integration/extension/test_pilot_datastax_upgrade.py0``importlib.metadata`` can find ``extension.json`` for the installed dist.STRING
HIGH…sts/integration/extension/test_pilot_valkey_upgrade.py0``importlib.metadata`` can find ``extension.json`` for the installed dist.STRING
HIGH…/integration/extension/test_pilot_anthropic_upgrade.py0``importlib.metadata`` can find ``extension.json`` for the installed dist.STRING
244 more matches not shown…
Excessive Try-Catch Wrapping1437 hits · 1420 pts
SeverityFileLineSnippetContext
MEDIUM…ls/backend-code-review/references/architecture-rule.md200 print(f"Error: {e}")CODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOWscripts/generate_migration.py247 except Exception as e:STRING
LOWscripts/test-api-examples-local.sh232 except Exception:CODE
LOWscripts/test-api-examples-local.sh242except Exception as exc:CODE
MEDIUMscripts/check_changes_filter.py161 print(f"Error: Filter file not found at {filter_file}")CODE
MEDIUMscripts/migrate_secret_key.py250 print("Error: Could not find current secret key.")CODE
MEDIUMscripts/migrate_secret_key.py264 print("Error: Old and new secret keys are the same")CODE
MEDIUMscripts/migrate_secret_key.py478 print("Error: Could not determine database URL.")STRING
LOWscripts/build_component_index.py87 except Exception as e:CODE
LOWscripts/build_component_index.py169 except Exception as e: # noqa: BLE001CODE
LOWscripts/check_deprecated_imports.py64 except Exception as e: # noqa: BLE001CODE
MEDIUMscripts/check_deprecated_imports.py85 print(f"Error: Components directory not found at {lfx_components}", file=sys.stderr)CODE
LOWscripts/check_deprecated_imports.py105 except Exception as e: # noqa: BLE001CODE
MEDIUMscripts/check_deprecated_imports.py107 print(f"Error: {e}", file=sys.stderr)CODE
LOWscripts/ci/test_pypi_nightly_tag.py180 except Exception as exc: # noqa: BLE001CODE
LOWscripts/ci/test_langflow_pre_release_tag.py61 except Exception as exc: # noqa: BLE001CODE
MEDIUM…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py640def _run_list_types(self) -> tuple[str, str, Any | None]:CODE
MEDIUM…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py660def _run_list_llms(self) -> tuple[str, str, Any | None]:CODE
MEDIUM…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py811def _run_teardown(self) -> tuple[str, str, Any | None]:CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py1686 except Exception: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py467 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py495 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py515 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py549 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py582 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py629 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py655 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py675 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py698 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py728 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py758 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py782 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py806 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py826 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py846 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py875 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py895 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py935 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py309 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py315 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py321 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py1769 except Exception: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py1973 except Exception as exc:CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py994 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py1632 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py1648 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py1697 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py1719 except Exception as exc: # noqa: BLE001CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py1742 except Exception as exc: # noqa: BLE001CODE
LOWscripts/gp/check_backend_status.py81 except Exception as e: # noqa: BLE001CODE
LOWscripts/gp/download.py64 except Exception as e: # noqa: BLE001CODE
LOWscripts/gp/download.py91 except Exception as e: # noqa: BLE001CODE
1377 more matches not shown…
Docstring Block Structure175 hits · 875 pts
SeverityFileLineSnippetContext
HIGH…ls/backend-code-review/references/architecture-rule.md176Convert timestamp to standardized string format. Args: timestamp: Input timestamp as datetime objecSTRING
HIGH…tests/integration/cli/test_simple_agent_integration.py77Parse JSON from command output, searching in reverse if direct parsing fails. Args: output: The command outSTRING
HIGHsrc/lfx/src/lfx/extension/reload.py229Reload one Bundle into ``registry`` via the five-stage atomic swap. Args: registry: The live :class:`BundleSTRING
HIGHsrc/lfx/src/lfx/extension/migration/rewrite.py421Rewrite legacy component references in ``payload`` in place. Args: payload: The flow payload as produced bySTRING
HIGHsrc/lfx/src/lfx/memory/stubs.py22Store a message in the memory. Args: message (Message): The message to store. flow_id (Optional[strSTRING
HIGHsrc/lfx/src/lfx/memory/stubs.py103DEPRECATED: Stores a message in the memory. DEPRECATED: Use `astore_message` instead. Args: message (MSTRING
HIGHsrc/lfx/src/lfx/memory/stubs.py124Update stored messages. Args: messages: Message or list of messages to update. Returns: List[MSTRING
HIGHsrc/lfx/src/lfx/graph/graph/state_model.py12Create a Pydantic state model from a graph representation. This function generates a Pydantic model that representsSTRING
HIGHsrc/lfx/src/lfx/graph/graph/utils.py819Sorts the vertices so that chat inputs come first in the layers. Only one chat input is allowed in the entire graphSTRING
HIGHsrc/lfx/src/lfx/graph/graph/base.py1812Builds a vertex in the graph. Args: vertex_id (str): The ID of the vertex to build. getSTRING
HIGHsrc/lfx/src/lfx/graph/state/model.py40Builds an output getter function for a given method in a graph component. This function creates a new callable thatSTRING
HIGHsrc/lfx/src/lfx/graph/state/model.py92Build an output setter function for a given method in a graph component. This function creates a new callable that,STRING
HIGHsrc/lfx/src/lfx/graph/state/model.py140Create a dynamic Pydantic state model based on the provided keyword arguments. This function generates a Pydantic mSTRING
HIGHsrc/lfx/src/lfx/utils/ssrf_requests.py46Perform a GET request with SSRF validation on the initial URL and every redirect hop. Automatic redirect following STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py227Resolve a hostname to its IP addresses. Args: hostname: Hostname to resolve Returns: list[str]STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py280Validate that hostname exists in the URL. Args: hostname: Hostname to validate (may be None) Returns: STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py298Validate a direct IP address in the URL. Args: hostname: Hostname that may be an IP address Returns: STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py540Validate a connector URL and return IPs for DNS-pinned HTTP clients. This applies the same connector policy as :funSTRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py726Validate URL for SSRF and return validated IP addresses for DNS pinning. This function is the core of DNS pinning-bSTRING
HIGHsrc/lfx/src/lfx/utils/file_path_security.py138Ensure a local path is inside the current user/flow storage scope when restricted. Symlinks are resolved before theSTRING
HIGHsrc/lfx/src/lfx/utils/mustache_security.py64Safely render a mustache template with only simple variable substitution. This function performs a single-pass replSTRING
HIGHsrc/lfx/src/lfx/utils/helpers.py15Get the MIME type of a file based on its extension. Args: file_path: Path to the file Returns: STRING
HIGHsrc/lfx/src/lfx/utils/image.py16Convert an image file to a base64 encoded string. Handles both local files and S3 storage paths. Args: STRING
HIGHsrc/lfx/src/lfx/utils/image.py53Create a data URL from an image file. Args: image_path: Path to the image file (local or S3 path like "flowSTRING
HIGHsrc/lfx/src/lfx/utils/image.py80Create a content dictionary for multimodal inputs from an image file. Args: image_path: Path to the image fSTRING
HIGHsrc/lfx/src/lfx/cli/serve_app.py542Consumes events from a queue and yields them to the client while tracking timing metrics. This coroutine continuousSTRING
HIGHsrc/lfx/src/lfx/cli/common.py228Download a Python script from a URL and save it to a temporary file. Args: url: URL to download the script STRING
HIGHsrc/lfx/src/lfx/cli/common.py279Validate script path or URL and return file extension and resolved path. Args: script_path: Path to the scrSTRING
HIGHsrc/lfx/src/lfx/cli/common.py322Load a graph from a Python script or JSON file. Args: script_path: Path to the script file file_extSTRING
HIGHsrc/lfx/src/lfx/cli/common.py397Execute a graph and capture output. Args: graph: Graph object to execute input_value: Input value tSTRING
HIGHsrc/lfx/src/lfx/schema/validators.py25Convert timestamp to standardized string format. Handles multiple input formats and ensures consistent UTC timezoneSTRING
HIGHsrc/lfx/src/lfx/schema/validators.py60Convert timestamp to datetime object. Handles multiple input formats and ensures consistent UTC timezone output. STRING
HIGHsrc/lfx/src/lfx/schema/validators.py89Convert timestamp to string format including fractional seconds. Handles multiple input formats and ensures consistSTRING
HIGHsrc/lfx/src/lfx/schema/dotdict.py17Override dot access to behave like dictionary lookup. Automatically convert nested dicts to dotdicts. Args: STRING
HIGH…x/components/models_and_agents/policies/llm_wrapper.py94Generate a response from the language model. Args: messages: List of message dicts with 'role' and STRING
HIGHsrc/lfx/src/lfx/components/data_source/url.py247Ensures the given string is a valid URL and returns validated IPs for DNS pinning. Args: url: The USTRING
HIGH…fx/src/lfx/components/agentics/helpers/model_config.py16Validate and extract model name and provider from component input. Ensures the model selection is properly formatteSTRING
HIGH…c/lfx/src/lfx/components/agentics/helpers/llm_setup.py22Prepare and configure an LLM instance from component settings. Extracts model selection, validates configuration, rSTRING
HIGH…lfx/src/lfx/components/agentics/helpers/llm_factory.py35Create and configure an LLM instance for the specified provider. Args: provider: The LLM provider name (e.gSTRING
HIGH…x/components/files_ingestion/file_content_retriever.py384Retrieve file content as text. Args: file_path: The full file path as a string (e.g., '/path/to/filSTRING
HIGH…x/components/files_ingestion/file_content_retriever.py429Retrieve file content as a DataFrame for tabular data files. Args: file_path: The full file path asSTRING
HIGHsrc/lfx/src/lfx/load/utils.py12Upload a file to Langflow and return the file path. The upload endpoint now requires authentication (see Langflow STRING
HIGHsrc/lfx/src/lfx/load/utils.py56Upload a file to Langflow and return the file path. Args: file_path (str): The path to the file to be uploaSTRING
HIGHsrc/lfx/src/lfx/load/load.py33Load a flow graph from a JSON file or a JSON object. Args: flow (Union[Path, str, dict]): The flow to load.STRING
HIGHsrc/lfx/src/lfx/load/load.py110Load a flow graph from a JSON file or a JSON object. Args: flow (Union[Path, str, dict]): The flow to load.STRING
HIGHsrc/lfx/src/lfx/run/base.py219Execute a Langflow graph script or JSON flow and return the result. This function analyzes and executes either a PySTRING
HIGHsrc/lfx/src/lfx/custom/validate.py195Dynamically create a class from a string of code and a specified class name. Args: code: String containing STRING
HIGHsrc/lfx/src/lfx/custom/validate.py330Prepares the global scope with necessary imports from the provided code module. Args: module: AST parsed moSTRING
HIGHsrc/lfx/src/lfx/custom/validate.py526Extract the name of the first Component subclass found in the code. Args: code (str): The source code to paSTRING
HIGHsrc/lfx/src/lfx/custom/utils.py44Generate a hash of the component source code. Args: source_code: The source code string modname: ThSTRING
HIGH…fx/src/lfx/custom/custom_component/custom_component.py280Converts input data into a list of Data objects. Args: data (Any): The input data to be converted. STRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py531Connects the component to other components or sets parameters and attributes. Args: **kwargs: KeywoSTRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py574Retrieves the value of the input with the specified name. Args: name (str): The name of the input. STRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py591Retrieves the output with the specified name. Args: name (str): The name of the output to retrieve.STRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py623Maps the given list of outputs to the component. Args: outputs (List[Output]): The list of outputs STRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py817Find the output method from the given component and input name. Find the output method from the given componentSTRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py1853Send a message with optional database update control. This is the central method for sending messages in LangflSTRING
HIGHsrc/lfx/src/lfx/helpers/flow.py94Lists flows for the given user and in the same folder as the specified flow. Retrieves all flows belonging to the gSTRING
HIGHsrc/lfx/src/lfx/helpers/flow.py162Lists flows for the given user and in the same folder as the specified folder. Retrieves all flows belonging to theSTRING
HIGHsrc/lfx/src/lfx/helpers/data.py73Format text from Data objects using a template string. This function processes Data objects and formats their conteSTRING
115 more matches not shown…
Redundant / Tautological Comments415 hits · 591 pts
SeverityFileLineSnippetContext
LOWdocs/static/files/Conversational_Notion_Agent.json3035 "value": "from typing import Any, cast\n\nfrom langflow.custom import Component\nfrom langflow.inputs imCODE
LOWdocs/static/files/AssemblyAI_Flow.json225 "value": "import os\n\nimport assemblyai as aai\nfrom loguru import logger\n\nfrom langfCODE
LOWscripts/generate_migration.py81 # Check if column has dataSTRING
LOWscripts/generate_coverage_config.py62 # Check if file contains 'legacy = True'COMMENT
LOWscripts/factory_restart_space.py30# Check if the space name is provided; exit with an error message if not.COMMENT
LOWscripts/factory_restart_space.py35# Check if the API token is provided; exit with an error message if not.COMMENT
LOWscripts/release-lfx.sh68# Check if we're in the right directoryCOMMENT
LOWscripts/ci/update_uv_dependency.py27 # Check if the pattern is foundCOMMENT
LOWscripts/ci/update_lf_base_dependency.py25 # Check if the pattern is foundCOMMENT
LOWscripts/ci/update_lf_base_dependency.py59 # Check if the pattern is foundCOMMENT
LOWscripts/setup/check_env.sh16# Check if Python version is compatibleCOMMENT
LOWscripts/gcp/deploy_langflow_gcp_spot.sh17# Check if the VPC exists, and create it if notCOMMENT
LOWscripts/gcp/deploy_langflow_gcp_spot.sh23# Check if the subnet exists, and create it if notCOMMENT
LOWscripts/gcp/deploy_langflow_gcp.sh17# Check if the VPC exists, and create it if notCOMMENT
LOWscripts/gcp/deploy_langflow_gcp.sh23# Check if the subnet exists, and create it if notCOMMENT
LOW.github/workflows/release.yml96 # Check if the input exists as a tagCOMMENT
LOW.github/workflows/release.yml104 # Check if the input also exists as a branch (warn if so, but don't fail)COMMENT
LOW.github/workflows/release.yml531 # Check if langflow-sdk exists on PyPI (may be first release)COMMENT
LOW.github/workflows/release.yml855 # Check if the server is still runningCOMMENT
LOW.github/workflows/release.yml1002 # Check if the server is still runningCOMMENT
LOW.github/workflows/release_nightly.yml231 # Check if the server is still runningCOMMENT
LOW.github/workflows/release_nightly.yml326 # Check if the server is still runningCOMMENT
LOW.github/workflows/python_test.yml259 # Check if the server is still runningCOMMENT
LOW.github/workflows/release-lfx.yml77 # Check if version already exists on PyPICOMMENT
LOW.github/workflows/deploy-docs-draft.yml34 # Check if branch names contain invalid characters. Only alphanumeric, _, -, ., and / are allowed.COMMENT
LOW.github/workflows/deploy-docs-draft.yml52 # Check if input_branch starts with "refs/heads/"COMMENT
LOW.github/workflows/ci.yml133 # Check if response is valid JSON before proceedingCOMMENT
LOW.github/workflows/ci.yml163 # Check if the release date is todayCOMMENT
LOWsrc/lfx/tests/conftest.py39 # Check if langflow is installed first - fail fastCOMMENT
LOWsrc/lfx/tests/unit/graph/graph/test_cycles.py333 # Check if the max_iterations logic is workingCOMMENT
LOWsrc/lfx/tests/unit/schema/test_schema_data_set.py80 # Check if data is preservedCOMMENT
LOW…tests/integration/cli/test_simple_agent_integration.py335 # Check if process exitedCOMMENT
LOW…tests/integration/cli/test_simple_agent_integration.py363 # Check if server switched to a different portCOMMENT
LOWsrc/lfx/tests/data/MemoryChatbotNoLLM.json1014 "value": "from typing import Any, cast\n\nfrom lfx.custom import Component\nfrom lfx.inputs import HandlCODE
LOWsrc/lfx/tests/data/LoopTest.json486 "value": "from lfx.custom import Component\nfrom lfx.io import DataInput, Output\nfrom lfx.schema importCODE
LOW…tests/data/starter_projects_1_6_0/Market Research.json1685 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…s/data/starter_projects_1_6_0/Knowledge Ingestion.json788 "value": "from __future__ import annotations\n\nimport asyncio\nimport contextlib\nimport hashlib\nimporCODE
LOW…ta/starter_projects_1_6_0/Text Sentiment Analysis.json1321 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…ta/starter_projects_1_6_0/Text Sentiment Analysis.json1617 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…ta/starter_projects_1_6_0/Text Sentiment Analysis.json1912 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/tests/data/starter_projects_1_6_0/Memory Chatbot.json858 "value": "from typing import Any, cast\n\nfrom langflow.custom.custom_component.component import ComponeCODE
LOW…/tests/data/starter_projects_1_6_0/Memory Chatbot.json1217 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json2108 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
LOW…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json1137 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json1431 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…ests/data/starter_projects_1_6_0/Vector Store RAG.json2986 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
LOW…ests/data/starter_projects_1_6_0/Vector Store RAG.json3775 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
LOW…ests/data/starter_projects_1_6_0/Vector Store RAG.json2614 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…tests/data/starter_projects_1_6_0/Basic Prompting.json851 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…lfx/tests/data/starter_projects_1_6_0/Blog Writer.json1331 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…a/starter_projects_1_6_0/Twitter Thread Generator.json1778 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/tests/data/starter_projects_1_6_0/Research Agent.json1892 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/tests/data/starter_projects_1_6_0/Research Agent.json2185 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/starter_projects_1_6_0/Research Translation Loop.json1249 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/data/starter_projects_1_6_0/Instagram Copywriter.json2573 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/data/starter_projects_1_6_0/Instagram Copywriter.json2867 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…ta/starter_projects_1_6_0/Financial Report Parser.json926 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…tests/data/starter_projects_1_6_0/Meeting Summary.json1508 "value": "from typing import Any, cast\n\nfrom langflow.custom.custom_component.component import ComponeCODE
LOW…tests/data/starter_projects_1_6_0/Meeting Summary.json2270 "value": "from pathlib import Path\n\nimport assemblyai as aai\n\nfrom langflow.custom.custom_component.CODE
LOW…tests/data/starter_projects_1_6_0/Meeting Summary.json2768 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
355 more matches not shown…
Deep Nesting664 hits · 556 pts
SeverityFileLineSnippetContext
LOWscripts/migrate_secret_key.py162CODE
LOWscripts/migrate_secret_key.py225CODE
LOWscripts/check_deprecated_imports.py19CODE
LOWscripts/lint/check_component_env_writes.py86CODE
LOWscripts/lint/check_component_env_writes.py141CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py3279CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py887CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py975CODE
LOWscripts/migrate/check_router_trust.py300CODE
LOWscripts/migrate/check_router_trust.py398CODE
LOWscripts/migrate/check_router_trust.py520CODE
LOWscripts/migrate/consolidate_bundles.py362CODE
LOWscripts/migrate/port_bundle.py661CODE
LOWscripts/migrate/port_bundle.py779CODE
LOWscripts/migrate/port_bundle.py1183CODE
LOWscripts/gp/download.py37CODE
LOWscripts/gp/extract_backend_strings.py39CODE
LOWscripts/a11y/a11y_scan.py286CODE
LOWscripts/a11y/a11y_scan.py959CODE
LOWsrc/lfx/tests/conftest.py85CODE
LOWsrc/lfx/tests/unit/cli/test_run_starter_projects.py57CODE
LOWsrc/lfx/tests/unit/cli/test_run_real_flows.py87CODE
LOWsrc/lfx/tests/unit/cli/test_run_real_flows.py369CODE
LOWsrc/lfx/tests/unit/cli/test_run_real_flows.py487CODE
LOW…li/test_run_starter_projects_backward_compatibility.py54CODE
LOW…/tests/unit/components/test_component_display_names.py29CODE
LOW…nd_agents/agent_helpers/test_messages_input_builder.py18CODE
LOWsrc/lfx/tests/unit/workflow/test_agui_translator.py962CODE
LOW…/lfx/tests/unit/base/models/test_models_dev_catalog.py722CODE
LOWsrc/lfx/tests/unit/base/data/test_base_file.py34CODE
LOW…ts/unit/services/settings/test_mcp_composer_windows.py276CODE
LOW…ts/unit/services/settings/test_mcp_composer_windows.py393CODE
LOW…tests/integration/cli/test_simple_agent_integration.py295CODE
LOW…tests/integration/cli/test_simple_agent_integration.py405CODE
LOWsrc/lfx/src/lfx/interface/components.py124CODE
LOWsrc/lfx/src/lfx/interface/components.py314CODE
LOWsrc/lfx/src/lfx/interface/components.py402CODE
LOWsrc/lfx/src/lfx/interface/components.py450CODE
LOWsrc/lfx/src/lfx/interface/components.py1396CODE
LOWsrc/lfx/src/lfx/interface/initialize/loading.py131CODE
LOWsrc/lfx/src/lfx/interface/initialize/loading.py166CODE
LOWsrc/lfx/src/lfx/interface/initialize/loading.py288CODE
LOWsrc/lfx/src/lfx/upgrade/applier.py53CODE
LOWsrc/lfx/src/lfx/extension/discovery.py210CODE
LOWsrc/lfx/src/lfx/extension/discovery.py261CODE
LOWsrc/lfx/src/lfx/extension/validate.py449CODE
LOWsrc/lfx/src/lfx/extension/validate.py492CODE
LOWsrc/lfx/src/lfx/extension/loader/_orchestrator.py668CODE
LOWsrc/lfx/src/lfx/extension/loader/_plugins.py52CODE
LOWsrc/lfx/src/lfx/processing/process.py165CODE
LOWsrc/lfx/src/lfx/processing/process.py233CODE
LOWsrc/lfx/src/lfx/graph/utils.py341CODE
LOWsrc/lfx/src/lfx/graph/schema.py33CODE
LOWsrc/lfx/src/lfx/graph/flow_builder/spec.py60CODE
LOWsrc/lfx/src/lfx/graph/flow_builder/builder.py24CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py359CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py538CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py815CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py387CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py463CODE
604 more matches not shown…
Modern Structural Boilerplate463 hits · 471 pts
SeverityFileLineSnippetContext
LOWscripts/migrate_secret_key.py55def set_secure_permissions(file_path: Path) -> None:CODE
LOWscripts/ci/update_pyproject_name.py11def update_pyproject_name(pyproject_path: str, new_project_name: str) -> None:CODE
LOWscripts/ci/update_pyproject_name.py50def update_uv_dep(pyproject_path: str, new_project_name: str) -> None:CODE
LOWscripts/ci/update_component_index_version.py12def update_component_index_version(index_path: str | Path, version: str) -> None:CODE
LOWscripts/ci/update_uv_dependency.py11def update_uv_dep(base_version: str) -> None:CODE
LOWscripts/ci/test_update_lfx_version.py41 def update_temp_pyproject(relative_path: str, version: str) -> None:CODE
LOWscripts/ci/update_lf_base_dependency.py13def update_base_dep(pyproject_path: str, new_version: str) -> None:CODE
LOWscripts/ci/update_lf_base_dependency.py42def update_lfx_dep_in_base(pyproject_path: str, lfx_version: str) -> None:CODE
LOWscripts/ci/update_pyproject_version.py13def update_pyproject_version(pyproject_path: str, new_version: str) -> None:CODE
LOWscripts/ci/update_lfx_version.py28def update_sdk_dependency_in_lfx(pyproject_path: str, sdk_version: str) -> None:CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py1774 async def _setup_provider_clients_context(self) -> None:CODE
LOWscripts/migrate/consolidate_bundles.py338def update_bundles_pyproject(new_extras: dict[str, list[str]], *, apply: bool) -> None:CODE
LOW…/interface/test_loading_custom_component_code_param.py33 def set_artifacts(self, artifacts) -> None:CODE
LOW…/interface/test_loading_custom_component_code_param.py36 def set_results(self, results) -> None:CODE
LOW…/interface/test_loading_custom_component_code_param.py55 def set_artifacts(self, artifacts) -> None:CODE
LOW…/interface/test_loading_custom_component_code_param.py58 def set_results(self, results) -> None:CODE
LOW…ests/unit/utils/test_resolve_trusted_code_for_build.py17def _set_allow_custom_components(monkeypatch, *, allow: bool) -> None:CODE
LOWsrc/lfx/tests/unit/workflow/test_converters.py55def _setup_graph_get_vertex(graph: Mock, vertices: list[Mock]) -> None:CODE
LOWsrc/lfx/src/lfx/field_typing/__init__.py5__all__ = [CODE
LOWsrc/lfx/src/lfx/interface/__init__.py6__all__ = ["components", "importing", "initialize", "listing", "run", "utils"]CODE
LOWsrc/lfx/src/lfx/interface/utils.py97def set_langchain_cache(settings) -> None:CODE
LOWsrc/lfx/src/lfx/interface/initialize/__init__.py3__all__ = ["loading"]CODE
LOWsrc/lfx/src/lfx/interface/importing/__init__.py5__all__ = ["import_class", "import_module"]CODE
LOWsrc/lfx/src/lfx/upgrade/__init__.py6__all__ = ["CompatibilityReport", "NodeStatus", "apply_safe_upgrades", "check_flow_compatibility"]CODE
LOWsrc/lfx/src/lfx/extension/reload_swap.py32logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/dev_registry.py62logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/reload.py100logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/reload.py685__all__ = [CODE
LOWsrc/lfx/src/lfx/extension/discovery.py59logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/registry.py351 def update_entry(self, extension_id: str, **changes: object) -> None:CODE
LOWsrc/lfx/src/lfx/extension/__init__.py217__all__ = [CODE
LOWsrc/lfx/src/lfx/extension/bundle_registry.py51logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/loader/_orchestrator.py55logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/loader/_plugins.py32logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/loader/__init__.py83__all__ = [CODE
LOWsrc/lfx/src/lfx/extension/loader/_discovery.py37__all__ = [CODE
LOWsrc/lfx/src/lfx/extension/migration/__init__.py42__all__ = [CODE
LOWsrc/lfx/src/lfx/memory/__init__.py75__all__ = [CODE
LOWsrc/lfx/src/lfx/type_extraction/__init__.py12__all__ = [CODE
LOWsrc/lfx/src/lfx/config/__init__.py5__all__ = ["ConfigError", "LangflowEnvironment", "resolve_environment"]CODE
LOWsrc/lfx/src/lfx/serialization/__init__.py5__all__ = ["serialize", "serialize_or_str"]CODE
LOWsrc/lfx/src/lfx/io/__init__.py36__all__ = [CODE
LOWsrc/lfx/src/lfx/graph/__init__.py6__all__ = ["CustomComponentVertex", "Edge", "Graph", "InterfaceVertex", "StateVertex", "Vertex"]CODE
LOWsrc/lfx/src/lfx/graph/checkpoint/store.py90def set_default_checkpoint_store(store: CheckpointStore | None) -> None:CODE
LOWsrc/lfx/src/lfx/graph/checkpoint/__init__.py9__all__ = [CODE
LOWsrc/lfx/src/lfx/graph/flow_builder/__init__.py23__all__ = [CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py117def update_template(template, g_nodes) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py166def set_new_target_handle(proxy_id, new_edge, target_handle, node) -> None:CODE
LOW…c/lfx/src/lfx/graph/graph/runnable_vertices_manager.py51 def update_run_state(self, run_predecessors: dict, vertices_to_run: set) -> None:CODE
LOW…c/lfx/src/lfx/graph/graph/runnable_vertices_manager.py118 def update_vertex_run_state(self, vertex_id: str, *, is_runnable: bool) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py1624 def _set_cache_if_listen_notify_components(self) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py1638 def _set_cache_to_vertices_in_cycle(self) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py327 def _set_start_and_end(self, start: Component, end: Component) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py687 def set_run_id(self, run_id: uuid.UUID | str | None = None) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py863 def _set_inputs(self, input_components: list[str], inputs: dict[str, str], input_type: InputType | None) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py1478 def update_edges_from_vertex(self, other_vertex: Vertex) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py1549 def update_vertex_from_another(self, vertex: Vertex, other_vertex: Vertex) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py1591 def _update_edges(self, vertex: Vertex) -> None:CODE
LOWsrc/lfx/src/lfx/graph/vertex/vertex_types.py61 def _update_built_object_and_artifacts(self, result) -> None:CODE
LOWsrc/lfx/src/lfx/graph/vertex/base.py131 def set_input_value(self, name: str, value: Any) -> None:CODE
403 more matches not shown…
Cross-Language Confusion68 hits · 426 pts
SeverityFileLineSnippetContext
HIGHscripts/generate_coverage_config.py164 print("cd src/backend && python -m pytest --cov=src/backend/base/langflow --cov-config=.coveragerc")CODE
HIGHscripts/ci/test_pypi_nightly_tag.py5 cd scripts/ci && uv run python -m pytest test_pypi_nightly_tag.py -qSTRING
HIGHscripts/ci/test_pypi_nightly_tag.py6 cd scripts/ci && uv run python test_pypi_nightly_tag.pySTRING
HIGHscripts/ci/test_langflow_pre_release_tag.py5 cd scripts/ci && uv run python test_langflow_pre_release_tag.pySTRING
HIGHscripts/ci/test_langflow_pre_release_tag.py6 cd scripts/ci && uv run python -m pytest test_langflow_pre_release_tag.py -qSTRING
HIGHscripts/a11y/a11y_scan.py218 source: item.source ?? null,STRING
HIGHscripts/a11y/a11y_scan.py219 path: item.path?.dom ?? item.path?.aria ?? null,STRING
HIGHscripts/a11y/a11y_scan.py220 snippet: item.snippet ?? null,STRING
HIGHscripts/a11y/a11y_scan.py248 id: el.id || null,STRING
HIGHscripts/a11y/a11y_scan.py248 id: el.id || null,STRING
HIGHscripts/a11y/a11y_scan.py270 focusedWithinDialog: dialogs.some((dialog) => active && dialog.contains(active)),STRING
HIGHscripts/a11y/a11y_scan.py274 id: active.id || null,STRING
HIGHscripts/a11y/a11y_scan.py274 id: active.id || null,STRING
HIGH…fx/tests/unit/services/test_request_scope_isolation.py170 blob = '{"shared_token": "from-env-blob", "null_cred": null, "nested": {"a": 1}}'CODE
HIGHsrc/lfx/src/lfx/schema/json_schema.py9NULLABLE_TYPE_LENGTH = 2 # Number of types in a nullable union (the type itself + null)CODE
HIGHsrc/lfx/src/lfx/schema/json_schema.py94 # Handle common pattern for nullable types (anyOf with string and null)COMMENT
HIGHsrc/lfx/src/lfx/schema/workflow.py408 "answer; when it's null, ``output.reason`` says why (``multiple`` / ``none`` / "CODE
HIGHsrc/lfx/src/lfx/base/data/base_file.py527 # Try JSON first (handles true/false/null)COMMENT
HIGHsrc/backend/tests/unit/utils/test_data_structure.py52 assert result == "list(null)"CODE
HIGH…tests/unit/agentic/api/test_sessions_reset_endpoint.py112 fresh_conversation_buffer.push(CODE
HIGH…tests/unit/agentic/api/test_sessions_reset_endpoint.py158 fresh_conversation_buffer.push(CODE
HIGH…tests/unit/agentic/api/test_sessions_reset_endpoint.py163 fresh_conversation_buffer.push(CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py33 buf.push(USER, "s1", turn)CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py47 buf.push(USER, "s1", t1)CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py48 buf.push(USER, "s1", t2)CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py49 buf.push(USER, "s1", t3)CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py56 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py66 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py78 buf.push("alice", "s1", ConversationTurn(user="hi-a", assistant="ack-a"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py79 buf.push("alice", "s2", ConversationTurn(user="hi-b", assistant="ack-b"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py86 buf.push("alice", "s1", ConversationTurn(user="hi-a", assistant="ack-a"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py87 buf.push("alice", "s2", ConversationTurn(user="hi-b", assistant="ack-b"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py110 buf.push("alice", "shared-sid", ConversationTurn(user="secret", assistant="ok"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py117 buf.push("alice", "shared-sid", ConversationTurn(user="alice-1", assistant="ok"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py118 buf.push("bob", "shared-sid", ConversationTurn(user="bob-1", assistant="ok"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py126 buf.push("alice", "shared-sid", ConversationTurn(user="alice-1", assistant="ok"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py127 buf.push("bob", "shared-sid", ConversationTurn(user="bob-1", assistant="ok"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py143 buf.push(USER, f"s{i}", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py154 buf.push(USER, f"s{i}", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py157 buf.push(USER, "s0", ConversationTurn(user="u0-fresh", assistant="a0-fresh"))CODE
HIGH…ests/unit/agentic/services/test_conversation_buffer.py161 buf.push(USER, "s-new", ConversationTurn(user="u-new", assistant="a-new"))CODE
HIGH…nit/agentic/services/test_assistant_service_history.py36 fresh_buffer.push(CODE
HIGH…nit/agentic/services/test_assistant_service_history.py41 fresh_buffer.push(CODE
HIGH…ntic/services/test_assistant_service_intent_context.py57 fresh_buffer.push(CODE
HIGH…entic/services/test_assistant_service_history_clear.py30 fresh_buffer.push("alice", "s1", ConversationTurn(user="x", assistant="y"))CODE
HIGH…entic/services/test_assistant_service_history_clear.py31 fresh_buffer.push("alice", "s2", ConversationTurn(user="a", assistant="b"))CODE
HIGH…entic/services/test_assistant_service_history_clear.py43 fresh_buffer.push("alice", "s1", ConversationTurn(user="x", assistant="y"))CODE
HIGH…entic/services/test_assistant_service_history_clear.py52 fresh_buffer.push("alice", "s1", ConversationTurn(user="x", assistant="y"))CODE
HIGH…entic/services/test_assistant_service_history_clear.py65 fresh_buffer.push("alice", "s1", ConversationTurn(user="x", assistant="y"))CODE
HIGHsrc/backend/tests/unit/base/mcp/test_mcp_util.py133 "node server.js && rm -rf /", # logical-and chainingCODE
HIGH…s/unit/services/deployment/test_watsonx_orchestrate.py6444 assert extract_error_detail('{"detail": null}') == '{"detail": null}'CODE
HIGH…/base/langflow/agentic/services/conversation_buffer.py99 self.push(user_id, session_id, turn)CODE
HIGHsrc/backend/base/langflow/api/v1/flow_version.py108# If future nullable fields must be returned as explicit null, prefer splittingCOMMENT
HIGHsrc/backend/base/langflow/api/v1/authz_roles.py225 detail="permissions cannot be null; pass an empty list to clear",CODE
HIGHsrc/backend/base/langflow/api/utils/flow_utils.py103 # If we delete messages directly, rather than setting flow_id to null,COMMENT
HIGHsrc/sdk/tests/test_file_io.py101# client.push() — syncCOMMENT
HIGHsrc/sdk/tests/test_file_io.py111 flow, created = client.push(flow_file)CODE
HIGHsrc/sdk/tests/test_file_io.py126 _, created = client.push(flow_file)CODE
HIGHsrc/sdk/tests/test_file_io.py138 flow, _ = client.push(str(flow_file)) # string, not PathCODE
HIGHsrc/sdk/tests/test_file_io.py152 client.push(flow_file)CODE
8 more matches not shown…
Modern AI Meta-Vocabulary135 hits · 408 pts
SeverityFileLineSnippetContext
MEDIUM…omponent-refactoring/references/component-splitting.md402 my-component.tsx # Main orchestration (NOT index.tsx)CODE
MEDIUMdocs/features/langflow-assistant-mcp.md1338### ADR-MCP-007: Two MCP Servers — `lfx/mcp` (canvas-aware) and `agentic/mcp` (DB-aware)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2826#### POST /api/v1/agentic/assist/stream (extended)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2890#### POST /api/v1/agentic/sessions/resetCOMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2926#### MCP Server (agentic, `langflow/agentic/mcp/server.py`)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2962#### Conversation Buffer (`langflow.agentic.services.conversation_buffer`)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2972#### User-Components Registry (`langflow.agentic.services.user_components` + `user_components_overlay` + `user_componentCOMMENT
MEDIUMdocs/features/langflow-assistant.md1611#### POST /api/v1/agentic/assist/streamCOMMENT
MEDIUMdocs/features/langflow-assistant.md1698#### GET /api/v1/agentic/check-configCOMMENT
MEDIUMdocs/features/langflow-assistant.md1727#### POST /api/v1/agentic/assistCOMMENT
MEDIUMdocs/openapi/openapi.json13473 "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streamCODE
MEDIUMscripts/migrate/check_bare_names.py75 # Skip __pycache__ and __init__ scaffolding; class declarationsCOMMENT
MEDIUMsrc/lfx/tests/unit/extension/test_init_template.py144# Refuse to scaffold over a non-empty targetCOMMENT
MEDIUMsrc/lfx/tests/unit/mcp/test_mcp_stdio_security.py51 # A tenant cannot supply the agentic user-id binding env var (case-insensitive); onlyCOMMENT
MEDIUM…s/data/starter_projects_1_6_0/Knowledge Ingestion.json788 "value": "from __future__ import annotations\n\nimport asyncio\nimport contextlib\nimport hashlib\nimporCODE
MEDIUM…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json2108 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
MEDIUM…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json1899 "description": "# Hybrid Search RAG\n\nHybrid search performs a vector similarity search and a lexical searcCODE
MEDIUM…ests/data/starter_projects_1_6_0/Vector Store RAG.json2986 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
MEDIUM…ests/data/starter_projects_1_6_0/Vector Store RAG.json3775 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
MEDIUM…s/data/starter_projects_1_6_0/Knowledge Retrieval.json495 "value": "import json\nfrom pathlib import Path\nfrom typing import Any\n\nfrom cryptography.fernet impoCODE
MEDIUMsrc/lfx/src/lfx/extension/loader/_orchestrator.py803# :mod:`lfx.extension.loader._startup` (extracted to keep this orchestrationCOMMENT
MEDIUMsrc/lfx/src/lfx/extension/loader/_discovery.py31# Files we never treat as bundle modules. Test scaffolding and dunderCOMMENT
MEDIUMsrc/lfx/src/lfx/graph/utils.py270 # Get the transaction service via dependency injectionCOMMENT
MEDIUMsrc/lfx/src/lfx/utils/constants.py35 # An enhanced version of claude-v1 with a 100,000 token (roughly 75,000 word) context window.COMMENT
MEDIUMsrc/lfx/src/lfx/utils/constants.py39 # Like claude-instant-v1 with a 100,000 token context window but retains its performance.COMMENT
MEDIUMsrc/lfx/src/lfx/utils/constants.py44 # An enhanced version of claude-v1.3 with a 100,000 token (roughly 75,000 word) context window.COMMENT
MEDIUMsrc/lfx/src/lfx/utils/constants.py52 # Version of claude-instant-v1.1 with a 100K token context window.COMMENT
MEDIUMsrc/lfx/src/lfx/cli/init.py10 lfx init . # scaffold into the current directorySTRING
MEDIUM…lfx/components/models_and_agents/policies_component.py359 generated (or only the ``pass # FIXME`` scaffold was produced), so theCODE
MEDIUM…/src/lfx/components/models_and_agents/mcp_component.py58# orchestration logic in a follow-up PR.COMMENT
MEDIUMsrc/lfx/src/lfx/components/llm_operations/guardrails.py39 documentation = "https://docs.langflow.org/guardrails"CODE
MEDIUMsrc/lfx/src/lfx/base/mcp/security.py34# Env var through which Langflow binds the agentic MCP server to an authenticated user's id.COMMENT
MEDIUMsrc/lfx/src/lfx/base/mcp/security.py36# tenant-authored stdio config cannot set it. The agentic MCP tools read it and fail closed whenCOMMENT
MEDIUMsrc/lfx/src/lfx/base/mcp/security.py38# the reader (langflow.agentic.mcp.server).COMMENT
MEDIUMsrc/lfx/src/lfx/base/mcp/security.py41# Substring identifying the agentic MCP server module in a stdio command, so update_tools knowsCOMMENT
MEDIUMsrc/lfx/src/lfx/base/mcp/security.py135 # -- Langflow-internal trust binding: the agentic MCP server reads the owning user's idCOMMENT
MEDIUMsrc/lfx/src/lfx/base/models/watsonx_constants.py23# flow; hidden from the embedding model picker until support is added.COMMENT
MEDIUMsrc/lfx/src/lfx/base/models/models_dev_catalog.py62# does not mean that a provider has deprecated an embedding model.COMMENT
MEDIUM…fx/src/lfx/base/models/unified_models/model_catalog.py379 "model_type": "embeddings", # Mark as embedding modelCODE
MEDIUMsrc/frontend/tests/assets/group_test_iadevs.json455 "value": "from lfx.custom import Component\nfrom lfx.inputs import MessageTextInput, HandleInput\nfrom lCODE
MEDIUMsrc/frontend/tests/assets/group_test_iadevs.json1059 "value": "from lfx.custom import Component\nfrom lfx.inputs import MessageTextInput, HandleICODE
MEDIUMsrc/frontend/src/CustomNodes/GenericNode/index.tsx390 // from outside the component (e.g. the agentic flow_builder updating theCOMMENT
MEDIUM…nderComponent/components/modelInputComponent/index.tsx69 // mutations like the agentic flow_builder). We subscribe to the liveCOMMENT
MEDIUM…onents/core/assistantPanel/hooks/use-assistant-chat.ts47// src/backend/base/langflow/agentic/services/flow_types.py.COMMENT
MEDIUM…eries/agentic/__tests__/use-post-assist-stream.test.ts29 getURL: jest.fn(() => "http://localhost/api/v1/agentic/assist/stream"),CODE
MEDIUM…ackend/tests/unit/agentic/test_assistant_report_e2e.py12 #1/#4 hallucination / fake success ........ TestNoFakeSuccessRealAgentSTRING
MEDIUM…agentic/flows/test_translation_flow_requested_model.py31 # LLM learns not to hallucinate a model for plain requests.COMMENT
MEDIUM…/agentic/flows/test_component_generator_tool_prompt.py100 # the LLM gets confused and hallucinates values.COMMENT
MEDIUM…/unit/agentic/services/test_user_components_overlay.py193 # reflect the user class's ACTUAL outputs, not the base scaffold.COMMENT
MEDIUM…/unit/agentic/services/test_user_components_overlay.py338 # IntInput name='amount') got a generic scaffold node exposing onlyCOMMENT
MEDIUM…nd/tests/unit/agentic/services/test_request_framing.py48 # compound → orchestratingCOMMENT
MEDIUM…nd/tests/unit/agentic/services/test_request_framing.py50 # build_flow that ALSO asks to run → orchestratingCOMMENT
MEDIUM…nd/tests/unit/agentic/services/test_request_framing.py79 # NOT be mistaken for a build+run orchestration.COMMENT
MEDIUM…s/unit/agentic/services/helpers/test_intent_context.py79 # the classifier's context window (confirmed e2e risk §1.5).COMMENT
MEDIUM…/unit/components/files_and_knowledge/test_retrieval.py337 # ---- retrieve_data orchestration ---------------------------------COMMENT
MEDIUM…ponents/embeddings/test_ollama_embeddings_component.py374 {component.JSON_CAPABILITIES_KEY: ["completion"]}, # Not an embedding modelCODE
MEDIUM…components/llm_operations/test_guardrails_component.py446 # Should raise because no guardrails are actually enabledCOMMENT
MEDIUM…components/llm_operations/test_guardrails_component.py428 default_kwargs["enabled_guardrails"] = [] # Disable default guardrailsCODE
MEDIUMsrc/backend/base/langflow/main.py376 # Gate: Initialize agentic global variables (when agentic_experience enabled)COMMENT
MEDIUMsrc/backend/base/langflow/main.py406 # Gate: Auto-configure agentic MCP server (when agentic_experience enabled)COMMENT
75 more matches not shown…
Verbosity Indicators144 hits · 239 pts
SeverityFileLineSnippetContext
LOW…x/tests/data/starter_projects_1_6_0/Pokédex Agent.json765 "value": "import json\nimport re\nimport tempfile\nfrom datetime import datetime, timezone\nfrom pathlibCODE
LOW…fx/tests/data/starter_projects_1_6_0/SaaS Pricing.json1294 "value": "# Subscription Pricing Calculator\n\n## Purpose\nCalculate the optimal monthly subscription prCODE
LOWsrc/lfx/src/lfx/graph/utils.py236 # if it is a list we need to check if the contents are python typesCOMMENT
LOWsrc/lfx/src/lfx/graph/edge/base.py219 # so we need to check if any of the strings in source_types is in target_reqsCOMMENT
LOWsrc/lfx/src/lfx/graph/edge/base.py247 # so we need to check if any of the strings in source_types is in target_reqsCOMMENT
LOWsrc/lfx/src/lfx/graph/vertex/utils.py15 # if it is a list we need to check if the contents are python typesCOMMENT
LOWsrc/lfx/src/lfx/graph/vertex/vertex_types.py113 # We need to check if the edge is a normal edgeCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py774 # Step 1: Check if SSRF protection is enabledCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py781 # Step 2: Parse and validate URL formatCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py791 # Step 3: Validate URL scheme (raises SSRFProtectionError for any non-http/https scheme)COMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py796 # Step 4: Extract and validate hostnameCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py801 # Step 5: Check allowlist (early return for trusted hosts)COMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py810 # Step 6: Handle direct IP addressesCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py838 # Step 7: Resolve hostname to IP addressesCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py846 # Step 8: Validate all resolved IPsCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py868 # Step 9: Block if any resolved IPs are private/internalCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py890 # Step 10: Return validated IPs for DNS pinningCOMMENT
LOWsrc/lfx/src/lfx/utils/exceptions.py62 # We need to check if the __cause__ is a SyntaxErrorCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py838 # Step 3: Infer file extension or use part of the request URL if no filenameCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py857 # Step 4: Define the full file pathCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py866 # Step 5: Check if file exists asynchronously and handle accordinglyCOMMENT
LOWsrc/lfx/src/lfx/custom/custom_component/component.py879 # We need to check if callable AND if it is a method from a class that inherits from ComponentCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py76 # Step 1: Get list of available modelsCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py80 # Step 2: Categorize modelsCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py90 # Step 3: Test LLM models for chat completion and tool callingCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py116 # Step 4: Add non-LLM models as unsupportedCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py509 # Step 1: Refresh/cache model options, set defaults and input_typesCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py547 # Step 2: Hide all provider-specific fields. We do NOT clear valuesCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py562 # Step 3: Show/configure the right fields for the selected providerCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts684 // Step 1: First navigate to files page and upload both filesCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts745 // Step 2: Create a flow with File component and check if PSD file is disabledCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts38 // Step 1: create a destination project. `add-project-button`COMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts56 // Step 2: go back to the source project. The destination's queryCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts64 // Step 3: real HTML5 drag-and-drop — `dragTo()` populatesCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts79 // Step 4: click the destination. The flow must be visible. Use aCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx441 // Step 1: Start loginCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx461 // Step 2: Complete getUserCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx474 // Step 3: Complete getGlobalVariablesCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx481 // Step 4: NOW isAuthenticated should be setCOMMENT
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts131 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts138 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts159 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts160 expect(code).toContain("# Step 2: Upload file for ChatInput chatNode2");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts167 expect(code).toContain("# Step 3: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts185 "# Step 1: Upload file for File/VideoFile fileNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts192 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts209 "# Step 1: Upload file for File/VideoFile videoNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts216 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts233 "# Step 1: Upload file for File/VideoFile fileNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts236 "# Step 2: Upload file for File/VideoFile videoNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts242 expect(code).toContain("# Step 3: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts261 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts266 "# Step 2: Upload file for File/VideoFile fileNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts269 "# Step 3: Upload file for File/VideoFile videoNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts274 expect(code).toContain("# Step 4: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts291 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts349 expect(code).not.toContain("# Step 1:");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts364 expect(code).not.toContain("# Step 1:");CODE
LOW…odals/apiModal/utils/__tests__/get-js-api-code.test.ts109 expect(code).toContain("// Step 1: Upload file for ChatInput chatNode1");CODE
LOW…odals/apiModal/utils/__tests__/get-js-api-code.test.ts115 expect(code).toContain("// Step 2: Execute flow with all file paths");CODE
84 more matches not shown…
Structural Annotation Overuse140 hits · 237 pts
SeverityFileLineSnippetContext
LOW.agents/skills/component-refactoring/SKILL.md334### Step 1: Assess ComplexityCOMMENT
LOW.agents/skills/component-refactoring/SKILL.md343### Step 2: PlanCOMMENT
LOW.agents/skills/component-refactoring/SKILL.md356### Step 3: Execute IncrementallyCOMMENT
LOW.agents/skills/component-refactoring/SKILL.md373### Step 4: VerifyCOMMENT
LOW…ls/component-refactoring/references/hook-extraction.md16### Step 1: Identify State GroupsCOMMENT
LOW…ls/component-refactoring/references/hook-extraction.md29### Step 2: Identify Related EffectsCOMMENT
LOW…ls/component-refactoring/references/hook-extraction.md49### Step 3: Create the HookCOMMENT
LOW…ls/component-refactoring/references/hook-extraction.md107### Step 4: Update ComponentCOMMENT
LOWsrc/lfx/PLUGGABLE_SERVICES.md282### Step 1: Implement the Service ClassCOMMENT
LOWsrc/lfx/PLUGGABLE_SERVICES.md308### Step 2: Register the ServiceCOMMENT
LOWsrc/lfx/PLUGGABLE_SERVICES.md337### Step 3: Use the ServiceCOMMENT
LOW…x/tests/data/starter_projects_1_6_0/Pokédex Agent.json765 "value": "import json\nimport re\nimport tempfile\nfrom datetime import datetime, timezone\nfrom pathlibCODE
LOW…fx/tests/data/starter_projects_1_6_0/SaaS Pricing.json1294 "value": "# Subscription Pricing Calculator\n\n## Purpose\nCalculate the optimal monthly subscription prCODE
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py774 # Step 1: Check if SSRF protection is enabledCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py781 # Step 2: Parse and validate URL formatCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py791 # Step 3: Validate URL scheme (raises SSRFProtectionError for any non-http/https scheme)COMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py796 # Step 4: Extract and validate hostnameCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py801 # Step 5: Check allowlist (early return for trusted hosts)COMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py810 # Step 6: Handle direct IP addressesCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py838 # Step 7: Resolve hostname to IP addressesCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py846 # Step 8: Validate all resolved IPsCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py868 # Step 9: Block if any resolved IPs are private/internalCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py890 # Step 10: Return validated IPs for DNS pinningCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py838 # Step 3: Infer file extension or use part of the request URL if no filenameCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py857 # Step 4: Define the full file pathCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py866 # Step 5: Check if file exists asynchronously and handle accordinglyCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py76 # Step 1: Get list of available modelsCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py80 # Step 2: Categorize modelsCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py90 # Step 3: Test LLM models for chat completion and tool callingCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py116 # Step 4: Add non-LLM models as unsupportedCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py509 # Step 1: Refresh/cache model options, set defaults and input_typesCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py547 # Step 2: Hide all provider-specific fields. We do NOT clear valuesCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py562 # Step 3: Show/configure the right fields for the selected providerCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts684 // Step 1: First navigate to files page and upload both filesCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts745 // Step 2: Create a flow with File component and check if PSD file is disabledCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts38 // Step 1: create a destination project. `add-project-button`COMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts56 // Step 2: go back to the source project. The destination's queryCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts64 // Step 3: real HTML5 drag-and-drop — `dragTo()` populatesCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts79 // Step 4: click the destination. The flow must be visible. Use aCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx441 // Step 1: Start loginCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx461 // Step 2: Complete getUserCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx474 // Step 3: Complete getGlobalVariablesCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx481 // Step 4: NOW isAuthenticated should be setCOMMENT
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts131 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts138 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts159 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts160 expect(code).toContain("# Step 2: Upload file for ChatInput chatNode2");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts167 expect(code).toContain("# Step 3: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts185 "# Step 1: Upload file for File/VideoFile fileNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts192 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts209 "# Step 1: Upload file for File/VideoFile videoNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts216 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts233 "# Step 1: Upload file for File/VideoFile fileNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts236 "# Step 2: Upload file for File/VideoFile videoNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts242 expect(code).toContain("# Step 3: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts261 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts266 "# Step 2: Upload file for File/VideoFile fileNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts269 "# Step 3: Upload file for File/VideoFile videoNode1",CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts274 expect(code).toContain("# Step 4: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts291 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
80 more matches not shown…
AI Slop Vocabulary89 hits · 210 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml357 "S101", # Asserts ok in stress harnessSTRING
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…erence/javascript-examples/test-javascript-examples.sh150 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…docs/API-Reference/curl-examples/test-curl-examples.sh143 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUMdocs/openapi/openapi.json13473 "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streamCODE
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…erence/javascript-examples/test-javascript-examples.sh150 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…11.0/API-Reference/curl-examples/test-curl-examples.sh143 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUMscripts/test-api-examples-local.sh14# harness so a user-wide LANGFLOW_DEVELOPER_API_ENABLED=false does not break the suite.COMMENT
MEDIUMsrc/lfx/tests/conftest.py125# Additional fixtures for more comprehensive testing supportCOMMENT
MEDIUM…xtension/migration/test_bundle_api_changelog_script.py21 return subprocess.run( # noqa: S603 - test harness invoking git on a tmp repoCODE
MEDIUM…xtension/migration/test_bundle_api_changelog_script.py37 return subprocess.run( # noqa: S603 - test harnessCODE
MEDIUM…ts/unit/extension/migration/test_append_only_script.py33 return subprocess.run( # noqa: S603 - test harness invoking our own scriptCODE
MEDIUM…s/unit/extension/migration/test_router_trust_script.py26 return subprocess.run( # noqa: S603 - test harness invoking our own scriptCODE
MEDIUM…sts/unit/extension/migration/test_bare_names_script.py40 return subprocess.run( # noqa: S603 - test harness invoking our own scriptCODE
MEDIUMsrc/lfx/tests/unit/cli/test_prewarm_command.py171 # process-global state — incl. harness threads — so it's not asserted here.)COMMENT
LOW…ructured_output/test_structured_output_orchestrator.py111 # When schema is empty, no structuring should happen — just pass through.COMMENT
MEDIUM…c/lfx/tests/unit/base/models/test_provider_registry.py37# importlib against this module's name -- robust because the running test moduleCOMMENT
LOW…ts/unit/services/settings/test_mcp_composer_windows.py123 # Should not raise, just return FalseCOMMENT
LOW…ts/unit/services/settings/test_mcp_composer_windows.py136 # Should not raise, just return FalseCOMMENT
MEDIUM…integration/extension/test_pilot_duckduckgo_upgrade.py391 # string-match to be robust against either form.COMMENT
MEDIUM…tests/data/starter_projects_1_6_0/Market Research.json626 "description": "# Market Research\nThis flow helps you gather comprehensive information about companies for CODE
MEDIUM…ta/starter_projects_1_6_0/Sequential Tasks Agents.json1845 "value": "# Financial Analysis Expert Protocol\n\nYou are an elite financial analyst with access to YahoCODE
MEDIUM…ests/data/starter_projects_1_6_0/Youtube Analysis.json1972 "description": "# 📖 README\nThis flow performs comprehensive analysis of YouTube videos.\n1. Extract video CODE
LOWsrc/lfx/src/lfx/type_extraction.py58 # If the return type is not a Union, then we just return it as a listCOMMENT
LOWsrc/lfx/src/lfx/interface/initialize/loading.py368 # so we can just call themCOMMENT
MEDIUMsrc/lfx/src/lfx/extension/discovery.py392 except Exception as exc: # noqa: BLE001 - pydantic raises ValidationError; bare Exception keeps the scan robustCODE
LOWsrc/lfx/src/lfx/type_extraction/type_extraction.py54 # If the return type is not a Union, then we just return it as a listCOMMENT
LOWsrc/lfx/src/lfx/graph/graph/base.py1027 # just add empty lists to complete the lengthCOMMENT
LOWsrc/lfx/src/lfx/graph/state/model.py249 # No computed fields, just create the model directlyCOMMENT
MEDIUMsrc/lfx/src/lfx/graph/vertex/base.py904 # We should create a more robust comparisonCOMMENT
LOWsrc/lfx/src/lfx/utils/validate_cloud.py45# To add new disabled components in the future, simply add entries to this dictionary.COMMENT
MEDIUMsrc/lfx/src/lfx/utils/langflow_utils.py28 # - Consider refactoring to use lazy loading or a more robust service discovery mechanismCOMMENT
LOWsrc/lfx/src/lfx/cli/common.py808 # If we can't read or parse the file, just return NoneCOMMENT
LOWsrc/lfx/src/lfx/schema/data.py165 # If the key is not in the first object, simply add itSTRING
MEDIUM…/lfx/src/lfx/components/llm_operations/llm_selector.py499 """Return the comprehensive routing decision explanation."""STRING
MEDIUMsrc/lfx/src/lfx/custom/validate.py544 # TODO: Build a more robust check for Component inheritanceCOMMENT
MEDIUMsrc/lfx/src/lfx/base/tools/run_flow.py212 # TODO: make this more robust?COMMENT
LOWsrc/lfx/src/lfx/base/agents/altk_tool_wrappers.py238 # If schema parsing fails, just use kwargsCOMMENT
LOWsrc/lfx/src/lfx/base/agents/altk_tool_wrappers.py549 # Already wrapped with this wrapper, just return itCOMMENT
LOW…fx/src/lfx/base/models/unified_models/model_catalog.py400 # If we can't get models, just create basic dictsCOMMENT
LOWsrc/lfx/src/lfx/base/composio/composio_base.py1318 # If action_button doesn't exist, just add the field normallyCOMMENT
LOWsrc/lfx/src/lfx/base/data/docling_utils.py312 # crash the host process in single-worker setups. Instead, just setCOMMENT
MEDIUMsrc/lfx/src/lfx/services/mcp_composer/service.py1539 # Get comprehensive error informationCOMMENT
MEDIUM…frontend/src/modals/apiModal/utils/get-js-api-code.tsx27 // Parse URL for robust hostname/port extractionCOMMENT
MEDIUM…c/frontend/src/modals/apiModal/utils/get-curl-code.tsx84 // PowerShell with here-string (most robust for complex JSON)COMMENT
MEDIUM…enderComponent/components/TableNodeComponent/index.tsx181 // More robust header detection - check if first line contains column namesCOMMENT
MEDIUM…ow/src/langflow_stepflow/translation/node_processor.py395 # Extract comprehensive component metadataCOMMENT
LOWsrc/backend/tests/unit/test_get_api_key.py59 # Patch ApiKeyRead.model_validate to just return the provided dict for easy assertionsCOMMENT
LOWsrc/backend/tests/unit/test_process.py167# Test twekas that just pass the param and value but no node id.COMMENT
LOWsrc/backend/tests/unit/test_api_key_source.py385 # Should not raise, just return NoneCOMMENT
MEDIUM…/backend/tests/unit/agentic/api/test_files_endpoint.py242 # be robust if the LLM (or a future contributor) names a file weirdly.COMMENT
MEDIUM…/unit/agentic/services/test_user_components_overlay.py56 # this fixture is robust to whatever ordering pytest-xdist picks.COMMENT
LOW…components/languagemodels/test_chatollama_component.py333 # Should not raise an error, just set empty optionsCOMMENT
LOW…components/languagemodels/test_chatollama_component.py620 # Should not raise an error, just set empty optionsCOMMENT
LOW…/components/data_source/table_schema_demo_component.py79 # Already a Data object, just add itCOMMENT
MEDIUM…nit/components/processing/test_dataframe_operations.py9 """Create a comprehensive sample DataFrame for testing."""STRING
LOW…/unit/components/bundles/altk/test_altk_agent_logic.py655 # The tool should still be wrapped (even if just pass-through)COMMENT
29 more matches not shown…
Over-Commented Block210 hits · 194 pts
SeverityFileLineSnippetContext
LOWpyproject.toml21 # langflow-extensions:bundle-deps-startCOMMENT
LOWdeploy/docker-compose.yml41 # Uses environment variable DOMAINCOMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts21// jest.mock("@/controllers/API/api", () => ({COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts61 // { input: "hello", expected: "HELLO", description: "lowercase string" },COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts121 // Type-Specific TestsCOMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts141 // const inputCopy = [...input];COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts161COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts181// const intermediate = TEMPLATE_FUNCTION_A(rawInput);COMMENT
LOW…ls/frontend-testing/assets/component-test.template.tsx21// jest.mock("@/controllers/API/api", () => ({COMMENT
LOW…ls/frontend-testing/assets/component-test.template.tsx61// Use this if the component requires providers (router, query client, context)COMMENT
LOW…ls/frontend-testing/assets/component-test.template.tsx141 // describe("async behavior", () => {COMMENT
LOW…ls/frontend-testing/assets/component-test.template.tsx161 //COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts21// __esModule: true,COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts121COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts141 // it("should handle fetch errors", async () => {COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts161 // afterEach(() => {COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts221 });COMMENT
LOWdocs/src/clientModules/redocA11y.js1// Accessibility patches for Redocusaurus pages.COMMENT
LOWscripts/build_component_index.py141 index = _normalize_for_determinism(index)COMMENT
LOWscripts/lint/check_component_env_writes.py41COMMENT
LOWscripts/migrate/consolidate_bundles.py41BUNDLES_PYPROJECT = REPO_ROOT / "src" / "bundles" / "lfx-bundles" / "pyproject.toml"COMMENT
LOW.github/workflows/db-migration-validation.yml181 echo "Version for PyPI: $VERSION"COMMENT
LOW.github/workflows/release_nightly.yml801 # secrets: inheritCOMMENT
LOW.github/workflows/deploy_gh-pages.yml41 # The following lines assign commit authorship to the officialCOMMENT
LOW.github/workflows/codeql.yml41 # By default, queries listed here will override any specified in a config file.COMMENT
LOW.github/workflows/cross-bundle-test.yml1name: Cross-Bundle TestCOMMENT
LOWregressions/1.10.x.yaml21# "status": "triage",COMMENT
LOWsrc/lfx/tests/unit/extension/test_schema.py121 # 2. id wrong patternCOMMENT
LOWsrc/lfx/tests/unit/graph/test_graph.py501 graph.add_nodes_and_edges(flow_data["nodes"], flow_data["edges"])COMMENT
LOWsrc/lfx/tests/unit/cli/test_serve.py1141 )COMMENT
LOW…c/lfx/tests/unit/schema/test_message_content_blocks.py661 # The discriminator must survive so downstream validators thatCOMMENT
LOWsrc/lfx/tests/unit/custom/test_utils_metadata.py581 # Verify metadata was added with generated module nameCOMMENT
LOW…x/tests/unit/custom/custom_component/test_component.py61# chatoutput = ChatOutput()COMMENT
LOW…x/tests/unit/base/agents/test_default_system_prompt.py201 idx_a = a.find("# Environment")COMMENT
LOW…integration/extension/test_pilot_duckduckgo_upgrade.py301 assert result.ok, [e.code for e in result.errors]COMMENT
LOWsrc/lfx/src/lfx/interface/components.py841COMMENT
LOWsrc/lfx/src/lfx/interface/components.py1021 Components whose class fails to instantiate or template are skippedCOMMENT
LOWsrc/lfx/src/lfx/interface/components.py1041 #COMMENT
LOWsrc/lfx/src/lfx/interface/components.py1061 dev_results = load_dev_extensions()COMMENT
LOWsrc/lfx/src/lfx/extension/reload.py101COMMENT
LOWsrc/lfx/src/lfx/extension/reload.py421 # @extra inline bundles record source_path as the bundle directoryCOMMENT
LOWsrc/lfx/src/lfx/extension/errors.py81 "component-name-ambiguous",COMMENT
LOWsrc/lfx/src/lfx/extension/errors.py121 "duplicate-bundle-name",COMMENT
LOWsrc/lfx/src/lfx/extension/loader/_orchestrator.py481# Public entry point: discover_inline_bundles (LANGFLOW_COMPONENTS_PATH)COMMENT
LOWsrc/lfx/src/lfx/extension/loader/_orchestrator.py801COMMENT
LOWsrc/lfx/src/lfx/graph/graph/base.py1381COMMENT
LOWsrc/lfx/src/lfx/utils/flow_validation.py61COMMENT
LOWsrc/lfx/src/lfx/utils/flow_validation.py101COMMENT
LOWsrc/lfx/src/lfx/utils/flow_validation.py281 node_id = node_data.get("id") or node.get("id", "unknown")COMMENT
LOWsrc/lfx/src/lfx/utils/python_repl_security.py161 # time, so it reaches the same sinks invisibly to the AST: a runtime-assembledCOMMENT
LOWsrc/lfx/src/lfx/utils/ssrf_protection.py841 # validation, and the returned IPs will be used for the actual HTTP requestCOMMENT
LOWsrc/lfx/src/lfx/utils/flow_requirements.py81COMMENT
LOWsrc/lfx/src/lfx/cli/serve_app.py261 from lfx.cli.flow_store import NullFlowStoreCOMMENT
LOWsrc/lfx/src/lfx/cli/serve_preloaded_app.py21registry = build_registry_from_env()COMMENT
LOWsrc/lfx/src/lfx/cli/init.py21from rich.tree import TreeCOMMENT
LOWsrc/lfx/src/lfx/schema/message.py301 self.data["timestamp"] = self.timestampCOMMENT
LOW…/src/lfx/components/models_and_agents/mcp_component.py441 except ModuleNotFoundError as e:COMMENT
LOWsrc/lfx/src/lfx/components/models_and_agents/agent.py521 llm = self._get_llm()COMMENT
LOWsrc/lfx/src/lfx/components/models_and_agents/agent.py581 max_iterations = getattr(self, "max_iterations", None)COMMENT
LOW…x/src/lfx/components/files_and_knowledge/filesystem.py41# mutation of `self._user_id` between the binding check and the pathCOMMENT
150 more matches not shown…
Magic Placeholder Names21 hits · 128 pts
SeverityFileLineSnippetContext
HIGHdocs/openapi/openapi.json13473 "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streamCODE
HIGHsrc/lfx/LFX_MCP.md37 "LANGFLOW_API_KEY": "<your-api-key>"CODE
HIGHsrc/lfx/LFX_MCP.md54 "LANGFLOW_API_KEY": "<your-api-key>"CODE
HIGHsrc/lfx/src/lfx/templates/shell/ci-push.sh11# export LANGFLOW_API_KEY=<your-api-key>COMMENT
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts144 // Verify "YOUR_API_KEY" is present in the JSON before generationCOMMENT
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts145 expect(jsonBeforeGeneration).toContain("YOUR_API_KEY");CODE
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts159 // Wait for the JSON to update - it should no longer contain "YOUR_API_KEY"COMMENT
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts160 await expect(preElement).not.toContainText("YOUR_API_KEY", {CODE
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts166 // Verify that an actual API key (not "YOUR_API_KEY") is presentCOMMENT
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts173 expect(generatedApiKey).not.toBe("YOUR_API_KEY");CODE
HIGH…d/src/pages/SettingsPage/pages/McpClientPage/index.tsx25 LANGFLOW_API_KEY: "YOUR_API_KEY", // pragma: allowlist secretCODE
HIGH…d/src/pages/SettingsPage/pages/McpClientPage/index.tsx66 -e LANGFLOW_API_KEY=YOUR_API_KEY`;CODE
HIGH…pages/MainPage/pages/homePage/utils/mcpServerUtils.tsx88 return `"--headers","x-api-key","${apiKey || "YOUR_API_KEY"}"`;CODE
HIGH…pages/MainPage/pages/homePage/utils/mcpServerUtils.tsx92 return `"--headers","x-api-key","${apiKey || "YOUR_API_KEY"}"`;CODE
HIGH…/pages/homePage/utils/__tests__/mcpServerUtils.test.ts97 it("uses YOUR_API_KEY placeholder when no apiKey provided", () => {CODE
HIGH…/pages/homePage/utils/__tests__/mcpServerUtils.test.ts103 expect(headers).toContain("YOUR_API_KEY");CODE
HIGH…ponents/AgentMainContent/components/AgentCardPanel.tsx44 const key = requiresApiKey ? " \\\n -H 'x-api-key: <YOUR_API_KEY>'" : "";CODE
HIGH…ponents/AgentMainContent/components/AgentCardPanel.tsx44 const key = requiresApiKey ? " \\\n -H 'x-api-key: <YOUR_API_KEY>'" : "";CODE
HIGHsrc/backend/tests/locust/README.md145export API_KEY="your-api-key-from-setup"CODE
HIGHsrc/backend/tests/locust/README.md269export API_KEY="your-api-key"CODE
HIGHsrc/backend/base/langflow/api/v1/endpoints.py1135 x-api-key: YOUR_API_KEYSTRING
Cross-Language Confusion (JS/TS)10 hits · 70 pts
SeverityFileLineSnippetContext
HIGH…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx170print(result["output"]["text"])`;CODE
HIGH…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx191 print(event["data"]["chunk"], end="", flush=True)CODE
HIGH…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx192 elif event["event"] == "add_message":CODE
HIGH…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx193 print(event["data"])CODE
HIGH…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx194 elif event["event"] == "end":CODE
HIGH…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx195 print("\\n[done]")`;CODE
HIGH…tend/src/modals/apiModal/utils/get-python-api-code.tsx65 print(response.text)CODE
HIGH…tend/src/modals/apiModal/utils/get-python-api-code.tsx68 print(f"Error making API request: {e}")CODE
HIGH…tend/src/modals/apiModal/utils/get-python-api-code.tsx70 print(f"Error parsing response: {e}")`;CODE
HIGH…tend/src/modals/apiModal/utils/get-python-api-code.tsx187print(response.json())`;CODE
Dead Code29 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMsrc/lfx/tests/unit/mcp/test_validate_flow.py154CODE
MEDIUMsrc/lfx/tests/unit/cli/test_serve_identity.py986CODE
MEDIUMsrc/lfx/tests/unit/cli/test_common.py402CODE
MEDIUMsrc/lfx/tests/unit/execution/test_registry.py11CODE
MEDIUM…c/lfx/tests/unit/execution/test_in_process_executor.py108CODE
MEDIUMsrc/lfx/tests/unit/run/test_base.py1370CODE
MEDIUM…/lfx/tests/unit/base/agents/test_agent_token_wiring.py22CODE
MEDIUM…lfx/base/knowledge_bases/ingestion_sources/onedrive.py48CODE
MEDIUM…x/base/knowledge_bases/ingestion_sources/sharepoint.py49CODE
MEDIUM…e/knowledge_bases/ingestion_sources/microsoft_graph.py50CODE
MEDIUM…base/knowledge_bases/ingestion_sources/google_drive.py49CODE
MEDIUM…x/src/lfx/base/knowledge_bases/ingestion_sources/s3.py52CODE
MEDIUMsrc/backend/tests/unit/test_redis_job_queue_service.py1594CODE
MEDIUM…nd/tests/unit/agentic/api/test_streaming_validation.py370CODE
MEDIUM…nd/tests/unit/agentic/api/test_streaming_validation.py421CODE
MEDIUM…t/agentic/services/test_assistant_service_streaming.py448CODE
MEDIUM…t/agentic/services/test_assistant_service_streaming.py487CODE
MEDIUM…ntic/services/test_assistant_service_model_fallback.py210CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py195CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py226CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py296CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py825CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py854CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py906CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py1000CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py1023CODE
MEDIUMsrc/backend/tests/unit/api/v1/test_traces_api.py347CODE
MEDIUMsrc/backend/tests/unit/api/v1/test_traces_api.py409CODE
MEDIUM…ase/langflow/services/background_execution/live_bus.py129CODE
AI Structural Patterns58 hits · 51 pts
SeverityFileLineSnippetContext
LOWsrc/lfx/tests/unit/cli/test_push_command.py114CODE
LOWsrc/lfx/tests/unit/cli/test_export_command.py92CODE
LOWsrc/lfx/tests/unit/cli/test_pull_command.py125CODE
LOWsrc/lfx/src/lfx/memory/stubs.py186CODE
LOWsrc/lfx/src/lfx/memory/stubs.py225CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py870CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py71CODE
LOWsrc/lfx/src/lfx/utils/util.py558CODE
LOWsrc/lfx/src/lfx/utils/ssrf_transport.py233CODE
LOWsrc/lfx/src/lfx/utils/ssrf_transport.py304CODE
LOWsrc/lfx/src/lfx/cli/run.py51CODE
LOWsrc/lfx/src/lfx/cli/_remote_commands.py68CODE
LOWsrc/lfx/src/lfx/cli/_remote_commands.py147CODE
LOWsrc/lfx/src/lfx/cli/_remote_commands.py223CODE
LOWsrc/lfx/src/lfx/cli/_authoring_commands.py120CODE
LOWsrc/lfx/src/lfx/cli/_running_commands.py13CODE
LOWsrc/lfx/src/lfx/cli/_running_commands.py127CODE
LOWsrc/lfx/src/lfx/cli/commands.py238CODE
LOWsrc/lfx/src/lfx/testing/runners.py305CODE
LOWsrc/lfx/src/lfx/testing/runners.py360CODE
LOWsrc/lfx/src/lfx/schema/log.py25CODE
LOWsrc/lfx/src/lfx/load/load.py145CODE
LOWsrc/lfx/src/lfx/load/load.py208CODE
LOWsrc/lfx/src/lfx/log/logger.py427CODE
LOWsrc/lfx/src/lfx/run/base.py198CODE
LOWsrc/lfx/src/lfx/helpers/flow.py258CODE
LOWsrc/lfx/src/lfx/base/models/model_metadata.py26CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py77CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py506CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py763CODE
LOW…gflow-stepflow/tests/unit/test_tool_wrapper_handler.py13CODE
LOW…backend/tests/unit/services/tracing/test_formatting.py37CODE
LOWsrc/backend/base/langflow/memory.py24CODE
LOWsrc/backend/base/langflow/memory.py70CODE
LOWsrc/backend/base/langflow/memory.py114CODE
LOWsrc/backend/base/langflow/__main__.py321CODE
LOW…ackend/base/langflow/agentic/services/flow_executor.py77CODE
LOW…ackend/base/langflow/agentic/services/flow_executor.py158CODE
LOW…nd/base/langflow/agentic/services/assistant_service.py533CODE
LOWsrc/backend/base/langflow/schema/log.py17CODE
LOWsrc/backend/base/langflow/schema/playground_events.py88CODE
LOWsrc/backend/base/langflow/schema/playground_events.py123CODE
LOWsrc/backend/base/langflow/api/v1/store.py90CODE
LOWsrc/backend/base/langflow/api/v1/monitor.py227CODE
LOWsrc/backend/base/langflow/api/v1/models.py116CODE
LOWsrc/backend/base/langflow/api/v1/chat.py222CODE
LOWsrc/backend/base/langflow/api/v1/chat.py758CODE
LOWsrc/backend/base/langflow/api/v1/authz_audit.py57CODE
LOWsrc/backend/base/langflow/api/v1/traces.py46CODE
LOWsrc/backend/base/langflow/api/v1/endpoints.py357CODE
LOW…kend/base/langflow/api/utils/knowledge_base_service.py89CODE
LOW…kend/base/langflow/api/utils/knowledge_base_service.py217CODE
LOWsrc/backend/base/langflow/helpers/flow.py283CODE
LOWsrc/backend/base/langflow/services/job_queue/service.py858CODE
LOWsrc/backend/base/langflow/services/store/service.py201CODE
LOWsrc/backend/base/langflow/services/store/service.py507CODE
LOWsrc/backend/base/langflow/services/flow/flow_runner.py57CODE
LOW…ndles/src/lfx_bundles/elastic/opensearch_multimodal.py724CODE
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALsrc/lfx/src/lfx/utils/image.py12from lfx.utils.helpers import get_mime_typeCODE
CRITICALsrc/lfx/src/lfx/base/data/base_file.py24from lfx.utils.helpers import build_content_type_from_extensionCODE
CRITICALsrc/backend/base/langflow/api/v1/files.py14from lfx.utils.helpers import build_content_type_from_extensionCODE
CRITICALsrc/backend/base/langflow/api/v1/mcp_utils.py20from lfx.utils.helpers import build_content_type_from_extensionCODE
CRITICALsrc/backend/base/langflow/services/storage/utils.py1from lfx.utils.helpers import build_content_type_from_extensionCODE
Overly Generic Function Names29 hits · 28 pts
SeverityFileLineSnippetContext
LOWsrc/lfx/tests/unit/extension/test_validate.py278 "def helper():\n"CODE
LOWsrc/lfx/tests/unit/services/test_edge_cases.py294 def do_something(self):CODE
LOW…fx/components/flow_controls/data_conditional_router.py79 def process_data(self) -> Data | list[Data]:CODE
LOW…c/lfx/src/lfx/events/observability/lifecycle_events.py40 async def my_method(self, event_manager: EventManager, data: str):STRING
LOWsrc/frontend/tests/assets/test-file.py1def test_function():CODE
LOWsrc/backend/tests/unit/test_validate_code.py19def my_function(x: str) -> Path:CODE
LOWsrc/backend/tests/unit/test_validate_code.py71def my_function(x):CODE
LOWsrc/backend/tests/unit/test_validate_code.py82def my_function(x):CODE
LOWsrc/backend/tests/unit/test_validate_code.py93def my_function(x):CODE
LOWsrc/backend/tests/unit/test_validate_code.py104def my_function(x):CODE
LOWsrc/backend/tests/unit/utils/test_validate.py206def helper():CODE
LOWsrc/backend/tests/unit/utils/test_validate.py209def main_function():CODE
LOWsrc/backend/tests/unit/utils/test_validate.py415def my_function():CODE
LOWsrc/backend/tests/unit/utils/test_validate.py535def helper():CODE
LOWsrc/backend/tests/unit/utils/test_validate.py555def helper():CODE
LOWsrc/backend/tests/unit/schema/test_cross_module.py35 def process_data(data: LangflowData) -> str:CODE
LOW…onents/models_and_agents/policies/test_guarded_tool.py15def my_function(person: Person) -> str:CODE
LOW…nd/tests/unit/services/tracing/test_tracing_service.py606 async def run_task(CODE
LOWsrc/sdk/tests/test_streaming.py236 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_streaming.py321 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_streaming.py40 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_streaming.py272 def handle_request(self, request: httpx.Request) -> httpx.Response: # noqa: ARG002CODE
LOWsrc/sdk/tests/test_streaming.py288 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py161 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py183 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py272 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py68 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py325 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py355 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
Slop Phrases7 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMdocs/static/files/eval_and_remediate_cleanlab.json1387 "value": "from langflow.custom import Component\nfrom langflow.io import (\n MessageTextInput,\n PCODE
MEDIUMdocs/static/files/eval_and_remediate_cleanlab.json1428 "value": "Based on the available information, I cannot provide a complete answer to this question."CODE
MEDIUMdocs/static/files/Meeting_Notes_Agent.json45 "value": "Good morning. Thanks for joining this project review meeting. We've got quite CODE
MEDIUM…backend/tests/unit/agentic/api/test_code_extraction.py61 text = f"Here is the component:\n\n```python\n{VALID_COMPONENT_CODE}\n```\n\nLet me know if you need changes."CODE
MEDIUM…backend/tests/unit/agentic/api/test_code_extraction.py431Let me know if you need any modifications!"""CODE
MEDIUM…backend/tests/unit/agentic/api/test_flow_extraction.py33 "Let me know if you need changes."CODE
MEDIUM…undles/src/lfx_bundles/cleanlab/cleanlab_remediator.py98 value="Based on the available information, I cannot provide a complete answer to this question.",CODE
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippetContext
HIGH…/data/starter_projects_1_6_0/Instagram Copywriter.json1371 "description": "# 📖 README\n\nWelcome to the Instagram Copywriter! This flow helps you create compelling InsCODE
HIGH…fx/src/lfx/base/models/unified_models/model_catalog.py129 # Format as requestedCOMMENT
AI Response Leakage2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHsrc/backend/base/langflow/locales/en.json6708 "template_notes.basic_prompting.bd8ff52b": "# 📖 README\nThis template demonstrates a standard chat flow with additionaCODE
HIGH…ow/initial_setup/starter_projects/Basic Prompting.json522 "description": "# 📖 README\nThis template demonstrates a standard chat flow with additional instructions proCODE
TODO Padding3 hits · 5 pts
SeverityFileLineSnippetContext
LOWsrc/backend/tests/unit/base/load/test_load.py36 # TODO: Add tests by loading a flow and running it need to text with fake llm and check if itCOMMENT
LOWsrc/backend/base/langflow/api/v1/mcp_projects.py1338 # TODO: implement an environment variable to enable/disable stateless modeCOMMENT
LOW…les/lfx-bundles/src/lfx_bundles/google/google_drive.py59 # TODO: Add validation to check if the document ID is validCOMMENT
Example Usage Blocks3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/lfx/src/lfx/base/huggingface/model_bridge.py117# How to useCOMMENT
LOWsrc/lfx/src/lfx/base/huggingface/model_bridge.py124# # Example usageCOMMENT
LOWsrc/backend/base/langflow/api/v1/endpoints.py1132 ### Example usage:STRING