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/

3.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of qdrant/qdrant, a Rust project with 33,251 GitHub stars. SynthScan v2.0 examined 840,227 lines of code across 1784 source files, recording 1950 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 3.1 places this repository in the Likely human-written band.

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

3.1
Adjusted Score
3.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
33.3K
Stars
Rust
Language
840.2K
Lines of Code
1.8K
Files
1.9K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 5MEDIUM 239LOW 1706

Directory Score Breakdown

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

Pattern Findings

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

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

Decorative Section Separators222 hits · 948 pts
SeverityFileLineSnippetContext
MEDIUMtests/openapi/test_match_any_empty.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py138# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py140# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py156# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py158# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py166# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py169# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py192# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py194# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py210# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py227# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py126# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py128# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py156# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py160# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py208# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py210# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py238# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py243# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py275# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_except_empty.py278# ---------------------------------------------------------------------------COMMENT
MEDIUM…nsensus_tests/test_streaming_snapshot_receiver_kill.py199# -----------------------------------------------------------------------------COMMENT
MEDIUM…nsensus_tests/test_streaming_snapshot_receiver_kill.py213# -----------------------------------------------------------------------------COMMENT
MEDIUMlib/collection/src/wal_delta.rs1011 // ┌───┬───────►┌───┐COMMENT
MEDIUMlib/collection/src/wal_delta.rs1013 // └─▲─┴───────►└─▲─┘COMMENT
MEDIUMlib/collection/src/wal_delta.rs1035 // │ B ├───────►│ E │COMMENT
MEDIUMlib/collection/src/wal_delta.rs1041 // │ E ├───────►│ A │COMMENT
MEDIUMlib/collection/src/shards/shard_holder/resharding.rs508 // ┌────────────┐ ┌──────────┐COMMENT
MEDIUMlib/collection/src/shards/shard_holder/resharding.rs514 // └────────────┘ └──────────┘COMMENT
MEDIUMlib/collection/src/shards/shard_holder/resharding.rs517 // ┌────────────┐ ┌──────────┐COMMENT
MEDIUMlib/collection/src/shards/shard_holder/resharding.rs523 // └────────────┘ └──────────┘COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs58// ┌──────────────┐COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs62// └──────┬───────┘COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs63// │ Report created ┌───────────┐COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs64// └────────────────────► │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs66// ┌─────────────────────┤ │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs67// │ └───────────┘COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs68// ┌─────▼───────┐ User Promote ┌──────────┐COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs69// │ ◄──────────────────────────► │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs71// │ ◄───────────┐ │ │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs72// └──┬──────────┘ │Transfer └──┬───────┘COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs74// │ ┌──────┴────────┐ │UpdateCOMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs78// │ └───────▲───────┘ │ │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs80// ┌──▼──────────┐ Transfer │ │ │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs82// │ Dead ├────────────┘ │ │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs84// └─▲───────▲───┘ Transfer │ │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs86// │ └────────────────────────────┘ │COMMENT
MEDIUMlib/collection/src/shards/replica_set/mod.rs88// └─────────────────────────────────────────┘COMMENT
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs11/// ┌─────────────────┐COMMENT
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs13/// └───────┬─────────┘COMMENT
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs14/// │◄──────────────COMMENT
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs16/// ┌───────▼─────────┐ (accept reads,COMMENT
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs18/// └───────┬─────────┘COMMENT
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs19/// │◄───────────────COMMENT
MEDIUM…ection/src/shards/replica_set/partial_snapshot_meta.rs21/// ┌───────▼─────────┐ (reject reads,COMMENT
162 more matches not shown…
Over-Commented Block892 hits · 766 pts
SeverityFileLineSnippetContext
LOW.config/nextest.toml1[profile.ci]COMMENT
LOWtools/smaps-view.py21COMMENT
LOWtools/smaps-view.py41# ShmemPmdMapped: 0 kBCOMMENT
LOWconfig/config.yaml1log_level: INFOCOMMENT
LOWconfig/config.yaml21 # Where to store snapshotsCOMMENT
LOWconfig/config.yaml41 #COMMENT
LOWconfig/config.yaml81 # CPU budget, how many CPUs (threads) to allocate for an optimization job.COMMENT
LOWconfig/config.yaml101 # Default is to allow 1 transfer.COMMENT
LOWconfig/config.yaml121 # The minimal number of vectors in a segment, required to perform segment optimizationCOMMENT
LOWconfig/config.yaml141 # If not set, will be automatically selected considering the number of available CPUs.COMMENT
LOWconfig/config.yaml161 # optimizers configs regardless of the config above and the options specified at collection creation.COMMENT
LOWconfig/config.yaml181 # When the maximum estimated amount of points that a condition satisfies is smaller thanCOMMENT
LOWconfig/config.yaml221 # More info: https://qdrant.tech/documentation/guides/quantizationCOMMENT
LOWconfig/config.yaml241 # Max HNSW value allowed in search parameters.COMMENT
LOWconfig/config.yaml281COMMENT
LOWconfig/config.yaml301 # (Either above or via an external service like nginx.)COMMENT
LOWconfig/config.yaml321 # Hardware reporting adds information to the API responses with aCOMMENT
LOWconfig/config.yaml361 # Compact consensus operations once we have this amount of appliedCOMMENT
LOWconfig/config.yaml381 # This certificate will be used to validate the certificatesCOMMENT
LOWconfig/config.yaml401# dir: ./storage/auditCOMMENT
LOWtests/openapi_consistency_check.sh1#!/usr/bin/env bashCOMMENT
LOWtests/grpc_consistency_check.sh1#!/usr/bin/env bashCOMMENT
LOWtests/basic_grpc_test.sh341# use the reflection service to get the shape of a specific messageCOMMENT
LOWtests/basic_grpc_test.sh361#curl -L -X POST "http://$QDRANT_HOST/collections/test_collection/points/search" \COMMENT
LOWtests/openapi/test_match_any_empty.py201COMMENT
LOWtests/consensus_tests/test_shard_wal_delta_transfer.py661# transfer could break the subsequent WAL delta transfer. Specifically, any newCOMMENT
LOWtests/consensus_tests/test_resharding.py321 # Inject a delay on EVERY peer. The staging delay is broadcast to allCOMMENT
LOW…ensus_tests/test_resharding_set_replica_dead_replay.py101 )COMMENT
LOW…us_tests/test_shard_snapshot_transfer_missing_point.py21MISSING_ID_START = 10_000_000COMMENT
LOW…us_tests/test_shard_snapshot_transfer_missing_point.py101 return shard['state']COMMENT
LOWtests/consensus_tests/test_shard_stream_transfer.py281COMMENT
LOWtests/consensus_tests/test_shard_stream_transfer.py481COMMENT
LOW…nsensus_tests/test_streaming_snapshot_receiver_kill.py201#COMMENT
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)COMMENT
LOWtests/consensus_tests/test_failed_snapshot_recovery.py41 r = requests.put(f"{peer_api_uri}/collections/{COLLECTION_NAME}/snapshots/recover",COMMENT
LOWtests/consensus_tests/test_partial_snapshot.py21 #COMMENT
LOWtests/consensus_tests/test_partial_snapshot.py41 # - collection is *exactly* the same on both peers: same points and segment IDsCOMMENT
LOWlib/trififo/benches/cache_comparison.rs1//! Cache comparison benchmarks for trififo.COMMENT
LOWlib/trififo/benches/cache_comparison.rs261 }COMMENT
LOWlib/trififo/benches/cache_comparison.rs281// }COMMENT
LOWlib/trififo/src/seqlock.rs1use std::cell::UnsafeCell;COMMENT
LOWlib/trififo/src/seqlock.rs21/// shared resource even as it is being modified.COMMENT
LOWlib/trififo/src/seqlock.rs41/// println!("Value: {}", value);COMMENT
LOWlib/trififo/src/seqlock.rs61/// The way a seqlock can prevent lock contention, is by allowing reader to accessCOMMENT
LOWlib/collection/benches/prof.rs21/// fn fibonacci_profiled(criterion: &mut Criterion) {COMMENT
LOWlib/collection/src/optimizers_builder.rs41 pub vacuum_min_vector_number: usize,COMMENT
LOWlib/collection/src/optimizers_builder.rs61 #[validate(range(min = 1))]COMMENT
LOWlib/collection/src/optimizers_builder.rs81 /// Note: 1kB = 1 vector of size 256.COMMENT
LOWlib/collection/src/recommendations.rs221 request,COMMENT
LOWlib/collection/src/config.rs81pub enum ShardingMethod {COMMENT
LOWlib/collection/src/config.rs101 #[serde(default)]COMMENT
LOWlib/collection/src/config.rs121 pub read_fan_out_factor: Option<u32>,COMMENT
LOWlib/collection/src/config.rs241 #[validate(nested)]COMMENT
LOWlib/collection/src/update_handler.rs81 /// Log of optimizer statusesCOMMENT
LOWlib/collection/src/wal_delta.rs81 ///COMMENT
LOWlib/collection/src/wal_delta.rs181COMMENT
LOWlib/collection/src/wal_delta.rs1001 // 2.1. Operation 30 is written to A, but not B (Second channel)COMMENT
LOWlib/collection/src/wal_delta.rs1021 //COMMENT
LOWlib/collection/src/wal_delta.rs1361 /// - What node is used as entry pointCOMMENT
LOWlib/collection/src/wal_delta.rs1801 .expect("WAL ordering property violated");COMMENT
832 more matches not shown…
Hyper-Verbose Identifiers515 hits · 491 pts
SeverityFileLineSnippetContext
LOWtools/smaps-view.py137def calculate_cache_percentage(pid: int, pattern: str, verbose: bool = False) -> Dict[str, float]:CODE
LOWtests/openapi/test_query_indexes.py119def test_filtered_query_results_same_for_different_indexes(query, collection_name):CODE
LOWtests/openapi/test_query_indexes.py154def test_filtered_query_groups_results_same_for_different_indexes(collection_name):CODE
LOWtests/openapi/test_query_indexes.py195def test_filtered_query_batches_results_same_for_different_indexes(collection_name):CODE
LOWtests/openapi/test_strictmode.py52def test_patch_collection_full(collection_name):CODE
LOWtests/openapi/test_strictmode.py84def test_patch_collection_partially(collection_name):CODE
LOWtests/openapi/test_strictmode.py106def test_strict_mode_query_limit_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py137def test_strict_mode_timeout_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py138 def search_request_with_timeout(timeout):CODE
LOWtests/openapi/test_strictmode.py165def test_strict_mode_unindexed_filter_keyword_read_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py166 def search_request_with_filter():CODE
LOWtests/openapi/test_strictmode.py220def test_strict_mode_unindexed_filter_integer_read_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py221 def search_request_with_filter():CODE
LOWtests/openapi/test_strictmode.py305def test_strict_mode_unindexed_filter_phrase_read_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py326 def search_request_with_filter(kind: str):CODE
LOWtests/openapi/test_strictmode.py371def test_strict_mode_unindexed_filter_write_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py372 def update_request_with_filter():CODE
LOWtests/openapi/test_strictmode.py427def test_strict_mode_max_ef_hnsw_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py461def test_strict_mode_allow_exact_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py495def test_strict_mode_search_max_oversampling_validation(collection_name):CODE
LOWtests/openapi/test_strictmode.py532def test_strict_mode_upsert_max_batch_size(collection_name):CODE
LOWtests/openapi/test_strictmode.py574def test_strict_mode_update_many_upsert_max_batch_size(collection_name):CODE
LOWtests/openapi/test_strictmode.py622def test_strict_mode_update_vectors_max_batch_size(collection_name):CODE
LOWtests/openapi/test_strictmode.py670def test_strict_mode_search_max_batch_size(collection_name):CODE
LOWtests/openapi/test_strictmode.py706def test_strict_mode_max_collection_size_upsert(collection_name):CODE
LOWtests/openapi/test_strictmode.py751def test_strict_mode_max_sparse_length_upsert(collection_name):CODE
LOWtests/openapi/test_strictmode.py824def test_strict_mode_max_collection_size_upsert_batch(collection_name):CODE
LOWtests/openapi/test_strictmode.py873def test_strict_mode_max_multivector_size_upsert(collection_name):CODE
LOWtests/openapi/test_strictmode.py1020def test_strict_mode_read_rate_limiting(collection_name):CODE
LOWtests/openapi/test_strictmode.py1077def test_strict_mode_max_collection_payload_size_upsert(collection_name):CODE
LOWtests/openapi/test_strictmode.py1122def test_strict_mode_max_collection_payload_size_upsert_batch(collection_name):CODE
LOWtests/openapi/test_strictmode.py1171def test_strict_mode_max_collection_point_count_upsert_batch(collection_name):CODE
LOWtests/openapi/test_strictmode.py1221def test_strict_mode_write_rate_limiting(collection_name):CODE
LOWtests/openapi/test_strictmode.py1291def test_strict_mode_write_rate_limiting_filtered_update_op(collection_name):CODE
LOWtests/openapi/test_strictmode.py1331def test_strict_mode_write_rate_limiting_batch_update_op(collection_name):CODE
LOWtests/openapi/test_strictmode.py1373def test_filter_many_conditions(collection_name):CODE
LOWtests/openapi/test_strictmode.py1412def test_filter_large_condition(collection_name):CODE
LOWtests/openapi/test_strictmode.py1450def test_filter_nested_condition(collection_name):CODE
LOWtests/openapi/test_strictmode.py1523def test_strict_mode_formula_expression(collection_name):CODE
LOWtests/openapi/test_strictmode.py1583def test_strict_mode_read_rate_limiting_small_replenish(collection_name):CODE
LOWtests/openapi/test_strictmode.py1626def test_strict_mode_unset_rate_limiting_config(collection_name):CODE
LOWtests/openapi/test_strictmode.py1682def test_strict_mode_recommendation_best_score_read_rate_limiting(collection_name):CODE
LOWtests/openapi/test_strictmode.py1743def test_strict_mode_retrieve_read_rate_limiting(collection_name):CODE
LOWtests/openapi/test_strictmode.py1807def test_scroll_filter_many_conditions(collection_name):CODE
LOWtests/openapi/test_strictmode.py1852def test_strict_mode_group_limits(collection_name):CODE
LOWtests/openapi/test_strictmode.py1919def test_strict_mode_distance_matrix_limits(collection_name):CODE
LOWtests/openapi/test_strictmode.py1950def test_read_rate_limiter_many_vectors(full_collection_name):CODE
LOWtests/openapi/test_strictmode.py1960 def check_multivector_query_raw(should_succeed: bool):CODE
LOWtests/openapi/test_strictmode.py1975 def check_multivector_query_id(should_succeed: bool):CODE
LOWtests/openapi/test_strictmode.py2024def test_strict_mode_group_by_unindexed(collection_name):CODE
LOWtests/openapi/test_strictmode.py2176def test_strict_mode_full_scan(full_collection_name):CODE
LOWtests/openapi/test_strictmode.py2284def test_strict_mode_full_scan_simple(full_collection_name):CODE
LOWtests/openapi/test_strictmode.py2342def test_strict_mode_multitenant_full_scan(full_collection_name):CODE
LOWtests/openapi/test_strictmode.py2457def test_strict_mode_payload_index_count(collection_name):CODE
LOWtests/openapi/test_multi_vector.py14def multivector_collection_setup(CODE
LOWtests/openapi/test_multi_vector.py46def test_multi_vector_float_persisted(collection_name):CODE
LOWtests/openapi/test_multi_vector.py138def test_multi_vector_validation(collection_name):CODE
LOWtests/openapi/test_multi_vector.py380def test_multi_with_euclidean(collection_name):CODE
LOWtests/openapi/test_multi_vector_unnamed.py15def multivector_collection_setup(CODE
LOWtests/openapi/test_multi_vector_unnamed.py45def test_multi_vector_float_persisted(collection_name):CODE
455 more matches not shown…
Unused Imports114 hits · 114 pts
SeverityFileLineSnippetContext
LOWtools/smaps-view.py18CODE
LOWtests/openapi/test_multi_vector_unnamed.py2CODE
LOWtests/openapi/test_multi_vector_uint8.py2CODE
LOWtests/openapi/test_conditional_update.py1CODE
LOWtests/openapi/test_snapshot.py1CODE
LOWtests/openapi/test_snapshot.py4CODE
LOWtests/openapi/test_filtered_delete.py6CODE
LOWtests/consensus_tests/test_shard_snapshot_deadlock.py8CODE
LOWtests/consensus_tests/test_shard_consistency.py6CODE
LOWtests/consensus_tests/test_hw_measurement.py6CODE
LOWtests/consensus_tests/test_collection_created_after.py3CODE
LOW…s/consensus_tests/test_shard_transfer_rate_limiting.py4CODE
LOWtests/consensus_tests/test_snapshot_recovery.py4CODE
LOWtests/consensus_tests/test_custom_sharding.py6CODE
LOWtests/consensus_tests/test_custom_sharding.py7CODE
LOWtests/consensus_tests/test_read_consistency.py7CODE
LOWtests/consensus_tests/test_many_collections.py3CODE
LOWtests/consensus_tests/test_strict_mode.py5CODE
LOWtests/consensus_tests/test_recover_dead_node.py3CODE
LOWtests/consensus_tests/test_update_concurrency.py5CODE
LOWtests/consensus_tests/test_shard_wal_delta_transfer.py8CODE
LOWtests/consensus_tests/test_sparse_points_search.py3CODE
LOW…sensus_tests/test_shard_snapshot_clocks_consistency.py7CODE
LOW…sensus_tests/test_shard_snapshot_clocks_consistency.py8CODE
LOW…sensus_tests/test_shard_snapshot_clocks_consistency.py9CODE
LOWtests/consensus_tests/test_recovery_mode.py2CODE
LOW…ests/test_shard_snapshot_transfer_clear_and_restart.py5CODE
LOWtests/consensus_tests/test_replicate_points.py6CODE
LOWtests/consensus_tests/test_collection_sharding.py3CODE
LOWtests/consensus_tests/test_points_query.py3CODE
LOWtests/consensus_tests/test_resharding.py7CODE
LOW…/consensus_tests/test_disable_url_snapshot_recovery.py6CODE
LOW…nsus_tests/test_streaming_snapshot_consensus_freeze.py24CODE
LOW…ensus_tests/test_resharding_set_replica_dead_replay.py25CODE
LOWtests/consensus_tests/test_collection_created_before.py3CODE
LOWtests/consensus_tests/test_points_recommendation.py3CODE
LOW…s/consensus_tests/test_cluster_operation_coalescing.py5CODE
LOWtests/consensus_tests/test_resharding_replay.py11CODE
LOWtests/consensus_tests/test_collection_recovery.py5CODE
LOW…consensus_tests/test_shard_snapshot_transfer_cancel.py6CODE
LOWtests/consensus_tests/test_triple_replication.py5CODE
LOW…ts/test_resharding_down_abort_converges_after_crash.py13CODE
LOWtests/consensus_tests/test_cluster_rejoin.py10CODE
LOWtests/consensus_tests/test_named_vector_crud.py5CODE
LOWtests/consensus_tests/test_named_vector_crud.py5CODE
LOWtests/consensus_tests/test_named_vector_crud.py7CODE
LOWtests/consensus_tests/test_tenant_promotion.py5CODE
LOWtests/consensus_tests/test_tenant_promotion.py6CODE
LOWtests/consensus_tests/test_force_delete_peer.py2CODE
LOWtests/consensus_tests/test_force_delete_peer.py4CODE
LOWtests/consensus_tests/test_dirty_shard_crash_loop.py23CODE
LOW…us_tests/test_shard_snapshot_transfer_missing_point.py6CODE
LOWtests/consensus_tests/test_cluster_metadata.py4CODE
LOWtests/consensus_tests/custom_sharding.py1CODE
LOWtests/consensus_tests/custom_sharding.py2CODE
LOWtests/consensus_tests/test_shard_stream_transfer.py7CODE
LOW…nsensus_tests/test_streaming_snapshot_receiver_kill.py45CODE
LOWtests/consensus_tests/test_segment_max_size.py1CODE
LOWtests/consensus_tests/test_segment_max_size.py3CODE
LOWtests/consensus_tests/test_segment_max_size.py4CODE
54 more matches not shown…
Excessive Try-Catch Wrapping69 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUMtools/smaps-view.py177 print(f"Error: Could not find /proc/{pid}/smaps", file=sys.stderr)CODE
LOWtools/smaps-view.py179 except Exception as e:CODE
MEDIUMtools/smaps-view.py180 print(f"Error processing smaps: {e}", file=sys.stderr)CODE
LOWtests/consensus_tests/test_custom_sharding.py331 except Exception as e:CODE
LOW…nsus_tests/test_streaming_snapshot_consensus_freeze.py80 except Exception as e:CODE
LOW…nsus_tests/test_streaming_snapshot_consensus_freeze.py93 except Exception as e:CODE
LOW…nsus_tests/test_streaming_snapshot_consensus_freeze.py107 except Exception as e:CODE
LOW…ts/test_resharding_down_abort_converges_after_crash.py126 except Exception:CODE
LOWtests/consensus_tests/test_cluster_rejoin.py556 except Exception:CODE
MEDIUMtests/consensus_tests/test_cluster_rejoin.py552def old_peer_consensus_stopped():CODE
LOW…nsensus_tests/test_streaming_snapshot_receiver_kill.py82 except Exception as e: # noqa: BLE001 - diagnostic processCODE
LOW…nsensus_tests/test_streaming_snapshot_receiver_kill.py101 except Exception as e: # noqa: BLE001 - diagnostic processCODE
LOWtests/consensus_tests/utils.py712 except Exception as e:CODE
LOWtests/consensus_tests/utils.py720 except Exception as e:CODE
LOWtests/consensus_tests/utils.py728 except Exception as e:CODE
LOWtests/consensus_tests/utils.py736 except Exception as e:CODE
LOWtests/consensus_tests/utils.py743 except Exception as e:CODE
LOWtests/consensus_tests/utils.py750 except Exception as e:CODE
LOWtests/consensus_tests/utils.py758 except Exception as e:CODE
LOWtests/consensus_tests/utils.py766 except Exception as e:CODE
LOWtests/consensus_tests/utils.py775 except Exception as e:CODE
LOWtests/consensus_tests/utils.py784 except Exception as e:CODE
LOWtests/consensus_tests/utils.py795 except Exception as e:CODE
LOWtests/consensus_tests/utils.py806 except Exception as e:CODE
LOWtests/consensus_tests/utils.py814 except Exception as e:CODE
LOWtests/consensus_tests/utils.py822 except Exception as e:CODE
LOWtests/consensus_tests/utils.py830 except Exception as e:CODE
LOWtests/consensus_tests/utils.py837 except Exception as e:CODE
LOWtests/consensus_tests/utils.py863 except Exception as e:CODE
LOWtests/consensus_tests/utils.py881 except Exception as e:CODE
LOWtests/consensus_tests/utils.py67 except Exception as e:CODE
LOWtests/consensus_tests/test_failed_snapshot_recovery.py194 except Exception as e:CODE
LOWtests/consensus_tests/test_failed_snapshot_recovery.py214 except Exception as e:CODE
LOWtests/consensus_tests/test_failed_snapshot_recovery.py328 except Exception as e:CODE
LOWtests/consensus_tests/test_failed_snapshot_recovery.py372 except Exception as e:CODE
LOWtests/consensus_tests/test_io_uring_eintr.py53 except Exception as e:CODE
LOWtests/consensus_tests/test_consensus_compaction.py197 except Exception:CODE
LOWtests/consensus_tests/test_consensus_compaction.py224 except Exception as e:CODE
LOWtests/consensus_tests/test_listener_node.py40 except Exception as e:CODE
LOWtests/consensus_tests/test_listener_node.py47 except Exception as e:CODE
LOWtests/consensus_tests/test_snapshot_recovery_kill.py19 except Exception:CODE
LOWtests/consensus_tests/test_resharding_extras.py232 except Exception as e:CODE
LOWtests/manual/slow_snapshot_download.py148 except Exception as e: # noqa: BLE001CODE
LOWtests/e2e_tests/conftest.py37 except Exception as e:CODE
LOWtests/e2e_tests/conftest.py258 except Exception as docker_error:CODE
LOWtests/e2e_tests/client_utils.py53 except Exception:CODE
LOWtests/e2e_tests/client_utils.py69 except Exception:CODE
LOWtests/e2e_tests/client_utils.py34 except Exception:CODE
LOWtests/e2e_tests/client_utils.py81 except Exception as e:CODE
LOWtests/e2e_tests/client_utils.py98 except Exception as e:CODE
LOWtests/e2e_tests/client_utils.py240 except Exception as e:CODE
LOWtests/e2e_tests/client_utils.py251 except Exception as e:CODE
LOWtests/e2e_tests/client_utils.py268 except Exception as e:CODE
LOWtests/e2e_tests/client_utils.py295 except Exception as e:CODE
LOWtests/e2e_tests/client_utils.py334 except Exception as e:CODE
LOWtests/e2e_tests/client_utils.py469 except Exception as e:CODE
LOWtests/e2e_tests/test_strict_mode_disk.py86 except Exception as exc:CODE
LOWtests/e2e_tests/test_data_compatibility.py116 except Exception as e:CODE
LOWtests/e2e_tests/test_data_compatibility.py130 except Exception as error:CODE
LOWtests/e2e_tests/test_data_compatibility.py271 except Exception as e:CODE
9 more matches not shown…
Fake / Example Data33 hits · 36 pts
SeverityFileLineSnippetContext
LOWtests/openapi/test_wait_timeout.py103 "text": "Lorem ipsum, dolor sit amet.",CODE
LOWtests/openapi/test_wait_timeout.py103 "text": "Lorem ipsum, dolor sit amet.",CODE
LOWtests/openapi/test_wait_timeout.py137 "text": "Lorem ipsum, dolor sit amet.",CODE
LOWtests/openapi/test_wait_timeout.py137 "text": "Lorem ipsum, dolor sit amet.",CODE
LOWtests/openapi/test_wait_timeout.py171 "text": "Lorem ipsum, dolor sit amet.",CODE
LOWtests/openapi/test_wait_timeout.py171 "text": "Lorem ipsum, dolor sit amet.",CODE
LOWtests/consensus_tests/auth_tests/test_jwt_access.py960 fake_name = random_str()CODE
LOWtests/consensus_tests/auth_tests/test_jwt_access.py963 grpc_request={"collection_name": fake_name},CODE
LOWtests/consensus_tests/auth_tests/test_jwt_access.py964 path_params={"collection_name": fake_name},CODE
LOWtests/consensus_tests/auth_tests/test_jwt_access.py1352 fake_name = random_str()CODE
LOWtests/consensus_tests/auth_tests/test_jwt_access.py1357 "snapshot_name": fake_name,CODE
LOWtests/consensus_tests/auth_tests/test_jwt_access.py1359 grpc_request={"collection_name": COLL_NAME, "snapshot_name": fake_name},CODE
LOWtests/e2e_tests/client_utils.py124 "Lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
LOWtests/e2e_tests/client_utils.py124 "Lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
LOWlib/collection/tests/integration/multi_vec_test.rs108 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),CODE
LOWlib/collection/tests/integration/pagination_test.rs34 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),CODE
LOW…llection/tests/integration/continuous_snapshot_test.rs134 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),CODE
LOW…collection/tests/integration/snapshot_recovery_test.rs107 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),CODE
LOWlib/collection/tests/integration/grouping_test.rs496 const BODY_TEXT: &str = "lorem ipsum dolor sit amet";CODE
LOWlib/collection/tests/integration/grouping_test.rs496 const BODY_TEXT: &str = "lorem ipsum dolor sit amet";CODE
LOW…/segment/tests/integration/segment_on_disk_snapshot.rs37 "names": ["John Doe", "Bill Murray"],CODE
LOWlib/segment/src/segment/tests/mod.rs115 "name": "John Doe",CODE
LOWlib/segment/src/segment/tests/mod.rs202 "name": "John Doe",CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs177 "name": "John Doe",CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs197 "John Doe".to_string().into(),CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs228 let payload: Payload = serde_json::from_str(r#"{"name": "John Doe"}"#).unwrap();CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs245 "name": "John Doe",CODE
LOWlib/segment/src/payload_storage/payload_storage_enum.rs252 let payload: Payload = serde_json::from_str(r#"{"name": "John Doe"}"#).unwrap();CODE
LOWlib/segment/src/index/struct_payload_index/tests.rs22 "name": "John Doe"CODE
LOWlib/bm25/src/lib.rs242 "foo bar foo lorem ipsum dolor sit amet consectetur adipiscing",CODE
LOWlib/bm25/src/lib.rs242 "foo bar foo lorem ipsum dolor sit amet consectetur adipiscing",CODE
LOWsrc/common/inference/bm25_inference.rs157 "lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
LOWsrc/common/inference/bm25_inference.rs157 "lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
Verbosity Indicators18 hits · 33 pts
SeverityFileLineSnippetContext
LOWlib/collection/src/collection/mod.rs524 // If not initialized yet, we need to check if it was initialized by this callCOMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs232 // Step 1: Insert initial batch of points (wait=true to ensure they are persisted)COMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs246 // Step 2: Overwrite all point values with new random vectors — this triggers CoW.COMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs277 // Step 3: Overwrite again — this creates another round of CoW on top of theCOMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs306 // Step 4: Assert no duplicate non-deferred point IDs across segmentsCOMMENT
LOWlib/gpu/src/pipeline.rs99 // Before we start, we need to check if the device supports dynamic subgroup size.COMMENT
LOW…rc/segment/tests/test_immutable_payload_index_files.rs86 // Step 1: appendable source segment with payload + field indices.COMMENT
LOW…rc/segment/tests/test_immutable_payload_index_files.rs134 // Step 2: build a non-appendable target via SegmentBuilder. Mmap vectorCOMMENT
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs442 // Step 1: binary search to find the index of the `start` entry.COMMENT
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs450 // Step 2: read entries in chunks starting from `start`. Chunks mayCOMMENT
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs500 // Step 3: read the collected ranges and accumulate unique,COMMENT
LOWlib/gridstore/src/gridstore/tests.rs1073 // Step 1: Write initial data and flushCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1082 // Step 2: Open a readerCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1086 // Step 3: Verify reader sees initial dataCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1092 // Step 4: live_reload when nothing changed should be a no-opCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1098 // Step 5: Write more data via writable storage and flushCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1108 // Step 6: live_reload should update max_point_offset and make new data accessibleCOMMENT
LOWsrc/snapshots.rs55 // if it does, we need to check if we want to overwrite itCOMMENT
Structural Annotation Overuse16 hits · 30 pts
SeverityFileLineSnippetContext
LOWlib/collection/src/tests/deferred_points_dedup.rs232 // Step 1: Insert initial batch of points (wait=true to ensure they are persisted)COMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs246 // Step 2: Overwrite all point values with new random vectors — this triggers CoW.COMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs277 // Step 3: Overwrite again — this creates another round of CoW on top of theCOMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs306 // Step 4: Assert no duplicate non-deferred point IDs across segmentsCOMMENT
LOW…rc/segment/tests/test_immutable_payload_index_files.rs86 // Step 1: appendable source segment with payload + field indices.COMMENT
LOW…rc/segment/tests/test_immutable_payload_index_files.rs134 // Step 2: build a non-appendable target via SegmentBuilder. Mmap vectorCOMMENT
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs442 // Step 1: binary search to find the index of the `start` entry.COMMENT
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs450 // Step 2: read entries in chunks starting from `start`. Chunks mayCOMMENT
LOW…ndex/field_index/geo_index/mmap_geo_index/lifecycle.rs500 // Step 3: read the collected ranges and accumulate unique,COMMENT
LOWlib/edge/publish/examples/src/bin/restore-snapshot.rs95// NOTE: This function is copy-pasted from PyEdgeShard::update_from_snapshotCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1073 // Step 1: Write initial data and flushCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1082 // Step 2: Open a readerCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1086 // Step 3: Verify reader sees initial dataCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1092 // Step 4: live_reload when nothing changed should be a no-opCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1098 // Step 5: Write more data via writable storage and flushCOMMENT
LOWlib/gridstore/src/gridstore/tests.rs1108 // Step 6: live_reload should update max_point_offset and make new data accessibleCOMMENT
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMtests/consensus_tests/test_resharding.py196 # Create a list to collect replica URIs selected during testCOMMENT
MEDIUMtests/consensus_tests/test_resharding.py231 # Create a list to collect replica URIs selected during testCOMMENT
MEDIUMtests/consensus_tests/test_resharding.py419 # Create a list to collect replica URIs selected during testCOMMENT
MEDIUMtests/consensus_tests/test_named_vector_crud.py119 # Create a new dense named vectorCOMMENT
MEDIUMtests/consensus_tests/test_named_vector_crud.py140 # Create a new sparse named vectorCOMMENT
MEDIUM…sts/consensus_tests/test_collection_recovery_limits.py141 # Create an extra peer to allow moving some replicasCOMMENT
MEDIUMtests/consensus_tests/test_resharding_extras.py197 # Create a shard keyCOMMENT
Docstring Block Structure4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtests/e2e_tests/utils.py120Extract HTTP and gRPC ports from container. For host network mode, returns standard Qdrant ports (6333, 6334). FSTRING
HIGHtests/e2e_tests/utils.py201Core function to create a Qdrant container with given configuration. Args: docker_client: Docker client insSTRING
HIGHtests/e2e_tests/utils.py253General utility function to extract various archive formats. Args: archive_file: Path to the archive file tSTRING
HIGHtests/e2e_tests/utils.py328Extract container info from a docker-compose container. Args: container: Docker container object from dockeSTRING
Slop Phrases12 hits · 20 pts
SeverityFileLineSnippetContext
LOWtools/smaps-view.py116 # Don't forget to add the last entry if it matchesCOMMENT
LOWconfig/development.yaml5# Also don't forget to copy temporary configurations into config/config.yaml if they needCOMMENT
LOWconfig/development.yaml5# Also don't forget to copy temporary configurations into config/config.yaml if they needCOMMENT
LOWlib/gpu/src/instance.rs184 // Don't forget to destroy the instance if we failed to find any physical devices.COMMENT
LOWlib/gpu/src/instance.rs217 // Don't forget to destroy the instance if we failed to find any physical devices.COMMENT
LOWlib/gpu/src/instance.rs240 // Don't forget to destroy the instance if we failed to create a debug messenger.COMMENT
MEDIUMlib/segment/src/segment/entry.rs38/// This is a basic implementation of the trait, meaning that it implements the _actual_ operations with data and notCOMMENT
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!COMMENT
LOWlib/common/common/src/progress_tracker.rs205 /// Before entering hot loops, don't forget to call `Arc::deref` on it.COMMENT
LOWlib/common/common/src/universal_io/traits/file_ops.rs40 // When adding provided methods, don't forget to update impls inCOMMENT
LOWlib/common/common/src/universal_io/traits/write.rs35 // When adding provided methods, don't forget to update impls in crate::universal_io::wrappers::*.COMMENT
LOWlib/common/common/src/universal_io/traits/read.rs183 // When adding provided methods, don't forget to update impls in crate::universal_io::wrappers::*.COMMENT
Deep Nesting18 hits · 17 pts
SeverityFileLineSnippetContext
LOWtools/smaps-view.py60CODE
LOWtests/openapi/test_service.py116CODE
LOWtests/consensus_tests/test_shard_wal_delta_transfer.py51CODE
LOWtests/consensus_tests/test_two_follower_nodes_down.py28CODE
LOWtests/consensus_tests/utils.py474CODE
LOWtests/consensus_tests/test_write_ordering.py13CODE
LOWtests/consensus_tests/test_resharding_deferred.py183CODE
LOWtests/manual/slow_snapshot_download.py142CODE
LOWtests/manual/test_memory_reporting.py24CODE
LOWtests/e2e_tests/conftest.py218CODE
LOWtests/e2e_tests/client_utils.py60CODE
LOWtests/e2e_tests/client_utils.py102CODE
LOWtests/e2e_tests/test_data_compatibility.py50CODE
LOWtests/e2e_tests/utils.py252CODE
LOWtests/e2e_tests/utils.py326CODE
LOWtests/e2e_tests/utils.py375CODE
LOWtests/e2e_tests/test_continuous_snapshots.py39CODE
LOWlib/edge/publish/amalgamate.py309CODE
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippetContext
LOWtools/integration-test-coverage.sh8# Check if target/llvm-cov-target/debug/qdrant exists, if not build it:COMMENT
LOWtools/smaps-view.py83 # Check if line starts with an address range (new memory map entry)COMMENT
LOWtests/basic_grpc_inference_test.sh12# Check if local grpcurl exists and is executableCOMMENT
LOWtests/openapi/test_strictmode.py1794 # Check if tokens are goneCOMMENT
LOWtests/consensus_tests/test_io_uring_eintr.py171 # Check if the process is still aliveCOMMENT
LOWtests/e2e_tests/conftest.py97 # Check if image already existsCOMMENT
LOWtests/e2e_tests/conftest.py198 # Check if this is being used with indirect parametrizationCOMMENT
LOWtests/e2e_tests/test_continuous_snapshots.py19 # Check if we should stopCOMMENT
LOWlib/edge/tools/prepare_facet_snapshot.sh33# Check if Qdrant is already runningCOMMENT
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMlib/collection/src/collection/distance_matrix.rs213 // use the same filter for all requests to leverage batch searchCOMMENT
MEDIUMlib/segment/src/json_path/mod.rs239 // nuanced cases include wildcard indexes, e.g., `a[0].b` and `a[].b` intersect.COMMENT
MEDIUMlib/quantization/src/turboquant/simd/query1bit/mod.rs466 // — tightens to `<=` here to be robust against tiny-dim rng noise).COMMENT
MEDIUMlib/sparse/src/index/search_context.rs101 // sort ids to fully leverage posting list iterator traversalCOMMENT
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/openapi/test_filter_is_empty.py149 # Point 1 has an explicit null, point 2 has no payload, point 3 has a value.COMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/missed_cherry_picks.sh5# Example usage:COMMENT
LOWtools/generate_docker_compose_cluster.sh9# Example usage:COMMENT
LOWlib/segment/src/common/anonymize.rs12/// # Usage exampleCOMMENT
LOWlib/edge/python/codegen/src/lib.rs7/// # Usage exampleCOMMENT
AI Structural Patterns8 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/openapi/helpers/helpers.py203CODE
LOWtests/consensus_tests/utils.py359CODE
LOWtests/consensus_tests/utils.py390CODE
LOWtests/consensus_tests/utils.py402CODE
LOWtests/consensus_tests/utils.py410CODE
LOWtests/consensus_tests/utils.py993CODE
LOWtests/consensus_tests/fixtures.py85CODE
LOWtests/consensus_tests/fixtures.py142CODE
Modern AI Meta-Vocabulary1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUMlib/edge/python/examples/add-named-vector.py64# 2. Add a new dense vector (e.g., a new embedding model)COMMENT
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/e2e_tests/client_utils.py228 def update_collection(self, collection_name: str, collection_params: Dict[str, Any]) -> None:CODE
LOWtests/e2e_tests/test_strict_mode_disk.py52def _set_strict_mode_via_rest(host: str, port: int, collection: str, config: dict) -> None:CODE
LOWtests/e2e_tests/test_strict_mode_memory.py67def _set_strict_mode_via_rest(host: str, port: int, collection: str, config: dict) -> None:CODE