AI Slop Code RIsk Monitor

langflow-ai/langflow

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

28.7 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for langflow-ai/langflow, a Python project with 155,469 GitHub stars. SynthScan examined 1,650,448 lines of code across 8465 source files, recording 39680 pattern matches distributed across 29 syntactic categories. The legacy adjusted pattern signal is 28.7 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

28.7
Adjusted Signal
28.7
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
155.5K
Stars
Python
Language
1.7M
Lines of Code
8.5K
Files
39.7K
Pattern Hits
2026-10-12
Scan Date
0.09
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 55.1/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 25268 finding(s).

Hallucinated Dependency & Supply Chain Risk 21.5/100 · LOW

Are imports declared and package/API names verified? 9474 finding(s).

Agent Over-Engineering Ratio 64.2/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 27447 finding(s).

PR Review Velocity Impact 78.0/100 · CRITICAL

Which changes need focused human review? 39680 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 7HIGH 757MEDIUM 3222LOW 35694

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 39680 distinct pattern matches across 29 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers22446 hits · 20962 pts
SeverityFileLineSnippetContext
LOWdocs/openapi/generate_openapi.py50def _collect_and_rewrite_defs(node: Any, collected: dict[str, Any]) -> None:CODE
LOW⚡docs/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.py98def read_secret_key_from_file(config_dir: Path) -> str | None:CODE
LOWscripts/migrate_secret_key.py189def decrypt_sso_secret_with_key(envelope: str, key: str) -> str:CODE
LOWscripts/migrate_secret_key.py196def encrypt_sso_secret_with_key(plaintext: str, key: str) -> str:CODE
LOWscripts/build_component_index.py16async def _load_components_for_index() -> dict:CODE
LOWscripts/build_component_index.py35def _normalize_for_determinism(obj):CODE
LOWscripts/ci/test_pypi_nightly_tag.py82def test_main_and_base_return_identical_version_given_offset_histories():CODE
LOWscripts/ci/test_pypi_nightly_tag.py92def test_aligned_histories_increment_by_one():CODE
LOW⚡scripts/ci/test_pypi_nightly_tag.py104def test_first_ever_nightly_both_absent():CODE
LOW⚡scripts/ci/test_pypi_nightly_tag.py108def test_base_version_bump_resets_counter():CODE
LOW⚡scripts/ci/test_pypi_nightly_tag.py114def test_base_version_bump_with_some_new_series_releases():CODE
LOWscripts/ci/test_pypi_nightly_tag.py125def test_final_release_does_not_advance_counter():CODE
LOWscripts/ci/test_pypi_nightly_tag.py134def test_malformed_response_raises():CODE
LOWscripts/ci/test_pypi_nightly_tag.py146def test_higher_package_lookup_failure_aborts():CODE
LOWscripts/ci/test_pypi_nightly_tag.py154def test_network_error_raises():CODE
LOWscripts/ci/test_pypi_nightly_tag.py167def test_unparseable_version_string_is_skipped():CODE
LOWscripts/ci/test_pypi_nightly_tag.py171def 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
LOW⚡scripts/ci/test_update_lf_base_dependency.py61def test_idempotent_on_already_pinned(pyproject: Path) -> None:CODE
LOW⚡scripts/ci/test_update_lf_base_dependency.py69def test_raises_when_no_lfx_dependency(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡scripts/ci/test_update_lf_base_dependency.py77def test_pattern_skips_unrelated_packages(pyproject: Path) -> None:CODE
LOWscripts/ci/test_update_lf_base_dependency.py90def test_root_base_pins_preserve_each_optional_extra(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/test_execution_principal_matrix.py15def _workflow_pull_request_paths() -> list[str]:CODE
LOW⚡scripts/ci/test_execution_principal_matrix.py48def test_execution_principal_matrix_is_complete() -> None:CODE
LOW⚡scripts/ci/test_execution_principal_matrix.py52def test_every_entrypoint_declares_each_principal_and_safety_dimension() -> None:CODE
LOW⚡scripts/ci/test_execution_principal_matrix.py60def test_ci_workflow_watches_every_canonical_source_and_test_reference() -> None:CODE
LOW⚡scripts/ci/test_execution_principal_matrix.py75def test_checker_rejects_a_missing_error_policy(tmp_path: Path) -> None:CODE
LOW⚡scripts/ci/test_execution_principal_matrix.py84def test_checker_reports_missing_matrix_file(tmp_path: Path) -> None:CODE
LOW⚡scripts/ci/test_execution_principal_matrix.py92def test_checker_reports_malformed_matrix_json(tmp_path: Path) -> None:CODE
LOWscripts/ci/test_execution_principal_matrix.py103def test_checker_rejects_generic_non_behavioral_test_references(tmp_path: Path) -> None:CODE
LOWscripts/ci/test_authz_endpoint_matrix.py20def test_authz_endpoint_matrix_matches_every_decorated_route() -> None:CODE
LOWscripts/ci/test_authz_endpoint_matrix.py25def test_authz_endpoint_matrix_has_required_persona_and_safety_dimensions() -> None:CODE
LOW⚡scripts/ci/test_authz_endpoint_matrix.py38def test_authz_endpoint_matrix_accepts_every_canonical_action(action: str) -> None:CODE
LOW⚡scripts/ci/test_authz_endpoint_matrix.py47def test_authz_endpoint_matrix_rejects_unknown_action() -> None:CODE
LOW⚡scripts/ci/test_authz_endpoint_matrix.py56def test_authz_endpoint_matrix_rejects_a_new_unclassified_route(tmp_path: Path, monkeypatch) -> None:CODE
LOWscripts/ci/update_pyproject_combined.py15def update_projects_for_nightly(main_tag: str, base_tag: str, lfx_tag: str) -> None:CODE
LOWscripts/ci/test_database_template.py14def test_template_includes_wal_and_copies_have_independent_state(tmp_path):CODE
LOWscripts/ci/test_database_template.py36def test_missing_template_requires_real_initialization(tmp_path):CODE
LOWscripts/ci/update_bundle_prerelease_dependencies.py18def update_bundle_prerelease_dependencies(pyproject_path: Path, manifest_path: Path) -> int:CODE
LOWscripts/ci/bundle_release_plan.py272def _ensure_not_behind_public_latest(package: str, version: str, lfx_version: str | None, client: IndexClient) -> None:CODE
LOWscripts/ci/bundle_release_plan.py406def _pyproject_release_relevant(base_content: str | None, current_content: str) -> bool:CODE
LOWscripts/ci/bundle_release_plan.py644def _restamped_lfx_requirement(requirement: str, expected: str) -> str:CODE
LOWscripts/ci/bundle_release_plan.py714def _replace_manifest_version(content: str, version: str) -> str:CODE
LOWscripts/ci/bundle_release_plan.py783def restamp_unpublished_bundles(CODE
LOWscripts/ci/update_component_index_version.py12def update_component_index_version(index_path: str | Path, version: str) -> None:CODE
LOW⚡scripts/ci/test_release_workflow.py24def test_finalized_bundles_do_not_influence_shared_rc_number() -> None:CODE
LOW⚡scripts/ci/test_release_workflow.py34def test_bundle_build_uses_one_content_aware_prerelease_plan() -> None:CODE
LOW⚡scripts/ci/test_release_workflow.py44def test_standalone_bundle_workflow_uses_the_same_release_planner() -> None:CODE
LOW⚡scripts/ci/test_release_workflow.py52def test_full_release_requires_and_consumes_the_aligned_base_artifact() -> None:CODE
22386 more matches not shown…
Decorative Section Separators2305 hits · 8448 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.py773# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py775# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1044# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1046# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1118# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1120# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1228# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1230# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py145# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py147# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py346# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py348# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1546# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1548# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1580# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1582# ---------------------------------------------------------------------------STRING
MEDIUMscripts/gp/tests/test_gp_client.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py14# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/gp/tests/test_gp_client.py26# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/gp/tests/test_gp_client.py28# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/gp/tests/test_gp_client.py67# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/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
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py191# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py193# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py241# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py243# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py330# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py332# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py630# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py632# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py656# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py658# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py769# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py771# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py911# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py913# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py952# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py954# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py1142# ===================================================================COMMENT
MEDIUM⚡src/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
2245 more matches not shown…
Fake / Example Data5958 hits · 4125 pts
SeverityFileLineSnippetContext
LOW⚡docs/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
5898 more matches not shown…
Unused Imports3392 hits · 3056 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_logged_exception_text.py61CODE
LOWscripts/lint/check_component_env_writes.py33CODE
LOWscripts/ci/langflow_pre_release_tag.py3CODE
LOWscripts/ci/check_components_frozen.py19CODE
LOWscripts/ci/test_execution_principal_matrix.py1CODE
LOWscripts/ci/test_authz_endpoint_matrix.py1CODE
LOWscripts/ci/update_bundle_prerelease_dependencies.py3CODE
LOWscripts/ci/bundle_release_plan.py12CODE
LOWscripts/ci/update_component_index_version.py3CODE
LOWscripts/ci/test_release_workflow.py3CODE
LOWscripts/ci/install_release_wheels.py10CODE
LOWscripts/ci/test_bundle_release_plan.py5CODE
LOWscripts/ci/test_update_lfx_version.py3CODE
LOWscripts/ci/backend_test_metrics.py8CODE
LOWscripts/ci/check_authz_endpoint_matrix.py4CODE
LOWscripts/ci/manage_bundle_profiles.py3CODE
LOWscripts/ci/sync_bundle_lfx_pin.py42CODE
LOWscripts/ci/check_execution_principal_matrix.py4CODE
LOWscripts/ci/test_release_inventory.py1CODE
LOWscripts/ci/check_release_inventory.py3CODE
LOWscripts/ci/update_starter_projects.py6CODE
LOWscripts/ci/test_install_release_wheels.py3CODE
LOWscripts/ci/update_lfx_pre_release_dependency.py3CODE
LOWscripts/ci/test_bundle_profiles.py1CODE
LOW…ripts/ci/test_update_bundle_prerelease_dependencies.py3CODE
LOWscripts/ci/test_release_rc_number.py8CODE
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_db_span_path_redaction.py13CODE
LOWsrc/lfx/tests/unit/test_langflow_base_distribution.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_http_semconv_names.py14CODE
LOWsrc/lfx/tests/unit/test_logged_exception_guard.py12CODE
LOWsrc/lfx/tests/unit/test_process.py11CODE
3332 more matches not shown…
Self-Referential Comments578 hits · 1898 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/docker-compose.yml52 # Define the port inside of the Docker service to useCOMMENT
MEDIUM⚡scripts/factory_restart_space.py40# Create an instance of the HfApi class to interact with the Hugging Face Hub.COMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp_spot.sh29# Create a firewall rule to allow TCP port 7860 for all instances in the VPCCOMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp_spot.sh35# Create a firewall rule to allow IAP trafficCOMMENT
MEDIUM⚡scripts/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
MEDIUM⚡scripts/gcp/deploy_langflow_gcp.sh29# Create a firewall rule to allow TCP port 7860 for all instances in the VPCCOMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp.sh35# Create a firewall rule to allow IAP trafficCOMMENT
MEDIUM⚡scripts/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.yml121 # Create a witness flow (proves row persistence)COMMENT
MEDIUM.github/workflows/db-migration-validation.yml138 # Create a witness credential (type=Credential stores encrypted value, exercises encrypted-column migrations)COMMENT
MEDIUM.github/workflows/typescript_test.yml273 # Create the matrix combinations stringCOMMENT
MEDIUM.github/workflows/a11y-scan.yml32 # Define the directory where Playwright browsers will be installed.COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py640 assert "# This file contains" in txtCODE
MEDIUMsrc/lfx/tests/unit/test_component_index.py147 # Create the directory structureCOMMENT
MEDIUMsrc/lfx/tests/unit/memory/test_memory.py274 # Create a larger batch to test performanceCOMMENT
MEDIUM⚡src/lfx/tests/unit/config/test_environments.py236 # Create a git boundary so it doesn't walk up furtherSTRING
MEDIUM⚡src/lfx/tests/unit/graph/graph/test_utils.py224 # Create a graph with 50 nodes that definitely contains cyclesCOMMENT
MEDIUM⚡src/lfx/tests/unit/graph/graph/test_utils.py351 # Define the graph with multiple cyclesCOMMENT
MEDIUM⚡src/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
MEDIUM⚡src/lfx/tests/unit/graph/graph/test_base.py329 # Create a simple graph with two components and a flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py184 # Create a simple linear graph structure:COMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py362 # Create a simple graph with two components and a flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py398 # Create a simple graph with flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py421 # Create a simple graph with flow_idCOMMENT
MEDIUM⚡src/lfx/tests/unit/graph/vertex/test_vertex_base.py1125 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py392 # Create a mock graphCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py1162 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py1200 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py1228 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/utils/test_sandbox.py547 # Create the loop, then freeze it so nothing submitted can execute.COMMENT
MEDIUM⚡src/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
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py130 # Create a real graph with ChatInput and ChatOutputCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py150 # Create a graph with only ChatOutput, no ChatInputCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py162 # Create a graph with only ChatInput, no ChatOutputCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py334 # Create a real Message objectCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py342 # Create a minimal mock for the vertex structureCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py368 # Create a real Message objectCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py376 # Create a minimal mock for the vertex structureCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py429 # Create a real Message objectCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py459 # Create a real Message objectCOMMENT
518 more matches not shown…
Cross-File Repetition320 hits · 1600 pts
SeverityFileLineSnippetContext
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0prefer calculator tool output, then the last number in the assistant reply.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0prefer calculator tool output, then the last number in the assistant reply.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0prefer calculator tool output, then the last number in the assistant reply.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0stream one ag-ui run; return assistant text and tool results.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0stream one ag-ui run; return assistant text and tool results.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0stream one ag-ui run; return assistant text and tool results.STRING
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
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
260 more matches not shown…
Excessive Try-Catch Wrapping1620 hits · 1579 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
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.py332 print("Error: Could not find current secret key.")CODE
MEDIUMscripts/migrate_secret_key.py346 print("Error: Old and new secret keys are the same")CODE
MEDIUMscripts/migrate_secret_key.py589 print("Error: Could not determine database URL.")STRING
LOWscripts/build_component_index.py91 except Exception as e:CODE
LOWscripts/build_component_index.py173 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.py183 except Exception as exc: # noqa: BLE001CODE
LOWscripts/ci/bundle_release_plan.py777 except Exception:CODE
LOWscripts/ci/bundle_release_plan.py831 except Exception:CODE
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
LOW⚡scripts/e2e_deployment_tests/watsonx_orchestrate/api.py309 except Exception as exc: # noqa: BLE001CODE
LOW⚡scripts/e2e_deployment_tests/watsonx_orchestrate/api.py315 except Exception as exc: # noqa: BLE001CODE
LOW⚡scripts/e2e_deployment_tests/watsonx_orchestrate/api.py321 except Exception as exc: # noqa: BLE001CODE
LOW⚡scripts/e2e_deployment_tests/watsonx_orchestrate/api.py1769 except Exception: # noqa: BLE001CODE
LOW⚡scripts/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
1560 more matches not shown…
Docstring Block Structure179 hits · 895 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.py111DEPRECATED: Stores a message in the memory. DEPRECATED: Use `astore_message` instead. Args: message (MSTRING
HIGHsrc/lfx/src/lfx/memory/stubs.py132Update 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.py2345Builds a vertex in the graph. Args: vertex_id (str): The ID of the vertex to build. getSTRING
HIGHsrc/lfx/src/lfx/graph/state/model.py43Builds 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.py101Build 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.py149Create a dynamic Pydantic state model based on the provided keyword arguments. This function generates a Pydantic mSTRING
HIGHsrc/lfx/src/lfx/utils/ssrf_requests.py207Perform a GET request with SSRF validation on the initial URL and every redirect hop. Automatic redirect following STRING
HIGHsrc/lfx/src/lfx/utils/python_repl_security.py284Import an allow-listed module and return ``(module_name, sandbox-safe proxy)``. Args: name: Dotted module nSTRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py236Resolve a hostname to its IP addresses. Args: hostname: Hostname to resolve Returns: list[str]STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py289Validate that hostname exists in the URL. Args: hostname: Hostname to validate (may be None) Returns: STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py307Validate 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.py597Validate 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.py1019Validate 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.py182Split a ``"<namespace>/<file_name>"`` storage key and verify the caller may address it. Storage keys are the internSTRING
HIGHsrc/lfx/src/lfx/utils/file_path_security.py286Ensure 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.py555Consumes 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
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.py23Prepare 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.py498Retrieve 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.py543Retrieve 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/workflow/end_user_identity.py137Resolve the end-user identity for one serving request. Args: header_name: Configured trusted-header name, oSTRING
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.py259Dynamically create a class from a string of code and a specified class name. Args: code: String containing STRING
HIGHsrc/lfx/src/lfx/custom/validate.py531Prepares the global scope with necessary imports from the provided code module. Args: module: AST parsed moSTRING
HIGHsrc/lfx/src/lfx/custom/validate.py746Extract 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.py303Converts 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.py550Connects the component to other components or sets parameters and attributes. Args: **kwargs: KeywoSTRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py593Retrieves 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.py610Retrieves 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.py642Maps 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.py836Find 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.py2030Send 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
119 more matches not shown…
Empty Error Handlers137 hits · 685 pts
SeverityFileLineSnippetContext
HIGHscripts/ci/manage_bundle_profiles.py153except ValueError:CODE
HIGHscripts/ci/manage_bundle_profiles.py163except ValueError:CODE
HIGHsrc/lfx/tests/conftest.py62except ImportError:CODE
HIGH…tests/unit/cli/test_serve_env_isolation_integration.py137except (urllib.error.URLError, ConnectionError, TimeoutError, OSError):CODE
HIGH…li/test_run_starter_projects_backward_compatibility.py188except json_module.JSONDecodeError:CODE
HIGH…fx/tests/unit/custom/component/test_dynamic_imports.py188except AttributeError:CODE
HIGH…x/tests/unit/custom/custom_component/test_component.py19except ImportError:CODE
HIGH…tests/integration/cli/test_simple_agent_integration.py368except (ValueError, OSError):CODE
HIGHsrc/lfx/src/lfx/extension/loader/_plugins.py443except (ValueError, ImportError, AttributeError):CODE
HIGHsrc/lfx/src/lfx/graph/utils.py203except ImportError:CODE
HIGHsrc/lfx/src/lfx/graph/utils.py224except ImportError:CODE
HIGHsrc/lfx/src/lfx/graph/flow_builder/spec.py51except ValueError:CODE
HIGHsrc/lfx/src/lfx/graph/flow_builder/spec.py55except ValueError:CODE
HIGHsrc/lfx/src/lfx/graph/flow_builder/component.py229except json.JSONDecodeError:CODE
HIGHsrc/lfx/src/lfx/template/utils.py144except (ValueError, TypeError):CODE
HIGHsrc/lfx/src/lfx/utils/request_utils.py16except (AttributeError, TypeError):CODE
HIGHsrc/lfx/src/lfx/utils/util.py40except (FileNotFoundError, PermissionError):CODE
HIGHsrc/lfx/src/lfx/utils/util.py113except (FileNotFoundError, PermissionError, IndexError, ValueError):CODE
HIGHsrc/lfx/src/lfx/utils/util.py70except socket.gaierror:CODE
HIGHsrc/lfx/src/lfx/utils/util.py78except socket.gaierror:CODE
HIGHsrc/lfx/src/lfx/utils/util.py86except socket.gaierror:CODE
HIGHsrc/lfx/src/lfx/utils/util.py94except socket.gaierror:CODE
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py176except (ValueError, ipaddress.AddressValueError):CODE
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py1128except ValueError:CODE
HIGHsrc/lfx/src/lfx/utils/langflow_utils.py44except ImportError:CODE
HIGHsrc/lfx/src/lfx/utils/data_structure.py52except (json.JSONDecodeError, TypeError):CODE
HIGHsrc/lfx/src/lfx/mcp/flow_builder_tools/run_tools.py482except ImportError:CODE
HIGHsrc/lfx/src/lfx/cli/common.py816except (OSError, SyntaxError, UnicodeDecodeError):CODE
HIGHsrc/lfx/src/lfx/cli/push.py151except LangflowNotFoundError:CODE
HIGHsrc/lfx/src/lfx/schema/message.py515except AttributeError:CODE
HIGHsrc/lfx/src/lfx/components/models_and_agents/agent.py381except ImportError:CODE
HIGHsrc/lfx/src/lfx/components/models_and_agents/agent.py507except ImportError:CODE
HIGHsrc/lfx/src/lfx/components/models_and_agents/agent.py820except (AttributeError, TypeError, ValueError, KeyError, ImportError):CODE
HIGH…fx/src/lfx/components/files_and_knowledge/save_file.py379except (json.JSONDecodeError, ValueError):CODE
HIGHsrc/lfx/src/lfx/components/files_and_knowledge/file.py66except ProcessLookupError:CODE
HIGHsrc/lfx/src/lfx/components/files_and_knowledge/file.py431except _FileToolCancelledError:CODE
HIGHsrc/lfx/src/lfx/components/files_and_knowledge/file.py433except asyncio.TimeoutError:CODE
HIGHsrc/lfx/src/lfx/components/processing/converter.py113except (json.JSONDecodeError, ValueError):CODE
HIGH…/lfx/src/lfx/components/llm_operations/llm_selector.py160except IndexError:CODE
HIGHsrc/lfx/src/lfx/log/logger.py1233except (ValueError, IndexError):CODE
HIGHsrc/lfx/src/lfx/custom/validate.py425except AttributeError:CODE
HIGHsrc/lfx/src/lfx/custom/validate.py431except ModuleNotFoundError:CODE
HIGHsrc/lfx/src/lfx/custom/annotation_validation.py967except (AttributeError, TypeError):CODE
HIGH…/lfx/src/lfx/custom/custom_component/base_component.py51except (KeyError, AttributeError):CODE
HIGHsrc/lfx/src/lfx/base/agents/altk_tool_wrappers.py237except (AttributeError, KeyError, TypeError):CODE
HIGHsrc/lfx/src/lfx/base/agents/altk_tool_wrappers.py261except (AttributeError, KeyError, TypeError):CODE
HIGHsrc/lfx/src/lfx/base/mcp/util.py951except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_utils.py811except KeyError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py214except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py229except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py244except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py259except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py274except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py289except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py304except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py319except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py334except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py349except ImportError:CODE
HIGH…fx/src/lfx/base/models/unified_models/instantiation.py159except ImportError:CODE
HIGH…fx/src/lfx/base/models/unified_models/instantiation.py357except (TypeError, ValueError):CODE
77 more matches not shown…
Deep Nesting747 hits · 614 pts
SeverityFileLineSnippetContext
LOWscripts/migrate_secret_key.py233CODE
LOWscripts/migrate_secret_key.py307CODE
LOWscripts/check_deprecated_imports.py19CODE
LOWscripts/lint/check_component_env_writes.py86CODE
LOWscripts/lint/check_component_env_writes.py141CODE
LOWscripts/ci/test_execution_principal_matrix.py28CODE
LOWscripts/ci/bundle_release_plan.py721CODE
LOWscripts/ci/bundle_release_plan.py1185CODE
LOWscripts/ci/manage_bundle_profiles.py105CODE
LOWscripts/ci/manage_bundle_profiles.py367CODE
LOWscripts/ci/manage_bundle_profiles.py396CODE
LOWscripts/ci/manage_bundle_profiles.py468CODE
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.py374CODE
LOWscripts/migrate/port_bundle.py660CODE
LOWscripts/migrate/port_bundle.py778CODE
LOWscripts/migrate/port_bundle.py1182CODE
LOWscripts/gp/download.py37CODE
LOWscripts/gp/extract_backend_strings.py39CODE
LOWscripts/a11y/a11y_scan.py331CODE
LOWscripts/a11y/a11y_scan.py1089CODE
LOWsrc/lfx/tests/conftest.py85CODE
LOW…ests/unit/test_telemetry_is_inert_when_unconfigured.py98CODE
LOWsrc/lfx/tests/unit/utils/test_ssrf_protection.py706CODE
LOWsrc/lfx/tests/unit/cli/test_run_starter_projects.py57CODE
LOWsrc/lfx/tests/unit/cli/test_run_command_otlp_export.py112CODE
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.py1050CODE
LOW…/lfx/tests/unit/base/models/test_models_dev_catalog.py722CODE
LOW…sts/unit/base/models/test_azure_ai_foundry_provider.py619CODE
LOWsrc/lfx/tests/unit/base/data/test_base_file.py38CODE
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/observability.py900CODE
LOWsrc/lfx/src/lfx/interface/components.py158CODE
LOWsrc/lfx/src/lfx/interface/components.py348CODE
LOWsrc/lfx/src/lfx/interface/components.py436CODE
LOWsrc/lfx/src/lfx/interface/components.py484CODE
LOWsrc/lfx/src/lfx/interface/components.py1455CODE
LOWsrc/lfx/src/lfx/interface/components.py1505CODE
LOWsrc/lfx/src/lfx/interface/components.py1712CODE
LOWsrc/lfx/src/lfx/interface/initialize/loading.py172CODE
LOWsrc/lfx/src/lfx/interface/initialize/loading.py207CODE
LOWsrc/lfx/src/lfx/interface/initialize/loading.py329CODE
LOWsrc/lfx/src/lfx/upgrade/applier.py54CODE
LOWsrc/lfx/src/lfx/extension/manifest.py434CODE
LOWsrc/lfx/src/lfx/extension/discovery.py215CODE
LOWsrc/lfx/src/lfx/extension/discovery.py266CODE
687 more matches not shown…
Redundant / Tautological Comments401 hits · 563 pts
SeverityFileLineSnippetContext
LOW⚡docs/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
LOW⚡scripts/factory_restart_space.py30# Check if the space name is provided; exit with an error message if not.COMMENT
LOW⚡scripts/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_lf_base_dependency.py25 # Check if the pattern is foundCOMMENT
LOWscripts/ci/update_lf_base_dependency.py57 # Check if the pattern is foundCOMMENT
LOWscripts/setup/check_env.sh16# Check if Python version is compatibleCOMMENT
LOW⚡scripts/gcp/deploy_langflow_gcp_spot.sh17# Check if the VPC exists, and create it if notCOMMENT
LOW⚡scripts/gcp/deploy_langflow_gcp_spot.sh23# Check if the subnet exists, and create it if notCOMMENT
LOW⚡scripts/gcp/deploy_langflow_gcp.sh17# Check if the VPC exists, and create it if notCOMMENT
LOW⚡scripts/gcp/deploy_langflow_gcp.sh23# Check if the subnet exists, and create it if notCOMMENT
LOW.github/workflows/release.yml114 # Check if the input exists as a tagCOMMENT
LOW.github/workflows/release.yml122 # Check if the input also exists as a branch (warn if so, but don't fail)COMMENT
LOW.github/workflows/release.yml611 # Check if langflow-sdk exists on PyPI (may be first release)COMMENT
LOW.github/workflows/release.yml989 # Check if the server is still runningCOMMENT
LOW.github/workflows/release.yml1202 # Check if the server is still runningCOMMENT
LOW.github/workflows/release_nightly.yml233 # Check if the server is still runningCOMMENT
LOW.github/workflows/release_nightly.yml329 # Check if the server is still runningCOMMENT
LOW.github/workflows/python_test.yml303 # Check if the server is still runningCOMMENT
LOW.github/workflows/release-lfx.yml78 # 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.yml124 # Check if response is valid JSON before proceedingCOMMENT
LOW.github/workflows/ci.yml154 # 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
LOW⚡src/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
LOW…tests/data/starter_projects_1_6_0/Meeting Summary.json3063 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…fx/tests/data/starter_projects_1_6_0/Document Q&A.json873 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
341 more matches not shown…
Cross-Language Confusion85 hits · 530 pts
SeverityFileLineSnippetContext
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/ci/test_release_rc_number.py58 "inputs.release_sdk || inputs.release_lfx": "true",CODE
HIGH⚡scripts/a11y/a11y_scan.py262 source: item.source ?? null,STRING
HIGH⚡scripts/a11y/a11y_scan.py263 path: item.path?.dom ?? item.path?.aria ?? null,STRING
HIGH⚡scripts/a11y/a11y_scan.py264 snippet: item.snippet ?? null,STRING
HIGHscripts/a11y/a11y_scan.py293 id: el.id || null,STRING
HIGHscripts/a11y/a11y_scan.py293 id: el.id || null,STRING
HIGH⚡scripts/a11y/a11y_scan.py315 focusedWithinDialog: dialogs.some((dialog) => active && dialog.contains(active)),STRING
HIGH⚡scripts/a11y/a11y_scan.py319 id: active.id || null,STRING
HIGH⚡scripts/a11y/a11y_scan.py319 id: active.id || null,STRING
HIGHscripts/a11y/a11y_scan.py369 if (options.by !== null && options.by !== undefined) {CODE
HIGHscripts/a11y/a11y_scan.py369 if (options.by !== null && options.by !== undefined) {CODE
HIGH⚡src/lfx/tests/unit/mcp/test_mcp_stdio_security.py1077 pytest.param(["/c", "uvx mcp-proxy && calc.exe"], id="and-chain"),CODE
HIGH⚡src/lfx/tests/unit/mcp/test_mcp_stdio_security.py1089 equivalent ``sh -c 'uvx mcp-proxy && calc'`` denial comes back as ``MCPStdioSecurityError``,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.py139 # Handle common pattern for nullable types (anyOf with string and null)COMMENT
HIGHsrc/lfx/src/lfx/schema/workflow.py425 "answer; when it's null, ``output.reason`` says why (``multiple`` / ``none`` / "CODE
HIGHsrc/lfx/src/lfx/base/data/base_file.py597 # 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.py67 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py73 buf.push(USER, "s1", ConversationTurn(user="u0", assistant="a0"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py80 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py88 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py100 buf.push("alice", "s1", ConversationTurn(user="hi-a", assistant="ack-a"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py101 buf.push("alice", "s2", ConversationTurn(user="hi-b", assistant="ack-b"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py108 buf.push("alice", "s1", ConversationTurn(user="hi-a", assistant="ack-a"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py109 buf.push("alice", "s2", ConversationTurn(user="hi-b", assistant="ack-b"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py132 buf.push("alice", "shared-sid", ConversationTurn(user="secret", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py139 buf.push("alice", "shared-sid", ConversationTurn(user="alice-1", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py140 buf.push("bob", "shared-sid", ConversationTurn(user="bob-1", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py148 buf.push("alice", "shared-sid", ConversationTurn(user="alice-1", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py149 buf.push("bob", "shared-sid", ConversationTurn(user="bob-1", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py165 buf.push(USER, f"s{i}", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py176 buf.push(USER, f"s{i}", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py179 buf.push(USER, "s0", ConversationTurn(user="u0-fresh", assistant="a0-fresh"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py183 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⚡…nit/agentic/services/test_assistant_service_history.py245 fresh_buffer.push("alice", "s1", ConversationTurn(user=f"question-{i}", assistant=f"answer-{i}"))CODE
HIGH⚡…nit/agentic/services/test_assistant_service_history.py259 fresh_buffer.push("alice", "s1", ConversationTurn(user="short", assistant=long_reply))CODE
HIGH⚡…nit/agentic/services/test_assistant_service_history.py272 fresh_buffer.push("alice", "s1", ConversationTurn(user=f"question-{i}", assistant=f"answer-{i}"))CODE
HIGH⚡…nit/agentic/services/test_assistant_service_history.py286 fresh_buffer.push("alice", "s1", ConversationTurn(user=f"question-{i}", assistant=f"answer-{i}"))CODE
HIGH⚡…nit/agentic/services/test_assistant_service_history.py299 fresh_buffer.push("alice", "s1", ConversationTurn(user=f"question-{i}", assistant=f"answer-{i}"))CODE
HIGH⚡…nit/agentic/services/test_assistant_service_history.py315 fresh_buffer.push("alice", "s1", ConversationTurn(user=f"q-{i}", assistant=f"a-{i}"))CODE
HIGH⚡…nit/agentic/services/test_assistant_service_history.py327 fresh_buffer.push("alice", "s1", ConversationTurn(user="q-0", assistant="a-0"))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
25 more matches not shown…
Modern Structural Boilerplate515 hits · 523 pts
SeverityFileLineSnippetContext
LOWscripts/migrate_secret_key.py70def 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_pyproject_combined.py15def update_projects_for_nightly(main_tag: str, base_tag: str, lfx_tag: 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.py40def 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
LOW⚡scripts/e2e_deployment_tests/watsonx_orchestrate/api.py1774 async def _setup_provider_clients_context(self) -> None:CODE
LOWscripts/migrate/consolidate_bundles.py349def update_bundles_pyproject(new_extras: dict[str, list[str]], *, apply: bool) -> None:CODE
LOWsrc/lfx/tests/unit/test_tweaks_policy.py431 def update_raw_params(self, params: dict, *, overwrite: bool = False) -> 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.py23def _set_allow_custom_components(monkeypatch, *, allow: bool) -> None:CODE
LOWsrc/lfx/tests/unit/workflow/test_converters.py59def _setup_graph_get_vertex(graph: Mock, vertices: list[Mock]) -> None:CODE
LOWsrc/lfx/src/lfx/observability.py1268 def set_attribute(self, key: str, value: str) -> 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
LOW⚡src/lfx/src/lfx/extension/dev_registry.py63logger = logging.getLogger(__name__)CODE
LOW⚡src/lfx/src/lfx/extension/reload.py100logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/reload.py686__all__ = [CODE
LOW⚡src/lfx/src/lfx/extension/discovery.py59logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/registry.py356 def update_entry(self, extension_id: str, **changes: object) -> None:CODE
LOWsrc/lfx/src/lfx/extension/__init__.py219__all__ = [CODE
LOW⚡src/lfx/src/lfx/extension/bundle_registry.py51logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/loader/_orchestrator.py56logger = logging.getLogger(__name__)CODE
LOW⚡src/lfx/src/lfx/extension/loader/_plugins.py32logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/loader/__init__.py84__all__ = [CODE
LOW⚡src/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__.py24__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
LOW⚡src/lfx/src/lfx/graph/graph/base.py2127 def _set_cache_if_listen_notify_components(self) -> None:CODE
LOW⚡src/lfx/src/lfx/graph/graph/base.py2141 def _set_cache_to_vertices_in_cycle(self) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py438 def _set_start_and_end(self, start: Component, end: Component) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py861 def set_run_id(self, run_id: uuid.UUID | str | None = None) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py1179 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.py1980 def update_edges_from_vertex(self, other_vertex: Vertex) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py2051 def update_vertex_from_another(self, vertex: Vertex, other_vertex: Vertex) -> None:CODE
455 more matches not shown…
Modern AI Meta-Vocabulary150 hits · 447 pts
SeverityFileLineSnippetContext
MEDIUM…omponent-refactoring/references/component-splitting.md402 my-component.tsx # Main orchestration (NOT index.tsx)CODE
MEDIUMdocs/features/langflow-assistant-mcp.md1358### ADR-MCP-007: Two MCP Servers — `lfx/mcp` (canvas-aware) and `agentic/mcp` (DB-aware)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2846#### POST /api/v1/agentic/assist/stream (extended)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2910#### POST /api/v1/agentic/sessions/resetCOMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2946#### MCP Server (agentic, `langflow/agentic/mcp/server.py`)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2982#### Conversation Buffer (`langflow.agentic.services.conversation_buffer`)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2992#### User-Components Registry (`langflow.agentic.services.user_components` + `user_components_overlay` + `user_componentCOMMENT
MEDIUMdocs/features/langflow-assistant.md1957#### POST /api/v1/agentic/assist/streamCOMMENT
MEDIUMdocs/features/langflow-assistant.md2044#### GET /api/v1/agentic/check-configCOMMENT
MEDIUMdocs/features/langflow-assistant.md2078#### POST /api/v1/agentic/assist/runCOMMENT
MEDIUMdocs/features/langflow-assistant.md2101#### POST /api/v1/agentic/assistCOMMENT
MEDIUM⚡docs/openapi/openapi.json10851 "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
MEDIUM⚡src/lfx/tests/unit/test_tweaks_policy.py336# orchestration rather than close an API surface, which is not what an operatorCOMMENT
MEDIUM⚡src/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⚡…sts/unit/base/knowledge_bases/test_postgres_backend.py534 # swapped embedding model must be caught here rather than on INSERT.COMMENT
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.py898# :mod:`lfx.extension.loader._startup` (extracted to keep this orchestrationCOMMENT
MEDIUM⚡src/lfx/src/lfx/extension/loader/_discovery.py31# Files we never treat as bundle modules. Test scaffolding and dunderCOMMENT
MEDIUMsrc/lfx/src/lfx/graph/utils.py278 # Get the transaction service via dependency injectionCOMMENT
MEDIUMsrc/lfx/src/lfx/graph/graph/base.py1074 # agentic assistant all have one. The run did not finish, so it gets its own value.COMMENT
MEDIUM⚡src/lfx/src/lfx/utils/constants.py35 # An enhanced version of claude-v1 with a 100,000 token (roughly 75,000 word) context window.COMMENT
MEDIUM⚡src/lfx/src/lfx/utils/constants.py39 # Like claude-instant-v1 with a 100,000 token context window but retains its performance.COMMENT
MEDIUM⚡src/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
MEDIUM⚡src/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…/src/lfx/components/models_and_agents/mcp_component.py59# orchestration logic in a follow-up PR.COMMENT
MEDIUM…lfx/src/lfx/components/llm_operations/guardrails_v2.py1155 documentation = "https://docs.langflow.org/guardrails"CODE
MEDIUMsrc/lfx/src/lfx/components/llm_operations/guardrails.py41 documentation = "https://docs.langflow.org/guardrails"CODE
MEDIUM⚡src/lfx/src/lfx/base/mcp/security.py36# Env var through which Langflow binds the agentic MCP server to an authenticated user's id.COMMENT
MEDIUM⚡src/lfx/src/lfx/base/mcp/security.py38# tenant-authored stdio config cannot set it. The agentic MCP tools read it and fail closed whenCOMMENT
MEDIUM⚡src/lfx/src/lfx/base/mcp/security.py40# the reader (langflow.agentic.mcp.server).COMMENT
MEDIUM⚡src/lfx/src/lfx/base/mcp/security.py43# Substring identifying the agentic MCP server module in a stdio command, so update_tools knowsCOMMENT
MEDIUMsrc/lfx/src/lfx/base/mcp/security.py181 # -- Langflow-internal trust binding: the agentic MCP server reads the owning user's idCOMMENT
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.py421 "model_type": "embeddings", # Mark as embedding modelCODE
MEDIUM⚡src/frontend/tests/assets/group_test_iadevs.json455 "value": "from lfx.custom import Component\nfrom lfx.inputs import MessageTextInput, HandleInput\nfrom lCODE
MEDIUM⚡src/frontend/tests/assets/group_test_iadevs.json1059 "value": "from lfx.custom import Component\nfrom lfx.inputs import MessageTextInput, HandleICODE
MEDIUM…/utils/__tests__/upgradeComponentEdgeLoss.fixture.json1345 "description": "# Vector Store RAG\n\nAsk questions over a **Knowledge Base** (retrieval-augmented generation)CODE
MEDIUMsrc/frontend/src/CustomNodes/GenericNode/index.tsx415 // from outside the component (e.g. the agentic flow_builder updating theCOMMENT
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.py362 # ---- retrieve_data orchestration ---------------------------------COMMENT
MEDIUM…ponents/embeddings/test_ollama_embeddings_component.py385 {component.JSON_CAPABILITIES_KEY: ["completion"]}, # Not an embedding modelCODE
MEDIUM⚡…components/llm_operations/test_guardrails_component.py491 # Should raise because no guardrails are actually enabledCOMMENT
MEDIUM⚡…components/llm_operations/test_guardrails_component.py473 default_kwargs["enabled_guardrails"] = [] # Disable default guardrailsCODE
90 more matches not shown…
Over-Commented Block263 hits · 238 pts
SeverityFileLineSnippetContext
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 print("\nStripping dynamic fields from component metadata...")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 VERSION="${VERSION#v}"COMMENT
LOW.github/workflows/release.yml1701 with:COMMENT
LOW.github/workflows/release_nightly.yml801 secrets:COMMENT
LOW.github/workflows/release_nightly.yml821 # needs: [build-nightly-main, call_docker_build_main]COMMENT
LOW.github/workflows/python_test.yml141 echo "No lfx_bundles-guarded lfx tests found -- nothing to run."COMMENT
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
LOW.github/workflows/cross-bundle-test.yml161 # with the provider code and need their provider's SDKs. These movedCOMMENT
LOW.github/workflows/release_bundles.yml81 # Bundles floor lfx at the release line they were cut from (e.g.COMMENT
LOWregressions/1.10.x.yaml21# "status": "triage",COMMENT
LOWregressions/1.12.x.yaml21# "area": "flow_editor",COMMENT
LOWsrc/lfx/tests/unit/test_process.py581 assert safe.load_from_db_fields == []COMMENT
LOWsrc/lfx/tests/unit/extension/test_schema.py161 # 7. lfx.compat emptyCOMMENT
LOWsrc/lfx/tests/unit/graph/test_graph.py721 # data = project_data["data"]COMMENT
LOWsrc/lfx/tests/unit/cli/test_serve.py1221 sync_workers=False,COMMENT
LOWsrc/lfx/tests/unit/cli/test_serve_app_flow_span.py141 # The other half of a passing cell: a flow span says the run happened, the server durationCOMMENT
LOW…c/lfx/tests/unit/schema/test_message_content_blocks.py761 # The discriminator must survive so downstream validators thatCOMMENT
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/observability.py41from lfx.log.logger import logger, operator_logger, otel_log_bodies_exportedCOMMENT
LOWsrc/lfx/src/lfx/observability.py81# "langflow" because that is the scope langflow's custom metrics already use, and the metricCOMMENT
LOWsrc/lfx/src/lfx/observability.py201# langchain, bedrock, ... are all installed alongside fastapi and sqlalchemy). Their spansCOMMENT
LOWsrc/lfx/src/lfx/observability.py221# neither, and a literal repeated in both is one edit away from disagreeing.COMMENT
LOWsrc/lfx/src/lfx/interface/components.py61COMMENT
LOWsrc/lfx/src/lfx/interface/components.py81 # still be rebuilt with the server's current copy.COMMENT
LOWsrc/lfx/src/lfx/interface/components.py1161 # When neither $LANGFLOW_SEED_DIR is set nor /opt/langflow/bundlesCOMMENT
LOWsrc/lfx/src/lfx/interface/components.py1181 )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-not-found-with-hint",COMMENT
LOWsrc/lfx/src/lfx/extension/errors.py121 "reload-transport-error",COMMENT
LOWsrc/lfx/src/lfx/extension/loader/_orchestrator.py581# bundle's root. Recognised keys in v0:COMMENT
LOWsrc/lfx/src/lfx/extension/loader/_discovery.py161 )COMMENT
LOWsrc/lfx/src/lfx/graph/graph/base.py161 self.source_flow_id: str | None = NoneCOMMENT
LOWsrc/lfx/src/lfx/graph/graph/base.py641 try:COMMENT
LOWsrc/lfx/src/lfx/graph/graph/base.py681 pending = asyncio.all_tasks(loop)COMMENT
LOWsrc/lfx/src/lfx/graph/graph/base.py1021 # is_recording() goes False once a span has ended, which is the signal that this runCOMMENT
LOWsrc/lfx/src/lfx/graph/graph/base.py1061 )COMMENT
203 more matches not shown…
Verbosity Indicators143 hits · 238 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
LOW⚡src/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
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1067 # Step 1: Check if SSRF protection is enabledCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1074 # Step 2: Parse and validate URL formatCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1086 # Step 3: Validate URL scheme (raises SSRFProtectionError for any non-http/https scheme)COMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1091 # Step 4: Extract and validate hostnameCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1096 # Step 5: Check allowlist (early return for trusted hosts)COMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1105 # Step 6: Handle direct IP addressesCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1133 # Step 7: Resolve hostname to IP addressesCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1141 # Step 8: Validate all resolved IPsCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1163 # Step 9: Block if any resolved IPs are private/internalCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1185 # 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.py840 # Step 3: Infer file extension or use part of the request URL if no filenameCOMMENT
LOW⚡src/lfx/src/lfx/components/data_source/api_request.py859 # Step 4: Define the full file pathCOMMENT
LOW⚡src/lfx/src/lfx/components/data_source/api_request.py868 # Step 5: Check if file exists asynchronously and handle accordinglyCOMMENT
LOWsrc/lfx/src/lfx/custom/custom_component/component.py898 # We need to check if callable AND if it is a method from a class that inherits from ComponentCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py76 # Step 1: Get list of available modelsCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py80 # Step 2: Categorize modelsCOMMENT
LOW⚡src/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.py528 # Step 1: Refresh/cache model options, set defaults and input_typesCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py596 # Step 2: Reset provider-specific visibility without changing values.COMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py608 # Step 3: Show/configure the right fields for the selected providerCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts711 // Step 1: First navigate to files page and upload both filesCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts773 // Step 2: Create a flow with File component and check if PSD file is disabledCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts39 // Step 1: create a destination project. `add-project-button`COMMENT
LOW⚡…/regression/general-bugs-move-flow-from-folder.spec.ts57 // Step 2: go back to the source project. The destination's queryCOMMENT
LOW⚡…/regression/general-bugs-move-flow-from-folder.spec.ts65 // Step 3: real HTML5 drag-and-drop — `dragTo()` populatesCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts80 // 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
83 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.md394### Step 1: Implement the Service ClassCOMMENT
LOWsrc/lfx/PLUGGABLE_SERVICES.md420### Step 2: Register the ServiceCOMMENT
LOWsrc/lfx/PLUGGABLE_SERVICES.md449### 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
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1067 # Step 1: Check if SSRF protection is enabledCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1074 # Step 2: Parse and validate URL formatCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1086 # Step 3: Validate URL scheme (raises SSRFProtectionError for any non-http/https scheme)COMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1091 # Step 4: Extract and validate hostnameCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1096 # Step 5: Check allowlist (early return for trusted hosts)COMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1105 # Step 6: Handle direct IP addressesCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1133 # Step 7: Resolve hostname to IP addressesCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1141 # Step 8: Validate all resolved IPsCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1163 # Step 9: Block if any resolved IPs are private/internalCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1185 # Step 10: Return validated IPs for DNS pinningCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py840 # Step 3: Infer file extension or use part of the request URL if no filenameCOMMENT
LOW⚡src/lfx/src/lfx/components/data_source/api_request.py859 # Step 4: Define the full file pathCOMMENT
LOW⚡src/lfx/src/lfx/components/data_source/api_request.py868 # Step 5: Check if file exists asynchronously and handle accordinglyCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py76 # Step 1: Get list of available modelsCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py80 # Step 2: Categorize modelsCOMMENT
LOW⚡src/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.py528 # Step 1: Refresh/cache model options, set defaults and input_typesCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py596 # Step 2: Reset provider-specific visibility without changing values.COMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py608 # Step 3: Show/configure the right fields for the selected providerCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts711 // Step 1: First navigate to files page and upload both filesCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts773 // Step 2: Create a flow with File component and check if PSD file is disabledCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts39 // Step 1: create a destination project. `add-project-button`COMMENT
LOW⚡…/regression/general-bugs-move-flow-from-folder.spec.ts57 // Step 2: go back to the source project. The destination's queryCOMMENT
LOW⚡…/regression/general-bugs-move-flow-from-folder.spec.ts65 // Step 3: real HTML5 drag-and-drop — `dragTo()` populatesCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts80 // 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 Vocabulary94 hits · 224 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml414 "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
MEDIUM⚡docs/openapi/openapi.json10851 "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
MEDIUM…erence/javascript-examples/test-javascript-examples.sh150 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…12.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
MEDIUMscripts/test-api-examples-local.sh14# harness so a user-wide LANGFLOW_DEVELOPER_API_ENABLED=false does not break the suite.COMMENT
MEDIUM.github/workflows/python_test.yml77 # version-compatibility harness (tests.constants + tests.integration.utils), which isCOMMENT
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
MEDIUM⚡src/lfx/tests/unit/utils/test_python_repl_security.py331 # An administrator's completed run must not elevate the next unbound caller.COMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_prewarm_command.py189 # 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.py41# 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.py411 # so we can just call themCOMMENT
MEDIUMsrc/lfx/src/lfx/extension/discovery.py397 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.py1344 # just add empty lists to complete the lengthCOMMENT
LOW⚡src/lfx/src/lfx/graph/state/model.py258 # No computed fields, just create the model directlyCOMMENT
MEDIUMsrc/lfx/src/lfx/graph/vertex/base.py986 # 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.py817 # If we can't read or parse the file, just return NoneCOMMENT
LOWsrc/lfx/src/lfx/schema/data.py166 # 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.py764 # TODO: Build a more robust check for Component inheritanceCOMMENT
MEDIUMsrc/lfx/src/lfx/base/tools/run_flow.py250 # 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.py550 # Already wrapped with this wrapper, just return itCOMMENT
LOW…fx/src/lfx/base/models/unified_models/model_catalog.py442 # 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.tsx182 // 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
LOW⚡src/backend/tests/unit/test_api_key_source.py413 # 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
34 more matches not shown…
Magic Placeholder Names22 hits · 132 pts
SeverityFileLineSnippetContext
HIGH⚡docs/openapi/openapi.json10851 "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streamCODE
HIGHsrc/lfx/LFX_MCP.md38 "LANGFLOW_API_KEY": "<your-api-key>"CODE
HIGHsrc/lfx/LFX_MCP.md55 "LANGFLOW_API_KEY": "<your-api-key>"CODE
HIGHsrc/lfx/LFX_MCP.md71 "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.ts131 // Verify "YOUR_API_KEY" is present in the JSON before generationCOMMENT
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts132 expect(jsonBeforeGeneration).toContain("YOUR_API_KEY");CODE
HIGH⚡…rontend/tests/extended/features/mcp-server-tab.spec.ts146 // Wait for the JSON to update - it should no longer contain "YOUR_API_KEY"COMMENT
HIGH⚡…rontend/tests/extended/features/mcp-server-tab.spec.ts147 await expect(preElement).not.toContainText("YOUR_API_KEY", {CODE
HIGH⚡…rontend/tests/extended/features/mcp-server-tab.spec.ts153 // Verify that an actual API key (not "YOUR_API_KEY") is presentCOMMENT
HIGH⚡…rontend/tests/extended/features/mcp-server-tab.spec.ts160 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.py1482 x-api-key: YOUR_API_KEYSTRING
Dead Code41 hits · 82 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.py1595CODE
MEDIUM…nd/tests/unit/agentic/api/test_streaming_validation.py370CODE
MEDIUM…nd/tests/unit/agentic/api/test_streaming_validation.py421CODE
MEDIUM…agentic/services/test_assistant_service_step_budget.py67CODE
MEDIUM…gentic/services/test_assistant_service_error_detail.py27CODE
MEDIUM…t/agentic/services/test_assistant_service_streaming.py448CODE
MEDIUM…t/agentic/services/test_assistant_service_streaming.py487CODE
MEDIUM…/tests/unit/agentic/services/test_tool_start_events.py237CODE
MEDIUM…kend/tests/unit/agentic/services/test_restore_point.py158CODE
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
MEDIUM…/unit/api/v1/test_openai_responses_execution_policy.py112CODE
MEDIUMsrc/backend/tests/unit/api/v1/test_traces_api.py347CODE
MEDIUMsrc/backend/tests/unit/api/v1/test_traces_api.py409CODE
MEDIUM…ests/unit/services/test_model_provider_policy_store.py302CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py55CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py74CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py231CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py300CODE
MEDIUM…rvices/warm_registry/test_warm_registry_concurrency.py651CODE
MEDIUM…services/warm_registry/test_warm_registry_reconcile.py357CODE
MEDIUM…ase/langflow/services/background_execution/live_bus.py129CODE
Hallucination Indicators7 hits · 75 pts
SeverityFileLineSnippetContext
CRITICALsrc/lfx/src/lfx/utils/image.py12from lfx.utils.helpers import get_mime_typeCODE
CRITICALsrc/lfx/src/lfx/base/data/base_file.py35from lfx.utils.helpers import build_content_type_from_extensionCODE
CRITICAL…ckend/tests/unit/agentic/helpers/test_code_security.py3416 "from concurrent import *\nfutures.process.mp.reduction.ForkingPickler.loads(payload)",CODE
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.py26from 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
CRITICAL⚡…undles/lfx-bundles/tests/test_twelvelabs_components.py320 client.return_value.embed.task.create.assert_not_called()CODE
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
AI Structural Patterns63 hits · 52 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
LOW…sts/unit/base/knowledge_bases/test_postgres_backend.py104CODE
LOWsrc/lfx/src/lfx/memory/stubs.py199CODE
LOWsrc/lfx/src/lfx/memory/stubs.py238CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py870CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py129CODE
LOWsrc/lfx/src/lfx/utils/util.py558CODE
LOWsrc/lfx/src/lfx/utils/ssrf_transport.py278CODE
LOWsrc/lfx/src/lfx/utils/ssrf_transport.py353CODE
LOWsrc/lfx/src/lfx/cli/run.py53CODE
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.py261CODE
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/schema/message.py987CODE
LOWsrc/lfx/src/lfx/load/load.py145CODE
LOWsrc/lfx/src/lfx/load/load.py208CODE
LOWsrc/lfx/src/lfx/log/logger.py997CODE
LOWsrc/lfx/src/lfx/run/base.py198CODE
LOWsrc/lfx/src/lfx/helpers/flow.py258CODE
LOWsrc/lfx/src/lfx/base/mcp/util.py2767CODE
LOWsrc/lfx/src/lfx/base/models/model_metadata.py26CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py124CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py633CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py932CODE
LOW…gflow-stepflow/tests/unit/test_tool_wrapper_handler.py13CODE
LOW…backend/tests/unit/services/tracing/test_formatting.py37CODE
LOWsrc/backend/base/langflow/memory.py89CODE
LOWsrc/backend/base/langflow/memory.py135CODE
LOWsrc/backend/base/langflow/memory.py179CODE
LOWsrc/backend/base/langflow/__main__.py402CODE
LOW…ackend/base/langflow/agentic/services/flow_executor.py89CODE
LOW…ackend/base/langflow/agentic/services/flow_executor.py174CODE
LOW…nd/base/langflow/agentic/services/assistant_service.py609CODE
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/build.py462CODE
LOWsrc/backend/base/langflow/api/v1/store.py100CODE
LOWsrc/backend/base/langflow/api/v1/monitor.py298CODE
LOWsrc/backend/base/langflow/api/v1/models.py282CODE
LOWsrc/backend/base/langflow/api/v1/chat.py316CODE
LOWsrc/backend/base/langflow/api/v1/chat.py1022CODE
LOWsrc/backend/base/langflow/api/v1/authz_audit.py63CODE
LOWsrc/backend/base/langflow/api/v1/traces.py46CODE
LOWsrc/backend/base/langflow/api/v1/endpoints.py602CODE
LOW…kend/base/langflow/api/utils/knowledge_base_service.py90CODE
LOW…kend/base/langflow/api/utils/knowledge_base_service.py351CODE
LOWsrc/backend/base/langflow/api/v2/workflow_execution.py231CODE
LOWsrc/backend/base/langflow/helpers/flow.py395CODE
LOWsrc/backend/base/langflow/services/job_queue/service.py858CODE
LOWsrc/backend/base/langflow/services/store/service.py222CODE
3 more matches not shown…
Overly Generic Function Names47 hits · 43 pts
SeverityFileLineSnippetContext
LOW⚡src/lfx/tests/unit/extension/test_validate.py283 "def helper():\n"CODE
LOW…c/lfx/tests/unit/mcp/test_client_global_var_headers.py116 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…c/lfx/tests/unit/mcp/test_client_global_var_headers.py186 def handle_request(request):CODE
LOW…c/lfx/tests/unit/mcp/test_client_global_var_headers.py216 def handle_request(request):CODE
LOW…c/lfx/tests/unit/mcp/test_client_global_var_headers.py236 def handle_request(request):CODE
LOW⚡src/lfx/tests/unit/custom/test_annotation_validation.py471 def helper(self) -> str:CODE
LOW⚡src/lfx/tests/unit/custom/test_annotation_validation.py475 def helper(self) -> str: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.py20def my_function(x: str) -> Path:CODE
LOW⚡src/backend/tests/unit/test_validate_code.py122def my_function(x):CODE
LOW⚡src/backend/tests/unit/test_validate_code.py133def my_function(x):CODE
LOW⚡src/backend/tests/unit/test_validate_code.py144def my_function(x):CODE
LOW⚡src/backend/tests/unit/test_validate_code.py155def my_function(x):CODE
LOW⚡src/backend/tests/unit/utils/test_validate.py206def helper():CODE
LOW⚡src/backend/tests/unit/utils/test_validate.py209def main_function():CODE
LOW⚡src/backend/tests/unit/utils/test_validate.py418def my_function():CODE
LOWsrc/backend/tests/unit/utils/test_validate.py538def helper():CODE
LOWsrc/backend/tests/unit/utils/test_validate.py558def helper():CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py1792 "def helper():\n return None\n\n"CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py2913 "import zipfile\n\n\ndef helper(m):\n return m.os.getenv('HOME')\n\n\nvalue = helper(zipfile)",CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py2914 "import zipfile\n\n\ndef helper(m):\n return m.os.system('id')\n\n\nhelper(zipfile)",CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py2918 "import zipfile\n\n\ndef helper(m=zipfile):\n return m.os.getenv('HOME')\n\n\nvalue = helper()",CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py2920 "import tempfile\n\n\ndef helper(m):\n return m.os.getenv('HOME')\n\n\nvalue = helper(tempfile)",CODE
LOW…ckend/tests/unit/agentic/helpers/test_code_security.py1756 "def helper():\n return None\ngetattr(helper, ''.join(['__glob', 'als__']))",CODE
LOW…ckend/tests/unit/agentic/helpers/test_code_security.py2591 "def helper(value):\n return value\n\n\nclass C:\n _helper = helper\n\n"STRING
LOW⚡src/backend/tests/unit/schema/test_cross_module.py35 def process_data(data: LangflowData) -> str:CODE
LOW…onents/models_and_agents/policies/test_guarded_tool.py16def my_function(person: Person) -> str:CODE
LOW…nd/tests/unit/services/tracing/test_tracing_service.py659 async def run_task(CODE
LOW⚡src/sdk/tests/test_streaming.py236 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW⚡src/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
LOW⚡src/sdk/tests/test_file_io.py161 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW⚡src/sdk/tests/test_file_io.py183 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW⚡src/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
LOW…ai-compatible/tests/test_openai_compatible_provider.py135 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py176 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py199 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py223 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py250 def handle_request(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.py131 # Format as requestedCOMMENT
AI Response Leakage2 hits · 12 pts
SeverityFileLineSnippetContext
HIGH⚡src/backend/base/langflow/locales/en.json2687 "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
LOW⚡src/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.py1403 # TODO: implement an environment variable to enable/disable stateless modeCOMMENT
LOW…oogle/src/lfx_google/components/google/google_drive.py64 # 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.py1479 ### Example usage:STRING