AI Slop Code RIsk Monitor

RediSearch/RediSearch

A query and indexing engine for Redis, providing secondary indexing, full-text search, vector similarity search and aggregations.

10.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for RediSearch/RediSearch, a Rust project with 6,243 GitHub stars. SynthScan examined 608,484 lines of code across 2178 source files, recording 4692 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 10.5 (Moderate pattern signal); it is not an authorship estimate.

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

10.5
Adjusted Signal
10.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.2K
Stars
Rust
Language
608.5K
Lines of Code
2.2K
Files
4.7K
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 28.0/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 6.3/100 · LOW

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

Agent Over-Engineering Ratio 19.9/100 · LOW

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

PR Review Velocity Impact 41.8/100 · MEDIUM

Which changes need focused human review? 4692 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 148MEDIUM 581LOW 3963

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 4692 distinct pattern matches across 24 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.

Over-Commented Block1965 hits · 1902 pts
SeverityFileLineSnippetContext
LOWbuild.sh1#!/usr/bin/env bashCOMMENT
LOWbuild.sh381 end_groupCOMMENT
LOWbuild.sh501 # a rather recent version of clang (>=21.x.y).COMMENT
LOWbuild.sh561 fiCOMMENT
LOWbuild.sh681 # Handle RUST_DYN_CRT flag for Alpine Linux compatibilityCOMMENT
LOWbuild.sh1021# Build the Rust test binaries into a nextest archive that can be shipped toCOMMENT
LOWbuild.sh1101 # cargo-llvm-cov extracts the archive into its own target dir via nextest'sCOMMENT
LOW.install/apt_get_cmd.sh1#!/usr/bin/env bashCOMMENT
LOW.install/install_llvm.sh1#!/usr/bin/env bashCOMMENT
LOW.install/install_llvm.sh61 rm -rf "$tmpdir"COMMENT
LOW.install/install_llvm.sh221 # not fire there, so any failure falls through to the tarballCOMMENT
LOW.install/install_llvm.sh441install_alpine_static_llvm_libs() {COMMENT
LOW.install/deps_lib.sh1#!/usr/bin/env bashCOMMENT
LOW.install/test_deps/install_rust_deps.sh1#!/usr/bin/env bashCOMMENT
LOW.install/test_deps/install_rust_deps.sh41# issues on older systems). Empty on other platforms.COMMENT
LOW.install/test_deps/install_rust_deps.sh81 # it guards against falling back to a (glibc-linked) host prebuiltCOMMENT
LOW.install/test_deps/install_rust_deps.sh101# thus improving the cacheability of our buildsCOMMENT
LOW.install/test_deps/install_python_deps.sh21 echo "source .venv/bin/activate" >> ~/.bashrcCOMMENT
LOWsrcutil/lemon.c1/*COMMENT
LOWsrcutil/lemon.c21#define ISLOWER(X) islower((unsigned char)(X))COMMENT
LOWtests/ctests/test_trie.c61// if (dn->distance == -1) {COMMENT
LOWtests/ctests/test_trie.c681 */COMMENT
LOWtests/ctests/test_trie.c701 // "redisearch" -> 300 docsCOMMENT
LOWtests/ctests/ext-example/example.h21#endifCOMMENT
LOWtests/ctests/coord_tests/minunit.h41#elif defined(__unix__) || defined(__unix) || defined(unix) || \COMMENT
LOWtests/ctests/coord_tests/minunit.h61#if defined(__MACH__) && defined(__APPLE__)COMMENT
LOWtests/benchmarks/search-vector-field-update.yml41 # a range with gaps would create new ones, and this benchmark is about updates only.COMMENT
LOW…ts/benchmarks/search-vector-numeric-partial-update.yml41 # replace the document, but it would leave the numeric index untouched andCOMMENT
LOW…rks/search-vector-numeric-partial-update-knn-mixed.yml41 # its 100000 documents. Every write therefore lands on a document that already exists:COMMENT
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py421 "@tags:{t01} covid",COMMENT
LOWtests/benchmarks/scripts/upload_to_s3.sh1#!/bin/bashCOMMENT
LOWtests/cpptests/test_cpp_areq_compile.cpp1/*COMMENT
LOWtests/cpptests/test_cpp_rpdepleter.cpp1/*COMMENT
LOWtests/cpptests/test_cpp_parse_hybrid.cpp1/*COMMENT
LOWtests/cpptests/test_cpp_parse_hybrid.cpp21#include "rmalloc.h"COMMENT
LOWtests/cpptests/test_cpp_index.cpp21#include "varint_ffi.h"COMMENT
LOWtests/cpptests/test_cpp_index.cpp341 size_t written_bytes = 0;COMMENT
LOWtests/cpptests/test_cpp_index.cpp361 // ----------------------------------------------------------------------COMMENT
LOWtests/cpptests/stacktrace.cpp21// execinfo.h (backtrace) is a glibc extension, not available on musl (Alpine)COMMENT
LOWtests/cpptests/test_cpp_forkgc.cpp1/*COMMENT
LOWtests/cpptests/test_cpp_forkgc.cpp21#include "info/global_stats.h"COMMENT
LOWtests/cpptests/test_cpp_parsed_hybrid_pipeline.cpp1/*COMMENT
LOWtests/cpptests/test_cpp_vector_relabel.cpp21#include "redismock/util.h"COMMENT
LOWtests/cpptests/test_cpp_vector_relabel.cpp81#ifdef ENABLE_ASSERTCOMMENT
LOWtests/cpptests/test_cpp_vector_relabel.cpp641// relabel -> moves the existing entry, so the label holds the OLD blobCOMMENT
LOWtests/cpptests/test_cpp_json_vec.cpp101// I8 U8 I16 U16 I32 U32 I64 U64 F16 BF16 F32 F64COMMENT
LOWtests/cpptests/test_cpp_trie.cpp1441// The Rust side exposes only save/load, so the interop tests funnel bothCOMMENT
LOWtests/cpptests/test_cpp_rdb.cpp1/*COMMENT
LOWtests/cpptests/test_cpp_rdb.cpp821 // command:COMMENT
LOWtests/cpptests/test_cpp_rdb.cpp1081 DocTable_Free(t);COMMENT
LOWtests/cpptests/test_cpp_reindex_skip.cpp1/*COMMENT
LOWtests/cpptests/test_cpp_reindex_skip.cpp21//COMMENT
LOWtests/cpptests/test_cpp_document_probe_fields.cpp1/*COMMENT
LOWtests/cpptests/test_cpp_query.cpp21#include "common.h"COMMENT
LOWtests/cpptests/test_cpp_query.cpp41bool isValidQuery(const char *qt, int ver, RedisSearchCtx &ctx) {COMMENT
LOWtests/cpptests/llapi_test_helpers.cpp21#include "rmutil/rm_assert.h"COMMENT
LOWtests/cpptests/redismock/redismock.cpp21#include <cstdarg>COMMENT
LOWtests/cpptests/scripts/decode_stacktrace.sh1#!/bin/bashCOMMENT
LOWtests/cpptests/coord_tests/test_cpp_distribute_load.cpp21#include "redismock/redismock.h"COMMENT
LOW…/cpptests/coord_tests/test_cpp_hybrid_build_mr_cmd.cpp1/*COMMENT
1905 more matches not shown…
Hyper-Verbose Identifiers1248 hits · 1081 pts
SeverityFileLineSnippetContext
LOWsrcutil/gen_command_info.py161def generate_redis_module_command_info(name, cmd_info, file):CODE
LOWsrcutil/gen_command_info.py188def generate_command_info_definition(name, info, file):CODE
LOW⚡sbin/profile_compare.py2158 def calculate_missing_iterator_size(self, iterator_node):CODE
LOW⚡sbin/profile_compare.py2403 def _process_child_iterator_data(self, child_data, parent_node, idx):CODE
LOWsbin/profile_compare.py65 def detect_redisearch_version(self) -> Optional[str]:CODE
LOWsbin/profile_compare.py90 def check_slowlog_after_query(self, baseline_length: int) -> None:CODE
LOWsbin/profile_compare.py681 def create_comparison_html_content(self, parsed_data1, parsed_data2,CODE
LOWsbin/profile_compare.py1048 def create_comparison_html_content(self, parsed_data1, parsed_data2,CODE
LOWsbin/profile_compare.py2277 def build_iterator_tree_from_list(self, iterator_list):CODE
LOWsbin/profile_compare.py2527 def extract_term_from_details(self, details):CODE
LOWsbin/profile_compare.py2539 def extract_time_from_details(self, details):CODE
LOWsbin/profile_compare.py2559 def extract_counter_from_details(self, details):CODE
LOWsbin/profile_compare.py2573 def extract_skip_counter_from_details(self, details):CODE
LOWsbin/profile_compare.py2593 def extract_size_from_details(self, details):CODE
LOWsbin/profile_compare.py2617 def generate_leaf_comparison_table(self, graph1_data, graph2_data, index1, index2):CODE
LOWsbin/profile_compare.py2838 def generate_comparison_flow_diagram(self, parsed_data1, parsed_data2, index1: str, index2: str):CODE
LOWsbin/profile_compare.py2923 def generate_iterator_subtree(self, iterator_data, tree_class, x_pos, y_pos):CODE
LOWsbin/profile_compare.py2974 def generate_processor_subtree(self, processors, tree_class, x_pos, y_pos):CODE
LOWsbin/profile_compare.py3050 def calculate_performance_diff(self, value1, value2, lower_is_better=True):CODE
LOWsbin/profile_compare.py3159 def generate_comparison_table(self, metrics1, metrics2, index1, index2, result_count1, result_count2):CODE
LOWsbin/numeric_tree/visualize_numeric_tree.py196def create_interactive_plotly_tree(G, output_file='interactive_tree.html', spacing_factor=2.0):CODE
LOWsbin/numeric_tree/generate_numeric_trees.py82 def generate_insertion_sequence(self, config: IndexConfig) -> List[Tuple[int, float, float]]:CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py165 def _generate_multi_field_query(self, range_size: float, use_infinity: bool,CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py178 def _execute_queries_on_indexes(self, indexes: List[str], queries: List[str],CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py205 def test_single_range_queries(self, indexes: List[str], iterations: int, range_size: float,CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py238 def test_intersection_queries(self, indexes: List[str], iterations: int, range_size: float,CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py258 def organize_results_by_index(self, results: List[QueryResult]) -> Dict[str, List[QueryResult]]:CODE
LOW…s/test_generate_dropindex_writer_contention_dataset.py35 def test_setup_file_creates_indexes_before_loading_documents(self):CODE
LOW…s/test_generate_dropindex_writer_contention_dataset.py73 def test_benchmark_file_interleaves_each_drop_with_bounded_writer_batch(self):CODE
LOW…s/test_generate_dropindex_writer_contention_dataset.py98 def test_generate_files_uses_expected_benchmark_names(self):CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py154def generate_numeric_fields_for_doc(doc_id: str, body: str) -> Tuple[int, int, int, int]:CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py257def generate_setup_commands_from_shards(CODE
LOWtests/pytests/test_himport.py51def test_himport_indexing_and_loading(env):CODE
LOWtests/pytests/test_himport.py93def test_himport_replacement_clears_ttl(env):CODE
LOWtests/pytests/test_himport.py118def test_himport_hash_mutations(env):CODE
LOWtests/pytests/test_himport.py141def test_himport_backfill_and_reload(env):CODE
LOWtests/pytests/test_himport.py164def test_hash_auto_template_conversion(env):CODE
LOWtests/pytests/test_himport.py209def test_hash_template_conversion_on_rdb_load(env):CODE
LOWtests/pytests/test_parser.py821def test_invalid_query_attributes(env):STRING
LOW⚡tests/pytests/test_command_info.py333def test_command_info_availability():CODE
LOWtests/pytests/test_command_info.py25def _load_command_expectations():CODE
LOWtests/pytests/test_command_info.py62def _convert_flags_to_boolean_fields(flags_list):CODE
LOWtests/pytests/test_command_info.py81def _normalize_single_argument(arg):CODE
LOWtests/pytests/test_command_info.py111def _normalize_arguments_structure(args):CODE
LOWtests/pytests/test_command_info.py148def _is_function_to_block_transformation(actual, expected):CODE
LOWtests/pytests/test_command_info.py168def _should_skip_field_in_comparison(key, actual, is_function_to_block):CODE
LOWtests/pytests/test_command_info.py407def test_command_info_tips_field():CODE
LOWtests/pytests/test_command_info.py468def test_command_info_cacheability_tips_policy():CODE
LOWtests/pytests/test_command_info.py526def test_specific_command_docs_structure():CODE
LOWtests/pytests/test_expire.py79def test_lazily_expired_field_notification(env: Env):CODE
LOWtests/pytests/test_expire.py119def test_unindexed_field_expiry_leaves_the_document(env: Env):CODE
LOWtests/pytests/test_expire.py141def test_hdel_of_unindexed_field_is_skipped(env: Env):CODE
LOWtests/pytests/test_expire.py161def test_doc_expiration_preserves_field_expiration(env: Env):CODE
LOWtests/pytests/test_expire.py512def transform_document_list_to_dict(document_list):CODE
LOWtests/pytests/test_expire.py559 def build_inverted_index_dict_for_documents(current_documents):CODE
LOWtests/pytests/test_expire.py715def _setup_non_matching_indexes(env):CODE
LOWtests/pytests/test_expire.py766def _assert_non_matching_indexes_unchanged(env):CODE
LOWtests/pytests/test_expire.py784def _run_key_expiration_with_non_matching_indexes(env, expire_cmd, ttl_arg, sleep_secs):CODE
LOWtests/pytests/test_expire.py1090def test_background_index_no_lazy_expiration(env):CODE
LOWtests/pytests/test_expire.py1112def test_background_index_no_lazy_expiration_json(env):CODE
1188 more matches not shown…
Decorative Section Separators340 hits · 1077 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt129#----------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt156#----------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt175#----------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt343#----------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt360#----------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt374#----------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt392#----------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt437#----------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh5#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh10#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh16#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh18#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh333#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh336#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh346#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh349#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh820#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh823#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh926#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh930#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh938#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh943#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh1282#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh1285#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh1303#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡build.sh1306#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh66#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh70#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh185#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh188#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh206#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh209#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh387#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh390#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh756#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh759#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh796#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh799#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh867#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh870#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh979#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh982#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1019#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1031#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1074#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1079#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1138#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1141#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1179#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1182#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1343#-----------------------------------------------------------------------------COMMENT
MEDIUMbuild.sh1345#-----------------------------------------------------------------------------COMMENT
MEDIUM.install/install_llvm.sh6# =============================================================================COMMENT
MEDIUM.install/install_llvm.sh20# =============================================================================COMMENT
MEDIUM⚡.install/install_llvm.sh147# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.install/install_llvm.sh149# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.install/install_llvm.sh157# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.install/install_llvm.sh159# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.install/verify_build_deps.sh27# ============================================COMMENT
MEDIUM⚡.install/verify_build_deps.sh29# ============================================COMMENT
280 more matches not shown…
Self-Referential Comments181 hits · 562 pts
SeverityFileLineSnippetContext
MEDIUM.install/test_deps/install_python_deps.sh80# Create a virtual environment for Python tests, with `pip` pre-installed (--seed).COMMENT
MEDIUMsbin/profile_compare.py2087 # Create main iterator node with type for coloringCOMMENT
MEDIUMsbin/numeric_tree/visualize_numeric_tree.py281 # Create the plotCOMMENT
MEDIUMtests/pytests/test_expire.py443 # Create a unique vector for each documentCOMMENT
MEDIUM⚡tests/pytests/test_query_oom.py33 # Create an indexCOMMENT
MEDIUM⚡tests/pytests/test_query_oom.py42 # Create an indexCOMMENT
MEDIUM⚡tests/pytests/test_query_oom.py243 # Create an index with text and vector fieldsCOMMENT
MEDIUM⚡tests/pytests/test_query_oom.py256 # Create an indexCOMMENT
MEDIUMtests/pytests/test_vecsim.py2922 # Create an index and insert vectors synchronously.COMMENT
MEDIUM⚡tests/pytests/test_debug_commands.py1234 # Create an indexCOMMENT
MEDIUM⚡tests/pytests/test_debug_commands.py1260 # Create an indexCOMMENT
MEDIUMtests/pytests/test_debug_commands.py545 # Create a baseline indexCOMMENT
MEDIUMtests/pytests/test_debug_commands.py565 # Create a new indexCOMMENT
MEDIUMtests/pytests/test_debug_commands.py574 # Create a new indexCOMMENT
MEDIUMtests/pytests/test_debug_commands.py587 # Create a baseline indexCOMMENT
MEDIUMtests/pytests/test_debug_commands.py637 # Create a baseline indexCOMMENT
MEDIUMtests/pytests/test_debug_commands.py717 # Create an index and expect OOM pauseCOMMENT
MEDIUMtests/pytests/test_debug_commands.py1813 # Create an indexCOMMENT
MEDIUMtests/pytests/test_debug_commands.py1850 # Create an indexCOMMENT
MEDIUMtests/pytests/test_blocked_client_timeout.py446 # Create an index with prefix filterCOMMENT
MEDIUMtests/pytests/test_blocked_client_timeout.py449 # Create an index with vector field for FT.HYBRID tests (different prefix)COMMENT
MEDIUMtests/pytests/test_blocked_client_timeout.py5855 # Create an indexCOMMENT
MEDIUMtests/pytests/test_blocked_client_timeout.py6571 # Create an indexCOMMENT
MEDIUMtests/pytests/test_blocked_client_timeout.py6574 # Create an index with vector field for FT.HYBRID tests (different prefix)COMMENT
MEDIUMtests/pytests/test_scorers.py410 # Create an indexCOMMENT
MEDIUMtests/pytests/test_scorers.py835 # Create an indexCOMMENT
MEDIUMtests/pytests/test_scorers.py901 # Create an indexCOMMENT
MEDIUMtests/pytests/test_scorers.py953 # Create an index with a TEXT fieldCOMMENT
MEDIUMtests/pytests/test_scorers.py1008 # Create an index with a text fieldCOMMENT
MEDIUMtests/pytests/test_scorers.py1040 # Create an index with a text fieldCOMMENT
MEDIUMtests/pytests/test_scorers.py1072 # Create an index with a text fieldCOMMENT
MEDIUMtests/pytests/test_scorers.py1104 # Create an index with a text fieldCOMMENT
MEDIUMtests/pytests/test_scorers.py1137 # Create an index with a text fieldCOMMENT
MEDIUMtests/pytests/test_scorers.py1170 # Create an index with a text fieldCOMMENT
MEDIUMtests/pytests/test_scorers.py1196 # Create an index with a text fieldCOMMENT
MEDIUM⚡tests/pytests/test_groupby_collect_limits.py73 # Create a single doc with all fields set.COMMENT
MEDIUMtests/pytests/test_missing.py50 # Create an index with a TAG, TEXT and a NUMERIC field, which don't indexCOMMENT
MEDIUMtests/pytests/test_missing.py80 # Create an index with TAG and TEXT fields that index empty fields.COMMENT
MEDIUMtests/pytests/test_missing.py100 # Create an index with TAG and TEXT fields that index missing values, i.e.,COMMENT
MEDIUMtests/pytests/test_missing.py374 # Create an index with multiple fields types that index missing values, i.e.,COMMENT
MEDIUMtests/pytests/test_missing.py438 # Create an index with multiple fields types that index missing values, i.e.,COMMENT
MEDIUMtests/pytests/test_missing.py512 # Create an index with a TEXT field that indexes missing valuesCOMMENT
MEDIUMtests/pytests/test_missing.py531 # Create an index with a field that indexes missing valuesCOMMENT
MEDIUMtests/pytests/test_missing.py645 # Create an index with a TAG field that indexes missing values.COMMENT
MEDIUMtests/pytests/test_filter.py203 # Create an index with a filter that checks field valueCOMMENT
MEDIUMtests/pytests/test_filter.py237 # Create an index with a filterCOMMENT
MEDIUMtests/pytests/test_filter.py451 # Create a document BEFORE the index existsCOMMENT
MEDIUMtests/pytests/test_filter.py454 # Create an index with a filter that references fields d1 and d2COMMENT
MEDIUMtests/pytests/test_filter.py466 # Create a document AFTER the index exists with only d2 fieldCOMMENT
MEDIUMtests/pytests/test_filter.py474 # Create a document that actually matches the filterCOMMENT
MEDIUMtests/pytests/test_json_error_handling.py20 # Create an index with a GEOSHAPE fieldCOMMENT
MEDIUMtests/pytests/test_json_error_handling.py56 # Create an index with a NUMERIC fieldCOMMENT
MEDIUMtests/pytests/test_timeout.py20 # Create the indexCOMMENT
MEDIUMtests/pytests/test_timeout.py44 # Create the indexCOMMENT
MEDIUMtests/pytests/test_async.py59 # Create an index in which each shard has > 1000 docs.COMMENT
MEDIUMtests/pytests/test_rdb_load.py28 # Create a clean Redis environmentCOMMENT
MEDIUMtests/pytests/test_rdb_load.py76 # Create a new connection in this processCOMMENT
MEDIUMtests/pytests/test_existing.py17 # Create an index with a bad option for the 'existing' keywordCOMMENT
MEDIUMtests/pytests/test_existing.py159 # Create an index with INDEXALL so wildcard queries use existingDocs.COMMENT
MEDIUMtests/pytests/test_coordinator.py229 # Create an index on all shardsCOMMENT
121 more matches not shown…
Cross-Language Confusion83 hits · 522 pts
SeverityFileLineSnippetContext
HIGH⚡sbin/profile_compare.py1573 .attr('x', d => d.children || d._children ? -13 : 13)CODE
HIGH⚡sbin/profile_compare.py1574 .style('text-anchor', d => d.children || d._children ? 'end' : 'start')CODE
HIGH⚡sbin/profile_compare.py1581 .text(d => d.data.details || d.data.name);CODE
HIGHsbin/profile_compare.py613 if (toggle.nextElementSibling && toggle.nextElementSibling.querySelector('.tree-children')) {{CODE
HIGHsbin/profile_compare.py625 if (toggle.nextElementSibling && toggle.nextElementSibling.querySelector('.tree-children')) {{CODE
HIGHsbin/profile_compare.py995 if (toggle.nextElementSibling && toggle.nextElementSibling.querySelector('.tree-children')) {{CODE
HIGHsbin/profile_compare.py1010 if (toggle.nextElementSibling && toggle.nextElementSibling.querySelector('.tree-children')) {{CODE
HIGHsbin/profile_compare.py1529 d.children = null;CODE
HIGHsbin/profile_compare.py1546 .attr('transform', d => `translate(${{source.y0 || 0}},${{source.x0 || 0}})`)CODE
HIGHsbin/profile_compare.py1625 const o = {{x: source.x0 || 0, y: source.y0 || 0}};CODE
HIGHsbin/profile_compare.py1653 d.children = null;CODE
HIGHsbin/profile_compare.py1656 d._children = null;CODE
HIGHsbin/profile_compare.py1682 d._children = null;CODE
HIGHsbin/profile_compare.py1693 if (d.children && d.depth > 0) {{CODE
HIGHsbin/profile_compare.py1695 d.children = null;CODE
HIGHsbin/profile_compare.py1733 if (nodeData && nodeData.details) {{CODE
HIGHsbin/profile_compare.py1760 const shouldHide = nodeTime > 0 && nodeTime <= threshold;CODE
HIGHsbin/numeric_tree/benchmark_numeric_tree.py520 Fish: bash -c 'source /opt/intel/oneapi/vtune/latest/env/vars.sh && exec fish'CODE
HIGHsbin/numeric_tree/benchmark_numeric_tree.py610 print(" Fish: bash -c 'source /opt/intel/oneapi/vtune/latest/env/vars.sh && exec fish'")CODE
HIGHtests/pytests/test_json_multi_tag.py169 test multiple TAG values which include some non-text values at root level (null, number, bool, array, object)STRING
HIGHtests/pytests/test_json_multi_tag.py179 # JSON.SET doc:1: $ '["first", "second", null, "third", null, "null", null]'COMMENT
HIGHtests/pytests/test_json_multi_tag.py198 test multiple TAG values which include some non-text values at inner level (null, number, bool, array, object)STRING
HIGHtests/pytests/test_filter.py627 # Document should NOT be indexed because 'hello' > 100 should fail/return falseCOMMENT
HIGHtests/pytests/test_json_multi_text.py243 test multiple TEXT values which include some non-text values at root level (null, number, bool, array, object)STRING
HIGHtests/pytests/test_json_multi_text.py253 # JSON.SET doc:1: $ '["first", "second", null, "third", null, "null", null]'COMMENT
HIGHtests/pytests/test_json_multi_text.py272 test multiple TEXT values which include some non-text values at inner level (null, number, bool, array, object)STRING
HIGHtests/pytests/test_resp3.py1023 {'id': 'doc2', 'extra_attributes': {'$.arr[?(@>2)]': '[3,4]', 'str': '["bar"]', 'multi': '[3,4,null,40,50,66.66]',CODE
HIGHtests/pytests/test_resp3.py1034 {'id': 'doc2', 'extra_attributes': {'$.arr[?(@>2)]': '3', 'str': 'bar', 'multi': '3', "arr": '[3,4,null]'}, 'valueCODE
HIGHtests/pytests/test.py3374 env.expect('ft.aggregate', 'idx', 'foo', 'LOAD', '1', '@test', 'APPLY', 'upper(1)', 'as', 'b', 'APPLY', 'format("%s"STRING
HIGHtests/pytests/test_vector_relabel.py446 for description, document in (('null vector', '{"title":"goodbye","vector":null}'),CODE
HIGHtests/pytests/test_case.py423 # Using case to check if the value is null, NULL is treated as falseCOMMENT
HIGH⚡tests/pytests/test_info_modules.py2729 env.expect('JSON.SET', 'doc:1', '$', '{"tag1":null,"tag2":null,"num":null,"geo":null,"vec":null}').ok()CODE
HIGH⚡tests/pytests/test_info_modules.py2737 env.expect('JSON.SET', 'doc:2', '$', '{"tag1":null,"tag2":"mytag"}').ok()CODE
HIGH⚡tests/pytests/test_json_multi_numeric.py89 "attr1": [2, -7, null, 131.42, null , 0, null],CODE
HIGH⚡tests/pytests/test_json_multi_numeric.py91 "attr3": [null, null],CODE
HIGH⚡tests/pytests/test_json_multi_numeric.py93 "attr5": null,CODE
HIGH⚡tests/pytests/test_json_multi_numeric.py94 "attr6": [1, 2, null, 131.42, null, "yikes" ],CODE
HIGH⚡tests/pytests/test_json_multi_numeric.py95 "attr7": [1, 2, null, 131.42, null, false ],CODE
HIGH⚡tests/pytests/test_json_multi_numeric.py96 "attr8": [1, 2, null, 131.42, null, {"obj": "etc"} ],CODE
HIGH⚡tests/pytests/test_json_multi_numeric.py97 "attr9": [1, 2, null, 131.42, null, ["no", "none"] ],CODE
HIGH⚡tests/pytests/test_json_multi_numeric.py98 "attr10": [1, 2, null, 131.42, null, [7007] ]CODE
HIGHtests/pytests/test_json_multi_numeric.py146 test multiple NUMERIC values which include some non-numeric values at root level (null, text, bool, array, object)STRING
HIGHtests/pytests/test_json_multi_numeric.py156 # JSON.SET doc:1: $ '[2, -7, null, 131.42, null , 0, null]'STRING
HIGHtests/pytests/test_json_multi_numeric.py175 test multiple NUMERIC values which include some non-numeric values at inner level (null, text, bool, array, object)STRING
HIGH⚡tests/pytests/json_multi_text_content.py119 "attr1": ["first", "second", null, "third", null , "null", null],CODE
HIGH⚡tests/pytests/json_multi_text_content.py121 "attr3": [null, null],CODE
HIGH⚡tests/pytests/json_multi_text_content.py123 "attr5": null,CODE
HIGH⚡tests/pytests/json_multi_text_content.py124 "attr6": ["first", "second", null, "third", null, 2.04 ],CODE
HIGH⚡tests/pytests/json_multi_text_content.py125 "attr7": ["first", "second", null, "third", null, false ],CODE
HIGH⚡tests/pytests/json_multi_text_content.py126 "attr8": ["first", "second", null, "third", null, {"obj": "ection"} ],CODE
HIGH⚡tests/pytests/json_multi_text_content.py127 "attr9": ["first", "second", null, "third", null, ["recursi", "on"] ],CODE
HIGH⚡tests/pytests/json_multi_text_content.py128 "attr10": ["first", "second", null, "third", null, ["recursi", 50071] ]CODE
HIGH⚡tests/pytests/test_json.py20 "null": null,CODE
HIGH⚡tests/pytests/test_json.py26 "obj": {"int": 1, "string": "gotcha6","c": null},CODE
HIGH⚡tests/pytests/test_json.py27 "complex_arr": [42, null, -1.2, false, {"nested_array":["sub", "array", "gotcha2"]}, {"nested_obj": "gotCODE
HIGH⚡tests/pytests/test_json.py28 "scalar_arr": [42, null, -1.2, false, "gotcha5"],CODE
HIGH⚡tests/pytests/test_json.py1010 expected = [5, 'doc1', ['sort', '1', '$', '{"sort":1,"num":null,"txt":"hello","tag":"world","geo":"1.23,4.56","vec":CODE
HIGH⚡tests/pytests/test_json.py1011 'doc2', ['sort', '2', '$', '{"sort":2,"num":0.8,"txt":null,"tag":"world","geo":"1.23,4.56","vec":[0,CODE
HIGH⚡tests/pytests/test_json.py1012 'doc3', ['sort', '3', '$', '{"sort":3,"num":0.8,"txt":"hello","tag":null,"geo":"1.23,4.56","vec":[0,CODE
HIGH⚡tests/pytests/test_json.py1013 'doc4', ['sort', '4', '$', '{"sort":4,"num":0.8,"txt":"hello","tag":"world","geo":null,"vec":[0,1]}'CODE
23 more matches not shown…
Empty Error Handlers55 hits · 275 pts
SeverityFileLineSnippetContext
HIGHtests/pytests/test_dict_trie_encoding.py166except UnicodeDecodeError:CODE
HIGHtests/pytests/test_rdb_compatibility.py60except OSError:CODE
HIGHtests/pytests/test_rdb_compatibility.py119except OSError:CODE
HIGHtests/pytests/test_common.py140except KeyError:CODE
HIGHtests/pytests/test_debug_commands.py462except:CODE
HIGHtests/pytests/test_aux_save2.py161except OSError:CODE
HIGHtests/pytests/test_blocked_client_timeout.py42except redis_exceptions.ConnectionError:CODE
HIGHtests/pytests/test_blocked_client_timeout.py391except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py5126except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py1799except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py2409except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py2500except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py2866except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py3115except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py3325except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py4163except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py4508except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py4680except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py542except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py2604except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py2871except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py3330except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py4282except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py4554except Exception:CODE
HIGHtests/pytests/test_blocked_client_timeout.py6534except Exception:CODE
HIGHtests/pytests/test_tags.py1213except Exception:CODE
HIGHtests/pytests/test_burst_drains_without_deadlock.py224except Exception:CODE
HIGHtests/pytests/test_rdb_load.py68except OSError:CODE
HIGHtests/pytests/test.py1898except Exception as e:CODE
HIGHtests/pytests/test.py2024except redis.ResponseError:CODE
HIGHtests/pytests/test.py1987except:CODE
HIGHtests/pytests/test.py2229except Exception as e:CODE
HIGHtests/pytests/test_index_list.py526except (ConnectionError, OSError):CODE
HIGHtests/pytests/test_index_list.py550except OSError:CODE
HIGHtests/pytests/common.py1111except:CODE
HIGHtests/pytests/common.py1558except Exception:CODE
HIGHtests/pytests/common.py1650except Exception:CODE
HIGHtests/pytests/common.py1673except Exception:CODE
HIGHtests/pytests/common.py131except Exception:CODE
HIGHtests/pytests/common.py138except Exception:CODE
HIGHtests/pytests/common.py525except ValueError:CODE
HIGHtests/pytests/test_crash.py337except redis.exceptions.ConnectionError:CODE
HIGHtests/pytests/test_crash.py363except Exception:CODE
HIGHtests/pytests/test_crash.py467except Exception:CODE
HIGHtests/pytests/test_config.py2476except Exception:CODE
HIGHtests/pytests/test_aggregate_barrier.py730except Exception:CODE
HIGHtests/pytests/test_hybrid.py37except:CODE
HIGHtests/pytests/test_asm.py1173except Exception:CODE
HIGHtests/pytests/test_replicate.py476except Exception:CODE
HIGHtests/pytests/test_short_read.py602except SkipTest:CODE
HIGHtests/pytests/utils/hybrid.py173except (ValueError, TypeError):CODE
HIGHtests/pytests/utils/hybrid.py163except (ValueError, TypeError):CODE
HIGHtests/pytests/utils/hybrid.py169except (ValueError, TypeError):CODE
HIGHscripts/cargo_deny_advisory_gate.py80except json.JSONDecodeError:CODE
HIGHscripts/auto_backport/unified.py363except (OSError, ValueError, subprocess.CalledProcessError):CODE
Unused Imports269 hits · 246 pts
SeverityFileLineSnippetContext
LOWsbin/code_style.py13CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py41CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py42CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py43CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py48CODE
LOWtests/pytests/test_parser.py8CODE
LOWtests/pytests/test_parser.py9CODE
LOWtests/pytests/test_conditional_updates.py8CODE
LOWtests/pytests/test_conditional_updates.py9CODE
LOWtests/pytests/test_conditional_updates.py10CODE
LOWtests/pytests/test_conditional_updates.py11CODE
LOWtests/pytests/test_conditional_updates.py12CODE
LOWtests/pytests/test_conditional_updates.py13CODE
LOWtests/pytests/test_conditional_updates.py14CODE
LOWtests/pytests/test_command_info.py8CODE
LOWtests/pytests/test_query_while_flush.py10CODE
LOWtests/pytests/test_expire.py9CODE
LOWtests/pytests/test_expire.py13CODE
LOWtests/pytests/test_query_oom.py8CODE
LOWtests/pytests/test_query_oom.py12CODE
LOWtests/pytests/test_multibyte_char_terms.py8CODE
LOWtests/pytests/test_multibyte_char_terms.py9CODE
LOWtests/pytests/test_optimizer.py9CODE
LOWtests/pytests/test_optimizer.py10CODE
LOWtests/pytests/test_synonyms.py8CODE
LOWtests/pytests/test_hybrid_filter.py10CODE
LOWtests/pytests/test_dict_trie_encoding.py8CODE
LOWtests/pytests/test_vecsim.py15CODE
LOWtests/pytests/test_vecsim.py16CODE
LOWtests/pytests/test_vecsim.py19CODE
LOWtests/pytests/test_vecsim.py20CODE
LOWtests/pytests/test_aggregate_params.py14CODE
LOWtests/pytests/test_aggregate_params.py15CODE
LOWtests/pytests/test_hybrid_search.py9CODE
LOWtests/pytests/test_hybrid_search.py10CODE
LOWtests/pytests/test_suggest.py8CODE
LOWtests/pytests/test_suggest.py9CODE
LOWtests/pytests/test_suggest.py10CODE
LOWtests/pytests/test_iterators.py8CODE
LOWtests/pytests/test_hybrid_response_format.py10CODE
LOWtests/pytests/test_hybrid_response_format.py11CODE
LOWtests/pytests/test_rdb_compatibility.py9CODE
LOWtests/pytests/test_rdb_compatibility.py10CODE
LOWtests/pytests/test_rdb_compatibility.py11CODE
LOWtests/pytests/test_common.py8CODE
LOWtests/pytests/test_gc.py8CODE
LOWtests/pytests/test_stats.py8CODE
LOWtests/pytests/test_stats.py10CODE
LOWtests/pytests/test_stats.py11CODE
LOWtests/pytests/test_stats.py12CODE
LOWtests/pytests/test_stats.py13CODE
LOWtests/pytests/test_debug_commands.py8CODE
LOWtests/pytests/test_optimizer_multivalue.py4CODE
LOWtests/pytests/test_optimizer_multivalue.py5CODE
LOWtests/pytests/test_json_multi_tag.py8CODE
LOWtests/pytests/test_json_multi_tag.py11CODE
LOWtests/pytests/test_geometry_sphere.py8CODE
LOWtests/pytests/test_geometry_sphere.py9CODE
LOWtests/pytests/test_aux_save2.py8CODE
LOWtests/pytests/test_aux_save2.py9CODE
209 more matches not shown…
Excessive Try-Catch Wrapping214 hits · 234 pts
SeverityFileLineSnippetContext
LOWsbin/profile_compare.py75 except Exception as e:CODE
LOWsbin/profile_compare.py86 except Exception as e:CODE
LOWsbin/profile_compare.py117 except Exception as e:CODE
LOWsbin/profile_compare.py165 except Exception as e:CODE
LOWsbin/profile_compare.py274 except Exception as e:CODE
LOWsbin/profile_compare.py324 except Exception as e:CODE
LOWsbin/profile_compare.py361 except Exception as e:CODE
LOWsbin/profile_compare.py382 except Exception as fallback_error:CODE
LOWsbin/profile_compare.py404 except Exception as e:CODE
LOWsbin/profile_compare.py435 except Exception as e:CODE
LOW⚡sbin/numeric_tree/visualize_numeric_tree.py429 except Exception as e:CODE
MEDIUM⚡sbin/numeric_tree/visualize_numeric_tree.py430 print(f"Error loading tree: {e}")CODE
LOWsbin/numeric_tree/visualize_numeric_tree.py450 except Exception as e:CODE
MEDIUMsbin/numeric_tree/visualize_numeric_tree.py452 print(f"Error creating interactive visualization: {e}")CODE
LOWsbin/numeric_tree/parse_numeric_tree.py268 except Exception as e:CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py348 except Exception as e:CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py390 except Exception as e:CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py410 except Exception as e:CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py438 except Exception as e:CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py482 except Exception:CODE
MEDIUMsbin/numeric_tree/benchmark_numeric_tree.py579 print("Error: Infinity ratio must be between 0.0 and 1.0")CODE
MEDIUMsbin/numeric_tree/benchmark_numeric_tree.py623 print(f"Error: VTune index '{args.vtune}' not found in available indexes.")CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py233 except Exception:CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py253 except Exception:CODE
LOW⚡tests/pytests/test_command_info.py339 except Exception as e:CODE
LOWtests/pytests/test_command_info.py33 except Exception as e:CODE
LOWtests/pytests/test_command_info.py387 except Exception as e:CODE
LOWtests/pytests/test_command_info.py412 except Exception as e:CODE
LOWtests/pytests/test_command_info.py454 except Exception as e:CODE
LOWtests/pytests/test_command_info.py472 except Exception as e:CODE
LOW⚡tests/pytests/test_query_while_flush.py75 except Exception as e:CODE
LOWtests/pytests/test_expire.py48 except Exception as e:CODE
LOWtests/pytests/test_vecsim.py2222 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py79 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py84 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py89 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py94 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py99 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py108 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py113 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py268 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py274 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py280 except Exception as e:CODE
LOW⚡tests/pytests/test_suggest.py286 except Exception as e:CODE
LOWtests/pytests/test_suggest.py399 except Exception as e:CODE
LOWtests/pytests/test_gc.py493 except Exception as e:CODE
LOWtests/pytests/test_gc.py533 except Exception as e:CODE
LOWtests/pytests/test_gc.py539 except Exception as e:CODE
LOWtests/pytests/test_gc.py566 except Exception as e:CODE
LOWtests/pytests/test_gc.py1062 except Exception as e:CODE
MEDIUMtests/pytests/test_gc.py1059def run():CODE
MEDIUMtests/pytests/test_debug_commands.py1920def _run_sync_point_query(conn, result_holder, error_holder, *query):CODE
LOWtests/pytests/test_debug_commands.py242 except Exception as e:CODE
LOWtests/pytests/test_debug_commands.py1923 except Exception as e:CODE
LOWtests/pytests/test_aux_save2.py55 except Exception as e:CODE
LOWtests/pytests/test_aux_save2.py110 except Exception as e:CODE
LOWtests/pytests/test_aux_save2.py217 except Exception as e:CODE
MEDIUMtests/pytests/test_blocked_client_timeout.py1740def read_vsim_cursor():CODE
MEDIUMtests/pytests/test_blocked_client_timeout.py9026def run_query():CODE
MEDIUMtests/pytests/test_blocked_client_timeout.py9080def run_query():CODE
154 more matches not shown…
Structural Annotation Overuse57 hits · 105 pts
SeverityFileLineSnippetContext
LOW⚡tests/pytests/test_command_info.py322 # Step 1: Normalize actualCOMMENT
LOW⚡tests/pytests/test_command_info.py325 # Step 2: Strip fields from bothCOMMENT
LOW⚡tests/pytests/test_command_info.py329 # Step 3: Compare using recursive inclusionCOMMENT
LOW⚡tests/pytests/test_asm.py1159 # Step 3: Update ALL remaining docs on shard1 to remove "shoes" from their text.COMMENT
LOW⚡tests/pytests/test_asm.py1166 # Step 4: Wait for trimming, then force GC to free the now-empty "shoes" inverted indexCOMMENT
LOW⚡tests/pytests/test_asm.py1177 # Step 5: Write new documents with different text to force memory reuseCOMMENT
LOW⚡tests/pytests/test_asm.py1182 # Step 6: Read ALL results from the cursor on shard1.COMMENT
LOWtests/pytests/test_asm.py1125 # Step 1: Create hybrid cursor on shard1. With WORKERS=0, the iteratorsCOMMENT
LOWtests/pytests/test_asm.py1144 # Step 2: Add a new shard and migrate a middle slot range from shard1 to new shardCOMMENT
LOW⚡deps/libnu/regen/tools/mph.py54 # Step 1: Place all of the keys into bucketsCOMMENT
LOW⚡deps/libnu/regen/tools/mph.py62 # Step 2: Sort the buckets and process the ones with the most items first.COMMENT
LOW.skills/improve-flow-coverage/SKILL.md32### Step 1: Get the coverage reportCOMMENT
LOW.skills/improve-flow-coverage/SKILL.md38### Step 2: Triage the gapsCOMMENT
LOW.skills/improve-flow-coverage/SKILL.md58### Step 3: Replace unreachable defensive code with assertionsCOMMENT
LOW.skills/improve-flow-coverage/SKILL.md133### Step 4: Write or extend testsCOMMENT
LOW.skills/improve-flow-coverage/SKILL.md141### Step 5: Verify coverage improvementCOMMENT
LOW.skills/check-flow-coverage/SKILL.md33### Step 1: Ensure a coverage build existsCOMMENT
LOW.skills/check-flow-coverage/SKILL.md70### Step 2: Run Python tests with coverageCOMMENT
LOW.skills/check-flow-coverage/SKILL.md110### Step 3: Extract uncovered lines for target filesCOMMENT
LOW.skills/check-flow-coverage/SKILL.md191### Step 4: Read the uncovered linesCOMMENT
LOW.skills/check-flow-coverage/SKILL.md200### Step 5: Classify and report coverage gapsCOMMENT
LOW⚡src/result_processor.c419 // Step 1: Refill the IndexResult queue if needed (cheap iterator reads)COMMENT
LOW⚡src/result_processor.c428 // Step 2: Try to serve a ready result if we have oneCOMMENT
LOWsrc/result_processor.c445 // Step 3: No ready results - poll for moreCOMMENT
LOWsrc/result_processor.c464 // Step 4: Check if we're completely doneCOMMENT
LOWsrc/coord/dist_plan.cpp543 // Step 1: parse the filter expression and extract the required keysCOMMENT
LOWsrc/coord/dist_plan.cpp557 // Step 2: generate a LOAD step for the keys. If the keys are already loaded (or sortable),COMMENT
LOWsrc/coord/dist_plan.cpp579 // Step 3: cleanupCOMMENT
LOW⚡src/redisearch_rs/tools/ffi_geiger/src/main.rs369 // Step 1: Build FFI function dictionary from bindings.rs.COMMENT
LOW⚡src/redisearch_rs/tools/ffi_geiger/src/main.rs373 // Step 2: Enumerate crates to scan.COMMENT
LOWsrc/redisearch_rs/tools/ffi_geiger/src/main.rs416 // Step 3: Parse and scan source files.COMMENT
LOWsrc/redisearch_rs/tools/ffi_geiger/src/main.rs434 // Step 4: Generate report.COMMENT
LOW…/inverted_index/tests/integration/controlled_cursor.rs21 // Step 1: Write 4 bytesCOMMENT
LOW…/inverted_index/tests/integration/controlled_cursor.rs42 // Step 2: Do a vectored write of 6 bytes total (two 3-byte slices) after end of capacityCOMMENT
LOW…/inverted_index/tests/integration/controlled_cursor.rs74 // Step 3: Verify the contentsCOMMENT
LOW…_rs/rqe_iterators_bencher/src/benchers/intersection.rs126/// NOTE: This function exists because intersection logic when using `max_slop` and `in_order`COMMENT
LOW…/redisearch_rs/rqe_iterators/src/optional_optimized.rs361 // Step 1: Revalidate wcii. If it aborts or is at EOF, we can return immediately.COMMENT
LOW…/redisearch_rs/rqe_iterators/src/optional_optimized.rs382 // Step 2: Revalidate child. If it aborts, replace with an empty iterator.COMMENT
LOW…/redisearch_rs/rqe_iterators/src/optional_optimized.rs393 // Step 3: Determine the outcome based on wcii's and child's status.COMMENT
LOW…redisearch_rs/rqe_iterators/src/inverted_index/core.rs634 // Step 1: refresh reader pointers *on the suspended form*. This neverCOMMENT
LOW…redisearch_rs/rqe_iterators/src/inverted_index/core.rs657 // Step 2: convert the `Rf`-carrying `result` field Suspended → Active inCOMMENT
LOW…redisearch_rs/rqe_iterators/src/inverted_index/core.rs679 // Step 3: if GC ran while we were suspended, the cached block offset isCOMMENT
LOW⚡…redisearch_rs/rqe_iterators/src/inverted_index/term.rs536 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…redisearch_rs/rqe_iterators/src/inverted_index/term.rs543 // Step 2: run the shared in-place resume transition on the innerCOMMENT
LOW⚡…redisearch_rs/rqe_iterators/src/inverted_index/term.rs549 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/missing.rs384 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/missing.rs391 // Step 2: run the shared in-place resume transition on the innerCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/missing.rs397 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
LOW⚡…/redisearch_rs/rqe_iterators/src/inverted_index/tag.rs310 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…/redisearch_rs/rqe_iterators/src/inverted_index/tag.rs317 // Step 2: run the shared in-place resume transition on the innerCOMMENT
LOW⚡…/redisearch_rs/rqe_iterators/src/inverted_index/tag.rs323 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/numeric.rs222 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/numeric.rs229 // Step 2: run the shared in-place resume transition on the inner coreCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/numeric.rs235 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
LOW⚡…search_rs/rqe_iterators/src/inverted_index/wildcard.rs225 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…search_rs/rqe_iterators/src/inverted_index/wildcard.rs232 // Step 2: run the shared in-place resume transition on the innerCOMMENT
LOW⚡…search_rs/rqe_iterators/src/inverted_index/wildcard.rs238 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
Verbosity Indicators47 hits · 90 pts
SeverityFileLineSnippetContext
LOW⚡tests/pytests/test_command_info.py322 # Step 1: Normalize actualCOMMENT
LOW⚡tests/pytests/test_command_info.py325 # Step 2: Strip fields from bothCOMMENT
LOW⚡tests/pytests/test_command_info.py329 # Step 3: Compare using recursive inclusionCOMMENT
LOW⚡tests/pytests/test_asm.py1159 # Step 3: Update ALL remaining docs on shard1 to remove "shoes" from their text.COMMENT
LOW⚡tests/pytests/test_asm.py1166 # Step 4: Wait for trimming, then force GC to free the now-empty "shoes" inverted indexCOMMENT
LOW⚡tests/pytests/test_asm.py1177 # Step 5: Write new documents with different text to force memory reuseCOMMENT
LOW⚡tests/pytests/test_asm.py1182 # Step 6: Read ALL results from the cursor on shard1.COMMENT
LOWtests/pytests/test_asm.py1125 # Step 1: Create hybrid cursor on shard1. With WORKERS=0, the iteratorsCOMMENT
LOWtests/pytests/test_asm.py1144 # Step 2: Add a new shard and migrate a middle slot range from shard1 to new shardCOMMENT
LOW⚡deps/libnu/regen/tools/mph.py54 # Step 1: Place all of the keys into bucketsCOMMENT
LOW⚡deps/libnu/regen/tools/mph.py62 # Step 2: Sort the buckets and process the ones with the most items first.COMMENT
LOWsrc/vector_index.c404 // If quantBits is not NONE, We need to check if we are running on intel machine, and if not, weCOMMENT
LOW⚡src/result_processor.c419 // Step 1: Refill the IndexResult queue if needed (cheap iterator reads)COMMENT
LOW⚡src/result_processor.c428 // Step 2: Try to serve a ready result if we have oneCOMMENT
LOWsrc/result_processor.c445 // Step 3: No ready results - poll for moreCOMMENT
LOWsrc/result_processor.c464 // Step 4: Check if we're completely doneCOMMENT
LOWsrc/coord/dist_plan.cpp543 // Step 1: parse the filter expression and extract the required keysCOMMENT
LOWsrc/coord/dist_plan.cpp557 // Step 2: generate a LOAD step for the keys. If the keys are already loaded (or sortable),COMMENT
LOWsrc/coord/dist_plan.cpp579 // Step 3: cleanupCOMMENT
LOW⚡src/redisearch_rs/tools/ffi_geiger/src/main.rs369 // Step 1: Build FFI function dictionary from bindings.rs.COMMENT
LOW⚡src/redisearch_rs/tools/ffi_geiger/src/main.rs373 // Step 2: Enumerate crates to scan.COMMENT
LOWsrc/redisearch_rs/tools/ffi_geiger/src/main.rs416 // Step 3: Parse and scan source files.COMMENT
LOWsrc/redisearch_rs/tools/ffi_geiger/src/main.rs434 // Step 4: Generate report.COMMENT
LOW…/inverted_index/tests/integration/controlled_cursor.rs21 // Step 1: Write 4 bytesCOMMENT
LOW…/inverted_index/tests/integration/controlled_cursor.rs42 // Step 2: Do a vectored write of 6 bytes total (two 3-byte slices) after end of capacityCOMMENT
LOW…/inverted_index/tests/integration/controlled_cursor.rs74 // Step 3: Verify the contentsCOMMENT
LOW…/redisearch_rs/rqe_iterators/src/optional_optimized.rs361 // Step 1: Revalidate wcii. If it aborts or is at EOF, we can return immediately.COMMENT
LOW…/redisearch_rs/rqe_iterators/src/optional_optimized.rs382 // Step 2: Revalidate child. If it aborts, replace with an empty iterator.COMMENT
LOW…/redisearch_rs/rqe_iterators/src/optional_optimized.rs393 // Step 3: Determine the outcome based on wcii's and child's status.COMMENT
LOW…redisearch_rs/rqe_iterators/src/inverted_index/core.rs634 // Step 1: refresh reader pointers *on the suspended form*. This neverCOMMENT
LOW…redisearch_rs/rqe_iterators/src/inverted_index/core.rs657 // Step 2: convert the `Rf`-carrying `result` field Suspended → Active inCOMMENT
LOW…redisearch_rs/rqe_iterators/src/inverted_index/core.rs679 // Step 3: if GC ran while we were suspended, the cached block offset isCOMMENT
LOW⚡…redisearch_rs/rqe_iterators/src/inverted_index/term.rs536 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…redisearch_rs/rqe_iterators/src/inverted_index/term.rs543 // Step 2: run the shared in-place resume transition on the innerCOMMENT
LOW⚡…redisearch_rs/rqe_iterators/src/inverted_index/term.rs549 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/missing.rs384 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/missing.rs391 // Step 2: run the shared in-place resume transition on the innerCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/missing.rs397 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
LOW⚡…/redisearch_rs/rqe_iterators/src/inverted_index/tag.rs310 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…/redisearch_rs/rqe_iterators/src/inverted_index/tag.rs317 // Step 2: run the shared in-place resume transition on the innerCOMMENT
LOW⚡…/redisearch_rs/rqe_iterators/src/inverted_index/tag.rs323 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/numeric.rs222 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/numeric.rs229 // Step 2: run the shared in-place resume transition on the inner coreCOMMENT
LOW⚡…isearch_rs/rqe_iterators/src/inverted_index/numeric.rs235 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
LOW⚡…search_rs/rqe_iterators/src/inverted_index/wildcard.rs225 // Step 1: identity check on the suspended form. On abort we drop theCOMMENT
LOW⚡…search_rs/rqe_iterators/src/inverted_index/wildcard.rs232 // Step 2: run the shared in-place resume transition on the innerCOMMENT
LOW⚡…search_rs/rqe_iterators/src/inverted_index/wildcard.rs238 // Step 3: reinterpret the owning box's type. The heap address isCOMMENT
Deep Nesting116 hits · 84 pts
SeverityFileLineSnippetContext
LOWsrcutil/gen_command_info.py131CODE
LOWsrcutil/gen_command_info.py161CODE
LOWsbin/profile_compare.py3219CODE
LOWsbin/profile_compare.py120CODE
LOWsbin/profile_compare.py221CODE
LOWsbin/profile_compare.py254CODE
LOWsbin/profile_compare.py278CODE
LOWsbin/profile_compare.py327CODE
LOWsbin/profile_compare.py1888CODE
LOWsbin/profile_compare.py2050CODE
LOWsbin/profile_compare.py2158CODE
LOWsbin/profile_compare.py2230CODE
LOWsbin/profile_compare.py2277CODE
LOWsbin/profile_compare.py2403CODE
LOWsbin/profile_compare.py2539CODE
LOWsbin/profile_compare.py2559CODE
LOWsbin/profile_compare.py2573CODE
LOWsbin/profile_compare.py2593CODE
LOWsbin/profile_compare.py2754CODE
LOWsbin/profile_compare.py2825CODE
LOWsbin/profile_compare.py3004CODE
LOWsbin/numeric_tree/visualize_numeric_tree.py196CODE
LOWsbin/numeric_tree/visualize_numeric_tree.py349CODE
LOWsbin/numeric_tree/generate_numeric_trees.py82CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py352CODE
LOWsbin/numeric_tree/benchmark_numeric_tree.py394CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py214CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py237CODE
LOWtests/benchmarks/scripts/generate_msmarco_dataset.py257CODE
LOW…benchmarks/scripts/generate_groupby_collect_dataset.py235CODE
LOWtests/pytests/test_command_info.py333CODE
LOWtests/pytests/test_command_info.py407CODE
LOWtests/pytests/test_query_while_flush.py12CODE
LOWtests/pytests/test_query_while_flush.py59CODE
LOWtests/pytests/test_multibyte_char_terms.py1698CODE
LOWtests/pytests/test_vecsim.py74CODE
LOWtests/pytests/test_vecsim.py150CODE
LOWtests/pytests/test_hybrid_response_format.py76CODE
LOWtests/pytests/test_common.py45CODE
LOWtests/pytests/test_gc.py437CODE
LOWtests/pytests/test_gc.py483CODE
LOWtests/pytests/test_debug_commands.py1766CODE
LOWtests/pytests/test_blocked_client_timeout.py187CODE
LOWtests/pytests/test_blocked_client_timeout.py326CODE
LOWtests/pytests/test_blocked_client_timeout.py8768CODE
LOWtests/pytests/test_missing.py132CODE
LOWtests/pytests/test_rof.py10CODE
LOWtests/pytests/test_vecsim_hnsw_sq8.py166CODE
LOWtests/pytests/test_vecsim_hnsw_sq8.py292CODE
LOWtests/pytests/test_vecsim_hnsw_sq8.py622CODE
LOWtests/pytests/test_hybrid_profile.py685CODE
LOWtests/pytests/test_hybrid_profile.py733CODE
LOWtests/pytests/test_coord_query_args.py13CODE
LOWtests/pytests/test_coord_query_args.py109CODE
LOWtests/pytests/test_profile.py1249CODE
LOWtests/pytests/test_profile.py1831CODE
LOWtests/pytests/test_profile.py1888CODE
LOWtests/pytests/test_cursors.py658CODE
LOWtests/pytests/test_highlight.py11CODE
LOWtests/pytests/test_hybrid_explainscore.py58CODE
56 more matches not shown…
Redundant / Tautological Comments51 hits · 74 pts
SeverityFileLineSnippetContext
LOW⚡build.sh830 # Check if we're already in the build directoryCOMMENT
LOW⚡build.sh1313 # Check if micro-benchmarks directory existsCOMMENT
LOWbuild.sh844 # Check if extension was already built by a previous runCOMMENT
LOW⚡.install/verify_build_deps.sh31# Check if the OS is macOS (Darwin)COMMENT
LOW.install/macos_update_profile.sh12 # Check if the profile existsCOMMENT
LOW⚡sbin/profile_compare.py2164 # Check if this node needs Size calculationCOMMENT
LOW⚡sbin/profile_compare.py2169 # Check if Size is already present and validCOMMENT
LOW⚡sbin/profile_compare.py2409 # Check if this is a list of iterator listsCOMMENT
LOW⚡sbin/profile_compare.py2417 # Check if this is a direct iterator (starts with 'Type')COMMENT
LOW⚡sbin/profile_compare.py2427 # Check if this contains mixed data (key-value pairs + nested lists)COMMENT
LOWsbin/profile_compare.py308 # Display result processors if availableCOMMENT
LOWsbin/profile_compare.py1899 # Check if this is a sharded/distributed setupCOMMENT
LOWsbin/profile_compare.py2302 # Check if next item is a simple value (not a list/dict)COMMENT
LOWsbin/profile_compare.py2325 # Check if this list contains iterator data (starts with 'Type' or contains nested lists)COMMENT
LOWsbin/numeric_tree/visualize_numeric_tree.py87 # Check if this is a leaf node with document valuesCOMMENT
LOW⚡sbin/numeric_tree/visualize_numeric_tree.py433 # Check if user wants info onlyCOMMENT
LOWsbin/numeric_tree/benchmark_numeric_tree.py459 # Check if vtune binary existsCOMMENT
LOWtests/cpptests/scripts/decode_stacktrace.sh46 # Check if gdb found useful infoCOMMENT
LOWtests/deps/setup_rejson.sh44# Check if REJSON_PATH is set externallyCOMMENT
LOWtests/pytests/test_command_info.py446 # Check if tips field exists and matchesCOMMENT
LOW⚡tests/pytests/test_query_while_flush.py69 # Check if flush has completedCOMMENT
LOW⚡tests/pytests/test_query_while_flush.py76 # Check if flush has completedCOMMENT
LOWtests/pytests/test_gc.py617 # Set FORK_GC_CLEAN_THRESHOLD to 0 via module args since FT.CONFIG SETCOMMENT
LOW⚡tests/pytests/test_debug_commands.py1237 # Check if the scan is finishedCOMMENT
LOWtests/pytests/test_debug_commands.py1308 # Set workers to 2 to make sure the query can be pausedCOMMENT
LOWtests/pytests/test_debug_commands.py1368 # Set workers to 1 to make sure the query can be pausedCOMMENT
LOWtests/pytests/test_debug_commands.py1456 # Set workers to 1 on all shards to make sure queries can be pausedCOMMENT
LOWtests/pytests/test_highlight.py21 # Check if there are any broken highlights (e.g., "<b>d</b>" instead of full word)COMMENT
LOWtests/pytests/test_early_bailout.py22 # Check if key contains any phrase (case-insensitive)COMMENT
LOWtests/pytests/test_info_modules.py1487 # Set maxmemory to 1 to trigger OOMCOMMENT
LOWtests/pytests/test_info_modules.py1528 # Set policy to returnCOMMENT
LOWtests/pytests/test_info_modules.py1577 # Set maxmemory to 1 to trigger OOMCOMMENT
LOWtests/pytests/test_info_modules.py1625 # Set policy to returnCOMMENT
LOWtests/pytests/test_issues.py1102 # Set topology to an invalid one (assuming port 9 is not open)COMMENT
LOWtests/pytests/test_issues.py1934 # Set topology to an invalid one (assuming port 9 is not open)COMMENT
LOWtests/pytests/common.py520 # Check if this looks like a shard profile flat list containing 'Shard ID'COMMENT
LOWtests/pytests/test_asm.py444 # Check if this is a timeout exception from TimeLimitCOMMENT
LOW⚡tests/pytests/test_index_oom.py1046 # Set maxmemory to be equal to used memoryCOMMENT
LOWtests/pytests/test_index_oom.py287 # Set delta to 100COMMENT
LOWtests/pytests/test_multithread.py683 # Set it to 0COMMENT
LOWtests/pytests/utils/hybrid.py241 # Check if they matchCOMMENT
LOWscripts/collect_nightly_results.py385 # Check if this line matches an exit status patternCOMMENT
LOWscripts/collect_nightly_results.py509 # Check if we have annotations for this jobCOMMENT
LOWscripts/collect_nightly_results.py883 # Check if file already existsSTRING
LOWscripts/check_links.py63 # Check if any parent directory is in the excluded setCOMMENT
LOW.github/workflows/generate-matrix.yml165 # Check if matrix has any jobsCOMMENT
LOW.github/workflows/task-release-notes-check.yml29 # Check if checkboxes existCOMMENT
LOWdeps/cndict/bundle_friso.py156 # Write the file headerSTRING
LOWsrc/redisearch_rs/varint/src/vector_writer.rs99 /// # Return valueCOMMENT
LOW…search_rs/c_entrypoint/varint_ffi/src/vector_writer.rs22/// # Return valueCOMMENT
LOWsrc/redisearch_rs/headers/varint_ffi.h154 * # Return valueCOMMENT
AI Slop Vocabulary19 hits · 51 pts
SeverityFileLineSnippetContext
MEDIUM.install/test_deps/install_python_deps.sh62 # harness runs `uv run python3 -m RLTest`, and `uv run` re-provisions theCOMMENT
MEDIUMsbin/profile_compare.py333 # Create comprehensive profile outputCOMMENT
MEDIUMsbin/numeric_tree/benchmark_numeric_tree.py282 """Print comprehensive performance statistics in table format"""STRING
MEDIUMtests/pytests/test_shard_window_ratio.py90 """Test comprehensive scenarios for shard window ratio validation."""STRING
MEDIUMtests/pytests/test_resp3.py705 # Normalize to a set for robust comparison.COMMENT
MEDIUMtests/pytests/test_hybrid_timeout.py558 # hang (a hang would trip the harness test timeout). The deadline isCOMMENT
MEDIUM⚡tests/pytests/test_hybrid_explainscore.py309# while staying robust against scorer-internal value drift. The template is aCOMMENT
MEDIUMtests/pytests/test_max_timeout_limit.py16# knob explicitly because the pytest harness ships it asCOMMENT
LOWtests/pytests/test_config.py1596 pass # Do nothing, just create the fileCODE
LOWtests/pytests/test_config.py1632 pass # Do nothing, just create the fileCODE
MEDIUMtests/pytests/test_hybrid_mod_11610.py233 # Should have 2 docs: bike:2 (light mountain) and bike:17 (robust mountain)COMMENT
MEDIUM⚡tests/pytests/test_multithread.py1107 # advertised count matches the rows actually returned. This shared harness is usedCOMMENT
MEDIUM.github/workflows/task-get-latest-tag.yml24 get-tag: # Following best practices: https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28CODE
MEDIUMdeps/thpool/thpool.c656 // threads to start. This is more robust than relying on num_threads_alive, sinceCOMMENT
MEDIUMsrc/redisearch_rs/numeric_range_tree/src/tree/gc.rs92 // logical index instead of pointer equality is robust to future changes thatCOMMENT
MEDIUMsrc/redisearch_rs/c_entrypoint/iterators_ffi/Cargo.toml17# We sidestep the issue by disabling the unit test harness explicitly.COMMENT
MEDIUMsrc/redisearch_rs/c_entrypoint/redisearch_rs/Cargo.toml18# We sidestep the issue by disabling the unit test harness explicitly.COMMENT
MEDIUMsrc/redisearch_rs/rqe_iterators/src/c2rust.rs9// TODO: remove once we have compound iterators written in Rust that leverageCOMMENT
MEDIUMsrc/redisearch_rs/result_processor/Cargo.toml26# Exposes `test_utils` (the `Chain` harness) as a public module so downstream cratesCOMMENT
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtests/pytests/test_hybrid_response_format.py0vector space layout: ==================== the test data creates a 2d vector space with 4 documents positioned as followsSTRING
HIGHtests/pytests/test_hybrid_apply_filter.py0vector space layout: ==================== the test data creates a 2d vector space with 4 documents positioned as followsSTRING
HIGHtests/pytests/test_hybrid_distance.py0vector space layout: ==================== the test data creates a 2d vector space with 4 documents positioned as followsSTRING
HIGHtests/pytests/test_hybrid_yield.py0vector space layout: ==================== the test data creates a 2d vector space with 4 documents positioned as followsSTRING
HIGHtests/pytests/test_hybrid_linear.py0vector space layout: ==================== the test data creates a 2d vector space with 4 documents positioned as followsSTRING
HIGHtests/pytests/test_hybrid_vector.py0vector space layout: ==================== the test data creates a 2d vector space with 4 documents positioned as followsSTRING
Synthetic Comment Markers3 hits · 26 pts
SeverityFileLineSnippetContext
HIGH⚡build.sh1289 # Run each test type as requestedCOMMENT
HIGH.github/workflows/event-pr-validation-triage.yml3# Posts an AI-generated triage comment on PRs whose `Pull Request Flow` runCOMMENT
HIGHsrc/redisearch_rs/c_wrappers/vecsim/src/reply.rs34 /// The Order the reply's results are sorted in, as requested when the queryCOMMENT
Fake / Example Data22 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/cpptests/test_cpp_rdb.cpp864 char dummy_data = 'X'; // Non-NULL pointer to trigger the overflow checkCODE
LOWtests/cpptests/test_cpp_rdb.cpp866 .data = &dummy_data,CODE
LOWtests/cpptests/test_cpp_rdb.cpp879 char dummy_data = 'Y';CODE
LOWtests/cpptests/test_cpp_rdb.cpp881 .data = &dummy_data,CODE
LOWtests/pytests/test_scorers.py47 conn.execute_command('HSET', 'doc%d' % n, '__score', sc, 'title', 'hello world '*n, 'body', 'lorem ipsum '*n)CODE
LOW⚡tests/pytests/test_highlight.py287 body = ('lorem ipsum dolor sit amet ' * 4 +CODE
LOW⚡tests/pytests/test_highlight.py287 body = ('lorem ipsum dolor sit amet ' * 4 +CODE
LOW⚡tests/pytests/test_highlight.py289 'lorem ipsum dolor sit amet ' * 4)CODE
LOW⚡tests/pytests/test_highlight.py289 'lorem ipsum dolor sit amet ' * 4)CODE
LOWtests/pytests/test.py835 'foo', 'hello world', 'num', 1, 'extra', 'hello lorem ipsum'))CODE
LOWtests/pytests/test.py840 'ft.search', 'idx', 'lorem ipsum', 'nocontent')CODE
LOWtests/pytests/test.py860 'foo', 'hello world', 'num', 1, 'extra', 'lorem ipsum'))CODE
LOWtests/pytests/test.py1447 'title', 'hello world', 'body', 'lorem ipsum'))CODE
LOWtests/pytests/test.py1450 'title', 'hello world lorem ipsum', 'body', 'hello world'))CODE
LOWtests/pytests/test.py1479 'ft.search', 'idx', '\"lorem ipsum\"', 'verbatim', "infields", 1, "body", "nocontent")CODE
LOWtests/pytests/test.py1485 'ft.search', 'idx', 'lorem ipsum', "infields", 2, "body", "title", "nocontent")CODE
LOWtests/pytests/test.py2566# >FT.ADD myIdx doc1 1.0 FIELDS title "hello world" body "lorem ipsum" url "www.google.com"STRING
LOWtests/pytests/test.py2577 con.execute_command('ft.add', 'myIdx', 'doc1', '1.0', 'FIELDS', 'title', 'hello world', 'bod', 'lorem ipsum', 'url',STRING
LOWtests/pytests/test.py2585 con.execute_command('ft.add', 'myIdx', 'doc1', '1.0', 'fields', 'title', 'hello world', 'body', 'lorem ipsum', 'url'STRING
LOWtests/pytests/test_hybrid_multithread.py30 'lorem ipsum dolor sit amet',CODE
LOWtests/pytests/test_hybrid_multithread.py30 'lorem ipsum dolor sit amet',CODE
LOWsrc/redisearch_rs/trie_rs/src/trie_map/node/mod.rs244 // This forces us to provide a "placeholder" node, since `self`COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/pytests/test_issues.py318 # In this example we get both `a` and `subj1` sinceCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOW.install/install_llvm.sh9# Usage:COMMENT
LOWtests/benchmarks/scripts/upload_to_s3.sh5# Usage:COMMENT
LOWtests/cpptests/scripts/decode_stacktrace.sh8# Usage:COMMENT
LOWtests/pytests/utils/rrf.py363 # Example usageCOMMENT
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/pytests/test_hybrid.py118CODE
MEDIUMtests/pytests/test_hybrid.py124CODE
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMbuild.sh508 # This requires us to combine a few different flags and guardrails:COMMENT
MEDIUMdocs/CONTRIBUTING-specs.md96 - [OpenSpec](https://github.com/Fission-AI/OpenSpec) — the tool this repo's `openspec/` layout matches; its CLI can scCODE
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/pytests/test_sortby.py287 # and we must make sure to not crash because of itCOMMENT
LOWsrc/coord/debug_commands.c67// Make sure the two arrays are of the same size (don't forget to update `debug_command_names.h`)COMMENT
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/pytests/common.py271CODE
LOWtests/pytests/common.py960CODE
LOWtests/pytests/vecsim_utils.py31CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/result_processor.c1302 // TODO: implement `GetNextResult` that gets the current block to save calculation time.COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/auto_backport/common.py188def set_output(name: str, value: str) -> None:CODE