Repository Analysis

MaterializeInc/materialize

The live data layer for apps and AI agents. Create up-to-the-second views into your business, just using SQL

5.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of MaterializeInc/materialize, a Rust project with 6,334 GitHub stars. SynthScan v2.0 examined 1,426,593 lines of code across 5897 source files, recording 5771 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 5.2 places this repository in the Low AI signal band.

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

5.2
Adjusted Score
5.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
6.3K
Stars
Rust
Language
1.4M
Lines of Code
5.9K
Files
5.8K
Pattern Hits
2026-07-14
Scan Date
0.03
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 25HIGH 174MEDIUM 259LOW 5313

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

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

Over-Commented Block3366 hits · 3332 pts
SeverityFileLineSnippetContext
LOWCargo.toml601[profile.release]COMMENT
LOWdeny.toml21 # One-time exception for base64 due to its prevalence in the crate graph.COMMENT
LOWdeny.toml281 # `http-types`'s `Authorization::value`/`WwwAuthenticate::value` can violateCOMMENT
LOWmisc/lint/copyright.py1#!/usr/bin/env python3COMMENT
LOWmisc/lint/trailing-newline.py1#!/usr/bin/env python3COMMENT
LOWmisc/lint/test-attribute.py1#!/usr/bin/env python3COMMENT
LOWmisc/python/materialize/sqlsmith.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/rustc_flags.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/deb.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzbuild.py801COMMENT
LOWmisc/python/materialize/setup.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/elf.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…thon/materialize/parallel_workload/worker_exception.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/parallel_workload/database.py1241 # Questionable useCOMMENT
LOWmisc/python/materialize/parallel_workload/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/workload_replay/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/data_ingest/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzcompose/loader.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzcompose/helpers/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzcompose/services/clusterd.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/checks/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/checks/features.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…/materialize/checks/all_checks/upsert_unordered_key.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…/python/materialize/checks/all_checks/source_errors.py101 # relaxation once we have enough new releasees that there won'tCOMMENT
LOWmisc/python/materialize/checks/all_checks/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cli/ci_annotate_errors.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cli/run.py381 # We fork off a process that moves to its own process group and then runsCOMMENT
LOWmisc/python/materialize/cli/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cli/mz_workload_anonymize.py421 word_originals.add(original)COMMENT
LOWmisc/python/materialize/cli/mz_workload_anonymize.py461 # needs valid. Exempt the value literal in the same option position, mirroringCOMMENT
LOWmisc/python/materialize/cli/ci_coverage_pr_report.py21# - None value indicates that this line is interesting, but we don't know yetCOMMENT
LOWmisc/python/materialize/cli/lint_pipeline_topics.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cli/mzcompose.py1041# commands. Instead we focus on making `--help` work perfectly.COMMENT
LOWmisc/python/materialize/cli/gen-lints.py41COMMENT
LOWmisc/python/materialize/cli/gen-lints.py61 # in `HashMap`, because their order could change. This is a good lint inCOMMENT
LOWmisc/python/materialize/cli/gen-lints.py81WARN_CLIPPY_LINTS = [COMMENT
LOWmisc/python/materialize/cli/gen-lints.py181 # Implementing `From` gives you `Into` for free, but the reverse is notCOMMENT
LOW…materialize/test_analytics/config/sandbox_db_config.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/zippy/mz_capabilities.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…sc/python/materialize/zippy/blob_store_capabilities.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/zippy/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/zippy/storaged_capabilities.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/zippy/balancerd_capabilities.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/zippy/crdb_capabilities.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/parallel_benchmark/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/scalability/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/benches/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cloudtest/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cloudtest/k8s/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cloudtest/k8s/minio.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…ostgres_consistency/validation/pg_result_comparator.py41 r"^\d{4,}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}(\.\d+)?([+-]\d+(:\d+)?)?( (BC|AC))?$"COMMENT
LOW…ython/materialize/buildkite_insights/segfaults/find.py1#!/usr/bin/env python3COMMENT
LOWmisc/python/materialize/mzexplore/sql/keywords.txt1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/mzcompose/grafana/datasources/prometheus.yml1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/mzcompose/kafka/ensure-with-scram.sh1#!/usr/bin/env bashCOMMENT
LOWmisc/images/openssh-static/mzbuild.yml1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/images/mysql-client/mzbuild.yml1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/images/ubuntu-base/mzbuild.yml1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/images/fivetran-destination-tester/mzbuild.yml1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/images/materialized-base/mzbuild.yml1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
3306 more matches not shown…
Hyper-Verbose Identifiers1112 hits · 1025 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/source_table_migration.py15def verify_sources_after_source_table_migration(CODE
LOWmisc/python/materialize/git.py180def get_tags_of_current_commit(include_tags: YesNoOnce = YesNoOnce.ONCE) -> list[str]:CODE
LOWmisc/python/materialize/git.py311def try_get_remote_name_by_url(url: str) -> str | None:CODE
LOWmisc/python/materialize/git.py335def get_common_ancestor_commit(remote: str, branch: str) -> str:CODE
LOWmisc/python/materialize/git.py380def get_tagged_release_version(version_type: type[VERSION_TYPE]) -> VERSION_TYPE | None:CODE
LOWmisc/python/materialize/terminal.py28def with_conditional_formatting(text: str, formatting: str, condition: bool) -> str:CODE
LOWmisc/python/materialize/mz_0dt_upgrader.py42def generate_materialized_upgrade_args(CODE
LOWmisc/python/materialize/mz_0dt_upgrader.py71def generate_random_upgrade_path(CODE
LOWmisc/python/materialize/mz_0dt_upgrader.py110 def create_upgrade_steps_list(self) -> list[UpgradeStep]:CODE
LOWmisc/python/materialize/util.py84def decompress_zst_to_directory(CODE
LOWmisc/python/materialize/linear.py101def get_known_issues_from_linear(STRING
LOWmisc/python/materialize/cargo.py224 def transitive_path_dependencies(CODE
LOWmisc/python/materialize/mz_env_util.py42def connect_and_print_environment_id(CODE
LOWmisc/python/materialize/file_util.py23def resolve_path_with_wildcard(path: str, root_dir: str | Path = MZ_ROOT) -> set[str]:CODE
LOWmisc/python/materialize/file_util.py27def resolve_paths_with_wildcard(CODE
LOWmisc/python/materialize/file_util.py38def _file_list_output_to_list(output: str) -> list[str]:CODE
LOWmisc/python/materialize/docker.py36def image_of_release_version_exists(version: MzVersion, quiet: bool = False) -> bool:CODE
LOWmisc/python/materialize/docker.py51def mz_image_tag_exists_cmdline(image_name: str) -> bool:CODE
LOWmisc/python/materialize/docker.py180def release_version_to_image_tag(version: MzVersion) -> str:CODE
LOWmisc/python/materialize/docker.py184def is_image_tag_of_release_version(image_tag: str) -> bool:CODE
LOWmisc/python/materialize/docker.py192def get_version_from_image_tag(image_tag: str) -> str:CODE
LOWmisc/python/materialize/docker.py199def get_mz_version_from_image_tag(image_tag: str) -> MzVersion:CODE
LOWmisc/python/materialize/docker.py231def _resolve_image_name_by_commit_hash(commit_hash: str) -> str:CODE
LOWmisc/python/materialize/docker.py254def _search_docker_hub_for_image_name(CODE
LOWmisc/python/materialize/docker.py292def _select_image_name_from_candidates(CODE
LOWmisc/python/materialize/console_version_matrix.py21def get_console_test_versions() -> dict[str, MzVersion]:CODE
LOWmisc/python/materialize/mzbuild.py61def run_and_detect_rust_incremental_build_failure(CODE
LOWmisc/python/materialize/mzbuild.py235 def rewrite_builder_path_for_host(self, path: Path) -> Path:CODE
LOWmisc/python/materialize/mzbuild.py648 def generate_cargo_build_command(CODE
LOWmisc/python/materialize/mzbuild.py1220 def is_published_if_necessary(self) -> bool:CODE
LOWmisc/python/materialize/mzbuild.py1755 def _precompute_image_context_files(self) -> None:CODE
LOWmisc/python/materialize/mysql_util.py22def retrieve_ssl_context_for_mysql(c: Composition) -> MySqlSslContext:CODE
LOWmisc/python/materialize/mysql_util.py41def retrieve_invalid_ssl_context_for_mysql(c: Composition) -> MySqlSslContext:CODE
LOWmisc/python/materialize/buildkite.py84def is_pull_request_marker_set() -> bool:CODE
LOWmisc/python/materialize/buildkite.py95def get_pull_request_base_branch(fallback: str = "main"):CODE
LOWmisc/python/materialize/buildkite.py99def get_pipeline_default_branch(fallback: str = "main"):CODE
LOWmisc/python/materialize/buildkite.py186def _upload_shard_info_metadata(items: list[str]) -> None:CODE
LOWmisc/python/materialize/buildkite.py195def notify_qa_team_about_failure(failure: str) -> None:CODE
LOWmisc/python/materialize/buildkite.py239def _validate_parallelism_configuration() -> None:CODE
LOWmisc/python/materialize/buildkite.py305def get_job_url_from_build_url(build_url: str, build_job_id: str) -> str:CODE
LOWmisc/python/materialize/buildkite.py309def get_job_url_from_pipeline_and_build(CODE
LOWmisc/python/materialize/github.py124def get_known_issues_from_github(STRING
LOWmisc/python/materialize/version_ancestor_overrides.py18def get_ancestor_overrides_for_performance_regressions(CODE
LOWmisc/python/materialize/version_list.py41def fetch_self_managed_versions() -> list[SelfManagedVersion]:CODE
LOWmisc/python/materialize/version_list.py58def get_all_self_managed_versions() -> list[MzVersion]:CODE
LOWmisc/python/materialize/version_list.py62def get_self_managed_versions(CODE
LOWmisc/python/materialize/version_list.py83def get_compatible_upgrade_from_versions() -> list[MzVersion]:CODE
LOWmisc/python/materialize/version_list.py154def resolve_ancestor_image_tag(ancestor_overrides: dict[str, MzVersion]) -> str | None:CODE
LOWmisc/python/materialize/version_list.py180def _create_ancestor_image_resolution(CODE
LOWmisc/python/materialize/version_list.py189def _manual_ancestor_specification_to_image_tag(ancestor_spec: str) -> str:CODE
LOWmisc/python/materialize/version_list.py203 def _get_override_commit_instead_of_version(CODE
LOWmisc/python/materialize/version_list.py226 def _resolve_image_tag_of_previous_release(CODE
LOWmisc/python/materialize/version_list.py253 def _resolve_image_tag_of_previous_release_from_current(CODE
LOWmisc/python/materialize/version_list.py281 def _resolve_image_tag_of_merge_base(CODE
LOWmisc/python/materialize/version_list.py349def get_latest_published_version() -> MzVersion:CODE
LOWmisc/python/materialize/version_list.py370def get_previous_published_version(CODE
LOWmisc/python/materialize/version_list.py390def get_published_minor_mz_versions(CODE
LOWmisc/python/materialize/version_list.py466def get_all_published_mz_versions(CODE
LOWmisc/python/materialize/version_list.py475def get_published_mz_versions_within_one_major_version(CODE
LOWmisc/python/materialize/version_list.py490def limit_to_published_versions(CODE
1052 more matches not shown…
Cross-Language Confusion127 hits · 825 pts
SeverityFileLineSnippetContext
HIGHmisc/python/materialize/scratch.py326 "npx -q -y skills add MaterializeInc/agent-skills -g -a claude-code --copy -y --skill materialize-docs 2>/dev/nuCODE
HIGHmisc/python/materialize/scratch.py334 "npx -q -y skills add MaterializeInc/agent-skills -g -a codex --copy -y --skill materialize-docs 2>/dev/null || CODE
HIGH…/python/materialize/mzcompose/services/foundationdb.py31 if fdbcli -C "$CLUSTER_FILE" --exec "status minimal" --timeout 5 2>/dev/null; thenCODE
HIGH…/python/materialize/mzcompose/services/foundationdb.py147 "if fdbcli -C /var/fdb/fdb.cluster --exec 'status minimal' --timeout 5 2>/dev/null; then "STRING
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py19 > INSERT INTO jsonb_type_table VALUES ('{"object_element":{"a":"b"},"array_element": [1,2], "string_element"CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py28 WITH cte AS (SELECT '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "nuCODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py31 '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "number_element":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py37 jsonb_col || '{"another_null": null}'::jsonb AS c8,CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py47 WITH cte AS (SELECT '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "nuCODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py50 '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "number_element":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py56 jsonb_col || '{"another_null": null}'::jsonb AS c8,CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py70 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py71 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py72 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py75 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py76 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py77 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/webhook.py68 [{"good": "bye"}, 42, null]CODE
HIGHmisc/python/materialize/checks/all_checks/webhook.py100 "[{\\"good\\":\\"bye\\"},42,null]"CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py853 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py854 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py855 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py858 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py859 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py860 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py863 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py864 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py865 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py300 {"key1": "U2${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py303 {"key1": "D2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py306 {"key1": "U3${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py309 {"key1": "D3${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py371 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py374 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py377 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py537 {"key1": "U2${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py540 {"key1": "D2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py543 {"key1": "U3${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py546 {"key1": "D3${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py625 {"type":"record","name":"row","doc":"comment on view sink_source_comments_view","fields":[{"name":"l_v2"CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py628 {"type":"record","name":"row","doc":"comment on view sink_source_comments_view","fields":[{"name":"l_v2"CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py631 {"type":"record","name":"row","doc":"comment on view sink_source_comments_view","fields":[{"name":"l_v2"CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py634 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py637 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py640 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py337 {"key1": "I2${kafka-ingest.iteration}"} {"f1": {"string": "B${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py338 {"key1": "U2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py354 {"key1": "I2${kafka-ingest.iteration}"} {"f1": {"string": "B${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py355 {"key1": "U2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py581 {"key1": "I2${kafka-ingest.iteration}"} {"f1": {"string": "B${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py582 {"key1": "U2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py603 {"key1": "I2${kafka-ingest.iteration}"} {"f1": {"string": "B${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py604 {"key1": "U2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGH…thon/materialize/checks/all_checks/alter_connection.py179 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGH…thon/materialize/checks/all_checks/alter_connection.py180 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGH…thon/materialize/checks/all_checks/alter_connection.py181 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/ranges.py85 i8_range && INT8RANGE(4,12) AS i8_overlap,CODE
HIGH…/python/materialize/checks/all_checks/upsert_enrich.py32 {"name":"f1", "type": ["null", "string"], "default": null }CODE
HIGH…/python/materialize/checks/all_checks/upsert_enrich.py48 {{"key1": "A${{kafka-ingest.iteration}}"}} {{"f1": null}}CODE
HIGH…/python/materialize/checks/all_checks/upsert_enrich.py85 {{"key1": "B${{kafka-ingest.iteration}}"}} {{"f1": null}}CODE
67 more matches not shown…
Decorative Section Separators140 hits · 511 pts
SeverityFileLineSnippetContext
MEDIUMmisc/python/materialize/cli/optbench.py27# ---------------------COMMENT
MEDIUMmisc/python/materialize/cli/optbench.py300# ---------------COMMENT
MEDIUMmisc/python/materialize/cli/mzexplore.py22# ---------------------COMMENT
MEDIUMmisc/python/materialize/cli/mzexplore.py422# ----------COMMENT
MEDIUMmisc/python/materialize/optbench/sql.py147# -----------------COMMENT
MEDIUMmisc/python/materialize/mzexplore/sql.py144# -----------------COMMENT
MEDIUMmisc/python/materialize/mzexplore/extract.py78 # -------------------------------------STRING
MEDIUMmisc/python/materialize/mzexplore/extract.py378 # -------------------------------------STRING
MEDIUMmisc/python/materialize/mzexplore/extract.py450# ---------------STRING
MEDIUMmisc/python/materialize/mzexplore/clone.py66 # --------------------STRING
MEDIUMmisc/dbt-materialize/tests/adapter/test_strict_mode.py472# =============================================================================COMMENT
MEDIUMmisc/dbt-materialize/tests/adapter/test_strict_mode.py474# =============================================================================COMMENT
MEDIUMtest/canary-environment/mzcompose.py291 # ── 1. Upstream RDS/MySQL setup (outside Materialize) ─────────────────COMMENT
MEDIUMtest/canary-environment/mzcompose.py362 # ── 2. BigLake namespace ──────────────────────────────────────────────STRING
MEDIUMtest/canary-environment/mzcompose.py375 # ── 3. mz-deploy: setup + apply infrastructure ────────────────────────STRING
MEDIUMtest/canary-environment/mzcompose.py383 # ── 4. testdrive-managed objects ──────────────────────────────────────STRING
MEDIUMtest/canary-environment/mzcompose.py496 # ── 5. mz-deploy: deploy views/MVs blue-green ─────────────────────────STRING
MEDIUMtest/mz-deploy/mzcompose.py278 # ── 1. Initial apply ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py338 # ── 2. Idempotent re-apply ────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py375 # ── 3. Incremental apply: add table ───────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py427 # ── 4. Modify connection ──────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py444 # ── 5. Grant changes ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py461 # ── 6. Run unit tests ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py492 # ── 7. Stage ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py517 # ── 8. Wait ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py523 # ── 9. Promote ───────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py568 # ── 10. Log ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py574 # ── 11-12. Stage v2 ───────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py591 # ── 13. Abort v2 ─────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py605 # ── 14. Re-stage v2 + promote ─────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py646 # ── 15-16. Stage v3 ───────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py659 # ── 17. Abort v3 ─────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py673 # ── 18. Re-stage v3 + promote ─────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py720 # ── 1. Apply default profile ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py814 # ── 3. Apply staging profile ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py930 # ── 5. Idempotent re-apply for both profiles ──────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1254 # ── Happy path: lock with system-schema deps ──────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1274 # ── Negative case: 2-part non-system dep is rejected ──────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1785 # ── 1. Initial baseline apply ────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1917 # ── 1. Apply infrastructure ──────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1932 # ── 2. Stage v1: sink is deferred ────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1960 # ── 3. Promote v1: deferred sink is created ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1997 # ── 4. Stage v2 (MV definition changed) ──────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2008 # ── 5. Promote v2: sink is repointed, not recreated ──────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2108 # ── 2. Stage v2: only the stable MV changed ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2133 # ── 3. Promote v2: APPLY REPLACEMENT, no swap, no repoint ────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2197 # ── 1. Baseline: deploy v1 so subsequent stages diff against it ──────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2213 # ── 2. Stage both deployments side by side ───────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2248 # ── 3. Promote ca, then cb — no conflicts, no --force ────────────COMMENT
MEDIUMsrc/mz-deploy/src/cli/executor.rs21//! ┌──────────────────┼───────────────────┐COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs21//! ┌──────────┐ all objects hydrated ┌───────┐COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs22//! │ Hydrating │ ────────────────────────▶ │ Ready │COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs23//! └──────────┘ & lag ≤ threshold └───────┘COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs25//! │ lag > threshold ┌─────────┐COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs26//! └────────────────────────────────▶ │ Lagging │COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs27//! └─────────┘COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs30//! ┌─────────┐COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs32//! └─────────┘COMMENT
MEDIUMsrc/catalog/src/builtin/ontology.rs213// ── View builders ────────────────────────────────────────────COMMENT
MEDIUMsrc/catalog/src/builtin/ontology.rs364// ── Semantic type reference data ─────────────────────────────COMMENT
80 more matches not shown…
Hallucination Indicators25 hits · 270 pts
SeverityFileLineSnippetContext
CRITICALmisc/python/materialize/mzbuild.py1051 profile = self.image.rd.profile.name.lower()CODE
CRITICALsrc/persist-client/src/read.rs1637 subscribe.listen.handle.machine.applier.seqno_since(),CODE
CRITICALsrc/persist-client/src/read.rs1644 let mut seqno_since = subscribe.listen.handle.machine.applier.seqno_since();CODE
CRITICALsrc/persist-client/src/read.rs1699 let new_seqno_since = subscribe.listen.handle.machine.applier.seqno_since();CODE
CRITICALsrc/persist-client/src/schema.rs124 self.maps.key_by_id.metrics.computed_count.inc();CODE
CRITICALsrc/persist-client/src/schema.rs130 self.maps.val_by_id.metrics.computed_count.inc();CODE
CRITICALsrc/persist-client/src/schema.rs195 self.applier.metrics.schema.cache_fetch_state_count.inc();CODE
CRITICALsrc/persist-client/src/rpc.rs697 self.metrics.pubsub_client.sender.push.succeeded.inc();CODE
CRITICALsrc/persist-client/src/internal/encoding.rs968 applier_version: self.state.state.collections.version.to_string(),CODE
CRITICALsrc/persist-client/src/internal/encoding.rs977 last_gc_req: self.state.state.collections.last_gc_req.into_proto(),CODE
CRITICALsrc/persist-client/src/internal/encoding.rs978 active_rollup: self.state.state.collections.active_rollup.into_proto(),CODE
CRITICALsrc/persist-client/src/internal/encoding.rs979 active_gc: self.state.state.collections.active_gc.into_proto(),CODE
CRITICALsrc/persist-client/src/internal/encoding.rs1021 trace: Some(self.state.state.collections.trace.into_proto()),CODE
CRITICALsrc/persist-client/src/internal/gc.rs160 machine.applier.metrics.gc.started.inc();CODE
CRITICALsrc/persist-client/src/internal/gc.rs172 machine.applier.metrics.gc.finished.inc();CODE
CRITICALsrc/persist-client/src/internal/gc.rs265 machine.applier.metrics.gc.noop.inc();CODE
CRITICALsrc/persist-client/src/internal/metrics.rs2852 self.metrics.blob.set.bytes.inc_by(u64::cast_from(bytes));CODE
CRITICALsrc/persist-client/src/internal/metrics.rs2867 self.metrics.blob.delete.bytes.inc_by(u64::cast_from(bytes));CODE
CRITICALsrc/persist-client/src/internal/machine.rs552 self.applier.metrics.cmds.compare_and_append_noop.inc();CODE
CRITICALsrc/persist-client/src/internal/machine.rs925 Wake::Watch(_) => self.applier.metrics.watch.wait_woken_via_watch.inc(),CODE
CRITICALsrc/persist-client/src/internal/machine.rs927 self.applier.metrics.watch.wait_woken_via_sleep.inc();CODE
CRITICALsrc/persist-client/src/internal/machine.rs942 Wake::Watch(_) => self.applier.metrics.watch.wait_resolved_via_watch.inc(),CODE
CRITICALsrc/persist-client/src/internal/machine.rs943 Wake::Sleep(_) => self.applier.metrics.watch.wait_resolved_via_sleep.inc(),CODE
CRITICALsrc/persist-client/src/cli/admin.rs748 machine.applier.metrics.compaction.requested.inc();CODE
CRITICALsrc/persist-client/src/cli/admin.rs763 machine.applier.metrics.compaction.admin_count.inc();CODE
Structural Annotation Overuse159 hits · 210 pts
SeverityFileLineSnippetContext
LOW…aterialize/macros/utils/validate_cluster_isolation.sql66 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql69 {# Step 2: Initialize list to collect conflicting objects #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql72 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql75 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql78 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql81 {# Step 6: Record any object that isn't the current source #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql120 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql123 {# Step 2: Initialize list to collect conflicting objects #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql126 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql129 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql132 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql137 {# Step 6: Record any non-sink object #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql145 {# Step 7: If any conflicts were found, raise a compiler error #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql172 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql175 {# Step 2: Initialize flags to track isolated types #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql179 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql182 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql185 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql188 {# Step 6: Check if this node is a source or sink #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql198 {# Step 7: If cluster contains sources, block creation #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql207 {# Step 8: If cluster contains sinks, block creation #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql93 {# Step 7: If any conflicts were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql51 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql54 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql60 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql63 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql68 {# Step 5: If the node's materialization type is not allowed, record it #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql76 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql79 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql105 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql108 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql111 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql114 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql119 {# Step 5: If the node is not a sink, record its type #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql127 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql130 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql156 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql159 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql162 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql165 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql170 {# Step 5: If the node is not a source, record its type #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql178 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql181 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql208 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql211 {# Step 2: Initialize flags to track if we find isolated types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql216 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql219 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql222 {# Step 5: Check if this node is a source, sink, or source_table #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql234 {# Step 6: If schema contains sources, block creation of this object #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql243 {# Step 7: If schema contains sinks, block creation of this object #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql252 {# Step 8: If schema contains source_tables, block creation of this object #}CODE
LOWtest/orchestratord/mzcompose.py2696 # Step 1: Deploy with v1, complete initial rollout.COMMENT
LOWtest/orchestratord/mzcompose.py2713 # Step 2: Re-apply the same spec at v1 (no changes).COMMENT
LOWtest/orchestratord/mzcompose.py2732 # Step 3: Apply at v1 with a spec change (extra env var).COMMENT
LOWtest/cloudtest/test_privatelink_connection.py291 # Step 1: Deploy a single Toxiproxy instanceSTRING
LOWtest/cloudtest/test_privatelink_connection.py300 # Step 2: Enable PrivateLink connections and create connectionSTRING
LOWtest/cloudtest/test_privatelink_connection.py329 # Step 3: Verify VpcEndpoint resource existsSTRING
LOWtest/cloudtest/test_privatelink_connection.py332 # Step 4: Create ExternalName service to simulate VpcEndpoint controllerSTRING
LOWtest/cloudtest/test_privatelink_connection.py341 # Step 5: Configure Toxiproxy to proxy to RedpandaSTRING
LOWtest/cloudtest/test_privatelink_connection.py547 # Step 2: Save original Redpanda config for restorationSTRING
99 more matches not shown…
Deep Nesting225 hits · 208 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/cargo.py53CODE
LOWmisc/python/materialize/cargo.py148CODE
LOWmisc/python/materialize/cargo.py178CODE
LOWmisc/python/materialize/cargo.py201CODE
LOWmisc/python/materialize/scratch.py275CODE
LOWmisc/python/materialize/docker.py89CODE
LOWmisc/python/materialize/docker.py203CODE
LOWmisc/python/materialize/mzbuild.py61CODE
LOWmisc/python/materialize/mzbuild.py264CODE
LOWmisc/python/materialize/mzbuild.py345CODE
LOWmisc/python/materialize/mzbuild.py914CODE
LOWmisc/python/materialize/mzbuild.py1166CODE
LOWmisc/python/materialize/mzbuild.py1408CODE
LOWmisc/python/materialize/mzbuild.py1560CODE
LOWmisc/python/materialize/sqlancer.py120CODE
LOWmisc/python/materialize/sqlancer.py179CODE
LOWmisc/python/materialize/buildkite.py129CODE
LOWmisc/python/materialize/version_list.py601CODE
LOWmisc/python/materialize/parallel_workload/worker.py68CODE
LOW…hon/materialize/parallel_workload/parallel_workload.py61CODE
LOWmisc/python/materialize/parallel_workload/action.py99CODE
LOWmisc/python/materialize/parallel_workload/action.py266CODE
LOWmisc/python/materialize/parallel_workload/action.py643CODE
LOWmisc/python/materialize/parallel_workload/action.py696CODE
LOWmisc/python/materialize/parallel_workload/action.py730CODE
LOWmisc/python/materialize/parallel_workload/action.py788CODE
LOWmisc/python/materialize/parallel_workload/action.py1181CODE
LOWmisc/python/materialize/parallel_workload/action.py1244CODE
LOWmisc/python/materialize/parallel_workload/action.py1451CODE
LOWmisc/python/materialize/parallel_workload/action.py1992CODE
LOWmisc/python/materialize/parallel_workload/action.py2196CODE
LOWmisc/python/materialize/parallel_workload/action.py2397CODE
LOWmisc/python/materialize/parallel_workload/expression.py325CODE
LOWmisc/python/materialize/parallel_workload/executor.py115CODE
LOWmisc/python/materialize/parallel_workload/executor.py142CODE
LOWmisc/python/materialize/workload_replay/ingest.py338CODE
LOWmisc/python/materialize/workload_replay/replay.py48CODE
LOWmisc/python/materialize/workload_replay/replay.py155CODE
LOWmisc/python/materialize/workload_replay/objects.py44CODE
LOWmisc/python/materialize/workload_replay/objects.py578CODE
LOWmisc/python/materialize/workload_replay/data.py48CODE
LOWmisc/python/materialize/workload_replay/data.py94CODE
LOWmisc/python/materialize/workload_replay/data.py255CODE
LOWmisc/python/materialize/workload_replay/data.py314CODE
LOWmisc/python/materialize/workload_replay/data.py469CODE
LOWmisc/python/materialize/workload_replay/data.py497CODE
LOWmisc/python/materialize/workload_replay/data.py595CODE
LOWmisc/python/materialize/workload_replay/data.py680CODE
LOWmisc/python/materialize/workload_replay/column.py60CODE
LOWmisc/python/materialize/workload_replay/column.py97CODE
LOWmisc/python/materialize/workload_replay/column.py112CODE
LOWmisc/python/materialize/workload_replay/column.py218CODE
LOWmisc/python/materialize/workload_replay/executor.py80CODE
LOWmisc/python/materialize/data_ingest/data_type.py148CODE
LOWmisc/python/materialize/data_ingest/data_type.py213CODE
LOWmisc/python/materialize/data_ingest/data_type.py255CODE
LOWmisc/python/materialize/data_ingest/data_type.py270CODE
LOWmisc/python/materialize/data_ingest/data_type.py299CODE
LOWmisc/python/materialize/data_ingest/data_type.py314CODE
LOWmisc/python/materialize/data_ingest/data_type.py353CODE
165 more matches not shown…
Self-Referential Comments79 hits · 186 pts
SeverityFileLineSnippetContext
MEDIUMmisc/python/materialize/mzbuild.py66 """This function is complex since it prints out each line immediately toSTRING
MEDIUMmisc/python/materialize/github.py285 # Creating a release for a nonexistent tag would silently create the tagCOMMENT
MEDIUMmisc/python/materialize/mzcompose/helpers/iceberg.py190 # Create a dedicated database for Polaris so its internal tables don'tCOMMENT
MEDIUMmisc/python/materialize/checks/all_checks/pg_cdc.py101 # Create a view with a complex dependency structureCOMMENT
MEDIUM…/python/materialize/checks/all_checks/password_auth.py25 # Create a user with a password `user1` and grant them privileges to select from table materialize.schemCOMMENT
MEDIUM…python/materialize/checks/all_checks/sql_server_cdc.py100 # Create a view with a complex dependency structureCOMMENT
MEDIUM…n/materialize/checks/all_checks/cluster_unification.py40 # Create the other type of object as a second object in the cluster thatSTRING
MEDIUMmisc/python/materialize/release/auto_cut_release.py62 # Create the release page in the docs for the next version after the oneCOMMENT
MEDIUMmisc/python/materialize/parallel_benchmark/scenarios.py504 # Create the schema, tables, and roles as mz_system so it owns them and can grant on them,COMMENT
MEDIUMmisc/python/materialize/scalability/__init__.py10# This file is needed as otherwise pytest --doctest-module can notCOMMENT
MEDIUM…erialize/feature_benchmark/scenarios/benchmark_main.py1614 # Create a fresh source table and sink for each run.STRING
MEDIUMmisc/dbt-materialize/mzcompose.py93 # Create a topic that some tests rely onCOMMENT
MEDIUMmisc/dbt-materialize/tests/adapter/test_ci.py72 # Create the cluster for the first timeCOMMENT
MEDIUMmisc/dbt-materialize/tests/adapter/test_ci.py137 # Create a cluster and add an object to itCOMMENT
MEDIUMtest/cluster-spec-sheet/mzcompose.py3488 # Create a temporary override of the materialized service with updated CPU limits.COMMENT
MEDIUMtest/terraform/aws-upgrade/main.tf89# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-upgrade/main.tf124# Create a dedicated nodeclass and nodepool for Materialize podsCOMMENT
MEDIUMtest/terraform/aws-persistent/main.tf89# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-persistent/main.tf124# Create a dedicated nodeclass and nodepool for Materialize podsCOMMENT
MEDIUMtest/terraform/aws-temporary/main.tf89# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-temporary/main.tf124# Create a dedicated nodeclass and nodepool for Materialize podsCOMMENT
MEDIUMtest/sql-server-resumption-old-syntax/mzcompose.py95 # Create a custom SqlServer service that runs as root to fix disk permissions for backup.COMMENT
MEDIUMtest/dyncfg/mzcompose.py35 # Create a ConfigMap with the system parameters in JSON formatCOMMENT
MEDIUMtest/mysql-cdc/mzcompose.py277 # Create the source.STRING
MEDIUMtest/cluster/mzcompose.py161 # Create a cluster and verify that tests pass.COMMENT
MEDIUMtest/cluster/mzcompose.py3414 # Create a cluster and wait for it to come up.COMMENT
MEDIUMtest/cluster/mzcompose.py3579 # Create a managed cluster with a custom replica name.COMMENT
MEDIUMtest/cluster/mzcompose.py3920 # Create an MV reading from an index. Make sure it doesn't produce itsCOMMENT
MEDIUMtest/cluster/mzcompose.py3501 # Create a managed cluster and wait for it to come up.STRING
MEDIUMtest/cluster/mzcompose.py5209 # Create a REFRESH MV and wait for it to refresh once, then take downSTRING
MEDIUMtest/cluster/mzcompose.py5284 # Create an unmanaged cluster that isn't restarted together with materialized,STRING
MEDIUMtest/cluster/mzcompose.py6528 # Create a pause-able cluster, with indexes with different kinds of inputs.STRING
MEDIUMtest/cluster/mzcompose.py6949 # Create a postgres source and wait until it's caught up.STRING
MEDIUMtest/cluster/mzcompose.py7176 # Create a replacement. It's as-of will be derived from mv2's since.STRING
MEDIUMtest/cluster/mzcompose.py7210 # Create a materialized view and a replacement.STRING
MEDIUMtest/cluster/mzcompose.py7266 # Create a materialized view and a replacement.STRING
MEDIUMtest/cluster/mzcompose.py7409 # Create a cluster with an optimizer feature override, to test thatSTRING
MEDIUMtest/cluster/mzcompose.py7526 # Create a materialized view to generate compute activity.STRING
MEDIUMtest/orchestratord/mzcompose.py1076 # Create a configmap with system parametersCOMMENT
MEDIUMtest/orchestratord/mzcompose.py2076 # Create the secret with ca.crt, tls.crt, and tls.keyCOMMENT
MEDIUMtest/sql-server-cdc/mzcompose.py335 # Create a concurrent workload with 2 variaties of updatesSTRING
MEDIUMtest/launchdarkly/mzcompose.py115 # Create a LaunchDarkly client that simulates somebody interactingCOMMENT
MEDIUMtest/launchdarkly/mzcompose.py134 # Create a test feature flag unique for this test run. Based on theCOMMENT
MEDIUMtest/canary-environment/mzcompose.py292 # Create the replicated tables, publication, and the cron/event jobs thatCOMMENT
MEDIUMtest/restart/mzcompose.py750 # Create a replica and wait for metrics data to arrive.STRING
MEDIUMtest/restart/mzcompose.py1027 # Create a schema with a custom type, then exercise every object kind thatCOMMENT
MEDIUMtest/lang/python/smoketest.py96 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py141 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py194 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py255 # Create a dummy subscribe that we know will only everCOMMENT
MEDIUMtest/source-sink-errors/mzcompose.py95 # Create a source and a sinkCOMMENT
MEDIUMtest/source-sink-errors/mzcompose.py163 # Create a source and a sinkSTRING
MEDIUMtest/source-sink-errors/mzcompose.py265 # Create a source and a sinkSTRING
MEDIUMtest/source-sink-errors/mzcompose.py361 # Create a source and a sinkSTRING
MEDIUMtest/aws-localstack/mzcompose.py131 # Create an orphaned secret that should get deleted when starting environmentd.COMMENT
MEDIUMtest/aws-localstack/mzcompose.py139 # Create an orphaned secret without the correct tags, so it should be ignored.COMMENT
MEDIUMtest/aws-localstack/mzcompose.py146 # Create a secret for a different environment, so it should be ignored.COMMENT
MEDIUMtest/aws/mzcompose.py125 # Create a user with an access key.STRING
MEDIUMtest/aws/mzcompose.py133 # Creating a connection with those credentials should work.STRING
MEDIUMtest/aws/mzcompose.py186 # Create a connection to a not-yet-existing customer role.STRING
19 more matches not shown…
Cross-File Repetition34 hits · 170 pts
SeverityFileLineSnippetContext
HIGHmisc/python/materialize/data_ingest/executor.py0$ sql-server-connect name=sql-server server=tcp:sql-server,1433;integratedsecurity=true;trustservercertificate=true;userSTRING
HIGHmisc/python/materialize/zippy/sql_server_actions.py0$ sql-server-connect name=sql-server server=tcp:sql-server,1433;integratedsecurity=true;trustservercertificate=true;userSTRING
HIGH…erialize/feature_benchmark/scenarios/benchmark_main.py0$ sql-server-connect name=sql-server server=tcp:sql-server,1433;integratedsecurity=true;trustservercertificate=true;userSTRING
HIGHtest/sql-server-cdc/mzcompose.py0$ sql-server-connect name=sql-server server=tcp:sql-server,1433;integratedsecurity=true;trustservercertificate=true;userSTRING
HIGHmisc/python/materialize/mzcompose/service.py0the implementation of the mzcompose system for docker compositions. for an overview of what mzcompose is and why it exisSTRING
HIGHmisc/python/materialize/mzcompose/__init__.py0the implementation of the mzcompose system for docker compositions. for an overview of what mzcompose is and why it exisSTRING
HIGHmisc/python/materialize/mzcompose/composition.py0the implementation of the mzcompose system for docker compositions. for an overview of what mzcompose is and why it exisSTRING
HIGH…_filter/internal_output_inconsistency_ignore_filter.py0allows specifying and excluding expressions with known output inconsistenciesSTRING
HIGH…nsistency/ignore_filter/inconsistency_ignore_filter.py0allows specifying and excluding expressions with known output inconsistenciesSTRING
HIGH…stency/ignore_filter/pg_inconsistency_ignore_filter.py0allows specifying and excluding expressions with known output inconsistenciesSTRING
HIGHmisc/python/materialize/zippy/postgres_actions.py0performs an insert, delete or update against a table.STRING
HIGHmisc/python/materialize/zippy/mysql_actions.py0performs an insert, delete or update against a table.STRING
HIGHmisc/python/materialize/zippy/table_actions.py0performs an insert, delete or update against a table.STRING
HIGHtest/sql-server-resumption-old-syntax/mzcompose.py0confirm that mz does not reingest the entire snapshot on restart by revoking its select privilegesSTRING
HIGHtest/mysql-cdc-resumption-old-syntax/mzcompose.py0confirm that mz does not reingest the entire snapshot on restart by revoking its select privilegesSTRING
HIGHtest/pg-cdc-resumption-old-syntax/mzcompose.py0confirm that mz does not reingest the entire snapshot on restart by revoking its select privilegesSTRING
HIGHtest/pg-cdc-resumption/mzcompose.py0confirm that mz does not reingest the entire snapshot on restart by revoking its select privilegesSTRING
HIGHtest/mysql-cdc-resumption/mzcompose.py0confirm that mz does not reingest the entire snapshot on restart by revoking its select privilegesSTRING
HIGHtest/mysql-cdc/mzcompose.py0the goal is to test a large scale kafka upsert instance and to make sure that we can successfully ingest data from it quSTRING
HIGHtest/pg-cdc/mzcompose.py0the goal is to test a large scale kafka upsert instance and to make sure that we can successfully ingest data from it quSTRING
HIGHtest/sql-server-cdc/mzcompose.py0the goal is to test a large scale kafka upsert instance and to make sure that we can successfully ingest data from it quSTRING
HIGHtest/upsert/mzcompose.py0the goal is to test a large scale kafka upsert instance and to make sure that we can successfully ingest data from it quSTRING
HIGHtest/cluster/mzcompose.py0test creating sources in a remote clusterd process.STRING
HIGHtest/kafka-resumption/mzcompose.py0test creating sources in a remote clusterd process.STRING
HIGHtest/upsert/mzcompose.py0test creating sources in a remote clusterd process.STRING
HIGHtest/mysql-cdc-resumption-old-syntax/mzcompose.py0test postgres direct replication's failure handling by disrupting replication at various stages using toxiproxy or serviSTRING
HIGHtest/mysql-cdc-resumption/mzcompose.py0test postgres direct replication's failure handling by disrupting replication at various stages using toxiproxy or serviSTRING
HIGHtest/pg-cdc-resumption-old-syntax/mzcompose.py0test postgres direct replication's failure handling by disrupting replication at various stages using toxiproxy or serviSTRING
HIGHtest/pg-cdc-resumption/mzcompose.py0test postgres direct replication's failure handling by disrupting replication at various stages using toxiproxy or serviSTRING
HIGHtest/pg-rtr/mzcompose.py0functional test for kafka with real-time recency enabled. queries should block until results are available instead of reSTRING
HIGHtest/pg-rtr-old-syntax/mzcompose.py0functional test for kafka with real-time recency enabled. queries should block until results are available instead of reSTRING
HIGHtest/mysql-rtr/mzcompose.py0functional test for kafka with real-time recency enabled. queries should block until results are available instead of reSTRING
HIGHtest/mysql-rtr-old-syntax/mzcompose.py0functional test for kafka with real-time recency enabled. queries should block until results are available instead of reSTRING
HIGHtest/kafka-rtr/mzcompose.py0functional test for kafka with real-time recency enabled. queries should block until results are available instead of reSTRING
Excessive Try-Catch Wrapping147 hits · 150 pts
SeverityFileLineSnippetContext
LOWmisc/lint/copyright.py66 except Exception as e:CODE
LOWmisc/python/materialize/source_table_migration.py55 except Exception as e:CODE
LOWmisc/python/materialize/git.py212 except Exception as e:CODE
LOWmisc/python/materialize/git.py349 except Exception as e:CODE
LOWmisc/python/materialize/mz_env_util.py38 except Exception as e:CODE
LOWmisc/python/materialize/mz_env_util.py59 except Exception as e:CODE
LOWmisc/python/materialize/parallel_task.py81 except Exception as e:CODE
LOWmisc/python/materialize/docker.py227 except Exception:CODE
MEDIUMmisc/python/materialize/mzbuild.py333 print(f"Error checking Docker image: {e}")CODE
MEDIUMmisc/python/materialize/mzbuild.py394 print(f"Error checking Docker image: {e}")CODE
MEDIUMmisc/python/materialize/mzbuild.py419 print(f"Error requesting {url}: {e}")CODE
LOWmisc/python/materialize/mzbuild.py332 except Exception as e:CODE
LOWmisc/python/materialize/mzbuild.py393 except Exception as e:CODE
LOWmisc/python/materialize/mzbuild.py1441 except Exception:CODE
LOWmisc/python/materialize/mzbuild.py1507 except Exception:CODE
LOWmisc/python/materialize/sqlancer.py127 except Exception:CODE
LOWmisc/python/materialize/parallel_workload/worker.py146 except Exception as e:CODE
LOW…hon/materialize/parallel_workload/parallel_workload.py394 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py1969 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py2443 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py2473 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py98 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py133 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py167 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py183 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/replay.py228 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/data.py544 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/data.py631 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/data.py719 except Exception as e:CODE
LOWmisc/python/materialize/data_ingest/workload.py357 except Exception as e:CODE
LOWmisc/python/materialize/data_ingest/executor.py113 except Exception as e:CODE
LOWmisc/python/materialize/data_ingest/executor.py129 except Exception as e:CODE
LOWmisc/python/materialize/data_ingest/executor.py354 except Exception:CODE
LOWmisc/python/materialize/mzcompose/__init__.py809 except Exception as e:CODE
LOWmisc/python/materialize/mzcompose/composition.py756 except Exception as e:CODE
LOWmisc/python/materialize/mzcompose/composition.py1072 except Exception:CODE
LOWmisc/python/materialize/mzcompose/composition.py1903 except Exception as e:CODE
LOWmisc/python/materialize/mzcompose/composition.py1923 except Exception as e:CODE
LOWmisc/python/materialize/mzcompose/helpers/iceberg.py86 except Exception as e:CODE
LOW…erialize/output_consistency/output_consistency_test.py346 except Exception as e:CODE
LOW…terialize/output_consistency/execution/sql_executor.py136 except Exception:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py470 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py823 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py1045 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py1053 except Exception as e:CODE
LOWmisc/python/materialize/cli/optbench.py188 except Exception as e:CODE
LOWmisc/python/materialize/cli/optbench.py254 except Exception as e:CODE
LOWmisc/python/materialize/cli/optbench.py295 except Exception as e:CODE
LOWmisc/python/materialize/cli/mzexplore.py200 except Exception as e:CODE
LOWmisc/python/materialize/cli/mzexplore.py259 except Exception as e:CODE
LOWmisc/python/materialize/cli/mzexplore.py309 except Exception as e:CODE
LOWmisc/python/materialize/cli/mzexplore.py351 except Exception as e:CODE
LOWmisc/python/materialize/cli/mzexplore.py413 except Exception as e:CODE
LOWmisc/python/materialize/cli/mzcompose.py385 except Exception as e:STRING
LOWmisc/python/materialize/cli/scratch/__main__.py121 except Exception as e:CODE
LOW…rialize/test_analytics/search/test_analytics_search.py99 except Exception as e:CODE
LOW…e/test_analytics/connector/test_analytics_connector.py158 except Exception:CODE
LOW…e/test_analytics/connector/test_analytics_connector.py277 except Exception as e:STRING
MEDIUM…e/test_analytics/connector/test_analytics_connector.py237def try_get_or_query_settings(self) -> TestAnalyticsSettings | None:CODE
LOWmisc/python/materialize/parallel_benchmark/framework.py109 except Exception as e:CODE
87 more matches not shown…
Verbosity Indicators103 hits · 124 pts
SeverityFileLineSnippetContext
LOW…aterialize/macros/utils/validate_cluster_isolation.sql66 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql69 {# Step 2: Initialize list to collect conflicting objects #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql72 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql75 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql78 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql81 {# Step 6: Record any object that isn't the current source #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql120 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql123 {# Step 2: Initialize list to collect conflicting objects #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql126 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql129 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql132 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql137 {# Step 6: Record any non-sink object #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql145 {# Step 7: If any conflicts were found, raise a compiler error #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql172 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql175 {# Step 2: Initialize flags to track isolated types #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql179 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql182 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql185 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql188 {# Step 6: Check if this node is a source or sink #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql198 {# Step 7: If cluster contains sources, block creation #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql207 {# Step 8: If cluster contains sinks, block creation #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql93 {# Step 7: If any conflicts were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql51 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql54 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql60 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql63 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql68 {# Step 5: If the node's materialization type is not allowed, record it #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql76 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql79 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql105 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql108 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql111 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql114 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql119 {# Step 5: If the node is not a sink, record its type #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql127 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql130 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql156 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql159 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql162 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql165 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql170 {# Step 5: If the node is not a source, record its type #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql178 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql181 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql208 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql211 {# Step 2: Initialize flags to track if we find isolated types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql216 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql219 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql222 {# Step 5: Check if this node is a source, sink, or source_table #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql234 {# Step 6: If schema contains sources, block creation of this object #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql243 {# Step 7: If schema contains sinks, block creation of this object #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql252 {# Step 8: If schema contains source_tables, block creation of this object #}CODE
LOWtest/orchestratord/mzcompose.py2696 # Step 1: Deploy with v1, complete initial rollout.COMMENT
LOWtest/orchestratord/mzcompose.py2713 # Step 2: Re-apply the same spec at v1 (no changes).COMMENT
LOWtest/orchestratord/mzcompose.py2732 # Step 3: Apply at v1 with a spec change (extra env var).COMMENT
LOWtest/cloudtest/test_privatelink_connection.py291 # Step 1: Deploy a single Toxiproxy instanceSTRING
LOWtest/cloudtest/test_privatelink_connection.py300 # Step 2: Enable PrivateLink connections and create connectionSTRING
LOWtest/cloudtest/test_privatelink_connection.py329 # Step 3: Verify VpcEndpoint resource existsSTRING
LOWtest/cloudtest/test_privatelink_connection.py332 # Step 4: Create ExternalName service to simulate VpcEndpoint controllerSTRING
LOWtest/cloudtest/test_privatelink_connection.py341 # Step 5: Configure Toxiproxy to proxy to RedpandaSTRING
LOWtest/cloudtest/test_privatelink_connection.py547 # Step 2: Save original Redpanda config for restorationSTRING
43 more matches not shown…
Unused Imports96 hits · 95 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/mz_version.py12CODE
LOWmisc/python/materialize/util.py12CODE
LOWmisc/python/materialize/parallel_task.py12CODE
LOWmisc/python/materialize/version_ancestor_overrides.py11CODE
LOWmisc/python/materialize/version_list.py11CODE
LOWmisc/python/materialize/parallel_workload/action.py96CODE
LOWmisc/python/materialize/parallel_workload/column.py21CODE
LOWmisc/python/materialize/parallel_workload/executor.py24CODE
LOWmisc/python/materialize/workload_replay/ingest.py14CODE
LOWmisc/python/materialize/workload_replay/util.py14CODE
LOWmisc/python/materialize/workload_replay/replay_test.py12CODE
LOWmisc/python/materialize/workload_replay/replay.py14CODE
LOWmisc/python/materialize/workload_replay/stats.py14CODE
LOWmisc/python/materialize/workload_replay/objects.py14CODE
LOWmisc/python/materialize/workload_replay/data.py14CODE
LOWmisc/python/materialize/workload_replay/column.py14CODE
LOWmisc/python/materialize/workload_replay/executor.py14CODE
LOWmisc/python/materialize/data_ingest/transaction_def.py29CODE
LOWmisc/python/materialize/data_ingest/executor.py20CODE
LOWmisc/python/materialize/mzcompose/test_result.py10CODE
LOWmisc/python/materialize/mzcompose/helpers/iceberg.py20CODE
LOW…ython/materialize/mzcompose/services/metadata_store.py17CODE
LOWmisc/python/materialize/mzcompose/services/cockroach.py10CODE
LOWmisc/python/materialize/mzcompose/services/alloydb.py10CODE
LOWmisc/python/materialize/mzcompose/services/postgres.py10CODE
LOWmisc/python/materialize/checks/checks.py20CODE
LOWmisc/python/materialize/checks/mzcompose_actions.py30CODE
LOWmisc/python/materialize/checks/actions.py22CODE
LOWmisc/python/materialize/checks/all_checks/aws.py9CODE
LOW…thon/materialize/checks/all_checks/alter_connection.py9CODE
LOW…alize/output_consistency/operation/return_type_spec.py10CODE
LOW…n/materialize/output_consistency/enum/enum_constant.py9CODE
LOW…output_consistency/output/reproduction_code_printer.py10CODE
LOW…/materialize/output_consistency/status/test_summary.py9CODE
LOW…nsistency/ignore_filter/inconsistency_ignore_filter.py11CODE
LOW…utput_consistency/expression/row_indices_expression.py9CODE
LOW…e/output_consistency/expression/constant_expression.py9CODE
LOW…aterialize/output_consistency/expression/expression.py9CODE
LOW…n/materialize/output_consistency/query/query_result.py9CODE
LOW…materialize/output_consistency/query/query_template.py9CODE
LOW…python/materialize/cli/ci_closed_issues_detect_test.py19CODE
LOW…c/python/materialize/cli/mz_workload_anonymize_test.py18CODE
LOWmisc/python/materialize/cli/ci_annotate_errors_test.py10CODE
LOWmisc/python/materialize/cli/mzcompose.py24CODE
LOWmisc/python/materialize/cli/scratch/__init__.py10CODE
LOWmisc/python/materialize/zippy/framework.py19CODE
LOW…thon/materialize/scalability/result/result_analyzer.py11CODE
LOW…n/materialize/scalability/result/comparison_outcome.py9CODE
LOW…n/materialize/scalability/result/scalability_change.py9CODE
LOW…aterialize/scalability/result/regression_assessment.py9CODE
LOW…c/python/materialize/scalability/df/df_wrapper_base.py9CODE
LOWmisc/python/materialize/scalability/df/df_details.py9CODE
LOWmisc/python/materialize/scalability/df/df_totals.py9CODE
LOW…materialize/scalability/executor/benchmark_executor.py33CODE
LOW…materialize/scalability/executor/benchmark_executor.py34CODE
LOW…materialize/scalability/executor/benchmark_executor.py35CODE
LOW…materialize/scalability/executor/benchmark_executor.py36CODE
LOW…ialize/scalability/workload/workloads/ddl_workloads.py21CODE
LOW…/scalability/workload/workloads/self_test_workloads.py16CODE
LOW…scalability/workload/workloads/connection_workloads.py17CODE
36 more matches not shown…
AI Slop Vocabulary24 hits · 61 pts
SeverityFileLineSnippetContext
MEDIUMmisc/python/materialize/mzcompose/__init__.py57 """Settings we need in order to have tests run at all, but otherwise staySTRING
MEDIUMmisc/dbt-materialize/mzcompose.py105 # Give the test harness permission to modify the built-inSTRING
MEDIUMtest/cluster/mzcompose.py7037 # robust to the source exposing extra, transient readers as it restartsSTRING
LOWci/test/cargo-test/mzcompose.py306 # Can't just use --workspace because of https://github.com/rust-lang/cargo/issues/7160COMMENT
LOWci/nightly/pipeline.template.yml10# Default priority, just set to be explicitCOMMENT
LOWdoc/user/data/explain_plan_operators.yml408 Indicates a point that will become an [arrangement](/get-started/arrangements/#arrangements) in the dataflow enginCODE
MEDIUMsrc/mz/src/bin/mz/upgrader.rs43/// and ensure a seamless experience.COMMENT
MEDIUMsrc/metrics-catalog/src/main.rs825 /// stays robust to grammar tweaks. Document that leniency here.COMMENT
MEDIUMsrc/prof-http/src/http/static/js/flamegraph.js189 // be robust in case there isn'tCOMMENT
MEDIUMsrc/expr/src/interpret.rs132 /// only need the "single known value" case: it's robust against futureCOMMENT
MEDIUMsrc/orchestrator-process/src/lib.rs1038 // anything more robust given the Unix APIs available to us, and theCOMMENT
MEDIUMsrc/compute/src/render/top_k.rs419 /// To provide a robust incremental orderby-limit experience, we want to avoid grouping *all*COMMENT
MEDIUMsrc/compute/src/render/top_k.rs421 /// robust approach forms groups of bounded size and applies the offset and limit to each,COMMENT
MEDIUMsrc/compute/src/sink/materialized_view.rs63//! The persist sink is written to be robust to the presence of other conflicting instances (e.g.COMMENT
MEDIUMsrc/avro/src/lib.rs60//! Or in case you want to leverage the **Snappy** codec:COMMENT
MEDIUMsrc/avro/src/lib.rs280//! interface to leverage all Avro features. Please read the API reference in case you areCOMMENT
MEDIUMsrc/ore/src/panic.rs213 // out. To make this string munging as robust as possible, if weCOMMENT
MEDIUMsrc/persist-client/Cargo.toml18# Disable the ability to use benches in the library because the bench harnessCOMMENT
MEDIUMsrc/transform/src/analysis.rs1588 /// But see also expr/src/scalar.rs for `FilterCharacteristics::worst_case_scaling_factor()` for a more nuanced takeCOMMENT
MEDIUMsrc/transform/src/equivalence_propagation.rs29//! equivalence was independent of the expression (e.g. through a more nuanced expression traversal) we could imaging reCOMMENT
MEDIUMsrc/persist/Cargo.toml16# Disable the ability to use benches in the library because the bench harnessCOMMENT
MEDIUMsrc/repr/src/scalar.rs3671 /// castable from `self` and offer a means to leverage Materialize's typeCOMMENT
MEDIUMsrc/repr/src/adt/jsonb.rs15//! minimal allocations. It also provides seamless interop with APIs thatCOMMENT
MEDIUMsrc/sql/src/plan/transform_hir.rs632 // robust against future code changes.)COMMENT
Synthetic Comment Markers8 hits · 60 pts
SeverityFileLineSnippetContext
HIGHsrc/compute-client/src/as_of_selection.rs559 /// Apply as-of constraints to ensure indexes contain historical data as requested by theirCOMMENT
HIGHsrc/expr/src/relation.rs3664 /// The maximum allowed result size, as requested by the client.COMMENT
HIGHsrc/orchestrator-process/src/lib.rs597 // The service might already exist. If it has the same config as requested (currently weCOMMENT
HIGHsrc/storage/src/render/sinks.rs51/// that represent the sink and its errors as requestedCOMMENT
HIGHsrc/storage/src/render/sources.rs51/// as requested by the original `CREATE SOURCE` statement,COMMENT
HIGHsrc/compute/src/server.rs654 // All other commands we apply as requested.COMMENT
HIGHsrc/pgwire/src/protocol.rs1780 // them to the user as requested. Its command tag is always FETCH <num rowsCOMMENT
HIGHsrc/pgwire/src/protocol.rs1920 // return those as requested (if, say, an Execute message was sent with aCOMMENT
Fake / Example Data37 hits · 38 pts
SeverityFileLineSnippetContext
LOW…python/materialize/cli/ci_closed_issues_detect_test.py61 monkeypatch.setenv("LINEAR_READ_ONLY_TOKEN", "dummy-token")CODE
LOW…python/materialize/cli/ci_closed_issues_detect_test.py75 monkeypatch.setenv("LINEAR_READ_ONLY_TOKEN", "dummy-token")CODE
LOWtest/iceberg/mzcompose.py210 dummy_id = snap_id + 10_000_000 + stats["modifications"]CODE
LOWtest/iceberg/mzcompose.py212 "snapshot-id": dummy_id,CODE
LOWtest/iceberg/mzcompose.py236 "snapshot-id": dummy_id,CODE
LOWdoc/user/content/integrations/connection-pooling.md30"user@example.com" "mypassword-or-scram-secret"CODE
LOWdoc/user/content/integrations/connection-pooling.md42"foo@bar.com" "mypassword"CODE
LOWconsole/src/platform/roles/RemoveUserModal.test.tsx30 memberName: "user@example.com",CODE
LOWconsole/src/platform/roles/RemoveUserModal.test.tsx46 expect(screen.getByText("user@example.com")).toBeVisible();CODE
LOWconsole/src/platform/roles/EditRolesModal.test.tsx36 userName: "user@example.com",CODE
LOWconsole/src/platform/roles/EditRolesModal.test.tsx135 expect(screen.getByText("user@example.com")).toBeInTheDocument();CODE
LOW…urces/create/shared/NewDatabaseConnectionForm.test.tsx205 expect(portInput).toHaveProperty("placeholder", "5432");CODE
LOW…urces/create/shared/NewDatabaseConnectionForm.test.tsx220 expect(portInput).toHaveProperty("placeholder", "3306");CODE
LOW…urces/create/shared/NewDatabaseConnectionForm.test.tsx246 expect(portInput).toHaveProperty("placeholder", "1433");CODE
LOWconsole/src/components/CommandBlock/Editor.tsx58 "lineNumbers" | "placeholder" | "onCommand" | "onKeyDown"CODE
LOW…materialize/query-history/queryHistoryList.test.sql.ts107 toSqlStringValue(values.authenticatedUser, "user@example.com"),CODE
LOW…materialize/query-history/queryHistoryList.test.sql.ts153 authenticatedUser: "user@example.com",CODE
LOW…materialize/query-history/queryHistoryList.test.sql.ts191 `> ${insertActivityLog({ authenticatedUser: "admin@example.com", sql: "SELECT 3" })}`,CODE
LOW…materialize/query-history/queryHistoryList.test.sql.ts198 user: "admin@example.com",CODE
LOW…materialize/query-history/queryHistoryList.test.sql.ts557 'admin@example.com',CODE
LOW…le/src/external-library-wrappers/__mocks__/frontegg.ts47 email: "user@example.com",CODE
LOWsrc/catalog/src/durable/upgrade/v83_to_v84.rs1307 let user = stale_role_kind_with_dropped_field(110, "user@example.com", 30110);CODE
LOWsrc/catalog/src/durable/upgrade/v83_to_v84.rs1310 "user@example.com",CODE
LOWsrc/catalog/src/durable/upgrade/v80_to_v81.rs174 make_role(1, "user@example.com"),CODE
LOWsrc/catalog/src/durable/upgrade/v80_to_v81.rs188 make_role(1, "user@example.com"),CODE
LOWsrc/catalog/src/durable/upgrade/v80_to_v81.rs200 make_role(1, "user@example.com"),CODE
LOWsrc/environmentd/tests/auth.rs1362 let oidc_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs1554 let oidc_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs1709 let oidc_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs1793 let oidc_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs1915 let oidc_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs2056 let email_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs2146 let oidc_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs2209 let oidc_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs2304 let oidc_user = "user@example.com";CODE
LOWsrc/environmentd/tests/auth.rs5408 let oidc_user = "user@example.com";CODE
LOWsrc/frontegg-mock/tests/local.rs52 let email = "user@example.com".to_string();CODE
Slop Phrases16 hits · 27 pts
SeverityFileLineSnippetContext
LOWclippy.toml34 # These are banned because we want to ensure people don't forget to use .name(...), so we require the use of `mz_oreCOMMENT
LOWclippy.toml34 # These are banned because we want to ensure people don't forget to use .name(...), so we require the use of `mz_oreCOMMENT
LOW…sc/python/materialize/checks/all_checks/alter_table.py23 # Note(parkmycar): We want to make sure to ALTER a table in the initialize to exerciseCOMMENT
MEDIUMtest/cluster-spec-sheet/mzcompose.py3494 # If you'd like to avoid going over your machine's core count, you can use `--max-scale`.COMMENT
LOWsrc/storage-client/src/storage_collections.rs2323 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller.rs458 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller.rs1175 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller/instance.rs846 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller/instance.rs3176 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/storage-controller/src/lib.rs2591 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/controller/src/lib.rs247 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
MEDIUMsrc/environmentd/tests/sql.rs1445// Feel free to modify this test if that product requirement changes,COMMENT
LOWsrc/persist-client/src/internal/compact.rs1124 // intentionally deconstruct so we don't forget to consider each fieldCOMMENT
LOWsrc/persist-client/src/internal/state.rs2029 // Don't forget to update the downgrade_since when this getsCOMMENT
LOWsrc/persist-client/src/internal/state.rs2062 // Don't forget to update the downgrade_since when this getsCOMMENT
LOWsrc/sql/src/session/vars/definitions.rs2378 // then assigning them to their respective system vars, to ensure we don't forget to updateCOMMENT
AI Structural Patterns23 hits · 23 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/redpanda_cloud.py24CODE
LOWmisc/python/materialize/mzcompose/composition.py361CODE
LOWmisc/python/materialize/mzcompose/composition.py805CODE
LOWmisc/python/materialize/mzcompose/composition.py839CODE
LOWmisc/python/materialize/mzcompose/composition.py915CODE
LOWmisc/python/materialize/mzcompose/composition.py1106CODE
LOWmisc/python/materialize/mzcompose/services/balancerd.py20CODE
LOWmisc/python/materialize/mzcompose/services/clusterd.py26CODE
LOW…/python/materialize/mzcompose/services/materialized.py73CODE
LOWmisc/python/materialize/mzcompose/services/testdrive.py31CODE
LOW…/python/materialize/mzcompose/services/foundationdb.py183CODE
LOW…/python/materialize/mzcompose/services/foundationdb.py54CODE
LOWmisc/python/materialize/mzcompose/services/cockroach.py33CODE
LOWmisc/python/materialize/mzcompose/services/frontegg.py20CODE
LOW…thon/materialize/mzcompose/services/schema_registry.py16CODE
LOWmisc/python/materialize/mzcompose/services/kafka.py27CODE
LOWmisc/python/materialize/mzcompose/services/postgres.py28CODE
LOWmisc/python/materialize/mzcompose/services/azurite.py19CODE
LOWmisc/python/materialize/checks/mzcompose_actions.py40CODE
LOW…/materialize/output_consistency/operation/operation.py38CODE
LOW…/materialize/output_consistency/operation/operation.py196CODE
LOWmisc/python/materialize/cloudtest/k8s/testdrive.py52CODE
LOWmisc/python/materialize/cloudtest/k8s/environmentd.py120CODE
Modern Structural Boilerplate21 hits · 20 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/util.py176 def _set_linger(conn: psycopg.Connection) -> None:CODE
LOWmisc/python/materialize/ui.py176 def set_hint(self, hint: str) -> None:CODE
LOWmisc/python/materialize/parallel_workload/database.py1267 def update_sqlsmith_state(self, composition: Composition) -> None:CODE
LOWmisc/python/materialize/parallel_workload/column.py27def set_naughty_identifiers(value: bool) -> None:CODE
LOWmisc/python/materialize/parallel_workload/executor.py79 def set_isolation(self, level: str) -> None:CODE
LOWmisc/python/materialize/workload_replay/util.py199def update_captured_workloads_repo() -> None:CODE
LOWmisc/python/materialize/cli/run.py66def update_sqlite_repo() -> None:STRING
LOW…e/test_analytics/connector/test_analytics_connector.py69 def set_read_only(self) -> None:CODE
LOW…e/test_analytics/connector/test_analytics_connector.py110 def set_read_only(self) -> None:CODE
LOW…e/test_analytics/connector/test_analytics_connector.py204 def set_read_only(self) -> None:CODE
LOW…sc/python/materialize/scalability/workload/workload.py65 def set_endpoint(self, endpoint: Endpoint) -> None:CODE
LOW…sc/python/materialize/scalability/workload/workload.py68 def set_schema(self, schema: Schema) -> None:CODE
LOW…ture_flag_consistency/feature_flag_consistency_test.py106 def set_configuration_pair_by_name(self, name: str) -> None:CODE
LOW…n/materialize/cloudtest/app/materialize_application.py161 def set_environmentd_failpoints(self, failpoints: str) -> None:CODE
LOWtest/canary-load/mzcompose.py384def update_data(c: Composition, i: int) -> None:STRING
LOWci/mkpipeline.py717def set_retry_on_agent_lost(pipeline: Any) -> None:CODE
LOWci/mkpipeline.py746def set_default_agents_queue(pipeline: Any) -> None:CODE
LOWci/mkpipeline.py758def set_parallelism_name(pipeline: Any) -> None:CODE
LOWci/test/build.py88def set_build_status(status: str) -> None:CODE
LOWci/deploy/npm.py29logger = logging.getLogger(__name__)CODE
LOWci/deploy/npm.py176def set_npm_credentials(package_path: Path) -> None:CODE
Modern AI Meta-Vocabulary6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMmisc/helm-charts/operator/values.yaml10# Operator configuration for orchestrating MaterializeCOMMENT
MEDIUMdoc/developer/design/20240609_error_handling.md372of errors. See [Guardrails](#guardrails) below for further discussion.CODE
MEDIUMsrc/mz-deploy/src/cli/commands/new_project.rs36/// `mz-deploy new <name>` — create a new directory and scaffold into it.COMMENT
MEDIUMsrc/mz-deploy/src/cli/commands/new_project.rs57/// `mz-deploy init` — scaffold the current directory as an mz-deploy project.COMMENT
MEDIUMsrc/mz-deploy/src/cli/commands/new_project.rs264/// Writes a scaffold file, leaving any file that already exists untouched.COMMENT
MEDIUMsrc/transform/src/analysis/equivalences.rs745 /// required additional guardrails to ensure we reach a fixed point.COMMENT
Redundant / Tautological Comments13 hits · 16 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/parallel_workload/action.py186 "unknown cluster 'dont_exist'", # Set intentionally to find panicsCODE
LOW…/python/materialize/mzcompose/services/foundationdb.py146 # Check if already configuredSTRING
LOWmisc/python/materialize/mzexplore/extract.py432 if print_results: # Print results if requested.STRING
LOWmisc/dbt-materialize/mzcompose.py99 # Set enable_create_table_from_source to trueSTRING
LOW…dbt/include/materialize/macros/deploy/deploy_await.sql64 {# Check if all clusters are ready #}CODE
LOWmisc/helm-charts/publish.sh69# Check if version already existsCOMMENT
LOWtest/terraform/mzcompose.py911 # Check if all pods are using the expected imageCOMMENT
LOWtest/orchestratord/mzcompose.py387 # Check if process is still runningCOMMENT
LOWtest/console/mzcompose.py176 # Check if it's a direct version string (starts with 'v')COMMENT
LOWci/test/cargo-test/mzcompose.py90 # Check if image exists locally before pullingCOMMENT
LOW.github/workflows/cla.yml22# Check if PR authors have signed the Materialize CLA, and if not have them signCOMMENT
LOW.github/workflows/update-generated-docs.yml49 # Check if there's already an open PR from this branchCOMMENT
LOWsrc/storage/src/upsert/types.rs454 /// ## Return valueCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHmisc/python/materialize/cargo.py27A Cargo crate. A crate directory must contain a `Cargo.toml` file with `package.name` and `package.version` keySTRING
HIGHmisc/python/materialize/cargo.py227Collects the transitive path dependencies of the requested crate. Note that only _path_ dependencies are collecSTRING
HIGHmisc/python/materialize/spawn.py95Capture the output of a subprocess. Args: args: A list of strings or paths describing the program to run anSTRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdoc/user/content/ingest-data/kafka/confluent-cloud.md97CREATE SECRET confluent_username AS '<your-api-key>';CODE
HIGHdoc/user/content/ingest-data/kafka/confluent-cloud.md161 CREATE SECRET confluent_username AS '<your-api-key>';CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/persist-cli/src/maelstrom.rs25/// Example usage:COMMENT
LOWsrc/aws-glue-schema-registry/src/lib.rs43//! ## Example usageCOMMENT
LOWsrc/ccsr/src/lib.rs19//! ## Example usageCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/tracing/src/lib.rs50 // TODO: implement Clone on `EnvFilter` upstreamCOMMENT
LOWsrc/ore/src/tracing.rs596 // TODO: implement `would_enable` on `EnvFilter` or equivalentCOMMENT