AI Slop Code RIsk Monitor

lancedb/lancedb

Developer-friendly OSS embedded retrieval library for multimodal AI. Search More; Manage Less.

7.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for lancedb/lancedb, a Rust project with 11,634 GitHub stars. SynthScan examined 341,787 lines of code across 770 source files, recording 2280 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 7.4 (Moderate pattern signal); it is not an authorship estimate.

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

7.4
Adjusted Signal
7.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
11.6K
Stars
Rust
Language
341.8K
Lines of Code
770
Files
2.3K
Pattern Hits
2026-10-12
Scan Date
0.06
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 22.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.2/100 · LOW

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

Agent Over-Engineering Ratio 21.7/100 · LOW

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

PR Review Velocity Impact 34.1/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 44MEDIUM 175LOW 2061

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 2280 distinct pattern matches across 19 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 Identifiers1320 hits · 1051 pts
SeverityFileLineSnippetContext
LOWnodejs/lancedb/sanitize.ts146function createSanitizationContext(): SanitizationContext {CODE
LOWnodejs/lancedb/sanitize.ts276function sanitizeListChildWithContext(CODE
LOWnodejs/lancedb/sanitize.ts299function sanitizeLargeListWithContext(CODE
LOWnodejs/lancedb/sanitize.ts313function sanitizeStructWithContext(CODE
LOWnodejs/lancedb/sanitize.ts370function sanitizeTypedUnionWithContext(CODE
LOWnodejs/lancedb/sanitize.ts409function sanitizeFixedSizeListWithContext(CODE
LOWnodejs/lancedb/sanitize.ts467function sanitizeDictionaryWithContext(CODE
LOWnodejs/lancedb/sanitize.ts723function sanitizeSchemaWithContext(CODE
LOWnodejs/lancedb/view.ts37export function viewDescriptionFromNative(CODE
LOWnodejs/lancedb/arrow.ts925async function applyEmbeddingsFromMetadata(CODE
LOWnodejs/lancedb/arrow.ts1213export async function fromRecordsToStreamBuffer(CODE
LOWnodejs/lancedb/arrow.ts1377export async function fromRecordBatchToStreamBuffer(CODE
LOWnodejs/lancedb/materialized_view.ts39export function validateNonNegativeInteger(CODE
LOWnodejs/lancedb/embedding/index.ts38function initializeBuiltInProviders() {CODE
LOWpython/python/tests/test_typesafe_reranker.py47def test_request_counts_and_boundaries(batch_size, count):CODE
LOWpython/python/tests/test_typesafe_reranker.py63def test_payload_isolation_and_custom_prompts(batch_size, criteria):CODE
LOWpython/python/tests/test_typesafe_reranker.py117def test_response_mapping_with_duplicates_and_nulls():CODE
LOWpython/python/tests/test_typesafe_reranker.py178def test_invalid_probabilities(batch_size, probability):CODE
LOWpython/python/tests/test_typesafe_reranker.py188def test_api_failure_propagates(batch_size):CODE
LOWpython/python/tests/test_typesafe_reranker.py199def test_concurrency_limits_requests(batch_size):CODE
LOWpython/python/tests/test_typesafe_reranker.py225def test_empty_and_null_inputs(batch_size, return_score, method, docs):CODE
LOWpython/python/tests/test_typesafe_reranker.py248def test_hybrid_deduplicates_by_row_id_and_keeps_scores(batch_size, return_score):CODE
LOWpython/python/tests/test_typesafe_reranker.py271async def test_async_search_integrations(tmp_path, batch_size):CODE
LOWpython/python/tests/test_typesafe_reranker.py299def test_sdk_transport_and_retries(batch_size, retry_once):CODE
LOWpython/python/tests/test_materialized_views.py32def mock_remote_materialized_views():CODE
LOWpython/python/tests/test_materialized_views.py59def mock_remote_materialized_view_create():CODE
LOWpython/python/tests/test_materialized_views.py88def test_remote_list_uses_namespace_route():CODE
LOWpython/python/tests/test_materialized_views.py100def test_remote_drop_async_returns_server_job():CODE
LOWpython/python/tests/test_materialized_views.py113def test_sync_remote_create_uses_public_async_connection():CODE
LOWpython/python/tests/test_materialized_views.py159def test_create_refresh_and_query(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py174def test_create_and_refresh_jobs(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py196def test_definition_round_trips(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py206def test_full_refresh_after_append(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py220def test_full_refresh_after_update(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py233def test_legacy_storage_source_update_rebuilds(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py249def test_direct_writes_to_a_view_are_refused(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py288def test_invalid_expression_fails_at_create(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py296async def test_async_create_refresh_and_open(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py317async def test_async_create_and_refresh_jobs(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py341async def test_async_refresh_rebuilds(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py354def test_source_does_not_require_stable_row_ids(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py361def test_bare_select_names_are_quoted(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py378def test_scalar_select_is_one_column(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py388async def test_async_scalar_select_is_one_column(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py416def test_namespace_connection_materialized_views(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py447async def test_async_namespace_connection_materialized_views(tmp_path):CODE
LOWpython/python/tests/test_materialized_views.py491def test_stored_queries_and_legacy_layouts_are_read():CODE
LOWpython/python/tests/test_materialized_views.py539def test_local_materialized_view_listing_pages_and_resume(tmp_path):CODE
LOWpython/python/tests/test_primary_key.py18def test_set_unenforced_primary_key_accepts_string_or_one_element_list(tmp_path):CODE
LOWpython/python/tests/test_primary_key.py30def test_set_unenforced_primary_key_rejects_compound_and_empty(tmp_path):CODE
LOWpython/python/tests/test_primary_key.py48def test_set_unenforced_primary_key_is_immutable(tmp_path):CODE
LOWpython/python/tests/test_primary_key.py66def test_set_unenforced_primary_key_validates(tmp_path):CODE
LOWpython/python/tests/test_namespace_integration.py212def create_tracking_namespace(CODE
LOWpython/python/tests/test_namespace_integration.py274def test_namespace_create_table_with_provider(s3_bucket: str, use_custom: bool):CODE
LOWpython/python/tests/test_namespace_integration.py331def test_namespace_open_table_with_provider(s3_bucket: str, use_custom: bool):CODE
LOWpython/python/tests/test_namespace_integration.py399def test_namespace_create_schema_only_with_provider(use_custom: bool):CODE
LOWpython/python/tests/test_namespace_integration.py456def test_namespace_credential_refresh_on_read(s3_bucket: str, use_custom: bool):CODE
LOWpython/python/tests/test_namespace_integration.py523def test_namespace_credential_refresh_on_write(s3_bucket: str, use_custom: bool):CODE
LOWpython/python/tests/test_namespace_integration.py587def test_namespace_overwrite_mode(s3_bucket: str, use_custom: bool):CODE
LOWpython/python/tests/test_namespace_integration.py655def test_namespace_multiple_tables(s3_bucket: str, use_custom: bool):CODE
1260 more matches not shown…
Decorative Section Separators114 hits · 384 pts
SeverityFileLineSnippetContext
MEDIUM.bumpversion.toml67# ------------STRING
MEDIUMdeny.toml24# ---------------------------------------------------------------------------COMMENT
MEDIUMdeny.toml26# ---------------------------------------------------------------------------COMMENT
MEDIUMdeny.toml119# ---------------------------------------------------------------------------COMMENT
MEDIUMdeny.toml121# ---------------------------------------------------------------------------COMMENT
MEDIUMdeny.toml159# ---------------------------------------------------------------------------COMMENT
MEDIUMdeny.toml161# ---------------------------------------------------------------------------COMMENT
MEDIUMdeny.toml186# ---------------------------------------------------------------------------COMMENT
MEDIUMdeny.toml188# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_rerankers.py818# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_rerankers.py820# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_watsonx.py60# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_watsonx.py62# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_watsonx.py135# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_watsonx.py137# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_watsonx.py297# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_watsonx.py299# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_watsonx.py368# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_watsonx.py370# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_watsonx.py13# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_watsonx.py15# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_watsonx.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_watsonx.py94# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_nested_fields.py254# ===========================================================================COMMENT
MEDIUM⚡python/python/tests/test_nested_fields.py256# ===========================================================================COMMENT
MEDIUM⚡python/python/tests/test_nested_fields.py262# ===========================================================================COMMENT
MEDIUM⚡python/python/tests/test_nested_fields.py474# ===========================================================================COMMENT
MEDIUM⚡python/python/tests/test_nested_fields.py476# ===========================================================================COMMENT
MEDIUM⚡python/python/tests/test_nested_fields.py480# ===========================================================================COMMENT
MEDIUMpython/python/tests/test_nested_fields.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_nested_fields.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_nested_fields.py49# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_nested_fields.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_nested_fields.py66# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_nested_fields.py68# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_nested_fields.py241# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/python/tests/test_nested_fields.py243# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_expr.py436# ── column name edge cases ────────────────────────────────────────────────────COMMENT
MEDIUMpython/python/tests/test_expr.py16# ── unit tests for Expr construction ─────────────────────────────────────────COMMENT
MEDIUMpython/python/tests/test_expr.py359# ── integration tests: end-to-end query against a real table ─────────────────COMMENT
MEDIUMpython/python/tests/test_expr.py575# ── bytes / binary column integration tests ───────────────────────────────────COMMENT
MEDIUMpython/python/tests/test_expr.py637# ── datetime / timezone integration for lit() (issue #3262) ──────────────────COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py118# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py120# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py340# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py342# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py432# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py434# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py688# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py690# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py1765# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py1767# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py1814# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py1816# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py1959# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py1961# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py2120# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py2122# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py3176# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/python/tests/test_elastic_dataloader.py3178# ---------------------------------------------------------------------------COMMENT
54 more matches not shown…
Over-Commented Block382 hits · 352 pts
SeverityFileLineSnippetContext
LOWRUST_THIRD_PARTY_LICENSES.html12161// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FORCOMMENT
LOWdeny.toml21[output]COMMENT
LOWdeny.toml41 # https://rustsec.org/advisories/RUSTSEC-2023-0071COMMENT
LOWdeny.toml61 # backoff: unmaintained. Reached only via async-openai. ReplacementCOMMENT
LOWdeny.toml81 # rustls-webpki 0.101.7: reachable panic in CRL parsing. Same legacyCOMMENT
LOWdeny.toml101 # https://rustsec.org/advisories/RUSTSEC-2026-0195COMMENT
LOWdeny.toml141 # CDLA-Permissive-2.0 is a permissive data license used by `webpki-roots`COMMENT
LOWdeny.toml161# ---------------------------------------------------------------------------COMMENT
LOWnodejs/RUST_THIRD_PARTY_LICENSES.html11521// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OFCOMMENT
LOWnodejs/license_header.txt1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWnodejs/src/job.rs61COMMENT
LOWnodejs/src/remote.rs21 /// The timeout for establishing a connection in seconds. Default is 120COMMENT
LOWnodejs/src/remote.rs41 /// set this via the environment variable `LANCE_CLIENT_MAX_RETRIES`.COMMENT
LOWnodejs/src/remote.rs61 /// factor in seconds. So for the default of 0.25 seconds, between 0 and 250COMMENT
LOWnodejs/src/remote.rs141 cert_file: config.cert_file,COMMENT
LOWnodejs/src/remote.rs181///COMMENT
LOWnodejs/src/remote.rs201 /// Client secret (required for client_credentials).COMMENT
LOWnodejs/src/remote.rs341 /// Whether a cached credential was removed. `false` means no matchingCOMMENT
LOWnodejs/src/remote.rs361 ///COMMENT
LOWnodejs/src/remote.rs381 }COMMENT
LOWnodejs/src/lib.rs41 /// eventual consistency. If more than that interval has passed since theCOMMENT
LOWnodejs/src/lib.rs61 /// (For LanceDB OSS only): the session to use for this connection. HoldsCOMMENT
LOWnodejs/src/lib.rs81 pub oauth_config: Option<remote::OAuthConfig>,COMMENT
LOWnodejs/src/otel.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWnodejs/src/table.rs861COMMENT
LOWnodejs/src/table.rs881 pub type_url: Option<String>,COMMENT
LOWnodejs/src/table.rs1101}COMMENT
LOWnodejs/src/table.rs1201pub struct OptimizeStats {COMMENT
LOWnodejs/src/table.rs1241 }COMMENT
LOWnodejs/src/table.rs1261 /// Changing data types is limited to casting to the same general type. For example, theseCOMMENT
LOWnodejs/src/table.rs1361pub struct TableStatistics {COMMENT
LOWnodejs/src/scannable.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWnodejs/src/scannable.rs41///COMMENT
LOWnodejs/src/scannable.rs61 /// Construct a new `NapiScannable`.COMMENT
LOWpython/RUST_THIRD_PARTY_LICENSES.html11861 <ul class="license-used-by">COMMENT
LOWpython/RUST_THIRD_PARTY_LICENSES.html11881 <h4>Used by:</h4>COMMENT
LOWpython/license_header.txt1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWpython/python/tests/test_pydantic.py41COMMENT
LOWpython/python/tests/test_fts.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWpython/python/tests/test_io.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWpython/python/tests/docs/test_basic.py201 await tbl.create_index("vector")COMMENT
LOWpython/python/tests/docs/test_python.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWpython/python/tests/docs/test_guide_tables.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWpython/python/tests/docs/test_guide_tables.py281 # 0 1 [1.0, 2.0]COMMENT
LOWpython/python/lancedb/streaming.py521 # in the same process. Used by the observability properties when theCOMMENT
LOWpython/python/lancedb/streaming.py561COMMENT
LOWpython/python/lancedb/dependencies.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWpython/python/lancedb/integrations/__init__.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWpython/src/session.rs21 fn default() -> Self {COMMENT
LOWpython/src/session.rs61 }COMMENT
LOWpython/src/session.rs81 /// -------COMMENT
LOWpython/src/runtime.rs1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWpython/src/runtime.rs21//! rests on three separate mechanisms, each solving one problem the othersCOMMENT
LOWpython/src/runtime.rs41//! waits for it to reach zero before ever touching the runtime, which alsoCOMMENT
LOWpython/src/runtime.rs61//! work and awaits its `JoinHandle`; if a nested call re-resolved "theCOMMENT
LOWpython/src/runtime.rs221///COMMENT
LOWpython/src/runtime.rs401 // only one of them touches the shared runtime state at a time; aCOMMENT
LOWpython/src/runtime.rs501 }COMMENT
LOWpython/src/lib.rs41pub mod table;COMMENT
LOWpython/src/index.rs321 /// The UUID of the first segment of the index.COMMENT
322 more matches not shown…
Self-Referential Comments53 hits · 160 pts
SeverityFileLineSnippetContext
MEDIUMpython/python/tests/test_db.py1290 # Create a tag for the current versionCOMMENT
MEDIUMpython/python/tests/test_db.py1359 # Create a table through the main db connectionCOMMENT
MEDIUMpython/python/tests/test_table.py4059 # Create a LanceDB table schema with a vector and a text columnCOMMENT
MEDIUMpython/python/tests/test_table.py4072 # Create a list of 10 unique english phrasesCOMMENT
MEDIUMpython/python/tests/test_table.py4089 # Create a fts indexCOMMENT
MEDIUMpython/python/tests/test_embeddings.py150 # Create a mock arrow table with the metadataCOMMENT
MEDIUMpython/python/tests/test_embeddings.py576 # Create a mock that raises an AuthenticationErrorCOMMENT
MEDIUM⚡python/python/tests/test_namespace.py357 # Create a child namespace firstCOMMENT
MEDIUM⚡python/python/tests/test_namespace.py360 # Create a table with schema in child namespaceCOMMENT
MEDIUMpython/python/tests/test_namespace.py289 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py385 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py425 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py459 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py462 # Create a table in child namespaceCOMMENT
MEDIUMpython/python/tests/test_namespace.py484 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py515 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py518 # Create a table with schema in child namespaceCOMMENT
MEDIUMpython/python/tests/test_namespace.py581 # Create a namespaceCOMMENT
MEDIUMpython/python/tests/test_namespace.py825 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py852 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py855 # Create a table with schema in child namespaceCOMMENT
MEDIUMpython/python/tests/test_namespace.py909 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_namespace.py945 # Create a namespaceCOMMENT
MEDIUMpython/python/tests/test_namespace.py992 # Create a child namespace firstCOMMENT
MEDIUMpython/python/tests/test_rerankers.py34 # Create a LanceDB table schema with a vector and a text columnCOMMENT
MEDIUMpython/python/tests/test_rerankers.py99 # Create a fts indexCOMMENT
MEDIUMpython/python/tests/test_remote_db.py2774 # Create a static header providerCOMMENT
MEDIUMpython/python/tests/test_query.py201 # Create the Arrow tableCOMMENT
MEDIUMpython/python/tests/test_query.py229 # Create the Arrow tableCOMMENT
MEDIUMpython/python/tests/test_permutation.py289 # Create a permutation with shuffling (no seed)COMMENT
MEDIUMpython/python/tests/test_permutation.py328 # Create a permutation with shuffling using clumpsCOMMENT
MEDIUMpython/python/tests/test_permutation.py904 # Create a table and filter it to be emptyCOMMENT
MEDIUMpython/python/tests/test_s3.py138 # Create a table with SSECOMMENT
MEDIUMpython/python/tests/docs/test_search.py440 # Create a fts index before the hybrid searchCOMMENT
MEDIUMpython/python/tests/docs/test_search.py489 # Create a fts index before the hybrid searchCOMMENT
MEDIUMpython/python/tests/docs/test_guide_tables.py301 # Create a table from a pandas DataFrameCOMMENT
MEDIUMpython/python/tests/docs/test_guide_tables.py573 # Create a table from a pandas DataFrameCOMMENT
MEDIUMpython/python/lancedb/permutation.py260 >>> # Create a permutationSTRING
MEDIUMpython/python/lancedb/table.py6298 # This function is likely to block, since it either calls an expensiveCOMMENT
MEDIUMpython/python/lancedb/table.py6501 # This method is used by the sync tableCOMMENT
MEDIUMpython/python/lancedb/table.py6511 # This method is used by the sync tableCOMMENT
MEDIUMpython/python/lancedb/namespace.py1799 >>> # This function is sync, but returns an async connectionSTRING
MEDIUMpython/python/lancedb/dependencies.py6# The following code is originally from https://github.com/pola-rs/polars/blob/ea4389c31b0e87ddf20a85e4c3797b285966edb6/COMMENT
MEDIUMrust/lancedb/src/lib.rs79//! #### Create a tableCOMMENT
MEDIUM⚡docs/web-tests/py/test_tables.py408 # Create a table firstCOMMENT
MEDIUMdocs/web-tests/py/test_tables.py361 # Create a table firstCOMMENT
MEDIUMdocs/web-tests/py/test_tables.py458 # Define a Pydantic modelCOMMENT
MEDIUMdocs/web-tests/py/test_tables.py1336 # Create a tag pointing at a specific versionCOMMENT
MEDIUMdocs/web-tests/py/test_integrations.py1406 # Import necessary modulesCOMMENT
MEDIUMdocs/web-tests/py/test_integrations.py1446 # Create a pipeline objectCOMMENT
MEDIUMdocs/web-tests/py/test_search.py665 # Create a fts index before the hybrid searchCOMMENT
MEDIUMdocs/web-tests/py/test_search.py714 # Create a fts index before the hybrid searchCOMMENT
MEDIUMdocs/web-tests/py/test_multimodal.py119 # Create the tableCOMMENT
Unused Imports157 hits · 134 pts
SeverityFileLineSnippetContext
LOWpython/python/tests/test_first_class_function_slice2.py4CODE
LOWpython/python/tests/test_table.py27CODE
LOWpython/python/tests/test_rerankers.py12CODE
LOWpython/python/tests/test_function_packaging.py6CODE
LOWpython/python/lancedb/_blob.py6CODE
LOWpython/python/lancedb/_wal_hybrid.py20CODE
LOWpython/python/lancedb/db.py5CODE
LOWpython/python/lancedb/merge.py5CODE
LOWpython/python/lancedb/materialized_view.py7CODE
LOWpython/python/lancedb/materialized_view.py15CODE
LOWpython/python/lancedb/materialized_view.py18CODE
LOWpython/python/lancedb/materialized_view.py21CODE
LOWpython/python/lancedb/materialized_view.py21CODE
LOWpython/python/lancedb/query.py4CODE
LOWpython/python/lancedb/query.py62CODE
LOWpython/python/lancedb/query.py73CODE
LOWpython/python/lancedb/index.py7CODE
LOWpython/python/lancedb/job.py11CODE
LOWpython/python/lancedb/job.py15CODE
LOWpython/python/lancedb/job.py16CODE
LOWpython/python/lancedb/job.py16CODE
LOWpython/python/lancedb/__init__.py15CODE
LOWpython/python/lancedb/__init__.py16CODE
LOWpython/python/lancedb/__init__.py17CODE
LOWpython/python/lancedb/__init__.py18CODE
LOWpython/python/lancedb/__init__.py25CODE
LOWpython/python/lancedb/__init__.py25CODE
LOWpython/python/lancedb/__init__.py25CODE
LOWpython/python/lancedb/__init__.py25CODE
LOWpython/python/lancedb/__init__.py26CODE
LOWpython/python/lancedb/__init__.py26CODE
LOWpython/python/lancedb/__init__.py27CODE
LOWpython/python/lancedb/__init__.py27CODE
LOWpython/python/lancedb/__init__.py28CODE
LOWpython/python/lancedb/__init__.py29CODE
LOWpython/python/lancedb/__init__.py30CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py31CODE
LOWpython/python/lancedb/__init__.py43CODE
LOWpython/python/lancedb/__init__.py44CODE
LOWpython/python/lancedb/__init__.py45CODE
LOWpython/python/lancedb/__init__.py45CODE
LOWpython/python/lancedb/__init__.py45CODE
LOWpython/python/lancedb/__init__.py50CODE
LOWpython/python/lancedb/__init__.py51CODE
LOWpython/python/lancedb/__init__.py51CODE
LOWpython/python/lancedb/__init__.py54CODE
LOWpython/python/lancedb/__init__.py54CODE
LOWpython/python/lancedb/__init__.py54CODE
LOWpython/python/lancedb/__init__.py61CODE
LOWpython/python/lancedb/__init__.py61CODE
LOWpython/python/lancedb/__init__.py61CODE
97 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHpython/python/tests/test_namespace_integration.py188except s3.exceptions.NoSuchBucket:CODE
HIGHpython/python/tests/test_namespace_integration.py208except Exception:CODE
HIGHpython/python/tests/test_fts.py521except Exception:CODE
HIGHpython/python/tests/test_fts.py552except Exception:CODE
HIGHpython/python/tests/test_fts.py587except Exception:CODE
HIGHpython/python/tests/test_fts.py594except Exception:CODE
HIGHpython/python/tests/test_fts.py658except Exception:CODE
HIGHpython/python/tests/test_fts.py665except Exception:CODE
HIGHpython/python/tests/test_permutation.py1026except ImportError:CODE
HIGHpython/python/tests/test_s3.py46except s3.exceptions.NoSuchBucket:CODE
HIGHpython/python/tests/test_s3.py181except ddb.exceptions.ResourceNotFoundException:CODE
HIGHpython/python/lancedb/_blob.py229except KeyError:CODE
HIGHpython/python/lancedb/streaming.py202except BaseException:CODE
HIGHdocs/web-tests/mdx_snippets_gen.py226except Exception:CODE
HIGHdocs/web-tests/py/test_multimodal.py11except ImportError:CODE
Cross-File Repetition13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHpython/python/lancedb/db.py0create a new namespace. parameters ---------- namespace_path : list[str] the namespace path to create. mode : str, optioSTRING
HIGHpython/python/lancedb/remote/db.py0create a new namespace. parameters ---------- namespace_path : list[str] the namespace path to create. mode : str, optioSTRING
HIGHpython/python/lancedb/namespace.py0create a new namespace. parameters ---------- namespace_path : list[str] the namespace path to create. mode : str, optioSTRING
HIGHpython/python/lancedb/db.py0describe a namespace. parameters ---------- namespace_path : list[str] the namespace identifier to describe. returns ---STRING
HIGHpython/python/lancedb/remote/db.py0describe a namespace. parameters ---------- namespace_path : list[str] the namespace identifier to describe. returns ---STRING
HIGHpython/python/lancedb/namespace.py0describe a namespace. parameters ---------- namespace_path : list[str] the namespace identifier to describe. returns ---STRING
HIGHpython/python/lancedb/embeddings/gemini_text.py0get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embedSTRING
HIGHpython/python/lancedb/embeddings/jinaai.py0get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embedSTRING
HIGHpython/python/lancedb/embeddings/openai.py0get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embedSTRING
HIGH…hon/python/lancedb/embeddings/sentence_transformers.py0get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embedSTRING
HIGHpython/python/lancedb/embeddings/cohere.py0get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embedSTRING
HIGHpython/python/lancedb/embeddings/ollama.py0get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embedSTRING
HIGHpython/python/lancedb/embeddings/gte.py0get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embedSTRING
Deep Nesting85 hits · 63 pts
SeverityFileLineSnippetContext
LOWpython/python/tests/test_namespace_integration.py198CODE
LOWpython/python/tests/test_first_class_function_slice2.py1508CODE
LOWpython/python/tests/test_first_class_function_slice2.py1523CODE
LOWpython/python/tests/test_torch.py60CODE
LOWpython/python/tests/test_torch.py420CODE
LOWpython/python/tests/test_embeddings_slow.py190CODE
LOWpython/python/tests/test_embeddings_slow.py204CODE
LOWpython/python/tests/test_remote_db.py588CODE
LOWpython/python/tests/test_remote_db.py668CODE
LOWpython/python/tests/test_remote_db.py925CODE
LOWpython/python/tests/test_remote_db.py1159CODE
LOWpython/python/tests/test_remote_db.py1222CODE
LOWpython/python/tests/test_remote_db.py1361CODE
LOWpython/python/tests/test_remote_db.py1734CODE
LOWpython/python/tests/test_remote_db.py3036CODE
LOWpython/python/tests/test_remote_db.py3316CODE
LOWpython/python/tests/test_remote_db.py3566CODE
LOWpython/python/tests/test_remote_db.py593CODE
LOWpython/python/tests/test_remote_db.py678CODE
LOWpython/python/tests/test_remote_db.py929CODE
LOWpython/python/tests/test_remote_db.py1164CODE
LOWpython/python/tests/test_remote_db.py1231CODE
LOWpython/python/tests/test_remote_db.py1365CODE
LOWpython/python/tests/test_remote_db.py1735CODE
LOWpython/python/tests/test_remote_db.py3317CODE
LOWpython/python/tests/test_remote_db.py3577CODE
LOWpython/python/tests/test_elastic_dataloader.py173CODE
LOWpython/python/tests/test_elastic_dataloader.py286CODE
LOWpython/python/tests/test_elastic_dataloader.py1593CODE
LOWpython/python/tests/test_elastic_dataloader.py1651CODE
LOWpython/python/tests/test_elastic_dataloader.py2428CODE
LOWpython/python/tests/test_elastic_dataloader.py2435CODE
LOWpython/python/lancedb/functions.py99CODE
LOWpython/python/lancedb/functions.py1034CODE
LOWpython/python/lancedb/functions.py1192CODE
LOWpython/python/lancedb/functions.py1570CODE
LOWpython/python/lancedb/_blob.py267CODE
LOWpython/python/lancedb/db.py1277CODE
LOWpython/python/lancedb/query.py973CODE
LOWpython/python/lancedb/query.py1046CODE
LOWpython/python/lancedb/query.py2897CODE
LOWpython/python/lancedb/query.py3048CODE
LOWpython/python/lancedb/pydantic.py219CODE
LOWpython/python/lancedb/pydantic.py267CODE
LOWpython/python/lancedb/pydantic.py366CODE
LOWpython/python/lancedb/common.py62CODE
LOWpython/python/lancedb/permutation.py956CODE
LOWpython/python/lancedb/table.py359CODE
LOWpython/python/lancedb/table.py796CODE
LOWpython/python/lancedb/table.py829CODE
LOWpython/python/lancedb/table.py889CODE
LOWpython/python/lancedb/table.py1083CODE
LOWpython/python/lancedb/table.py4959CODE
LOWpython/python/lancedb/table.py5156CODE
LOWpython/python/lancedb/table.py1113CODE
LOWpython/python/lancedb/table.py3575CODE
LOWpython/python/lancedb/table.py6195CODE
LOWpython/python/lancedb/table.py6399CODE
LOWpython/python/lancedb/sql.py52CODE
LOWpython/python/lancedb/namespace.py331CODE
25 more matches not shown…
Magic Placeholder Names9 hits · 52 pts
SeverityFileLineSnippetContext
HIGH⚡docs/web-tests/py/test_tables.py66 api_key="your-api-key",CODE
HIGH⚡docs/web-tests/py/test_tables.py72 assert calls["api_key"] == "your-api-key"CODE
HIGHdocs/web-tests/py/test_connection.py36 api_key = "your-api-key"CODE
HIGHdocs/web-tests/py/test_connection.py65 "api_key": "your-api-key",CODE
HIGHdocs/web-tests/rs/tables.rs115 let api_key = "your-api-key";CODE
HIGHdocs/web-tests/rs/connection.rs29 let api_key = "your-api-key";CODE
HIGH⚡docs/web-tests/ts/tables.test.ts11 apiKey: "your-api-key",CODE
HIGHdocs/web-tests/ts/connection.test.ts26 const apiKey = "your-api-key";CODE
HIGHdocs/web-tests/ts/connection.test.ts48 apiKey: "your-api-key",CODE
Excessive Try-Catch Wrapping39 hits · 42 pts
SeverityFileLineSnippetContext
LOWpython/python/tests/test_namespace_integration.py208 except Exception:CODE
LOW⚡python/python/tests/test_fts.py658 except Exception:CODE
LOW⚡python/python/tests/test_fts.py665 except Exception:CODE
LOWpython/python/tests/test_fts.py521 except Exception:CODE
LOWpython/python/tests/test_fts.py552 except Exception:CODE
LOWpython/python/tests/test_fts.py587 except Exception:CODE
LOWpython/python/tests/test_fts.py594 except Exception:CODE
LOWpython/python/tests/test_embeddings.py504 except Exception as e:CODE
LOW⚡python/python/tests/test_embeddings_slow.py25except Exception:CODE
LOW⚡python/python/tests/test_embeddings_slow.py33except Exception:CODE
LOWpython/python/tests/test_embeddings_slow.py216 except Exception as e: # noqa: PERF203CODE
LOWpython/python/tests/test_embeddings_slow.py354 except Exception:CODE
MEDIUMpython/python/tests/test_embeddings_slow.py347def aws_setup():CODE
LOWpython/python/tests/test_remote_db.py2983 except Exception as e:CODE
LOWpython/python/tests/test_elastic_dataloader.py2086 except Exception as exc:CODE
LOWpython/python/lancedb/functions.py1128 except Exception as error:CODE
LOWpython/python/lancedb/functions.py1684 except Exception as error:CODE
MEDIUMpython/python/lancedb/functions.py1632def _source_text(path) -> str:CODE
LOWpython/python/lancedb/_wal_hybrid.py258 except Exception as e:CODE
LOWpython/python/lancedb/_wal_hybrid.py277 except Exception as e:CODE
LOWpython/python/lancedb/query.py1091 except Exception as err:CODE
LOWpython/python/lancedb/query.py3111 except Exception as err:CODE
LOWpython/python/lancedb/scannable.py112 except Exception:CODE
LOWpython/python/lancedb/streaming.py878 except Exception as exc:CODE
LOWpython/python/lancedb/streaming.py901 except Exception as exc:CODE
LOWpython/python/lancedb/embeddings/colpali.py298 except Exception as e:CODE
LOWpython/python/lancedb/embeddings/voyageai.py47 except Exception:CODE
MEDIUMpython/python/lancedb/embeddings/voyageai.py43def is_valid_url(text):CODE
LOWpython/python/lancedb/embeddings/jinaai.py30 except Exception:CODE
MEDIUMpython/python/lancedb/embeddings/jinaai.py26def is_valid_url(text):CODE
LOWpython/python/lancedb/embeddings/openai.py119 except Exception:CODE
LOWpython/python/lancedb/embeddings/utils.py63 except Exception:CODE
LOWpython/python/lancedb/embeddings/utils.py272 except Exception as e: # noqa: PERF203CODE
LOWpython/python/lancedb/embeddings/bedrock.py163 except Exception as e:CODE
LOWpython/tests/test_oauth.py323 except Exception:CODE
LOWci/set_lance_version.py241 except Exception as e:CODE
LOWdocs/web-tests/mdx_snippets_gen.py198 except Exception:CODE
LOWdocs/web-tests/mdx_snippets_gen.py226 except Exception:CODE
LOWdocs/web-tests/mdx_snippets_gen.py242 except Exception as exc: # pragma: no coverCODE
Cross-Language Confusion7 hits · 38 pts
SeverityFileLineSnippetContext
HIGHpython/python/tests/test_fts.py852 assert rs.to_arrow().drop("_score").schema.equals(table.schema)CODE
HIGHpython/python/tests/test_table.py2046 assert result.equals(source)CODE
HIGH⚡python/python/tests/test_sql.py228 assert sent.equals(pa.record_batch({"1": [1]}))CODE
HIGHpython/python/lancedb/functions.py387 given; an omitted nullable field is null, and the Function's ownSTRING
HIGHpython/python/lancedb/table.py5018 # pc.not_equal(null, dim) also returns null. Use or_kleene so thatCOMMENT
HIGHpython/python/lancedb/table.py547 if reader.schema.equals(target_schema, check_metadata=True):CODE
HIGHpython/python/lancedb/table.py4836 if batch.schema.equals(output_schema, check_metadata=True):CODE
AI Structural Patterns38 hits · 32 pts
SeverityFileLineSnippetContext
LOWpython/python/lancedb/functions.py901CODE
LOWpython/python/lancedb/functions.py1938CODE
LOWpython/python/lancedb/functions.py1954CODE
LOWpython/python/lancedb/db.py372CODE
LOWpython/python/lancedb/db.py1581CODE
LOWpython/python/lancedb/db.py2443CODE
LOWpython/python/lancedb/db.py2672CODE
LOWpython/python/lancedb/__init__.py115CODE
LOWpython/python/lancedb/__init__.py317CODE
LOWpython/python/lancedb/__init__.py447CODE
LOWpython/python/lancedb/table.py1374CODE
LOWpython/python/lancedb/table.py1396CODE
LOWpython/python/lancedb/table.py1590CODE
LOWpython/python/lancedb/table.py2824CODE
LOWpython/python/lancedb/table.py3308CODE
LOWpython/python/lancedb/table.py3332CODE
LOWpython/python/lancedb/table.py3801CODE
LOWpython/python/lancedb/table.py4241CODE
LOWpython/python/lancedb/namespace.py420CODE
LOWpython/python/lancedb/namespace.py564CODE
LOWpython/python/lancedb/namespace.py1088CODE
LOWpython/python/lancedb/namespace.py1198CODE
LOWpython/python/lancedb/streaming.py385CODE
LOWpython/python/lancedb/embeddings/imagebind.py55CODE
LOWpython/python/lancedb/embeddings/instructor.py123CODE
LOWpython/python/lancedb/rerankers/typesafe.py87CODE
LOWpython/python/lancedb/rerankers/watsonx.py58CODE
LOWpython/python/lancedb/integrations/pyarrow.py27CODE
LOWpython/python/lancedb/integrations/pyarrow.py112CODE
LOWpython/python/lancedb/integrations/pyarrow.py166CODE
LOWpython/python/lancedb/integrations/pyarrow.py196CODE
LOWpython/python/lancedb/integrations/pyarrow.py210CODE
LOWpython/python/lancedb/integrations/pyarrow.py232CODE
LOWpython/python/lancedb/remote/db.py126CODE
LOWpython/python/lancedb/remote/db.py568CODE
LOWpython/python/lancedb/remote/table.py345CODE
LOWpython/python/lancedb/remote/table.py415CODE
LOWpython/python/lancedb/remote/table.py434CODE
Modern Structural Boilerplate21 hits · 22 pts
SeverityFileLineSnippetContext
LOWpython/python/lancedb/functions.py2107__all__ = [CODE
LOWpython/python/lancedb/index.py912__all__ = [CODE
LOWpython/python/lancedb/job.py20__all__ = [CODE
LOWpython/python/lancedb/__init__.py578__all__ = [CODE
LOWpython/python/lancedb/secrets.py221__all__ = [CODE
LOW⚡python/python/lancedb/table.py4702 def set_unenforced_primary_key(self, columns: Union[str, Iterable[str]]) -> None:CODE
LOW⚡python/python/lancedb/table.py4707 def set_lsm_write_spec(self, spec: "LsmWriteSpec") -> None:CODE
LOWpython/python/lancedb/table.py5405 async def set_lsm_write_spec(self, spec: "LsmWriteSpec") -> None:CODE
LOWpython/python/lancedb/sql.py166__all__ = ["AsyncQuery", "Query", "QueryDescription", "QueryParameters"]CODE
LOWpython/python/lancedb/streaming.py49logger = logging.getLogger(__name__)CODE
LOWpython/python/lancedb/streaming.py973 def _update_stats(*, idle: bool = False) -> None:CODE
LOWpython/python/lancedb/streaming.py1077 def _update_progress_stats() -> None:CODE
LOWpython/python/lancedb/dependencies.py245__all__ = [CODE
LOWpython/python/lancedb/expr.py30__all__ = ["Expr", "col", "lit", "func"]CODE
LOWpython/python/lancedb/embeddings/registry.py160 def set_var(self, name: str, value: str) -> None:CODE
LOWpython/python/lancedb/embeddings/__init__.py28__all__ = [CODE
LOWpython/python/lancedb/rerankers/__init__.py21__all__ = [CODE
LOWpython/python/lancedb/remote/__init__.py23__all__ = [CODE
LOW⚡python/python/lancedb/remote/table.py1033 def set_unenforced_primary_key(self, columns: Union[str, Iterable[str]]) -> None:CODE
LOW⚡python/python/lancedb/remote/table.py1037 def set_lsm_write_spec(self, spec: "LsmWriteSpec") -> None:CODE
LOWci/update_lance_dependency.py64def update_java_lance_core_version(repo_root: Path, version: str) -> None:CODE
Verbosity Indicators7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡rust/lancedb/src/table/dataset.rs712 // Step 1: within interval — no listCOMMENT
LOW⚡rust/lancedb/src/table/dataset.rs717 // Step 2: still within interval — no listCOMMENT
LOW⚡rust/lancedb/src/table/dataset.rs722 // Step 3: sleep past the 1s boundaryCOMMENT
LOW⚡rust/lancedb/src/table/dataset.rs725 // Step 4: interval expired — exactly 1 list, timer resetsCOMMENT
LOW⚡rust/lancedb/src/table/dataset.rs730 // Step 5: 10 more calls — timer just reset, no lists (THIS is the regression test).COMMENT
LOWdocs/web-tests/py/test_integrations.py1585 # Step 1: Load your data into FiftyOneCOMMENT
LOWdocs/web-tests/py/test_integrations.py1600 # Step 4: Query your dataCOMMENT
Structural Annotation Overuse7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡rust/lancedb/src/table/dataset.rs712 // Step 1: within interval — no listCOMMENT
LOW⚡rust/lancedb/src/table/dataset.rs717 // Step 2: still within interval — no listCOMMENT
LOW⚡rust/lancedb/src/table/dataset.rs722 // Step 3: sleep past the 1s boundaryCOMMENT
LOW⚡rust/lancedb/src/table/dataset.rs725 // Step 4: interval expired — exactly 1 list, timer resetsCOMMENT
LOW⚡rust/lancedb/src/table/dataset.rs730 // Step 5: 10 more calls — timer just reset, no lists (THIS is the regression test).COMMENT
LOWdocs/web-tests/py/test_integrations.py1585 # Step 1: Load your data into FiftyOneCOMMENT
LOWdocs/web-tests/py/test_integrations.py1600 # Step 4: Query your dataCOMMENT
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWpython/python/lancedb/__init__.py101 # Check if region is provided in storage_optionsCOMMENT
LOWpython/python/lancedb/table.py3469 # Check if config has accelerator set and dispatch to pylanceCOMMENT
LOWpython/python/lancedb/embeddings/voyageai.py391 # Check if adding this text would exceed limitsCOMMENT
LOWpython/python/lancedb/embeddings/openai.py51 # Set true to use Azure OpenAI APICOMMENT
LOWci/set_lance_version.py123 # Check if this is a single-line or multi-line entryCOMMENT
LOW.github/actions/create-failure-issue/action.yml23 # Check if any job failedCOMMENT
AI Slop Vocabulary3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMRUST_THIRD_PARTY_LICENSES.html8702 <li><a href=" https://github.com/georust/robust ">robust 1.2.0</a></li>CODE
MEDIUMnodejs/RUST_THIRD_PARTY_LICENSES.html8265 <li><a href=" https://github.com/georust/robust ">robust 1.2.0</a></li>CODE
MEDIUMpython/RUST_THIRD_PARTY_LICENSES.html8695 <li><a href=" https://github.com/georust/robust ">robust 1.2.0</a></li>CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpython/python/lancedb/embeddings/gte_mlx_model.py137 # get converted embedding modelCOMMENT
Overly Generic Function Names3 hits · 2 pts
SeverityFileLineSnippetContext
LOWpython/python/tests/test_catalog.py21 def handle_request(self):CODE
LOWpython/python/tests/test_listing.py21 def handle_request(self):CODE
LOWpython/python/tests/test_function_packaging.py468 def helper(value):STRING