Repository Analysis

qdrant/qdrant

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

2.9 Likely human-written View on GitHub
2.9
Adjusted Score
2.9
Raw Score
100%
Time Factor
2026-05-30
Last Push
31,671
Stars
Rust
Language
828,342
Lines of Code
1715
Files
1839
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 8MEDIUM 205LOW 1626

Pattern Findings

1839 matches across 16 categories. Click a row to expand file-level details.

Decorative Section Separators189 hits · 801 pts
SeverityFileLineSnippet
MEDIUMtests/openapi/test_match_except_empty.py98# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py100# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py126# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py128# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py156# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py160# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py168# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py170# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py208# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py210# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py238# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py243# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py275# ---------------------------------------------------------------------------
MEDIUMtests/openapi/test_match_except_empty.py278# ---------------------------------------------------------------------------
MEDIUMlib/collection/src/wal_delta.rs1011 // ┌───┬───────►┌───┐
MEDIUMlib/collection/src/wal_delta.rs1013 // └─▲─┴───────►└─▲─┘
MEDIUMlib/collection/src/wal_delta.rs1035 // │ B ├───────►│ E │
MEDIUMlib/collection/src/wal_delta.rs1041 // │ E ├───────►│ A │
MEDIUMlib/collection/src/shards/shard_holder/resharding.rs508 // ┌────────────┐ ┌──────────┐
MEDIUMlib/collection/src/shards/shard_holder/resharding.rs514 // └────────────┘ └──────────┘
MEDIUMlib/collection/src/shards/shard_holder/resharding.rs517 // ┌────────────┐ ┌──────────┐
MEDIUMlib/collection/src/shards/shard_holder/resharding.rs523 // └────────────┘ └──────────┘
MEDIUMlib/collection/src/shards/replica_set/mod.rs58// ┌──────────────┐
MEDIUMlib/collection/src/shards/replica_set/mod.rs62// └──────┬───────┘
MEDIUMlib/collection/src/shards/replica_set/mod.rs63// │ Report created ┌───────────┐
MEDIUMlib/collection/src/shards/replica_set/mod.rs64// └────────────────────► │
MEDIUMlib/collection/src/shards/replica_set/mod.rs66// ┌─────────────────────┤ │
MEDIUMlib/collection/src/shards/replica_set/mod.rs67// │ └───────────┘
MEDIUMlib/collection/src/shards/replica_set/mod.rs68// ┌─────▼───────┐ User Promote ┌──────────┐
MEDIUMlib/collection/src/shards/replica_set/mod.rs69// │ ◄──────────────────────────► │
MEDIUMlib/collection/src/shards/replica_set/mod.rs71// │ ◄───────────┐ │ │
MEDIUMlib/collection/src/shards/replica_set/mod.rs72// └──┬──────────┘ │Transfer └──┬───────┘
MEDIUMlib/collection/src/shards/replica_set/mod.rs74// │ ┌──────┴────────┐ │Update
MEDIUMlib/collection/src/shards/replica_set/mod.rs78// │ └───────▲───────┘ │ │
MEDIUMlib/collection/src/shards/replica_set/mod.rs80// ┌──▼──────────┐ Transfer │ │ │
MEDIUMlib/collection/src/shards/replica_set/mod.rs82// │ Dead ├────────────┘ │ │
MEDIUMlib/collection/src/shards/replica_set/mod.rs84// └─▲───────▲───┘ Transfer │ │
MEDIUMlib/collection/src/shards/replica_set/mod.rs86// │ └────────────────────────────┘ │
MEDIUMlib/collection/src/shards/replica_set/mod.rs88// └─────────────────────────────────────────┘
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs11/// ┌─────────────────┐
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs13/// └───────┬─────────┘
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs14/// │◄──────────────
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs16/// ┌───────▼─────────┐ (accept reads,
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs18/// └───────┬─────────┘
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs19/// │◄───────────────
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs21/// ┌───────▼─────────┐ (reject reads,
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs23/// └───────┬─────────┘
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs26/// ┌───────▼─────────┐
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs28/// └─────────────────┘
MEDIUMlib/collection/src/shards/transfer/snapshot.rs80/// ┌───────────┐ ┌───────────┐ ┌───────────┐
MEDIUMlib/collection/src/shards/transfer/snapshot.rs82/// └───────────┘ └───────────┘ └───────────┘
MEDIUMlib/collection/src/shards/transfer/snapshot.rs85/// ────►┌─┬──────────────────────|────────────────────────►|──┐
MEDIUMlib/collection/src/shards/transfer/snapshot.rs88/// └─┴────────────────────►┬─┬──────────────────────►┌─┐◄┘
MEDIUMlib/collection/src/shards/transfer/snapshot.rs92/// | │X├───────────────────────┴─┘◄┘
MEDIUMlib/collection/src/shards/transfer/snapshot.rs99/// | │X├───────────────────────┬─┐
MEDIUMlib/collection/src/shards/transfer/snapshot.rs102/// | ┌─┐◄─·│X│·──────────────────────┤ │
MEDIUMlib/collection/src/shards/transfer/snapshot.rs104/// | └─┴──·│X│·─────────────────────►│ ├─┐
MEDIUMlib/collection/src/shards/transfer/snapshot.rs107/// | │X│◄──────────────────────┴─┘◄┘
MEDIUMlib/collection/src/shards/transfer/snapshot.rs109/// ┌─┐◄────────────────────┤ │ |
MEDIUMlib/collection/src/shards/transfer/snapshot.rs116/// │ ├──────────────────·│ │X│·─────────────────────►┌─┬─┐
129 more matches not shown…
Over-Commented Block884 hits · 732 pts
SeverityFileLineSnippet
LOWtools/smaps-view.py21
LOWtools/smaps-view.py41# ShmemPmdMapped: 0 kB
LOWconfig/config.yaml1log_level: INFO
LOWconfig/config.yaml21 # Where to store snapshots
LOWconfig/config.yaml41 #
LOWconfig/config.yaml81 # CPU budget, how many CPUs (threads) to allocate for an optimization job.
LOWconfig/config.yaml101 # Default is to allow 1 transfer.
LOWconfig/config.yaml121 # The minimal number of vectors in a segment, required to perform segment optimization
LOWconfig/config.yaml141 # If not set, will be automatically selected considering the number of available CPUs.
LOWconfig/config.yaml161 # optimizers configs regardless of the config above and the options specified at collection creation.
LOWconfig/config.yaml181 # When the maximum estimated amount of points that a condition satisfies is smaller than
LOWconfig/config.yaml221 # More info: https://qdrant.tech/documentation/guides/quantization
LOWconfig/config.yaml241 # Max HNSW value allowed in search parameters.
LOWconfig/config.yaml281
LOWconfig/config.yaml301 # (Either above or via an external service like nginx.)
LOWconfig/config.yaml321 # Hardware reporting adds information to the API responses with a
LOWconfig/config.yaml361 # Compact consensus operations once we have this amount of applied
LOWconfig/config.yaml381 # This certificate will be used to validate the certificates
LOWconfig/config.yaml401# dir: ./storage/audit
LOWtests/openapi_consistency_check.sh1#!/usr/bin/env bash
LOWtests/grpc_consistency_check.sh1#!/usr/bin/env bash
LOWtests/basic_grpc_test.sh341# use the reflection service to get the shape of a specific message
LOWtests/basic_grpc_test.sh361#curl -L -X POST "http://$QDRANT_HOST/collections/test_collection/points/search" \
LOWtests/consensus_tests/test_shard_wal_delta_transfer.py661# transfer could break the subsequent WAL delta transfer. Specifically, any new
LOWtests/consensus_tests/test_resharding.py321 # Inject a delay on EVERY peer. The staging delay is broadcast to all
LOW…ensus_tests/test_resharding_set_replica_dead_replay.py101 )
LOW…us_tests/test_shard_snapshot_transfer_missing_point.py21MISSING_ID_START = 10_000_000
LOW…us_tests/test_shard_snapshot_transfer_missing_point.py101 return shard['state']
LOWtests/consensus_tests/test_shard_stream_transfer.py281
LOWtests/consensus_tests/test_shard_stream_transfer.py481
LOW…sts/consensus_tests/test_collection_recovery_limits.py161 peer_url = start_peer(killed_peer_dir, "peer_0_restarted.log", bootstrap_url, port=restart_port)
LOWtests/consensus_tests/test_failed_snapshot_recovery.py41 r = requests.put(f"{peer_api_uri}/collections/{COLLECTION_NAME}/snapshots/recover",
LOWtests/consensus_tests/test_partial_snapshot.py21 #
LOWtests/consensus_tests/test_partial_snapshot.py41 # - collection is *exactly* the same on both peers: same points and segment IDs
LOWlib/trififo/benches/cache_comparison.rs1//! Cache comparison benchmarks for trififo.
LOWlib/trififo/benches/cache_comparison.rs261 }
LOWlib/trififo/benches/cache_comparison.rs281// }
LOWlib/trififo/src/seqlock.rs1use std::cell::UnsafeCell;
LOWlib/trififo/src/seqlock.rs21/// shared resource even as it is being modified.
LOWlib/trififo/src/seqlock.rs41/// println!("Value: {}", value);
LOWlib/trififo/src/seqlock.rs61/// The way a seqlock can prevent lock contention, is by allowing reader to access
LOWlib/collection/benches/prof.rs21/// fn fibonacci_profiled(criterion: &mut Criterion) {
LOWlib/collection/src/optimizers_builder.rs41 pub vacuum_min_vector_number: usize,
LOWlib/collection/src/optimizers_builder.rs61 #[validate(range(min = 1))]
LOWlib/collection/src/optimizers_builder.rs81 /// Note: 1kB = 1 vector of size 256.
LOWlib/collection/src/recommendations.rs221 request,
LOWlib/collection/src/config.rs81pub enum ShardingMethod {
LOWlib/collection/src/config.rs101 #[serde(default)]
LOWlib/collection/src/config.rs121 pub read_fan_out_factor: Option<u32>,
LOWlib/collection/src/update_handler.rs41 /// Operation. If None, then the operation data is read from WAL
LOWlib/collection/src/update_handler.rs81 pub optimizers: Arc<Vec<Arc<Optimizer>>>,
LOWlib/collection/src/wal_delta.rs81 ///
LOWlib/collection/src/wal_delta.rs181
LOWlib/collection/src/wal_delta.rs1001 // 2.1. Operation 30 is written to A, but not B (Second channel)
LOWlib/collection/src/wal_delta.rs1021 //
LOWlib/collection/src/wal_delta.rs1361 /// - What node is used as entry point
LOWlib/collection/src/wal_delta.rs1801 .expect("WAL ordering property violated");
LOW…rc/collection_manager/probabilistic_search_sampling.rs1/// Precomputed sampling table for the probabilistic segment search algorithm.
LOW…collection/src/collection_manager/segments_searcher.rs601/// Process sequentially contiguous batches
LOW…rc/collection_manager/optimizers/indexing_optimizer.rs581 ///
824 more matches not shown…
Hyper-Verbose Identifiers494 hits · 470 pts
SeverityFileLineSnippet
LOWtools/smaps-view.py137def calculate_cache_percentage(pid: int, pattern: str, verbose: bool = False) -> Dict[str, float]:
LOWtests/openapi/test_query_indexes.py119def test_filtered_query_results_same_for_different_indexes(query, collection_name):
LOWtests/openapi/test_query_indexes.py154def test_filtered_query_groups_results_same_for_different_indexes(collection_name):
LOWtests/openapi/test_query_indexes.py195def test_filtered_query_batches_results_same_for_different_indexes(collection_name):
LOWtests/openapi/test_strictmode.py52def test_patch_collection_full(collection_name):
LOWtests/openapi/test_strictmode.py84def test_patch_collection_partially(collection_name):
LOWtests/openapi/test_strictmode.py106def test_strict_mode_query_limit_validation(collection_name):
LOWtests/openapi/test_strictmode.py137def test_strict_mode_timeout_validation(collection_name):
LOWtests/openapi/test_strictmode.py138 def search_request_with_timeout(timeout):
LOWtests/openapi/test_strictmode.py165def test_strict_mode_unindexed_filter_keyword_read_validation(collection_name):
LOWtests/openapi/test_strictmode.py166 def search_request_with_filter():
LOWtests/openapi/test_strictmode.py220def test_strict_mode_unindexed_filter_integer_read_validation(collection_name):
LOWtests/openapi/test_strictmode.py221 def search_request_with_filter():
LOWtests/openapi/test_strictmode.py305def test_strict_mode_unindexed_filter_phrase_read_validation(collection_name):
LOWtests/openapi/test_strictmode.py326 def search_request_with_filter(kind: str):
LOWtests/openapi/test_strictmode.py371def test_strict_mode_unindexed_filter_write_validation(collection_name):
LOWtests/openapi/test_strictmode.py372 def update_request_with_filter():
LOWtests/openapi/test_strictmode.py427def test_strict_mode_max_ef_hnsw_validation(collection_name):
LOWtests/openapi/test_strictmode.py461def test_strict_mode_allow_exact_validation(collection_name):
LOWtests/openapi/test_strictmode.py495def test_strict_mode_search_max_oversampling_validation(collection_name):
LOWtests/openapi/test_strictmode.py532def test_strict_mode_upsert_max_batch_size(collection_name):
LOWtests/openapi/test_strictmode.py574def test_strict_mode_update_many_upsert_max_batch_size(collection_name):
LOWtests/openapi/test_strictmode.py622def test_strict_mode_update_vectors_max_batch_size(collection_name):
LOWtests/openapi/test_strictmode.py670def test_strict_mode_search_max_batch_size(collection_name):
LOWtests/openapi/test_strictmode.py706def test_strict_mode_max_collection_size_upsert(collection_name):
LOWtests/openapi/test_strictmode.py751def test_strict_mode_max_sparse_length_upsert(collection_name):
LOWtests/openapi/test_strictmode.py824def test_strict_mode_max_collection_size_upsert_batch(collection_name):
LOWtests/openapi/test_strictmode.py873def test_strict_mode_max_multivector_size_upsert(collection_name):
LOWtests/openapi/test_strictmode.py1020def test_strict_mode_read_rate_limiting(collection_name):
LOWtests/openapi/test_strictmode.py1077def test_strict_mode_max_collection_payload_size_upsert(collection_name):
LOWtests/openapi/test_strictmode.py1122def test_strict_mode_max_collection_payload_size_upsert_batch(collection_name):
LOWtests/openapi/test_strictmode.py1171def test_strict_mode_max_collection_point_count_upsert_batch(collection_name):
LOWtests/openapi/test_strictmode.py1221def test_strict_mode_write_rate_limiting(collection_name):
LOWtests/openapi/test_strictmode.py1291def test_strict_mode_write_rate_limiting_filtered_update_op(collection_name):
LOWtests/openapi/test_strictmode.py1331def test_strict_mode_write_rate_limiting_batch_update_op(collection_name):
LOWtests/openapi/test_strictmode.py1373def test_filter_many_conditions(collection_name):
LOWtests/openapi/test_strictmode.py1412def test_filter_large_condition(collection_name):
LOWtests/openapi/test_strictmode.py1450def test_filter_nested_condition(collection_name):
LOWtests/openapi/test_strictmode.py1523def test_strict_mode_formula_expression(collection_name):
LOWtests/openapi/test_strictmode.py1583def test_strict_mode_read_rate_limiting_small_replenish(collection_name):
LOWtests/openapi/test_strictmode.py1626def test_strict_mode_unset_rate_limiting_config(collection_name):
LOWtests/openapi/test_strictmode.py1682def test_strict_mode_recommendation_best_score_read_rate_limiting(collection_name):
LOWtests/openapi/test_strictmode.py1743def test_strict_mode_retrieve_read_rate_limiting(collection_name):
LOWtests/openapi/test_strictmode.py1807def test_scroll_filter_many_conditions(collection_name):
LOWtests/openapi/test_strictmode.py1852def test_strict_mode_group_limits(collection_name):
LOWtests/openapi/test_strictmode.py1919def test_strict_mode_distance_matrix_limits(collection_name):
LOWtests/openapi/test_strictmode.py1950def test_read_rate_limiter_many_vectors(full_collection_name):
LOWtests/openapi/test_strictmode.py1960 def check_multivector_query_raw(should_succeed: bool):
LOWtests/openapi/test_strictmode.py1975 def check_multivector_query_id(should_succeed: bool):
LOWtests/openapi/test_strictmode.py2024def test_strict_mode_group_by_unindexed(collection_name):
LOWtests/openapi/test_strictmode.py2176def test_strict_mode_full_scan(full_collection_name):
LOWtests/openapi/test_strictmode.py2284def test_strict_mode_full_scan_simple(full_collection_name):
LOWtests/openapi/test_strictmode.py2342def test_strict_mode_multitenant_full_scan(full_collection_name):
LOWtests/openapi/test_strictmode.py2457def test_strict_mode_payload_index_count(collection_name):
LOWtests/openapi/test_multi_vector.py14def multivector_collection_setup(
LOWtests/openapi/test_multi_vector.py46def test_multi_vector_float_persisted(collection_name):
LOWtests/openapi/test_multi_vector.py138def test_multi_vector_validation(collection_name):
LOWtests/openapi/test_multi_vector.py380def test_multi_with_euclidean(collection_name):
LOWtests/openapi/test_multi_vector_unnamed.py15def multivector_collection_setup(
LOWtests/openapi/test_multi_vector_unnamed.py45def test_multi_vector_float_persisted(collection_name):
434 more matches not shown…
Unused Imports106 hits · 106 pts
SeverityFileLineSnippet
LOWtools/smaps-view.py18
LOWtests/openapi/test_multi_vector_unnamed.py2
LOWtests/openapi/test_multi_vector_uint8.py2
LOWtests/openapi/test_conditional_update.py1
LOWtests/openapi/test_snapshot.py1
LOWtests/openapi/test_snapshot.py4
LOWtests/openapi/test_filtered_delete.py6
LOWtests/consensus_tests/test_shard_snapshot_deadlock.py8
LOWtests/consensus_tests/test_shard_consistency.py6
LOWtests/consensus_tests/test_hw_measurement.py6
LOWtests/consensus_tests/test_collection_created_after.py3
LOW…s/consensus_tests/test_shard_transfer_rate_limiting.py4
LOWtests/consensus_tests/test_snapshot_recovery.py4
LOWtests/consensus_tests/test_custom_sharding.py6
LOWtests/consensus_tests/test_custom_sharding.py7
LOWtests/consensus_tests/test_read_consistency.py7
LOWtests/consensus_tests/test_many_collections.py3
LOWtests/consensus_tests/test_strict_mode.py5
LOWtests/consensus_tests/test_recover_dead_node.py3
LOWtests/consensus_tests/test_update_concurrency.py5
LOWtests/consensus_tests/test_shard_wal_delta_transfer.py8
LOWtests/consensus_tests/test_sparse_points_search.py3
LOW…sensus_tests/test_shard_snapshot_clocks_consistency.py7
LOW…sensus_tests/test_shard_snapshot_clocks_consistency.py8
LOW…sensus_tests/test_shard_snapshot_clocks_consistency.py9
LOWtests/consensus_tests/test_recovery_mode.py2
LOW…ests/test_shard_snapshot_transfer_clear_and_restart.py5
LOWtests/consensus_tests/test_replicate_points.py6
LOWtests/consensus_tests/test_collection_sharding.py3
LOWtests/consensus_tests/test_points_query.py3
LOWtests/consensus_tests/test_resharding.py7
LOW…/consensus_tests/test_disable_url_snapshot_recovery.py6
LOW…ensus_tests/test_resharding_set_replica_dead_replay.py25
LOWtests/consensus_tests/test_collection_created_before.py3
LOWtests/consensus_tests/test_points_recommendation.py3
LOW…s/consensus_tests/test_cluster_operation_coalescing.py5
LOWtests/consensus_tests/test_resharding_replay.py11
LOWtests/consensus_tests/test_collection_recovery.py5
LOW…consensus_tests/test_shard_snapshot_transfer_cancel.py6
LOWtests/consensus_tests/test_triple_replication.py5
LOWtests/consensus_tests/test_cluster_rejoin.py10
LOWtests/consensus_tests/test_named_vector_crud.py5
LOWtests/consensus_tests/test_named_vector_crud.py5
LOWtests/consensus_tests/test_named_vector_crud.py7
LOWtests/consensus_tests/test_tenant_promotion.py5
LOWtests/consensus_tests/test_tenant_promotion.py6
LOWtests/consensus_tests/test_force_delete_peer.py2
LOWtests/consensus_tests/test_force_delete_peer.py4
LOW…us_tests/test_shard_snapshot_transfer_missing_point.py6
LOWtests/consensus_tests/test_cluster_metadata.py4
LOWtests/consensus_tests/custom_sharding.py1
LOWtests/consensus_tests/custom_sharding.py2
LOWtests/consensus_tests/test_shard_stream_transfer.py7
LOWtests/consensus_tests/test_segment_max_size.py1
LOWtests/consensus_tests/test_segment_max_size.py3
LOWtests/consensus_tests/test_segment_max_size.py4
LOWtests/consensus_tests/test_segment_max_size.py7
LOWtests/consensus_tests/test_dummy_shard.py5
LOWtests/consensus_tests/test_two_follower_nodes_down.py5
LOW…ts/consensus_tests/test_learners_promoted_to_voters.py2
46 more matches not shown…
Excessive Try-Catch Wrapping64 hits · 74 pts
SeverityFileLineSnippet
MEDIUMtools/smaps-view.py177 print(f"Error: Could not find /proc/{pid}/smaps", file=sys.stderr)
LOWtools/smaps-view.py179 except Exception as e:
MEDIUMtools/smaps-view.py180 print(f"Error processing smaps: {e}", file=sys.stderr)
LOWtests/consensus_tests/test_custom_sharding.py331 except Exception as e:
LOW…nsus_tests/test_streaming_snapshot_consensus_freeze.py87 except Exception as e:
LOW…nsus_tests/test_streaming_snapshot_consensus_freeze.py100 except Exception as e:
LOW…nsus_tests/test_streaming_snapshot_consensus_freeze.py114 except Exception as e:
LOWtests/consensus_tests/test_cluster_rejoin.py556 except Exception:
MEDIUMtests/consensus_tests/test_cluster_rejoin.py552def old_peer_consensus_stopped():
LOWtests/consensus_tests/utils.py712 except Exception as e:
LOWtests/consensus_tests/utils.py720 except Exception as e:
LOWtests/consensus_tests/utils.py728 except Exception as e:
LOWtests/consensus_tests/utils.py736 except Exception as e:
LOWtests/consensus_tests/utils.py743 except Exception as e:
LOWtests/consensus_tests/utils.py750 except Exception as e:
LOWtests/consensus_tests/utils.py758 except Exception as e:
LOWtests/consensus_tests/utils.py766 except Exception as e:
LOWtests/consensus_tests/utils.py775 except Exception as e:
LOWtests/consensus_tests/utils.py784 except Exception as e:
LOWtests/consensus_tests/utils.py795 except Exception as e:
LOWtests/consensus_tests/utils.py806 except Exception as e:
LOWtests/consensus_tests/utils.py814 except Exception as e:
LOWtests/consensus_tests/utils.py822 except Exception as e:
LOWtests/consensus_tests/utils.py830 except Exception as e:
LOWtests/consensus_tests/utils.py837 except Exception as e:
LOWtests/consensus_tests/utils.py863 except Exception as e:
LOWtests/consensus_tests/utils.py881 except Exception as e:
LOWtests/consensus_tests/utils.py67 except Exception as e:
LOWtests/consensus_tests/test_failed_snapshot_recovery.py194 except Exception as e:
LOWtests/consensus_tests/test_failed_snapshot_recovery.py214 except Exception as e:
LOWtests/consensus_tests/test_failed_snapshot_recovery.py328 except Exception as e:
LOWtests/consensus_tests/test_failed_snapshot_recovery.py372 except Exception as e:
LOWtests/consensus_tests/test_io_uring_eintr.py60 except Exception as e:
LOWtests/consensus_tests/test_consensus_compaction.py197 except Exception:
LOWtests/consensus_tests/test_consensus_compaction.py224 except Exception as e:
LOWtests/consensus_tests/test_listener_node.py40 except Exception as e:
LOWtests/consensus_tests/test_listener_node.py47 except Exception as e:
LOWtests/consensus_tests/test_snapshot_recovery_kill.py27 except Exception:
LOWtests/consensus_tests/test_resharding_extras.py232 except Exception as e:
LOWtests/e2e_tests/conftest.py37 except Exception as e:
LOWtests/e2e_tests/conftest.py258 except Exception as docker_error:
LOWtests/e2e_tests/client_utils.py34 except Exception:
LOWtests/e2e_tests/client_utils.py53 except Exception:
LOWtests/e2e_tests/client_utils.py69 except Exception:
LOWtests/e2e_tests/client_utils.py81 except Exception as e:
LOWtests/e2e_tests/client_utils.py98 except Exception as e:
LOWtests/e2e_tests/client_utils.py240 except Exception as e:
LOWtests/e2e_tests/client_utils.py251 except Exception as e:
LOWtests/e2e_tests/client_utils.py268 except Exception as e:
LOWtests/e2e_tests/client_utils.py295 except Exception as e:
LOWtests/e2e_tests/client_utils.py334 except Exception as e:
LOWtests/e2e_tests/client_utils.py469 except Exception as e:
LOWtests/e2e_tests/test_data_compatibility.py115 except Exception as e:
LOWtests/e2e_tests/test_data_compatibility.py129 except Exception as error:
LOWtests/e2e_tests/test_data_compatibility.py270 except Exception as e:
LOWtests/e2e_tests/test_low_ram.py71 except Exception as e:
LOWtests/e2e_tests/test_strict_mode_memory.py112 except Exception as exc: # qdrant-client may wrap differently depending on version
LOWtests/e2e_tests/utils.py196 except Exception as e:
MEDIUMtests/e2e_tests/utils.py197 print(f"Error stopping container {container.name if hasattr(container, 'name') else 'unknown'}: {e}")
LOWtests/e2e_tests/utils.py247 except Exception:
4 more matches not shown…
Verbosity Indicators18 hits · 33 pts
SeverityFileLineSnippet
LOWlib/collection/src/collection/mod.rs524 // If not initialized yet, we need to check if it was initialized by this call
LOWlib/collection/src/tests/deferred_points_dedup.rs232 // Step 1: Insert initial batch of points (wait=true to ensure they are persisted)
LOWlib/collection/src/tests/deferred_points_dedup.rs246 // Step 2: Overwrite all point values with new random vectors — this triggers CoW.
LOWlib/collection/src/tests/deferred_points_dedup.rs277 // Step 3: Overwrite again — this creates another round of CoW on top of the
LOWlib/collection/src/tests/deferred_points_dedup.rs306 // Step 4: Assert no duplicate non-deferred point IDs across segments
LOWlib/gpu/src/pipeline.rs99 // Before we start, we need to check if the device supports dynamic subgroup size.
LOW…rc/segment/tests/test_immutable_payload_index_files.rs86 // Step 1: appendable source segment with payload + field indices.
LOW…rc/segment/tests/test_immutable_payload_index_files.rs134 // Step 2: build a non-appendable target via SegmentBuilder. Mmap vector
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs433 // Step 1: binary search to find the index of the `start` entry.
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs441 // Step 2: read entries in chunks starting from `start`. Chunks may
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs491 // Step 3: read the collected ranges and accumulate unique,
LOWlib/gridstore/src/gridstore/tests.rs1073 // Step 1: Write initial data and flush
LOWlib/gridstore/src/gridstore/tests.rs1082 // Step 2: Open a reader
LOWlib/gridstore/src/gridstore/tests.rs1086 // Step 3: Verify reader sees initial data
LOWlib/gridstore/src/gridstore/tests.rs1092 // Step 4: live_reload when nothing changed should be a no-op
LOWlib/gridstore/src/gridstore/tests.rs1098 // Step 5: Write more data via writable storage and flush
LOWlib/gridstore/src/gridstore/tests.rs1108 // Step 6: live_reload should update max_point_offset and make new data accessible
LOWsrc/snapshots.rs55 // if it does, we need to check if we want to overwrite it
Fake / Example Data23 hits · 23 pts
SeverityFileLineSnippet
LOWtests/openapi/test_wait_timeout.py103 "text": "Lorem ipsum, dolor sit amet.",
LOWtests/openapi/test_wait_timeout.py103 "text": "Lorem ipsum, dolor sit amet.",
LOWtests/openapi/test_wait_timeout.py137 "text": "Lorem ipsum, dolor sit amet.",
LOWtests/openapi/test_wait_timeout.py137 "text": "Lorem ipsum, dolor sit amet.",
LOWtests/openapi/test_wait_timeout.py171 "text": "Lorem ipsum, dolor sit amet.",
LOWtests/openapi/test_wait_timeout.py171 "text": "Lorem ipsum, dolor sit amet.",
LOWtests/e2e_tests/client_utils.py124 "Lorem ipsum dolor sit amet consectetur adipiscing elit",
LOWtests/e2e_tests/client_utils.py124 "Lorem ipsum dolor sit amet consectetur adipiscing elit",
LOWlib/collection/tests/integration/multi_vec_test.rs108 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),
LOWlib/collection/tests/integration/pagination_test.rs34 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),
LOW…llection/tests/integration/continuous_snapshot_test.rs134 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),
LOW…collection/tests/integration/snapshot_recovery_test.rs107 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),
LOWlib/collection/tests/integration/grouping_test.rs496 const BODY_TEXT: &str = "lorem ipsum dolor sit amet";
LOWlib/collection/tests/integration/grouping_test.rs496 const BODY_TEXT: &str = "lorem ipsum dolor sit amet";
LOW…/segment/tests/integration/segment_on_disk_snapshot.rs37 "names": ["John Doe", "Bill Murray"],
LOWlib/segment/src/segment/tests/mod.rs115 "name": "John Doe",
LOWlib/segment/src/segment/tests/mod.rs202 "name": "John Doe",
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs177 "name": "John Doe",
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs197 "John Doe".to_string().into(),
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs228 let payload: Payload = serde_json::from_str(r#"{"name": "John Doe"}"#).unwrap();
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs245 "name": "John Doe",
LOWlib/segment/src/payload_storage/payload_storage_enum.rs252 let payload: Payload = serde_json::from_str(r#"{"name": "John Doe"}"#).unwrap();
LOWlib/segment/src/index/struct_payload_index/tests.rs22 "name": "John Doe"
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippet
MEDIUMtests/consensus_tests/test_resharding.py196 # Create a list to collect replica URIs selected during test
MEDIUMtests/consensus_tests/test_resharding.py231 # Create a list to collect replica URIs selected during test
MEDIUMtests/consensus_tests/test_resharding.py419 # Create a list to collect replica URIs selected during test
MEDIUMtests/consensus_tests/test_named_vector_crud.py119 # Create a new dense named vector
MEDIUMtests/consensus_tests/test_named_vector_crud.py140 # Create a new sparse named vector
MEDIUM…sts/consensus_tests/test_collection_recovery_limits.py141 # Create an extra peer to allow moving some replicas
MEDIUMtests/consensus_tests/test_resharding_extras.py197 # Create a shard key
Docstring Block Structure4 hits · 20 pts
SeverityFileLineSnippet
HIGHtests/e2e_tests/utils.py120Extract HTTP and gRPC ports from container. For host network mode, returns standard Qdrant ports (6333, 6334). F
HIGHtests/e2e_tests/utils.py201Core function to create a Qdrant container with given configuration. Args: docker_client: Docker client ins
HIGHtests/e2e_tests/utils.py253General utility function to extract various archive formats. Args: archive_file: Path to the archive file t
HIGHtests/e2e_tests/utils.py328Extract container info from a docker-compose container. Args: container: Docker container object from docke
Slop Phrases12 hits · 20 pts
SeverityFileLineSnippet
LOWtools/smaps-view.py116 # Don't forget to add the last entry if it matches
LOWconfig/development.yaml5# Also don't forget to copy temporary configurations into config/config.yaml if they need
LOWconfig/development.yaml5# Also don't forget to copy temporary configurations into config/config.yaml if they need
LOWlib/gpu/src/instance.rs184 // Don't forget to destroy the instance if we failed to find any physical devices.
LOWlib/gpu/src/instance.rs217 // Don't forget to destroy the instance if we failed to find any physical devices.
LOWlib/gpu/src/instance.rs240 // Don't forget to destroy the instance if we failed to create a debug messenger.
MEDIUMlib/segment/src/segment/entry.rs38/// This is a basic implementation of the trait, meaning that it implements the _actual_ operations with data and not
LOWlib/storage/src/content_manager/consensus/persistent.rs75 // IF YOU ADD NEW DATA INTO `PERSISTENT` STATE, DON'T FORGET TO ALSO ADD IT INTO RAFT SNAPSHOT!
LOWlib/common/common/src/progress_tracker.rs205 /// Before entering hot loops, don't forget to call `Arc::deref` on it.
LOWlib/common/common/src/universal_io/traits/file_ops.rs20 // When adding provided methods, don't forget to update impls in crate::universal_io::wrappers::*.
LOWlib/common/common/src/universal_io/traits/write.rs35 // When adding provided methods, don't forget to update impls in crate::universal_io::wrappers::*.
LOWlib/common/common/src/universal_io/traits/read.rs141 // When adding provided methods, don't forget to update impls in crate::universal_io::wrappers::*.
Deep Nesting17 hits · 16 pts
SeverityFileLineSnippet
LOWtools/smaps-view.py60
LOWtests/openapi/test_service.py116
LOWtests/consensus_tests/test_shard_wal_delta_transfer.py51
LOWtests/consensus_tests/test_two_follower_nodes_down.py28
LOWtests/consensus_tests/utils.py474
LOWtests/consensus_tests/test_write_ordering.py13
LOWtests/consensus_tests/test_resharding_deferred.py183
LOWtests/manual/test_memory_reporting.py24
LOWtests/e2e_tests/conftest.py218
LOWtests/e2e_tests/client_utils.py60
LOWtests/e2e_tests/client_utils.py102
LOWtests/e2e_tests/test_data_compatibility.py49
LOWtests/e2e_tests/utils.py252
LOWtests/e2e_tests/utils.py326
LOWtests/e2e_tests/utils.py375
LOWtests/e2e_tests/test_continuous_snapshots.py39
LOWlib/edge/publish/amalgamate.py308
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippet
HIGHtests/openapi/test_match_except_empty.py0except: [] without index should return all points that have the field.
HIGHtests/openapi/test_match_except_empty.py0except: [] without index should return all points that have the field.
HIGHtests/openapi/test_match_except_empty.py0except: [] without index should return all points that have the field.
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippet
LOWtools/integration-test-coverage.sh8# Check if target/llvm-cov-target/debug/qdrant exists, if not build it:
LOWtools/smaps-view.py83 # Check if line starts with an address range (new memory map entry)
LOWtests/basic_grpc_inference_test.sh12# Check if local grpcurl exists and is executable
LOWtests/openapi/test_strictmode.py1794 # Check if tokens are gone
LOWtests/consensus_tests/test_io_uring_eintr.py178 # Check if the process is still alive
LOWtests/e2e_tests/conftest.py97 # Check if image already exists
LOWtests/e2e_tests/conftest.py198 # Check if this is being used with indirect parametrization
LOWtests/e2e_tests/test_continuous_snapshots.py19 # Check if we should stop
LOWlib/edge/tools/prepare_facet_snapshot.sh33# Check if Qdrant is already running
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMlib/collection/src/collection/distance_matrix.rs213 // use the same filter for all requests to leverage batch search
MEDIUMlib/segment/src/json_path/mod.rs239 // nuanced cases include wildcard indexes, e.g., `a[0].b` and `a[].b` intersect.
MEDIUMlib/quantization/src/turboquant/simd/query1bit/mod.rs466 // — tightens to `<=` here to be robust against tiny-dim rng noise).
MEDIUMlib/sparse/src/index/search_context.rs100 // sort ids to fully leverage posting list iterator traversal
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippet
HIGHtests/openapi/test_filter_is_empty.py149 # Point 1 has an explicit null, point 2 has no payload, point 3 has a value.
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippet
LOWtools/missed_cherry_picks.sh5# Example usage:
LOWtools/generate_docker_compose_cluster.sh9# Example usage:
LOWlib/segment/src/common/anonymize.rs12/// # Usage example
LOWlib/edge/python/codegen/src/lib.rs7/// # Usage example