AI Slop Code RIsk Monitor

delta-io/delta-rs

A native Rust library for Delta Lake, with bindings into Python

6.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for delta-io/delta-rs, a Rust project with 3,330 GitHub stars. SynthScan examined 192,536 lines of code across 911 source files, recording 906 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 6.0 (Moderate pattern signal); it is not an authorship estimate.

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

6.0
Adjusted Signal
6.0
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.3K
Stars
Rust
Language
192.5K
Lines of Code
911
Files
906
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 16.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.8/100 · LOW

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

Agent Over-Engineering Ratio 16.9/100 · LOW

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

PR Review Velocity Impact 25.4/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 19MEDIUM 63LOW 824

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers448 hits · 405 pts
SeverityFileLineSnippetContext
LOWpython/deltalake/transaction.py80def create_table_with_add_actions(CODE
LOWpython/deltalake/__init__.py88def enable_nanosecond_timestamps() -> None:CODE
LOWpython/deltalake/__init__.py116def _disable_nanosecond_timestamps() -> None:CODE
LOWpython/deltalake/__init__.py133def _nanosecond_timestamps_enabled() -> bool:CODE
LOWpython/deltalake/_util.py24def deprecate_positional_commit_args(CODE
LOWpython/deltalake/table.py83def _merge_deprecated_filters(CODE
LOWpython/deltalake/table.py103def _encode_filter_conjunction(CODE
LOWpython/deltalake/table.py1420 def _encode_file_pruning_predicate(CODE
LOWpython/deltalake/table.py1428 def _stringify_partition_values(CODE
LOWpython/deltalake/table.py1665 def __datafusion_table_provider__(self, session: Any | None = None) -> Any:CODE
LOWpython/deltalake/table.py1976 def when_not_matched_insert_all(CODE
LOWpython/deltalake/table.py2074 def when_not_matched_by_source_update(CODE
LOWpython/deltalake/table.py2124 def when_not_matched_by_source_delete(CODE
LOWpython/deltalake/writer/_utils.py12def try_get_table_and_table_uri(CODE
LOWpython/tests/test_datafusion.py10def _datafusion_major_version() -> int | None:CODE
LOWpython/tests/test_datafusion.py18def test_datafusion_table_provider_incompatible_version_errors(CODE
LOWpython/tests/test_datafusion.py36 def __datafusion_task_context_provider__(self):CODE
LOWpython/tests/test_datafusion.py46def test_datafusion_table_provider_not_installed_errors(tmp_path, monkeypatch):CODE
LOWpython/tests/test_datafusion.py67def test_datafusion_table_provider_accepts_session_keyword_argument(CODE
LOWpython/tests/test_datafusion.py87def test_datafusion_table_provider_invalid_task_ctx_capsule_name_errors(CODE
LOWpython/tests/test_datafusion.py103 def __datafusion_task_context_provider__(self):CODE
LOWpython/tests/test_datafusion.py119def test_datafusion_table_provider(tmp_path):CODE
LOWpython/tests/conftest.py30def pytest_collection_modifyitems(CODE
LOWpython/tests/conftest.py44def wait_till_host_is_available(host: str, timeout_sec: int = 0.5):CODE
LOWpython/tests/conftest.py344def sample_table_with_spaces_numbers() -> Table:CODE
LOWpython/tests/conftest.py411def nanosecond_timestamps_enabled():CODE
LOWpython/tests/test_stats.py79def test_microsecond_truncation_parquet_stats(CODE
LOW⚡python/tests/test_alter.py62def test_add_constraint_roundtrip_metadata(tmp_path: pathlib.Path, sample_table: Table):CODE
LOW⚡python/tests/test_alter.py133def test_set_table_properties_min_writer_version(CODE
LOW⚡python/tests/test_alter.py412def test_add_timestamp_ntz_column(tmp_path: pathlib.Path, sample_table: Table):CODE
LOW⚡python/tests/test_alter.py417def test_add_timestamp_nanos_column(tmp_path: pathlib.Path, sample_table: Table):CODE
LOW⚡python/tests/test_alter.py424def test_add_timestamp_nanos_ntz_column(tmp_path: pathlib.Path, sample_table: Table):CODE
LOW⚡python/tests/test_alter.py577def test_drop_column_not_null_roundtrip_metadata(tmp_path: pathlib.Path):CODE
LOW⚡python/tests/test_alter.py588def test_drop_column_not_null_unknown_column(tmp_path: pathlib.Path):CODE
LOW⚡python/tests/test_alter.py597def test_drop_column_not_null_already_nullable(tmp_path: pathlib.Path):CODE
LOWpython/tests/test_alter.py90def test_drop_constraint_invalid(tmp_path: pathlib.Path, sample_table: Table):CODE
LOWpython/tests/test_alter.py105def test_drop_constraint_invalid_ignore(tmp_path: pathlib.Path, sample_table: Table):CODE
LOWpython/tests/test_alter.py114def test_drop_constraint_roundtrip_metadata(CODE
LOWpython/tests/test_alter.py159def test_set_table_properties_invalid_min_writer_version(CODE
LOWpython/tests/test_alter.py178def test_set_table_properties_min_reader_version(CODE
LOWpython/tests/test_alter.py202def test_set_table_properties_invalid_min_reader_version(CODE
LOWpython/tests/test_alter.py220def test_set_table_properties_enable_cdf(tmp_path: pathlib.Path, sample_table: Table):CODE
LOWpython/tests/test_alter.py235def test_set_table_properties_enable_cdf_invalid(CODE
LOWpython/tests/test_alter.py253def test_set_table_properties_enable_cdf_value_false(CODE
LOWpython/tests/test_alter.py270def test_set_table_properties_enable_cdf_with_writer_version_bumped(CODE
LOWpython/tests/test_alter.py293def test_set_table_properties_enable_cdf_and_deletion_vectors(CODE
LOWpython/tests/test_alter.py349def test_set_table_properties_enable_dv(tmp_path: pathlib.Path, sample_table: Table):CODE
LOWpython/tests/test_alter.py370def test_add_column_primitive(existing_sample_table: DeltaTable):CODE
LOWpython/tests/test_alter.py387def test_add_field_in_struct_column(existing_table: DeltaTable):CODE
LOWpython/tests/test_alter.py486def test_add_feature_variations(existing_table: DeltaTable, feature):CODE
LOWpython/tests/test_alter.py497def test_add_features_disallowed_protocol_increase(existing_sample_table: DeltaTable):CODE
LOWpython/tests/test_alter.py560def test_drop_column_not_null(tmp_path: pathlib.Path):CODE
LOWpython/tests/test_alter.py640def test_set_table_description(tmp_path: pathlib.Path, sample_table: Table):CODE
LOWpython/tests/test_alter.py658def test_set_table_metadata_with_post_commithook_properties(CODE
LOWpython/tests/test_alter.py684def test_set_table_name_overwrite(tmp_path: pathlib.Path, sample_table: Table):CODE
LOWpython/tests/test_alter.py696def test_set_table_description_overwrite(tmp_path: pathlib.Path, sample_table: Table):CODE
LOWpython/tests/test_alter.py710def test_set_table_name_character_limit(tmp_path: pathlib.Path, sample_table: Table):CODE
LOWpython/tests/test_alter.py726def test_set_table_description_character_limit(CODE
LOWpython/tests/test_alter.py744def test_set_table_metadata_name_none_should_raise_error(CODE
LOWpython/tests/test_generated_columns.py88def test_create_table_with_generated_columns(tmp_path, gc_schema: DeltaSchema):CODE
388 more matches not shown…
Decorative Section Separators56 hits · 246 pts
SeverityFileLineSnippetContext
MEDIUM⚡Cargo.toml102# ============================================================================COMMENT
MEDIUM⚡Cargo.toml104# ============================================================================COMMENT
MEDIUM⚡Cargo.toml113# ============================================================================COMMENT
MEDIUM…tes/core/tests/it_datafusion/integration_checkpoint.rs364 // ── Step 1: open at version 0 (pre-checkpointProtection) ──────────────────────────COMMENT
MEDIUM…tes/core/tests/it_datafusion/integration_checkpoint.rs386 // ── Step 2: create_checkpoint via the old-version handle ──────────────────────────COMMENT
MEDIUM…tes/core/tests/it_datafusion/integration_checkpoint.rs421 // ── Step 3: latest table state must be undisturbed ────────────────────────────────COMMENT
MEDIUM…tes/core/tests/it_datafusion/integration_checkpoint.rs449 // ── Step 4: current-version checkpoint path must also work ────────────────────────COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs22//! ┌─────────────────────┐COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs24//! └──────────▲──────────┘COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs26//! ┌──────────┴──────────┐COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs28//! └──────────▲──────────┘COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs30//! ┌──────────┴──────────┐COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs33//! └────▲───────────▲────┘COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs34//! ┌──────────────────┘ └────────────────────┐COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs36//! ┌─────────┴─────────┐ ┌───────────┴──────────┐COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs41//! └─────────▲─────────┘ │ the kept files ╞═══╗COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs42//! │ └───────────▲──────────┘ ║COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs44//! ┌─────────┴─────────┐ ┌───────────┴──────────┐ ║ file id in theCOMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs46//! │ read once │ └───────────▲──────────┘ ║ [T F F F]COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs47//! └───────────────────┘ │ ║COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs48//! ┌───────────┴──────────┐ ║COMMENT
MEDIUM⚡crates/core/src/operations/merge/source_stats.rs53//! └──────────────────────┘COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs10//! ┌─────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs15//! └──────────────┬──────────────┘COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs16//! ┌──────────────────────────────┼──────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs19//! ┌───────────────────┐ ┌───────────────────┐ ┌───────────────────┐COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs21//! └─────────┬─────┬───┘ └───────────────────┘ └───────────────────┘COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs24//! │ │ ┌───────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs25//! │ └────────────────────────────────►│ finish tasks │COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs28//! ┌───────────────────┐ │ last part, complete upload, │COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs30//! │ open: part-00002 │ └───────────────────────────────┘COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs34//! └─────────┬─────────┘COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs37//! ┌─────────────────────┐COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs39//! └─────────┬───────────┘ leaf columns and sends each one to that column's worker taskCOMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs40//! ┌───────────┼───────────┐COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs44//! └───────────┼───────────┘ arrive, and returns its column chunk when the rowCOMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs47//! ┌──────────────────────┐COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs49//! └─────────┬────────────┘ group's bytes to ParquetObjectWriterCOMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs52//! ┌───────────────────┐COMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs54//! └─────────┬─────────┘ one starts a multipart upload once its row groups reach that sizeCOMMENT
MEDIUM⚡crates/core/src/datafile/writer/mod.rs55//! ┌───────────┼───────────┐COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs17//! ┌─────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs23//! └─────────────┬───────────────┘COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs25//! ─────────────────────┼────────────────────────────────────COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs28//! ┌─────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs33//! └─────────────┬───────────────┘COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs36//! ┌───────────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs38//! │ ┌───────────────────────────────┐ │COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs44//! │ └──────────────┬────────────────┘ │COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs47//! │ ┌───────────────────────────────┐ │COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs54//! │ └───────────────────────────────┘ │COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs56//! └────────────────┬──────────────────┘COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs59//! ┌───────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs65//! └──────────────┬────────────────┘COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs68//! ┌───────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/kernel/transaction/mod.rs74//! └───────────────────────────────┘COMMENT
Over-Commented Block198 hits · 196 pts
SeverityFileLineSnippetContext
LOWCargo.toml101COMMENT
LOWrust-toolchain.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWcrates/opendal/tests/integration_s3.rs1//! End-to-end test of the generic OpenDAL backend over the `s3` service.COMMENT
LOWcrates/opendal/src/lib.rs41///COMMENT
LOW…tes/core/tests/it_datafusion/integration_datafusion.rs761 ];COMMENT
LOW…tes/core/tests/it_datafusion/integration_datafusion.rs781 // .column_statisticsCOMMENT
LOW…tes/core/tests/it_datafusion/integration_datafusion.rs801 // Precision::Exact(ScalarValue::Date32(Some(19289)))COMMENT
LOW…tes/core/tests/it_datafusion/integration_datafusion.rs821 // Precision::Exact(ScalarValue::TimestampMicrosecond(COMMENT
LOW…tes/core/tests/it_datafusion/integration_datafusion.rs1141 let metrics = get_scan_metrics(&table, &state, &[e]).await?;COMMENT
LOW…tes/core/tests/it_datafusion/integration_checkpoint.rs241COMMENT
LOW…tes/core/tests/it_datafusion/integration_checkpoint.rs341/// historical protocol level.COMMENT
LOWcrates/core/src/lib.rs1//! Native Delta Lake implementation in RustCOMMENT
LOWcrates/core/src/lib.rs21//! let table_url = Url::from_directory_path("/abs/test/tests/data/simple_table").unwrap();COMMENT
LOWcrates/core/src/lib.rs41//! ).await.unwrap();COMMENT
LOWcrates/core/src/lib.rs61//!COMMENT
LOWcrates/core/src/lib.rs181COMMENT
LOWcrates/core/src/lib.rs241 .snapshot()COMMENT
LOWcrates/core/src/errors.rs101 /// Error returned when attempting to write bad data to the tableCOMMENT
LOWcrates/core/src/data_catalog/storage/mod.rs21/// A `SchemaProvider` that scans an `ObjectStore` to automatically discover delta tables.COMMENT
LOWcrates/core/src/logstore/factories.rs101/// Trait for generating [LogStore] implementationsCOMMENT
LOWcrates/core/src/logstore/config.rs1//! Configuration for the Delta Log Store.COMMENT
LOWcrates/core/src/logstore/config.rs21/// input or the environment can be applied generically by key name.COMMENT
LOWcrates/core/src/logstore/config.rs101 /// Runtime configuration.COMMENT
LOWcrates/core/src/logstore/config.rs121 pub certificate: Option<CertificateConfig>,COMMENT
LOWcrates/core/src/logstore/config.rs321/// Parse a configuration value as a plain string (an infallible identity conversion).COMMENT
LOWcrates/core/src/logstore/scope.rs1//! Operation-scoped write isolation for [`LogStore`] backends.COMMENT
LOWcrates/core/src/logstore/scope.rs41/// Write-side handles for one in-flight operation. Produced by [`LogStore::begin_operation`].COMMENT
LOWcrates/core/src/logstore/mod.rs1//! # DeltaLake storage systemCOMMENT
LOWcrates/core/src/logstore/mod.rs21//! on the atomicity and durability guarantees of the implementation of this interface.COMMENT
LOWcrates/core/src/logstore/mod.rs181/// # use url::Url;COMMENT
LOWcrates/core/src/logstore/mod.rs221}COMMENT
LOWcrates/core/src/logstore/mod.rs361COMMENT
LOWcrates/core/src/logstore/mod.rs481COMMENT
LOWcrates/core/src/logstore/parquet_reader.rs21/// Reads Parquet files in object storage using [`ObjectStore`].COMMENT
LOWcrates/core/src/logstore/storage/retry_ext.rs1//! Retry extension for [`ObjectStore`]COMMENT
LOWcrates/core/src/logstore/storage/retry_ext.rs21/// This trait provides additional methods for working with [`ObjectStore`] that automatically retryCOMMENT
LOWcrates/core/src/protocol/checkpoints.rs101 })COMMENT
LOWcrates/core/src/protocol/mod.rs221 pub action_type: String,COMMENT
LOWcrates/core/src/protocol/mod.rs241 /// Would usually only create the table, if also data is written,COMMENT
LOWcrates/core/src/protocol/mod.rs821 // let actions = table.snapshot().unwrap().add_actions_table(false).unwrap();COMMENT
LOWcrates/core/src/operations/vacuum.rs1//! Vacuum a Delta tableCOMMENT
LOWcrates/core/src/operations/vacuum.rs161#[derive(Debug, Default, Clone, PartialEq)]COMMENT
LOWcrates/core/src/operations/vacuum.rs181 /// Period of stale files allowed.COMMENT
LOWcrates/core/src/operations/vacuum.rs261 /// orphan listing).COMMENT
LOWcrates/core/src/operations/generate.rs1//!COMMENT
LOWcrates/core/src/operations/generate.rs21//! ├── part-00006-d0ec7722-b30c-4e1c-92cd-b4fe8d3bb954-c000.snappy.parquetCOMMENT
LOWcrates/core/src/operations/generate.rs41//! │   │   │   └── manifestCOMMENT
LOWcrates/core/src/operations/generate.rs61//! │   └── part-00000-89cdd4c8-2af7-4add-8ea3-3990b2f027b5.c000.snappy.parquetCOMMENT
LOWcrates/core/src/operations/optimize.rs1//! Optimize a Delta TableCOMMENT
LOWcrates/core/src/operations/optimize.rs381 selfCOMMENT
LOWcrates/core/src/operations/delete.rs1//! Delete records from a Delta Table that satisfy a predicateCOMMENT
LOWcrates/core/src/operations/delete.rs21//! # let schema = StructType::try_new(vec![COMMENT
LOWcrates/core/src/operations/delete.rs121 .field("commit_properties", &self.commit_properties)COMMENT
LOWcrates/core/src/operations/delete.rs241 ///COMMENT
LOWcrates/core/src/operations/update.rs1//! Update records from a Delta Table for records satisfy a predicateCOMMENT
LOWcrates/core/src/operations/filesystem_check.rs1//! Audit the Delta Table for active files that do not exist in the underlying filesystem and remove them.COMMENT
LOWcrates/core/src/operations/cdc.rs61///COMMENT
LOWcrates/core/src/operations/restore.rs1//! Perform restore of delta table to a specified version or datetimeCOMMENT
LOWcrates/core/src/operations/mod.rs1//! High level operations API to interact with Delta tablesCOMMENT
LOWcrates/core/src/operations/mod.rs101 })COMMENT
138 more matches not shown…
Fake / Example Data60 hits · 72 pts
SeverityFileLineSnippetContext
LOWcrates/core/src/operations/write/mod.rs2630 Arc::new(StringArray::from(vec![Some("555-4242")])),CODE
LOWcrates/core/src/kernel/transaction/mod.rs1294 ("userName".to_owned(), json!("Jane Doe")),CODE
LOWcrates/core/src/kernel/transaction/mod.rs1309 assert_eq!(info.user_name.as_deref(), Some("Jane Doe"));CODE
LOW⚡python/tests/test_alter.py67 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_alter.py72 assert next(dt.history(1))["userName"] == "John Doe"CODE
LOW⚡python/tests/test_alter.py126 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_alter.py129 assert next(dt.history(1))["userName"] == "John Doe"CODE
LOW⚡python/tests/test_alter.py582 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_alter.py585 assert next(dt.history(1))["userName"] == "John Doe"CODE
LOWpython/tests/test_writer.py2779 "details": {"address": "123 Main St", "email": "charlie@example.com"},CODE
LOWpython/tests/test_optimize.py134 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_optimize.py145 assert last_action["userName"] == "John Doe"CODE
LOW⚡python/tests/test_optimize.py173 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_optimize.py177 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_optimize.py445 "details": {"address": "123 Main St", "email": "charlie@example.com"},CODE
LOW⚡python/tests/test_delete.py31 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_delete.py37 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_update.py70 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_update.py81 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_repair.py26 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_repair.py33 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_merge.py31 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_merge.py73 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_merge.py2642 {"street": "123 Main St", "city": "Anytown", "state": "CA"},CODE
LOWpython/tests/test_create.py36 commit_properties=CommitProperties(custom_metadata={"userName": "John Doe"}),CODE
LOWpython/tests/test_create.py47 assert next(dt.history())["userName"] == "John Doe"CODE
LOWpython/tests/test_create.py112 commit_properties=CommitProperties(custom_metadata={"userName": "John Doe"}),CODE
LOWpython/tests/test_create.py127 assert next(dt.history())["userName"] == "John Doe"CODE
LOWpython/tests/test_create.py149 commit_properties=CommitProperties(custom_metadata={"userName": "John Doe"}),CODE
LOWpython/tests/test_create.py163 assert next(dt.history())["userName"] == "John Doe"CODE
LOW⚡python/tests/test_create.py189 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_create.py212 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_create.py227 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_create.py258 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_restore.py37 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_restore.py41 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_convert_to_delta.py35 commit_properties=CommitProperties(custom_metadata={"userName": "John Doe"}),CODE
LOWpython/tests/test_convert_to_delta.py48 assert commit["userName"] == "John Doe"CODE
LOW⚡python/tests/test_lakefs.py115 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_lakefs.py123 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_lakefs.py238 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_lakefs.py245 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_lakefs.py374 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_lakefs.py415 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_lakefs.py447 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_lakefs.py451 assert last_action["userName"] == "John Doe"CODE
LOWpython/tests/test_lakefs.py547 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_lakefs.py558 assert last_action["userName"] == "John Doe"CODE
LOW⚡python/tests/test_commit_properties.py219 custom_metadata={"userName": "Jane Doe", "userId": "jane"}CODE
LOW⚡python/tests/test_commit_properties.py224 assert history["userName"] == "Jane Doe"CODE
LOW⚡python/tests/test_commit_properties.py228 assert raw_commit_info["userName"] == "Jane Doe"CODE
LOW⚡python/tests/test_vacuum.py103 assert history[0]["userName"] == "John Doe"CODE
LOW⚡python/tests/test_vacuum.py104 assert history[1]["userName"] == "John Doe"CODE
LOW⚡python/tests/test_vacuum.py362 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_vacuum.py378 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_vacuum.py387 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_vacuum.py399 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW⚡python/tests/test_vacuum.py411 commit = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOWpython/tests/test_vacuum.py82 commit_properties = CommitProperties(custom_metadata={"userName": "John Doe"})CODE
LOW…hon/tests/pyspark_integration/test_write_to_pyspark.py222 "details": {"address": "123 Main St", "email": "charlie@example.com"},CODE
Unused Imports66 hits · 64 pts
SeverityFileLineSnippetContext
LOWpython/bench/streamed_merge/run.py12CODE
LOWpython/bench/streamed_merge/generate.py9CODE
LOWpython/bench/streamed_merge/report.py8CODE
LOWpython/bench/streamed_merge/merge_once.py7CODE
LOWpython/bench/streamed_merge/merge_once.py22CODE
LOWpython/deltalake/query.py1CODE
LOWpython/deltalake/transaction.py1CODE
LOWpython/deltalake/transaction.py8CODE
LOWpython/deltalake/__init__.py8CODE
LOWpython/deltalake/__init__.py8CODE
LOWpython/deltalake/__init__.py8CODE
LOWpython/deltalake/__init__.py8CODE
LOWpython/deltalake/__init__.py20CODE
LOWpython/deltalake/__init__.py21CODE
LOWpython/deltalake/__init__.py21CODE
LOWpython/deltalake/__init__.py21CODE
LOWpython/deltalake/__init__.py21CODE
LOWpython/deltalake/__init__.py22CODE
LOWpython/deltalake/__init__.py22CODE
LOWpython/deltalake/__init__.py22CODE
LOWpython/deltalake/__init__.py23CODE
LOWpython/deltalake/__init__.py23CODE
LOWpython/deltalake/__init__.py24CODE
LOWpython/deltalake/__init__.py24CODE
LOWpython/deltalake/__init__.py24CODE
LOWpython/deltalake/__init__.py24CODE
LOWpython/deltalake/__init__.py24CODE
LOWpython/deltalake/exceptions.py1CODE
LOWpython/deltalake/exceptions.py1CODE
LOWpython/deltalake/exceptions.py1CODE
LOWpython/deltalake/exceptions.py1CODE
LOWpython/deltalake/exceptions.py1CODE
LOWpython/deltalake/table.py1CODE
LOWpython/deltalake/table.py42CODE
LOWpython/deltalake/schema.py3CODE
LOWpython/deltalake/schema.py3CODE
LOWpython/deltalake/schema.py3CODE
LOWpython/deltalake/schema.py3CODE
LOWpython/deltalake/schema.py3CODE
LOWpython/deltalake/schema.py3CODE
LOWpython/deltalake/schema.py3CODE
LOWpython/deltalake/writer/_conversion.py1CODE
LOWpython/deltalake/writer/properties.py1CODE
LOWpython/deltalake/writer/__init__.py1CODE
LOWpython/deltalake/writer/__init__.py2CODE
LOWpython/deltalake/writer/__init__.py2CODE
LOWpython/deltalake/writer/__init__.py2CODE
LOWpython/deltalake/writer/__init__.py7CODE
LOWpython/deltalake/writer/writer.py1CODE
LOWpython/deltalake/writer/_utils.py1CODE
LOWpython/deltalake/writer/convert_to.py1CODE
LOWpython/deltalake/fs/_base_handler.py1CODE
LOWpython/deltalake/fs/_base_handler.py10CODE
LOWpython/deltalake/fs/_base_handler.py11CODE
LOWpython/deltalake/fs/_base_handler.py11CODE
LOWpython/deltalake/fs/fs_handler.py1CODE
LOWpython/deltalake/fs/__init__.py1CODE
LOWpython/tests/conftest.py1CODE
LOWpython/tests/test_threaded.py20CODE
LOWpython/tests/test_benchmark.py1CODE
6 more matches not shown…
Cross-Language Confusion8 hits · 42 pts
SeverityFileLineSnippetContext
HIGHpython/deltalake/writer/_conversion.py30 # (an existing null therefore falls through and stays null).COMMENT
HIGHpython/deltalake/fs/_base_handler.py66 return self._handler.equals(other)CODE
HIGHpython/tests/test_delete.py67 assert table.equals(expected_table)CODE
HIGHpython/tests/test_delete.py140 assert table.equals(expected_table)CODE
HIGHpython/tests/test_merge.py3426 assert result.equals(expected)CODE
HIGHpython/tests/test_file_system_handler.py166 assert table.equals(arrow_table)CODE
HIGHpython/tests/test_file_system_handler.py185 assert table.equals(ds_table)CODE
HIGHpython/tests/test_file_system_handler.py204 assert table.equals(ds_table)CODE
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHpython/tests/conftest.py53except Exception:CODE
HIGHpython/tests/test_fs.py20except ImportError:CODE
HIGHpython/tests/test_benchmark.py134except FileNotFoundError:CODE
HIGHpython/tests/test_benchmark.py200except Exception:CODE
HIGH…thon/tests/pyspark_integration/test_writer_readable.py22except ModuleNotFoundError:CODE
Synthetic Comment Markers3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md11## Using AI-generated codeCOMMENT
HIGHCONTRIBUTING.md17generated by AI with little to no engagement from the author may be closedCODE
HIGHCONTRIBUTING.md44Foundation's](https://apache.org) [guidance on AI-generatedCODE
AI Structural Patterns14 hits · 14 pts
SeverityFileLineSnippetContext
LOWpython/deltalake/transaction.py80CODE
LOWpython/deltalake/table.py332CODE
LOWpython/deltalake/table.py1024CODE
LOWpython/deltalake/table.py2521CODE
LOWpython/deltalake/table.py2610CODE
LOWpython/deltalake/writer/properties.py160CODE
LOWpython/deltalake/writer/writer.py27CODE
LOWpython/deltalake/writer/writer.py46CODE
LOWpython/deltalake/writer/writer.py65CODE
LOWpython/deltalake/writer/convert_to.py23CODE
LOWpython/tests/test_generated_columns.py57CODE
LOWpython/tests/test_generated_columns.py64CODE
LOWpython/tests/test_generated_columns.py76CODE
LOWpython/tests/test_cleanup.py39CODE
Excessive Try-Catch Wrapping12 hits · 14 pts
SeverityFileLineSnippetContext
LOWpython/tests/conftest.py53 except Exception:CODE
LOWpython/tests/test_tracing.py130 except Exception as e:CODE
LOWpython/tests/test_threaded.py38 except Exception as e:CODE
LOWpython/tests/test_threaded.py155 except Exception as err:CODE
LOWpython/tests/test_threaded.py171 except Exception as err:CODE
MEDIUMpython/tests/test_threaded.py146def run_update():CODE
LOWpython/tests/test_cleanup.py18 except Exception as e:CODE
MEDIUMpython/tests/test_cleanup.py19 print(f"Error deleting directory {data_path}: {e}")CODE
LOWpython/tests/test_benchmark.py200 except Exception:CODE
LOWpython/tests/test_delete_writer_properties.py111 except Exception as e:CODE
LOW…/tests/pyspark_integration/test_s3_conflict_checker.py158 except Exception as e:CODE
LOW…/tests/pyspark_integration/test_s3_conflict_checker.py272 except Exception as e:CODE
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/test_optimize.py432 # Define the data for the first writeCOMMENT
MEDIUMpython/tests/test_delete_writer_properties.py41 # Create a Delta table - use write_deltalake like other testsCOMMENT
MEDIUMpython/tests/test_delete_writer_properties.py137 # Create a Delta tableCOMMENT
MEDIUM.github/labeler.yml2# This file contains the defined labels for <https://github.com/actions/labeler>COMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpython/README.md56# For authentication, set OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=your-api-key"COMMENT
HIGHpython/deltalake/__init__.py75 os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = "x-honeycomb-team=your-api-key"STRING
Verbosity Indicators5 hits · 9 pts
SeverityFileLineSnippetContext
LOWcrates/core/src/protocol/checkpoints.rs145 // Step 1: Find min_retention_version among DELTA_LOG files with ts >= cutoff_timestampCOMMENT
LOW⚡crates/core/src/protocol/checkpoints.rs163 // Step 2: Move keep_version down to the minimum version inside the retention period to make sureCOMMENT
LOW⚡crates/core/src/protocol/checkpoints.rs167 // Step 3: Find safe checkpoint with checkpoint_version <= keep_version (no ts restriction)COMMENT
LOWcrates/core/src/protocol/checkpoints.rs192 // Step 4: Delete DELTA_LOG files where log_ver < safe_checkpoint_version && ts <= cutoff_timestampCOMMENT
LOWcrates/core/src/kernel/transaction/conflict_checker.rs521 // Here we need to check if the current transaction would have read theCOMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/core/src/protocol/checkpoints.rs145 // Step 1: Find min_retention_version among DELTA_LOG files with ts >= cutoff_timestampCOMMENT
LOW⚡crates/core/src/protocol/checkpoints.rs163 // Step 2: Move keep_version down to the minimum version inside the retention period to make sureCOMMENT
LOW⚡crates/core/src/protocol/checkpoints.rs167 // Step 3: Find safe checkpoint with checkpoint_version <= keep_version (no ts restriction)COMMENT
LOWcrates/core/src/protocol/checkpoints.rs192 // Step 4: Delete DELTA_LOG files where log_ver < safe_checkpoint_version && ts <= cutoff_timestampCOMMENT
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWpython/bench/streamed_merge/generate.py279CODE
LOWpython/deltalake/_util.py6CODE
LOWpython/deltalake/table.py888CODE
LOWpython/deltalake/writer/_conversion.py7CODE
LOWpython/deltalake/writer/_conversion.py26CODE
LOWpython/deltalake/writer/_conversion.py68CODE
LOWpython/deltalake/writer/properties.py160CODE
LOWpython/tests/test_writer.py1191CODE
Modern Structural Boilerplate7 hits · 7 pts
SeverityFileLineSnippetContext
LOWpython/deltalake/query.py10logger = logging.getLogger(__name__)CODE
LOWpython/deltalake/__init__.py140__all__ = [CODE
LOWpython/deltalake/exceptions.py9__all__ = [CODE
LOWpython/deltalake/table.py1394 def update_incremental(self) -> None:CODE
LOWpython/deltalake/schema.py13__all__ = [CODE
LOWpython/deltalake/writer/__init__.py9__all__ = [CODE
LOWpython/deltalake/fs/__init__.py3__all__ = ["DeltaStorageHandler"]CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpython/deltalake/table.py610 Load the Change Data Feed (CDF) from the Delta table as a stream of record batches. Parameters: STRING
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…/src/delta_datafusion/table_provider/next/scan/plan.rs8//! leverage predicates as best as possible both when integrating withCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpython/tests/test_writer.py2196 # Check if it properly takes skippingNumIndexCols from the config in the tableCOMMENT
LOWpython/tests/test_writer.py2296 # Check if it properly takes skippingNumIndexCols from the config in the tableCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpython/tests/test_benchmark.py17# NOTE: make sure to run these in release mode withCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdev/release/update_change_log.sh9# Usage:COMMENT