AI Slop Code RIsk Monitor

Eventual-Inc/Daft

High-performance data engine for AI and multimodal workloads. Process images, audio, video, and structured data at any scale

19.5 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Eventual-Inc/Daft, a Rust project with 5,795 GitHub stars. SynthScan examined 521,025 lines of code across 2543 source files, recording 7339 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 19.5 (Elevated 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.

19.5
Adjusted Signal
19.5
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
5.8K
Stars
Rust
Language
521.0K
Lines of Code
2.5K
Files
7.3K
Pattern Hits
2026-10-12
Scan Date
0.16
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 45.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 13.9/100 · LOW

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

Agent Over-Engineering Ratio 46.5/100 · MEDIUM

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

PR Review Velocity Impact 63.6/100 · HIGH

Which changes need focused human review? 7339 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 3HIGH 399MEDIUM 591LOW 6346

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

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

Hyper-Verbose Identifiers4104 hits · 4162 pts
SeverityFileLineSnippetContext
LOWtools/convert_md_to_notebook.py33def convert_admonition_to_html(match: re.Match) -> str:CODE
LOWtools/convert_md_to_notebook.py108def escape_angle_brackets_in_backticks(content: str) -> str:CODE
LOWtools/convert_md_to_notebook.py124def convert_markdown_links_to_html(content: str) -> str:CODE
LOWtools/convert_md_to_notebook.py138def convert_code_blocks_to_html(content: str) -> str:CODE
LOWtools/convert_md_to_notebook.py154def convert_admonition_to_html_direct(admonition_type: str, title: str | None, content: str) -> str:CODE
LOWtools/convert_md_to_notebook.py274def create_colab_badge_markdown(notebook_path: str, branch: str = "main", for_mkdocs: bool = False) -> str:CODE
LOWtools/convert_md_to_notebook.py310def update_colab_badge_in_markdown(CODE
LOWtests/conftest.py35def get_tests_daft_runner_name() -> Literal["ray", "native"]:CODE
LOWtests/conftest.py58 def __arrow_ext_deserialize__(cls, storage_type, serialized):CODE
LOW⚡tests/test_datatypes.py419def test_datatype_property_access_equals_call(name, expected):CODE
LOW⚡tests/test_datatypes.py429def test_datatype_property_hash_consistency(name, expected):CODE
LOW⚡tests/test_datatypes.py437def test_datatype_property_isinstance():CODE
LOW⚡tests/test_datatypes.py501def test_datatype_schema_from_field_name_and_types():CODE
LOW⚡tests/test_datatypes.py510def test_datatype_infer_with_property():CODE
LOW⚡tests/test_datatypes.py517def test_datatype_property_set_dedup():CODE
LOWtests/test_datatypes.py90def test_subscripted_datatype_parsing(source, expected):CODE
LOWtests/test_datatypes.py190def test_is_fixed_size_binary(test_type):CODE
LOWtests/test_datatypes.py217def test_is_fixed_shape_image(test_type):CODE
LOWtests/test_datatypes.py235def test_is_fixed_shape_tensor(test_type):CODE
LOWtests/test_datatypes.py247def test_is_fixed_shape_sparse_tensor(test_type: DataType):CODE
LOWtests/test_datatypes.py311def test_struct_fields_property(test_type: DataType):CODE
LOWtests/test_datatypes.py323def test_precision_and_scale_properties(test_type):CODE
LOWtests/test_datatypes.py361def test_use_offset_indices_property(test_type: DataType):CODE
LOWtests/test_datatypes.py463def test_datatype_property_call_is_same_instance():CODE
LOWtests/test_datatypes.py490def test_only_simple_datatype_singletons_are_callable():CODE
LOWtests/test_datatypes.py536def test_datatype_property_dict_key():CODE
LOWtests/test_datatypes.py551def test_datatype_property_repr():CODE
LOWtests/test_datatypes.py578def test_datatype_property_call_returns_datatype():CODE
LOWtests/test_datatypes.py605def test_datatype_property_with_complex_types():CODE
LOWtests/test_datatypes.py677def test_datatype_property_is_methods():CODE
LOWtests/test_datatypes.py690def test_datatype_constructor_names_no_underscore():CODE
LOW⚡tests/test_session.py174def test_list_namespaces_catalog_qualified_pattern():CODE
LOW⚡tests/test_session.py182def test_list_namespaces_only_current_catalog_without_pattern():CODE
LOW⚡tests/test_session.py191def test_list_namespaces_returns_empty_without_current_catalog():CODE
LOW⚡tests/test_session.py201def test_list_namespaces_round_trips_with_list_tables():CODE
LOW⚡tests/test_session.py465def test_set_provider_and_current_provider(monkeypatch):CODE
LOW⚡tests/test_session.py473def test_set_provider_with_provider_instance():CODE
LOW⚡tests/test_session.py482def test_set_provider_with_provider_instance_toplevel():CODE
LOWtests/test_session.py15def test_current_session_exists():CODE
LOWtests/test_session.py99def test_list_tables_returns_identifiers():CODE
LOWtests/test_session.py111def test_list_tables_with_attached_catalog():CODE
LOWtests/test_session.py121def test_list_tables_temp_plus_catalog():CODE
LOWtests/test_session.py132def test_list_tables_catalog_qualified_pattern():CODE
LOWtests/test_session.py140def test_list_tables_narrows_to_current_namespace():CODE
LOWtests/test_session.py154def test_list_tables_only_current_catalog_without_pattern():CODE
LOWtests/test_session.py163def test_list_namespaces_with_attached_catalog():CODE
LOWtests/test_session.py229def test_create_temp_view_replaces_existing():CODE
LOWtests/test_session.py239def test_attach_accepts_dataframe_with_alias():CODE
LOWtests/test_session.py442def test_attach_provider_with_alias():CODE
LOWtests/test_session.py499def test_set_provider_with_provider_instance_replaces_existing():CODE
LOWtests/test_session.py512def test_set_provider_with_provider_instance_twice_raises():CODE
LOWtests/test_session.py524def test_set_provider_with_provider_instance_and_options_raises():CODE
LOWtests/test_session.py532def test_set_provider_with_provider_instance_then_string():CODE
LOWtests/test_session.py544def test_current_session_drop_table():CODE
LOWtests/test_session.py581def test_session_catalog_function_fallback():CODE
LOWtests/test_session.py602def test_session_catalog_function_fallback_raises():CODE
LOWtests/test_session.py611def test_session_function_priority_over_catalog():CODE
LOWtests/test_session.py634def test_dataframe_select_with_catalog_get_function():CODE
LOWtests/test_session.py653def test_catalog_register_cls_udf_from_external_module():CODE
LOWtests/test_scarf_telemetry.py41def test_scarf_telemetry_basic(CODE
4044 more matches not shown…
Decorative Section Separators444 hits · 1642 pts
SeverityFileLineSnippetContext
MEDIUM⚡k8s/charts/quickstart/values.yaml26# ============================================================================COMMENT
MEDIUM⚡k8s/charts/quickstart/values.yaml28# ============================================================================COMMENT
MEDIUM⚡k8s/charts/quickstart/values.yaml37# ============================================================================COMMENT
MEDIUM⚡k8s/charts/quickstart/values.yaml39# ============================================================================COMMENT
MEDIUM⚡k8s/charts/quickstart/values.yaml44 # --------------------------------------------------------------------------COMMENT
MEDIUM⚡k8s/charts/quickstart/values.yaml46 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml11# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml13# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml78 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml80 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml91 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml93 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml105 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml107 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml120 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml122 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml137 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml139 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml171# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml173# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml264# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml266# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml330# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml332# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml349# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml351# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml367# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml369# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml386 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml388 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml401 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/charts/quickstart/values.yaml403 # --------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py101# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py103# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py142# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py144# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py168# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py170# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py291# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py293# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py322# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py324# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py355# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_asof_join_nearest.py357# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py17# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py535# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py537# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py636# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py638# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_checkpoint_commit_helpers.py53# ── empty_write_result ────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/dataframe/test_checkpoint_commit_helpers.py73# ── decode_file_metadata ──────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/dataframe/test_sort_shuffle_elision.py104# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_sort_shuffle_elision.py106# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_sort_shuffle_elision.py116# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_sort_shuffle_elision.py118# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_sort_shuffle_elision.py169# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_sort_shuffle_elision.py171# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_sort_shuffle_elision.py238# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dataframe/test_sort_shuffle_elision.py240# ---------------------------------------------------------------------------COMMENT
384 more matches not shown…
Unused Imports1411 hits · 1152 pts
SeverityFileLineSnippetContext
LOWtools/upload_droid_scene_classifications.py20CODE
LOWtools/convert_md_to_notebook.py12CODE
LOWtools/trace_to_speedscope.py15CODE
LOWtests/conftest.py1CODE
LOWtests/conftest.py17CODE
LOWtests/test_datatypes.py1CODE
LOWtests/test_session.py1CODE
LOWtests/test_scarf_telemetry.py1CODE
LOWtests/_hf_retry.py15CODE
LOWtests/test_schema.py1CODE
LOWtests/test_import.py1CODE
LOWtests/utils.py1CODE
LOWtests/test_subscribers.py1CODE
LOWtests/test_trace_to_speedscope.py1CODE
LOWtests/test_extension_type.py1CODE
LOWtests/test_context.py1CODE
LOWtests/test_lazy_import.py1CODE
LOWtests/test_size_estimations.py1CODE
LOWtests/test_events.py1CODE
LOWtests/test_resource_requests.py1CODE
LOWtests/test_logger.py1CODE
LOWtests/test_datatype_inference.py1CODE
LOWtests/series/test_tensor.py1CODE
LOWtests/series/test_bitwise.py1CODE
LOWtests/series/test_html_repr.py3CODE
LOWtests/series/test_list.py1CODE
LOWtests/series/test_cast.py1CODE
LOWtests/series/test_if_else.py1CODE
LOWtests/series/test_filter.py1CODE
LOWtests/series/test_image.py1CODE
LOWtests/series/__init__.py1CODE
LOWtests/series/test_utf8_ops.py1CODE
LOWtests/series/test_comparisons.py1CODE
LOWtests/series/test_sort.py1CODE
LOWtests/series/test_numeric_ops.py1CODE
LOWtests/series/test_embedding.py1CODE
LOWtests/series/test_size_bytes.py1CODE
LOWtests/series/test_take.py1CODE
LOWtests/series/test_partitioning.py1CODE
LOWtests/series/test_sparse_tensor.py1CODE
LOWtests/series/test_hash.py1CODE
LOWtests/series/test_try_cast.py3CODE
LOWtests/series/test_concat.py1CODE
LOWtests/series/test_slice.py1CODE
LOWtests/series/test_stddev.py1CODE
LOWtests/series/test_fill_null.py1CODE
LOWtests/series/test_float.py1CODE
LOWtests/series/test_arithmetic.py1CODE
LOWtests/series/test_temporal_ops.py1CODE
LOWtests/series/test_series.py1CODE
LOWtests/series/test_minhash.py1CODE
LOWtests/property_based_testing/strategies.py1CODE
LOWtests/property_based_testing/test_sort.py1CODE
LOWtests/dataframe/test_to_pylist.py1CODE
LOWtests/dataframe/test_into_batches.py1CODE
LOWtests/dataframe/test_map_groups.py1CODE
LOWtests/dataframe/test_into_partitions.py1CODE
LOWtests/dataframe/conftest.py1CODE
LOWtests/dataframe/test_with_column.py1CODE
LOWtests/dataframe/test_transform.py1CODE
1351 more matches not shown…
Docstring Block Structure257 hits · 1102 pts
SeverityFileLineSnippetContext
HIGHdocs/contributing/development.md366Summary of method Args: arg1: description Returns: return1: description Raises: title (opSTRING
HIGHdaft/window.py47Partitions the dataset by one or more columns or expressions. Args: *cols: Columns or expressions oSTRING
HIGHdaft/window.py83Orders rows within each partition by specified columns or expressions. Args: *cols: Columns or exprSTRING
HIGHdaft/window.py136Restricts each window to a row-based frame between start and end boundaries. This defines a sliding window baseSTRING
HIGHdaft/window.py197Restricts each window to a range-based frame between start and end boundaries. This defines a window frame baseSTRING
HIGHdaft/convert.py32Creates a DataFrame from a list of dictionaries. Args: data: List of dictionaries, where each key is a coluSTRING
HIGHdaft/convert.py63Creates a DataFrame from a Python dictionary. Args: data: Key -> Sequence[item] of data. Each Key is createSTRING
HIGHdaft/convert.py97Creates a DataFrame from Arrow data. Accepts pyarrow Tables, lists/iterables of pyarrow Tables, or any object iSTRING
HIGHdaft/convert.py142Creates a Daft DataFrame from a pandas DataFrame. Args: data: pandas DataFrame(s) that we wish to convert iSTRING
HIGHdaft/convert.py177Creates a DataFrame from a Ray Dataset. Args: ds: The Ray Dataset to create a Daft DataFrame from. RetSTRING
HIGHdaft/convert.py217Creates a Daft DataFrame from a Dask DataFrame. The provided Dask DataFrame must have been created using [Dask-on-RSTRING
HIGHdaft/convert.py261Concatenates multiple DataFrames into a single DataFrame. All DataFrames must have exactly the same schema. ArSTRING
HIGHdaft/session.py403Creates a temp table scoped to this session's lifetime. Args: identifier (str): table identifier (nSTRING
HIGHdaft/session.py544Returns the catalog or raises an exception if it does not exist. Args: identifier (str): catalog idSTRING
HIGHdaft/session.py558Returns the provider or raises an exception if it does not exist. Args: identifier (str): provider STRING
HIGHdaft/session.py572Returns the table or raises an exception if it does not exist. Args: identifier (Identifier|str): tSTRING
HIGHdaft/session.py661Returns a list of available namespaces. Args: - pattern (str, optional): Pattern to match namespaceSTRING
HIGHdaft/session.py679Returns a list of available tables. Args: - pattern (str, optional): Pattern to match table names. STRING
HIGHdaft/session.py701Returns the table as a DataFrame or raises an exception if it does not exist. Args: identifier (IdeSTRING
HIGHdaft/session.py1109Locate the native library for the current platform in the module's directory. Args: mod (types.ModuleType):STRING
HIGHdaft/dataframe/dataframe.py279Apply the function to this DataFrame. Args: function (Callable[Concatenate["DataFrame", P], T]): FuSTRING
HIGHdaft/dataframe/dataframe.py318Prints the (logical and physical) plans that will be executed to produce this DataFrame. Defaults to showing thSTRING
HIGHdaft/dataframe/dataframe.py533Return an iterator of rows for this dataframe. Each row will be a Python dictionary of the form `{ "key" : valuSTRING
HIGHdaft/dataframe/dataframe.py620Return an iterator of pyarrow recordbatches for this dataframe. Args: results_buffer_size: how manySTRING
HIGHdaft/dataframe/dataframe.py675Begin executing this dataframe and return an iterator over the partitions. Each partition will be returned as aSTRING
HIGHdaft/dataframe/dataframe.py918Write the DataFrame to a SQL database and return write metrics. The write is executed via :meth:`daft.DataFrameSTRING
HIGHdaft/dataframe/dataframe.py1028Writes the DataFrame as parquet files, returning a new DataFrame with paths to the files that were written. FilSTRING
HIGHdaft/dataframe/dataframe.py1125Writes the DataFrame as CSV files, returning a new DataFrame with paths to the files that were written. Files wSTRING
HIGHdaft/dataframe/dataframe.py1238Writes the DataFrame as JSON files, returning a new DataFrame with paths to the files that were written. Files STRING
HIGHdaft/dataframe/dataframe.py1338Writes the DataFrame as Avro files, returning a new DataFrame with paths to the files that were written. Files STRING
HIGHdaft/dataframe/dataframe.py1413Writes the DataFrame to an [Iceberg](https://iceberg.apache.org/docs/nightly/) table, returning a new DataFrame with theSTRING
HIGHdaft/dataframe/dataframe.py1860Writes the DataFrame to an Apache Paimon table, returning a summary DataFrame. Args: table (pypaimoSTRING
HIGHdaft/dataframe/dataframe.py1908Writes the DataFrame to a [Delta Lake](https://docs.delta.io/latest/index.html) table, returning a new DataFrame with thSTRING
HIGHdaft/dataframe/dataframe.py2439Writes the DataFrame to a Lance table. Args: uri: The URI of the Lance table to write to. Accepts a lSTRING
HIGHdaft/dataframe/dataframe.py2858Gets a column from the DataFrame as an Expression (``df["mycol"]``). Args: item (Union[int, str, slSTRING
HIGHdaft/dataframe/dataframe.py2958Generates a column of monotonically increasing unique ids for the DataFrame. The implementation of this method STRING
HIGHdaft/dataframe/dataframe.py2997Creates a new DataFrame from the provided expressions, similar to a SQL ``SELECT``. Args: *columns STRING
HIGHdaft/dataframe/dataframe.py3086Computes distinct rows, dropping duplicates. Optionally, specify a subset of columns to perform distinct on. STRING
HIGHdaft/dataframe/dataframe.py3134Computes distinct rows, dropping duplicates. Alias for [DataFrame.distinct][daft.DataFrame.distinct]. STRING
HIGHdaft/dataframe/dataframe.py3166Computes distinct rows, dropping duplicates. Alias for [DataFrame.distinct][daft.DataFrame.distinct]. STRING
HIGHdaft/dataframe/dataframe.py3204Samples rows from the DataFrame. Args: fraction (Optional[float]): fraction of rows to sample (betwSTRING
HIGHdaft/dataframe/dataframe.py3276Drops columns from the current DataFrame by name. This is equivalent of performing a select with all the columnSTRING
HIGHdaft/dataframe/dataframe.py3310Filters rows via a predicate expression, similar to SQL ``WHERE``. Alias for [daft.DataFrame.where][daft.DataFrSTRING
HIGHdaft/dataframe/dataframe.py3344Filters rows via a predicate expression, similar to SQL ``WHERE``. Args: predicate (Expression): exSTRING
HIGHdaft/dataframe/dataframe.py3407Filter out rows whose key(s) already exist in existing data (i.e., already processed rows). This method reads eSTRING
HIGHdaft/dataframe/dataframe.py3570Adds a column to the current DataFrame with an Expression, equivalent to a ``select`` with all current columns and the nSTRING
HIGHdaft/dataframe/dataframe.py3605Adds columns to the current DataFrame with Expressions, equivalent to a ``select`` with all current columns and the new STRING
HIGHdaft/dataframe/dataframe.py3639Renames a column in the current DataFrame. If the column in the DataFrame schema does not exist, this will be aSTRING
HIGHdaft/dataframe/dataframe.py3673Renames multiple columns in the current DataFrame. If the columns in the DataFrame schema do not exist, this wiSTRING
HIGHdaft/dataframe/dataframe.py3711Sorts DataFrame globally. Args: by (Union[ColumnInputType, List[ColumnInputType]]): column to sort STRING
HIGHdaft/dataframe/dataframe.py3803Limits the rows in the DataFrame to the first ``N`` rows, similar to a SQL ``LIMIT``. Args: num (inSTRING
HIGHdaft/dataframe/dataframe.py3840Returns a new DataFrame by skipping the first ``N`` rows, similar to a SQL ``Offset``. Args: num (iSTRING
HIGHdaft/dataframe/dataframe.py3921Repartitions DataFrame to ``num`` partitions. If columns are passed in, then DataFrame will be repartitioned bySTRING
HIGHdaft/dataframe/dataframe.py4002Splits or coalesces DataFrame to partitions of size ``batch_size``. Note: Batch sizing is performedSTRING
HIGHdaft/dataframe/dataframe.py4041Column-wise join of the current DataFrame with an ``other`` DataFrame, similar to a SQL ``JOIN``. If the two DaSTRING
HIGHdaft/dataframe/dataframe.py4140Point-in-time (asof) join: each left row matches the nearest right row according to the chosen strategy. Args: STRING
HIGHdaft/dataframe/dataframe.py4243Concatenates two DataFrames together in a "vertical" concatenation. The resulting DataFrame has number of rows STRING
HIGHdaft/dataframe/dataframe.py4289Drops rows that contains NaNs. If cols is None it will drop rows with any NaN value. If column names are suppliSTRING
HIGHdaft/dataframe/dataframe.py4363Drops rows that contains NaNs or NULLs. If cols is None it will drop rows with any NULL value. If column names STRING
HIGHdaft/dataframe/dataframe.py4406Explodes a List column, where every element in each row's List becomes its own row, and all other columns in the DataFraSTRING
197 more matches not shown…
Cross-Language Confusion61 hits · 369 pts
SeverityFileLineSnippetContext
HIGHtests/conftest.py105 assert df1.equals(df2)CODE
HIGHtests/series/test_cast.py398 assert t.list.length().to_pylist() == [3, 3, 3, 3, 2, 2, None]CODE
HIGHtests/series/test_cast.py427 assert t.list.length().to_pylist() == [3, 3, 3, 3, 3, 3, None]CODE
HIGHtests/series/test_cast.py459 assert t.list.length().to_pylist() == [3, 3, 3, 3, 3, 3, None]CODE
HIGHtests/series/test_cast.py481 assert t.list.length().to_pylist() == [3, 3, 3, None]CODE
HIGHtests/series/test_cast.py506 assert t.list.length().to_pylist() == [12, 27, None]CODE
HIGHtests/series/test_cast.py540 assert t.list.length().to_pylist() == [6, 27, None]CODE
HIGHtests/series/test_cast.py581 assert t.list.length().to_pylist() == [12, 12, None]CODE
HIGH⚡tests/series/test_utf8_ops.py266 result = s.str.length()CODE
HIGH⚡tests/series/test_utf8_ops.py272 result = s.str.length()CODE
HIGH⚡tests/series/test_utf8_ops.py278 result = s.str.length()CODE
HIGH⚡tests/series/test_utf8_ops.py284 result = s.str.length()CODE
HIGH⚡tests/series/test_utf8_ops.py290 result = s.str.length()CODE
HIGHtests/dataframe/test_asof_join_nearest.py218 """A group with no right rows produces null; other groups still match correctly."""STRING
HIGH⚡tests/dataframe/test_window_first_last_value.py333 # Trailing nulls: last element is null, so all rows see nullCOMMENT
HIGHtests/dataframe/test_creation.py972 ['{"foo": {}}', '{"foo":null}'],CODE
HIGHtests/integration/test_file_udfs_s3.py45 expected = df.select(df["path"].download().binary.length()).to_pydict()CODE
HIGHtests/integration/iceberg/test_glue_iceberg.py110 assert read_back_pd.equals(df_pd), "Did not write data correctly to Glue Iceberg table"STRING
HIGHtests/io/test_parquet_roundtrip.py271 assert ba.equals(aa, check_metadata=False)CODE
HIGH⚡tests/recordbatch/test_from_py.py699 assert result.equals(arrow_arr)CODE
HIGH⚡tests/recordbatch/test_from_py.py707 assert result.equals(arrow_arr)CODE
HIGH⚡tests/recordbatch/test_from_py.py715 assert result.equals(arrow_arr)CODE
HIGH⚡tests/recordbatch/test_from_py.py723 assert result.equals(arrow_arr)CODE
HIGHtests/recordbatch/test_from_py.py749 assert result.equals(arrow_arr)CODE
HIGHtests/window/test_running_agg.py686 """Test all three count modes (all, valid, null)."""STRING
HIGHtests/expressions/test_to_arrow_expr.py189 # (lit("hello").str.length(), "utf8_length('hello')"),COMMENT
HIGHtests/expressions/typing/test_logical.py44 # NOT is resolvable for bool and null; `NOT (NULL)` is valid SQL and evaluates to NULL.COMMENT
HIGH⚡tests/functions/json/test_json_funcs.py20 "[null, null]",CODE
HIGH⚡tests/functions/json/test_jq.py9 '{ "a": null, "b": true, "c": 1, "d": 1.1, "e": "ABC" }',CODE
HIGH⚡tests/functions/json/test_jq.py10 '{ "a": null, "b": true, "c": 2, "d": 2.2, "e": "DEF" }',CODE
HIGH⚡tests/functions/json/test_jq.py11 '{ "a": null, "b": false, "c": 3, "d": 3.3, "e": "GHI" }',CODE
HIGH⚡tests/functions/json/test_jq.py12 '{ "a": null, "b": false, "c": 3, "d": 4.4, "e": "JKL" }',CODE
HIGH⚡tests/functions/json/test_jq.py13 '{ "a": null, "b": null, "c": null, "d": null, "e": null }',CODE
HIGHtests/functions/json/test_jq.py27 '{ "a": null, "b": true, "c": 1, "d": 1.1, "e": "ABC" }',CODE
HIGHtests/functions/json/test_jq.py30 '{ "a": null, "b": false, "c": 2, "d": 2.2, "e": "DEF" }',CODE
HIGHtests/functions/json/test_jq.py105 '{ "a": { "b": null } }',CODE
HIGH⚡tests/functions/serde/test_serde_json.py137 '{"a":null,"b":1,"c":1.1,"d":"ABC"}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py138 '{"a":null,"b":2,"c":2.2,"d":"DEF"}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py139 '{"a":null,"b":3,"c":3.3,"d":"GHI"}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py140 '{"a":null,"b":4,"c":4.4,"d":"JKL"}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py155 '{"a":1,"b":null,"c":"valid"}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py156 '{"a":null,"b":2,"c":null}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py170 '{"arr":[1,2,3],"map":{"a":null,"b":2},"struct":{"x":1,"y":"z"}}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py171 '{"arr":[4,5,6],"map":{"a":3,"b":null},"struct":{"x":2,"y":"w"}}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py172 '{"arr":null,"map":null,"struct":null}',CODE
HIGH⚡tests/functions/serde/test_serde_json.py186 '{"arr":null,"map":null}',CODE
HIGHtests/ray/test_datasets.py178 assert out_table.equals(expected_table), (out_table, expected_table)CODE
HIGHtests/sql/test_coalesce.py109 actual = daft.sql("select coalesce(null, 1, 2) as result from df")CODE
HIGH⚡tests/sql/test_coalesce.py123 actual = daft.sql("select coalesce(null, null, null) as result from df")CODE
HIGH⚡tests/sql/test_coalesce.py128 actual = daft.sql("select coalesce(col1, null) as result from df")CODE
HIGH⚡tests/sql/test_coalesce.py133 actual = daft.sql("select coalesce(null, col1) as result from df")CODE
HIGHtests/sql/test_aggs.py145 ("count(null) as null", "sum(values) > 10", {"null": [0, 0]}),STRING
HIGHexamples/dvector/tests/test_dvector.py125 """Cosine distance with zero-norm vector returns null, not error."""STRING
HIGHbenchmarking/tpcds/__main__.py90 if t1.equals(t2):CODE
HIGHbenchmarking/tpcds/__main__.py131 return lhs_casted.equals(rhs_casted)CODE
HIGHbenchmarking/tpcds/__main__.py133 return lhs.equals(rhs)CODE
HIGHdaft/dataframe/dataframe.py4159 DataFrame: Left-join-shaped result (every left row kept; unmatched right columns are null).STRING
HIGHdaft/io/delta_lake/delta_lake_write.py104 # min/max is infinity is equivalent to saying it is null, anyways.COMMENT
HIGHdaft/functions/misc.py621 """Returns the first non-null value in a list of expressions. If all inputs are null, returns null.STRING
HIGHdaft/functions/str.py37 Expression: A new expression with the deserialized value (or null).STRING
1 more matches not shown…
Self-Referential Comments112 hits · 358 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_size_estimations.py209 # Create a newline delimited JSON fileCOMMENT
MEDIUMtests/series/test_html_repr.py12 # Create a string longer than 1MBCOMMENT
MEDIUMtests/series/test_html_repr.py67 # Create a string with unicode characters near the 1MB boundaryCOMMENT
MEDIUMtests/series/test_html_repr.py88 # Create a dataframe with the Python objectCOMMENT
MEDIUMtests/series/test_html_repr.py102 # Create a list with many elements that would produce a large stringCOMMENT
MEDIUMtests/series/test_series.py312 # Create a Series with 1 million elements.COMMENT
MEDIUM⚡tests/dataframe/test_into_batches.py11 # Create a dataframe with 64 rows in a single partitionCOMMENT
MEDIUM⚡tests/dataframe/test_into_batches.py17 # Create a UDF that asserts each batch size is exactly 8COMMENT
MEDIUMtests/dataframe/test_into_batches.py34 # Create a dataframe with 64 rows split into 64 partitions (1 row each)COMMENT
MEDIUM⚡tests/dataframe/test_into_batches.py53 # Create a dataframe with 70 rows (not evenly divisible by 8)COMMENT
MEDIUM⚡tests/dataframe/test_into_batches.py59 # Create a UDF that checks batch sizesCOMMENT
MEDIUMtests/dataframe/test_aggregations.py910 # Create a DataFrame with duplicates that will be distributed across partitionsCOMMENT
MEDIUMtests/dataframe/test_shuffles.py60 # Create a temporary directory that automatically cleans upCOMMENT
MEDIUM⚡tests/dataframe/test_repr.py404 # Create a DataFrame and get its RecordBatchCOMMENT
MEDIUM⚡tests/dataframe/test_repr.py408 # Create a PreviewFormatter and generate interactive HTMLCOMMENT
MEDIUMtests/file/test_file_basics.py59 # Create a file in the temporary directoryCOMMENT
MEDIUMtests/file/test_file_basics.py80 # Create a simple red imageCOMMENT
MEDIUM⚡tests/integration/ai/test_openai.py250 # Create a green square imageCOMMENT
MEDIUM⚡tests/integration/ai/test_openai.py298 # Create a temporary image file (yellow square)COMMENT
MEDIUM⚡tests/integration/ai/test_openai.py514 # Create a red square imageCOMMENT
MEDIUM⚡tests/integration/ai/test_openai.py518 # Create a simple PDF fileCOMMENT
MEDIUMtests/integration/ai/test_openai.py206 # Create a simple test image (a red square)COMMENT
MEDIUMtests/integration/ai/test_openai.py359 # Create a simple test image (a blue square)COMMENT
MEDIUMtests/integration/ai/test_openai.py453 # Create a simple PDF fileCOMMENT
MEDIUM⚡tests/integration/ai/test_google.py196 # Create a green square imageCOMMENT
MEDIUM⚡tests/integration/ai/test_google.py246 # Create a temporary image file (yellow square)COMMENT
MEDIUM⚡tests/integration/ai/test_google.py462 # Create a red square imageCOMMENT
MEDIUM⚡tests/integration/ai/test_google.py466 # Create a simple PDF fileCOMMENT
MEDIUMtests/integration/ai/test_google.py151 # Create a simple test image (a red square)COMMENT
MEDIUMtests/integration/ai/test_google.py351 # Create a simple PDF fileCOMMENT
MEDIUMtests/integration/ai/test_google.py411 # Create a simple test image (a blue square)COMMENT
MEDIUMtests/integration/ray/autoscaling_cluster.py141 # Create the autoscaling cluster before ray.init()COMMENT
MEDIUMtests/integration/sql/test_write_sql.py359 # Create a DataFrame with non-primitive columns (list and struct)COMMENT
MEDIUM⚡tests/catalog/test_gravitino.py252 # Create a minimal schema mockCOMMENT
MEDIUM⚡tests/catalog/test_memory.py139 # Create a namespaceCOMMENT
MEDIUM⚡tests/catalog/test_memory.py144 # Create a table in namespaceCOMMENT
MEDIUM⚡tests/io/test_gravitino_io.py124 # Create a temporary directory with parquet files to simulate the underlying storageCOMMENT
MEDIUM⚡tests/io/test_gravitino_io.py126 # Create a simple DataFrame and save itCOMMENT
MEDIUM⚡tests/io/test_gravitino_io.py145 # Create a temporary directory with some filesCOMMENT
MEDIUM⚡tests/io/test_gravitino_io.py153 # Create a simple parquet fileCOMMENT
MEDIUM⚡tests/io/test_parquet_roundtrip.py121 # Define the expected data type for the tensor columnCOMMENT
MEDIUM⚡tests/io/test_parquet_roundtrip.py127 # Create a Daft DataFrame with the tensor dataCOMMENT
MEDIUM⚡tests/io/test_parquet_roundtrip.py210 # Create an array of random True/False values that are None 10% of the time.COMMENT
MEDIUM⚡tests/io/test_parquet_roundtrip.py213 # Create an array of random True/False values.COMMENT
MEDIUMtests/io/test_turbopuffer_write.py60 # Create a mock turbopuffer module with real exception classes.COMMENT
MEDIUMtests/io/test_turbopuffer_write.py114 # Create a mock turbopuffer module with real exception classes.COMMENT
MEDIUMtests/io/test_write_modes.py30 # Create a unique directory in the home directoryCOMMENT
MEDIUM⚡tests/io/test_gravitino_filesystem.py78 # Create a mock path that returns our gvfs URLCOMMENT
MEDIUM⚡tests/io/test_gravitino_filesystem.py81 # Create a regular Path object but override __str__COMMENT
MEDIUMtests/io/test_gravitino_filesystem.py380 # Create a mock logger to capture the errorCOMMENT
MEDIUMtests/io/test_csv.py396 # Create a MicroPartition with date and timestamp columnsCOMMENT
MEDIUMtests/io/test_csv.py416 # Create a CSVFileWriter with custom formatsCOMMENT
MEDIUMtests/io/test_jsonl_split_ranges.py16 # Create a test JSONL file in tmp_path - simplified format with more rowsCOMMENT
MEDIUMtests/io/test_jsonl_split_ranges.py84 # Create a test single-line JSON file in tmp_path - simplifiedCOMMENT
MEDIUM⚡tests/io/lancedb/test_lancedb_vector_search.py160 # Create a small indexCOMMENT
MEDIUM⚡tests/cookbook/test_write.py199 # Create a unique path to make sure that the writer is comfortable with nonexistent directoriesCOMMENT
MEDIUMtests/cookbook/test_write.py182 # Create a unique path to make sure that the writer is comfortable with nonexistent directoriesCOMMENT
MEDIUMtests/recordbatch/image/test_decode.py28 # Create an 8-bit grayscale imageCOMMENT
MEDIUMtests/recordbatch/image/test_decode.py34 # Create a 16-bit grayscale image (TIFF format supports 16-bit)COMMENT
MEDIUMtests/ai/google/test_google_prompter.py520 # Create a dummy numpy array imageCOMMENT
52 more matches not shown…
Empty Error Handlers71 hits · 350 pts
SeverityFileLineSnippetContext
HIGHtests/dataframe/test_variance.py60except StopIteration:CODE
HIGHtests/dataframe/test_variance.py79except StopIteration:CODE
HIGHtests/dataframe/test_variance.py113except StopIteration:CODE
HIGHtests/dataframe/test_variance.py132except StopIteration:CODE
HIGHtests/dataframe/test_temporals.py708except ValueError:CODE
HIGHtests/dataframe/test_stddev.py65except StopIteration:CODE
HIGHtests/dataframe/test_stddev.py82except StopIteration:CODE
HIGHtests/integration/io/conftest.py261except s3_client.exceptions.BucketAlreadyOwnedByYou:CODE
HIGHtests/integration/io/conftest.py227except FileNotFoundError:CODE
HIGHtests/integration/io/conftest.py379except Exception:CODE
HIGHtests/integration/io/test_write_files_s3_minio.py31except FileNotFoundError:CODE
HIGHtests/integration/io/parquet/test_writes_gcs.py43except FileNotFoundError:CODE
HIGH…ration/iceberg/test_iceberg_count_pushdown_coverage.py238except Exception:CODE
HIGH…sts/integration/gravitino/test_gravitino_fileset_s3.py64except Exception:CODE
HIGHtests/integration/gravitino/test_gravitino_table.py187except Exception:CODE
HIGHtests/integration/gravitino/test_gravitino_table.py178except Exception:CODE
HIGHtests/integration/sql/test_postgres_catalog.py128except Exception:CODE
HIGHtests/integration/sql/test_postgres_catalog.py323except Exception:CODE
HIGHtests/integration/sql/test_postgres_catalog.py328except Exception:CODE
HIGHtests/catalog/test_iceberg.py45except Exception:CODE
HIGHtests/catalog/test_iceberg.py56except Exception:CODE
HIGHtests/io/mock_aws_server.py41except requests.exceptions.ConnectionError:CODE
HIGHtests/io/test_gravitino_filesystem.py436except ValueError:CODE
HIGHtests/io/test_gravitino_filesystem.py105except TypeError:CODE
HIGHtests/udf/test_row_wise_udf.py443except ValueError:CODE
HIGHtests/udf/test_row_wise_udf.py457except ValueError:CODE
HIGHtests/udf/test_row_wise_udf.py471except ValueError:CODE
HIGHtests/udf/test_row_wise_udf.py485except ValueError:CODE
HIGHtests/udf/test_batch_udf.py233except ValueError:CODE
HIGHtests/udf/test_batch_udf.py436except ValueError:CODE
HIGHtests/udf/test_batch_udf.py450except ValueError:CODE
HIGHtests/ray/conftest.py115except Exception:CODE
HIGHtests/ray/test_udf_ray_options.py225except Exception:CODE
HIGHdaft/series.py162except pa.ArrowInvalid:CODE
HIGHdaft/series.py173except Exception:CODE
HIGHdaft/series.py134except pa.ArrowInvalid:CODE
HIGHdaft/utils.py149except ImportError:CODE
HIGHdaft/scarf_telemetry.py119except Exception:CODE
HIGHdaft/dataframe/dataframe.py777except Exception:CODE
HIGHdaft/dataframe/dataframe.py5809except Exception:CODE
HIGHdaft/catalog/__glue.py198except ValueError:CODE
HIGHdaft/catalog/__init__.py456except ValueError:CODE
HIGHdaft/catalog/__init__.py458except ImportError:CODE
HIGHdaft/catalog/__init__.py1020except ValueError:CODE
HIGHdaft/catalog/__init__.py1022except ImportError:CODE
HIGHdaft/catalog/__postgres.py112except AttributeError:CODE
HIGHdaft/catalog/__postgres.py135except AttributeError:CODE
HIGHdaft/catalog/__gravitino/_catalog.py166except ValueError:CODE
HIGHdaft/datasets/lerobot.py470except (OSError, DaftCoreException, FileNotFoundError):CODE
HIGHdaft/io/gravitino_filesystem.py190except Exception:CODE
HIGHdaft/io/delta_lake/delta_lake_write.py31except ImportError:CODE
HIGHdaft/io/delta_lake/delta_lake_scan.py184except daft.exceptions.DaftCoreException:CODE
HIGHdaft/io/huggingface/sink.py194except EntryNotFoundError:CODE
HIGHdaft/recordbatch/recordbatch.py123except pa.ArrowInvalid:CODE
HIGHdaft/execution/udf_worker.py98except Exception:CODE
HIGHdaft/execution/udf.py198except (BrokenPipeError, EOFError):CODE
HIGHdaft/ai/utils.py85except (TypeError, ValueError):CODE
HIGHdaft/functions/url.py77except ImportError:CODE
HIGHdaft/pickle/cloudpickle.py233except Exception:CODE
HIGHdaft/pickle/cloudpickle.py436except KeyError:CODE
11 more matches not shown…
Over-Commented Block314 hits · 298 pts
SeverityFileLineSnippetContext
LOWk8s/charts/quickstart/values.yaml1# Default values for Daft quickstart Helm chartCOMMENT
LOWk8s/charts/quickstart/values.yaml21# - Full Ray cluster with head and worker nodesCOMMENT
LOWk8s/charts/quickstart/values.yaml41# regardless of the deployment mode.COMMENT
LOWk8s/charts/quickstart/values.yaml61 # - Best for: production, complex dependencies, custom environmentsCOMMENT
LOWk8s/charts/quickstart/values.yaml81COMMENT
LOWk8s/charts/quickstart/values.yaml101 # - name: LOG_LEVELCOMMENT
LOWk8s/charts/quickstart/values.yaml121 # Job Execution SettingsCOMMENT
LOWk8s/charts/quickstart/values.yaml141 # -- Node selector for job pod placementCOMMENT
LOWk8s/charts/quickstart/values.yaml161 # requiredDuringSchedulingIgnoredDuringExecution:COMMENT
LOWk8s/charts/quickstart/values.yaml201 # operator: "Equal"COMMENT
LOWk8s/charts/quickstart/values.yaml221COMMENT
LOWk8s/charts/quickstart/values.yaml241 # -- Service type (ClusterIP, NodePort, LoadBalancer)COMMENT
LOWk8s/charts/quickstart/values.yaml261 # service.beta.kubernetes.io/aws-load-balancer-type: "nlb"COMMENT
LOWk8s/charts/quickstart/values.yaml281 memory: "2Gi"COMMENT
LOWk8s/charts/quickstart/values.yaml301 # affinity:COMMENT
LOWk8s/charts/quickstart/values.yaml321COMMENT
LOWk8s/charts/quickstart/values.yaml341# - name: configCOMMENT
LOWk8s/charts/quickstart/values.yaml361 annotations: {}COMMENT
LOWtests/series/test_image.py441 ("RGB", "tiff"),COMMENT
LOWtests/series/test_image.py501 # TODO(Clark): Support uint16 images.COMMENT
LOWtests/dataframe/test_temporals.py81 # "time32_s": pa.array([1], pa.time32("s")),COMMENT
LOWtests/integration/delta_lake/conftest.py81 ),COMMENT
LOW…ts/integration/io/parquet/test_reads_local_fixtures.py21COMMENT
LOW…ts/integration/iceberg/docker-compose/run-seaweedfs.sh1#!/bin/bashCOMMENT
LOW…tion/iceberg/docker-compose/docker-compose-azurite.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtests/integration/iceberg/docker-compose/run-azurite.sh1#!/bin/bashCOMMENT
LOW…s/integration/iceberg/docker-compose/run-gcs-server.sh1#!/bin/bashCOMMENT
LOWtests/integration/iceberg/docker-compose/provision.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…n/iceberg/docker-compose/docker-compose-gcs-server.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…/integration/iceberg/docker-compose/docker-compose.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtests/integration/iceberg/docker-compose/entrypoint.sh1#!/bin/bashCOMMENT
LOWtests/integration/ray/fake_cluster.yaml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWtests/integration/ray/autoscaling_cluster.py1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWtests/integration/sql/test_postgres_catalog.py461 # ExtensionCOMMENT
LOWtests/io/test_parquet.py501COMMENT
LOWtests/cookbook/test_pandas_cookbook.py181###COMMENT
LOWtests/cookbook/test_pandas_cookbook.py261 # Area Bins Test_0_L Data_L Test_1_L Test_0_R Data_R Test_1_RCOMMENT
LOWtests/expressions/test_to_arrow_expr.py181 (lit("hello").endswith(lit("o")), pc.ends_with(pc.scalar("hello"), "o")),COMMENT
LOWtests/expressions/test_to_arrow_expr.py201 # (lit("hello").str.rstrip(), "rstrip('hello')"),COMMENT
LOWdocs/examples/audio-transcription.md81# | b"..." |COMMENT
LOWdocs/examples/udf-patterns.md301# from transformers import pipelineCOMMENT
LOWdocs/examples/document-processing.md741 # NOTE: We can easily define a UDF that operates on multiple columns!COMMENT
LOWexamples/dvector/README.md41# ╭───────────╮COMMENT
LOWexamples/hello_cpp/README.md81# │ --- │COMMENT
LOW.github/workflows/pr-test-suite.yml581 # Uncomment when re-enabling credentialed testing.COMMENT
LOW.github/workflows/pr-test-suite.yml601 # uses: jlumbroso/free-disk-space@v1.3.1COMMENT
LOW.github/workflows/pr-test-suite.yml621 # - name: Download built wheelsCOMMENT
LOW.github/workflows/pr-test-suite.yml641 # max_attempts: 3COMMENT
LOW.github/workflows/pr-test-suite.yml661 # credentials_json: ${{ secrets.ACTIONS_GCP_SERVICE_ACCOUNT_JSON }}COMMENT
LOW.github/workflows/pr-test-suite.yml681 # uses: slackapi/slack-github-action@v4.0.0COMMENT
LOW.github/workflows/pr-test-suite.yml841 with:COMMENT
LOW.github/workflows/pr-test-suite.yml1161 webhook-type: incoming-webhookCOMMENT
LOW.github/workflows/pr-test-suite.yml1181 # submodules: trueCOMMENT
LOW.github/workflows/pr-test-suite.yml1201 # with:COMMENT
LOW.github/workflows/pr-test-suite.yml1221 # if: ${{ env.SLACK_WEBHOOK_URL && failure() && (github.event_name == 'push') }}COMMENT
LOWtutorials/flyte/app.py21# ],COMMENT
LOWbenchmarking/lerobot/run_hand_tracking.sh1#!/bin/bashCOMMENT
LOWdaft/lazy_import.py1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWdaft/dataframe/dataframe.py1801 # `BlockingSinkNode::encode_file_metadata`); cells are pickledCOMMENT
LOWdaft/pickle/cloudpickle.py801COMMENT
254 more matches not shown…
Excessive Try-Catch Wrapping178 hits · 200 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/aggregate_test_durations.py68 print(f"Error: File '{filename}' not found.")CODE
LOW⚡tools/aggregate_test_durations.py70 except Exception as e:CODE
MEDIUM⚡tools/aggregate_test_durations.py71 print(f"Error reading file '{filename}': {e}")CODE
MEDIUMtools/aggregate_test_durations.py284 print(f"Error: File '{file_path}' does not exist.")CODE
LOWtests/_hf_retry.py144 except Exception as exc:CODE
LOWtests/test_datatype_inference.py572 except Exception as e:CODE
LOWtests/dataframe/test_shuffles.py468 except Exception as e:CODE
MEDIUMtests/dataframe/test_shuffles.py465def run():CODE
LOWtests/integration/test_dashboard.py71 except Exception:CODE
LOWtests/integration/test_dashboard.py100 except Exception as e:CODE
LOWtests/integration/io/conftest.py379 except Exception:CODE
LOWtests/integration/io/test_kafka_integration.py32 except Exception as e:CODE
LOW⚡…ration/iceberg/test_iceberg_count_pushdown_coverage.py238 except Exception:CODE
LOWtests/integration/iceberg/test_iceberg_reads.py424 except Exception:CODE
LOWtests/integration/iceberg/test_iceberg_table.py38 except Exception as e:CODE
LOWtests/integration/iceberg/test_iceberg_writes.py27 except Exception as e:CODE
LOW⚡tests/integration/iceberg/test_iceberg_writes.py46 except Exception as e:CODE
LOWtests/integration/gravitino/test_utils.py19 except Exception:CODE
LOWtests/integration/gravitino/test_utils.py24 except Exception:CODE
LOWtests/integration/gravitino/test_utils.py57 except Exception as e:CODE
LOWtests/integration/gravitino/test_utils.py70 except Exception as e:CODE
LOWtests/integration/gravitino/test_utils.py83 except Exception as e:CODE
LOWtests/integration/gravitino/test_utils.py175 except Exception as e:CODE
LOW…sts/integration/gravitino/test_gravitino_fileset_s3.py54 except Exception as e:CODE
LOW…sts/integration/gravitino/test_gravitino_fileset_s3.py64 except Exception:CODE
LOW⚡tests/integration/gravitino/test_gravitino_table.py178 except Exception:CODE
LOW⚡tests/integration/gravitino/test_gravitino_table.py187 except Exception:CODE
LOWtests/integration/sql/conftest.py58 except Exception as e:CODE
LOWtests/integration/sql/conftest.py68 except Exception as e:CODE
LOW⚡tests/integration/sql/test_postgres_catalog.py323 except Exception:CODE
LOW⚡tests/integration/sql/test_postgres_catalog.py328 except Exception:CODE
LOWtests/integration/sql/test_postgres_catalog.py128 except Exception:CODE
LOWtests/catalog/test_catalog.py383 except Exception as e:CODE
LOWtests/catalog/test_iceberg.py45 except Exception:CODE
LOWtests/catalog/test_iceberg.py56 except Exception:CODE
LOWtests/io/test_gravitino_filesystem.py92 except Exception:CODE
LOW⚡tests/io/lancedb/test_lancedb_vector_search.py163 except Exception:CODE
LOWtests/io/lancedb/test_lancedb_vector_search.py205 except Exception:CODE
MEDIUMtests/udf/test_row_wise_udf.py96def test_row_wise_udf_with_ray_options():CODE
LOWtests/udf/test_row_wise_udf.py103 except Exception:CODE
LOWtests/ray/conftest.py109 except Exception as e:CODE
LOWtests/ray/conftest.py115 except Exception:CODE
LOWtests/ray/conftest.py193 except Exception as e:CODE
LOWtests/ray/conftest.py204 except Exception as e:CODE
LOWtests/ray/test_udf_ray_options.py50 except Exception:CODE
LOWtests/ray/test_udf_ray_options.py219 except Exception as e:CODE
LOWtests/ray/test_udf_ray_options.py225 except Exception:CODE
LOW⚡tests/sql/test_sample.py281 except Exception as e:CODE
LOW⚡tests/sql/test_sample.py289 except Exception as e:CODE
LOWtests/sql/test_exprs.py375 except Exception:STRING
MEDIUMtests/sql/test_sql.py392 print(f"Error: {e}")CODE
LOWtests/sql/test_sql.py391 except Exception as e:CODE
LOW⚡tests/sql/test_sql_catalog.py14 except Exception as e:CODE
LOW⚡tests/sql/test_sql_catalog.py28 except Exception as e:CODE
LOW⚡tests/sql/test_sql_catalog.py56 except Exception as e:CODE
LOWdocs/modalities/images.md216 except Exception:CODE
LOWdocs/examples/document-processing.md654 except Exception:CODE
LOWbenchmarking/asof_join/benchmark.py56 except Exception:CODE
LOWbenchmarking/asof_join/benchmark.py78 except Exception:CODE
LOWbenchmarking/tpcds/__main__.py210 except Exception as e:CODE
118 more matches not shown…
Deep Nesting129 hits · 114 pts
SeverityFileLineSnippetContext
LOWtools/aggregate_test_durations.py28CODE
LOWtools/convert_md_to_notebook.py184CODE
LOWtests/test_subscribers.py169CODE
LOWtests/property_based_testing/test_sort.py86CODE
LOWtests/dataframe/test_creation.py721CODE
LOWtests/dataframe/test_creation.py755CODE
LOWtests/dataframe/test_creation.py773CODE
LOWtests/integration/io/conftest.py233CODE
LOWtests/integration/gravitino/test_gravitino_table.py64CODE
LOWtests/integration/ray/test_autoscaling.py99CODE
LOWtests/integration/sql/test_sql.py135CODE
LOWtests/datasets/test_common_crawl_mocked.py98CODE
LOWtests/io/test_hive_style_partitions.py270CODE
LOWtests/cookbook/test_image_hash_compat.py25CODE
LOWtests/recordbatch/test_table_aggs.py1143CODE
LOWtests/recordbatch/test_table_aggs.py1184CODE
LOWtests/recordbatch/image/test_attribute.py11CODE
LOWtests/ai/google/test_google_prompter.py251CODE
LOWtests/ai/google/test_google_prompter.py254CODE
LOWtests/ai/transformers/test_transformers_provider.py37CODE
LOWtests/ai/transformers/test_transformers_provider.py63CODE
LOW…ts/ai/transformers/test_transformers_image_embedder.py39CODE
LOWtests/window/test_partition_order_by_rank.py310CODE
LOWtests/window/test_partition_order_by_rank.py428CODE
LOWtests/window/test_partition_order_by_rank.py354CODE
LOWtests/window/test_running_agg.py829CODE
LOWtests/window/test_running_agg.py886CODE
LOWtests/window/test_running_agg.py1339CODE
LOWtests/window/test_running_agg.py1385CODE
LOWtests/window/test_partition_order_by_lag_lead.py414CODE
LOWtests/benchmarks/test_parquet_writes.py133CODE
LOWtests/benchmarks/test_parquet_writes.py72CODE
LOWtests/expressions/conftest.py13CODE
LOWtests/expressions/conftest.py14CODE
LOWtests/expressions/test_visitor.py27CODE
LOWtests/expressions/test_visitor.py34CODE
LOWtests/expressions/test_legacy_udf.py205CODE
LOWtests/expressions/test_legacy_udf.py209CODE
LOWtests/ray/conftest.py43CODE
LOWtests/sql/test_sql_udfs.py93CODE
LOWdocs/gen_pages/generate_llms_txt.py8CODE
LOWdocs/gen_pages/gen_function_pages.py74CODE
LOW.github/ci-scripts/generate_simple_py_index.py58CODE
LOWbenchmarking/tpcds/helpers.py18CODE
LOWbenchmarking/tpcds/__main__.py136CODE
LOWbenchmarking/tpcds/__main__.py256CODE
LOWbenchmarking/tpcds/__main__.py59CODE
LOWbenchmarking/tpch/data_generation.py245CODE
LOWbenchmarking/parquet/test_local.py10CODE
LOWdaft/series.py818CODE
LOWdaft/session.py176CODE
LOWdaft/api_annotations.py66CODE
LOWdaft/utils.py155CODE
LOWdaft/datatype.py117CODE
LOWdaft/datatype.py183CODE
LOWdaft/datatype.py407CODE
LOWdaft/datatype.py443CODE
LOWdaft/datatype.py733CODE
LOWdaft/dataframe/dataframe.py136CODE
LOWdaft/dataframe/dataframe.py315CODE
69 more matches not shown…
Modern Structural Boilerplate96 hits · 94 pts
SeverityFileLineSnippetContext
LOWtests/ray/conftest.py21logger = logging.getLogger(__name__)CODE
LOWbenchmarking/utils.py14logger = logging.getLogger(__name__)CODE
LOWbenchmarking/tpcds/datagen.py9logger = logging.getLogger(__name__)CODE
LOWbenchmarking/tpcds/__main__.py24logger = logging.getLogger(__name__)CODE
LOWbenchmarking/tpch/data_generation.py14logger = logging.getLogger(__name__)CODE
LOWbenchmarking/tpch/pipelined_data_generation.py28logger = logging.getLogger(__name__)CODE
LOWbenchmarking/tpch/__main__.py24logger = logging.getLogger(__name__)CODE
LOWdaft/checkpoint.py22__all__ = ["CheckpointConfig", "CheckpointStore", "IdempotentCommit", "KeyFilteringSettings"]CODE
LOWdaft/filesystem.py16logger = logging.getLogger(__name__)CODE
LOWdaft/filesystem.py206 def _set_if_not_none(kwargs: dict[str, Any], key: str, val: Any | None) -> None:CODE
LOW⚡daft/session.py1071def set_catalog(identifier: str | None) -> None:CODE
LOW⚡daft/session.py1076def set_namespace(identifier: Identifier | str | None) -> None:CODE
LOW⚡daft/session.py1081def set_provider(identifier: str | Provider | None, **options: Any) -> None:CODE
LOW⚡daft/session.py1086def set_model(identifier: str | None) -> None:CODE
LOW⚡daft/session.py1091def set_session(session: Session) -> None:CODE
LOWdaft/session.py25__all__ = [CODE
LOWdaft/session.py718 def set_catalog(self, identifier: str | None) -> None:STRING
LOWdaft/session.py729 def set_namespace(self, identifier: Identifier | str | None) -> None:STRING
LOWdaft/session.py739 def set_provider(self, identifier: str | Provider | None, **options: Any) -> None:STRING
LOWdaft/session.py768 def set_model(self, identifier: str | None) -> None:STRING
LOWdaft/__init__.py190__all__ = [CODE
LOWdaft/event_loop.py34def set_event_loop(loop: asyncio.AbstractEventLoop) -> None:CODE
LOWdaft/context.py26logger = logging.getLogger(__name__)CODE
LOWdaft/dependencies.py56__all__ = [CODE
LOWdaft/schema.py22__all__ = [CODE
LOWdaft/dataframe/to_torch.py15logger = logging.getLogger(__name__)CODE
LOWdaft/dataframe/dataframe.py90logger = logging.getLogger(__name__)CODE
LOWdaft/dataframe/dataframe.py146 def set_storage_option(key: str, value: str) -> None:CODE
LOWdaft/dataframe/__init__.py5__all__ = ["DataFrame", "GroupedDataFrame"]CODE
LOWdaft/file/__init__.py11__all__ = ["AudioFile", "DaftFileIO", "File", "Hdf5File", "ImageFile", "VideoFile", "open_file"]CODE
LOWdaft/catalog/__init__.py62__all__ = [CODE
LOWdaft/catalog/__gravitino/__init__.py11__all__ = [CODE
LOWdaft/catalog/__unity/__init__.py5__all__ = [CODE
LOWdaft/datasets/lerobot.py538__all__ = [CODE
LOWdaft/datasets/droid.py480__all__ = [STRING
LOWdaft/datasets/__init__.py5__all__ = ["common_crawl", "droid", "lerobot"]CODE
LOWdaft/io/clustering.py11__all__ = [CODE
LOWdaft/io/__init__.py58__all__ = [CODE
LOWdaft/io/_kafka.py23logger = logging.getLogger(__name__)CODE
LOWdaft/io/source.py21__all__ = [CODE
LOWdaft/io/_mcap.py24logger = logging.getLogger(__name__)CODE
LOWdaft/io/delta_lake/delta_lake_write.py271__all__ = ["AddAction"]CODE
LOWdaft/io/delta_lake/_visitors.py15logger = logging.getLogger(__name__)CODE
LOWdaft/io/delta_lake/delta_lake_scan.py44logger = logging.getLogger(__name__)CODE
LOWdaft/io/clickhouse/__init__.py5__all__ = ["ClickHouseDataSink"]CODE
LOWdaft/io/webdataset/__init__.py3__all__ = ["read_webdataset"]CODE
LOWdaft/io/av/__init__.py11__all__ = [CODE
LOWdaft/io/hudi/hudi_scan.py20logger = logging.getLogger(__name__)CODE
LOWdaft/io/bigtable/__init__.py3__all__ = ["BigtableDataSink"]CODE
LOWdaft/io/paimon/_predicate_visitor.py24logger = logging.getLogger(__name__)CODE
LOWdaft/io/paimon/__init__.py4__all__ = ["PaimonDataSink", "read_paimon"]CODE
LOWdaft/io/paimon/paimon_scan.py26logger = logging.getLogger(__name__)CODE
LOWdaft/io/lance/_lance.py14__all__ = [CODE
LOWdaft/io/lance/__init__.py3__all__ = [CODE
LOWdaft/io/lance/namespace.py5__all__ = ["DatasetOpenContext"]CODE
LOWdaft/io/iceberg/iceberg_scan.py46logger = logging.getLogger(__name__)CODE
LOWdaft/io/iceberg/_expressions.py21logger = logging.getLogger(__name__)CODE
LOWdaft/io/iceberg/_iceberg.py22logger = logging.getLogger(__name__)CODE
LOWdaft/io/turbopuffer/__init__.py3__all__ = ["TurbopufferDataSink"]CODE
LOWdaft/recordbatch/micropartition.py34logger = logging.getLogger(__name__)CODE
36 more matches not shown…
Structural Annotation Overuse36 hits · 62 pts
SeverityFileLineSnippetContext
LOWdocs/connectors/custom.md20### Step 1: Implement the `DataSource` and `DataSourceTask` InterfacesCOMMENT
LOWdocs/connectors/custom.md117### Step 2: Use Your Custom Data Source to Create a Daft DataFrameCOMMENT
LOWdocs/connectors/custom.md252### Step 1: Implement the `DataSink` InterfaceCOMMENT
LOWdocs/connectors/custom.md407### Step 2: Use Your Custom Data SinkCOMMENT
LOWdocs/contributing/development.md216### Step 1: Implement the function in RustCOMMENT
LOWdocs/contributing/development.md277### Step 2: Register the functionCOMMENT
LOWdocs/contributing/development.md294### Step 3: Add python bindingsCOMMENT
LOWdocs/contributing/development.md392### Step 4: Write testsCOMMENT
LOWdocs/examples/llms-red-pajamas.md18## Step 0: Dependencies and configurationCOMMENT
LOWdocs/examples/llms-red-pajamas.md24## Step 1: Load the datasetCOMMENT
LOWdocs/examples/llms-red-pajamas.md43## Step 2: Compute embeddingsCOMMENT
LOWdocs/examples/llms-red-pajamas.md97## Step 3: Semantic similarityCOMMENT
LOWdocs/examples/llms-red-pajamas.md166## Step 4: Inspect and write resultsCOMMENT
LOW⚡docs/examples/minhash-dedupe.md473 # Step 2: Group by u, and aggregate the list of v'sCOMMENT
LOW⚡docs/examples/minhash-dedupe.md480 # Step 3: Compute m = min over nbrs union {u}COMMENT
LOW⚡docs/examples/minhash-dedupe.md489 # Step 4: Emit (v, m(u)) for v > uCOMMENT
LOW⚡docs/examples/minhash-dedupe.md512 # Step 1: For each edge, emit to the larger node as key, smaller as valueCOMMENT
LOW⚡docs/examples/minhash-dedupe.md521 # Step 2: Group by larger u, nbrs are smaller neighborsCOMMENT
LOW⚡docs/examples/minhash-dedupe.md528 # Step 3: Compute m = min over nbrs union {u}COMMENT
LOWdocs/examples/document-processing.md711### Step 1: Enumerate S3 KeysCOMMENT
LOWdocs/examples/document-processing.md724### Step 2: Download PDFsCOMMENT
LOWdocs/examples/document-processing.md734### Step 3: Load PDFs, Maybe Apply OCRCOMMENT
LOWdocs/examples/document-processing.md782### Step 4: Text Box ProcessingCOMMENT
LOWdocs/examples/document-processing.md834### Step 5: Text EmbeddingsCOMMENT
LOW⚡docs/examples/text-embeddings.md44## Step 1: Import Dependencies and Configure ConstantsCOMMENT
LOW⚡docs/examples/text-embeddings.md60## Step 2: Create Text Chunking UDFCOMMENT
LOWdocs/examples/text-embeddings.md124## Step 3: Create Embedding Generation UDFCOMMENT
LOWdocs/examples/text-embeddings.md177## Step 4: Configure Distributed ProcessingCOMMENT
LOWdocs/examples/text-embeddings.md194## Step 5: Execute the PipelineCOMMENT
LOWdocs/examples/voice-ai-analytics.md165## Step 1: TranscriptionCOMMENT
LOWdocs/examples/voice-ai-analytics.md234## Step 2: SummarizationCOMMENT
LOWdocs/examples/voice-ai-analytics.md308## Step 3: Generating SubtitlesCOMMENT
LOWdocs/examples/voice-ai-analytics.md370## Step 4: Embedding Segments for Later RetrievalCOMMENT
LOWsrc/daft-recordbatch/src/probeable/mod.rs117 /// NOTE: This function only works if track_indices is true.COMMENT
LOW⚡src/daft-image/src/ops.rs747 // Step 1: remove DCCOMMENT
LOW⚡src/daft-image/src/ops.rs752 // Step 2: extract hash-band LLCOMMENT
Redundant / Tautological Comments30 hits · 49 pts
SeverityFileLineSnippetContext
LOWtools/aggregate_test_durations.py281 # Check if all files existCOMMENT
LOWtools/convert_md_to_notebook.py209 # Check if there's an output block immediately after this code blockCOMMENT
LOWtools/convert_md_to_notebook.py336 # Check if badge already existsCOMMENT
LOWtools/git_utils.py69 # Check if the branch has a remote tracking branch.COMMENT
LOWtests/integration/test_dashboard.py72 # Check if process exited prematurelyCOMMENT
LOW⚡tests/integration/ai/test_openai.py236 # Check if "red" appears in the answer (case-insensitive)COMMENT
LOW⚡tests/integration/ai/test_openai.py284 # Check if "green" appears in the answer (case-insensitive)COMMENT
LOWtests/integration/ai/test_openai.py334 # Check if "yellow" appears in the answer (case-insensitive)COMMENT
LOWtests/integration/ai/test_openai.py391 # Check if "blue" appears in the dominant color (case-insensitive)COMMENT
LOWtests/integration/ai/test_openai.py489 # Check if relevant keywords appear in the answer (case-insensitive)COMMENT
LOWtests/integration/ai/test_openai.py553 # Check if answer indicates a match or mentions red color (case-insensitive)COMMENT
LOW⚡tests/integration/ai/test_google.py182 # Check if "red" appears in the answer (case-insensitive)COMMENT
LOW⚡tests/integration/ai/test_google.py232 # Check if "green" appears in the answer (case-insensitive)COMMENT
LOW⚡tests/integration/ai/test_google.py444 # Check if "blue" appears in the response (case-insensitive)COMMENT
LOWtests/integration/ai/test_google.py284 # Check if "yellow" appears in the answer (case-insensitive)COMMENT
LOWtests/integration/ai/test_google.py388 # Check if relevant keywords appear in the answer (case-insensitive)COMMENT
LOWtests/integration/ai/test_google.py503 # Check if answer indicates a match or mentions red color (case-insensitive)COMMENT
LOW⚡tests/io/lancedb/test_lancedb_vector_search.py173 # Check if the result is valid (distance should be 0, so id % 3 == 0)COMMENT
LOW⚡tests/expressions/test_null_safe_equals.py98 # Check if this is a fixed-size binary test caseCOMMENT
LOWdocs/gen_pages/gen_function_pages.py81 # Check if parameter has a default value (is optional)COMMENT
LOW.github/actions/restore-mtime/action.yaml45 # Set them to a fixed past time so cargo skips them.COMMENT
LOWdaft/utils.py142 # Check if running inside a Ray workerCOMMENT
LOWdaft/catalog/__postgres.py42 # Check if extension is available before attempting to create itCOMMENT
LOWdaft/io/_generator.py43 >>> # Set runner to Ray for distributed processingSTRING
LOWdaft/io/iceberg/iceberg_scan.py268 # Check if there is a count aggregation pushdownCOMMENT
LOWdaft/io/iceberg/iceberg_scan.py442 # Check if any task has delete filesCOMMENT
LOWdaft/io/huggingface/__init__.py70 # Check if this is a 400 error (parquet files not yet available)COMMENT
LOWdaft/execution/vllm.py169 # Check if we need to log (in case periodic log isn't running in distributed mode)COMMENT
LOWdaft/functions/ai/__init__.py587 # Check if this is a vLLM provider - if so, use PyExpr.vllm directlyCOMMENT
LOWdaft/runners/ray_runner.py210 # Check if it's ArrowTensorTypeV2 (imported if available)COMMENT
AI Slop Vocabulary19 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/series/test_temporal_ops.py530# just a sanity check, more robust tests are in tests/dataframe/test_temporals.pyCOMMENT
MEDIUM⚡tests/series/test_temporal_ops.py538# just a sanity check, more robust tests are in tests/dataframe/test_temporals.pyCOMMENT
MEDIUM⚡tests/sql/test_sql.py327 # Test various sqlparser error formats to ensure robust parsingCOMMENT
MEDIUMdaft/dataframe/dataframe.py5748 """Executes enough of the DataFrame in order to display the first ``n`` rows.STRING
LOWdaft/catalog/__postgres.py130 # If inner type contains a complex type, simply use JSONB.COMMENT
LOWdaft/catalog/__postgres.py258 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py327 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py385 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py479 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py493 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py612 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py644 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/udf/legacy.py130 # If the param is not an expression, we can just pass it directlyCOMMENT
LOWdaft/sql/sql_connection.py75 # If all options are None, just return the original sqlCOMMENT
MEDIUM⚡daft/sql/sql_connection.py150 # driver-specific extras), so dropping the URL is the only robustCOMMENT
MEDIUMsrc/daft-minhash/src/lib.rs133/// data to create a robust signature. The permutation function used is of the form:COMMENT
MEDIUMsrc/daft-io/src/google_cloud.rs179 // We use regex here instead of the more robust url crate because we do not want to handle character escapingCOMMENT
MEDIUMsrc/daft-image/src/functions/hash_method.rs10 /// Average hash — fastest, least robust.COMMENT
MEDIUMsrc/daft-image/src/functions/hash_method.rs16 /// DCT-based perceptual hash — most robust (default).COMMENT
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHtests/dataframe/test_asof_join_nearest.py0null asof keys on left should produce null matches on the right side.STRING
HIGHtests/dataframe/test_asof_join_forward.py0null asof keys on left should produce null matches on the right side.STRING
HIGHtests/dataframe/test_asof_join.py0null asof keys on left should produce null matches on the right side.STRING
HIGHtests/ai/google/test_google_provider.py0test that the provider returns a prompter descriptor with default settings.STRING
HIGHtests/ai/google/test_google_prompter.py0test that the provider returns a prompter descriptor with default settings.STRING
HIGHtests/ai/openai/test_openai_prompter.py0test that the provider returns a prompter descriptor with default settings.STRING
HIGHtests/ai/google/test_google_provider.py0test that the provider accepts generation config options.STRING
HIGHtests/ai/google/test_google_prompter.py0test that the provider accepts generation config options.STRING
HIGHtests/ai/openai/test_openai_prompter.py0test that the provider accepts generation config options.STRING
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALtests/ai/openai/test_openai_prompter.py1069 mock_client.beta.chat.completions.parse.assert_called_once_with(CODE
CRITICALtests/ai/openai/test_openai_prompter.py1259 mock_client.beta.chat.completions.parse.assert_called_once()CODE
CRITICALdaft/ai/openai/protocols/prompter.py326 response = await self.llm.beta.chat.completions.parse(CODE
AI Structural Patterns32 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/ai/test_lm_studio.py51CODE
LOWtests/udf/test_batch_udf.py145CODE
LOWtests/udf/test_batch_udf.py259CODE
LOWtests/udf/test_batch_udf.py266CODE
LOWdaft/context.py210CODE
LOWdaft/dataframe/dataframe.py1112CODE
LOWdaft/dataframe/dataframe.py1893CODE
LOWdaft/dataframe/dataframe.py2424CODE
LOWdaft/dataframe/dataframe.py2660CODE
LOWdaft/dataframe/dataframe.py4125CODE
LOWdaft/catalog/__glue.py37CODE
LOWdaft/io/_json.py24CODE
LOWdaft/io/_parquet.py24CODE
LOWdaft/io/_text.py12CODE
LOWdaft/io/_csv.py24CODE
LOWdaft/io/source.py154CODE
LOWdaft/io/_mcap.py194CODE
LOWdaft/io/lance/_lance.py20CODE
LOWdaft/io/turbopuffer/turbopuffer_data_sink.py54CODE
LOWdaft/recordbatch/micropartition.py474CODE
LOWdaft/recordbatch/recordbatch.py565CODE
LOWdaft/recordbatch/recordbatch.py599CODE
LOWdaft/recordbatch/recordbatch.py476CODE
LOWdaft/expressions/expressions.py121CODE
LOWdaft/udf/__init__.py360CODE
LOWdaft/udf/__init__.py372CODE
LOWdaft/udf/__init__.py384CODE
LOWdaft/udf/__init__.py24CODE
LOWdaft/udf/__init__.py51CODE
LOWdaft/udf/__init__.py252CODE
LOWdaft/udf/udf_v2.py73CODE
LOWdaft/runners/__init__.py67CODE
Modern AI Meta-Vocabulary9 hits · 23 pts
SeverityFileLineSnippetContext
MEDIUMtests/ai/openai/test_openai_text_embedder.py164 # An OpenAI embedding model's dimensions are known without probing.COMMENT
MEDIUMdocs/modalities/text.md117# Select a text embedding model that you've loaded into LM StudioCOMMENT
MEDIUMdocs/extensions/projects.md23| [hypergraph](https://github.com/gilad-rubin/hypergraph) | Python workflow orchestration framework for DAG pipelines anCODE
MEDIUMdocs/examples/mnist.md64For the convenience of this quickstart tutorial, we pre-trained a model using a PyTorch-provided example script and saveCODE
MEDIUMdocs/examples/document-processing.md698# The text embedding model to use. See HuggingFace for a more complete list!COMMENT
MEDIUM⚡docs/examples/text-embeddings.md54EMBEDDING_MODEL_NAME = "Qwen/Qwen3-Embedding-0.6B" # The text embedding model to useCODE
MEDIUMdocs/examples/text-embeddings.md267EMBEDDING_MODEL_NAME = "Qwen/Qwen3-Embedding-0.6B" # The text embedding model to useCODE
MEDIUMdocs/examples/voice-ai-analytics.md456### 4. **RAG Workflow**COMMENT
MEDIUMdocs/examples/common-crawl-daft-tutorial.md190EMBEDDING_MODEL_NAME: str = "Qwen/Qwen3-Embedding-0.6B" # Text embedding modelCODE
Fake / Example Data12 hits · 13 pts
SeverityFileLineSnippetContext
LOWtests/test_datatype_inference.py393 # (PydanticWithAlias(name="Jane Doe", age=28), dt.struct({"fullName": dt.string(), "age": dt.int64()})),COMMENT
LOWtests/test_datatype_inference.py395 PydanticWithAliasNoSerializeByAlias(name="Jane Doe", age=28),CODE
LOWtests/recordbatch/test_tokenize.py57 "placeholder",CODE
LOWtests/recordbatch/test_tokenize.py63 "placeholder",CODE
LOW⚡tests/recordbatch/utf8/test_count_matches.py111 "test123@example.org",CODE
LOW⚡tests/ai/openai/test_openai_provider.py18 sess.set_provider("openai", api_key="fake_key")CODE
LOW⚡tests/ai/openai/test_openai_provider.py23 daft.set_provider("openai", api_key="fake_key")CODE
LOWtests/benchmarks/test_interactive_reads.py29 local_file = f"{tmpdir}/small-fake-data.parquet.parquet"CODE
LOWtests/benchmarks/test_interactive_reads.py31 s3.download_file("daft-oss-public-data", "test_fixtures/parquet/small-fake-data.parquet", local_file)CODE
LOW⚡daft/functions/list.py410 >>> df = daft.from_pydict({"id": [1, 2, 3], "sentence": ["lorem ipsum", "foo bar baz", "hi"]})STRING
LOW⚡daft/functions/list.py418 │ 1 ┆ lorem ipsum ┆ lorem │STRING
LOW⚡daft/functions/list.py420 │ 1 ┆ lorem ipsum ┆ ipsum │STRING
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/io/test_kafka_mock.py420 # Stub consumer that always returns exactly as many messages as requested,COMMENT
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/io/test_partition_filter_pushdown.py143CODE
MEDIUMtests/io/av/test_video.py52CODE
MEDIUMdaft/io/source.py272CODE
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/daft-io/src/object_io.rs293 /// So we need to check if the source supports range requests.COMMENT
LOW⚡src/daft-image/src/ops.rs747 // Step 1: remove DCCOMMENT
LOW⚡src/daft-image/src/ops.rs752 // Step 2: extract hash-band LLCOMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWdaft/io/_range.py36# TODO: consider using `from_range` and `Series.from_range` instead.COMMENT
LOWdaft/udf/udf_v2.py323 # TODO: implement generator UDFs on the engine sideCOMMENT
LOW…al-plan/src/optimization/rules/granular_projections.rs468 // TODO: Add test for UDFs, can't create a fake one for testingCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/daft-dsl/src/functions/function_args.rs105/// Example usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/dataframe/test_set_ops.py12def helper(make_df, op: str, left: dict[str, Any], right: dict[str, Any], expected: dict[str, Any]):CODE