Repository Analysis

Zipstack/unstract

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

27.9 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Zipstack/unstract, a Python project with 6,706 GitHub stars. SynthScan v2.0 examined 277,077 lines of code across 1914 source files, recording 5364 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 27.9 places this repository in the Moderate AI signal band.

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

27.9
Adjusted Score
27.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
6.7K
Stars
Python
Language
277.1K
Lines of Code
1.9K
Files
5.4K
Pattern Hits
2026-07-14
Scan Date
0.13
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 6HIGH 235MEDIUM 494LOW 4629

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers2140 hits · 2154 pts
SeverityFileLineSnippetContext
LOWtools/classifier/src/helper.py54 def copy_source_to_output_bin(CODE
LOW…d/src/components/custom-tools/pdf-viewer/PdfViewer.jsx86 function removeZerosAndDeleteIfAllZero(highlightData) {CODE
LOW…logs-and-notifications/DisplayLogsAndNotifications.jsx12export function DisplayLogsAndNotifications() {CODE
LOW…s/logs-and-notifications/LogsAndNotificationsTable.jsx10function LogsAndNotificationsTable({ errorCount, setErrorCount, isMinimized }) {CODE
LOW…src/components/input-output/file-system/FileSystem.jsx73 function getAndUpdateFiles(path) {CODE
LOW…deployments/api-deployment/ApiDeploymentCardConfig.jsx28function createApiDeploymentCardConfig({CODE
LOWfrontend/src/pages/UnstractAdministrationPage.jsx16function UnstractAdministrationPage() {CODE
LOWfrontend/src/helpers/GetStaticData.js476function getLLMModelNamesForProfiles(profiles, adapters) {CODE
LOWrunner/src/unstract/runner/runner.py217 def _get_sidecar_container_config(CODE
LOWrunner/src/unstract/runner/runner.py335 def _handle_tool_execution_status(CODE
LOWrunner/src/unstract/runner/utils.py108 def get_sidecar_container_name(container_name: str) -> str:CODE
LOWrunner/src/unstract/runner/clients/interface.py59 def run_container_with_sidecar(CODE
LOWrunner/src/unstract/runner/clients/docker_client.py299 def run_container_with_sidecar(CODE
LOWrunner/src/unstract/runner/clients/test_docker.py37def docker_client_with_sidecar(mocker):CODE
LOWrunner/src/unstract/runner/clients/test_docker.py132def test_get_container_run_config(docker_client, mocker):CODE
LOWrunner/src/unstract/runner/clients/test_docker.py163def test_get_container_run_config_without_mount(docker_client, mocker):CODE
LOWrunner/src/unstract/runner/clients/test_docker.py216def test_get_image_for_sidecar(docker_client_with_sidecar, mocker):CODE
LOWtests/rig/groups.py181def _validate_dep_targets_exist(groups: dict[str, GroupDefinition]) -> None:CODE
LOWtests/rig/groups.py202def _validate_platform_groups_depend_on_gate(CODE
LOWtests/rig/critical_paths.py112def validate_registry_against_manifest(CODE
LOWtests/rig/cli.py614def _db_env_from_postgres_url(url: str) -> dict[str, str]:CODE
LOWtests/rig/cli.py664def _coverage_attesting_groups(results: list[GroupResult]) -> set[str]:CODE
LOWtests/rig/selection.py72def _groups_for_changed_paths(manifest: GroupManifest, *, base: str) -> set[str]:CODE
LOWtests/rig/pytest_plugin/rig_critical_path.py25def pytest_collection_modifyitems(items):CODE
LOWtests/rig/tests/test_coverage.py47def test_combine_preserves_prior_tier_data(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_coverage.py78def test_combine_unions_same_file_across_tiers(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_coverage.py95def test_combine_no_files_is_noop(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_coverage.py107def test_combine_idempotent_with_only_prior_data(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_coverage.py128def test_combine_swallows_rename_oserror(CODE
LOWtests/rig/tests/test_reporting.py16def test_parse_testsuites_wrapper_sums_across_suites(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_reporting.py38def test_parse_single_testsuite_root(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_reporting.py69def test_missing_counters_flagged_as_error(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_reporting.py84def test_malformed_xml_returns_error_result(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_reporting.py91def test_missing_junit_returns_none(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_reporting.py100def test_status_icon_round_trips() -> None:CODE
LOWtests/rig/tests/test_reporting.py109def test_passed_critical_path_ids_collects_only_passing_marked_tests(CODE
LOWtests/rig/tests/test_reporting.py141def test_passed_critical_path_ids_missing_or_malformed_junit(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_runtime.py15def test_infra_endpoints_rejects_partial_redis_pair() -> None:CODE
LOWtests/rig/tests/test_runtime.py25def test_infra_endpoints_rejects_partial_rabbitmq_pair() -> None:CODE
LOWtests/rig/tests/test_runtime.py32def test_infra_endpoints_allows_fully_specified_pairs() -> None:CODE
LOWtests/rig/tests/test_runtime.py44def test_infra_endpoints_allows_all_none() -> None:CODE
LOWtests/rig/tests/test_runtime.py49def test_platform_endpoints_from_env_uses_defaults(monkeypatch) -> None:CODE
LOWtests/rig/tests/test_critical_paths.py28def test_covered_when_covering_group_is_green() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py35def test_gap_when_no_covering_group_and_no_baseline() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py41def test_gap_when_covered_by_is_empty() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py51def test_regression_when_baseline_covered_but_now_not() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py61def test_baseline_merge_unions_with_existing(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_critical_paths.py88def test_duplicate_path_ids_rejected() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py96def test_critical_path_status_rejects_contradictions() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py110def test_load_baseline_raises_on_corrupt_file(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_critical_paths.py120def test_merge_raises_on_corrupt_existing_baseline(tmp_path: Path) -> None:CODE
LOWtests/rig/tests/test_critical_paths.py132def test_scope_demotes_out_of_scope_regressions_to_gaps() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py161def test_in_scope_flag_distinguishes_gap_flavours() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py186def test_covered_path_is_in_scope() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py198def test_scope_none_preserves_legacy_behavior() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py218def test_marker_proof_covered_when_group_green_and_proven() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py227def test_marker_proof_gap_when_group_green_but_unproven() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py240def test_marker_proof_regression_when_baseline_covered_but_unproven() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py251def test_marker_proof_requires_green_group_too() -> None:CODE
LOWtests/rig/tests/test_critical_paths.py262def test_marker_proof_does_not_affect_group_proof_paths() -> None:CODE
2080 more matches not shown…
Decorative Section Separators356 hits · 1352 pts
SeverityFileLineSnippetContext
MEDIUMtox.ini71# ── Legacy aliases ─────────────────────────────────────────────────────────────COMMENT
MEDIUMdocker/docker-compose.yaml202 # ====================================================================COMMENT
MEDIUMdocker/docker-compose.yaml204 # ====================================================================COMMENT
MEDIUMtests/groups.yaml18 # ── Unit tier: pure pytest, no external services ───────────────────────────COMMENT
MEDIUMtests/groups.yaml105 # ── Integration tier: needs infra but not full platform ────────────────────COMMENT
MEDIUMtests/groups.yaml143 # ── E2E tier: real HTTP against running platform ───────────────────────────COMMENT
MEDIUMtests/rig/cli.py197# ── subcommands ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/rig/cli.py611# ── execution helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUM.claude/skills/worktree/worktree-setup.sh105# ============================================================COMMENT
MEDIUM.claude/skills/worktree/worktree-setup.sh107# ============================================================COMMENT
MEDIUM.claude/skills/worktree/worktree-setup.sh158# ============================================================COMMENT
MEDIUM.claude/skills/worktree/worktree-setup.sh160# ============================================================COMMENT
MEDIUMbackend/workflow_manager/workflow_v2/views.py623# =============================================================================COMMENT
MEDIUMbackend/workflow_manager/workflow_v2/views.py625# =============================================================================COMMENT
MEDIUMbackend/workflow_manager/workflow_v2/views.py359# =============================================================================COMMENT
MEDIUMbackend/workflow_manager/workflow_v2/views.py361# =============================================================================COMMENT
MEDIUMbackend/tenant_account_v2/sharing_helpers.py302# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/tenant_account_v2/sharing_helpers.py304# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/backend/internal_base_urls.py185 # ========================================COMMENT
MEDIUMbackend/backend/internal_base_urls.py187 # ========================================COMMENT
MEDIUM…t_studio/prompt_studio_core_v2/prompt_studio_helper.py478 # ------------------------------------------------------------------COMMENT
MEDIUM…t_studio/prompt_studio_core_v2/prompt_studio_helper.py480 # ------------------------------------------------------------------COMMENT
MEDIUMbackend/usage_v2/tests/test_helper.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/usage_v2/tests/test_helper.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/usage_v2/tests/test_helper.py89# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/usage_v2/tests/test_helper.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMbackend/dashboard_metrics/cache.py133# =============================================================================COMMENT
MEDIUMbackend/dashboard_metrics/cache.py135# =============================================================================COMMENT
MEDIUMworkers/run-worker.sh2# =============================================================================COMMENT
MEDIUMworkers/run-worker.sh4# =============================================================================COMMENT
MEDIUMworkers/run-worker-docker.sh2# =============================================================================COMMENT
MEDIUMworkers/run-worker-docker.sh4# =============================================================================COMMENT
MEDIUMworkers/run-worker-docker.sh372 # =============================================================================COMMENT
MEDIUMworkers/run-worker-docker.sh374 # =============================================================================COMMENT
MEDIUMworkers/run-worker-docker.sh501 # =============================================================================COMMENT
MEDIUMworkers/run-worker-docker.sh503 # =============================================================================COMMENT
MEDIUMworkers/run-worker-docker.sh576 # =============================================================================COMMENT
MEDIUMworkers/run-worker-docker.sh578 # =============================================================================COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py63# -----------------------------------------------------------------------COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py66# -----------------------------------------------------------------------COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py119# -----------------------------------------------------------------------COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py121# -----------------------------------------------------------------------COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py210# -----------------------------------------------------------------------COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py212# -----------------------------------------------------------------------COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py576# -----------------------------------------------------------------------COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py578# -----------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_sanity_phase2.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_sanity_phase2.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_sanity_phase2.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_sanity_phase2.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_sanity_phase2.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_sanity_phase2.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_sanity_phase2.py276# ===========================================================================COMMENT
MEDIUMworkers/tests/test_sanity_phase2.py278# ===========================================================================COMMENT
MEDIUMworkers/tests/test_line_item_extraction.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_line_item_extraction.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_line_item_extraction.py132# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_line_item_extraction.py134# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_line_item_extraction.py173# ---------------------------------------------------------------------------COMMENT
MEDIUMworkers/tests/test_line_item_extraction.py175# ---------------------------------------------------------------------------COMMENT
296 more matches not shown…
Excessive Try-Catch Wrapping1022 hits · 968 pts
SeverityFileLineSnippetContext
LOWtools/text_extractor/src/main.py89 except Exception as e:CODE
LOWtools/classifier/src/helper.py76 except Exception as e:CODE
LOWtools/classifier/src/helper.py103 except Exception as e:CODE
LOWtools/classifier/src/helper.py152 except Exception as e:CODE
LOWtools/classifier/src/helper.py169 except Exception as e:CODE
LOWtools/classifier/src/helper.py216 except Exception as e:CODE
LOWrunner/src/unstract/runner/runner.py211 except Exception as e:CODE
LOWrunner/src/unstract/runner/runner.py289 except Exception as e:CODE
LOWrunner/src/unstract/runner/runner.py373 except Exception as e:CODE
LOWrunner/src/unstract/runner/runner.py507 except Exception as e:CODE
LOWrunner/src/unstract/runner/runner.py563 except Exception as e:CODE
LOWrunner/src/unstract/runner/clients/docker_client.py59 except Exception as remove_error:CODE
LOWrunner/src/unstract/runner/clients/docker_client.py122 except Exception as exc:CODE
LOWrunner/src/unstract/runner/clients/docker_client.py156 except Exception as e:CODE
LOWrunner/src/unstract/runner/clients/docker_client.py360 except Exception as e:CODE
LOWrunner/src/unstract/runner/clients/docker_client.py386 except Exception as e:CODE
LOWrunner/src/unstract/runner/clients/docker_client.py403 except Exception as e:CODE
LOWtests/rig/runtime.py216 except Exception:CODE
LOWtests/rig/runtime.py228 except Exception as exc:CODE
LOWtests/rig/cli.py288 except Exception:CODE
LOWtests/rig/cli.py505 except Exception as exc:CODE
LOW…/skills/connector-ops/references/connector_patterns.md140 except Exception as e:CODE
LOW…/skills/connector-ops/references/connector_patterns.md237 except Exception:CODE
MEDIUM…/skills/connector-ops/references/connector_patterns.md122def test_credentials(self) -> bool:CODE
MEDIUM…/skills/connector-ops/references/connector_patterns.md233def exists(self, path, **kwargs):CODE
LOW…laude/skills/connector-ops/scripts/verify_connector.py134 except Exception as e:CODE
LOW…laude/skills/connector-ops/scripts/verify_connector.py137 except Exception as e:CODE
LOW…laude/skills/connector-ops/scripts/verify_connector.py172 except Exception as e:CODE
LOW.claude/skills/adapter-ops/SKILL.md326 except Exception as e:CODE
LOW…aude/skills/adapter-ops/references/adapter_patterns.md610 except Exception:CODE
LOW…e/skills/adapter-ops/scripts/init_embedding_adapter.py337 except Exception as e:STRING
LOW…e/skills/adapter-ops/scripts/init_embedding_adapter.py411 except Exception:STRING
MEDIUM.claude/skills/adapter-ops/scripts/manage_models.py208 print(f"Error: Schema file not found: {schema_path}")CODE
MEDIUM.claude/skills/adapter-ops/scripts/manage_models.py231 print("Error: --models required for add-enum action")CODE
MEDIUM.claude/skills/adapter-ops/scripts/manage_models.py239 print("Error: --models required for remove-enum action")CODE
MEDIUM.claude/skills/adapter-ops/scripts/manage_models.py247 print("Error: --models required for set-default action (single model)")CODE
MEDIUM.claude/skills/adapter-ops/scripts/manage_models.py255 print("Error: --description required for update-description action")CODE
LOW.claude/skills/adapter-ops/scripts/init_llm_adapter.py347 except Exception as e:STRING
LOW.claude/skills/adapter-ops/scripts/init_llm_adapter.py421 except Exception:STRING
LOWbackend/workflow_manager/internal_serializers.py80 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py88 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py147 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py181 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py221 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py258 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py333 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py373 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py435 except Exception as e:CODE
LOWbackend/workflow_manager/internal_api_views.py442 except Exception as e:CODE
LOWbackend/workflow_manager/internal_views.py103 except Exception as e:CODE
LOWbackend/workflow_manager/internal_views.py151 except Exception as e:CODE
LOWbackend/workflow_manager/internal_views.py254 except Exception as source_error:CODE
LOWbackend/workflow_manager/internal_views.py281 except Exception as e:CODE
LOWbackend/workflow_manager/internal_views.py374 except Exception as endpoint_error:CODE
LOWbackend/workflow_manager/internal_views.py405 except Exception as source_error:CODE
LOWbackend/workflow_manager/internal_views.py434 except Exception as e:CODE
LOWbackend/workflow_manager/internal_views.py462 except Exception as e:CODE
LOWbackend/workflow_manager/internal_views.py527 except Exception as e:CODE
LOWbackend/workflow_manager/internal_views.py609 except Exception as file_error:CODE
LOWbackend/workflow_manager/internal_views.py637 except Exception as e:CODE
962 more matches not shown…
Docstring Block Structure125 hits · 625 pts
SeverityFileLineSnippetContext
HIGHtools/text_extractor/src/main.py32Run the text extraction process. Args: settings (dict[str, Any]): The settings for the tool. STRING
HIGHbackend/workflow_manager/endpoint_v2/queue_utils.py78Get HITL-specific queue connector instance with dynamic imports. This method uses dynamic imports to avoid hardSTRING
HIGHbackend/workflow_manager/endpoint_v2/queue_utils.py137Get HITL connector class from registry (lazy-loaded to avoid circular imports). Args: connector_namSTRING
HIGHbackend/workflow_manager/endpoint_v2/destination.py1117Read and encode file content for queue message. Args: input_file_path: Path to the file to read STRING
HIGHbackend/workflow_manager/endpoint_v2/base_connector.py33Get an fsspec file system based on the specified connector. Parameters: - settings (dict): Connector-spSTRING
HIGHbackend/workflow_manager/endpoint_v2/base_connector.py68Load and return a JSON schema from the specified file path. Parameters: - file_path (str): The path to STRING
HIGHbackend/workflow_manager/endpoint_v2/database_utils.py46Function to return connector db column and types by calling connector table information schema. Args: STRING
HIGHbackend/workflow_manager/endpoint_v2/database_utils.py314Migrate table to v2 by adding _v2 columns. Args: db_class (UnstractDB): DB Connection class STRING
HIGHbackend/workflow_manager/endpoint_v2/source.py967Add input file to execution directory. Args: file_hash (FileHash): The file hash object. RSTRING
HIGHbackend/workflow_manager/endpoint_v2/source.py1113Add input file to execution directory. Args: workflow_file_execution: WorkflowFileExecution model STRING
HIGHbackend/workflow_manager/endpoint_v2/source.py1168Load file contnt and file name based on the file path. Args: input_file_path (str): source file STRING
HIGHbackend/workflow_manager/workflow_v2/workflow_helper.py390Get celery task status. Args: execution_id (str): workflow execution id Raises: STRING
HIGHbackend/workflow_manager/workflow_v2/workflow_helper.py1043Validates the given args for reading the JSON schema. Schema type of `src`, allows entities `file` and `api` STRING
HIGHbackend/workflow_manager/workflow_v2/execution.py363Initiates the execution of a tool for a specific file in the workflow. Args: current_file_iSTRING
HIGH…end/workflow_manager/workflow_v2/file_history_views.py30Validate execution count parameter is a non-negative integer. Args: value: The value to validate STRING
HIGHbackend/workflow_manager/workflow_v2/views.py194Retrieve workflow by workflow id. Args: workflow_id (Optional[str], optional): workflow Id. STRING
HIGHbackend/configuration/config_registry.py142Cast a raw value to the appropriate type for a config key. Args: key_name: Name of the configuratioSTRING
HIGHbackend/utils/organization_utils.py17Resolve organization by either organization.id (int) or organization.organization_id (string). Args: org_idSTRING
HIGHbackend/utils/date/processor.py34Converts various datetime string formats to ISO 8601 format. Args: date_input: A string representinSTRING
HIGHbackend/utils/date/processor.py58Parses and converts date parameters to datetime objects. Args: date_param: Date parameter that can STRING
HIGHbackend/utils/date/processor.py82Processes and validates start and end dates with smart defaults. Logic: 1. If no end_date: use current STRING
HIGHbackend/pipeline_v2/serializers/crud.py169Validate the cron string provided in the serializer data. This method is called internally by the serializer toSTRING
HIGHbackend/platform_settings_v2/platform_auth_service.py34Method to support generation of new platform key. Throws error when maximum count is exceeded. Forbids for user STRING
HIGHbackend/api_v2/serializers.py327Validate presigned URL for security and compatibility. Args: url (str): The presigned URL to validaSTRING
HIGHbackend/api_v2/api_key_validator.py25Wrapper to validate the inputs and key. Args: request (Request): Request context STRING
HIGHbackend/api_v2/deployment_helper.py527Fetch a file from a presigned URL and convert it to an uploaded file. Args: url (str): The presigneSTRING
HIGH…t_studio/prompt_studio_core_v2/prompt_studio_helper.py1510Execute chain/single run of the prompts. Makes a call to prompt service and returns the dict of response. STRING
HIGH…t_studio/prompt_studio_core_v2/prompt_studio_helper.py1788Utility function to invoke prompt service. Used internally. Args: tool (CustomTool): CustomTool insSTRING
HIGHbackend/prompt_studio/prompt_studio_core_v2/views.py421API Entry point method to index input file. Builds the full execution payload (ORM work), then fires a STRING
HIGH…pt_studio_registry_v2/prompt_studio_registry_helper.py153Updates or creates the PromptStudioRegistry record. This appears as a separate tool in the workflow and is mappSTRING
HIGHbackend/connector_processor/connector_processor.py175Validate the connector mode. Parameters: - connector_mode (str): The connector mode to validate. STRING
HIGHbackend/usage_v2/helper.py56Retrieve aggregated token counts for the given run_id. Args: run_id (str): The identifier for the tSTRING
HIGHbackend/connector_auth_v2/pipeline/common.py17Checks if user is authenticated (will be handled in auth middleware, present as a fail safe) Args: userSTRING
HIGHbackend/adapter_processor_v2/adapter_processor.py84Generic Function to get adapter data with provided key. Args: adapter_id: The SDK identifier for thSTRING
HIGHbackend/adapter_processor_v2/adapter_processor.py218Get the adapter instance by its ID. Parameters: - adapter_instance_id (str): The ID of the adapter instSTRING
HIGHbackend/adapter_processor_v2/adapter_processor.py261Get the adapter instance by its name and type. Parameters: - adapter_name (str): The name of the adapteSTRING
HIGHbackend/account_v2/authentication_service.py42Authenticate and log in a user. Args: request (Request): The HTTP request object. Returns:STRING
HIGHbackend/account_v2/authentication_service.py125Validate the login credentials. Args: request (Request): The HTTP request object. Returns:STRING
HIGHworkers/notification/tasks.py72Universal notification processor. This task routes notifications to the appropriate provider based on type. It STRING
HIGHworkers/notification/tasks.py240Backward compatible webhook notification task. This task maintains 100% compatibility with the existing backend STRING
HIGHworkers/notification/providers/base_provider.py30Send notification using this provider. Args: notification_data: Dictionary containing all necessarySTRING
HIGHworkers/notification/providers/base_provider.py53Validate notification data before attempting to send. Args: notification_data: Dictionary containinSTRING
HIGHworkers/notification/providers/webhook_provider.py40Validate webhook notification data. Args: notification_data: Webhook notification data containing: STRING
HIGHworkers/notification/providers/webhook_provider.py88Send webhook notification. This method replicates the exact behavior of the current backend send_webhooSTRING
HIGHworkers/notification/providers/registry.py41Get notification provider class based on type and platform. Args: notification_type: Type of notification (STRING
HIGHworkers/notification/providers/registry.py72Create and instantiate a notification provider. Args: notification_type: Type of notification platfSTRING
HIGHworkers/notification/providers/registry.py89Create provider instance from notification configuration. Args: notification_config: Notification config frSTRING
HIGHworkers/file_processing/tasks.py290Validate and parse input data into typed dataclass. Args: file_batch_data: Raw input dictionary ReturnSTRING
HIGHworkers/file_processing/tasks.py325Setup execution context with validation and API client initialization. Args: batch_data: Validated batch daSTRING
HIGHworkers/shared/worker_builder.py37Build a configured Celery app for the specified worker type. Args: worker_type: Type of worker to bSTRING
HIGHworkers/shared/worker_registry.py197Get queue configuration for a worker type. Args: worker_type: Type of worker Returns: STRING
HIGHworkers/shared/worker_registry.py214Get task routing configuration for a worker type. Args: worker_type: Type of worker ReturnSTRING
HIGHworkers/shared/clients/base_client.py217Enhanced HTTP request with robust error handling and retry logic. Args: method: HTTP method (GET, PSTRING
HIGHworkers/shared/clients/file_client.py625Get file history using flexible parameters (cache_key OR provider_file_uuid). Args: workflow_id: WoSTRING
HIGHworkers/shared/clients/file_client.py662Get file history for multiple files in a single batch operation. Args: workflow_id: Workflow ID STRING
HIGHworkers/shared/cache/cache_types.py107Validate and convert string to CacheType enum. Args: cache_type: String representation of cache type RSTRING
HIGHworkers/shared/patterns/retry/backoff.py299Execute function with smart retry logic. Args: func: Function to execute operation_id: STRING
HIGHworkers/shared/patterns/retry/utils.py70Execute function with retry logic. Args: func: Function to execute *args: Function arguSTRING
HIGHworkers/shared/patterns/retry/utils.py188Execute function with circuit breaker protection. Args: func: Function to execute *argsSTRING
HIGHworkers/shared/patterns/factory/client_factory.py86Create a specialized client with proper fallback handling. Args: client_type: Type of client to creSTRING
65 more matches not shown…
Cross-File Repetition105 hits · 525 pts
SeverityFileLineSnippetContext
HIGH…tion-connectors/test_destination_connector_bigquery.py0verify that all expected columns exist in the table with correct types.STRING
HIGH…ation-connectors/test_destination_connector_mariadb.py0verify that all expected columns exist in the table with correct types.STRING
HIGH…ination-connectors/test_destination_connector_mysql.py0verify that all expected columns exist in the table with correct types.STRING
HIGH…tion-connectors/test_destination_connector_postgres.py0verify that all expected columns exist in the table with correct types.STRING
HIGH…tion-connectors/test_destination_connector_bigquery.py0create a mock endpoint with real database configuration.STRING
HIGH…ation-connectors/test_destination_connector_mariadb.py0create a mock endpoint with real database configuration.STRING
HIGH…ion-connectors/test_destination_connector_snowflake.py0create a mock endpoint with real database configuration.STRING
HIGH…ination-connectors/test_destination_connector_mssql.py0create a mock endpoint with real database configuration.STRING
HIGH…nation-connectors/test_destination_connector_oracle.py0create a mock endpoint with real database configuration.STRING
HIGH…tion-connectors/test_destination_connector_redshift.py0create a mock endpoint with real database configuration.STRING
HIGH…ination-connectors/test_destination_connector_mysql.py0create a mock endpoint with real database configuration.STRING
HIGH…tion-connectors/test_destination_connector_postgres.py0create a mock endpoint with real database configuration.STRING
HIGH…tion-connectors/test_destination_connector_bigquery.py0create a destination connector with mocked django dependencies but real db.STRING
HIGH…ation-connectors/test_destination_connector_mariadb.py0create a destination connector with mocked django dependencies but real db.STRING
HIGH…ion-connectors/test_destination_connector_snowflake.py0create a destination connector with mocked django dependencies but real db.STRING
HIGH…ination-connectors/test_destination_connector_mssql.py0create a destination connector with mocked django dependencies but real db.STRING
HIGH…nation-connectors/test_destination_connector_oracle.py0create a destination connector with mocked django dependencies but real db.STRING
HIGH…tion-connectors/test_destination_connector_redshift.py0create a destination connector with mocked django dependencies but real db.STRING
HIGH…ination-connectors/test_destination_connector_mysql.py0create a destination connector with mocked django dependencies but real db.STRING
HIGH…tion-connectors/test_destination_connector_postgres.py0create a destination connector with mocked django dependencies but real db.STRING
HIGH…ation-connectors/test_destination_connector_mariadb.py0test that data is properly inserted into all columns with correct values.STRING
HIGH…ination-connectors/test_destination_connector_mysql.py0test that data is properly inserted into all columns with correct values.STRING
HIGH…tion-connectors/test_destination_connector_postgres.py0test that data is properly inserted into all columns with correct values.STRING
HIGH…ion-connectors/test_destination_connector_snowflake.py0verify that the table has expected columns with correct data types.STRING
HIGH…ination-connectors/test_destination_connector_mssql.py0verify that the table has expected columns with correct data types.STRING
HIGH…nation-connectors/test_destination_connector_oracle.py0verify that the table has expected columns with correct data types.STRING
HIGH…tion-connectors/test_destination_connector_redshift.py0verify that the table has expected columns with correct data types.STRING
HIGHbackend/workflow_manager/workflow_v2/views.py0email users newly added to ``shared_users`` (best-effort).STRING
HIGHbackend/connector_v2/views.py0email users newly added to ``shared_users`` (best-effort).STRING
HIGHbackend/api_v2/api_deployment_views.py0email users newly added to ``shared_users`` (best-effort).STRING
HIGHbackend/prompt_studio/prompt_studio_core_v2/views.py0email users newly added to ``shared_users`` (best-effort).STRING
HIGHbackend/adapter_processor_v2/views.py0email users newly added to ``shared_users`` (best-effort).STRING
HIGHbackend/workflow_manager/workflow_v2/models/workflow.py0filter api deployments that the user can access: - api deployments created by the user - api deployments shared with theSTRING
HIGHbackend/pipeline_v2/models.py0filter api deployments that the user can access: - api deployments created by the user - api deployments shared with theSTRING
HIGHbackend/api_v2/models.py0filter api deployments that the user can access: - api deployments created by the user - api deployments shared with theSTRING
HIGHbackend/backend/urls_v2.py0url configuration for backend project. the `urlpatterns` list routes urls to views. for more information please see: httSTRING
HIGHbackend/backend/public_urls_v2.py0url configuration for backend project. the `urlpatterns` list routes urls to views. for more information please see: httSTRING
HIGHbackend/backend/public_urls.py0url configuration for backend project. the `urlpatterns` list routes urls to views. for more information please see: httSTRING
HIGHbackend/backend/urls.py0url configuration for backend project. the `urlpatterns` list routes urls to views. for more information please see: httSTRING
HIGHbackend/backend/settings/base.py0get the value of an environment variable specified by the given key. add missing keys to `missing_settings` so that exceSTRING
HIGHplatform-service/src/unstract/platform_service/utils.py0get the value of an environment variable specified by the given key. add missing keys to `missing_settings` so that exceSTRING
HIGHx2text-service/app/env.py0get the value of an environment variable specified by the given key. add missing keys to `missing_settings` so that exceSTRING
HIGHworkers/tests/test_sanity_phase2.py0configure the real executor celery app for eager-mode testing.STRING
HIGHworkers/tests/test_legacy_executor_scaffold.py0configure the real executor celery app for eager-mode testing.STRING
HIGHworkers/tests/test_executor_sanity.py0configure the real executor celery app for eager-mode testing.STRING
HIGHworkers/tests/test_legacy_executor_extract.py0configure the real executor celery app for eager-mode testing.STRING
HIGHworkers/tests/test_sanity_phase2.py0run execute_extraction task via task.apply() (eager-safe).STRING
HIGHworkers/tests/test_executor_sanity.py0run execute_extraction task via task.apply() (eager-safe).STRING
HIGHworkers/tests/test_sanity_phase4.py0run execute_extraction task via task.apply() (eager-safe).STRING
HIGHworkers/tests/test_sanity_phase5.py0run execute_extraction task via task.apply() (eager-safe).STRING
HIGHworkers/tests/test_line_item_extraction.py0configure executor celery app for eager-mode testing.STRING
HIGHworkers/tests/test_sanity_phase6j.py0configure executor celery app for eager-mode testing.STRING
HIGHworkers/tests/test_sanity_phase4.py0configure executor celery app for eager-mode testing.STRING
HIGHworkers/tests/test_sanity_phase6i.py0configure executor celery app for eager-mode testing.STRING
HIGHworkers/tests/test_sanity_phase5.py0configure executor celery app for eager-mode testing.STRING
HIGHworkers/executor/executors/retrievers/automerging.py0retrieve text chunks using llamaindex's native keywordtableindex. returns: set[str]: a set of text chunks retrieved fromSTRING
HIGHworkers/executor/executors/retrievers/recursive.py0retrieve text chunks using llamaindex's native keywordtableindex. returns: set[str]: a set of text chunks retrieved fromSTRING
HIGHworkers/executor/executors/retrievers/keyword_table.py0retrieve text chunks using llamaindex's native keywordtableindex. returns: set[str]: a set of text chunks retrieved fromSTRING
HIGH…ctors/src/unstract/connectors/databases/unstract_db.py0gets the python datatype of value and converts python datatype to corresponding db datatype. args: value (str): python dSTRING
HIGH…unstract/connectors/databases/postgresql/postgresql.py0gets the python datatype of value and converts python datatype to corresponding db datatype. args: value (str): python dSTRING
45 more matches not shown…
Modern Structural Boilerplate436 hits · 442 pts
SeverityFileLineSnippetContext
LOWrunner/src/unstract/runner/__init__.py29__all__ = ["UnstractRunner"]CODE
LOWrunner/src/unstract/runner/utils.py12logger = logging.getLogger(__name__)CODE
LOWrunner/src/unstract/runner/clients/helper.py7logger = logging.getLogger(__name__)CODE
LOWrunner/src/unstract/runner/controller/health.py5logger = logging.getLogger(__name__)CODE
LOWtests/rig/__init__.py14__all__ = [CODE
LOWbackend/workflow_manager/internal_serializers.py19logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/internal_api_views.py24logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/internal_views.py41logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/internal_views.py548 def _update_file_aggregates(execution, validated_data) -> None:CODE
LOWbackend/workflow_manager/utils/pipeline_utils.py10logger = logging.getLogger(__name__)CODE
LOW…kend/workflow_manager/file_execution/internal_views.py24logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/execution/views/execution.py13logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/endpoint_v2/queue_utils.py14logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/endpoint_v2/destination.py44logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/endpoint_v2/serializers.py10logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/endpoint_v2/constants.py7logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/endpoint_v2/database_utils.py17logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/endpoint_v2/source.py53logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/endpoint_v2/tests/__init__.py3__all__ = ["celery_app"]CODE
LOW…ager/endpoint_v2/tests/test_database_utils/__init__.py3__all__ = ["celery_app"]CODE
LOWbackend/workflow_manager/workflow_v2/workflow_helper.py61logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/workflow_v2/workflow_helper.py421 def _set_result_acknowledge(execution: WorkflowExecution) -> None:CODE
LOW…nd/workflow_manager/workflow_v2/execution_log_utils.py16logger = logging.getLogger(__name__)CODE
LOW…ow_manager/workflow_v2/execution_log_internal_views.py20logger = logging.getLogger(__name__)CODE
LOW…nd/workflow_manager/workflow_v2/file_history_helper.py19logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/workflow_v2/execution.py33logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/workflow_v2/execution.py407 def update_execution_task(execution_id: str, task_id: str) -> None:CODE
LOWbackend/workflow_manager/workflow_v2/execution_view.py10logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/workflow_v2/serializers.py30logger = logging.getLogger(__name__)CODE
LOW…end/workflow_manager/workflow_v2/execution_log_view.py21logger = logging.getLogger(__name__)CODE
LOW…end/workflow_manager/workflow_v2/file_history_views.py16logger = logging.getLogger(__name__)CODE
LOWbackend/workflow_manager/workflow_v2/dto.py188 def _update_metadata(self, result: dict, metadata: dict) -> None:CODE
LOWbackend/workflow_manager/workflow_v2/views.py65logger = logging.getLogger(__name__)CODE
LOW…ckend/workflow_manager/workflow_v2/models/execution.py24logger = logging.getLogger(__name__)CODE
LOW…ckend/workflow_manager/workflow_v2/models/execution.py395 def update_execution_err(self, err_msg: str = "") -> None:CODE
LOWbackend/middleware/exception.py14logger = logging.getLogger(__name__)CODE
LOWbackend/middleware/internal_api_auth.py14logger = logging.getLogger(__name__)CODE
LOWbackend/migrating/v2/unstract_migrations.py12logger = logging.getLogger(__name__)CODE
LOW…kend/migrating/v2/management/commands/migrate_to_v2.py16logger = logging.getLogger(__name__)CODE
LOWbackend/configuration/models.py13logger = logging.getLogger(__name__)CODE
LOWbackend/configuration/config_registry.py14logger = logging.getLogger(__name__)CODE
LOWbackend/configuration/internal_views.py13logger = logging.getLogger(__name__)CODE
LOWbackend/tool_instance_v2/serializers.py23logger = logging.getLogger(__name__)CODE
LOWbackend/tool_instance_v2/tool_instance_helper.py35logger = logging.getLogger(__name__)CODE
LOWbackend/tool_instance_v2/internal_views.py19logger = logging.getLogger(__name__)CODE
LOWbackend/tool_instance_v2/tool_processor.py28logger = logging.getLogger(__name__)CODE
LOWbackend/tool_instance_v2/tool_processor.py100 def update_schema_with_adapter_configurations(schema: Spec, user: User) -> None:CODE
LOWbackend/tool_instance_v2/views.py34logger = logging.getLogger(__name__)CODE
LOWbackend/plugins/__init__.py11logger = logging.getLogger(__name__)CODE
LOWbackend/plugins/__init__.py60__all__ = ["get_plugin_manager", "get_plugin"]CODE
LOWbackend/plugins/apps.py7logger = logging.getLogger(__name__)CODE
LOWbackend/plugins/workflow_manager/workflow_v2/utils.py15logger = logging.getLogger(__name__)CODE
LOW…ns/workflow_manager/workflow_v2/api_hub_usage_utils.py11logger = logging.getLogger(__name__)CODE
LOWbackend/plugins/api/dto/__init__.py31__all__ = ["metadata", "ApiDtoService"]CODE
LOWbackend/tenant_account_v2/signals.py13logger = logging.getLogger(__name__)CODE
LOWbackend/tenant_account_v2/group_serializers.py17logger = logging.getLogger(__name__)CODE
LOWbackend/tenant_account_v2/group_views.py30logger = logging.getLogger(__name__)CODE
LOW…ckend/tenant_account_v2/organization_member_service.py8logger = logging.getLogger(__name__)CODE
LOW…ckend/tenant_account_v2/organization_member_service.py82 def set_member_role(member_id: int, role: str) -> None:CODE
LOWbackend/tenant_account_v2/sharing_helpers.py46logger = logging.getLogger(__name__)CODE
376 more matches not shown…
Unused Imports417 hits · 401 pts
SeverityFileLineSnippetContext
LOWrunner/src/unstract/runner/__init__.py9CODE
LOWrunner/src/unstract/runner/clients/interface.py1CODE
LOWtests/conftest.py7CODE
LOWtests/rig/__init__.py7CODE
LOWtests/rig/__init__.py7CODE
LOWtests/rig/__init__.py7CODE
LOWtests/rig/__init__.py12CODE
LOWtests/rig/__init__.py12CODE
LOWtests/rig/__init__.py12CODE
LOWtests/rig/coverage.py8CODE
LOWtests/rig/groups.py9CODE
LOWtests/rig/runtime.py19CODE
LOWtests/rig/critical_paths.py3CODE
LOWtests/rig/cli.py13CODE
LOWtests/rig/selection.py12CODE
LOWtests/rig/reporting.py15CODE
LOWtests/rig/tests/test_coverage.py12CODE
LOWtests/rig/tests/test_reporting.py3CODE
LOWtests/rig/tests/test_runtime.py8CODE
LOWtests/rig/tests/test_critical_paths.py3CODE
LOWtests/rig/tests/test_selection.py3CODE
LOWtests/rig/tests/test_cli.py15CODE
LOWtests/rig/tests/test_groups.py3CODE
LOWtests/e2e/conftest.py9CODE
LOWtests/e2e/smoke/test_smoke.py8CODE
LOWtests/e2e/auth/test_login.py7CODE
LOW…kend/workflow_manager/execution/serializer/__init__.py1CODE
LOWbackend/workflow_manager/execution/views/__init__.py1CODE
LOWbackend/workflow_manager/endpoint_v2/tests/__init__.py1CODE
LOW…ager/endpoint_v2/tests/test_database_utils/__init__.py1CODE
LOWbackend/workflow_manager/workflow_v2/enums.py1CODE
LOWbackend/workflow_manager/workflow_v2/dto.py1CODE
LOW…ckend/workflow_manager/workflow_v2/filters/__init__.py1CODE
LOW…flow_manager/workflow_v2/tests/test_workflow_author.py11CODE
LOWbackend/workflow_manager/workflow_v2/models/__init__.py4CODE
LOWbackend/workflow_manager/workflow_v2/models/__init__.py5CODE
LOWbackend/workflow_manager/workflow_v2/models/__init__.py6CODE
LOWbackend/workflow_manager/workflow_v2/models/__init__.py7CODE
LOWbackend/tenant_account_v2/apps.py9CODE
LOWbackend/tenant_account_v2/apps.py9CODE
LOWbackend/tenant_account_v2/sharing_helpers.py25CODE
LOWbackend/platform_api/services.py1CODE
LOWbackend/platform_api/apps.py9CODE
LOWbackend/utils/cors_origin.py7CODE
LOWbackend/utils/dto.py1CODE
LOWbackend/utils/date/enums.py1CODE
LOWbackend/utils/date/__init__.py1CODE
LOWbackend/utils/date/__init__.py2CODE
LOWbackend/utils/date/__init__.py3CODE
LOWbackend/utils/date/__init__.py3CODE
LOWbackend/utils/date/__init__.py4CODE
LOWbackend/utils/date/__init__.py4CODE
LOWbackend/utils/date/__init__.py5CODE
LOWbackend/utils/file_storage/helpers/streaming_writer.py3CODE
LOWbackend/utils/tests/test_cors_origin.py10CODE
LOWbackend/utils/tests/test_prompt_studio_file_helper.py3CODE
LOWbackend/utils/request/__init__.py1CODE
LOWbackend/utils/request/__init__.py1CODE
LOWbackend/notification_v2/tasks.py18CODE
LOWbackend/notification_v2/clubbed_renderer.py11CODE
357 more matches not shown…
Redundant / Tautological Comments185 hits · 282 pts
SeverityFileLineSnippetContext
LOWdocker/scripts/bump_sdk_v0_version.sh144# Check if a file existsCOMMENT
LOWdocker/scripts/bump_sdk_v0_version.sh236 # Check if file existsCOMMENT
LOWdocker/scripts/bump_sdk_v0_version.sh242 # Check if file has unstract-sdk dependencyCOMMENT
LOWdocker/scripts/bump_sdk_v0_version.sh310 # Check if pyproject.toml existsCOMMENT
LOWdocker/scripts/bump_sdk_v0_version.sh434 # Check if a core command is providedCOMMENT
LOWdocker/scripts/bump_sdk_v0_version.sh440 # Check if --target-version is provided with --bumpCOMMENT
LOWdocker/scripts/uv-lock-gen/uv-lock.sh28# Check if a directory's own pyproject.toml or any of its localCOMMENT
LOW.claude/skills/connector-ops/scripts/fetch_logo.py47 # Check if it's actually an SVG (not an error page)COMMENT
LOW…laude/skills/connector-ops/scripts/verify_connector.py165 # Check if registeredCOMMENT
LOW…e/skills/adapter-ops/scripts/init_embedding_adapter.py260 # Check if SVG (by URL extension or content)STRING
LOW…e/skills/adapter-ops/scripts/init_embedding_adapter.py350 # Check if SVGSTRING
LOW.claude/skills/adapter-ops/scripts/init_llm_adapter.py270 # Check if SVG (by URL extension or content)STRING
LOW.claude/skills/adapter-ops/scripts/init_llm_adapter.py360 # Check if SVGSTRING
LOWbackend/workflow_manager/internal_views.py115 # Check if cost data is requested (expensive operation)COMMENT
LOWbackend/workflow_manager/internal_views.py174 # Check if pipeline_id references a Pipeline or APIDeployment (like serializer)COMMENT
LOWbackend/workflow_manager/internal_views.py188 # Check if it's an APIDeployment (like serializer does)COMMENT
LOWbackend/workflow_manager/internal_views.py363 # Check if workflow has API deploymentsCOMMENT
LOWbackend/workflow_manager/internal_views.py1910 # Check if this is a regular pipeline (ETL/TASK/APP)COMMENT
LOWbackend/workflow_manager/internal_views.py2477 # Check if file history should be created based on use_file_history flagCOMMENT
LOWbackend/workflow_manager/execution/views/execution.py29 # Check if this specific execution belongs to a workflow created by the userCOMMENT
LOWbackend/workflow_manager/endpoint_v2/queue_utils.py34 # Check if caller explicitly wants the default (non-HITL) backendCOMMENT
LOWbackend/workflow_manager/endpoint_v2/queue_utils.py52 # Check if this is for HITL operationsCOMMENT
LOWbackend/workflow_manager/endpoint_v2/destination.py139 # Check if connector is required but missingCOMMENT
LOWbackend/workflow_manager/endpoint_v2/destination.py202 # Check if API deployment requested HITL override with hitl_queue_nameCOMMENT
LOWbackend/workflow_manager/endpoint_v2/destination.py204 # Check if API rules are configured for this workflowCOMMENT
LOWbackend/workflow_manager/endpoint_v2/destination.py646 # Check if metadata is not None and is either a non-empty dict or valid stringCOMMENT
LOWbackend/workflow_manager/endpoint_v2/destination.py953 # Check if this is packet processingCOMMENT
LOWbackend/workflow_manager/endpoint_v2/source.py337 # Check if we've hit the limitCOMMENT
LOWbackend/workflow_manager/endpoint_v2/source.py727 # Check if the path is a directory using metadata first.COMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py28 # Check if all required environment variables are setCOMMENT
LOW…ion-connectors/test_destination_connector_snowflake.py28 # Check if all required environment variables are setCOMMENT
LOW…ination-connectors/test_destination_connector_mssql.py25 # Check if all required environment variables are setCOMMENT
LOW…nation-connectors/test_destination_connector_oracle.py27 # Check if all required environment variables are setCOMMENT
LOW…tion-connectors/test_destination_connector_redshift.py25 # Check if all required environment variables are setCOMMENT
LOW…ination-connectors/test_destination_connector_mysql.py27 # Check if all required environment variables are setCOMMENT
LOW…nd/workflow_manager/workflow_v2/file_history_helper.py326 # Check if file history already existsCOMMENT
LOWbackend/workflow_manager/workflow_v2/views.py1374 # Check if file already has completed historyCOMMENT
LOW…ckend/workflow_manager/workflow_v2/models/execution.py381 # Check if this is an API deployment executionCOMMENT
LOWbackend/middleware/organization_middleware.py11 # Check if the URL matches the pattern with organization IDCOMMENT
LOWbackend/middleware/organization_middleware.py14 # Check if the request path matches any of the whitelisted pathsCOMMENT
LOWbackend/configuration/config_registry.py35 # Check if plugin is activeCOMMENT
LOWbackend/configuration/internal_views.py76 # Check if we found an organization-specific overrideCOMMENT
LOWbackend/tool_instance_v2/serializers.py196 # Check if the workflow existsCOMMENT
LOWbackend/tool_instance_v2/serializers.py202 # Check if the number of tool instances matches the actual countCOMMENT
LOWbackend/tool_instance_v2/serializers.py212 # Check if each tool instance exists in the workflowCOMMENT
LOWbackend/tool_instance_v2/tool_instance_helper.py313 # Check if any adapter value is in UUID format (indicates already migrated)COMMENT
LOWbackend/tool_instance_v2/tool_instance_helper.py358 # Check if already migratedCOMMENT
LOWbackend/tool_instance_v2/tool_processor.py49 # Check if it's an agentic studio tool (cloud-only feature)COMMENT
LOWbackend/file_management/file_management_helper.py200 # Check if the file type is in the allowed listCOMMENT
LOW…tils/file_storage/helpers/prompt_studio_file_helper.py187 # Check if the file type is in the allowed listCOMMENT
LOWbackend/connector_v2/serializers.py101 # Check if OAuth tokens are actually present in metadataCOMMENT
LOWbackend/connector_v2/unstract_account.py29 # Check if folder exists and create if it is not availableCOMMENT
LOWbackend/api_v2/permission.py11 # Check if the user is the owner via base class logicCOMMENT
LOWbackend/api_v2/serializers.py158 # Check if this workflow already has an active API deploymentCOMMENT
LOWbackend/api_v2/serializers.py285 # Check if HITL feature is availableCOMMENT
LOWbackend/api_v2/serializers.py406 # Check if profile existsCOMMENT
LOWbackend/api_v2/serializers.py418 # Check if the profile owner matches the API key ownerCOMMENT
LOWbackend/api_v2/serializers.py443 # Check if UUID exists in the databaseCOMMENT
LOWbackend/api_v2/deployment_helper.py296 # Check if highlight data should be removed using configuration registryCOMMENT
LOW…i_v2/management/commands/clear_org_rate_limit_cache.py118 # Check if cache backend supports delete_pattern (Redis cache)COMMENT
125 more matches not shown…
Self-Referential Comments61 hits · 190 pts
SeverityFileLineSnippetContext
MEDIUMrunner/src/unstract/runner/clients/docker_client.py80 # Create a Docker client that communicates withCOMMENT
MEDIUMrunner/src/unstract/runner/clients/test_docker.py90 # Create a mock for the 'images' attributeCOMMENT
MEDIUMrunner/src/unstract/runner/clients/test_docker.py103 # Create a mock for the 'images' attributeCOMMENT
MEDIUMrunner/src/unstract/runner/clients/test_docker.py107 # Create a mock for the 'api' attributeCOMMENT
MEDIUMrunner/src/unstract/runner/clients/test_docker.py193 # Create a mock for the containers.run methodCOMMENT
MEDIUMrunner/src/unstract/runner/controller/run.py8# Define a Blueprint with a root URL pathCOMMENT
MEDIUMrunner/src/unstract/runner/controller/health.py7# Define a Blueprint with a root URL pathCOMMENT
MEDIUMrunner/src/unstract/runner/controller/health.py11# Define a route to ping testCOMMENT
MEDIUMbackend/workflow_manager/endpoint_v2/database_utils.py156 # Create a safe fallback error objectCOMMENT
MEDIUMbackend/workflow_manager/endpoint_v2/source.py1021 # This function is typically relevant for extracted text content,COMMENT
MEDIUM…ation-connectors/test_destination_connector_mariadb.py368 # Create the table first if it doesn't existCOMMENT
MEDIUM…ination-connectors/test_destination_connector_mysql.py365 # Create the table first if it doesn't existCOMMENT
MEDIUMbackend/workflow_manager/workflow_v2/workflow_helper.py742 # Create a new WorkflowExecution entity for each pipeline execution.COMMENT
MEDIUM…nd/workflow_manager/workflow_v2/execution_log_utils.py164 # Create the schedulerCOMMENT
MEDIUMbackend/workflow_manager/workflow_v2/execution.py154 # Create the workflow executionCOMMENT
MEDIUMbackend/tool_instance_v2/serializers.py72 # Create a copy to avoid mutating the original metadataCOMMENT
MEDIUMbackend/scheduler/tasks.py29 # Create a crontab scheduleCOMMENT
MEDIUMbackend/utils/log_events.py51 """This function is called when a client connects to the server.STRING
MEDIUM…tils/file_storage/helpers/prompt_studio_file_helper.py234 """This method is used to file files with the specific patternSTRING
MEDIUMbackend/utils/seed_data/seed_data.py32 # Creating a projectCOMMENT
MEDIUMbackend/backend/celery_service.py23# Create a Celery instance. Default time zone is UTC.COMMENT
MEDIUMbackend/pipeline_v2/views.py214 # Create a PostmanCollection for a PipelineCOMMENT
MEDIUMbackend/prompt_studio/prompt_studio_core_v2/views.py1067 # Create a record in the db for the file (document_name = original filename)COMMENT
MEDIUMbackend/prompt_studio/prompt_studio_core_v2/views.py1071 # Create a dictionary to store document dataCOMMENT
MEDIUMbackend/prompt_studio/prompt_studio_core_v2/views.py1304 # Create a backup copy if requestedCOMMENT
MEDIUMbackend/adapter_processor_v2/serializers.py93 # Create a copy to avoid mutating the original metadataCOMMENT
MEDIUM.github/workflows/production-build.yaml281 # Create a concise summary for SlackCOMMENT
MEDIUMworkers/worker.py266 # Initialize state variablesCOMMENT
MEDIUMworkers/tests/test_sanity_phase6e.py89 # Create a mock TableExtractorExecutorCOMMENT
MEDIUMworkers/shared/cache/cache_keys.py51 # Create a hash of the arguments for consistent keysCOMMENT
MEDIUMworkers/shared/utils/api_client_singleton.py43 # Create a cache key based on API base URL and keyCOMMENT
MEDIUMworkers/shared/workflow/destination_connector.py1147 # Import necessary modules for file operationsCOMMENT
MEDIUMworkers/shared/workflow/connectors/source.py537 # Create the streaming discovery instanceCOMMENT
MEDIUMworkers/shared/api/internal_client.py135 # Create the first base client to establish the sessionCOMMENT
MEDIUMworkers/shared/infrastructure/database/utils.py301 # Create a safe fallback error objectCOMMENT
MEDIUMworkers/shared/infrastructure/database/utils.py394 # Create a safe fallback error objectCOMMENT
MEDIUMworkers/shared/infrastructure/config/worker_config.py505 # Create a temporary environment with prefixed variablesCOMMENT
MEDIUMunstract/connectors/tests/databases/test_bigquery_db.py55 # Create a mock Forbidden exception with billing error messageCOMMENT
MEDIUMunstract/connectors/tests/databases/test_bigquery_db.py78 # Create a mock Forbidden exception with permission error messageCOMMENT
MEDIUMunstract/connectors/tests/databases/test_bigquery_db.py98 # Create a mock NotFound exceptionCOMMENT
MEDIUMunstract/connectors/tests/databases/test_bigquery_db.py117 # Create a mock Forbidden exception with empty messageCOMMENT
MEDIUM…act/connectors/tests/filesystems/test_sharepoint_fs.py268 # Create a simple PDF with one line of textCOMMENT
MEDIUM…ctors/src/unstract/connectors/databases/unstract_db.py347 # Create a safe fallback error objectCOMMENT
MEDIUM…tool-registry/src/unstract/tool_registry/tool_utils.py20 # Define a regular expression pattern for Docker image URLsCOMMENT
MEDIUM…tool-registry/src/unstract/tool_registry/tool_utils.py23 # Define a regular expression pattern for local tool URLsCOMMENT
MEDIUMunstract/flags/src/unstract/flags/flipt_grpc/client.py66 # Create the gRPC channelCOMMENT
MEDIUMunstract/flags/src/unstract/flags/flipt_grpc/client.py77 # Create the evaluation stub for flag evaluationCOMMENT
MEDIUMunstract/flags/src/unstract/flags/flipt_grpc/client.py80 # Create the Flipt stub for management operations (like ListFlags)COMMENT
MEDIUM…stract/flags/flipt_grpc/flipt/flipt_simple_pb2_grpc.py49# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…pt_grpc/flipt/evaluation/evaluation_simple_pb2_grpc.py81# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMunstract/flags/src/unstract/flags/client/flipt.py63 # Create a FliptClient instance for this specific namespaceCOMMENT
MEDIUMunstract/flags/src/unstract/flags/client/flipt.py169 # Create a FliptClient instance for this specific namespaceCOMMENT
MEDIUMunstract/sdk1/src/unstract/sdk1/adapters/base1.py329 # Create a copy to avoid mutating the original metadataCOMMENT
MEDIUMunstract/sdk1/src/unstract/sdk1/adapters/base1.py645 # Create a copy to avoid mutating the original metadataCOMMENT
MEDIUMunstract/sdk1/src/unstract/sdk1/adapters/base1.py763 # Create a copy to avoid mutating the original metadataCOMMENT
MEDIUMunstract/sdk1/src/unstract/sdk1/adapters/base1.py1025 # Create a copy to avoid mutating the original metadataCOMMENT
MEDIUMunstract/sdk1/src/unstract/sdk1/adapters/base1.py1129 # Create a copy to avoid mutating the original metadataCOMMENT
MEDIUMunstract/sdk1/src/unstract/sdk1/adapters/base1.py1288 # Create a copy to avoid mutating the original metadataCOMMENT
MEDIUM…stract/sdk1/adapters/vectordb/weaviate/src/weaviate.py79 # Create the colletionCOMMENT
MEDIUM…dk1/adapters/x2text/llm_whisperer/src/llm_whisperer.py389 # Define the directory of the output file and metadata pathsCOMMENT
1 more matches not shown…
Structural Annotation Overuse91 hits · 173 pts
SeverityFileLineSnippetContext
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx334 // Step 1: Export toolCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx349 // Step 2: Create workflow with unique name based on API deployment nameCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx363 // Step 3: Configure endpoints with API connection typeCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx366 // Step 4: Add tool instance to workflowCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx382 // Step 5: Update tool instance with proper metadataCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx407 // Step 6: Create API deploymentCOMMENT
LOW.claude/skills/connector-ops/SKILL.md310### Step 1: Identify ConnectorCOMMENT
LOW.claude/skills/connector-ops/SKILL.md318### Step 2: Check DependenciesCOMMENT
LOW.claude/skills/connector-ops/SKILL.md328### Step 3: Remove FilesCOMMENT
LOW.claude/skills/connector-ops/SKILL.md341### Step 4: Clean Dependencies (Optional)COMMENT
LOW.claude/skills/connector-ops/SKILL.md345### Step 5: VerifyCOMMENT
LOW.claude/skills/connector-ops/SKILL.md355### Step 6: Report to UserCOMMENT
LOW.claude/skills/connector-ops/SKILL.md375### Step 1: Understand the ChangeCOMMENT
LOW.claude/skills/connector-ops/SKILL.md384### Step 2: Locate FilesCOMMENT
LOW.claude/skills/connector-ops/SKILL.md391### Step 3: Make ChangesCOMMENT
LOW.claude/skills/connector-ops/SKILL.md58### Step 1: Gather RequirementsCOMMENT
LOW.claude/skills/connector-ops/SKILL.md65### Step 2: Research the ServiceCOMMENT
LOW.claude/skills/connector-ops/SKILL.md76### Step 3: Generate Connector IDCOMMENT
LOW.claude/skills/connector-ops/SKILL.md84### Step 4: Create Directory StructureCOMMENT
LOW.claude/skills/connector-ops/SKILL.md97### Step 5: Create Connector FilesCOMMENT
LOW.claude/skills/connector-ops/SKILL.md191### Step 6: Fetch LogoCOMMENT
LOW.claude/skills/connector-ops/SKILL.md207### Step 7: Add DependenciesCOMMENT
LOW.claude/skills/connector-ops/SKILL.md219### Step 8: Create TestsCOMMENT
LOW.claude/skills/connector-ops/SKILL.md260### Step 9: VerifyCOMMENT
LOW.claude/skills/connector-ops/SKILL.md275### Step 10: Report to UserCOMMENT
LOW.claude/skills/connector-ops/SKILL.md420### Step 4: Update TestsCOMMENT
LOW.claude/skills/connector-ops/SKILL.md427### Step 5: VerifyCOMMENT
LOW.claude/skills/connector-ops/SKILL.md440### Step 6: Report to UserCOMMENT
LOW.claude/skills/worktree/worktree-setup.sh106# Step 2: Copy gitignored backend settingsCOMMENT
LOW.claude/skills/worktree/worktree-setup.sh159# Step 3: Copy project-local Claude skills (gitignored ones)COMMENT
LOWbackend/workflow_manager/internal_views.py904 # Step 2: Build OR conditions for file matching: (uuid1 AND path1) OR (uuid2 AND path2) OR ...COMMENT
LOWbackend/workflow_manager/internal_views.py911 # Step 3: Execute bulk query on workflow_file_executions from active workflow executions onlyCOMMENT
LOWbackend/workflow_manager/internal_views.py989 # Step 2: Extract UUIDs for IN queryCOMMENT
LOWbackend/workflow_manager/internal_views.py992 # Step 3: Execute bulk query on workflow_file_executions from active workflow executions onlyCOMMENT
LOWbackend/workflow_manager/internal_views.py1641 # Step 1: Get source configuration with graceful error handlingCOMMENT
LOWbackend/workflow_manager/internal_views.py1644 # Step 2: Get destination configuration with graceful error handlingCOMMENT
LOWbackend/workflow_manager/internal_views.py1649 # Step 3: Build comprehensive workflow definition using dataclassesCOMMENT
LOWbackend/workflow_manager/internal_views.py884 # Step 1: Get ACTIVE workflow executions for this workflowCOMMENT
LOWbackend/workflow_manager/internal_views.py969 # Step 1: Get ACTIVE workflow executions for this workflowCOMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py415 # # Step 1: Create a legacy table manually (simulating old table structure)COMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py419 # Step 2: Verify table is detected as legacyCOMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py424 # Step 3: Trigger migration using the real migration flowCOMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py428 # Step 4: Verify migration was successfulCOMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py432 # Step 5: Test dual column writing (legacy + v2)COMMENT
LOWbackend/dashboard_metrics/services.py869 # Step 1: Get deployment names and execution filterCOMMENT
LOWbackend/dashboard_metrics/services.py876 # Step 2: Get executions with status and timestampCOMMENT
LOWbackend/dashboard_metrics/services.py893 # Step 3: Build exec->deployment mapping and statsCOMMENT
LOWbackend/dashboard_metrics/services.py898 # Step 4: Query LLM usageCOMMENT
LOWbackend/dashboard_metrics/services.py917 # Step 5: Query pages and aggregate usageCOMMENT
LOWbackend/dashboard_metrics/services.py928 # Step 6: Build results sorted by total_tokens descendingCOMMENT
LOWdocs/API_DEPLOYMENT_RATE_LIMITING.md340# Step 1: Update environment variableCOMMENT
LOWdocs/API_DEPLOYMENT_RATE_LIMITING.md343# Step 2: Restart application to load new settingCOMMENT
LOWdocs/API_DEPLOYMENT_RATE_LIMITING.md346# Step 3: Clear all caches to pick up immediatelyCOMMENT
LOWworkers/file_processing/tasks.py244 # Step 1: Validate and parse input dataCOMMENT
LOWworkers/file_processing/tasks.py247 # Step 2: Setup execution contextCOMMENT
LOWworkers/file_processing/tasks.py250 # Step 3: Handle manual review logicCOMMENT
LOWworkers/file_processing/tasks.py253 # Step 4: Pre-create file executionsCOMMENT
LOWworkers/file_processing/tasks.py256 # Step 5: Process individual filesCOMMENT
LOWworkers/file_processing/tasks.py259 # Step 7: Compile and return final resultCOMMENT
LOWworkers/tests/test_sanity_phase6j.py442 # Step 2: Verify registrationCOMMENT
31 more matches not shown…
Deep Nesting195 hits · 161 pts
SeverityFileLineSnippetContext
LOW.claude/skills/connector-ops/scripts/fetch_logo.py31CODE
LOW.claude/skills/connector-ops/scripts/fetch_logo.py61CODE
LOW.claude/skills/connector-ops/scripts/fetch_logo.py85CODE
LOW.claude/skills/connector-ops/scripts/fetch_logo.py114CODE
LOW.claude/skills/connector-ops/scripts/fetch_logo.py142CODE
LOW…laude/skills/connector-ops/scripts/verify_connector.py95CODE
LOW…e/skills/adapter-ops/scripts/init_embedding_adapter.py182CODE
LOW…e/skills/adapter-ops/scripts/init_embedding_adapter.py415CODE
LOW.claude/skills/adapter-ops/scripts/manage_models.py169CODE
LOW.claude/skills/adapter-ops/scripts/init_llm_adapter.py192CODE
LOW.claude/skills/adapter-ops/scripts/init_llm_adapter.py425CODE
LOWbackend/workflow_manager/internal_views.py160CODE
LOWbackend/workflow_manager/internal_views.py287CODE
LOWbackend/workflow_manager/internal_views.py562CODE
LOWbackend/workflow_manager/internal_views.py719CODE
LOWbackend/workflow_manager/internal_views.py1208CODE
LOWbackend/workflow_manager/internal_views.py1678CODE
LOWbackend/workflow_manager/internal_views.py1769CODE
LOWbackend/workflow_manager/internal_views.py1871CODE
LOWbackend/workflow_manager/internal_views.py1976CODE
LOWbackend/workflow_manager/internal_views.py2071CODE
LOWbackend/workflow_manager/utils/pipeline_utils.py17CODE
LOW…kend/workflow_manager/file_execution/internal_views.py272CODE
LOW…kend/workflow_manager/file_execution/internal_views.py410CODE
LOW…kend/workflow_manager/file_execution/internal_views.py506CODE
LOWbackend/workflow_manager/execution/filter.py37CODE
LOWbackend/workflow_manager/endpoint_v2/destination.py280CODE
LOWbackend/workflow_manager/endpoint_v2/destination.py603CODE
LOWbackend/workflow_manager/endpoint_v2/source.py966CODE
LOWbackend/workflow_manager/workflow_v2/views.py730CODE
LOWbackend/workflow_manager/workflow_v2/views.py1118CODE
LOWbackend/workflow_manager/workflow_v2/views.py1150CODE
LOWbackend/workflow_manager/workflow_v2/views.py1327CODE
LOWbackend/workflow_manager/workflow_v2/views.py413CODE
LOWbackend/workflow_manager/workflow_v2/views.py459CODE
LOW…kend/migrating/v2/management/commands/migrate_to_v2.py147CODE
LOW…kend/migrating/v2/management/commands/migrate_to_v2.py387CODE
LOWbackend/tool_instance_v2/serializers.py68CODE
LOWbackend/tool_instance_v2/tool_instance_helper.py403CODE
LOWbackend/tool_instance_v2/internal_views.py108CODE
LOWbackend/scheduler/tasks.py72CODE
LOWbackend/utils/cache_service.py48CODE
LOW…tils/file_storage/helpers/prompt_studio_file_helper.py112CODE
LOWbackend/utils/request/request.py19CODE
LOWbackend/notification_v2/internal_views.py412CODE
LOWbackend/backend/internal_base_urls.py58CODE
LOWbackend/pipeline_v2/serializers/crud.py258CODE
LOWbackend/api_v2/deployment_helper.py150CODE
LOWbackend/api_v2/deployment_helper.py526CODE
LOWbackend/api_v2/exceptions.py137CODE
LOW…t_studio/prompt_studio_core_v2/prompt_studio_helper.py2956CODE
LOW…pt_studio_registry_v2/prompt_studio_registry_helper.py227CODE
LOW…_studio_index_manager_v2/prompt_studio_index_helper.py71CODE
LOWbackend/adapter_processor_v2/adapter_processor.py112CODE
LOWbackend/adapter_processor_v2/views.py200CODE
LOW…r_v2/management/commands/manage_deprecated_adapters.py57CODE
LOW…r_v2/management/commands/manage_deprecated_adapters.py210CODE
LOWbackend/account_v2/authentication_controller.py526CODE
LOWbackend/dashboard_metrics/tasks.py398CODE
LOWbackend/dashboard_metrics/cache.py153CODE
135 more matches not shown…
Verbosity Indicators67 hits · 129 pts
SeverityFileLineSnippetContext
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx334 // Step 1: Export toolCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx349 // Step 2: Create workflow with unique name based on API deployment nameCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx363 // Step 3: Configure endpoints with API connection typeCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx366 // Step 4: Add tool instance to workflowCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx382 // Step 5: Update tool instance with proper metadataCOMMENT
LOW…-prompt-studio/CreateApiDeploymentFromPromptStudio.jsx407 // Step 6: Create API deploymentCOMMENT
LOW.claude/skills/worktree/worktree-setup.sh106# Step 2: Copy gitignored backend settingsCOMMENT
LOW.claude/skills/worktree/worktree-setup.sh159# Step 3: Copy project-local Claude skills (gitignored ones)COMMENT
LOWbackend/workflow_manager/internal_views.py904 # Step 2: Build OR conditions for file matching: (uuid1 AND path1) OR (uuid2 AND path2) OR ...COMMENT
LOWbackend/workflow_manager/internal_views.py911 # Step 3: Execute bulk query on workflow_file_executions from active workflow executions onlyCOMMENT
LOWbackend/workflow_manager/internal_views.py989 # Step 2: Extract UUIDs for IN queryCOMMENT
LOWbackend/workflow_manager/internal_views.py992 # Step 3: Execute bulk query on workflow_file_executions from active workflow executions onlyCOMMENT
LOWbackend/workflow_manager/internal_views.py1641 # Step 1: Get source configuration with graceful error handlingCOMMENT
LOWbackend/workflow_manager/internal_views.py1644 # Step 2: Get destination configuration with graceful error handlingCOMMENT
LOWbackend/workflow_manager/internal_views.py1649 # Step 3: Build comprehensive workflow definition using dataclassesCOMMENT
LOWbackend/workflow_manager/internal_views.py884 # Step 1: Get ACTIVE workflow executions for this workflowCOMMENT
LOWbackend/workflow_manager/internal_views.py969 # Step 1: Get ACTIVE workflow executions for this workflowCOMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py415 # # Step 1: Create a legacy table manually (simulating old table structure)COMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py419 # Step 2: Verify table is detected as legacyCOMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py424 # Step 3: Trigger migration using the real migration flowCOMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py428 # Step 4: Verify migration was successfulCOMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py432 # Step 5: Test dual column writing (legacy + v2)COMMENT
LOWbackend/dashboard_metrics/services.py869 # Step 1: Get deployment names and execution filterCOMMENT
LOWbackend/dashboard_metrics/services.py876 # Step 2: Get executions with status and timestampCOMMENT
LOWbackend/dashboard_metrics/services.py893 # Step 3: Build exec->deployment mapping and statsCOMMENT
LOWbackend/dashboard_metrics/services.py898 # Step 4: Query LLM usageCOMMENT
LOWbackend/dashboard_metrics/services.py917 # Step 5: Query pages and aggregate usageCOMMENT
LOWbackend/dashboard_metrics/services.py928 # Step 6: Build results sorted by total_tokens descendingCOMMENT
LOWworkers/file_processing/tasks.py244 # Step 1: Validate and parse input dataCOMMENT
LOWworkers/file_processing/tasks.py247 # Step 2: Setup execution contextCOMMENT
LOWworkers/file_processing/tasks.py250 # Step 3: Handle manual review logicCOMMENT
LOWworkers/file_processing/tasks.py253 # Step 4: Pre-create file executionsCOMMENT
LOWworkers/file_processing/tasks.py256 # Step 5: Process individual filesCOMMENT
LOWworkers/file_processing/tasks.py259 # Step 7: Compile and return final resultCOMMENT
LOWworkers/tests/test_sanity_phase6j.py429 # Step 1: "Discover" a cloud executor via entry pointCOMMENT
LOWworkers/tests/test_sanity_phase6j.py442 # Step 2: Verify registrationCOMMENT
LOWworkers/tests/test_sanity_phase6j.py445 # Step 3: Dispatch via mock CeleryCOMMENT
LOWworkers/tests/test_sanity_phase6j.py462 # Step 4: Verify resultCOMMENT
LOWworkers/tests/test_sanity_phase6j.py466 # Step 5: Verify queue routingCOMMENT
LOWworkers/tests/test_barrier.py185 # Step 1: chord(header)COMMENT
LOWworkers/tests/test_barrier.py187 # Step 2: chord_obj(callback_signature) — applies the chordCOMMENT
LOWworkers/scheduler/tasks.py115 # Step 1: Create workflow execution via internal API using dataclassCOMMENT
LOWworkers/scheduler/tasks.py145 # Step 2: Trigger async workflow execution via direct Celery dispatchCOMMENT
LOWworkers/shared/processing/file_discovery.py596 # Step 1: Collect and sort all files (load into memory)COMMENT
LOWworkers/shared/processing/file_discovery.py624 # Step 2: Process in chunks with FilterPipelineCOMMENT
LOWworkers/shared/processing/files/processor.py603 # Step 2: Check file history (if enabled)COMMENT
LOWworkers/shared/processing/files/processor.py611 # Step 3: Execute workflow processing (always run tools first)COMMENT
LOWworkers/shared/processing/files/processor.py628 # Step 5: Tool execution completed - destination processing will handle routingCOMMENT
LOWworkers/shared/processing/files/processor.py557 # Step 1: Check if file is already executed (cached)COMMENT
LOWworkers/shared/workflow/connectors/source.py374 # Step 1: Get ALL active workflow executions (matching backend _get_active_workflow_executions)COMMENT
LOWworkers/shared/workflow/connectors/source.py409 # Step 2: For each active execution, get file executions (matching backend loop)COMMENT
LOWworkers/shared/workflow/execution/service.py153 # Step 1: Setup & ValidationCOMMENT
LOWworkers/shared/workflow/execution/service.py275 # Step 3: Process Output - Let destination handle EVERYTHINGCOMMENT
LOWworkers/shared/workflow/execution/service.py781 # Step 1: Compile workflowCOMMENT
LOWworkers/shared/workflow/execution/service.py785 # Step 2: Prepare input file and metadataCOMMENT
LOWworkers/shared/workflow/execution/service.py849 # Step 3: Build and execute workflowCOMMENT
LOWworkers/shared/workflow/execution/service.py106 # Step 0: Check if file execution is already completed (resume capability)COMMENT
LOWworkers/shared/workflow/execution/service.py180 # Step 2: Execute WorkflowCOMMENT
LOWworkers/shared/workflow/execution/service.py351 # Step 4: Build Final ResultCOMMENT
LOWworkers/executor/executors/legacy_executor.py499 # Step 2: Optional summarizeCOMMENT
7 more matches not shown…
Modern AI Meta-Vocabulary33 hits · 109 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md249- [Unstract + Crew.AI](https://unstract.com/blog/agentic-document-extraction-processing-with-unstract-crew-ai/)CODE
MEDIUMbackend/tool_instance_v2/tool_instance_helper.py27# Import agentic registry if available (cloud-only feature)COMMENT
MEDIUMbackend/tool_instance_v2/tool_instance_helper.py573 # Not an agentic studio tool eitherCOMMENT
MEDIUMbackend/tool_instance_v2/tool_processor.py18# Import agentic registry if available (cloud-only feature)COMMENT
MEDIUMbackend/tool_instance_v2/tool_processor.py49 # Check if it's an agentic studio tool (cloud-only feature)COMMENT
MEDIUMbackend/tool_instance_v2/tool_processor.py142 # Add agentic studio tools if available (cloud-only feature)COMMENT
MEDIUM…t_studio/prompt_studio_core_v2/prompt_studio_helper.py2628 # Enrich with cloud-only per-prompt settings (table / agentic-table)COMMENT
MEDIUMbackend/adapter_processor_v2/serializers.py106 # Only retrieve context window and icon for available adaptersCOMMENT
MEDIUMbackend/adapter_processor_v2/serializers.py109 # Retrieve context window if adapter is a LLMCOMMENT
MEDIUMworkers/general/tasks.py735 # The orchestration result contains the chord_id and batch informationCOMMENT
MEDIUMworkers/general/tasks.py274 # Calculate orchestration time (not total execution time - callback worker calculates that)COMMENT
MEDIUMworkers/general/tasks.py561 # For ETL/TASK workflows, we use file processing orchestrationCOMMENT
MEDIUMworkers/general/tasks.py721 # Use orchestration method that creates chord and returns immediatelyCOMMENT
MEDIUMworkers/file_processing/structure_tool_task.py288 # ---- Route agentic vs regular ----COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py546 # All-agentic case: skip the legacy pipeline entirely.COMMENT
MEDIUMworkers/file_processing/structure_tool_task.py622 # Try agentic registryCOMMENT
MEDIUMworkers/file_processing/structure_tool_task.py695 # 1. Unpack agentic project metadata (matches registry_helper export format)COMMENT
MEDIUMworkers/tests/test_phase2f.py304# 3. agentic operations — handled by AgenticPromptStudioExecutor (cloud)COMMENT
MEDIUMworkers/tests/test_sanity_phase6j.py414 # Both legacy and agentic contexts can create instancesCOMMENT
MEDIUMworkers/tests/test_sanity_phase6j.py187 assert len(Operation) == 19 # 7 legacy + 2 table + 2 sps + 8 agenticCODE
MEDIUMworkers/tests/test_sanity_phase3.py453 # Prompt studio lookup fails, agentic succeedsCOMMENT
MEDIUMworkers/tests/test_sanity_phase3.py475 # Simulate successful agentic extractionCOMMENT
MEDIUMworkers/tests/test_sanity_phase3.py484 # Should dispatch to agentic executor with agentic_extract operationCOMMENT
MEDIUMworkers/tests/test_sanity_phase6h.py148# 4. LegacyExecutor does NOT handle agentic operationsCOMMENT
MEDIUMworkers/tests/test_sanity_phase6h.py197# 5. Structure tool routes to agentic executorCOMMENT
MEDIUMworkers/tests/test_sanity_phase6h.py241# 6. tasks.py log_component for agentic operationsCOMMENT
MEDIUMworkers/api-deployment/tasks.py225 # Validate orchestration parametersCOMMENT
MEDIUMworkers/api-deployment/tasks.py232 # Execute workflow through direct API orchestrationCOMMENT
MEDIUMworkers/api-deployment/tasks.py419 # TOOL VALIDATION: Validate tool instances before API workflow orchestrationCOMMENT
MEDIUMworkers/api-deployment/tasks.py428 # TOOL VALIDATION: Validate tool instances before API workflow orchestrationCOMMENT
MEDIUMworkers/executor/executors/variable_replacement.py187# VariableReplacementService — high-level orchestrationCOMMENT
MEDIUMworkers/executor/executors/legacy_executor.py300 # (used by agentic extraction for PDF source referencing)COMMENT
MEDIUM…k1/src/unstract/sdk1/adapters/llm1/static/bedrock.json74 "description": "Optional. Apply an [AWS Bedrock Guardrail](https://docs.aws.amazon.com/bedrock/latest/userguide/guCODE
AI Slop Vocabulary25 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMbackend/workflow_manager/internal_views.py1649 # Step 3: Build comprehensive workflow definition using dataclassesCOMMENT
MEDIUMbackend/workflow_manager/internal_views.py119 # Build comprehensive contextCOMMENT
MEDIUMbackend/workflow_manager/internal_views.py259 # Build comprehensive source configCOMMENT
MEDIUMbackend/workflow_manager/internal_views.py410 # Build comprehensive destination configCOMMENT
MEDIUMbackend/workflow_manager/workflow_v2/views.py387 # Build comprehensive contextCOMMENT
MEDIUMbackend/backend/internal_base_urls.py24 """Internal API root endpoint with comprehensive documentation."""STRING
MEDIUM…t_studio/prompt_studio_core_v2/prompt_studio_helper.py2459 """Export project settings as a comprehensive JSON structure.STRING
MEDIUMbackend/usage_v2/helper.py302 """Get comprehensive trial usage statistics for an organization.STRING
MEDIUMbackend/usage_v2/views.py100 """Retrieves comprehensive trial usage statistics for the current organization.STRING
MEDIUM…r_v2/management/commands/manage_deprecated_adapters.py248 """Generate comprehensive deprecation report."""STRING
MEDIUMworkers/tests/test_barrier.py845 # match a misconfigured-harness ``AssertionError`` or anyCOMMENT
MEDIUMworkers/tests/test_barrier.py847 # harness misconfiguration as a passing assertion.COMMENT
MEDIUMworkers/shared/clients/base_client.py217 """Enhanced HTTP request with robust error handling and retry logic.STRING
LOWworkers/shared/cache/cache_decorator.py129 # No cache available, just call the methodCOMMENT
LOWworkers/shared/cache/cache_decorator.py133 # If anything goes wrong with caching, just call the original methodCOMMENT
MEDIUMworkers/shared/processing/file_discovery.py225 # Log comprehensive metricsCOMMENT
MEDIUMworkers/shared/processing/file_discovery.py578 # Metrics tracking for comprehensive analysisCOMMENT
MEDIUMworkers/shared/processing/file_discovery.py609 # Log comprehensive metrics even for empty resultsCOMMENT
MEDIUMworkers/shared/processing/file_discovery.py636 # Log comprehensive metricsCOMMENT
MEDIUMworkers/shared/processing/files/utils.py24 """Standardized file hash conversion with comprehensive error handling.STRING
MEDIUMworkers/shared/workflow/execution/service.py85 """Execute workflow with clean, linear flow and comprehensive result propagation."""STRING
MEDIUMworkers/shared/api/internal_client.py1467 """Enhanced HTTP request with robust error handling and retry logic."""STRING
MEDIUMworkers/shared/infrastructure/monitoring/health.py265 """Run all health checks and return comprehensive health report.STRING
LOWworkers/shared/infrastructure/caching/cache_utils.py533 # For now, just call the function (can be enhanced with specific caching logic)COMMENT
MEDIUMworkers/callback/tasks.py1177 # Create comprehensive resultCOMMENT
Hallucination Indicators6 hits · 55 pts
SeverityFileLineSnippetContext
CRITICALbackend/configuration/models.py6from django.core.exceptions import ValidationErrorCODE
CRITICALbackend/tool_instance_v2/tool_instance_helper.py10from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALbackend/utils/FileValidator.py6from django.core.exceptions import ValidationErrorCODE
CRITICALbackend/api_v2/key_helper.py3from django.core.exceptions import ValidationErrorCODE
CRITICAL…ompt_studio_output_manager_v2/output_manager_helper.py5from django.core.exceptions import ValidationErrorCODE
CRITICAL…k1/src/unstract/sdk1/patches/litellm_cohere_timeout.py3Bug: litellm.llms.cohere.embed.handler.embedding() and async_embedding()STRING
Over-Commented Block50 hits · 45 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml61 - id: pyupgradeCOMMENT
LOWtox.ini1[tox]COMMENT
LOWdocker/sample.compose.override.yaml1# Development override - NO debugpy (use compose.debug.yaml for debugging)COMMENT
LOWdocker/compose.debug.yaml1# Debug layer - adds debugpy to servicesCOMMENT
LOWdocker/scripts/release-notes/print_release_notes.py1# type: ignoreCOMMENT
LOWfrontend/vite.config.js21COMMENT
LOWfrontend/vite-env.d.ts1/// <reference types="vite/client" />COMMENT
LOWfrontend/src/setupTests.js1// jest-dom adds custom jest matchers for asserting on DOM nodes.COMMENT
LOWfrontend/src/components/agency/cards-list/CardsList.jsx81 // Get pixels to the topCOMMENT
LOWfrontend/src/routes/Router.jsx41// none are fetched on the unauthenticated /landing page. In OSS the importCOMMENT
LOWfrontend/src/helpers/pluginRegistry.js1import { lazy } from "react";COMMENT
LOWfrontend/src/helpers/pluginRegistry.js21// navigation to its route), so plugins are never pulled onto theCOMMENT
LOWfrontend/src/helpers/pluginLoader.js1// Classify a dynamic plugin-import failure as "plugin not shipped"COMMENT
LOWfrontend/src/helpers/pdfWorkerConfig.js1// Load the worker file from the installed pdfjs-dist packageCOMMENT
LOWfrontend/src/helpers/prismSetup.js1import Prism from "prismjs";COMMENT
LOWtests/critical_paths.yaml1# Unstract critical paths registry.COMMENT
LOWtests/groups.yaml1# Unstract test rig — group definitions.COMMENT
LOWtests/compose/docker-compose.test.yaml1# E2E test overlay for docker/docker-compose.yaml.COMMENT
LOWtests/rig/cli.py461 paths_override=args.paths,COMMENT
LOW…ation-connectors/test_destination_connector_mariadb.py661 def tearDown(self) -> None:COMMENT
LOW…ination-connectors/test_destination_connector_mysql.py641 # engine.close()COMMENT
LOWbackend/backend/flowerconfig.py1# Flower is a real-time web based monitor and administration toolCOMMENT
LOW.github/workflows/create-release.yaml341COMMENT
LOWworkers/run-worker-docker.sh361 print_status $BLUE "Health Port: $health_port"COMMENT
LOWworkers/notification/providers/registry.py21 PlatformType.API: APIWebhook,COMMENT
LOWworkers/file_processing/tasks.py641 file_hash.file_number = file_numberCOMMENT
LOWworkers/file_processing/tasks.py1661 # Note: ``successful_files`` here counts every non-error file,COMMENT
LOWworkers/file_processing/structure_tool_task.py441 # ---- Step 6a: Dispatch agentic_table prompts ----COMMENT
LOWworkers/queue_backend/__init__.py101 # Unreachable — StrEnum constructor would have raised above forCOMMENT
LOWworkers/queue_backend/redis_barrier.py81COMMENT
LOWworkers/queue_backend/redis_barrier.py101# ``FILE_PROCESSING_TASK_TIME_LIMIT`` is set to in the deployment envCOMMENT
LOWworkers/queue_backend/redis_barrier.py201return {remaining, {}}COMMENT
LOWworkers/queue_backend/redis_barrier.py401 # left from a prior run with the same exec_id; the upfrontCOMMENT
LOWworkers/queue_backend/redis_barrier.py461 # counter would never reach 0 → execution hangs.COMMENT
LOWworkers/queue_backend/redis_barrier.py621 # More tasks pending — nothing to do.COMMENT
LOWworkers/queue_backend/redis_barrier.py661 # If apply_async raises (broker outage, serialisation error,COMMENT
LOWworkers/tests/test_barrier.py101 # a property, or set in ``__init__``; the instance check isCOMMENT
LOWworkers/shared/workflow/execution/service.py1701 connector_id = connector_instance.connector_idCOMMENT
LOWworkers/api-deployment/tasks.py701 # contract verbatim: ``None`` is the *sole* signal of "noCOMMENT
LOW…nectors/src/unstract/connectors/filesystems/box/box.py61 # client_id = ""COMMENT
LOW…/flags/src/unstract/flags/flipt_grpc/flipt/__init__.py1"""Flipt gRPC protobuf definitions."""COMMENT
LOW…ore/src/unstract/core/notification_clubbed_renderer.py41COMMENT
LOWunstract/core/src/unstract/core/worker_models.py281 result: Any | None = NoneCOMMENT
LOWunstract/workflow-execution/tests/workflow_test.py141 # {COMMENT
LOWunstract/sdk1/src/unstract/sdk1/adapters/base1.py21# `top_p`, `top_k`). Anthropic removed the sampling params starting with ClaudeCOMMENT
LOWunstract/sdk1/src/unstract/sdk1/adapters/base1.py41# - Azure AI Foundry deployments whose name embeds `claude-sonnet-5`COMMENT
LOWunstract/sdk1/src/unstract/sdk1/adapters/base1.py181COMMENT
LOWunstract/sdk1/src/unstract/sdk1/adapters/base1.py421 adapter_metadata["api_key"] = NoneCOMMENT
LOWunstract/sdk1/src/unstract/sdk1/execution/dispatcher.py41# This controls how long the *caller* waits for the executor toCOMMENT
LOWunstract/filesystem/pyproject.toml21# [tool.hatch.build.targets.wheel]COMMENT
AI Structural Patterns32 hits · 28 pts
SeverityFileLineSnippetContext
LOWrunner/src/unstract/runner/controller/run.py38CODE
LOWrunner/src/unstract/runner/controller/run.py58CODE
LOWbackend/workflow_manager/endpoint_v2/database_utils.py83CODE
LOWbackend/workflow_manager/workflow_v2/workflow_helper.py295CODE
LOWbackend/workflow_manager/workflow_v2/workflow_helper.py469CODE
LOWbackend/workflow_manager/workflow_v2/execution.py37CODE
LOWbackend/workflow_manager/workflow_v2/execution.py126CODE
LOWbackend/middleware/exception.py93CODE
LOWbackend/api_v2/deployment_helper.py150CODE
LOWbackend/account_v2/serializer.py42CODE
LOWbackend/account_v2/serializer.py55CODE
LOWbackend/account_v2/serializer.py75CODE
LOWworkers/notification/tasks.py227CODE
LOWworkers/tests/test_answer_prompt.py21CODE
LOWworkers/tests/test_answer_prompt.py50CODE
LOWworkers/shared/clients/webhook_client.py51CODE
LOWworkers/shared/clients/file_client.py767CODE
LOWworkers/shared/api/internal_client.py1081CODE
LOWworkers/shared/api/internal_client.py1219CODE
LOWworkers/shared/infrastructure/database/utils.py147CODE
LOWworkers/executor/executors/answer_prompt.py222CODE
LOWworkers/executor/executors/answer_prompt.py313CODE
LOW…stract/flags/flipt_grpc/flipt/flipt_simple_pb2_grpc.py54CODE
LOW…pt_grpc/flipt/evaluation/evaluation_simple_pb2_grpc.py86CODE
LOW…pt_grpc/flipt/evaluation/evaluation_simple_pb2_grpc.py115CODE
LOW…pt_grpc/flipt/evaluation/evaluation_simple_pb2_grpc.py144CODE
LOWunstract/core/src/unstract/core/pubsub_helper.py50CODE
LOWunstract/sdk1/src/unstract/sdk1/index.py223CODE
LOWunstract/sdk1/src/unstract/sdk1/llm.py155CODE
LOWunstract/sdk1/src/unstract/sdk1/llm.py952CODE
LOW…tract/tool-sandbox/src/unstract/tool_sandbox/helper.py663CODE
LOW…tract/tool-sandbox/src/unstract/tool_sandbox/helper.py680CODE
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHbackend/api_v2/postman_collection/dto.py198 "let response = null;",CODE
HIGHbackend/api_v2/postman_collection/dto.py204 "if (response && response.message && response.message.execution_id) {", # noqa: E501CODE
HIGH…/prompt_studio/prompt_studio_core_v2/internal_views.py50 "profile_manager_id": str | null,STRING
HIGHworkers/tests/test_executor_dispatch.py143 # org_id=None must serialise to JSON null, not get dropped orCOMMENT
Fake / Example Data8 hits · 10 pts
SeverityFileLineSnippetContext
LOWbackend/tenant_account_v2/tests.py67 self.admin = _make_user("admin@example.com")CODE
LOW…_studio/prompt_studio_registry_v2/tests/test_models.py40 self.admin = _make_user("admin@example.com")CODE
LOWbackend/account_v2/tests.py35 self.admin = _make_member(self.org, "admin@example.com", UserRole.ADMIN.value)CODE
LOWbackend/account_v2/tests.py50 member = _make_member(self.org, "user@example.com", UserRole.USER.value)CODE
LOWworkers/tests/test_answer_prompt.py948 custom_data={"company_name": "Acme Inc"},CODE
LOWworkers/tests/test_answer_prompt.py371 response2.text = "user@example.com"CODE
LOWworkers/tests/test_answer_prompt.py387 assert result.data[PSKeys.OUTPUT]["field_a"] == "user@example.com"CODE
LOW…onnectors/databases/postgresql/static/json_schema.json54 "placeholder": "Enter schema (optional)"CODE
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWdocker/sample.compose.override.yaml3# Usage:COMMENT
LOWdocker/compose.debug.yaml3# Usage:COMMENT
LOWdocker/scripts/resolve_container_svc_from_host.sh6# Usage:COMMENT
LOWdocker/scripts/merge_env.py2# Usage:COMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…rc/components/deployments/display-code/DisplayCode.jsx59 print('Response:', response.json())CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…tool-sandbox/src/unstract/tool_sandbox/tool_sandbox.py44 # make sure to return str instead of UUIdCOMMENT