Developer-friendly OSS embedded retrieval library for multimodal AI. Search More; Manage Less.
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1905 finding(s).
Are imports declared and package/API names verified? 173 finding(s).
Are wrappers, guards, and repeated structures necessary? 1560 finding(s).
Which changes need focused human review? 2280 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nodejs/lancedb/sanitize.ts | 146 | function createSanitizationContext(): SanitizationContext { | CODE |
| LOW | nodejs/lancedb/sanitize.ts | 276 | function sanitizeListChildWithContext( | CODE |
| LOW | nodejs/lancedb/sanitize.ts | 299 | function sanitizeLargeListWithContext( | CODE |
| LOW | nodejs/lancedb/sanitize.ts | 313 | function sanitizeStructWithContext( | CODE |
| LOW | nodejs/lancedb/sanitize.ts | 370 | function sanitizeTypedUnionWithContext( | CODE |
| LOW | nodejs/lancedb/sanitize.ts | 409 | function sanitizeFixedSizeListWithContext( | CODE |
| LOW | nodejs/lancedb/sanitize.ts | 467 | function sanitizeDictionaryWithContext( | CODE |
| LOW | nodejs/lancedb/sanitize.ts | 723 | function sanitizeSchemaWithContext( | CODE |
| LOW | nodejs/lancedb/view.ts | 37 | export function viewDescriptionFromNative( | CODE |
| LOW | nodejs/lancedb/arrow.ts | 925 | async function applyEmbeddingsFromMetadata( | CODE |
| LOW | nodejs/lancedb/arrow.ts | 1213 | export async function fromRecordsToStreamBuffer( | CODE |
| LOW | nodejs/lancedb/arrow.ts | 1377 | export async function fromRecordBatchToStreamBuffer( | CODE |
| LOW | nodejs/lancedb/materialized_view.ts | 39 | export function validateNonNegativeInteger( | CODE |
| LOW | nodejs/lancedb/embedding/index.ts | 38 | function initializeBuiltInProviders() { | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 47 | def test_request_counts_and_boundaries(batch_size, count): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 63 | def test_payload_isolation_and_custom_prompts(batch_size, criteria): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 117 | def test_response_mapping_with_duplicates_and_nulls(): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 178 | def test_invalid_probabilities(batch_size, probability): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 188 | def test_api_failure_propagates(batch_size): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 199 | def test_concurrency_limits_requests(batch_size): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 225 | def test_empty_and_null_inputs(batch_size, return_score, method, docs): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 248 | def test_hybrid_deduplicates_by_row_id_and_keeps_scores(batch_size, return_score): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 271 | async def test_async_search_integrations(tmp_path, batch_size): | CODE |
| LOW | python/python/tests/test_typesafe_reranker.py | 299 | def test_sdk_transport_and_retries(batch_size, retry_once): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 32 | def mock_remote_materialized_views(): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 59 | def mock_remote_materialized_view_create(): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 88 | def test_remote_list_uses_namespace_route(): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 100 | def test_remote_drop_async_returns_server_job(): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 113 | def test_sync_remote_create_uses_public_async_connection(): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 159 | def test_create_refresh_and_query(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 174 | def test_create_and_refresh_jobs(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 196 | def test_definition_round_trips(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 206 | def test_full_refresh_after_append(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 220 | def test_full_refresh_after_update(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 233 | def test_legacy_storage_source_update_rebuilds(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 249 | def test_direct_writes_to_a_view_are_refused(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 288 | def test_invalid_expression_fails_at_create(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 296 | async def test_async_create_refresh_and_open(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 317 | async def test_async_create_and_refresh_jobs(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 341 | async def test_async_refresh_rebuilds(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 354 | def test_source_does_not_require_stable_row_ids(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 361 | def test_bare_select_names_are_quoted(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 378 | def test_scalar_select_is_one_column(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 388 | async def test_async_scalar_select_is_one_column(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 416 | def test_namespace_connection_materialized_views(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 447 | async def test_async_namespace_connection_materialized_views(tmp_path): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 491 | def test_stored_queries_and_legacy_layouts_are_read(): | CODE |
| LOW | python/python/tests/test_materialized_views.py | 539 | def test_local_materialized_view_listing_pages_and_resume(tmp_path): | CODE |
| LOW | python/python/tests/test_primary_key.py | 18 | def test_set_unenforced_primary_key_accepts_string_or_one_element_list(tmp_path): | CODE |
| LOW | python/python/tests/test_primary_key.py | 30 | def test_set_unenforced_primary_key_rejects_compound_and_empty(tmp_path): | CODE |
| LOW | python/python/tests/test_primary_key.py | 48 | def test_set_unenforced_primary_key_is_immutable(tmp_path): | CODE |
| LOW | python/python/tests/test_primary_key.py | 66 | def test_set_unenforced_primary_key_validates(tmp_path): | CODE |
| LOW | python/python/tests/test_namespace_integration.py | 212 | def create_tracking_namespace( | CODE |
| LOW | python/python/tests/test_namespace_integration.py | 274 | def test_namespace_create_table_with_provider(s3_bucket: str, use_custom: bool): | CODE |
| LOW | python/python/tests/test_namespace_integration.py | 331 | def test_namespace_open_table_with_provider(s3_bucket: str, use_custom: bool): | CODE |
| LOW | python/python/tests/test_namespace_integration.py | 399 | def test_namespace_create_schema_only_with_provider(use_custom: bool): | CODE |
| LOW | python/python/tests/test_namespace_integration.py | 456 | def test_namespace_credential_refresh_on_read(s3_bucket: str, use_custom: bool): | CODE |
| LOW | python/python/tests/test_namespace_integration.py | 523 | def test_namespace_credential_refresh_on_write(s3_bucket: str, use_custom: bool): | CODE |
| LOW | python/python/tests/test_namespace_integration.py | 587 | def test_namespace_overwrite_mode(s3_bucket: str, use_custom: bool): | CODE |
| LOW | python/python/tests/test_namespace_integration.py | 655 | def test_namespace_multiple_tables(s3_bucket: str, use_custom: bool): | CODE |
| 1260 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .bumpversion.toml | 67 | # ------------ | STRING |
| MEDIUM | deny.toml | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deny.toml | 26 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deny.toml | 119 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deny.toml | 121 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deny.toml | 159 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deny.toml | 161 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deny.toml | 186 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | deny.toml | 188 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_rerankers.py | 818 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_rerankers.py | 820 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_watsonx.py | 60 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_watsonx.py | 62 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_watsonx.py | 135 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_watsonx.py | 137 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_watsonx.py | 297 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_watsonx.py | 299 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_watsonx.py | 368 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_watsonx.py | 370 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_watsonx.py | 13 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_watsonx.py | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_watsonx.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_watsonx.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_nested_fields.py | 254 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | python/python/tests/test_nested_fields.py | 256 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | python/python/tests/test_nested_fields.py | 262 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | python/python/tests/test_nested_fields.py | 474 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | python/python/tests/test_nested_fields.py | 476 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | python/python/tests/test_nested_fields.py | 480 | # =========================================================================== | COMMENT |
| MEDIUM | python/python/tests/test_nested_fields.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_nested_fields.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_nested_fields.py | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_nested_fields.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_nested_fields.py | 66 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_nested_fields.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_nested_fields.py | 241 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/python/tests/test_nested_fields.py | 243 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_expr.py | 436 | # ── column name edge cases ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/python/tests/test_expr.py | 16 | # ── unit tests for Expr construction ───────────────────────────────────────── | COMMENT |
| MEDIUM | python/python/tests/test_expr.py | 359 | # ── integration tests: end-to-end query against a real table ───────────────── | COMMENT |
| MEDIUM | python/python/tests/test_expr.py | 575 | # ── bytes / binary column integration tests ─────────────────────────────────── | COMMENT |
| MEDIUM | python/python/tests/test_expr.py | 637 | # ── datetime / timezone integration for lit() (issue #3262) ────────────────── | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 118 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 120 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 340 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 342 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 432 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 434 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 688 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 690 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 1765 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 1767 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 1814 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 1816 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 1959 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 1961 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 2120 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 2122 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 3176 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/python/tests/test_elastic_dataloader.py | 3178 | # --------------------------------------------------------------------------- | COMMENT |
| 54 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | RUST_THIRD_PARTY_LICENSES.html | 12161 | // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR | COMMENT |
| LOW | deny.toml | 21 | [output] | COMMENT |
| LOW | deny.toml | 41 | # https://rustsec.org/advisories/RUSTSEC-2023-0071 | COMMENT |
| LOW | deny.toml | 61 | # backoff: unmaintained. Reached only via async-openai. Replacement | COMMENT |
| LOW | deny.toml | 81 | # rustls-webpki 0.101.7: reachable panic in CRL parsing. Same legacy | COMMENT |
| LOW | deny.toml | 101 | # https://rustsec.org/advisories/RUSTSEC-2026-0195 | COMMENT |
| LOW | deny.toml | 141 | # CDLA-Permissive-2.0 is a permissive data license used by `webpki-roots` | COMMENT |
| LOW | deny.toml | 161 | # --------------------------------------------------------------------------- | COMMENT |
| LOW | nodejs/RUST_THIRD_PARTY_LICENSES.html | 11521 | // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | COMMENT |
| LOW | nodejs/license_header.txt | 1 | // SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | nodejs/src/job.rs | 61 | COMMENT | |
| LOW | nodejs/src/remote.rs | 21 | /// The timeout for establishing a connection in seconds. Default is 120 | COMMENT |
| LOW | nodejs/src/remote.rs | 41 | /// set this via the environment variable `LANCE_CLIENT_MAX_RETRIES`. | COMMENT |
| LOW | nodejs/src/remote.rs | 61 | /// factor in seconds. So for the default of 0.25 seconds, between 0 and 250 | COMMENT |
| LOW | nodejs/src/remote.rs | 141 | cert_file: config.cert_file, | COMMENT |
| LOW | nodejs/src/remote.rs | 181 | /// | COMMENT |
| LOW | nodejs/src/remote.rs | 201 | /// Client secret (required for client_credentials). | COMMENT |
| LOW | nodejs/src/remote.rs | 341 | /// Whether a cached credential was removed. `false` means no matching | COMMENT |
| LOW | nodejs/src/remote.rs | 361 | /// | COMMENT |
| LOW | nodejs/src/remote.rs | 381 | } | COMMENT |
| LOW | nodejs/src/lib.rs | 41 | /// eventual consistency. If more than that interval has passed since the | COMMENT |
| LOW | nodejs/src/lib.rs | 61 | /// (For LanceDB OSS only): the session to use for this connection. Holds | COMMENT |
| LOW | nodejs/src/lib.rs | 81 | pub oauth_config: Option<remote::OAuthConfig>, | COMMENT |
| LOW | nodejs/src/otel.rs | 1 | // SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | nodejs/src/table.rs | 861 | COMMENT | |
| LOW | nodejs/src/table.rs | 881 | pub type_url: Option<String>, | COMMENT |
| LOW | nodejs/src/table.rs | 1101 | } | COMMENT |
| LOW | nodejs/src/table.rs | 1201 | pub struct OptimizeStats { | COMMENT |
| LOW | nodejs/src/table.rs | 1241 | } | COMMENT |
| LOW | nodejs/src/table.rs | 1261 | /// Changing data types is limited to casting to the same general type. For example, these | COMMENT |
| LOW | nodejs/src/table.rs | 1361 | pub struct TableStatistics { | COMMENT |
| LOW | nodejs/src/scannable.rs | 1 | // SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | nodejs/src/scannable.rs | 41 | /// | COMMENT |
| LOW | nodejs/src/scannable.rs | 61 | /// Construct a new `NapiScannable`. | COMMENT |
| LOW | python/RUST_THIRD_PARTY_LICENSES.html | 11861 | <ul class="license-used-by"> | COMMENT |
| LOW | python/RUST_THIRD_PARTY_LICENSES.html | 11881 | <h4>Used by:</h4> | COMMENT |
| LOW | python/license_header.txt | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | python/python/tests/test_pydantic.py | 41 | COMMENT | |
| LOW | python/python/tests/test_fts.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | python/python/tests/test_io.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | python/python/tests/docs/test_basic.py | 201 | await tbl.create_index("vector") | COMMENT |
| LOW | python/python/tests/docs/test_python.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | python/python/tests/docs/test_guide_tables.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | python/python/tests/docs/test_guide_tables.py | 281 | # 0 1 [1.0, 2.0] | COMMENT |
| LOW | python/python/lancedb/streaming.py | 521 | # in the same process. Used by the observability properties when the | COMMENT |
| LOW | python/python/lancedb/streaming.py | 561 | COMMENT | |
| LOW | python/python/lancedb/dependencies.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | python/python/lancedb/integrations/__init__.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | python/src/session.rs | 21 | fn default() -> Self { | COMMENT |
| LOW | python/src/session.rs | 61 | } | COMMENT |
| LOW | python/src/session.rs | 81 | /// ------- | COMMENT |
| LOW | python/src/runtime.rs | 1 | // SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | python/src/runtime.rs | 21 | //! rests on three separate mechanisms, each solving one problem the others | COMMENT |
| LOW | python/src/runtime.rs | 41 | //! waits for it to reach zero before ever touching the runtime, which also | COMMENT |
| LOW | python/src/runtime.rs | 61 | //! work and awaits its `JoinHandle`; if a nested call re-resolved "the | COMMENT |
| LOW | python/src/runtime.rs | 221 | /// | COMMENT |
| LOW | python/src/runtime.rs | 401 | // only one of them touches the shared runtime state at a time; a | COMMENT |
| LOW | python/src/runtime.rs | 501 | } | COMMENT |
| LOW | python/src/lib.rs | 41 | pub mod table; | COMMENT |
| LOW | python/src/index.rs | 321 | /// The UUID of the first segment of the index. | COMMENT |
| 322 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/python/tests/test_db.py | 1290 | # Create a tag for the current version | COMMENT |
| MEDIUM | python/python/tests/test_db.py | 1359 | # Create a table through the main db connection | COMMENT |
| MEDIUM | python/python/tests/test_table.py | 4059 | # Create a LanceDB table schema with a vector and a text column | COMMENT |
| MEDIUM | python/python/tests/test_table.py | 4072 | # Create a list of 10 unique english phrases | COMMENT |
| MEDIUM | python/python/tests/test_table.py | 4089 | # Create a fts index | COMMENT |
| MEDIUM | python/python/tests/test_embeddings.py | 150 | # Create a mock arrow table with the metadata | COMMENT |
| MEDIUM | python/python/tests/test_embeddings.py | 576 | # Create a mock that raises an AuthenticationError | COMMENT |
| MEDIUM⚡ | python/python/tests/test_namespace.py | 357 | # Create a child namespace first | COMMENT |
| MEDIUM⚡ | python/python/tests/test_namespace.py | 360 | # Create a table with schema in child namespace | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 289 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 385 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 425 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 459 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 462 | # Create a table in child namespace | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 484 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 515 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 518 | # Create a table with schema in child namespace | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 581 | # Create a namespace | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 825 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 852 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 855 | # Create a table with schema in child namespace | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 909 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 945 | # Create a namespace | COMMENT |
| MEDIUM | python/python/tests/test_namespace.py | 992 | # Create a child namespace first | COMMENT |
| MEDIUM | python/python/tests/test_rerankers.py | 34 | # Create a LanceDB table schema with a vector and a text column | COMMENT |
| MEDIUM | python/python/tests/test_rerankers.py | 99 | # Create a fts index | COMMENT |
| MEDIUM | python/python/tests/test_remote_db.py | 2774 | # Create a static header provider | COMMENT |
| MEDIUM | python/python/tests/test_query.py | 201 | # Create the Arrow table | COMMENT |
| MEDIUM | python/python/tests/test_query.py | 229 | # Create the Arrow table | COMMENT |
| MEDIUM | python/python/tests/test_permutation.py | 289 | # Create a permutation with shuffling (no seed) | COMMENT |
| MEDIUM | python/python/tests/test_permutation.py | 328 | # Create a permutation with shuffling using clumps | COMMENT |
| MEDIUM | python/python/tests/test_permutation.py | 904 | # Create a table and filter it to be empty | COMMENT |
| MEDIUM | python/python/tests/test_s3.py | 138 | # Create a table with SSE | COMMENT |
| MEDIUM | python/python/tests/docs/test_search.py | 440 | # Create a fts index before the hybrid search | COMMENT |
| MEDIUM | python/python/tests/docs/test_search.py | 489 | # Create a fts index before the hybrid search | COMMENT |
| MEDIUM | python/python/tests/docs/test_guide_tables.py | 301 | # Create a table from a pandas DataFrame | COMMENT |
| MEDIUM | python/python/tests/docs/test_guide_tables.py | 573 | # Create a table from a pandas DataFrame | COMMENT |
| MEDIUM | python/python/lancedb/permutation.py | 260 | >>> # Create a permutation | STRING |
| MEDIUM | python/python/lancedb/table.py | 6298 | # This function is likely to block, since it either calls an expensive | COMMENT |
| MEDIUM | python/python/lancedb/table.py | 6501 | # This method is used by the sync table | COMMENT |
| MEDIUM | python/python/lancedb/table.py | 6511 | # This method is used by the sync table | COMMENT |
| MEDIUM | python/python/lancedb/namespace.py | 1799 | >>> # This function is sync, but returns an async connection | STRING |
| MEDIUM | python/python/lancedb/dependencies.py | 6 | # The following code is originally from https://github.com/pola-rs/polars/blob/ea4389c31b0e87ddf20a85e4c3797b285966edb6/ | COMMENT |
| MEDIUM | rust/lancedb/src/lib.rs | 79 | //! #### Create a table | COMMENT |
| MEDIUM⚡ | docs/web-tests/py/test_tables.py | 408 | # Create a table first | COMMENT |
| MEDIUM | docs/web-tests/py/test_tables.py | 361 | # Create a table first | COMMENT |
| MEDIUM | docs/web-tests/py/test_tables.py | 458 | # Define a Pydantic model | COMMENT |
| MEDIUM | docs/web-tests/py/test_tables.py | 1336 | # Create a tag pointing at a specific version | COMMENT |
| MEDIUM | docs/web-tests/py/test_integrations.py | 1406 | # Import necessary modules | COMMENT |
| MEDIUM | docs/web-tests/py/test_integrations.py | 1446 | # Create a pipeline object | COMMENT |
| MEDIUM | docs/web-tests/py/test_search.py | 665 | # Create a fts index before the hybrid search | COMMENT |
| MEDIUM | docs/web-tests/py/test_search.py | 714 | # Create a fts index before the hybrid search | COMMENT |
| MEDIUM | docs/web-tests/py/test_multimodal.py | 119 | # Create the table | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/python/tests/test_first_class_function_slice2.py | 4 | CODE | |
| LOW | python/python/tests/test_table.py | 27 | CODE | |
| LOW | python/python/tests/test_rerankers.py | 12 | CODE | |
| LOW | python/python/tests/test_function_packaging.py | 6 | CODE | |
| LOW | python/python/lancedb/_blob.py | 6 | CODE | |
| LOW | python/python/lancedb/_wal_hybrid.py | 20 | CODE | |
| LOW | python/python/lancedb/db.py | 5 | CODE | |
| LOW | python/python/lancedb/merge.py | 5 | CODE | |
| LOW | python/python/lancedb/materialized_view.py | 7 | CODE | |
| LOW | python/python/lancedb/materialized_view.py | 15 | CODE | |
| LOW | python/python/lancedb/materialized_view.py | 18 | CODE | |
| LOW | python/python/lancedb/materialized_view.py | 21 | CODE | |
| LOW | python/python/lancedb/materialized_view.py | 21 | CODE | |
| LOW | python/python/lancedb/query.py | 4 | CODE | |
| LOW | python/python/lancedb/query.py | 62 | CODE | |
| LOW | python/python/lancedb/query.py | 73 | CODE | |
| LOW | python/python/lancedb/index.py | 7 | CODE | |
| LOW | python/python/lancedb/job.py | 11 | CODE | |
| LOW | python/python/lancedb/job.py | 15 | CODE | |
| LOW | python/python/lancedb/job.py | 16 | CODE | |
| LOW | python/python/lancedb/job.py | 16 | CODE | |
| LOW | python/python/lancedb/__init__.py | 15 | CODE | |
| LOW | python/python/lancedb/__init__.py | 16 | CODE | |
| LOW | python/python/lancedb/__init__.py | 17 | CODE | |
| LOW | python/python/lancedb/__init__.py | 18 | CODE | |
| LOW | python/python/lancedb/__init__.py | 25 | CODE | |
| LOW | python/python/lancedb/__init__.py | 25 | CODE | |
| LOW | python/python/lancedb/__init__.py | 25 | CODE | |
| LOW | python/python/lancedb/__init__.py | 25 | CODE | |
| LOW | python/python/lancedb/__init__.py | 26 | CODE | |
| LOW | python/python/lancedb/__init__.py | 26 | CODE | |
| LOW | python/python/lancedb/__init__.py | 27 | CODE | |
| LOW | python/python/lancedb/__init__.py | 27 | CODE | |
| LOW | python/python/lancedb/__init__.py | 28 | CODE | |
| LOW | python/python/lancedb/__init__.py | 29 | CODE | |
| LOW | python/python/lancedb/__init__.py | 30 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 31 | CODE | |
| LOW | python/python/lancedb/__init__.py | 43 | CODE | |
| LOW | python/python/lancedb/__init__.py | 44 | CODE | |
| LOW | python/python/lancedb/__init__.py | 45 | CODE | |
| LOW | python/python/lancedb/__init__.py | 45 | CODE | |
| LOW | python/python/lancedb/__init__.py | 45 | CODE | |
| LOW | python/python/lancedb/__init__.py | 50 | CODE | |
| LOW | python/python/lancedb/__init__.py | 51 | CODE | |
| LOW | python/python/lancedb/__init__.py | 51 | CODE | |
| LOW | python/python/lancedb/__init__.py | 54 | CODE | |
| LOW | python/python/lancedb/__init__.py | 54 | CODE | |
| LOW | python/python/lancedb/__init__.py | 54 | CODE | |
| LOW | python/python/lancedb/__init__.py | 61 | CODE | |
| LOW | python/python/lancedb/__init__.py | 61 | CODE | |
| LOW | python/python/lancedb/__init__.py | 61 | CODE | |
| 97 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/python/tests/test_namespace_integration.py | 188 | except s3.exceptions.NoSuchBucket: | CODE |
| HIGH | python/python/tests/test_namespace_integration.py | 208 | except Exception: | CODE |
| HIGH | python/python/tests/test_fts.py | 521 | except Exception: | CODE |
| HIGH | python/python/tests/test_fts.py | 552 | except Exception: | CODE |
| HIGH | python/python/tests/test_fts.py | 587 | except Exception: | CODE |
| HIGH | python/python/tests/test_fts.py | 594 | except Exception: | CODE |
| HIGH | python/python/tests/test_fts.py | 658 | except Exception: | CODE |
| HIGH | python/python/tests/test_fts.py | 665 | except Exception: | CODE |
| HIGH | python/python/tests/test_permutation.py | 1026 | except ImportError: | CODE |
| HIGH | python/python/tests/test_s3.py | 46 | except s3.exceptions.NoSuchBucket: | CODE |
| HIGH | python/python/tests/test_s3.py | 181 | except ddb.exceptions.ResourceNotFoundException: | CODE |
| HIGH | python/python/lancedb/_blob.py | 229 | except KeyError: | CODE |
| HIGH | python/python/lancedb/streaming.py | 202 | except BaseException: | CODE |
| HIGH | docs/web-tests/mdx_snippets_gen.py | 226 | except Exception: | CODE |
| HIGH | docs/web-tests/py/test_multimodal.py | 11 | except ImportError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/python/lancedb/db.py | 0 | create a new namespace. parameters ---------- namespace_path : list[str] the namespace path to create. mode : str, optio | STRING |
| HIGH | python/python/lancedb/remote/db.py | 0 | create a new namespace. parameters ---------- namespace_path : list[str] the namespace path to create. mode : str, optio | STRING |
| HIGH | python/python/lancedb/namespace.py | 0 | create a new namespace. parameters ---------- namespace_path : list[str] the namespace path to create. mode : str, optio | STRING |
| HIGH | python/python/lancedb/db.py | 0 | describe a namespace. parameters ---------- namespace_path : list[str] the namespace identifier to describe. returns --- | STRING |
| HIGH | python/python/lancedb/remote/db.py | 0 | describe a namespace. parameters ---------- namespace_path : list[str] the namespace identifier to describe. returns --- | STRING |
| HIGH | python/python/lancedb/namespace.py | 0 | describe a namespace. parameters ---------- namespace_path : list[str] the namespace identifier to describe. returns --- | STRING |
| HIGH | python/python/lancedb/embeddings/gemini_text.py | 0 | get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embed | STRING |
| HIGH | python/python/lancedb/embeddings/jinaai.py | 0 | get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embed | STRING |
| HIGH | python/python/lancedb/embeddings/openai.py | 0 | get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embed | STRING |
| HIGH | …hon/python/lancedb/embeddings/sentence_transformers.py | 0 | get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embed | STRING |
| HIGH | python/python/lancedb/embeddings/cohere.py | 0 | get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embed | STRING |
| HIGH | python/python/lancedb/embeddings/ollama.py | 0 | get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embed | STRING |
| HIGH | python/python/lancedb/embeddings/gte.py | 0 | get the embeddings for the given texts. parameters ---------- texts: list[str] or np.ndarray (of str) the texts to embed | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/python/tests/test_namespace_integration.py | 198 | CODE | |
| LOW | python/python/tests/test_first_class_function_slice2.py | 1508 | CODE | |
| LOW | python/python/tests/test_first_class_function_slice2.py | 1523 | CODE | |
| LOW | python/python/tests/test_torch.py | 60 | CODE | |
| LOW | python/python/tests/test_torch.py | 420 | CODE | |
| LOW | python/python/tests/test_embeddings_slow.py | 190 | CODE | |
| LOW | python/python/tests/test_embeddings_slow.py | 204 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 588 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 668 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 925 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 1159 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 1222 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 1361 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 1734 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 3036 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 3316 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 3566 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 593 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 678 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 929 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 1164 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 1231 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 1365 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 1735 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 3317 | CODE | |
| LOW | python/python/tests/test_remote_db.py | 3577 | CODE | |
| LOW | python/python/tests/test_elastic_dataloader.py | 173 | CODE | |
| LOW | python/python/tests/test_elastic_dataloader.py | 286 | CODE | |
| LOW | python/python/tests/test_elastic_dataloader.py | 1593 | CODE | |
| LOW | python/python/tests/test_elastic_dataloader.py | 1651 | CODE | |
| LOW | python/python/tests/test_elastic_dataloader.py | 2428 | CODE | |
| LOW | python/python/tests/test_elastic_dataloader.py | 2435 | CODE | |
| LOW | python/python/lancedb/functions.py | 99 | CODE | |
| LOW | python/python/lancedb/functions.py | 1034 | CODE | |
| LOW | python/python/lancedb/functions.py | 1192 | CODE | |
| LOW | python/python/lancedb/functions.py | 1570 | CODE | |
| LOW | python/python/lancedb/_blob.py | 267 | CODE | |
| LOW | python/python/lancedb/db.py | 1277 | CODE | |
| LOW | python/python/lancedb/query.py | 973 | CODE | |
| LOW | python/python/lancedb/query.py | 1046 | CODE | |
| LOW | python/python/lancedb/query.py | 2897 | CODE | |
| LOW | python/python/lancedb/query.py | 3048 | CODE | |
| LOW | python/python/lancedb/pydantic.py | 219 | CODE | |
| LOW | python/python/lancedb/pydantic.py | 267 | CODE | |
| LOW | python/python/lancedb/pydantic.py | 366 | CODE | |
| LOW | python/python/lancedb/common.py | 62 | CODE | |
| LOW | python/python/lancedb/permutation.py | 956 | CODE | |
| LOW | python/python/lancedb/table.py | 359 | CODE | |
| LOW | python/python/lancedb/table.py | 796 | CODE | |
| LOW | python/python/lancedb/table.py | 829 | CODE | |
| LOW | python/python/lancedb/table.py | 889 | CODE | |
| LOW | python/python/lancedb/table.py | 1083 | CODE | |
| LOW | python/python/lancedb/table.py | 4959 | CODE | |
| LOW | python/python/lancedb/table.py | 5156 | CODE | |
| LOW | python/python/lancedb/table.py | 1113 | CODE | |
| LOW | python/python/lancedb/table.py | 3575 | CODE | |
| LOW | python/python/lancedb/table.py | 6195 | CODE | |
| LOW | python/python/lancedb/table.py | 6399 | CODE | |
| LOW | python/python/lancedb/sql.py | 52 | CODE | |
| LOW | python/python/lancedb/namespace.py | 331 | CODE | |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | docs/web-tests/py/test_tables.py | 66 | api_key="your-api-key", | CODE |
| HIGH⚡ | docs/web-tests/py/test_tables.py | 72 | assert calls["api_key"] == "your-api-key" | CODE |
| HIGH | docs/web-tests/py/test_connection.py | 36 | api_key = "your-api-key" | CODE |
| HIGH | docs/web-tests/py/test_connection.py | 65 | "api_key": "your-api-key", | CODE |
| HIGH | docs/web-tests/rs/tables.rs | 115 | let api_key = "your-api-key"; | CODE |
| HIGH | docs/web-tests/rs/connection.rs | 29 | let api_key = "your-api-key"; | CODE |
| HIGH⚡ | docs/web-tests/ts/tables.test.ts | 11 | apiKey: "your-api-key", | CODE |
| HIGH | docs/web-tests/ts/connection.test.ts | 26 | const apiKey = "your-api-key"; | CODE |
| HIGH | docs/web-tests/ts/connection.test.ts | 48 | apiKey: "your-api-key", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/python/tests/test_namespace_integration.py | 208 | except Exception: | CODE |
| LOW⚡ | python/python/tests/test_fts.py | 658 | except Exception: | CODE |
| LOW⚡ | python/python/tests/test_fts.py | 665 | except Exception: | CODE |
| LOW | python/python/tests/test_fts.py | 521 | except Exception: | CODE |
| LOW | python/python/tests/test_fts.py | 552 | except Exception: | CODE |
| LOW | python/python/tests/test_fts.py | 587 | except Exception: | CODE |
| LOW | python/python/tests/test_fts.py | 594 | except Exception: | CODE |
| LOW | python/python/tests/test_embeddings.py | 504 | except Exception as e: | CODE |
| LOW⚡ | python/python/tests/test_embeddings_slow.py | 25 | except Exception: | CODE |
| LOW⚡ | python/python/tests/test_embeddings_slow.py | 33 | except Exception: | CODE |
| LOW | python/python/tests/test_embeddings_slow.py | 216 | except Exception as e: # noqa: PERF203 | CODE |
| LOW | python/python/tests/test_embeddings_slow.py | 354 | except Exception: | CODE |
| MEDIUM | python/python/tests/test_embeddings_slow.py | 347 | def aws_setup(): | CODE |
| LOW | python/python/tests/test_remote_db.py | 2983 | except Exception as e: | CODE |
| LOW | python/python/tests/test_elastic_dataloader.py | 2086 | except Exception as exc: | CODE |
| LOW | python/python/lancedb/functions.py | 1128 | except Exception as error: | CODE |
| LOW | python/python/lancedb/functions.py | 1684 | except Exception as error: | CODE |
| MEDIUM | python/python/lancedb/functions.py | 1632 | def _source_text(path) -> str: | CODE |
| LOW | python/python/lancedb/_wal_hybrid.py | 258 | except Exception as e: | CODE |
| LOW | python/python/lancedb/_wal_hybrid.py | 277 | except Exception as e: | CODE |
| LOW | python/python/lancedb/query.py | 1091 | except Exception as err: | CODE |
| LOW | python/python/lancedb/query.py | 3111 | except Exception as err: | CODE |
| LOW | python/python/lancedb/scannable.py | 112 | except Exception: | CODE |
| LOW | python/python/lancedb/streaming.py | 878 | except Exception as exc: | CODE |
| LOW | python/python/lancedb/streaming.py | 901 | except Exception as exc: | CODE |
| LOW | python/python/lancedb/embeddings/colpali.py | 298 | except Exception as e: | CODE |
| LOW | python/python/lancedb/embeddings/voyageai.py | 47 | except Exception: | CODE |
| MEDIUM | python/python/lancedb/embeddings/voyageai.py | 43 | def is_valid_url(text): | CODE |
| LOW | python/python/lancedb/embeddings/jinaai.py | 30 | except Exception: | CODE |
| MEDIUM | python/python/lancedb/embeddings/jinaai.py | 26 | def is_valid_url(text): | CODE |
| LOW | python/python/lancedb/embeddings/openai.py | 119 | except Exception: | CODE |
| LOW | python/python/lancedb/embeddings/utils.py | 63 | except Exception: | CODE |
| LOW | python/python/lancedb/embeddings/utils.py | 272 | except Exception as e: # noqa: PERF203 | CODE |
| LOW | python/python/lancedb/embeddings/bedrock.py | 163 | except Exception as e: | CODE |
| LOW | python/tests/test_oauth.py | 323 | except Exception: | CODE |
| LOW | ci/set_lance_version.py | 241 | except Exception as e: | CODE |
| LOW | docs/web-tests/mdx_snippets_gen.py | 198 | except Exception: | CODE |
| LOW | docs/web-tests/mdx_snippets_gen.py | 226 | except Exception: | CODE |
| LOW | docs/web-tests/mdx_snippets_gen.py | 242 | except Exception as exc: # pragma: no cover | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/python/tests/test_fts.py | 852 | assert rs.to_arrow().drop("_score").schema.equals(table.schema) | CODE |
| HIGH | python/python/tests/test_table.py | 2046 | assert result.equals(source) | CODE |
| HIGH⚡ | python/python/tests/test_sql.py | 228 | assert sent.equals(pa.record_batch({"1": [1]})) | CODE |
| HIGH | python/python/lancedb/functions.py | 387 | given; an omitted nullable field is null, and the Function's own | STRING |
| HIGH | python/python/lancedb/table.py | 5018 | # pc.not_equal(null, dim) also returns null. Use or_kleene so that | COMMENT |
| HIGH | python/python/lancedb/table.py | 547 | if reader.schema.equals(target_schema, check_metadata=True): | CODE |
| HIGH | python/python/lancedb/table.py | 4836 | if batch.schema.equals(output_schema, check_metadata=True): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/python/lancedb/functions.py | 901 | CODE | |
| LOW | python/python/lancedb/functions.py | 1938 | CODE | |
| LOW | python/python/lancedb/functions.py | 1954 | CODE | |
| LOW | python/python/lancedb/db.py | 372 | CODE | |
| LOW | python/python/lancedb/db.py | 1581 | CODE | |
| LOW | python/python/lancedb/db.py | 2443 | CODE | |
| LOW | python/python/lancedb/db.py | 2672 | CODE | |
| LOW | python/python/lancedb/__init__.py | 115 | CODE | |
| LOW | python/python/lancedb/__init__.py | 317 | CODE | |
| LOW | python/python/lancedb/__init__.py | 447 | CODE | |
| LOW | python/python/lancedb/table.py | 1374 | CODE | |
| LOW | python/python/lancedb/table.py | 1396 | CODE | |
| LOW | python/python/lancedb/table.py | 1590 | CODE | |
| LOW | python/python/lancedb/table.py | 2824 | CODE | |
| LOW | python/python/lancedb/table.py | 3308 | CODE | |
| LOW | python/python/lancedb/table.py | 3332 | CODE | |
| LOW | python/python/lancedb/table.py | 3801 | CODE | |
| LOW | python/python/lancedb/table.py | 4241 | CODE | |
| LOW | python/python/lancedb/namespace.py | 420 | CODE | |
| LOW | python/python/lancedb/namespace.py | 564 | CODE | |
| LOW | python/python/lancedb/namespace.py | 1088 | CODE | |
| LOW | python/python/lancedb/namespace.py | 1198 | CODE | |
| LOW | python/python/lancedb/streaming.py | 385 | CODE | |
| LOW | python/python/lancedb/embeddings/imagebind.py | 55 | CODE | |
| LOW | python/python/lancedb/embeddings/instructor.py | 123 | CODE | |
| LOW | python/python/lancedb/rerankers/typesafe.py | 87 | CODE | |
| LOW | python/python/lancedb/rerankers/watsonx.py | 58 | CODE | |
| LOW | python/python/lancedb/integrations/pyarrow.py | 27 | CODE | |
| LOW | python/python/lancedb/integrations/pyarrow.py | 112 | CODE | |
| LOW | python/python/lancedb/integrations/pyarrow.py | 166 | CODE | |
| LOW | python/python/lancedb/integrations/pyarrow.py | 196 | CODE | |
| LOW | python/python/lancedb/integrations/pyarrow.py | 210 | CODE | |
| LOW | python/python/lancedb/integrations/pyarrow.py | 232 | CODE | |
| LOW | python/python/lancedb/remote/db.py | 126 | CODE | |
| LOW | python/python/lancedb/remote/db.py | 568 | CODE | |
| LOW | python/python/lancedb/remote/table.py | 345 | CODE | |
| LOW | python/python/lancedb/remote/table.py | 415 | CODE | |
| LOW | python/python/lancedb/remote/table.py | 434 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/python/lancedb/functions.py | 2107 | __all__ = [ | CODE |
| LOW | python/python/lancedb/index.py | 912 | __all__ = [ | CODE |
| LOW | python/python/lancedb/job.py | 20 | __all__ = [ | CODE |
| LOW | python/python/lancedb/__init__.py | 578 | __all__ = [ | CODE |
| LOW | python/python/lancedb/secrets.py | 221 | __all__ = [ | CODE |
| LOW⚡ | python/python/lancedb/table.py | 4702 | def set_unenforced_primary_key(self, columns: Union[str, Iterable[str]]) -> None: | CODE |
| LOW⚡ | python/python/lancedb/table.py | 4707 | def set_lsm_write_spec(self, spec: "LsmWriteSpec") -> None: | CODE |
| LOW | python/python/lancedb/table.py | 5405 | async def set_lsm_write_spec(self, spec: "LsmWriteSpec") -> None: | CODE |
| LOW | python/python/lancedb/sql.py | 166 | __all__ = ["AsyncQuery", "Query", "QueryDescription", "QueryParameters"] | CODE |
| LOW | python/python/lancedb/streaming.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/python/lancedb/streaming.py | 973 | def _update_stats(*, idle: bool = False) -> None: | CODE |
| LOW | python/python/lancedb/streaming.py | 1077 | def _update_progress_stats() -> None: | CODE |
| LOW | python/python/lancedb/dependencies.py | 245 | __all__ = [ | CODE |
| LOW | python/python/lancedb/expr.py | 30 | __all__ = ["Expr", "col", "lit", "func"] | CODE |
| LOW | python/python/lancedb/embeddings/registry.py | 160 | def set_var(self, name: str, value: str) -> None: | CODE |
| LOW | python/python/lancedb/embeddings/__init__.py | 28 | __all__ = [ | CODE |
| LOW | python/python/lancedb/rerankers/__init__.py | 21 | __all__ = [ | CODE |
| LOW | python/python/lancedb/remote/__init__.py | 23 | __all__ = [ | CODE |
| LOW⚡ | python/python/lancedb/remote/table.py | 1033 | def set_unenforced_primary_key(self, columns: Union[str, Iterable[str]]) -> None: | CODE |
| LOW⚡ | python/python/lancedb/remote/table.py | 1037 | def set_lsm_write_spec(self, spec: "LsmWriteSpec") -> None: | CODE |
| LOW | ci/update_lance_dependency.py | 64 | def update_java_lance_core_version(repo_root: Path, version: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 712 | // Step 1: within interval — no list | COMMENT |
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 717 | // Step 2: still within interval — no list | COMMENT |
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 722 | // Step 3: sleep past the 1s boundary | COMMENT |
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 725 | // Step 4: interval expired — exactly 1 list, timer resets | COMMENT |
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 730 | // Step 5: 10 more calls — timer just reset, no lists (THIS is the regression test). | COMMENT |
| LOW | docs/web-tests/py/test_integrations.py | 1585 | # Step 1: Load your data into FiftyOne | COMMENT |
| LOW | docs/web-tests/py/test_integrations.py | 1600 | # Step 4: Query your data | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 712 | // Step 1: within interval — no list | COMMENT |
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 717 | // Step 2: still within interval — no list | COMMENT |
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 722 | // Step 3: sleep past the 1s boundary | COMMENT |
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 725 | // Step 4: interval expired — exactly 1 list, timer resets | COMMENT |
| LOW⚡ | rust/lancedb/src/table/dataset.rs | 730 | // Step 5: 10 more calls — timer just reset, no lists (THIS is the regression test). | COMMENT |
| LOW | docs/web-tests/py/test_integrations.py | 1585 | # Step 1: Load your data into FiftyOne | COMMENT |
| LOW | docs/web-tests/py/test_integrations.py | 1600 | # Step 4: Query your data | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/python/lancedb/__init__.py | 101 | # Check if region is provided in storage_options | COMMENT |
| LOW | python/python/lancedb/table.py | 3469 | # Check if config has accelerator set and dispatch to pylance | COMMENT |
| LOW | python/python/lancedb/embeddings/voyageai.py | 391 | # Check if adding this text would exceed limits | COMMENT |
| LOW | python/python/lancedb/embeddings/openai.py | 51 | # Set true to use Azure OpenAI API | COMMENT |
| LOW | ci/set_lance_version.py | 123 | # Check if this is a single-line or multi-line entry | COMMENT |
| LOW | .github/actions/create-failure-issue/action.yml | 23 | # Check if any job failed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | RUST_THIRD_PARTY_LICENSES.html | 8702 | <li><a href=" https://github.com/georust/robust ">robust 1.2.0</a></li> | CODE |
| MEDIUM | nodejs/RUST_THIRD_PARTY_LICENSES.html | 8265 | <li><a href=" https://github.com/georust/robust ">robust 1.2.0</a></li> | CODE |
| MEDIUM | python/RUST_THIRD_PARTY_LICENSES.html | 8695 | <li><a href=" https://github.com/georust/robust ">robust 1.2.0</a></li> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/python/lancedb/embeddings/gte_mlx_model.py | 137 | # get converted embedding model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/python/tests/test_catalog.py | 21 | def handle_request(self): | CODE |
| LOW | python/python/tests/test_listing.py | 21 | def handle_request(self): | CODE |
| LOW | python/python/tests/test_function_packaging.py | 468 | def helper(value): | STRING |