Repository Analysis

Eventual-Inc/Daft

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

18.8 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Eventual-Inc/Daft, a Rust project with 5,731 GitHub stars. SynthScan v2.0 examined 509,269 lines of code across 2516 source files, recording 7066 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 18.8 places this repository in the Moderate AI signal band.

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

18.8
Adjusted Score
18.8
Raw Score
100%
Time Factor
2026-08-26
Last Push
5.7K
Stars
Rust
Language
509.3K
Lines of Code
2.5K
Files
7.1K
Pattern Hits
2026-08-29
Scan Date
0.13
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 3HIGH 320MEDIUM 596LOW 6147

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers3916 hits · 3979 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"] | Literal["native"]:CODE
LOWtests/conftest.py58 def __arrow_ext_deserialize__(cls, storage_type, serialized):CODE
LOWtests/test_datatypes.py419def test_datatype_property_access_equals_call(name, expected):CODE
LOWtests/test_datatypes.py429def test_datatype_property_hash_consistency(name, expected):CODE
LOWtests/test_datatypes.py437def test_datatype_property_isinstance():CODE
LOWtests/test_datatypes.py501def test_datatype_schema_from_field_name_and_types():CODE
LOWtests/test_datatypes.py510def test_datatype_infer_with_property():CODE
LOWtests/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
LOWtests/test_session.py174def test_list_namespaces_catalog_qualified_pattern():CODE
LOWtests/test_session.py182def test_list_namespaces_only_current_catalog_without_pattern():CODE
LOWtests/test_session.py191def test_list_namespaces_returns_empty_without_current_catalog():CODE
LOWtests/test_session.py201def test_list_namespaces_round_trips_with_list_tables():CODE
LOWtests/test_session.py466def test_set_provider_and_current_provider(monkeypatch):CODE
LOWtests/test_session.py474def test_set_provider_with_provider_instance():CODE
LOWtests/test_session.py483def 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.py443def test_attach_provider_with_alias():CODE
LOWtests/test_session.py500def test_set_provider_with_provider_instance_replaces_existing():CODE
LOWtests/test_session.py513def test_set_provider_with_provider_instance_twice_raises():CODE
LOWtests/test_session.py525def test_set_provider_with_provider_instance_and_options_raises():CODE
LOWtests/test_session.py533def test_set_provider_with_provider_instance_then_string():CODE
LOWtests/test_session.py545def test_current_session_drop_table():CODE
LOWtests/test_session.py582def test_session_catalog_function_fallback():CODE
LOWtests/test_session.py603def test_session_catalog_function_fallback_raises():CODE
LOWtests/test_session.py612def test_session_function_priority_over_catalog():CODE
LOWtests/test_session.py635def test_dataframe_select_with_catalog_get_function():CODE
LOWtests/test_session.py654def test_catalog_register_cls_udf_from_external_module():CODE
LOWtests/test_scarf_telemetry.py41def test_scarf_telemetry_basic(CODE
3856 more matches not shown…
Decorative Section Separators444 hits · 1642 pts
SeverityFileLineSnippetContext
MEDIUMk8s/charts/quickstart/values.yaml26# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml28# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml37# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml39# ============================================================================COMMENT
MEDIUMk8s/charts/quickstart/values.yaml44 # --------------------------------------------------------------------------COMMENT
MEDIUMk8s/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
MEDIUMtests/dataframe/test_asof_join_nearest.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py142# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py144# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py291# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py293# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py322# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py324# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_asof_join_nearest.py355# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/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
MEDIUMtests/dataframe/test_checkpoint_commit_helpers.py53# ── empty_write_result ────────────────────────────────────────────────────────COMMENT
MEDIUMtests/dataframe/test_checkpoint_commit_helpers.py73# ── decode_file_metadata ──────────────────────────────────────────────────────COMMENT
MEDIUMtests/dataframe/test_sort_shuffle_elision.py104# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_sort_shuffle_elision.py106# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_sort_shuffle_elision.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_sort_shuffle_elision.py118# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_sort_shuffle_elision.py169# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_sort_shuffle_elision.py171# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_sort_shuffle_elision.py238# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dataframe/test_sort_shuffle_elision.py240# ---------------------------------------------------------------------------COMMENT
384 more matches not shown…
Unused Imports1410 hits · 1158 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
1350 more matches not shown…
Docstring Block Structure250 hits · 1070 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.py405Creates a temp table scoped to this session's lifetime. Args: identifier (str): table identifier (nSTRING
HIGHdaft/session.py547Returns the catalog or raises an exception if it does not exist. Args: identifier (str): catalog idSTRING
HIGHdaft/session.py561Returns the provider or raises an exception if it does not exist. Args: identifier (str): provider STRING
HIGHdaft/session.py575Returns the table or raises an exception if it does not exist. Args: identifier (Identifier|str): tSTRING
HIGHdaft/session.py664Returns a list of available namespaces. Args: - pattern (str, optional): Pattern to match namespaceSTRING
HIGHdaft/session.py682Returns a list of available tables. Args: - pattern (str, optional): Pattern to match table names. STRING
HIGHdaft/session.py704Returns the table as a DataFrame or raises an exception if it does not exist. Args: identifier (IdeSTRING
HIGHdaft/session.py1112Locate 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.py919Write the DataFrame to a SQL database and return write metrics. The write is executed via :meth:`daft.DataFrameSTRING
HIGHdaft/dataframe/dataframe.py1029Writes the DataFrame as parquet files, returning a new DataFrame with paths to the files that were written. FilSTRING
HIGHdaft/dataframe/dataframe.py1126Writes the DataFrame as CSV files, returning a new DataFrame with paths to the files that were written. Files wSTRING
HIGHdaft/dataframe/dataframe.py1239Writes 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 to an [Iceberg](https://iceberg.apache.org/docs/nightly/) table, returning a new DataFrame with theSTRING
HIGHdaft/dataframe/dataframe.py1734Writes the DataFrame to an Apache Paimon table, returning a summary DataFrame. Args: table (pypaimoSTRING
HIGHdaft/dataframe/dataframe.py1782Writes the DataFrame to a [Delta Lake](https://docs.delta.io/latest/index.html) table, returning a new DataFrame with thSTRING
HIGHdaft/dataframe/dataframe.py2308Writes the DataFrame to a Lance table. Args: uri: The URI of the Lance table to write to. Accepts a lSTRING
HIGHdaft/dataframe/dataframe.py2697Gets a column from the DataFrame as an Expression (``df["mycol"]``). Args: item (Union[int, str, slSTRING
HIGHdaft/dataframe/dataframe.py2797Generates a column of monotonically increasing unique ids for the DataFrame. The implementation of this method STRING
HIGHdaft/dataframe/dataframe.py2836Creates a new DataFrame from the provided expressions, similar to a SQL ``SELECT``. Args: *columns STRING
HIGHdaft/dataframe/dataframe.py2925Computes distinct rows, dropping duplicates. Optionally, specify a subset of columns to perform distinct on. STRING
HIGHdaft/dataframe/dataframe.py2973Computes distinct rows, dropping duplicates. Alias for [DataFrame.distinct][daft.DataFrame.distinct]. STRING
HIGHdaft/dataframe/dataframe.py3005Computes distinct rows, dropping duplicates. Alias for [DataFrame.distinct][daft.DataFrame.distinct]. STRING
HIGHdaft/dataframe/dataframe.py3043Samples rows from the DataFrame. Args: fraction (Optional[float]): fraction of rows to sample (betwSTRING
HIGHdaft/dataframe/dataframe.py3115Drops columns from the current DataFrame by name. This is equivalent of performing a select with all the columnSTRING
HIGHdaft/dataframe/dataframe.py3149Filters rows via a predicate expression, similar to SQL ``WHERE``. Alias for [daft.DataFrame.where][daft.DataFrSTRING
HIGHdaft/dataframe/dataframe.py3183Filters rows via a predicate expression, similar to SQL ``WHERE``. Args: predicate (Expression): exSTRING
HIGHdaft/dataframe/dataframe.py3246Filter out rows whose key(s) already exist in existing data (i.e., already processed rows). This method reads eSTRING
HIGHdaft/dataframe/dataframe.py3409Adds a column to the current DataFrame with an Expression, equivalent to a ``select`` with all current columns and the nSTRING
HIGHdaft/dataframe/dataframe.py3444Adds columns to the current DataFrame with Expressions, equivalent to a ``select`` with all current columns and the new STRING
HIGHdaft/dataframe/dataframe.py3478Renames a column in the current DataFrame. If the column in the DataFrame schema does not exist, this will be aSTRING
HIGHdaft/dataframe/dataframe.py3512Renames multiple columns in the current DataFrame. If the columns in the DataFrame schema do not exist, this wiSTRING
HIGHdaft/dataframe/dataframe.py3550Sorts DataFrame globally. Args: by (Union[ColumnInputType, List[ColumnInputType]]): column to sort STRING
HIGHdaft/dataframe/dataframe.py3642Limits the rows in the DataFrame to the first ``N`` rows, similar to a SQL ``LIMIT``. Args: num (inSTRING
HIGHdaft/dataframe/dataframe.py3679Returns a new DataFrame by skipping the first ``N`` rows, similar to a SQL ``Offset``. Args: num (iSTRING
HIGHdaft/dataframe/dataframe.py3760Repartitions DataFrame to ``num`` partitions. If columns are passed in, then DataFrame will be repartitioned bySTRING
HIGHdaft/dataframe/dataframe.py3841Splits or coalesces DataFrame to partitions of size ``batch_size``. Note: Batch sizing is performedSTRING
HIGHdaft/dataframe/dataframe.py3880Column-wise join of the current DataFrame with an ``other`` DataFrame, similar to a SQL ``JOIN``. If the two DaSTRING
HIGHdaft/dataframe/dataframe.py3979Point-in-time (asof) join: each left row matches the nearest right row according to the chosen strategy. Args: STRING
HIGHdaft/dataframe/dataframe.py4082Concatenates two DataFrames together in a "vertical" concatenation. The resulting DataFrame has number of rows STRING
HIGHdaft/dataframe/dataframe.py4128Drops rows that contains NaNs. If cols is None it will drop rows with any NaN value. If column names are suppliSTRING
HIGHdaft/dataframe/dataframe.py4202Drops 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.py4245Explodes a List column, where every element in each row's List becomes its own row, and all other columns in the DataFraSTRING
HIGHdaft/dataframe/dataframe.py4395Unpivots a DataFrame from wide to long format. Args: ids (ManyColumnsInputType): Columns to keep asSTRING
190 more matches not shown…
Self-Referential Comments117 hits · 366 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
MEDIUMtests/dataframe/test_into_batches.py11 # Create a dataframe with 64 rows in a single partitionCOMMENT
MEDIUMtests/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
MEDIUMtests/dataframe/test_into_batches.py53 # Create a dataframe with 70 rows (not evenly divisible by 8)COMMENT
MEDIUMtests/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
MEDIUMtests/dataframe/test_repr.py404 # Create a DataFrame and get its RecordBatchCOMMENT
MEDIUMtests/dataframe/test_repr.py408 # Create a PreviewFormatter and generate interactive HTMLCOMMENT
MEDIUMtests/file/test_file_basics.py56 # Create a file in the temporary directoryCOMMENT
MEDIUMtests/file/test_file_basics.py77 # Create a simple red imageCOMMENT
MEDIUMtests/integration/ai/test_openai.py250 # Create a green square imageCOMMENT
MEDIUMtests/integration/ai/test_openai.py298 # Create a temporary image file (yellow square)COMMENT
MEDIUMtests/integration/ai/test_openai.py514 # Create a red square imageCOMMENT
MEDIUMtests/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
MEDIUMtests/integration/ai/test_google.py196 # Create a green square imageCOMMENT
MEDIUMtests/integration/ai/test_google.py246 # Create a temporary image file (yellow square)COMMENT
MEDIUMtests/integration/ai/test_google.py462 # Create a red square imageCOMMENT
MEDIUMtests/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
MEDIUMtests/catalog/test_gravitino.py252 # Create a minimal schema mockCOMMENT
MEDIUMtests/catalog/test_memory.py139 # Create a namespaceCOMMENT
MEDIUMtests/catalog/test_memory.py144 # Create a table in namespaceCOMMENT
MEDIUMtests/io/test_gravitino_io.py124 # Create a temporary directory with parquet files to simulate the underlying storageCOMMENT
MEDIUMtests/io/test_gravitino_io.py126 # Create a simple DataFrame and save itCOMMENT
MEDIUMtests/io/test_gravitino_io.py145 # Create a temporary directory with some filesCOMMENT
MEDIUMtests/io/test_gravitino_io.py153 # Create a simple parquet fileCOMMENT
MEDIUMtests/io/test_parquet_roundtrip.py121 # Define the expected data type for the tensor columnCOMMENT
MEDIUMtests/io/test_parquet_roundtrip.py127 # Create a Daft DataFrame with the tensor dataCOMMENT
MEDIUMtests/io/test_parquet_roundtrip.py210 # Create an array of random True/False values that are None 10% of the time.COMMENT
MEDIUMtests/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
MEDIUMtests/io/test_gravitino_filesystem.py78 # Create a mock path that returns our gvfs URLCOMMENT
MEDIUMtests/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
MEDIUMtests/io/lancedb/test_lancedb_vector_search.py160 # Create a small indexCOMMENT
MEDIUMtests/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
57 more matches not shown…
Cross-Language Confusion60 hits · 361 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
HIGHtests/series/test_utf8_ops.py266 result = s.str.length()CODE
HIGHtests/series/test_utf8_ops.py272 result = s.str.length()CODE
HIGHtests/series/test_utf8_ops.py278 result = s.str.length()CODE
HIGHtests/series/test_utf8_ops.py284 result = s.str.length()CODE
HIGHtests/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
HIGHtests/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
HIGHtests/recordbatch/test_from_py.py699 assert result.equals(arrow_arr)CODE
HIGHtests/recordbatch/test_from_py.py707 assert result.equals(arrow_arr)CODE
HIGHtests/recordbatch/test_from_py.py715 assert result.equals(arrow_arr)CODE
HIGHtests/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
HIGHtests/functions/json/test_json_funcs.py20 "[null, null]",CODE
HIGHtests/functions/json/test_jq.py9 '{ "a": null, "b": true, "c": 1, "d": 1.1, "e": "ABC" }',CODE
HIGHtests/functions/json/test_jq.py10 '{ "a": null, "b": true, "c": 2, "d": 2.2, "e": "DEF" }',CODE
HIGHtests/functions/json/test_jq.py11 '{ "a": null, "b": false, "c": 3, "d": 3.3, "e": "GHI" }',CODE
HIGHtests/functions/json/test_jq.py12 '{ "a": null, "b": false, "c": 3, "d": 4.4, "e": "JKL" }',CODE
HIGHtests/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
HIGHtests/functions/serde/test_serde_json.py137 '{"a":null,"b":1,"c":1.1,"d":"ABC"}',CODE
HIGHtests/functions/serde/test_serde_json.py138 '{"a":null,"b":2,"c":2.2,"d":"DEF"}',CODE
HIGHtests/functions/serde/test_serde_json.py139 '{"a":null,"b":3,"c":3.3,"d":"GHI"}',CODE
HIGHtests/functions/serde/test_serde_json.py140 '{"a":null,"b":4,"c":4.4,"d":"JKL"}',CODE
HIGHtests/functions/serde/test_serde_json.py155 '{"a":1,"b":null,"c":"valid"}',CODE
HIGHtests/functions/serde/test_serde_json.py156 '{"a":null,"b":2,"c":null}',CODE
HIGHtests/functions/serde/test_serde_json.py170 '{"arr":[1,2,3],"map":{"a":null,"b":2},"struct":{"x":1,"y":"z"}}',CODE
HIGHtests/functions/serde/test_serde_json.py171 '{"arr":[4,5,6],"map":{"a":3,"b":null},"struct":{"x":2,"y":"w"}}',CODE
HIGHtests/functions/serde/test_serde_json.py172 '{"arr":null,"map":null,"struct":null}',CODE
HIGHtests/functions/serde/test_serde_json.py186 '{"arr":null,"map":null}',CODE
HIGHtests/ray/test_datasets.py180 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
HIGHtests/sql/test_coalesce.py123 actual = daft.sql("select coalesce(null, null, null) as result from df")CODE
HIGHtests/sql/test_coalesce.py128 actual = daft.sql("select coalesce(col1, null) as result from df")CODE
HIGHtests/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.py3998 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
Over-Commented Block304 hits · 289 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
LOWtests/integration/iceberg/docker-compose/run-minio.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.py501 # non-local reads), then upon checking the next page for more values, we would readCOMMENT
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@v3.0.3COMMENT
LOW.github/workflows/pr-test-suite.yml841 with:COMMENT
LOW.github/workflows/pr-test-suite.yml1161 # timeout-minutes: 45COMMENT
LOW.github/workflows/pr-test-suite.yml1181 # path: distCOMMENT
LOW.github/workflows/pr-test-suite.yml1201 # uv pip install dist/${{ env.package-name }}-*x86_64*.whl --force-reinstallCOMMENT
LOW.github/workflows/pr-test-suite.yml1221 # {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/pickle/cloudpickle.py801COMMENT
LOWdaft/pickle/cloudpickle.py1261 # globals at pickling time to also share them once unpickled, at oneCOMMENT
244 more matches not shown…
Excessive Try-Catch Wrapping176 hits · 200 pts
SeverityFileLineSnippetContext
MEDIUMtools/aggregate_test_durations.py68 print(f"Error: File '{filename}' not found.")CODE
LOWtools/aggregate_test_durations.py70 except Exception as e:CODE
MEDIUMtools/aggregate_test_durations.py71 print(f"Error reading file '{filename}': {e}")CODE
MEDIUMtools/aggregate_test_durations.py283 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.py310 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
LOWtests/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.py71 except Exception as e:CODE
LOWtests/integration/gravitino/test_utils.py85 except Exception as e:CODE
LOWtests/integration/gravitino/test_utils.py178 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
LOWtests/integration/gravitino/test_gravitino_table.py178 except Exception:CODE
LOWtests/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
LOWtests/integration/sql/test_postgres_catalog.py323 except Exception:CODE
LOWtests/integration/sql/test_postgres_catalog.py328 except Exception:CODE
LOWtests/integration/sql/test_postgres_catalog.py128 except Exception:CODE
LOWtests/catalog/test_iceberg.py47 except Exception:CODE
LOWtests/catalog/test_iceberg.py58 except Exception:CODE
LOWtests/io/test_gravitino_filesystem.py92 except Exception:CODE
LOWtests/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
LOWtests/sql/test_sample.py281 except Exception as e:CODE
LOWtests/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
LOWtests/sql/test_sql_catalog.py14 except Exception as e:CODE
LOWtests/sql/test_sql_catalog.py28 except Exception as e:CODE
LOWtests/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
LOWbenchmarking/tpcds/__main__.py240 except Exception as e:CODE
116 more matches not shown…
Deep Nesting130 hits · 115 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.py164CODE
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.py35CODE
LOWtests/ai/transformers/test_transformers_provider.py59CODE
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.py12CODE
LOWtests/expressions/conftest.py13CODE
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.py75CODE
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.py734CODE
LOWdaft/dataframe/dataframe.py136CODE
LOWdaft/dataframe/dataframe.py315CODE
70 more matches not shown…
Modern Structural Boilerplate99 hits · 98 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
LOWdaft/session.py1074def set_catalog(identifier: str | None) -> None:CODE
LOWdaft/session.py1079def set_namespace(identifier: Identifier | str | None) -> None:CODE
LOWdaft/session.py1084def set_provider(identifier: str | Provider | None, **options: Any) -> None:CODE
LOWdaft/session.py1089def set_model(identifier: str | None) -> None:CODE
LOWdaft/session.py1094def set_session(session: Session) -> None:CODE
LOWdaft/session.py25__all__ = [CODE
LOWdaft/session.py721 def set_catalog(self, identifier: str | None) -> None:STRING
LOWdaft/session.py732 def set_namespace(self, identifier: Identifier | str | None) -> None:STRING
LOWdaft/session.py742 def set_provider(self, identifier: str | Provider | None, **options: Any) -> None:STRING
LOWdaft/session.py771 def set_model(self, identifier: str | None) -> None:STRING
LOWdaft/__init__.py187__all__ = [CODE
LOWdaft/event_loop.py34def set_event_loop(loop: asyncio.AbstractEventLoop) -> None:CODE
LOWdaft/context.py27logger = 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__.py55__all__ = [CODE
LOWdaft/io/_kafka.py23logger = logging.getLogger(__name__)CODE
LOWdaft/io/source.py21__all__ = [CODE
LOWdaft/io/delta_lake/delta_lake_write.py273__all__ = ["AddAction"]CODE
LOWdaft/io/delta_lake/delta_lake_scan.py40logger = logging.getLogger(__name__)CODE
LOWdaft/io/clickhouse/__init__.py5__all__ = ["ClickHouseDataSink"]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_compaction.py5__all__ = ["compact_files_internal"]CODE
LOWdaft/io/lance/_lance.py15__all__ = [CODE
LOWdaft/io/lance/__init__.py9__all__ = [CODE
LOWdaft/io/lance/lance_data_sink.py5__all__ = ["LanceDataSink"]CODE
LOWdaft/io/lance/lance_scalar_index.py5__all__ = ["create_scalar_index_internal"]CODE
LOWdaft/io/lance/lance_scan.py9__all__ = [CODE
LOWdaft/io/lance/utils.py9__all__ = [CODE
LOWdaft/io/lance/point_lookup.py5__all__ = ["detect_point_lookup_columns"]CODE
LOWdaft/io/lance/lance_merge_column.py8__all__ = ["merge_columns_from_df", "merge_columns_internal"]CODE
LOWdaft/io/iceberg/iceberg_scan.py45logger = logging.getLogger(__name__)CODE
LOWdaft/io/iceberg/_expressions.py19logger = logging.getLogger(__name__)CODE
39 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
LOWdocs/examples/minhash-dedupe.md473 # Step 2: Group by u, and aggregate the list of v'sCOMMENT
LOWdocs/examples/minhash-dedupe.md480 # Step 3: Compute m = min over nbrs union {u}COMMENT
LOWdocs/examples/minhash-dedupe.md489 # Step 4: Emit (v, m(u)) for v > uCOMMENT
LOWdocs/examples/minhash-dedupe.md512 # Step 1: For each edge, emit to the larger node as key, smaller as valueCOMMENT
LOWdocs/examples/minhash-dedupe.md521 # Step 2: Group by larger u, nbrs are smaller neighborsCOMMENT
LOWdocs/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
LOWdocs/examples/text-embeddings.md44## Step 1: Import Dependencies and Configure ConstantsCOMMENT
LOWdocs/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
LOWsrc/daft-image/src/ops.rs747 // Step 1: remove DCCOMMENT
LOWsrc/daft-image/src/ops.rs752 // Step 2: extract hash-band LLCOMMENT
Redundant / Tautological Comments30 hits · 49 pts
SeverityFileLineSnippetContext
LOWtools/aggregate_test_durations.py280 # 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
LOWtests/integration/ai/test_openai.py236 # Check if "red" appears in the answer (case-insensitive)COMMENT
LOWtests/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
LOWtests/integration/ai/test_google.py182 # Check if "red" appears in the answer (case-insensitive)COMMENT
LOWtests/integration/ai/test_google.py232 # Check if "green" appears in the answer (case-insensitive)COMMENT
LOWtests/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
LOWtests/io/lancedb/test_lancedb_vector_search.py173 # Check if the result is valid (distance should be 0, so id % 3 == 0)COMMENT
LOWtests/expressions/test_null_safe_equals.py98 # Check if this is a fixed-size binary test caseCOMMENT
LOWdocs/gen_pages/gen_function_pages.py82 # 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.py32 # 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.py267 # Check if there is a count aggregation pushdownCOMMENT
LOWdaft/io/iceberg/iceberg_scan.py403 # Check if any task has delete filesCOMMENT
LOWdaft/io/huggingface/__init__.py55 # Check if this is a 400 error (parquet files not yet available)COMMENT
LOWdaft/execution/vllm.py173 # 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
MEDIUMtests/series/test_temporal_ops.py530# just a sanity check, more robust tests are in tests/dataframe/test_temporals.pyCOMMENT
MEDIUMtests/series/test_temporal_ops.py538# just a sanity check, more robust tests are in tests/dataframe/test_temporals.pyCOMMENT
MEDIUMtests/sql/test_sql.py327 # Test various sqlparser error formats to ensure robust parsingCOMMENT
MEDIUMdaft/dataframe/dataframe.py5587 """Executes enough of the DataFrame in order to display the first ``n`` rows.STRING
LOWdaft/catalog/__postgres.py120 # If inner type contains a complex type, simply use JSONB.COMMENT
LOWdaft/catalog/__postgres.py251 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py324 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py384 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py478 # Since this is user-configurable, we simply pass along the single identifier to PostgreSQL.COMMENT
LOWdaft/catalog/__postgres.py492 # 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
MEDIUMdaft/sql/sql_connection.py151 # 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.py324 response = await self.llm.beta.chat.completions.parse(CODE
AI Structural Patterns30 hits · 26 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.py211CODE
LOWdaft/dataframe/dataframe.py1113CODE
LOWdaft/dataframe/dataframe.py1767CODE
LOWdaft/dataframe/dataframe.py2499CODE
LOWdaft/dataframe/dataframe.py3964CODE
LOWdaft/catalog/__glue.py37CODE
LOWdaft/io/_json.py24CODE
LOWdaft/io/_parquet.py24CODE
LOWdaft/io/_text.py12CODE
LOWdaft/io/_csv.py24CODE
LOWdaft/io/source.py148CODE
LOWdaft/io/lance/_lance.py25CODE
LOWdaft/io/turbopuffer/turbopuffer_data_sink.py55CODE
LOWdaft/recordbatch/micropartition.py473CODE
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.py157 # 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
MEDIUMdocs/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
LOWtests/recordbatch/utf8/test_count_matches.py111 "test123@example.org",CODE
LOWtests/ai/openai/test_openai_provider.py18 sess.set_provider("openai", api_key="fake_key")CODE
LOWtests/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
LOWdaft/functions/list.py410 >>> df = daft.from_pydict({"id": [1, 2, 3], "sentence": ["lorem ipsum", "foo bar baz", "hi"]})STRING
LOWdaft/functions/list.py418 │ 1 ┆ lorem ipsum ┆ lorem │STRING
LOWdaft/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.py240CODE
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
LOWsrc/daft-image/src/ops.rs747 // Step 1: remove DCCOMMENT
LOWsrc/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