Repository Analysis

MaterializeInc/materialize

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

5.2 Low AI signal View on GitHub

Analysis Overview

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

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

5.2
Adjusted Score
5.2
Raw Score
100%
Time Factor
2026-08-29
Last Push
6.4K
Stars
Rust
Language
1.5M
Lines of Code
6.2K
Files
6.5K
Pattern Hits
2026-08-29
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 25HIGH 176MEDIUM 268LOW 6015

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block3899 hits · 3858 pts
SeverityFileLineSnippetContext
LOWCargo.toml601lto = "thin"COMMENT
LOWCargo.toml661# Need to upstream a few PRs related to test builders.COMMENT
LOWdeny.toml21 # One-time exception for base64 due to its prevalence in the crate graph.COMMENT
LOWdeny.toml301 # `http-types`'s `Authorization::value`/`WwwAuthenticate::value` can violateCOMMENT
LOWmisc/lint/copyright.py1#!/usr/bin/env python3COMMENT
LOWmisc/lint/trailing-newline.py1#!/usr/bin/env python3COMMENT
LOWmisc/lint/test-attribute.py1#!/usr/bin/env python3COMMENT
LOWmisc/python/materialize/sqlsmith.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/rustc_flags.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/deb.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzbuild.py881 # parse the package name from a package_id that looks like one of: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
LOW…thon/materialize/parallel_workload/worker_exception.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…hon/materialize/parallel_workload/parallel_workload.py441 alive = [(w, t) for w, t in zip(workers, threads) if t.is_alive()]COMMENT
LOW…hon/materialize/parallel_workload/parallel_workload.py461 #COMMENT
LOW…hon/materialize/parallel_workload/parallel_workload.py661 # SQL or preconditions are broken. "must be owner of" and "permissionCOMMENT
LOW…hon/materialize/parallel_workload/parallel_workload.py721 }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 def run(self, exe: Executor) -> bool:COMMENT
LOWmisc/python/materialize/parallel_workload/action.py4041 #COMMENT
LOWmisc/python/materialize/parallel_workload/action.py4101 # `reshape_alter_cluster_managed` writes InProgress or, for anCOMMENT
LOWmisc/python/materialize/parallel_workload/action.py6501 (AlterOwnerAction, 2),COMMENT
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/workload_replay/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/data_ingest/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzcompose/loader.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzcompose/helpers/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/mzcompose/services/clusterd.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/checks/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/checks/features.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOW…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 # some tests run into stack overflowsCOMMENT
LOWmisc/python/materialize/cli/__init__.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cli/mz_workload_anonymize.py421 word_originals.add(original)COMMENT
LOWmisc/python/materialize/cli/mz_workload_anonymize.py461 # needs valid. Exempt the value literal in the same option position, mirroringCOMMENT
LOWmisc/python/materialize/cli/ci_coverage_pr_report.py21# - None value indicates that this line is interesting, but we don't know yetCOMMENT
LOWmisc/python/materialize/cli/lint_pipeline_topics.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
LOWmisc/python/materialize/cli/mzcompose.py1041# commands. Instead we focus on making `--help` work perfectly.COMMENT
LOWmisc/python/materialize/cli/gen-lints.py41COMMENT
LOWmisc/python/materialize/cli/gen-lints.py61 # in `HashMap`, because their order could change. This is a good lint inCOMMENT
LOWmisc/python/materialize/cli/gen-lints.py81WARN_CLIPPY_LINTS = [COMMENT
LOWmisc/python/materialize/cli/gen-lints.py181 # Implementing `From` gives you `Into` for free, but the reverse is notCOMMENT
LOW…materialize/test_analytics/config/sandbox_db_config.py1# Copyright Materialize, Inc. and contributors. All rights reserved.COMMENT
3839 more matches not shown…
Hyper-Verbose Identifiers1204 hits · 1092 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/source_table_migration.py15def verify_sources_after_source_table_migration(CODE
LOWmisc/python/materialize/git.py180def get_tags_of_current_commit(include_tags: YesNoOnce = YesNoOnce.ONCE) -> list[str]:CODE
LOWmisc/python/materialize/git.py311def try_get_remote_name_by_url(url: str) -> str | None:CODE
LOWmisc/python/materialize/git.py335def get_common_ancestor_commit(remote: str, branch: str) -> str:CODE
LOWmisc/python/materialize/git.py380def get_tagged_release_version(version_type: type[VERSION_TYPE]) -> VERSION_TYPE | None:CODE
LOWmisc/python/materialize/terminal.py28def with_conditional_formatting(text: str, formatting: str, condition: bool) -> str:CODE
LOWmisc/python/materialize/mz_0dt_upgrader.py42def generate_materialized_upgrade_args(CODE
LOWmisc/python/materialize/mz_0dt_upgrader.py71def generate_random_upgrade_path(CODE
LOWmisc/python/materialize/mz_0dt_upgrader.py110 def create_upgrade_steps_list(self) -> list[UpgradeStep]:CODE
LOWmisc/python/materialize/util.py84def decompress_zst_to_directory(CODE
LOWmisc/python/materialize/linear.py101def get_known_issues_from_linear(STRING
LOWmisc/python/materialize/cargo.py224 def transitive_path_dependencies(CODE
LOWmisc/python/materialize/mz_env_util.py42def connect_and_print_environment_id(CODE
LOWmisc/python/materialize/file_util.py23def resolve_path_with_wildcard(path: str, root_dir: str | Path = MZ_ROOT) -> set[str]:CODE
LOWmisc/python/materialize/file_util.py27def resolve_paths_with_wildcard(CODE
LOWmisc/python/materialize/file_util.py38def _file_list_output_to_list(output: str) -> list[str]:CODE
LOWmisc/python/materialize/docker.py36def image_of_release_version_exists(version: MzVersion, quiet: bool = False) -> bool:CODE
LOWmisc/python/materialize/docker.py51def mz_image_tag_exists_cmdline(image_name: str) -> bool:CODE
LOWmisc/python/materialize/docker.py180def release_version_to_image_tag(version: MzVersion) -> str:CODE
LOWmisc/python/materialize/docker.py184def is_image_tag_of_release_version(image_tag: str) -> bool:CODE
LOWmisc/python/materialize/docker.py192def get_version_from_image_tag(image_tag: str) -> str:CODE
LOWmisc/python/materialize/docker.py199def get_mz_version_from_image_tag(image_tag: str) -> MzVersion:CODE
LOWmisc/python/materialize/docker.py231def _resolve_image_name_by_commit_hash(commit_hash: str) -> str:CODE
LOWmisc/python/materialize/docker.py254def _search_docker_hub_for_image_name(CODE
LOWmisc/python/materialize/docker.py292def _select_image_name_from_candidates(CODE
LOWmisc/python/materialize/console_version_matrix.py21def get_console_test_versions() -> dict[str, MzVersion]:CODE
LOWmisc/python/materialize/mzbuild.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.py1238 def is_published_if_necessary(self) -> bool:CODE
LOWmisc/python/materialize/mzbuild.py1769 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.py83def is_pull_request_marker_set() -> bool:CODE
LOWmisc/python/materialize/buildkite.py94def get_pull_request_base_branch(fallback: str = "main"):CODE
LOWmisc/python/materialize/buildkite.py98def get_pipeline_default_branch(fallback: str = "main"):CODE
LOWmisc/python/materialize/buildkite.py191def _upload_shard_info_metadata(items: list[str]) -> None:CODE
LOWmisc/python/materialize/buildkite.py209def notify_qa_team_about_failure(failure: str) -> None:CODE
LOWmisc/python/materialize/buildkite.py253def _validate_parallelism_configuration() -> None:CODE
LOWmisc/python/materialize/buildkite.py319def get_job_url_from_build_url(build_url: str, build_job_id: str) -> str:CODE
LOWmisc/python/materialize/buildkite.py323def get_job_url_from_pipeline_and_build(CODE
LOWmisc/python/materialize/github.py124def get_known_issues_from_github(STRING
LOWmisc/python/materialize/version_ancestor_overrides.py18def get_ancestor_overrides_for_performance_regressions(CODE
LOWmisc/python/materialize/version_list.py41def fetch_self_managed_versions() -> list[SelfManagedVersion]:CODE
LOWmisc/python/materialize/version_list.py58def get_all_self_managed_versions() -> list[MzVersion]:CODE
LOWmisc/python/materialize/version_list.py62def get_self_managed_versions(CODE
LOWmisc/python/materialize/version_list.py83def get_compatible_upgrade_from_versions() -> list[MzVersion]:CODE
LOWmisc/python/materialize/version_list.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
LOWmisc/python/materialize/version_list.py300 def _resolve_image_tag_of_merge_base(CODE
LOWmisc/python/materialize/version_list.py368def get_latest_published_version() -> MzVersion:CODE
LOWmisc/python/materialize/version_list.py389def get_previous_published_version(CODE
LOWmisc/python/materialize/version_list.py409def get_published_minor_mz_versions(CODE
LOWmisc/python/materialize/version_list.py485def get_all_published_mz_versions(CODE
LOWmisc/python/materialize/version_list.py494def get_published_mz_versions_within_one_major_version(CODE
1144 more matches not shown…
Cross-Language Confusion129 hits · 841 pts
SeverityFileLineSnippetContext
HIGHmisc/python/materialize/scratch.py326 "npx -q -y skills add MaterializeInc/agent-skills -g -a claude-code --copy -y --skill materialize-docs 2>/dev/nuCODE
HIGHmisc/python/materialize/scratch.py334 "npx -q -y skills add MaterializeInc/agent-skills -g -a codex --copy -y --skill materialize-docs 2>/dev/null || CODE
HIGH…/python/materialize/mzcompose/services/foundationdb.py31 if fdbcli -C "$CLUSTER_FILE" --exec "status minimal" --timeout 5 2>/dev/null; thenCODE
HIGH…/python/materialize/mzcompose/services/foundationdb.py147 "if fdbcli -C /var/fdb/fdb.cluster --exec 'status minimal' --timeout 5 2>/dev/null; then "STRING
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py19 > INSERT INTO jsonb_type_table VALUES ('{"object_element":{"a":"b"},"array_element": [1,2], "string_element"CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py28 WITH cte AS (SELECT '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "nuCODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py31 '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "number_element":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py37 jsonb_col || '{"another_null": null}'::jsonb AS c8,CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py47 WITH cte AS (SELECT '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "nuCODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py50 '{"object_element":{"a":"b"},"array_element": [1,2], "string_element":"abc", "number_element":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py56 jsonb_col || '{"another_null": null}'::jsonb AS c8,CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py70 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py71 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py72 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py75 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py76 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/jsonb_type.py77 "{\\"array_element\\":[1,2],\\"boolean_element\\":true,\\"null_element\\":null,\\"number_element\\":123.CODE
HIGHmisc/python/materialize/checks/all_checks/webhook.py68 [{"good": "bye"}, 42, null]CODE
HIGHmisc/python/materialize/checks/all_checks/webhook.py100 "[{\\"good\\":\\"bye\\"},42,null]"CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py853 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py854 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py855 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py858 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py859 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py860 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py863 # {{"before": null, "after": {{"row":{{"f1": 1}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py864 # {{"before": null, "after": {{"row":{{"f1": 2}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py865 # {{"before": null, "after": {{"row":{{"f1": 3}}}}}}COMMENT
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py300 {"key1": "U2${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py303 {"key1": "D2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py306 {"key1": "U3${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py309 {"key1": "D3${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py371 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py374 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py377 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py537 {"key1": "U2${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py540 {"key1": "D2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py543 {"key1": "U3${kafka-ingest.iteration}"} {"f1": {"string": "A${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py546 {"key1": "D3${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py625 {"type":"record","name":"row","doc":"comment on view sink_source_comments_view","fields":[{"name":"l_v2"CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py628 {"type":"record","name":"row","doc":"comment on view sink_source_comments_view","fields":[{"name":"l_v2"CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py631 {"type":"record","name":"row","doc":"comment on view sink_source_comments_view","fields":[{"name":"l_v2"CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py634 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py637 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py640 {"type":"record","name":"envelope","fields":[{"name":"before","type":["null",{"type":"record","name":"roCODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py337 {"key1": "I2${kafka-ingest.iteration}"} {"f1": {"string": "B${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py338 {"key1": "U2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py354 {"key1": "I2${kafka-ingest.iteration}"} {"f1": {"string": "B${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py355 {"key1": "U2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py581 {"key1": "I2${kafka-ingest.iteration}"} {"f1": {"string": "B${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py582 {"key1": "U2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py603 {"key1": "I2${kafka-ingest.iteration}"} {"f1": {"string": "B${kafka-ingest.iteration}"}, "f2": null}CODE
HIGHmisc/python/materialize/checks/all_checks/kafka_sink.py604 {"key1": "U2${kafka-ingest.iteration}"} {"f1": null, "f2": {"long": ${kafka-ingest.iteration}}}CODE
HIGH…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
69 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.py144# -----------------COMMENT
MEDIUMmisc/python/materialize/mzexplore/extract.py78 # -------------------------------------STRING
MEDIUMmisc/python/materialize/mzexplore/extract.py378 # -------------------------------------STRING
MEDIUMmisc/python/materialize/mzexplore/extract.py450# ---------------STRING
MEDIUMmisc/python/materialize/mzexplore/clone.py66 # --------------------STRING
MEDIUMmisc/dbt-materialize/tests/adapter/test_strict_mode.py472# =============================================================================COMMENT
MEDIUMmisc/dbt-materialize/tests/adapter/test_strict_mode.py474# =============================================================================COMMENT
MEDIUMtest/canary-environment/mzcompose.py291 # ── 1. Upstream RDS/MySQL setup (outside Materialize) ─────────────────COMMENT
MEDIUMtest/canary-environment/mzcompose.py362 # ── 2. BigLake namespace ──────────────────────────────────────────────STRING
MEDIUMtest/canary-environment/mzcompose.py375 # ── 3. mz-deploy: setup + apply infrastructure ────────────────────────STRING
MEDIUMtest/canary-environment/mzcompose.py383 # ── 4. testdrive-managed objects ──────────────────────────────────────STRING
MEDIUMtest/canary-environment/mzcompose.py496 # ── 5. mz-deploy: deploy views/MVs blue-green ─────────────────────────STRING
MEDIUMtest/mz-deploy/mzcompose.py272 # ── 1. Initial apply ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py332 # ── 2. Idempotent re-apply ────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py369 # ── 3. Incremental apply: add table ───────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py421 # ── 4. Modify connection ──────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py438 # ── 5. Grant changes ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py455 # ── 6. Run unit tests ─────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py486 # ── 7. Stage ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py511 # ── 8. Wait ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py517 # ── 9. Promote ───────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py562 # ── 10. Log ──────────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py568 # ── 11-12. Stage v2 ───────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py585 # ── 13. Abort v2 ─────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py599 # ── 14. Re-stage v2 + promote ─────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py640 # ── 15-16. Stage v3 ───────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py653 # ── 17. Abort v3 ─────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py667 # ── 18. Re-stage v3 + promote ─────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py714 # ── 1. Apply default profile ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py808 # ── 3. Apply staging profile ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py924 # ── 5. Idempotent re-apply for both profiles ──────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1251 # ── Happy path: lock with system-schema deps ──────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1271 # ── Stage path: a project that reads a system catalog must deploy ─────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1292 # ── Negative case: 2-part non-system dep is rejected ──────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py1881 # ── 1. Initial baseline apply ────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2013 # ── 1. Apply infrastructure ──────────────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2028 # ── 2. Stage v1: sink is deferred ────────────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2056 # ── 3. Promote v1: deferred sink is created ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2093 # ── 4. Stage v2 (MV definition changed) ──────────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2104 # ── 5. Promote v2: sink is repointed, not recreated ──────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2204 # ── 2. Stage v2: only the stable MV changed ──────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2229 # ── 3. Promote v2: APPLY REPLACEMENT, no swap, no repoint ────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2293 # ── 1. Baseline: deploy v1 so subsequent stages diff against it ──────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2309 # ── 2. Stage both deployments side by side ───────────────────────COMMENT
MEDIUMtest/mz-deploy/mzcompose.py2344 # ── 3. Promote ca, then cb — no conflicts, no --force ────────────COMMENT
MEDIUMsrc/mz-deploy/src/cli/executor.rs21//! ┌──────────────────┼───────────────────┐COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs21//! ┌──────────┐ all objects hydrated ┌───────┐COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs22//! │ Hydrating │ ────────────────────────▶ │ Ready │COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs23//! └──────────┘ & lag ≤ threshold └───────┘COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs25//! │ lag > threshold ┌─────────┐COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs26//! └────────────────────────────────▶ │ Lagging │COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs27//! └─────────┘COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs30//! ┌─────────┐COMMENT
MEDIUMsrc/mz-deploy/src/client/deployment_ops.rs32//! └─────────┘COMMENT
MEDIUMsrc/catalog/src/builtin/ontology.rs213// ── View builders ────────────────────────────────────────────COMMENT
81 more matches not shown…
Hallucination Indicators25 hits · 270 pts
SeverityFileLineSnippetContext
CRITICALmisc/python/materialize/mzbuild.py1087 profile = self.image.rd.profile.name.lower()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
CRITICALsrc/persist-client/src/internal/encoding.rs964 applier_version: self.state.state.collections.version.to_string(),CODE
CRITICALsrc/persist-client/src/internal/encoding.rs973 last_gc_req: self.state.state.collections.last_gc_req.into_proto(),CODE
CRITICALsrc/persist-client/src/internal/encoding.rs974 active_rollup: self.state.state.collections.active_rollup.into_proto(),CODE
CRITICALsrc/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.rs2857 self.metrics.blob.set.bytes.inc_by(u64::cast_from(bytes));CODE
CRITICALsrc/persist-client/src/internal/metrics.rs2872 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 Overuse174 hits · 232 pts
SeverityFileLineSnippetContext
LOW…aterialize/macros/utils/validate_cluster_isolation.sql66 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql69 {# Step 2: Initialize list to collect conflicting objects #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql72 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql75 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql78 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql81 {# Step 6: Record any object that isn't the current source #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql120 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql123 {# Step 2: Initialize list to collect conflicting objects #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql126 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql129 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql132 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql137 {# Step 6: Record any non-sink object #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql145 {# Step 7: If any conflicts were found, raise a compiler error #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql172 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql175 {# Step 2: Initialize flags to track isolated types #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql179 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql182 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql185 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql188 {# Step 6: Check if this node is a source or sink #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql198 {# Step 7: If cluster contains sources, block creation #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql207 {# Step 8: If cluster contains sinks, block creation #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql93 {# Step 7: If any conflicts were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql51 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql54 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql60 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql63 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql68 {# Step 5: If the node's materialization type is not allowed, record it #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql76 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql79 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql105 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql108 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql111 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql114 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql119 {# Step 5: If the node is not a sink, record its type #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql127 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql130 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql156 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql159 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql162 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql165 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql170 {# Step 5: If the node is not a source, record its type #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql178 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql181 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql208 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql211 {# Step 2: Initialize flags to track if we find isolated types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql216 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql219 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql222 {# Step 5: Check if this node is a source, sink, or source_table #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql234 {# Step 6: If schema contains sources, block creation of this object #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql243 {# Step 7: If schema contains sinks, block creation of this object #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql252 {# Step 8: If schema contains source_tables, block creation of this object #}CODE
LOWtest/orchestratord/mzcompose.py3038 # Step 5: Server-side apply a partial v1 manifest that does not containCOMMENT
LOWtest/orchestratord/mzcompose.py2772 # Step 1: Deploy with v1, complete initial rollout.COMMENT
LOWtest/orchestratord/mzcompose.py2789 # Step 2: Re-apply the same spec at v1 (no changes).COMMENT
LOWtest/orchestratord/mzcompose.py2808 # Step 3: Apply at v1 with a spec change (extra env var).COMMENT
LOWtest/orchestratord/mzcompose.py2940 # Step 1: Deploy at v1alpha1 with client-side apply and complete theCOMMENT
LOWtest/orchestratord/mzcompose.py2972 # Step 2: Server-side apply the same spec at v1. Reconciling theCOMMENT
LOWtest/orchestratord/mzcompose.py3003 # Step 3: Server-side re-apply the unchanged v1 spec (the routine GitOpsCOMMENT
LOWtest/orchestratord/mzcompose.py3014 # Step 4: Server-side apply a partial v1 manifest under a dedicated fieldCOMMENT
LOWtest/cloudtest/test_privatelink_connection.py290 # Step 1: Deploy a single Toxiproxy instanceSTRING
114 more matches not shown…
Deep Nesting246 hits · 222 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/cargo.py53CODE
LOWmisc/python/materialize/cargo.py148CODE
LOWmisc/python/materialize/cargo.py178CODE
LOWmisc/python/materialize/cargo.py201CODE
LOWmisc/python/materialize/scratch.py275CODE
LOWmisc/python/materialize/docker.py89CODE
LOWmisc/python/materialize/docker.py203CODE
LOWmisc/python/materialize/mzbuild.py67CODE
LOWmisc/python/materialize/mzbuild.py291CODE
LOWmisc/python/materialize/mzbuild.py372CODE
LOWmisc/python/materialize/mzbuild.py814CODE
LOWmisc/python/materialize/mzbuild.py950CODE
LOWmisc/python/materialize/mzbuild.py1204CODE
LOWmisc/python/materialize/mzbuild.py1426CODE
LOWmisc/python/materialize/mzbuild.py1574CODE
LOWmisc/python/materialize/sqlancer.py121CODE
LOWmisc/python/materialize/sqlancer.py180CODE
LOWmisc/python/materialize/buildkite.py128CODE
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.py2413CODE
LOWmisc/python/materialize/parallel_workload/action.py2625CODE
LOWmisc/python/materialize/parallel_workload/action.py3559CODE
LOWmisc/python/materialize/parallel_workload/action.py3841CODE
LOWmisc/python/materialize/parallel_workload/action.py4471CODE
LOWmisc/python/materialize/parallel_workload/action.py4739CODE
LOWmisc/python/materialize/parallel_workload/action.py5349CODE
LOWmisc/python/materialize/parallel_workload/action.py5449CODE
LOWmisc/python/materialize/parallel_workload/action.py5555CODE
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
186 more matches not shown…
Self-Referential Comments81 hits · 190 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.py62 # Create the release page in the docs for the next version after the oneCOMMENT
MEDIUMmisc/python/materialize/parallel_benchmark/scenarios.py505 # 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
MEDIUMmisc/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.py3537 # Create a temporary override of the materialized service with updated CPU limits.COMMENT
MEDIUMtest/terraform/aws-upgrade/main.tf90# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-upgrade/main.tf125# Create a dedicated nodeclass and nodepool for Materialize podsCOMMENT
MEDIUMtest/terraform/aws-persistent/main.tf90# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-persistent/main.tf125# Create a dedicated nodeclass and nodepool for Materialize podsCOMMENT
MEDIUMtest/terraform/aws-temporary/main.tf90# Create a generic nodeclass and nodepool for system workloadsCOMMENT
MEDIUMtest/terraform/aws-temporary/main.tf125# 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.py3422 # Create a cluster and wait for it to come up.COMMENT
MEDIUMtest/cluster/mzcompose.py3587 # Create a managed cluster with a custom replica name.COMMENT
MEDIUMtest/cluster/mzcompose.py4023 # Create an MV reading from an index. Make sure it doesn't produce itsCOMMENT
MEDIUMtest/cluster/mzcompose.py3509 # Create a managed cluster and wait for it to come up.STRING
MEDIUMtest/cluster/mzcompose.py5698 # Create a REFRESH MV and wait for it to refresh once, then take downSTRING
MEDIUMtest/cluster/mzcompose.py5773 # Create an unmanaged cluster that isn't restarted together with materialized,STRING
MEDIUMtest/cluster/mzcompose.py7041 # Create a pause-able cluster, with indexes with different kinds of inputs.STRING
MEDIUMtest/cluster/mzcompose.py7462 # Create a postgres source and wait until it's caught up.STRING
MEDIUMtest/cluster/mzcompose.py7689 # Create a replacement. It's as-of will be derived from mv2's since.STRING
MEDIUMtest/cluster/mzcompose.py7723 # Create a materialized view and a replacement.STRING
MEDIUMtest/cluster/mzcompose.py7779 # Create a materialized view and a replacement.STRING
MEDIUMtest/cluster/mzcompose.py8029 # Create a cluster with an optimizer feature override, to test thatSTRING
MEDIUMtest/cluster/mzcompose.py8146 # Create a materialized view to generate compute activity.STRING
MEDIUMtest/orchestratord/mzcompose.py1152 # Create a configmap with system parametersCOMMENT
MEDIUMtest/orchestratord/mzcompose.py2152 # 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.py109 # Create a LaunchDarkly client that simulates somebody interactingCOMMENT
MEDIUMtest/launchdarkly/mzcompose.py128 # 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.py2422 # Creating the cluster from the definition file carries the policy.COMMENT
MEDIUMtest/restart/mzcompose.py403 # Creating a new replica of the disabled size is rejected.COMMENT
MEDIUMtest/restart/mzcompose.py1073 # Create a schema with a custom type, then exercise every object kind thatCOMMENT
MEDIUMtest/restart/mzcompose.py796 # Create a replica and wait for metrics data to arrive.STRING
MEDIUMtest/lang/python/smoketest.py124 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py169 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py222 # Create a table with one row of data.COMMENT
MEDIUMtest/lang/python/smoketest.py283 # Create a dummy subscribe that we know will only everCOMMENT
MEDIUMtest/source-sink-errors/mzcompose.py95 # Create a source and a sinkCOMMENT
MEDIUMtest/source-sink-errors/mzcompose.py163 # Create a source and a sinkSTRING
MEDIUMtest/source-sink-errors/mzcompose.py265 # Create a source and a sinkSTRING
MEDIUMtest/source-sink-errors/mzcompose.py361 # Create a source and a sinkSTRING
MEDIUMtest/aws-localstack/mzcompose.py131 # Create an orphaned secret that should get deleted when starting environmentd.COMMENT
MEDIUMtest/aws-localstack/mzcompose.py139 # Create an orphaned secret without the correct tags, so it should be ignored.COMMENT
MEDIUMtest/aws-localstack/mzcompose.py146 # Create a secret for a different environment, so it should be ignored.COMMENT
MEDIUMtest/aws/mzcompose.py125 # Create a user with an access key.STRING
21 more matches not shown…
Excessive Try-Catch Wrapping173 hits · 177 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.py1455 except Exception:CODE
LOWmisc/python/materialize/mzbuild.py1521 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.py520 except Exception as e:CODE
LOW…hon/materialize/parallel_workload/parallel_workload.py549 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.py3515 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py4806 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py4848 except Exception as e:CODE
LOWmisc/python/materialize/parallel_workload/action.py4858 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__.py949 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.py1384 except Exception:CODE
LOWmisc/python/materialize/mzcompose/composition.py1895 except Exception as e:CODE
LOWmisc/python/materialize/mzcompose/composition.py1915 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.py474 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py827 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py1049 except Exception as e:CODE
LOWmisc/python/materialize/cli/ci_annotate_errors.py1057 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
113 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 · 136 pts
SeverityFileLineSnippetContext
LOW…aterialize/macros/utils/validate_cluster_isolation.sql66 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql69 {# Step 2: Initialize list to collect conflicting objects #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql72 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql75 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql78 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql81 {# Step 6: Record any object that isn't the current source #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql120 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql123 {# Step 2: Initialize list to collect conflicting objects #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql126 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql129 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql132 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql137 {# Step 6: Record any non-sink object #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql145 {# Step 7: If any conflicts were found, raise a compiler error #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql172 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql175 {# Step 2: Initialize flags to track isolated types #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql179 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql182 {# Step 4: Get this node's cluster (explicit or default) #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql185 {# Step 5: Check if this node is on the same cluster #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql188 {# Step 6: Check if this node is a source or sink #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql198 {# Step 7: If cluster contains sources, block creation #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql207 {# Step 8: If cluster contains sinks, block creation #}CODE
LOW…aterialize/macros/utils/validate_cluster_isolation.sql93 {# Step 7: If any conflicts were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql51 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql54 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql60 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql63 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql68 {# Step 5: If the node's materialization type is not allowed, record it #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql76 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql79 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql105 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql108 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql111 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql114 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql119 {# Step 5: If the node is not a sink, record its type #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql127 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql130 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql156 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql159 {# Step 2: Initialize list to collect forbidden materialization types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql162 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql165 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql170 {# Step 5: If the node is not a source, record its type #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql178 {# Step 6: Remove duplicates from the list #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql181 {# Step 7: If any forbidden types were found, raise a compiler error #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql208 {# Step 1: Only run validation when strict_mode is enabled #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql211 {# Step 2: Initialize flags to track if we find isolated types #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql216 {# Step 3: Iterate through all nodes in the dbt manifest #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql219 {# Step 4: Check if this node is in the same schema and database #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql222 {# Step 5: Check if this node is a source, sink, or source_table #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql234 {# Step 6: If schema contains sources, block creation of this object #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql243 {# Step 7: If schema contains sinks, block creation of this object #}CODE
LOW…materialize/macros/utils/validate_schema_isolation.sql252 {# Step 8: If schema contains source_tables, block creation of this object #}CODE
LOWtest/orchestratord/mzcompose.py3038 # Step 5: Server-side apply a partial v1 manifest that does not containCOMMENT
LOWtest/orchestratord/mzcompose.py2772 # Step 1: Deploy with v1, complete initial rollout.COMMENT
LOWtest/orchestratord/mzcompose.py2789 # Step 2: Re-apply the same spec at v1 (no changes).COMMENT
LOWtest/orchestratord/mzcompose.py2808 # Step 3: Apply at v1 with a spec change (extra env var).COMMENT
LOWtest/orchestratord/mzcompose.py2940 # Step 1: Deploy at v1alpha1 with client-side apply and complete theCOMMENT
LOWtest/orchestratord/mzcompose.py2972 # Step 2: Server-side apply the same spec at v1. Reconciling theCOMMENT
LOWtest/orchestratord/mzcompose.py3003 # Step 3: Server-side re-apply the unchanged v1 spec (the routine GitOpsCOMMENT
LOWtest/orchestratord/mzcompose.py3014 # Step 4: Server-side apply a partial v1 manifest under a dedicated fieldCOMMENT
LOWtest/cloudtest/test_privatelink_connection.py290 # Step 1: Deploy a single Toxiproxy instanceSTRING
51 more matches not shown…
Unused Imports96 hits · 95 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/mz_version.py12CODE
LOWmisc/python/materialize/util.py12CODE
LOWmisc/python/materialize/parallel_task.py12CODE
LOWmisc/python/materialize/version_ancestor_overrides.py11CODE
LOWmisc/python/materialize/version_list.py11CODE
LOWmisc/python/materialize/parallel_workload/action.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.py869 # 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__.py77 """Settings we need in order to have tests run at all, but otherwise staySTRING
MEDIUMmisc/dbt-materialize/mzcompose.py105 # Give the test harness permission to modify the built-inSTRING
MEDIUMtest/cluster/mzcompose.py5106 # its own. It pins the harness, since rows lost here would mean theCOMMENT
MEDIUMtest/cluster/mzcompose.py7550 # 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.py290 # resolves `cargo` through the `PATH` it just set, which is what puts theCOMMENT
LOWci/test/cargo-test/mzcompose.py311 # Can't just use --workspace because of https://github.com/rust-lang/cargo/issues/7160COMMENT
LOWci/nightly/pipeline.template.yml10# Default priority, just set to be explicitCOMMENT
LOWdoc/user/data/explain_plan_operators.yml408 Indicates a point that will become an [arrangement](/get-started/arrangements/#arrangements) in the dataflow enginCODE
MEDIUMsrc/mz/src/bin/mz/upgrader.rs43/// and ensure a seamless experience.COMMENT
MEDIUMsrc/metrics-catalog/src/main.rs825 /// stays robust to grammar tweaks. Document that leniency here.COMMENT
MEDIUMsrc/prof-http/src/http/static/js/flamegraph.js189 // be robust in case there isn'tCOMMENT
MEDIUMsrc/expr/src/interpret.rs165 /// only need the "single known value" case: it's robust against futureCOMMENT
MEDIUMsrc/orchestrator-process/src/lib.rs1038 // anything more robust given the Unix APIs available to us, and theCOMMENT
MEDIUMsrc/compute/src/render/top_k.rs420 /// To provide a robust incremental orderby-limit experience, we want to avoid grouping *all*COMMENT
MEDIUMsrc/compute/src/render/top_k.rs422 /// robust approach forms groups of bounded size and applies the offset and limit to each,COMMENT
MEDIUMsrc/compute/src/sink/materialized_view.rs63//! The persist sink is written to be robust to the presence of other conflicting instances (e.g.COMMENT
MEDIUMsrc/avro/src/lib.rs60//! Or in case you want to leverage the **Snappy** codec:COMMENT
MEDIUMsrc/avro/src/lib.rs280//! interface to leverage all Avro features. Please read the API reference in case you areCOMMENT
MEDIUMsrc/ore/src/panic.rs213 // out. To make this string munging as robust as possible, if weCOMMENT
MEDIUMsrc/persist-client/Cargo.toml18# Disable the ability to use benches in the library because the bench harnessCOMMENT
MEDIUMsrc/transform/src/analysis.rs1588 /// But see also expr/src/scalar.rs for `FilterCharacteristics::worst_case_scaling_factor()` for a more nuanced takeCOMMENT
MEDIUMsrc/transform/src/equivalence_propagation.rs29//! equivalence was independent of the expression (e.g. through a more nuanced expression traversal) we could imaging reCOMMENT
MEDIUMsrc/persist/Cargo.toml16# Disable the ability to use benches in the library because the bench harnessCOMMENT
MEDIUMsrc/repr/src/scalar.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.rs3647 /// The maximum allowed result size, as requested by the client.COMMENT
HIGHsrc/orchestrator-process/src/lib.rs597 // The service might already exist. If it has the same config as requested (currently weCOMMENT
HIGHsrc/storage/src/render/sinks.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.rs720 // All other commands we apply as requested.COMMENT
HIGHsrc/pgwire/src/protocol.rs1828 // them to the user as requested. Its command tag is always FETCH <num rowsCOMMENT
HIGHsrc/pgwire/src/protocol.rs1968 // return those as requested (if, say, an Execute message was sent with aCOMMENT
Fake / Example Data40 hits · 40 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.py285 dummy_id = snap_id + 10_000_000 + stats["modifications"]CODE
LOWtest/iceberg/mzcompose.py287 "snapshot-id": dummy_id,CODE
LOWtest/iceberg/mzcompose.py311 "snapshot-id": dummy_id,CODE
LOWdoc/user/content/integrations/connection-pooling.md30"user@example.com" "mypassword-or-scram-secret"CODE
LOWdoc/user/content/integrations/connection-pooling.md42"foo@bar.com" "mypassword"CODE
LOWconsole/src/platform/roles/RemoveUserModal.test.tsx30 memberName: "user@example.com",CODE
LOWconsole/src/platform/roles/RemoveUserModal.test.tsx46 expect(screen.getByText("user@example.com")).toBeVisible();CODE
LOWconsole/src/platform/roles/EditRolesModal.test.tsx36 userName: "user@example.com",CODE
LOWconsole/src/platform/roles/EditRolesModal.test.tsx135 expect(screen.getByText("user@example.com")).toBeInTheDocument();CODE
LOW…urces/create/shared/NewDatabaseConnectionForm.test.tsx205 expect(portInput).toHaveProperty("placeholder", "5432");CODE
LOW…urces/create/shared/NewDatabaseConnectionForm.test.tsx220 expect(portInput).toHaveProperty("placeholder", "3306");CODE
LOW…urces/create/shared/NewDatabaseConnectionForm.test.tsx246 expect(portInput).toHaveProperty("placeholder", "1433");CODE
LOWconsole/src/components/CommandBlock/Editor.tsx58 "lineNumbers" | "placeholder" | "onCommand" | "onKeyDown"CODE
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.py3543 # 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.rs2416 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller.rs467 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller.rs1327 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller/instance.rs857 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/compute-client/src/controller/instance.rs3194 // Destructure `self` here so we don't forget to consider dumping newly added fields.COMMENT
LOWsrc/storage-controller/src/lib.rs2666 // 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.rs2062 // Don't forget to update the downgrade_since when this getsCOMMENT
LOWsrc/persist-client/src/internal/state.rs2095 // Don't forget to update the downgrade_since when this getsCOMMENT
LOWsrc/sql/src/session/vars/definitions.rs2441 // then assigning them to their respective system vars, to ensure we don't forget to updateCOMMENT
AI Structural Patterns24 hits · 24 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/redpanda_cloud.py24CODE
LOWmisc/python/materialize/parallel_workload/action.py4355CODE
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.py86CODE
LOWmisc/python/materialize/mzcompose/services/testdrive.py52CODE
LOW…/python/materialize/mzcompose/services/foundationdb.py183CODE
LOW…/python/materialize/mzcompose/services/foundationdb.py54CODE
LOWmisc/python/materialize/mzcompose/services/cockroach.py33CODE
LOWmisc/python/materialize/mzcompose/services/frontegg.py20CODE
LOW…thon/materialize/mzcompose/services/schema_registry.py16CODE
LOWmisc/python/materialize/mzcompose/services/kafka.py27CODE
LOWmisc/python/materialize/mzcompose/services/postgres.py28CODE
LOWmisc/python/materialize/mzcompose/services/azurite.py19CODE
LOWmisc/python/materialize/checks/mzcompose_actions.py40CODE
LOW…/materialize/output_consistency/operation/operation.py38CODE
LOW…/materialize/output_consistency/operation/operation.py196CODE
LOWmisc/python/materialize/cloudtest/k8s/testdrive.py52CODE
LOWmisc/python/materialize/cloudtest/k8s/environmentd.py172CODE
Modern Structural Boilerplate23 hits · 22 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/util.py176 def _set_linger(conn: psycopg.Connection) -> None:CODE
LOWmisc/python/materialize/ui.py176 def set_hint(self, hint: str) -> None:CODE
LOWmisc/python/materialize/parallel_workload/database.py1899 def update_sqlsmith_state(self, composition: Composition) -> None:CODE
LOWmisc/python/materialize/parallel_workload/action.py3527 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/cluster/mzcompose.py8320 def set_latency(toxi: str, latency_ms: int) -> None:CODE
LOWtest/canary-load/mzcompose.py384def update_data(c: Composition, i: int) -> None:STRING
LOWci/mkpipeline.py762def set_retry_on_agent_lost(pipeline: Any) -> None:CODE
LOWci/mkpipeline.py792def set_default_agents_queue(pipeline: Any) -> None:CODE
LOWci/mkpipeline.py804def 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-Vocabulary6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMmisc/helm-charts/operator/values.yaml10# Operator configuration for orchestrating MaterializeCOMMENT
MEDIUMdoc/developer/design/20240609_error_handling.md372of errors. See [Guardrails](#guardrails) below for further discussion.CODE
MEDIUMsrc/mz-deploy/src/cli/commands/new_project.rs36/// `mz-deploy new <name>` — create a new directory and scaffold into it.COMMENT
MEDIUMsrc/mz-deploy/src/cli/commands/new_project.rs57/// `mz-deploy init` — scaffold the current directory as an mz-deploy project.COMMENT
MEDIUMsrc/mz-deploy/src/cli/commands/new_project.rs264/// Writes a scaffold file, leaving any file that already exists untouched.COMMENT
MEDIUMsrc/transform/src/analysis/equivalences.rs745 /// required additional guardrails to ensure we reach a fixed point.COMMENT
Redundant / Tautological Comments13 hits · 16 pts
SeverityFileLineSnippetContext
LOWmisc/python/materialize/parallel_workload/action.py336 "unknown cluster 'dont_exist'", # Set intentionally to find panicsCODE
LOW…/python/materialize/mzcompose/services/foundationdb.py146 # Check if already configuredSTRING
LOWmisc/python/materialize/mzexplore/extract.py432 if print_results: # Print results if requested.STRING
LOWmisc/dbt-materialize/mzcompose.py99 # Set enable_create_table_from_source to trueSTRING
LOW…dbt/include/materialize/macros/deploy/deploy_await.sql57 {# Check if all clusters are ready #}CODE
LOWmisc/helm-charts/publish.sh106# Check if version already existsCOMMENT
LOWtest/terraform/mzcompose.py933 # 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.py90 # Check if image exists locally before pullingCOMMENT
LOW.github/workflows/cla.yml22# Check if PR authors have signed the Materialize CLA, and if not have them signCOMMENT
LOW.github/workflows/update-generated-docs.yml49 # Check if there's already an open PR from this branchCOMMENT
LOWsrc/storage/src/upsert/types.rs454 /// ## Return valueCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHmisc/python/materialize/cargo.py27A Cargo crate. A crate directory must contain a `Cargo.toml` file with `package.name` and `package.version` keySTRING
HIGHmisc/python/materialize/cargo.py227Collects the transitive path dependencies of the requested crate. Note that only _path_ dependencies are collecSTRING
HIGHmisc/python/materialize/spawn.py95Capture the output of a subprocess. Args: args: A list of strings or paths describing the program to run anSTRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdoc/user/content/ingest-data/kafka/confluent-cloud.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