AI Slop Code RIsk Monitor

MaterializeInc/materialize

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

5.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for MaterializeInc/materialize, a Rust project with 6,378 GitHub stars. SynthScan examined 1,612,189 lines of code across 6359 source files, recording 6855 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 5.5 (Moderate pattern signal); it is not an authorship estimate.

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

5.5
Adjusted Signal
5.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.4K
Stars
Rust
Language
1.6M
Lines of Code
6.4K
Files
6.9K
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 17.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.8/100 · LOW

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

Agent Over-Engineering Ratio 7.9/100 · LOW

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

PR Review Velocity Impact 24.6/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 27HIGH 293MEDIUM 269LOW 6266

Directory Score Breakdown

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

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block4047 hits · 3999 pts
SeverityFileLineSnippetContext
LOWCargo.toml621# staging (and, in an emergency, also prod).COMMENT
LOWCargo.toml681rdkafka = { git = "https://github.com/MaterializeInc/rust-rdkafka.git" }COMMENT
LOWdeny.toml21 # One-time exception for base64 due to its prevalence in the crate graph.COMMENT
LOWdeny.toml81 # Used by launchdarkly-server-sdk-evaluation, prost-build, prost-derive andCOMMENT
LOWdeny.toml161 { name = "sha1", version = "0.10.6" },COMMENT
LOWpyproject.toml1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
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.py881 )COMMENT
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
LOWmisc/python/materialize/test_mz_version.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
LOW…hon/materialize/parallel_workload/parallel_workload.py221 read_action_list,COMMENT
LOW…hon/materialize/parallel_workload/parallel_workload.py441 print(f"{thread.name} still connecting")COMMENT
LOW…hon/materialize/parallel_workload/parallel_workload.py461 # takes: BackupRestoreAction sleeps up to 240s and then runs a CRDBCOMMENT
LOW…hon/materialize/parallel_workload/parallel_workload.py661 # "still depended upon by" is a RESTRICT drop rejecting a target withCOMMENT
LOW…hon/materialize/parallel_workload/parallel_workload.py721 # broken-action assertion must not fire on them:COMMENT
LOWmisc/python/materialize/parallel_workload/database.py1121# statement keeps losing the race for the write timestamp. That is aCOMMENT
LOWmisc/python/materialize/parallel_workload/database.py1861COMMENT
LOWmisc/python/materialize/parallel_workload/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/parallel_workload/action.py421 Scenario.Kill,COMMENT
LOWmisc/python/materialize/parallel_workload/action.py1061 "timeout: error trying to connect",COMMENT
LOWmisc/python/materialize/parallel_workload/action.py2281 # Sealing is transitive: a view reading from a REFRESH AT view sealsCOMMENT
LOWmisc/python/materialize/parallel_workload/action.py3501 # which the workload does not expect.COMMENT
LOWmisc/python/materialize/parallel_workload/action.py4121 # `mz_now()` is the timestamp the read itself ran at, and comparingCOMMENT
LOWmisc/python/materialize/parallel_workload/action.py4181 # ALTER back to the realized shape, Cancelled;COMMENT
LOWmisc/python/materialize/parallel_workload/action.py6581 # TODO: Reenable once altering a connection that sinks or sources dependCOMMENT
LOWmisc/python/materialize/parallel_workload/settings.py41# Scenarios that need durable state across restarts/promotions and therefore runCOMMENT
LOWmisc/python/materialize/parallel_workload/settings.py61 # 64 MiB, down from the 1 GiB default. A peek's result is materialized inCOMMENT
LOW…lize/parallel_workload/negative_accumulation_errors.py21# that may appear in an error surfaced to the client. When the underlyingCOMMENT
LOWmisc/python/materialize/parallel_workload/expression.py341# ]COMMENT
LOWmisc/python/materialize/cargo_bench/__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/__init__.py41 "mydata:/var/lib/mysql-files",COMMENT
LOWmisc/python/materialize/mzcompose/loader.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzcompose/composition.py1841 """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…n/materialize/checks/all_checks/builtin_version_pin.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…n/materialize/checks/all_checks/builtin_version_pin.py21# builtin table at VERSION 0. Once a later binary has converted that builtinCOMMENT
LOWmisc/python/materialize/checks/all_checks/subscribe.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/pg_cdc.py281@externally_idempotent(False)COMMENT
LOWmisc/python/materialize/checks/all_checks/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…erialize/checks/all_checks/read_then_write_frontier.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…lize/checks/all_checks/custom_type_resolution_bound.py61 # the new bound and aborts the process.COMMENT
LOWmisc/python/materialize/cli/ci_annotate_errors.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cli/run.py381 # and then kills `command`'s process group. This avoids leaking "grandchild"COMMENT
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
3987 more matches not shown…
Hyper-Verbose Identifiers1280 hits · 1160 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(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.py237 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
LOW⚡misc/python/materialize/docker.py180def release_version_to_image_tag(version: MzVersion) -> str:CODE
LOW⚡misc/python/materialize/docker.py184def is_image_tag_of_release_version(image_tag: str) -> bool:CODE
LOW⚡misc/python/materialize/docker.py192def get_version_from_image_tag(image_tag: str) -> str:CODE
LOW⚡misc/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.py67def run_and_detect_retryable_build_failure(CODE
LOWmisc/python/materialize/mzbuild.py262 def rewrite_builder_path_for_host(self, path: Path) -> Path:CODE
LOWmisc/python/materialize/mzbuild.py675 def generate_cargo_build_command(CODE
LOWmisc/python/materialize/mzbuild.py1243 def is_published_if_necessary(self) -> bool:CODE
LOWmisc/python/materialize/mzbuild.py1774 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.py81def is_pull_request_marker_set() -> bool:CODE
LOWmisc/python/materialize/buildkite.py92def get_pull_request_base_branch(fallback: str = "main"):CODE
LOWmisc/python/materialize/buildkite.py96def get_pipeline_default_branch(fallback: str = "main"):CODE
LOWmisc/python/materialize/buildkite.py189def _upload_shard_info_metadata(items: list[str]) -> None:CODE
LOWmisc/python/materialize/buildkite.py207def notify_qa_team_about_failure(failure: str) -> None:CODE
LOWmisc/python/materialize/buildkite.py254def _validate_parallelism_configuration() -> None:CODE
LOWmisc/python/materialize/buildkite.py324def get_job_url_from_build_url(build_url: str, build_job_id: str) -> str:CODE
LOWmisc/python/materialize/buildkite.py328def get_job_url_from_pipeline_and_build(CODE
LOWmisc/python/materialize/github.py124def get_known_issues_from_github(STRING
LOWmisc/python/materialize/test_mz_version.py26def test_docker_tag_round_trips(tag: str) -> None:CODE
LOWmisc/python/materialize/test_mz_version.py31def test_docker_tag_suffix_is_build_metadata(tag: str) -> None:CODE
LOWmisc/python/materialize/test_mz_version.py52def test_docker_tag_against_dev_gate(tag: str, meets_gate: bool) -> None:CODE
LOWmisc/python/materialize/test_mz_version.py57def test_release_sorts_above_its_prereleases() -> None:CODE
LOWmisc/python/materialize/test_mz_version.py75def test_drop_dev_suffix_ignores_build_metadata() -> None:CODE
LOWmisc/python/materialize/test_mz_version.py82def test_dev_version_with_hash() -> None:CODE
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.py112def keep_latest_patch_per_minor(versions: list[MzVersion]) -> list[MzVersion]:CODE
LOWmisc/python/materialize/version_list.py173def resolve_ancestor_image_tag(ancestor_overrides: dict[str, MzVersion]) -> str | None:CODE
LOWmisc/python/materialize/version_list.py199def _create_ancestor_image_resolution(CODE
LOWmisc/python/materialize/version_list.py208def _manual_ancestor_specification_to_image_tag(ancestor_spec: str) -> str:CODE
LOWmisc/python/materialize/version_list.py222 def _get_override_commit_instead_of_version(CODE
LOWmisc/python/materialize/version_list.py245 def _resolve_image_tag_of_previous_release(CODE
LOWmisc/python/materialize/version_list.py272 def _resolve_image_tag_of_previous_release_from_current(CODE
1220 more matches not shown…
Cross-Language Confusion127 hits · 826 pts
SeverityFileLineSnippetContext
HIGHmisc/python/materialize/scratch.py326 "npx -q -y skills add MaterializeInc/agent-skills -g -a claude-code --copy -y --skill mz-docs 2>/dev/null || truCODE
HIGHmisc/python/materialize/scratch.py334 "npx -q -y skills add MaterializeInc/agent-skills -g -a codex --copy -y --skill mz-docs 2>/dev/null || true",CODE
HIGH⚡misc/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
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py28 WITH cte AS (SELECT '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "nuCODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py31 '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "number_element":123.CODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py37 jsonb_col || '{"another_null": null}'::jsonb AS c8,CODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py47 WITH cte AS (SELECT '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "nuCODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py50 '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "number_element":123.CODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py56 jsonb_col || '{"another_null": null}'::jsonb AS c8,CODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py70 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py71 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py72 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py75 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGH⚡misc/python/materialize/checks/all_checks/jsonb_type.py76 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGH⚡misc/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
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py931 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py932 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py933 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py936 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py937 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py938 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py941 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py942 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py943 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py300 {"key1": "U2${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py303 {"key1": "D2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py306 {"key1": "U3${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py309 {"key1": "D3${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py371 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py374 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py377 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py537 {"key1": "U2${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py540 {"key1": "D2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py543 {"key1": "U3${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py546 {"key1": "D3${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGH⚡misc/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
HIGH⚡misc/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
HIGH⚡misc/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
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py634 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGH⚡misc/python/materialize/checks/all_checks/kafka_sink.py637 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGH⚡misc/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…ython/materialize/checks/all_checks/table_functions.py159 (1, '{"arr": [1, 2], "obj": {"a": 1, "n": null}}')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
HIGH…consistency/input_data/values/jsonb_values_provider.py39JSONB_DATA_TYPE_WITH_VALUES.add_raw_value("""'{"a": 1,"b": null}'""", "VAL_1C", set())CODE
67 more matches not shown…
Empty Error Handlers119 hits · 595 pts
SeverityFileLineSnippetContext
HIGHmisc/python/materialize/cargo.py93except KeyError:CODE
HIGHmisc/python/materialize/cargo.py188except KeyError:CODE
HIGHmisc/python/materialize/scratch.py537except ClientError:CODE
HIGHmisc/python/materialize/parallel_workload/action.py4861except:CODE
HIGHmisc/python/materialize/parallel_workload/action.py4865except:CODE
HIGHmisc/python/materialize/parallel_workload/action.py1835except ValueError:CODE
HIGHmisc/python/materialize/parallel_workload/action.py2128except QueryError:CODE
HIGHmisc/python/materialize/parallel_workload/action.py3731except ValueError:CODE
HIGHmisc/python/materialize/parallel_workload/action.py4856except:CODE
HIGHmisc/python/materialize/parallel_workload/action.py4976except QueryError:CODE
HIGHmisc/python/materialize/parallel_workload/action.py192except Exception:CODE
HIGHmisc/python/materialize/parallel_workload/action.py2869except QueryError:CODE
HIGHmisc/python/materialize/parallel_workload/action.py5472except QueryError:CODE
HIGHmisc/python/materialize/parallel_workload/action.py5574except QueryError:CODE
HIGHmisc/python/materialize/parallel_workload/action.py5680except QueryError:CODE
HIGHmisc/python/materialize/parallel_workload/executor.py296except psycopg.DataError:CODE
HIGHmisc/python/materialize/workload_replay/replay.py53except Exception:CODE
HIGHmisc/python/materialize/workload_replay/replay.py146except psycopg.errors.QueryCanceled:CODE
HIGHmisc/python/materialize/workload_replay/executor.py419except:CODE
HIGHmisc/python/materialize/workload_replay/executor.py385except:CODE
HIGHmisc/python/materialize/data_ingest/executor.py377except Exception:CODE
HIGHmisc/python/materialize/mzcompose/composition.py1052except Exception:CODE
HIGHmisc/python/materialize/mzcompose/composition.py1793except:CODE
HIGHmisc/python/materialize/mzcompose/composition.py1038except OSError:CODE
HIGHmisc/python/materialize/mzcompose/composition.py1385except Exception:CODE
HIGHmisc/python/materialize/cli/run.py402except ProcessLookupError:CODE
HIGHmisc/python/materialize/cli/orchestratord.py185except subprocess.CalledProcessError:CODE
HIGHmisc/python/materialize/cli/orchestratord.py250except subprocess.CalledProcessError:CODE
HIGHmisc/python/materialize/cli/mzcompose.py215except ValueError:CODE
HIGHmisc/python/materialize/cli/gen-lints.py289except:CODE
HIGHmisc/python/materialize/cli/scratch/claude.py104except ValueError:CODE
HIGHmisc/python/materialize/cli/scratch/__init__.py70except ValueError:CODE
HIGHmisc/python/materialize/cli/scratch/go.py90except RuntimeError:CODE
HIGHmisc/python/materialize/benches/avro_ingest.py168except ProgrammingError:CODE
HIGH…thon/materialize/cloudtest/k8s/api/k8s_cluster_role.py34except ApiException:CODE
HIGH…thon/materialize/cloudtest/k8s/api/k8s_role_binding.py37except ApiException:CODE
HIGH…python/materialize/cloudtest/k8s/api/k8s_config_map.py33except ApiException:CODE
HIGHmisc/python/materialize/cloudtest/k8s/api/k8s_secret.py37except ApiException:CODE
HIGH…/python/materialize/cloudtest/k8s/api/k8s_configmap.py33except ApiException:CODE
HIGHmisc/python/materialize/mzexplore/common.py120except KeyError:CODE
HIGHmisc/python/materialize/mzexplore/common.py128except ValueError:CODE
HIGHmisc/mcp-materialize/mcp_materialize/mz_client.py98except (TimeoutError, asyncio.CancelledError):CODE
HIGHmisc/dbt-materialize/tests/adapter/test_deploy.py1526except psycopg2.Error:CODE
HIGHtest/cluster-spec-sheet/mzcompose.py3663except Exception:CODE
HIGHtest/cluster-spec-sheet/mzcompose.py3835except Exception:CODE
HIGHtest/terraform/mzcompose.py185except subprocess.CalledProcessError:CODE
HIGHtest/terraform/mzcompose.py259except:CODE
HIGHtest/terraform/mzcompose.py1549except subprocess.CalledProcessError:CODE
HIGHtest/terraform/mzcompose.py1689except subprocess.CalledProcessError:CODE
HIGHtest/terraform/mzcompose.py1937except subprocess.CalledProcessError:CODE
HIGHtest/cluster/mzcompose.py5172except DivisionByZero:CODE
HIGHtest/cluster/mzcompose.py4575except DatabaseError:CODE
HIGHtest/cluster/mzcompose.py4584except DatabaseError:CODE
HIGHtest/cluster/mzcompose.py6078except DatabaseError:CODE
HIGHtest/orchestratord/mzcompose.py303except:CODE
HIGHtest/orchestratord/mzcompose.py307except:CODE
HIGHtest/orchestratord/mzcompose.py393except:CODE
HIGHtest/orchestratord/mzcompose.py4955except StopIteration:CODE
HIGHtest/orchestratord/mzcompose.py5260except subprocess.CalledProcessError:CODE
HIGHtest/orchestratord/mzcompose.py488except:CODE
59 more matches not shown…
Decorative Section Separators141 hits · 513 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.py142# -----------------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
MEDIUM⚡misc/dbt-materialize/tests/adapter/test_strict_mode.py472# =============================================================================COMMENT
MEDIUM⚡misc/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.py274 # ── 1. Initial apply ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py334 # ── 2. Idempotent re-apply ────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py371 # ── 3. Incremental apply: add table ───────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py423 # ── 4. Modify connection ──────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py440 # ── 5. Grant changes ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py457 # ── 6. Run unit tests ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py488 # ── 7. Stage ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py513 # ── 8. Wait ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py519 # ── 9. Promote ───────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py564 # ── 10. Log ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py570 # ── 11-12. Stage v2 ───────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py587 # ── 13. Abort v2 ─────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py601 # ── 14. Re-stage v2 + promote ─────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py642 # ── 15-16. Stage v3 ───────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py655 # ── 17. Abort v3 ─────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py669 # ── 18. Re-stage v3 + promote ─────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py716 # ── 1. Apply default profile ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py810 # ── 3. Apply staging profile ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py926 # ── 5. Idempotent re-apply for both profiles ──────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1449 # ── Happy path: lock with system-schema deps ──────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1469 # ── Stage path: a project that reads a system catalog must deploy ─────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1490 # ── Negative case: 2-part non-system dep is rejected ──────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2079 # ── 1. Initial baseline apply ────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2211 # ── 1. Apply infrastructure ──────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2226 # ── 2. Stage v1: sink is deferred ────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2254 # ── 3. Promote v1: deferred sink is created ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2291 # ── 4. Stage v2 (MV definition changed) ──────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2302 # ── 5. Promote v2: sink is repointed, not recreated ──────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2402 # ── 2. Stage v2: only the stable MV changed ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2427 # ── 3. Promote v2: APPLY REPLACEMENT, no swap, no repoint ────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2491 # ── 1. Baseline: deploy v1 so subsequent stages diff against it ──────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2507 # ── 2. Stage both deployments side by side ───────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2542 # ── 3. Promote ca, then cb — no conflicts, no --force ────────────COMMENT
MEDIUMsrc/mz-deploy/src/cli/executor.rs21//! ┌──────────────────┼───────────────────┐COMMENT
MEDIUM⚡src/mz-deploy/src/client/deployment_ops.rs21//! ┌──────────┐ all objects hydrated ┌───────┐COMMENT
MEDIUM⚡src/mz-deploy/src/client/deployment_ops.rs22//! │ Hydrating │ ────────────────────────▶ │ Ready │COMMENT
MEDIUM⚡src/mz-deploy/src/client/deployment_ops.rs23//! └──────────┘ & lag ≤ threshold └───────┘COMMENT
MEDIUM⚡src/mz-deploy/src/client/deployment_ops.rs25//! │ lag > threshold ┌─────────┐COMMENT
MEDIUM⚡src/mz-deploy/src/client/deployment_ops.rs26//! └────────────────────────────────▶ │ Lagging │COMMENT
MEDIUM⚡src/mz-deploy/src/client/deployment_ops.rs27//! └─────────┘COMMENT
MEDIUM⚡src/mz-deploy/src/client/deployment_ops.rs30//! ┌─────────┐COMMENT
MEDIUM⚡src/mz-deploy/src/client/deployment_ops.rs32//! └─────────┘COMMENT
MEDIUMsrc/catalog/src/builtin/ontology.rs213// ── View builders ────────────────────────────────────────────COMMENT
81 more matches not shown…
Hallucination Indicators27 hits · 290 pts
SeverityFileLineSnippetContext
CRITICALmisc/python/materialize/mzbuild.py1092 profile = self.image.rd.profile.name.lower()CODE
CRITICALsrc/row-spine/src/lib.rs288 from_chunks.0.storage.keys.has_codec() && from_chunks.0.storage.vals.vals.has_codec(),CODE
CRITICALsrc/persist-client/src/cache.rs424 self.metrics.pubsub_client.receiver.diff_applied.inc();CODE
CRITICALsrc/persist-client/src/read.rs1734 subscribe.listen.handle.machine.applier.seqno_since(),CODE
CRITICALsrc/persist-client/src/read.rs1741 let mut seqno_since = subscribe.listen.handle.machine.applier.seqno_since();CODE
CRITICALsrc/persist-client/src/read.rs1796 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.rs708 self.metrics.pubsub_client.sender.push.succeeded.inc();CODE
CRITICAL⚡src/persist-client/src/internal/encoding.rs964 applier_version: self.state.state.collections.version.to_string(),CODE
CRITICAL⚡src/persist-client/src/internal/encoding.rs973 last_gc_req: self.state.state.collections.last_gc_req.into_proto(),CODE
CRITICAL⚡src/persist-client/src/internal/encoding.rs974 active_rollup: self.state.state.collections.active_rollup.into_proto(),CODE
CRITICAL⚡src/persist-client/src/internal/encoding.rs975 active_gc: self.state.state.collections.active_gc.into_proto(),CODE
CRITICALsrc/persist-client/src/internal/encoding.rs1017 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.rs3314 self.metrics.blob.set.bytes.inc_by(u64::cast_from(bytes));CODE
CRITICALsrc/persist-client/src/internal/metrics.rs3329 self.metrics.blob.delete.bytes.inc_by(u64::cast_from(bytes));CODE
CRITICALsrc/persist-client/src/internal/machine.rs565 self.applier.metrics.cmds.compare_and_append_noop.inc();CODE
CRITICALsrc/persist-client/src/internal/machine.rs934 Wake::Watch(_) => self.applier.metrics.watch.wait_woken_via_watch.inc(),CODE
CRITICALsrc/persist-client/src/internal/machine.rs936 self.applier.metrics.watch.wait_woken_via_sleep.inc();CODE
CRITICALsrc/persist-client/src/internal/machine.rs951 Wake::Watch(_) => self.applier.metrics.watch.wait_resolved_via_watch.inc(),CODE
CRITICALsrc/persist-client/src/internal/machine.rs952 Wake::Sleep(_) => self.applier.metrics.watch.wait_resolved_via_sleep.inc(),CODE
CRITICALsrc/persist-client/src/cli/admin.rs752 machine.applier.metrics.compaction.requested.inc();CODE
CRITICALsrc/persist-client/src/cli/admin.rs767 machine.applier.metrics.compaction.admin_count.inc();CODE
Structural Annotation Overuse198 hits · 260 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
LOW⚡test/orchestratord/mzcompose.py3330 # Step 5: Server-side apply a partial v1 manifest that does not containCOMMENT
LOWtest/orchestratord/mzcompose.py3064 # Step 1: Deploy with v1, complete initial rollout.COMMENT
LOWtest/orchestratord/mzcompose.py3081 # Step 2: Re-apply the same spec at v1 (no changes).COMMENT
LOWtest/orchestratord/mzcompose.py3100 # Step 3: Apply at v1 with a spec change (extra env var).COMMENT
LOWtest/orchestratord/mzcompose.py3232 # Step 1: Deploy at v1alpha1 with client-side apply and complete theCOMMENT
LOWtest/orchestratord/mzcompose.py3264 # Step 2: Server-side apply the same spec at v1. Reconciling theCOMMENT
LOWtest/orchestratord/mzcompose.py3295 # Step 3: Server-side re-apply the unchanged v1 spec (the routine GitOpsCOMMENT
LOWtest/orchestratord/mzcompose.py3306 # Step 4: Server-side apply a partial v1 manifest under a dedicated fieldCOMMENT
LOW⚡test/cloudtest/test_privatelink_connection.py290 # Step 1: Deploy a single Toxiproxy instanceSTRING
138 more matches not shown…
Deep Nesting251 hits · 222 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/cargo.py56CODE
LOWmisc/python/materialize/cargo.py160CODE
LOWmisc/python/materialize/cargo.py191CODE
LOWmisc/python/materialize/cargo.py214CODE
LOWmisc/python/materialize/scratch.py275CODE
LOWmisc/python/materialize/docker.py89CODE
LOWmisc/python/materialize/docker.py203CODE
LOWmisc/python/materialize/mzbuild.py67CODE
LOWmisc/python/materialize/mzbuild.py291CODE
LOWmisc/python/materialize/mzbuild.py372CODE
LOWmisc/python/materialize/mzbuild.py819CODE
LOWmisc/python/materialize/mzbuild.py955CODE
LOWmisc/python/materialize/mzbuild.py1209CODE
LOWmisc/python/materialize/mzbuild.py1431CODE
LOWmisc/python/materialize/mzbuild.py1579CODE
LOWmisc/python/materialize/sqlancer.py121CODE
LOWmisc/python/materialize/sqlancer.py180CODE
LOWmisc/python/materialize/buildkite.py126CODE
LOWmisc/python/materialize/version_list.py620CODE
LOWmisc/python/materialize/parallel_workload/worker.py163CODE
LOW…hon/materialize/parallel_workload/parallel_workload.py94CODE
LOWmisc/python/materialize/parallel_workload/action.py123CODE
LOWmisc/python/materialize/parallel_workload/action.py163CODE
LOWmisc/python/materialize/parallel_workload/action.py528CODE
LOWmisc/python/materialize/parallel_workload/action.py1124CODE
LOWmisc/python/materialize/parallel_workload/action.py1269CODE
LOWmisc/python/materialize/parallel_workload/action.py1326CODE
LOWmisc/python/materialize/parallel_workload/action.py1575CODE
LOWmisc/python/materialize/parallel_workload/action.py2412CODE
LOWmisc/python/materialize/parallel_workload/action.py2624CODE
LOWmisc/python/materialize/parallel_workload/action.py3638CODE
LOWmisc/python/materialize/parallel_workload/action.py3920CODE
LOWmisc/python/materialize/parallel_workload/action.py4550CODE
LOWmisc/python/materialize/parallel_workload/action.py4818CODE
LOWmisc/python/materialize/parallel_workload/action.py5430CODE
LOWmisc/python/materialize/parallel_workload/action.py5530CODE
LOWmisc/python/materialize/parallel_workload/action.py5636CODE
LOWmisc/python/materialize/parallel_workload/action.py634CODE
LOWmisc/python/materialize/parallel_workload/expression.py363CODE
LOWmisc/python/materialize/parallel_workload/executor.py143CODE
LOWmisc/python/materialize/parallel_workload/executor.py195CODE
LOWmisc/python/materialize/parallel_workload/executor.py216CODE
LOWmisc/python/materialize/parallel_workload/executor.py232CODE
LOWmisc/python/materialize/workload_replay/ingest.py401CODE
LOWmisc/python/materialize/workload_replay/replay.py73CODE
LOWmisc/python/materialize/workload_replay/replay.py193CODE
LOWmisc/python/materialize/workload_replay/objects.py44CODE
LOWmisc/python/materialize/workload_replay/objects.py577CODE
LOWmisc/python/materialize/workload_replay/data.py59CODE
LOWmisc/python/materialize/workload_replay/data.py105CODE
LOWmisc/python/materialize/workload_replay/data.py271CODE
LOWmisc/python/materialize/workload_replay/data.py330CODE
LOWmisc/python/materialize/workload_replay/data.py489CODE
LOWmisc/python/materialize/workload_replay/data.py517CODE
LOWmisc/python/materialize/workload_replay/data.py615CODE
LOWmisc/python/materialize/workload_replay/data.py700CODE
LOWmisc/python/materialize/workload_replay/column.py60CODE
LOWmisc/python/materialize/workload_replay/column.py123CODE
LOWmisc/python/materialize/workload_replay/column.py150CODE
LOWmisc/python/materialize/workload_replay/column.py282CODE
191 more matches not shown…
Self-Referential Comments81 hits · 188 pts
SeverityFileLineSnippetContext
MEDIUMmisc/python/materialize/mzbuild.py72 """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.py269 # Create a dedicated database for Polaris so its internal tables don'tCOMMENT
MEDIUMmisc/python/materialize/checks/all_checks/pg_cdc.py102 # 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.py63 # Create the release page in the docs for the next version after the oneCOMMENT
MEDIUMmisc/python/materialize/parallel_benchmark/scenarios.py510 # 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.py1610 # Create a fresh source table and sink for each run.STRING
MEDIUM⚡misc/dbt-materialize/mzcompose.py93 # Create a topic that some tests rely onCOMMENT
MEDIUMmisc/dbt-materialize/tests/adapter/test_ci.py75 # Create the cluster for the first timeCOMMENT
MEDIUMmisc/dbt-materialize/tests/adapter/test_ci.py140 # Create a cluster and add an object to itCOMMENT
MEDIUMtest/cluster-spec-sheet/mzcompose.py3625 # Create a temporary override of the materialized service with updated CPU limits.COMMENT
MEDIUMtest/terraform/aws-upgrade/main.tf141# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-upgrade/main.tf176# Create a dedicated nodeclass and nodepool for Materialize podsCOMMENT
MEDIUMtest/terraform/aws-persistent/main.tf141# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-persistent/main.tf176# Create a dedicated nodeclass and nodepool for Materialize podsCOMMENT
MEDIUMtest/terraform/aws-temporary/main.tf141# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-temporary/main.tf176# 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.py169 # Create a cluster and verify that tests pass.COMMENT
MEDIUMtest/cluster/mzcompose.py3534 # Create a cluster and wait for it to come up.COMMENT
MEDIUMtest/cluster/mzcompose.py3699 # Create a managed cluster with a custom replica name.COMMENT
MEDIUMtest/cluster/mzcompose.py4135 # Create an MV reading from an index. Make sure it doesn't produce itsCOMMENT
MEDIUMtest/cluster/mzcompose.py3621 # Create a managed cluster and wait for it to come up.STRING
MEDIUMtest/cluster/mzcompose.py5868 # Create a REFRESH MV and wait for it to refresh once, then take downSTRING
MEDIUMtest/cluster/mzcompose.py5943 # Create an unmanaged cluster that isn't restarted together with materialized,STRING
MEDIUMtest/cluster/mzcompose.py7316 # Create a pause-able cluster, with indexes with different kinds of inputs.STRING
MEDIUMtest/cluster/mzcompose.py7737 # Create a postgres source and wait until it's caught up.STRING
MEDIUMtest/cluster/mzcompose.py7964 # Create a replacement. It's as-of will be derived from mv2's since.STRING
MEDIUMtest/cluster/mzcompose.py7998 # Create a materialized view and a replacement.STRING
MEDIUMtest/cluster/mzcompose.py8054 # Create a materialized view and a replacement.STRING
MEDIUMtest/cluster/mzcompose.py8304 # Create a cluster with an optimizer feature override, to test thatSTRING
MEDIUMtest/cluster/mzcompose.py8421 # Create a materialized view to generate compute activity.STRING
MEDIUMtest/orchestratord/mzcompose.py1291 # Create a configmap with system parametersCOMMENT
MEDIUMtest/orchestratord/mzcompose.py2291 # Create the secret with ca.crt, tls.crt, and tls.keyCOMMENT
MEDIUMtest/sql-server-cdc/mzcompose.py345 # Create a concurrent workload with 2 variaties of updatesSTRING
MEDIUMtest/launchdarkly/mzcompose.py112 # Create a LaunchDarkly client that simulates somebody interactingCOMMENT
MEDIUMtest/launchdarkly/mzcompose.py131 # 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/mz-deploy/mzcompose.py2620 # Creating the cluster from the definition file carries the policy.COMMENT
MEDIUMtest/restart/mzcompose.py404 # Creating a new replica of the disabled size is rejected.COMMENT
MEDIUMtest/restart/mzcompose.py1074 # Create a schema with a custom type, then exercise every object kind thatCOMMENT
MEDIUMtest/restart/mzcompose.py797 # Create a replica and wait for metrics data to arrive.STRING
MEDIUMtest/lang/python/smoketest.py129 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py174 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py227 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py288 # 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
MEDIUM⚡test/aws-localstack/mzcompose.py131 # Create an orphaned secret that should get deleted when starting environmentd.COMMENT
MEDIUM⚡test/aws-localstack/mzcompose.py139 # Create an orphaned secret without the correct tags, so it should be ignored.COMMENT
MEDIUM⚡test/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
21 more matches not shown…
Excessive Try-Catch Wrapping174 hits · 178 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.py360 print(f"Error checking Docker image: {e}")CODE
MEDIUMmisc/python/materialize/mzbuild.py421 print(f"Error checking Docker image: {e}")CODE
MEDIUMmisc/python/materialize/mzbuild.py446 print(f"Error requesting {url}: {e}")CODE
LOWmisc/python/materialize/mzbuild.py359 except Exception as e:CODE
LOWmisc/python/materialize/mzbuild.py420 except Exception as e:CODE
LOWmisc/python/materialize/mzbuild.py1460 except Exception:CODE
LOWmisc/python/materialize/mzbuild.py1526 except Exception:CODE
LOWmisc/python/materialize/sqlancer.py128 except Exception:CODE
LOWmisc/python/materialize/parallel_workload/worker.py113 except Exception:CODE
LOWmisc/python/materialize/parallel_workload/worker.py198 except Exception as e:CODE
LOW…hon/materialize/parallel_workload/parallel_workload.py516 except Exception as e:CODE
LOW…hon/materialize/parallel_workload/parallel_workload.py545 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py192 except Exception:CODE
LOWmisc/python/materialize/parallel_workload/action.py1554 except Exception:CODE
LOWmisc/python/materialize/parallel_workload/action.py3594 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py4885 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py4927 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py4937 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py134 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py148 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py209 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py225 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/executor.py288 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/replay.py53 except Exception:CODE
LOWmisc/python/materialize/workload_replay/replay.py180 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/replay.py266 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/data.py564 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/data.py651 except Exception as e:CODE
LOWmisc/python/materialize/workload_replay/data.py739 except Exception as e:CODE
LOWmisc/python/materialize/data_ingest/workload.py361 except Exception as e:CODE
LOWmisc/python/materialize/data_ingest/executor.py129 except Exception as e:CODE
LOWmisc/python/materialize/data_ingest/executor.py146 except Exception as e:CODE
LOWmisc/python/materialize/data_ingest/executor.py377 except Exception:CODE
LOWmisc/python/materialize/mzcompose/__init__.py1054 except Exception as e:CODE
LOWmisc/python/materialize/mzcompose/composition.py736 except Exception as e:CODE
LOWmisc/python/materialize/mzcompose/composition.py1052 except Exception:CODE
LOWmisc/python/materialize/mzcompose/composition.py1385 except Exception:CODE
LOWmisc/python/materialize/mzcompose/composition.py1944 except Exception as e:CODE
LOWmisc/python/materialize/mzcompose/composition.py1964 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.py481 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py834 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py1056 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py1064 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
114 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
Verbosity Indicators111 hits · 129 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
LOW⚡test/orchestratord/mzcompose.py3330 # Step 5: Server-side apply a partial v1 manifest that does not containCOMMENT
LOWtest/orchestratord/mzcompose.py3064 # Step 1: Deploy with v1, complete initial rollout.COMMENT
LOWtest/orchestratord/mzcompose.py3081 # Step 2: Re-apply the same spec at v1 (no changes).COMMENT
LOWtest/orchestratord/mzcompose.py3100 # Step 3: Apply at v1 with a spec change (extra env var).COMMENT
LOWtest/orchestratord/mzcompose.py3232 # Step 1: Deploy at v1alpha1 with client-side apply and complete theCOMMENT
LOWtest/orchestratord/mzcompose.py3264 # Step 2: Server-side apply the same spec at v1. Reconciling theCOMMENT
LOWtest/orchestratord/mzcompose.py3295 # Step 3: Server-side re-apply the unchanged v1 spec (the routine GitOpsCOMMENT
LOWtest/orchestratord/mzcompose.py3306 # Step 4: Server-side apply a partial v1 manifest under a dedicated fieldCOMMENT
LOW⚡test/cloudtest/test_privatelink_connection.py290 # Step 1: Deploy a single Toxiproxy instanceSTRING
51 more matches not shown…
Unused Imports96 hits · 94 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.py120CODE
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.py21CODE
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 Vocabulary29 hits · 74 pts
SeverityFileLineSnippetContext
MEDIUM…hon/materialize/parallel_workload/parallel_workload.py867 # Mirror the mzcompose harness's scenario-to-backend mapping so thatCOMMENT
MEDIUMmisc/python/materialize/parallel_workload/database.py1244 # harness guarantees: the workload creates and drops its own clusters,COMMENT
MEDIUMmisc/python/materialize/mzcompose/__init__.py83 """Settings we need in order to have tests run at all, but otherwise staySTRING
MEDIUM⚡misc/dbt-materialize/mzcompose.py105 # Give the test harness permission to modify the built-inSTRING
MEDIUMtest/cluster/mzcompose.py5205 # its own. It pins the harness, since rows lost here would mean theCOMMENT
MEDIUMtest/cluster/mzcompose.py7825 # robust to the source exposing extra, transient readers as it restartsSTRING
MEDIUMtest/parallel-benchmark/mzcompose.py545 # harness time, and a scenario with a qps guarantee has lessCOMMENT
LOWci/test/cargo-test/mzcompose.py271 # resolves `cargo` through the `PATH` it just set, which is what puts theCOMMENT
LOWci/test/cargo-test/mzcompose.py292 # 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.yml422 Indicates a point that will become an [arrangement](/fundamentals/concepts/arrangements/#arrangements) in the dataCODE
MEDIUMsrc/mz/src/bin/mz/upgrader.rs43/// and ensure a seamless experience.COMMENT
MEDIUMsrc/metrics-catalog/src/main.rs900 /// 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.rs165 /// only need the "single known value" case: it's robust against futureCOMMENT
MEDIUMsrc/orchestrator-process/src/lib.rs1074 // anything more robust given the Unix APIs available to us, and theCOMMENT
MEDIUMsrc/compute/src/render/top_k.rs440 /// To provide a robust incremental orderby-limit experience, we want to avoid grouping *all*COMMENT
MEDIUMsrc/compute/src/render/top_k.rs442 /// 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.rs1587 /// 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.rs3669 /// 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.rs866 // 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.rs3649 /// The maximum allowed result size, as requested by the client.COMMENT
HIGHsrc/orchestrator-process/src/lib.rs615 // The service might already exist. If it has the same config as requested (currently weCOMMENT
HIGHsrc/storage/src/render/sinks.rs50/// 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.rs1148 // All other commands we apply as requested.COMMENT
HIGHsrc/pgwire/src/protocol.rs1832 // them to the user as requested. Its command tag is always FETCH <num rowsCOMMENT
HIGHsrc/pgwire/src/protocol.rs1996 // return those as requested (if, say, an Execute message was sent with aCOMMENT
Fake / Example Data41 hits · 42 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.py349 dummy_id = snap_id + 10_000_000 + stats["modifications"]CODE
LOWtest/iceberg/mzcompose.py351 "snapshot-id": dummy_id,CODE
LOWtest/iceberg/mzcompose.py375 "snapshot-id": dummy_id,CODE
LOW…content/security/patterns/protect-sensitive-columns.md118GRANT admin TO "admin@example.com";CODE
LOW⚡doc/user/content/serve-results/connection-pooling.md32"user@example.com" "mypassword-or-scram-secret"CODE
LOWdoc/user/content/serve-results/connection-pooling.md44"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
LOWconsole/src/components/connect/connectOptions.test.ts46 user: "user@example.com",CODE
LOWconsole/src/components/connect/connectOptions.test.ts298 expect(buildBase64TokenCommand("user@example.com")).toEqual(CODE
LOWconsole/src/components/connect/connectOptions.test.ts304 expect(buildBase64TokenCommand("user@example.com", "<id-token>")).toEqual(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.py3631 # 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.rs2421 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller.rs526 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller.rs1388 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller/instance.rs871 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller/instance.rs3224 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/storage-controller/src/lib.rs2686 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/controller/src/lib.rs283 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
MEDIUMsrc/environmentd/tests/sql.rs1490// Feel free to modify this test if that product requirement changes,COMMENT
LOWsrc/persist-client/src/internal/compact.rs1126 // intentionally deconstruct so we don't forget to consider each fieldCOMMENT
LOWsrc/persist-client/src/internal/state.rs2071 // Don't forget to update the downgrade_since when this getsCOMMENT
LOWsrc/persist-client/src/internal/state.rs2104 // Don't forget to update the downgrade_since when this getsCOMMENT
LOWsrc/sql/src/session/vars/definitions.rs2449 // then assigning them to their respective system vars, to ensure we don't forget to updateCOMMENT
Modern Structural Boilerplate22 hits · 22 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/util.py176 def _set_linger(conn: psycopg.Connection) -> None:CODE
LOWmisc/python/materialize/ui.py174 def set_hint(self, hint: str) -> None:CODE
LOWmisc/python/materialize/parallel_workload/database.py1899 def update_sqlsmith_state(self, composition: Composition) -> None:CODE
LOWmisc/python/materialize/parallel_workload/action.py3606 def set_cluster_compression(self, conn: Connection, cluster: Cluster) -> None:CODE
LOWmisc/python/materialize/parallel_workload/column.py27def set_naughty_identifiers(value: bool) -> None:CODE
LOWmisc/python/materialize/parallel_workload/executor.py101 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.py73 def set_read_only(self) -> None:CODE
LOW…e/test_analytics/connector/test_analytics_connector.py125 def set_read_only(self) -> None:CODE
LOW…e/test_analytics/connector/test_analytics_connector.py221 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.py172 def set_environmentd_failpoints(self, failpoints: str) -> None:CODE
LOWmisc/python/materialize/cloudtest/k8s/toxiproxy.py166 def set_proxy_enabled(self, name: str, upstream: str, enabled: bool) -> None:CODE
LOWtest/canary-load/mzcompose.py378def update_data(c: Composition, i: int) -> None:STRING
LOWci/mkpipeline.py790def set_retry_on_agent_lost(pipeline: Any) -> None:CODE
LOWci/mkpipeline.py811def set_default_agents_queue(pipeline: Any) -> None:CODE
LOWci/mkpipeline.py823def set_parallelism_name(pipeline: Any) -> 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-Vocabulary7 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMzizmor.yml21 # Concurrency groups would cancel or queue independent runs of event-drivenCOMMENT
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
AI Structural Patterns22 hits · 20 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/redpanda_cloud.py24CODE
LOWmisc/python/materialize/parallel_workload/action.py4434CODE
LOWmisc/python/materialize/mzcompose/composition.py361CODE
LOWmisc/python/materialize/mzcompose/composition.py785CODE
LOWmisc/python/materialize/mzcompose/composition.py819CODE
LOWmisc/python/materialize/mzcompose/composition.py895CODE
LOWmisc/python/materialize/mzcompose/composition.py1086CODE
LOWmisc/python/materialize/mzcompose/services/balancerd.py20CODE
LOWmisc/python/materialize/mzcompose/services/clusterd.py26CODE
LOW…/python/materialize/mzcompose/services/materialized.py85CODE
LOWmisc/python/materialize/mzcompose/services/testdrive.py51CODE
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.py172CODE
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.py240Collects 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
Redundant / Tautological Comments12 hits · 14 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/parallel_workload/action.py336 "unknown cluster 'dont_exist'", # Set intentionally to find panicsCODE
LOWmisc/python/materialize/mzexplore/extract.py432 if print_results: # Print results if requested.STRING
LOW⚡misc/dbt-materialize/mzcompose.py99 # Set enable_create_table_from_source to trueSTRING
LOW…dbt/include/materialize/macros/deploy/deploy_await.sql57 {# Check if all clusters are ready #}CODE
LOWmisc/helm-charts/publish.sh106# Check if version already existsCOMMENT
LOWtest/terraform/mzcompose.py1077 # Check if all pods are using the expected imageCOMMENT
LOWtest/orchestratord/mzcompose.py463 # 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.py80 # 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.yml51 # Check if there's already an open PR from this branchCOMMENT
LOWsrc/storage/src/upsert/types.rs454 /// ## Return valueCOMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdoc/user/content/ingest-data/kafka/confluent-cloud.md94CREATE SECRET confluent_username AS '<your-api-key>';CODE
HIGHdoc/user/content/ingest-data/kafka/confluent-cloud.md158 CREATE SECRET confluent_username AS '<your-api-key>';CODE
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWdoc/user/data/cluster_details.yml4# Usage:COMMENT
LOWdoc/user/data/hydration-details.yml4# Usage:COMMENT
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.rs592 // TODO: implement `would_enable` on `EnvFilter` or equivalentCOMMENT