AI Slop Code Risk Monitor

qdrant/qdrant

SlopCodeMonitor badge for qdrant/qdrant Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

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.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for qdrant/qdrant, a Rust project with 35,345 GitHub stars. SynthScan examined 1,086,828 lines of code across 2453 source files, recording 2947 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 3.7 (Low 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.

3.7
Adjusted Signal
3.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
35.3K
Stars
Rust
Language
1.1M
Lines of Code
2.5K
Files
2.9K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 10.0/100 · LOW

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

PR Review Velocity Impact 16.5/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 28MEDIUM 411LOW 2508

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2947 distinct pattern matches across 20 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.

Decorative Section Separators394 hits · 1478 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/openapi/test_substring_match.py128# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py130# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py137# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py140# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py148# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py151# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py170# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py174# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py182# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_substring_match.py186# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py112# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py115# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py138# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py140# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py156# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py158# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py166# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py169# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py192# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py194# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_any_empty.py210# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/openapi/test_match_any_empty.py227# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_prefix_match.py114# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_prefix_match.py116# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_prefix_match.py123# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_prefix_match.py126# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_prefix_match.py171# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_prefix_match.py174# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_prefix_match.py197# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_prefix_match.py200# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py98# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py100# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py126# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py128# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py156# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py160# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py168# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py170# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py208# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py210# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py238# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py243# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/openapi/test_match_except_empty.py275# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/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
MEDIUM⚡lib/collection/src/shards/shard_holder/resharding.rs582 // ┌────────────┐ ┌──────────┐COMMENT
MEDIUM⚡lib/collection/src/shards/shard_holder/resharding.rs588 // └────────────┘ └──────────┘COMMENT
MEDIUM⚡lib/collection/src/shards/shard_holder/resharding.rs591 // ┌────────────┐ ┌──────────┐COMMENT
MEDIUM⚡lib/collection/src/shards/shard_holder/resharding.rs597 // └────────────┘ └──────────┘COMMENT
MEDIUM⚡lib/collection/src/shards/replica_set/mod.rs59// ┌──────────────┐COMMENT
MEDIUM⚡lib/collection/src/shards/replica_set/mod.rs63// └──────┬───────┘COMMENT
MEDIUM⚡lib/collection/src/shards/replica_set/mod.rs64// │ Report created ┌───────────┐COMMENT
MEDIUM⚡lib/collection/src/shards/replica_set/mod.rs65// └────────────────────► │COMMENT
MEDIUM⚡lib/collection/src/shards/replica_set/mod.rs67// ┌─────────────────────┤ │COMMENT
MEDIUM⚡lib/collection/src/shards/replica_set/mod.rs68// │ └───────────┘COMMENT
334 more matches not shown…
Over-Commented Block1530 hits · 1368 pts
SeverityFileLineSnippetContext
LOW.config/nextest.toml1[profile.ci]COMMENT
LOWtools/uio-trace-visualizer.html61#tree {COMMENT
LOWtools/uio-trace-visualizer.html81#pal i.none { box-shadow: inset 0 0 0 1px var(--muted); }COMMENT
LOWtools/smaps-view.py21COMMENT
LOWtools/smaps-view.py41# ShmemPmdMapped: 0 kBCOMMENT
LOWconfig/config.yaml1log_level: INFOCOMMENT
LOWconfig/config.yaml21COMMENT
LOWconfig/config.yaml41 # timeout_sec: 30COMMENT
LOWconfig/config.yaml61 # connect_timeout_sec: 5COMMENT
LOWconfig/config.yaml81 # timeout_sec: 30COMMENT
LOWconfig/config.yaml101 # payload:COMMENT
LOWconfig/config.yaml141 # Number of parallel threads used for search operations. If 0 - auto selection.COMMENT
LOWconfig/config.yaml161COMMENT
LOWconfig/config.yaml181 #io_uring: disabledCOMMENT
LOWconfig/config.yaml201 #COMMENT
LOWconfig/config.yaml221 # If not set, the default value will be used.COMMENT
LOWconfig/config.yaml241 # flush_interval_sec: 5COMMENT
LOWconfig/config.yaml261 full_scan_threshold_kb: 10000COMMENT
LOWconfig/config.yaml301COMMENT
LOWconfig/config.yaml321COMMENT
LOWconfig/config.yaml341 # If null - no limit.COMMENT
LOWconfig/config.yaml361 #quotas:COMMENT
LOWconfig/config.yaml401 # Default: 5COMMENT
LOWconfig/config.yaml421 enable_tls: falseCOMMENT
LOWconfig/config.yaml441 # If you enable this you should also enable TLS.COMMENT
LOWconfig/config.yaml461 # swap the two.COMMENT
LOWconfig/config.yaml481 # Disabling this can mitigate SSRF risks in environments where the Qdrant nodeCOMMENT
LOWconfig/config.yaml501 # Use TLS for communication between peersCOMMENT
LOWconfig/config.yaml521telemetry_disabled: falseCOMMENT
LOWconfig/config.yaml541COMMENT
LOWconfig/config.yaml561# # Where to write audit log entries:COMMENT
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_turbo16_storage.py241 scores = [hit['score'] for hit in result]COMMENT
LOWtests/openapi/test_turbo16_storage.py721 assert scores == sorted(scores)COMMENT
LOWtests/openapi/test_turbo16_storage.py921# (truncation and saturation, test_multi_vector_uint8.py). The turbo16COMMENT
LOWtests/openapi/test_match_any_empty.py201COMMENT
LOWtests/openapi/test_turbo4_storage.py241 scores = [hit['score'] for hit in result]COMMENT
LOWtests/openapi/test_turbo4_storage.py721 assert scores == sorted(scores)COMMENT
LOWtests/openapi/test_turbo4_storage.py921# (truncation and saturation, test_multi_vector_uint8.py). The turbo4COMMENT
LOWtests/openapi/test_turbo8_storage.py241 scores = [hit['score'] for hit in result]COMMENT
LOWtests/openapi/test_turbo8_storage.py721 assert scores == sorted(scores)COMMENT
LOWtests/openapi/test_turbo8_storage.py921# (truncation and saturation, test_multi_vector_uint8.py). The turbo8COMMENT
LOWtests/consensus_tests/test_snapshot_recovery.py181 # happen to be balanced across peers. Peer 0 observes every replica of theCOMMENT
LOWtests/consensus_tests/test_shard_wal_delta_transfer.py661# delta transfer will only transfer changes since the last seen clocks, missingCOMMENT
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.py121# Bounded retries (queue-level + driver-level) can lose the race under sustainedCOMMENT
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
LOWtests/consensus_tests/test_reinit_removed_peer.py41 res = requests.delete(f"{peer_api_uris[0]}/cluster/peer/{removed_peer_id}?timeout=60")COMMENT
LOWtests/consensus_tests/test_reinit_removed_peer.py161 for i in range(3):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_routing_token.py181 # Reads are routed through every peer below, so every peer must see both replicasCOMMENT
LOWtests/consensus_tests/test_snapshot_upload.py161 assert len(new_sparse_search_result) == len(sparse_search_result)COMMENT
1470 more matches not shown…
Hyper-Verbose Identifiers643 hits · 626 pts
SeverityFileLineSnippetContext
LOWtools/smaps-view.py137def calculate_cache_percentage(pid: int, pattern: str, verbose: bool = False) -> Dict[str, float]:CODE
LOWtests/openapi/test_collection_created_at.py28def test_collection_created_at(collection_name):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.py1755def test_strict_mode_retrieve_read_rate_limiting(collection_name):CODE
LOWtests/openapi/test_strictmode.py1819def test_scroll_filter_many_conditions(collection_name):CODE
LOWtests/openapi/test_strictmode.py1864def test_strict_mode_group_limits(collection_name):CODE
LOWtests/openapi/test_strictmode.py1931def test_strict_mode_distance_matrix_limits(collection_name):CODE
LOWtests/openapi/test_strictmode.py1962def test_read_rate_limiter_many_vectors(full_collection_name):CODE
LOWtests/openapi/test_strictmode.py1972 def check_multivector_query_raw(should_succeed: bool):CODE
LOWtests/openapi/test_strictmode.py1987 def check_multivector_query_id(should_succeed: bool):CODE
LOWtests/openapi/test_strictmode.py2036def test_strict_mode_group_by_unindexed(collection_name):CODE
LOWtests/openapi/test_strictmode.py2188def test_strict_mode_full_scan(full_collection_name):CODE
LOWtests/openapi/test_strictmode.py2296def test_strict_mode_full_scan_simple(full_collection_name):CODE
LOWtests/openapi/test_strictmode.py2354def test_strict_mode_multitenant_full_scan(full_collection_name):CODE
LOWtests/openapi/test_strictmode.py2469def 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.py374def test_multi_with_euclidean(collection_name):CODE
LOWtests/openapi/test_multi_vector_unnamed.py15def multivector_collection_setup(CODE
583 more matches not shown…
Unused Imports129 hits · 129 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.py5CODE
LOWtests/consensus_tests/test_custom_sharding.py6CODE
LOWtests/consensus_tests/test_custom_sharding.py7CODE
LOWtests/consensus_tests/test_read_consistency.py7CODE
LOW…s/consensus_tests/test_shard_stream_transfer_turbo4.py6CODE
LOW…sts/test_resharding_down_revert_crash_orphans_state.py17CODE
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
LOW…onsensus_tests/test_snapshot_aborted_transfer_proxy.py8CODE
LOWtests/consensus_tests/test_replicate_points.py4CODE
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_drop_replica_condition.py7CODE
LOWtests/consensus_tests/test_points_recommendation.py3CODE
LOW…sts/consensus_tests/test_resharding_abort_live_lock.py3CODE
LOW…sts/consensus_tests/test_resharding_abort_live_lock.py5CODE
LOW…s/consensus_tests/test_cluster_operation_coalescing.py5CODE
LOWtests/consensus_tests/test_resharding_replay.py11CODE
LOW…sus_tests/test_shard_snapshot_transfer_stale_sender.py4CODE
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.py5CODE
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
LOW…s/consensus_tests/test_filter_update_ops_replicated.py16CODE
69 more matches not shown…
Empty Error Handlers20 hits · 100 pts
SeverityFileLineSnippetContext
HIGH…sts/test_resharding_down_revert_crash_orphans_state.py137except requests.RequestException:CODE
HIGH…ensus_tests/test_resharding_set_replica_dead_replay.py141except requests.RequestException:CODE
HIGH…ts/test_resharding_down_abort_converges_after_crash.py95except requests.RequestException:CODE
HIGHtests/consensus_tests/test_dirty_shard_crash_loop.py48except requests.exceptions.RequestException:CODE
HIGH…us_tests/test_shard_snapshot_transfer_missing_point.py70except requests.exceptions.RequestException:CODE
HIGHtests/consensus_tests/test_shard_transfer_deferred.py199except requests.exceptions.ReadTimeout:CODE
HIGHtests/consensus_tests/test_shard_transfer_deferred.py365except requests.exceptions.ReadTimeout:CODE
HIGH…s/consensus_tests/test_snapshot_backpressure_freeze.py102except requests.RequestException:CODE
HIGH…s/consensus_tests/test_snapshot_backpressure_freeze.py87except requests.RequestException:CODE
HIGHtests/consensus_tests/peer_proxy.py138except OSError:CODE
HIGHtests/consensus_tests/peer_proxy.py376except FutureTimeoutError:CODE
HIGHtests/consensus_tests/peer_proxy.py426except OSError:CODE
HIGHtests/manual/slow_snapshot_download.py223except OSError:CODE
HIGHtests/manual/slow_snapshot_download.py194except OSError:CODE
HIGHtests/e2e_tests/conftest.py126except ImageNotFound:CODE
HIGHtests/e2e_tests/client_utils.py34except Exception:CODE
HIGHtests/e2e_tests/client_utils.py53except Exception:CODE
HIGHtests/e2e_tests/client_utils.py69except Exception:CODE
HIGHtests/e2e_tests/test_data_compatibility.py372except NotFound:CODE
HIGHtests/e2e_tests/utils.py58except requests.exceptions.RequestException:CODE
Excessive Try-Catch Wrapping74 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/smaps-view.py177 print(f"Error: Could not find /proc/{pid}/smaps", file=sys.stderr)CODE
LOW⚡tools/smaps-view.py179 except Exception as e:CODE
MEDIUM⚡tools/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…sts/test_resharding_down_revert_crash_orphans_state.py170 except Exception: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
LOW⚡tests/consensus_tests/test_cluster_rejoin.py566 except Exception:CODE
MEDIUMtests/consensus_tests/test_cluster_rejoin.py562def old_peer_consensus_stopped():CODE
LOW…s/consensus_tests/test_filter_update_ops_replicated.py52 except Exception: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
LOW⚡tests/consensus_tests/utils.py798 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py806 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py814 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py823 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py830 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py837 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py845 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py853 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py861 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py870 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py879 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py890 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py901 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py909 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py917 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py925 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py932 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py958 except Exception as e:CODE
LOW⚡tests/consensus_tests/utils.py976 except Exception as e:CODE
LOWtests/consensus_tests/utils.py70 except Exception as e:CODE
LOWtests/consensus_tests/test_failed_snapshot_recovery.py198 except Exception as e:CODE
LOWtests/consensus_tests/test_failed_snapshot_recovery.py217 except Exception as e:CODE
LOWtests/consensus_tests/test_failed_snapshot_recovery.py331 except Exception as e:CODE
LOWtests/consensus_tests/test_failed_snapshot_recovery.py375 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.py38 except Exception as e:CODE
LOWtests/e2e_tests/conftest.py287 except Exception as docker_error:CODE
LOW⚡tests/e2e_tests/client_utils.py53 except Exception:CODE
LOW⚡tests/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_data_compatibility.py157 except Exception as e:CODE
14 more matches not shown…
Fake / Example Data38 hits · 41 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
LOW⚡tests/consensus_tests/auth_tests/test_jwt_access.py965 fake_name = random_str()CODE
LOW⚡tests/consensus_tests/auth_tests/test_jwt_access.py968 grpc_request={"collection_name": fake_name},CODE
LOW⚡tests/consensus_tests/auth_tests/test_jwt_access.py969 path_params={"collection_name": fake_name},CODE
LOW⚡tests/consensus_tests/auth_tests/test_jwt_access.py1357 fake_name = random_str()CODE
LOW⚡tests/consensus_tests/auth_tests/test_jwt_access.py1362 "snapshot_name": fake_name,CODE
LOW⚡tests/consensus_tests/auth_tests/test_jwt_access.py1364 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.rs110 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.rs130 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),CODE
LOW…collection/tests/integration/snapshot_recovery_test.rs108 payload: Some(serde_json::from_str(r#"{"number": "John Doe"}"#).unwrap()),CODE
LOWlib/collection/tests/integration/grouping_test.rs457 const BODY_TEXT: &str = "lorem ipsum dolor sit amet";CODE
LOWlib/collection/tests/integration/grouping_test.rs457 const BODY_TEXT: &str = "lorem ipsum dolor sit amet";CODE
LOW…/segment/tests/integration/segment_on_disk_snapshot.rs49 "names": ["John Doe", "Bill Murray"],CODE
LOWlib/segment/src/segment/tests/mod.rs128 "name": "John Doe",CODE
LOWlib/segment/src/segment/tests/mod.rs276 "name": "John Doe",CODE
LOWlib/segment/src/segment/tests/mod.rs398 "name": "John Doe",CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs175 "name": "John Doe",CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs195 "John Doe".to_string().into(),CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs225 let payload: Payload = serde_json::from_str(r#"{"name": "John Doe"}"#).unwrap();CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs250 let payload: Payload = serde_json::from_str(r#"{"name": "John Doe"}"#).unwrap();CODE
LOW…/src/payload_storage/in_memory_payload_storage_impl.rs265 "name": "John Doe",CODE
LOWlib/segment/src/payload_storage/payload_storage_enum.rs324 let payload: Payload = serde_json::from_str(r#"{"name": "John Doe"}"#).unwrap();CODE
LOWlib/segment/src/index/struct_payload_index/tests.rs31 "name": "John Doe"CODE
LOWlib/segment/src/index/struct_payload_index/tests.rs125 let payload: Payload = serde_json::from_str(r#"{ "name": "John Doe" }"#).unwrap();CODE
LOWlib/segment/src/index/struct_payload_index/tests.rs165 view.query_points(&name_filter(&key, "John Doe"), &AtomicBool::new(false))CODE
LOWlib/segment/src/index/struct_payload_index/tests.rs189 let payload: Payload = serde_json::from_str(r#"{ "name": "John Doe" }"#).unwrap();CODE
LOWlib/bm25/src/lib.rs238 "foo bar foo lorem ipsum dolor sit amet consectetur adipiscing",CODE
LOWlib/bm25/src/lib.rs238 "foo bar foo lorem ipsum dolor sit amet consectetur adipiscing",CODE
LOWsrc/common/inference/bm25_inference.rs179 "lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
LOWsrc/common/inference/bm25_inference.rs179 "lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
Verbosity Indicators18 hits · 34 pts
SeverityFileLineSnippetContext
LOWlib/collection/src/collection/mod.rs573 // If not initialized yet, we need to check if it was initialized by this callCOMMENT
LOW⚡lib/collection/src/tests/deferred_points_dedup.rs233 // Step 1: Insert initial batch of points (wait=true to ensure they are persisted)COMMENT
LOW⚡lib/collection/src/tests/deferred_points_dedup.rs243 // Step 2: Overwrite all point values with new random vectors — this triggers CoW.COMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs270 // Step 3: Overwrite again — this creates another round of CoW on top of theCOMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs295 // 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⚡lib/blobstore/src/blobstore/tests.rs1409 // Step 1: Write initial data and flushCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1419 // Step 2: Open a readerCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1424 // Step 3: Verify reader sees initial dataCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1430 // Step 4: live_reload when nothing changed must keep serving the same dataCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1435 // Step 5: Write more data via writable storage and flushCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1442 // Step 6: live_reload should make new data accessibleCOMMENT
LOW…rc/segment/tests/test_immutable_payload_index_files.rs87 // Step 1: appendable source segment with payload + field indices.COMMENT
LOW…rc/segment/tests/test_immutable_payload_index_files.rs135 // Step 2: build a non-appendable target via SegmentBuilder. Mmap vectorCOMMENT
LOW⚡…x/field_index/geo_index/on_disk_geo_index/lifecycle.rs502 // Step 1: binary search to find the index of the `start` entry. With aCOMMENT
LOW…x/field_index/geo_index/on_disk_geo_index/lifecycle.rs527 // Step 2: read entries in chunks starting from `start`. Chunks mayCOMMENT
LOW…x/field_index/geo_index/on_disk_geo_index/lifecycle.rs578 // Step 3: read the collected ranges and accumulate unique,COMMENT
LOWsrc/snapshots.rs103 // if it does, we need to check if we want to overwrite itCOMMENT
Structural Annotation Overuse16 hits · 31 pts
SeverityFileLineSnippetContext
LOW⚡lib/collection/src/tests/deferred_points_dedup.rs233 // Step 1: Insert initial batch of points (wait=true to ensure they are persisted)COMMENT
LOW⚡lib/collection/src/tests/deferred_points_dedup.rs243 // Step 2: Overwrite all point values with new random vectors — this triggers CoW.COMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs270 // Step 3: Overwrite again — this creates another round of CoW on top of theCOMMENT
LOWlib/collection/src/tests/deferred_points_dedup.rs295 // Step 4: Assert no duplicate non-deferred point IDs across segmentsCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1409 // Step 1: Write initial data and flushCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1419 // Step 2: Open a readerCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1424 // Step 3: Verify reader sees initial dataCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1430 // Step 4: live_reload when nothing changed must keep serving the same dataCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1435 // Step 5: Write more data via writable storage and flushCOMMENT
LOW⚡lib/blobstore/src/blobstore/tests.rs1442 // Step 6: live_reload should make new data accessibleCOMMENT
LOW…rc/segment/tests/test_immutable_payload_index_files.rs87 // Step 1: appendable source segment with payload + field indices.COMMENT
LOW…rc/segment/tests/test_immutable_payload_index_files.rs135 // Step 2: build a non-appendable target via SegmentBuilder. Mmap vectorCOMMENT
LOW⚡…x/field_index/geo_index/on_disk_geo_index/lifecycle.rs502 // Step 1: binary search to find the index of the `start` entry. With aCOMMENT
LOW…x/field_index/geo_index/on_disk_geo_index/lifecycle.rs527 // Step 2: read entries in chunks starting from `start`. Chunks mayCOMMENT
LOW…x/field_index/geo_index/on_disk_geo_index/lifecycle.rs578 // Step 3: read the collected ranges and accumulate unique,COMMENT
LOWlib/edge/publish/examples/src/bin/restore-snapshot.rs99// NOTE: This function is copy-pasted from PyEdgeShard::update_from_snapshotCOMMENT
Cross-Language Confusion4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtests/openapi/test_turbo16_storage.py930 # NaN/Inf serialize to JSON null, so a non-number element is the firstCOMMENT
HIGHtests/openapi/test_filter_is_empty.py149 # Point 1 has an explicit null, point 2 has no payload, point 3 has a value.COMMENT
HIGHtests/openapi/test_turbo4_storage.py930 # NaN/Inf serialize to JSON null, so a non-number element is the firstCOMMENT
HIGHtests/openapi/test_turbo8_storage.py930 # NaN/Inf serialize to JSON null, so a non-number element is the firstCOMMENT
Deep Nesting25 hits · 23 pts
SeverityFileLineSnippetContext
LOWtools/smaps-view.py60CODE
LOWtools/callgraph/callgraph.py481CODE
LOWtools/callgraph/callgraph.py314CODE
LOWtests/openapi/test_service.py116CODE
LOWtests/consensus_tests/test_peer_proxy.py118CODE
LOWtests/consensus_tests/test_peer_proxy.py241CODE
LOWtests/consensus_tests/test_shard_wal_delta_transfer.py51CODE
LOWtests/consensus_tests/test_snapshot_download_proxy.py187CODE
LOWtests/consensus_tests/test_two_follower_nodes_down.py28CODE
LOWtests/consensus_tests/test_remove_leader_two_node.py45CODE
LOWtests/consensus_tests/utils.py527CODE
LOWtests/consensus_tests/test_write_ordering.py13CODE
LOWtests/consensus_tests/peer_proxy.py354CODE
LOWtests/consensus_tests/test_resharding_deferred.py183CODE
LOWtests/manual/slow_snapshot_download.py142CODE
LOWtests/manual/test_memory_reporting.py24CODE
LOWtests/e2e_tests/conftest.py63CODE
LOWtests/e2e_tests/conftest.py247CODE
LOWtests/e2e_tests/client_utils.py60CODE
LOWtests/e2e_tests/client_utils.py102CODE
LOWtests/e2e_tests/test_data_compatibility.py82CODE
LOWtests/e2e_tests/utils.py252CODE
LOWtests/e2e_tests/utils.py326CODE
LOWtests/e2e_tests/utils.py375CODE
LOWtests/e2e_tests/test_continuous_snapshots.py39CODE
Slop Phrases14 hits · 22 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.rs40/// 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.rs78 // When adding provided methods, don't forget to update impls inCOMMENT
LOWlib/common/common/src/universal_io/traits/file_ops.rs136 // When adding provided methods, don't forget to update impls inCOMMENT
LOWlib/common/common/src/universal_io/traits/write.rs51 // When adding provided methods, don't forget to update impls in crate::universal_io::wrappers::*.COMMENT
LOWlib/common/common/src/universal_io/traits/read.rs236 // When adding provided methods, don't forget to update impls in crate::universal_io::wrappers::*.COMMENT
LOWlib/common/common/src/universal_io/traits/append.rs95 // When adding provided methods, don't forget to update impls inCOMMENT
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
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.py1806 # Check if tokens are goneCOMMENT
LOWtests/consensus_tests/test_io_uring_eintr.py171 # Check if the process is still aliveCOMMENT
LOWtests/e2e_tests/conftest.py98 # Check if image already existsCOMMENT
LOWtests/e2e_tests/conftest.py227 # 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
MEDIUM.github/workflows/rust.yml100 # `/dev/shm` is tmpfs. The `model_testing` harness gates preallocate 32 MB gridstore pagesCOMMENT
MEDIUMlib/collection/src/collection/distance_matrix.rs213 // use the same filter for all requests to leverage batch searchCOMMENT
MEDIUMlib/segment/src/json_path/mod.rs240 // nuanced cases include wildcard indexes, e.g., `a[0].b` and `a[].b` intersect.COMMENT
MEDIUMlib/sparse/src/index/search_context.rs92 // sort ids to fully leverage posting list iterator traversalCOMMENT
Example Usage Blocks5 hits · 8 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/tools/s3_proxy/s3_proxy.sh19# Usage:COMMENT
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.py400CODE
LOWtests/consensus_tests/utils.py431CODE
LOWtests/consensus_tests/utils.py443CODE
LOWtests/consensus_tests/utils.py451CODE
LOWtests/consensus_tests/utils.py1088CODE
LOWtests/consensus_tests/fixtures.py85CODE
LOWtests/consensus_tests/fixtures.py142CODE
Modern AI Meta-Vocabulary1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM⚡lib/edge/python/examples/add-named-vector.py64# 2. Add a new dense vector (e.g., a new embedding model)COMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/consensus_tests/peer_proxy.py32logger = logging.getLogger(__name__)CODE
LOWtests/e2e_tests/client_utils.py228 def update_collection(self, collection_name: str, collection_params: Dict[str, Any]) -> None:CODE
LOWtests/e2e_tests/test_quota_disk.py55def _set_quota_via_rest(host: str, port: int, config: dict) -> None:CODE
LOWtests/e2e_tests/test_strict_mode_memory.py75def _set_strict_mode_via_rest(host: str, port: int, collection: str, config: dict) -> None:CODE