AI Slop Code RIsk Monitor

dragonflydb/dragonfly

A modern replacement for Redis and Memcached

9.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for dragonflydb/dragonfly, a C++ project with 31,773 GitHub stars. SynthScan examined 174,225 lines of code across 692 source files, recording 1194 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 9.2 (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.

9.2
Adjusted Signal
9.2
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
31.8K
Stars
C++
Language
174.2K
Lines of Code
692
Files
1.2K
Pattern Hits
2026-10-12
Scan Date
0.08
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 24.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 27.2/100 · MEDIUM

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

PR Review Velocity Impact 38.9/100 · MEDIUM

Which changes need focused human review? 1194 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 58MEDIUM 116LOW 1020

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 1194 distinct pattern matches across 18 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.

Hyper-Verbose Identifiers583 hits · 502 pts
SeverityFileLineSnippetContext
LOWtools/plot_memtier_latency.py53def extract_latency_timeseries(data, operation, ignore_last_seconds=3):CODE
LOWtools/plot_memtier_latency.py132def plot_latency_chart_interactive(data, output_file="latency_chart.html", open_browser=True):CODE
LOW⚡tools/release_notes_generator.py1062def _build_commit_user_content(commit: Commit) -> str:CODE
LOW⚡tools/release_notes_generator.py1404def _normalize_blacklist_terms(raw_terms: list[str]) -> tuple[str, ...]:CODE
LOW⚡tools/release_notes_generator.py1414def _canonicalize_blacklist_text(text: str) -> str:CODE
LOW⚡tools/release_notes_generator.py1418def _matches_highlight_blacklist(CODE
LOWtools/release_notes_generator.py551def _dedupe_highlights_section(notes: str) -> str:CODE
LOWtools/release_notes_generator.py1448def _score_announce_candidate(analyzed_commit: AnalyzedCommit, promoted_theme_size: int) -> float:CODE
LOWtools/release_notes_generator.py1474def _select_announce_highlights(CODE
LOWtools/release_notes_generator.py1508def build_composition_payload(CODE
LOWtools/release_notes_generator.py1565def _build_release_notes_user_message(payload: CompositionPayload) -> str:CODE
LOWtools/release_notes_generator.py1609def _build_announce_user_message(payload: CompositionPayload) -> str:CODE
LOWtools/release_notes_generator.py1677def _build_release_notes_empty_output(payload: CompositionPayload) -> str:CODE
LOWtools/release_notes_generator.py1684def _build_announce_empty_output(payload: CompositionPayload) -> str:CODE
LOWtools/release_notes_generator.py1701def _post_process_release_notes(_backend_name: str, notes: str) -> str:CODE
LOW⚡tools/release_notes_generator.py523def _parse_commit_analysis_json(text: str) -> CommitAnalysis:STRING
LOWtools/cluster_mgr.py241def build_config_from_existing(args):CODE
LOW…ols/packaging/osrepos/scripts/wait_for_repo_version.py14def get_latest_release_version():CODE
LOWtools/ci_test_dashboard/build_dashboard.py255def started_failing_in_sample(recent: list[dict[str, str]]) -> bool:CODE
LOWtools/ci_test_dashboard/build_dashboard.py700def failure_runs_from_segments(segments: list[dict[str, Any]]) -> list[dict[str, Any]]:CODE
LOWtools/ci_test_dashboard/build_dashboard.py818def metadata_for_dashboard_json(root: Path, json_file: Path) -> Metadata:CODE
LOWtools/ci_test_dashboard/build_dashboard.py908def metadata_for_dashboard_record(meta: Metadata, item: dict[str, Any]) -> Metadata:CODE
LOWtests/dragonfly/cluster_migration_test.py44async def test_cluster_flushall_during_migration(CODE
LOWtests/dragonfly/cluster_migration_test.py96async def test_cluster_data_migration(df_factory: DflyInstanceFactory, interrupt: bool):CODE
LOWtests/dragonfly/cluster_migration_test.py170async def test_migration_serializer_expired_fields(df_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py212async def test_migration_with_key_ttl(df_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py252async def test_cluster_replication_migration(CODE
LOWtests/dragonfly/cluster_migration_test.py326async def test_start_replication_during_migration(CODE
LOWtests/dragonfly/cluster_migration_test.py390async def test_keys_expiration_during_migration(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/cluster_migration_test.py433async def test_snapshoting_during_migration(CODE
LOWtests/dragonfly/cluster_migration_test.py521async def test_cluster_migration_while_seeding(CODE
LOWtests/dragonfly/cluster_migration_test.py576async def test_cluster_migrations_sequence(CODE
LOWtests/dragonfly/cluster_migration_test.py630async def test_migration_one_after_another(df_factory: DflyInstanceFactory, df_seeder_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py694async def test_migration_rebalance_node(df_factory: DflyInstanceFactory, df_seeder_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py784async def verify_keys_match_number_of_index_docs(client, expected_num_keys):CODE
LOWtests/dragonfly/cluster_migration_test.py799async def test_remove_docs_on_cluster_migration(df_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py925async def test_cluster_migration_with_tiering(df_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py937async def test_cluster_migration_with_tiering_and_deletes(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/cluster_migration_test.py947async def test_repeated_flushslots_with_replica(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/instance.py368 def print_info_logs_to_debug_log(self):CODE
LOWtests/dragonfly/cluster_test_utils.py17def monotonically_increasing_port_number():CODE
LOWtests/dragonfly/cluster_test_utils.py152async def wait_for_ft_index_creation(client, idx_name, timeout=5):CODE
LOWtests/dragonfly/cluster_test_utils.py178async def check_for_no_state_status(admin_clients):CODE
LOWtests/dragonfly/conftest.py641def with_ca_dir_tls_server_args(with_tls_server_args, with_tls_ca_cert_args):CODE
LOWtests/dragonfly/conftest.py711def pytest_runtest_makereport(item, call):CODE
LOWtests/dragonfly/seeder_test.py23async def test_static_collection_size(async_client: aioredis.Redis):CODE
LOWtests/dragonfly/seeder_test.py157 def custom_command_generation_probability():CODE
LOWtests/dragonfly/tiering_test.py105async def test_tiered_replication_strings_with_append(df_factory: DflyInstanceFactory, cache_mode):CODE
LOWtests/dragonfly/tiering_test.py197async def test_tiered_replication_with_hashes(CODE
LOWtests/dragonfly/tiering_test.py252async def test_tiered_replication_offloaded_listpack_hashes(CODE
LOWtests/dragonfly/tiering_test.py313async def test_tiered_replication_with_lists(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/tiering_test.py396async def test_concurrent_tiered_list_blocking_command(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/tiering_test.py446async def test_concurrent_tiered_list_materialization(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/tiering_test.py490async def test_concurrent_tiered_list_mutation(df_factory: DflyInstanceFactory, command: str):CODE
LOWtests/dragonfly/http_conf_test.py40async def test_metrics_does_not_count_http_connection(df_server: DflyInstance):CODE
LOWtests/dragonfly/http_conf_test.py51async def test_http_metrics_does_not_leak_read_buffer_capacity(df_server: DflyInstance):CODE
LOWtests/dragonfly/http_conf_test.py79async def test_no_password_main_port(df_server: DflyInstance):CODE
LOWtests/dragonfly/http_conf_test.py100async def test_no_password_on_admin(df_server: DflyInstance):CODE
LOWtests/dragonfly/http_conf_test.py126async def test_no_password_on_http_api(df_server: DflyInstance):CODE
LOWtests/dragonfly/http_conf_test.py164async def test_password_on_http_api(df_server: DflyInstance):CODE
523 more matches not shown…
Empty Error Handlers57 hits · 285 pts
SeverityFileLineSnippetContext
HIGHtools/pubsub/stress.py166except (ValueError, TypeError):CODE
HIGHtools/pubsub/celery-test.py209except Exception:CODE
HIGHtests/dragonfly/cluster_migration_test.py899except Exception:CODE
HIGHtests/dragonfly/instance.py63except ValueError:CODE
HIGHtests/dragonfly/instance.py536except Exception:CODE
HIGHtests/dragonfly/conftest.py703except OSError:CODE
HIGHtests/dragonfly/conftest.py397except Exception:CODE
HIGHtests/dragonfly/conftest.py444except Exception:CODE
HIGHtests/dragonfly/cluster_client_test.py228except MovedError:CODE
HIGHtests/dragonfly/acl_family_test.py769except asyncio.TimeoutError:CODE
HIGHtests/dragonfly/proxy.py66except (asyncio.CancelledError, ConnectionResetError):CODE
HIGHtests/dragonfly/proxy.py171except asyncio.exceptions.CancelledError:CODE
HIGHtests/dragonfly/connection_test.py2452except Exception:CODE
HIGHtests/dragonfly/connection_test.py2532except Exception:CODE
HIGHtests/dragonfly/connection_test.py2540except asyncio.TimeoutError:CODE
HIGHtests/dragonfly/connection_test.py2547except Exception:CODE
HIGHtests/dragonfly/connection_test.py242except Exception:CODE
HIGHtests/dragonfly/connection_test.py431except asyncio.TimeoutError:CODE
HIGHtests/dragonfly/connection_test.py706except asyncio.TimeoutError:CODE
HIGHtests/dragonfly/connection_test.py3267except (aioredis.ConnectionError, asyncio.CancelledError):CODE
HIGHtests/dragonfly/connection_test.py3612except asyncio.TimeoutError:CODE
HIGHtests/dragonfly/connection_test.py3615except ConnectionError:CODE
HIGHtests/dragonfly/connection_test.py3656except asyncio.TimeoutError:CODE
HIGHtests/dragonfly/connection_test.py3659except ConnectionError:CODE
HIGHtests/dragonfly/connection_test.py111except asyncio.CancelledError:CODE
HIGHtests/dragonfly/connection_test.py4110except OSError:CODE
HIGHtests/dragonfly/utility.py1009except asyncio.CancelledError:CODE
HIGHtests/dragonfly/fake_node.py65except ConnectionError:CODE
HIGHtests/dragonfly/shutdown_test.py63except redis.exceptions.ConnectionError:CODE
HIGHtests/dragonfly/search_test.py142except ValueError:CODE
HIGHtests/dragonfly/search_test.py1052except Exception:CODE
HIGHtests/dragonfly/search_test.py1056except Exception:CODE
HIGHtests/dragonfly/search_test.py1065except Exception:CODE
HIGHtests/dragonfly/snapshot_test.py791except asyncio.TimeoutError:CODE
HIGHtests/dragonfly/snapshot_test.py890except asyncio.TimeoutError:CODE
HIGHtests/dragonfly/snapshot_test.py293except Exception:CODE
HIGHtests/dragonfly/snapshot_test.py826except Exception:CODE
HIGHtests/dragonfly/snapshot_test.py925except Exception:CODE
HIGHtests/dragonfly/snapshot_test.py939except Exception:CODE
HIGHtests/dragonfly/replication_resilience_test.py1631except (asyncio.CancelledError, Exception):CODE
HIGHtests/dragonfly/replication_resilience_test.py1525except Exception:CODE
HIGHtests/dragonfly/redis_replication_test.py285except asyncio.CancelledError:CODE
HIGHtests/dragonfly/replication_specific_test.py1536except (asyncio.CancelledError, Exception):CODE
HIGHtests/dragonfly/replication_specific_test.py1734except ProcessLookupError:CODE
HIGHtests/dragonfly/replication_specific_test.py540except asyncio.CancelledError:CODE
HIGHtests/dragonfly/replication_specific_test.py1504except (asyncio.CancelledError, Exception):CODE
HIGHtests/dragonfly/seeder/__init__.py533except (redis.exceptions.ConnectionError, redis.exceptions.ResponseError):CODE
HIGHtests/dragonfly/valkey_search/util.py30except Exception:CODE
HIGHtests/dragonfly/valkey_search/util.py55except Exception:CODE
HIGHtests/dragonfly/valkey_search/util.py80except Exception:CODE
HIGHtests/fakeredis/test/test_hypothesis/base.py241except redis.ResponseError:CODE
HIGHfuzz/resp_mutator.py272except (json.JSONDecodeError, TypeError, ValueError):CODE
HIGHfuzz/replay_crash.py319except socket.timeout:CODE
HIGHfuzz/memcache_mutator.py291except ValueError:CODE
HIGHfuzz/fuzz_health.py63except OSError:CODE
HIGHfuzz/generate_targeted_seeds.py209except json.JSONDecodeError:CODE
HIGHfuzz/generate_targeted_seeds.py217except json.JSONDecodeError:CODE
Over-Commented Block260 hits · 258 pts
SeverityFileLineSnippetContext
LOWtools/release_notes_generator.py81# ---------------------------------------------------------------------------COMMENT
LOWtools/generate-tls-files.sh1#!/bin/bashCOMMENT
LOWtools/packaging/generate_debian_package.sh1#!/usr/bin/env bashCOMMENT
LOWtools/local/monitoring/prometheus/prometheus.yml1# my global configCOMMENT
LOWtools/replay/workers.go301 }COMMENT
LOWtests/dragonfly/connection_test.py1741 return re.sub(rb"(\$2\r\nid\r\n):\d+\r\n", rb"\1:<client-id>\r\n", reply)COMMENT
LOWtests/dragonfly/search_test.py1381 #COMMENT
LOWtests/dragonfly/search_test.py1401 # See: src/core/search/indices.cc:622 - GeoIndex::RadiusSearch doesn't sort resultsCOMMENT
LOWtests/dragonfly/search_test.py1421 # # Should find cafes within the geo and vector constraintsCOMMENT
LOWtests/dragonfly/bull_sidekiq_test.py21# @dfly_args({"lock_on_hashtags": True})COMMENT
LOWtests/integration/.run_ioredis_valid_test.sh1#!/usr/bin/env bashCOMMENT
LOWtests/fakeredis/test/test_mixins/test_scan.py81# key_to_remove = keys[0]COMMENT
LOW.claude/skills/benchmark/scripts/capture_result.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/benchmark/scripts/monitor_fill.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/benchmark/scripts/bench_server.sh1#!/usr/bin/env bashCOMMENT
LOWcontrib/charts/dragonfly/Chart.yaml1apiVersion: v2COMMENT
LOWcontrib/charts/dragonfly/values.yaml41podSecurityContext: {}COMMENT
LOWcontrib/charts/dragonfly/values.yaml101 # -- Volume size to request for the PVCCOMMENT
LOWcontrib/charts/dragonfly/values.yaml121 # -- name of the referenced issuerCOMMENT
LOWcontrib/charts/dragonfly/values.yaml201COMMENT
LOW.github/bullmq-skipped-tests.txt1# BullMQ tests excluded from CI runs against DragonflyCOMMENT
LOW.github/workflows/fuzz-pr.yml1# Run AFL++ fuzzing on PRs that touch C++ code.COMMENT
LOW.github/actions/builder/action.yml81 if: ${{ inputs.enable-ccache == 'true' }}COMMENT
LOWfuzz/triage_crashes.sh1#!/usr/bin/env bashCOMMENT
LOWfuzz/triage_crashes.sh21# recorded configuration; 2 = some crash could not be triaged, was inconclusive, or crashed onlyCOMMENT
LOWsrc/core/oah_table.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/oah_table.h21#include "core/oah_base.h"COMMENT
LOWsrc/core/oah_set.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/cms.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/topk.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/topk.h21//COMMENT
LOWsrc/core/topk.h41//COMMENT
LOWsrc/core/topk.h81 uint32_t count;COMMENT
LOWsrc/core/top_keys.h1// Copyright 2025, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/top_keys.h21// increments, and does not use PMR allocators (which are required for strict memoryCOMMENT
LOWsrc/core/sharded_hash_map.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/sharded_hash_map.h21// Each shard contains an absl::flat_hash_map protected by two fiber-aware locks:COMMENT
LOWsrc/core/sharded_hash_map.h41// Thread safety guarantees:COMMENT
LOWsrc/core/sharded_hash_map.h121COMMENT
LOWsrc/core/oah_ptr.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/string_set.h1// Copyright 2022, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/dash_internal.h1// Copyright 2024, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/dash_internal.h521COMMENT
LOWsrc/core/dash_internal.h1301 // It is highly unlikely that this happens with real world data.COMMENT
LOWsrc/core/dash_internal.h1541 // bucket. Furthermore, if the target or the probe have one of their stash bits reference theCOMMENT
LOWsrc/core/interpreter.h1// Copyright 2022, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/glob_matcher.h1// Copyright 2025, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/glob_matcher.h41 // Stateless matcher behind Matches(): iterative, no allocation. Exposed for tests and benchmarks.COMMENT
LOWsrc/core/compact_object.h1// Copyright 2024, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/compact_object.h241COMMENT
LOWsrc/core/dict_builder.h1// Copyright 2025, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/dict_builder.h21 unsigned step);COMMENT
LOWsrc/core/stream_node.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/flatbuffers.h1// Copyright 2024, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/tiering_types.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/bptree_set.h81 ToRank(rank, &path);COMMENT
LOWsrc/core/size_tracking_channel.h1// Copyright 2023, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/dense_set.h1// Copyright 2022, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/dense_set.h21// dict requires to allocate dictEntry per each addition in addition to the supplied key.COMMENT
LOWsrc/core/oah_base.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
200 more matches not shown…
Decorative Section Separators73 hits · 244 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/release_notes_generator.py133# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/release_notes_generator.py135# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/release_notes_generator.py1057# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/release_notes_generator.py1059# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py83# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py330# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py332# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py590# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py592# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py909# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py911# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py953# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py955# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py1029# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py1031# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py1314# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py1316# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py1791# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py1793# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/release_notes_generator.py518# ---------------------------------------------------------------------------STRING
MEDIUM⚡tools/release_notes_generator.py520# ---------------------------------------------------------------------------STRING
MEDIUM⚡tools/pubsub/celery-test.py80# ------------------------COMMENT
MEDIUM⚡tools/pubsub/celery-test.py82# ------------------------COMMENT
MEDIUM⚡tools/pubsub/celery-test.py91# ------------------------COMMENT
MEDIUM⚡tools/pubsub/celery-test.py93# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py20# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py22# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py65# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py67# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py166# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py168# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py185# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py187# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py247# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py249# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py456# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py458# ------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py171# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py173# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dragonfly/replication_utils.py252# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dragonfly/replication_utils.py254# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py288# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py290# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/bullmq-skipped-tests.txt8# ── DRAGONFLY BUG ────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/bullmq-skipped-tests.txt18# ── FLAKY ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/replay_crash.py78# ─── Walking an input the way the server parses it ───────────────────────────COMMENT
MEDIUMfuzz/replay_crash.py227# ─── Barriers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/replay_crash.py296# ─── Transport ────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/replay_crash.py541# ─── Main ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh36# ─── Colors ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh44# ─── Config ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh67# ─── Args ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh100# ─── Working directory ────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh123# ─── Extract zip ──────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh131# ─── Find crash archives ──────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh143# ─── Locate replay_crash.py ───────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh152# ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
13 more matches not shown…
Excessive Try-Catch Wrapping69 hits · 68 pts
SeverityFileLineSnippetContext
MEDIUMtools/plot_memtier_latency.py152 print("Error: No operation data found in JSON")CODE
MEDIUMtools/plot_memtier_latency.py384 print("Error: No operation data found in JSON")CODE
MEDIUMtools/plot_memtier_latency.py573 print(f"Error: Input file '{input_file}' not found!")CODE
LOWtools/defrag_mem_test.py100 except Exception as e:CODE
LOWtools/defrag_mem_test.py159 except Exception as e:CODE
MEDIUMtools/defrag_mem_test.py76def stats_check(connection, condition):CODE
LOWtools/release_notes_generator.py941 except Exception:CODE
LOWtools/release_notes_generator.py1163 except Exception as e:CODE
LOWtools/release_notes_generator.py2087 except Exception as e:CODE
LOWtools/cluster_mgr.py70 except Exception as e:CODE
LOWtools/defrag_db.py41 except Exception as e:STRING
MEDIUMtools/defrag_db.py47 print("Error recycling", recycled)STRING
LOWtools/pubsub/stress.py402 except Exception as e:CODE
LOWtools/pubsub/celery-test.py121 except Exception:CODE
LOWtools/pubsub/celery-test.py209 except Exception:CODE
LOWtools/pubsub/celery-test.py234 except Exception:CODE
LOWtools/pubsub/celery-test.py311 except Exception:CODE
LOWtools/pubsub/celery-test.py379 except Exception as e:CODE
LOWtests/dragonfly/cluster_migration_test.py899 except Exception:CODE
LOWtests/dragonfly/cluster_migration_test.py1014 except Exception as e:STRING
LOWtests/dragonfly/cluster_migration_test.py1024 except Exception as e:STRING
LOWtests/dragonfly/cluster_migration_test.py1067 except Exception as e:STRING
LOWtests/dragonfly/cluster_migration_test.py1098 except Exception as e:STRING
LOWtests/dragonfly/instance.py536 except Exception:CODE
LOWtests/dragonfly/instance.py541 except Exception as e:CODE
LOWtests/dragonfly/conftest.py154 except Exception:CODE
LOWtests/dragonfly/conftest.py164 except Exception:CODE
LOWtests/dragonfly/conftest.py397 except Exception:CODE
LOWtests/dragonfly/conftest.py399 except Exception as e:CODE
LOWtests/dragonfly/conftest.py444 except Exception:CODE
LOWtests/dragonfly/search_benchmark_utils.py167 except Exception as e:CODE
LOWtests/dragonfly/acl_family_test.py237 except Exception as e:CODE
LOWtests/dragonfly/connection_test.py2452 except Exception:CODE
LOWtests/dragonfly/connection_test.py2532 except Exception:CODE
LOWtests/dragonfly/connection_test.py2547 except Exception:CODE
LOWtests/dragonfly/connection_test.py242 except Exception:STRING
LOWtests/dragonfly/utility.py737 except Exception as e:CODE
LOWtests/dragonfly/eval_test.py495 except Exception:CODE
LOWtests/dragonfly/eval_test.py506 except Exception:CODE
LOWtests/dragonfly/shutdown_test.py125 except Exception as e:CODE
MEDIUMtests/dragonfly/search_test.py923def test_redis_om(df_server):CODE
LOW⚡tests/dragonfly/search_test.py1052 except Exception:CODE
LOW⚡tests/dragonfly/search_test.py1056 except Exception:CODE
LOW⚡tests/dragonfly/search_test.py1065 except Exception:CODE
LOWtests/dragonfly/search_test.py1517 except Exception as e:CODE
MEDIUMtests/dragonfly/snapshot_test.py320def save():CODE
MEDIUMtests/dragonfly/snapshot_test.py335def save_operation(operation_id):CODE
LOW⚡tests/dragonfly/snapshot_test.py324 except Exception:CODE
LOW⚡tests/dragonfly/snapshot_test.py339 except Exception as e:CODE
LOWtests/dragonfly/snapshot_test.py293 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py826 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py925 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py939 except Exception:CODE
LOW⚡tests/dragonfly/replication_resilience_test.py1515 except Exception as e:STRING
LOW⚡tests/dragonfly/replication_resilience_test.py1525 except Exception:STRING
LOWtests/dragonfly/replication_specific_test.py1584 except Exception:CODE
LOWtests/dragonfly/replication_specific_test.py1596 except Exception:CODE
LOW…fly/valkey_search/valkey_search_test_case_dragonfly.py91 except Exception as e:CODE
LOW⚡…fly/valkey_search/valkey_search_test_case_dragonfly.py107 except Exception as e:CODE
LOWtests/dragonfly/valkey_search/util.py30 except Exception:CODE
9 more matches not shown…
AI Slop Vocabulary18 hits · 54 pts
SeverityFileLineSnippetContext
MEDIUMtests/dragonfly/valkey_tcl/run-tcl-tests.sh3# Exits 0 only if every non-skipped test passes (harness returns 1 on any failure).COMMENT
MEDIUMtests/dragonfly/valkey_tcl/run-tcl-tests.sh6# Fail fast on any setup error; -e is relaxed only around the harness to capture its status.COMMENT
MEDIUMtests/dragonfly/valkey_tcl/run-tcl-tests.sh26# The harness's set_executable_path.tcl requires an executable src/valkey-server to exist,COMMENT
MEDIUMtests/dragonfly/valkey_tcl/run-tcl-tests.sh98# Feed the harness a clean skipfile (strip comments and blank lines). A missing skiplist wouldCOMMENT
MEDIUM⚡tests/dragonfly/valkey_tcl/run-tcl-tests.sh112# The enabled suites: only ones that run to completion against an unmodified upstream harnessCOMMENT
MEDIUM⚡tests/dragonfly/valkey_tcl/run-tcl-tests.sh118# --timeout bounds a single stuck test (the harness aborts the run on timeout); the outerCOMMENT
MEDIUM⚡tests/dragonfly/valkey_tcl/run-tcl-tests.sh122set +e # capture the harness exit status instead of dying mid-reportCODE
MEDIUMtests/dragonfly/valkey_tcl/sync-valkey-tcl-tests.sh2# Sync the Valkey TCL test harness + the enabled test files into ./upstream (gitignored),COMMENT
MEDIUM.github/workflows/ci.yml284 # tcl runs the harness; redis-tools + iproute2 (ss) for the fail-closed readiness probe.COMMENT
MEDIUMfuzz/replay_crash.py317 delivered = s.send(data) > 0 # one send() like the harness; a short write is not retriedCODE
MEDIUMfuzz/replay_crash.py694 with open(path, "rb") as f: # the harness never sent more than one buffer per iterationCODE
MEDIUMfuzz/replay_crash.py707 if args.mode == "harness": # the harness neither retries nor pauses: it moves onCODE
MEDIUMfuzz/replay_crash.py744 # it; harness mode keeps the fuzzer's pace and lets a later input observe the death.COMMENT
MEDIUMfuzz/replay_crash.py745 # Without --pid a liveness check is a TCP probe, so harness mode never probes betweenCOMMENT
MEDIUMfuzz/triage_crashes.sh10# 2. harness - only if pass 1 stayed alive: the exact fuzz-harness behaviour (send, one read,COMMENT
MEDIUMfuzz/triage_crashes.sh216 # A previous pass may have run SAVE/BGSAVE; the fuzz harness always starts from an empty dir.COMMENT
MEDIUMfuzz/triage_crashes.sh443 # --bind=127.0.0.1 keeps the unauthenticated replay server off the network (the harnessCOMMENT
MEDIUMfuzz/triage_crashes.sh452 # Pass 1: drain. Pass 2 (harness) only if the server survived pass 1. A pass counts asCOMMENT
Self-Referential Comments16 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUMtests/dragonfly/cluster_test_utils.py24# Create a generator objectCOMMENT
MEDIUMtests/dragonfly/connection_test.py786 # Create a publisher that sends constantly messages to the channelCOMMENT
MEDIUMtests/dragonfly/connection_test.py3926 # Create a separate, continuous background task: open a second connection (pub) and constantly publish messages toCOMMENT
MEDIUMtests/dragonfly/replication_config_test.py571 # Create an empty hashmapCOMMENT
MEDIUMtests/dragonfly/replication_config_test.py625 # Create an empty hashmapCOMMENT
MEDIUMtests/dragonfly/replication_config_test.py669 # Create a search index with HNSW vector field on the new masterCOMMENT
MEDIUMtests/dragonfly/search_test.py1118 # Create an index with all field types on masterCOMMENT
MEDIUMtests/dragonfly/replication_specific_test.py70 # Create a new aux index on masterCOMMENT
MEDIUMtests/dragonfly/memory_test.py46 # Create a Dragonfly and fill it up with `type` until it reaches `min_rss`, then make sure thatCOMMENT
MEDIUM…fly/valkey_search/valkey_search_test_case_dragonfly.py27 """This class represents a Dragonfly instance as a valkey server node"""STRING
MEDIUMtests/dragonfly/valkey_search/__init__.py41 # Create a mock module for valkey_search_test_caseCOMMENT
MEDIUM⚡.github/workflows/docker-dev-release.yml136 # Create a temporary container and copy the binaryCOMMENT
MEDIUM⚡.github/workflows/docker-dev-release.yml141 # Create a tar archiveCOMMENT
MEDIUM.github/workflows/ci.yml203 # Create a rule that automatically prints stacktrace upon segfaultCOMMENT
MEDIUM…actions/builder/scripts/actions_cache_ccache_helper.sh3# This file is not standalone - source it from the builder action or cache-reaper workflow;COMMENT
MEDIUM…b/actions/builder/scripts/actions_cache_deps_helper.sh3# This file is not standalone - source it from the builder actionCOMMENT
Deep Nesting45 hits · 40 pts
SeverityFileLineSnippetContext
LOWtools/parse_allocator_tracking_logs.py13CODE
LOWtools/defrag_mem_test.py76CODE
LOWtools/release_notes_generator.py675CODE
LOWtools/cluster_mgr.py111CODE
LOWtools/cache_logs_player.py22CODE
LOWtools/ci_test_dashboard/build_dashboard.py111CODE
LOWtools/ci_test_dashboard/sync_dashboard.py152CODE
LOWtools/pubsub/stress.py109CODE
LOWtools/pubsub/stress.py381CODE
LOWtools/pubsub/stress.py150CODE
LOWtools/pubsub/stress.py229CODE
LOWtools/pubsub/stress.py153CODE
LOWtools/pubsub/celery-test.py97CODE
LOWtools/pubsub/celery-test.py190CODE
LOWtools/pubsub/celery-test.py252CODE
LOWtests/dragonfly/conftest.py110CODE
LOWtests/dragonfly/conftest.py680CODE
LOWtests/dragonfly/tiering_test.py490CODE
LOWtests/dragonfly/tiering_test.py523CODE
LOWtests/dragonfly/connection_test.py420CODE
LOWtests/dragonfly/connection_test.py664CODE
LOWtests/dragonfly/connection_test.py1640CODE
LOWtests/dragonfly/connection_test.py4074CODE
LOWtests/dragonfly/connection_test.py77CODE
LOWtests/dragonfly/connection_test.py4096CODE
LOWtests/dragonfly/utility.py270CODE
LOWtests/dragonfly/utility.py710CODE
LOWtests/dragonfly/utility.py982CODE
LOWtests/dragonfly/fake_node.py44CODE
LOWtests/dragonfly/cluster_migration_resilience_test.py97CODE
LOWtests/dragonfly/cluster_migration_resilience_test.py179CODE
LOWtests/dragonfly/replication_utils.py43CODE
LOWtests/dragonfly/seeder/__init__.py438CODE
LOWtests/dragonfly/seeder/__init__.py496CODE
LOWtests/fakeredis/test/test_hypothesis/base.py263CODE
LOW.github/scripts/publish-ci-dashboard-site-to-s3.py30CODE
LOWfuzz/resp_mutator.py381CODE
LOWfuzz/replay_crash.py163CODE
LOWfuzz/replay_crash.py188CODE
LOWfuzz/replay_crash.py334CODE
LOWfuzz/replay_crash.py606CODE
LOWfuzz/check_fuzz_coverage.py140CODE
LOWfuzz/memcache_mutator.py84CODE
LOWfuzz/memcache_mutator.py185CODE
LOWfuzz/memcache_mutator.py251CODE
Structural Annotation Overuse18 hits · 28 pts
SeverityFileLineSnippetContext
LOW⚡tests/dragonfly/replication_specific_test.py381 # Step 1: Populate master with 100 streams, each containing 200 entriesCOMMENT
LOW⚡tests/dragonfly/replication_specific_test.py390 # Step 2: Trim each stream to a random size between 70 and 200COMMENT
LOWtests/dragonfly/replication_specific_test.py404 # Step 3: Trim all streams to 0COMMENT
LOW.claude/skills/benchmark-report/SKILL.md11## Step 0: Interview before writingCOMMENT
LOW.claude/skills/benchmark-report/SKILL.md39## Step 1: Scan and parseCOMMENT
LOW.claude/skills/benchmark-report/SKILL.md65## Step 2: Identify systems under testCOMMENT
LOW.claude/skills/benchmark-report/SKILL.md79## Step 3: Generate chartsCOMMENT
LOW.claude/skills/benchmark-report/SKILL.md92## Step 4: Write the reportCOMMENT
LOW.claude/skills/reproduce-fuzz-crash/SKILL.md21### Step 1: Parse the URLCOMMENT
LOW.claude/skills/reproduce-fuzz-crash/SKILL.md31### Step 2: Download artifactsCOMMENT
LOW.claude/skills/reproduce-fuzz-crash/SKILL.md56### Step 3: Determine modeCOMMENT
LOW.claude/skills/reproduce-fuzz-crash/SKILL.md62### Step 4: Check Dragonfly binaryCOMMENT
LOW.claude/skills/reproduce-fuzz-crash/SKILL.md78### Step 5: Run triage_crashes.shCOMMENT
LOW.claude/skills/reproduce-fuzz-crash/SKILL.md88### Step 6: Analyze and reportCOMMENT
LOWdocs/build-from-source.md8## Step 1 - install dependenciesCOMMENT
LOWdocs/build-from-source.md38## Step 2 - clone the projectCOMMENT
LOWdocs/build-from-source.md44## Step 3 - configure & build itCOMMENT
LOWdocs/build-from-source.md92## Step 4 - voilàCOMMENT
Unused Imports26 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/cache_testing.py3CODE
LOWtools/defrag_mem_test.py4CODE
LOWtools/defrag_mem_test.py5CODE
LOWtools/release_notes_generator.py30CODE
LOWtools/ci_test_dashboard/build_dashboard.py4CODE
LOWtools/ci_test_dashboard/sync_dashboard.py4CODE
LOWtools/eviction/fill_db.py43CODE
LOWtests/integration/async.py14CODE
LOWtests/fakeredis/test/test_transactions.py1CODE
LOWtests/fakeredis/test/test_json/test_json.py5CODE
LOWtests/fakeredis/test/test_json/test_json_commands.py3CODE
LOWtests/fakeredis/test/test_mixins/test_set_commands.py1CODE
LOW…sts/fakeredis/test/test_mixins/test_string_commands.py1CODE
LOW…/fakeredis/test/test_mixins/test_sortedset_commands.py1CODE
LOWtests/fakeredis/test/test_mixins/test_scripting.py1CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py12CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py13CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py14CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py15CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py16CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py17CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py18CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py19CODE
LOW.github/actions/builder/scripts/deps_cache_manifest.py28CODE
LOWsrc/core/generate_bin_sizes.py4CODE
LOWsrc/core/generate_bin_sizes.py5CODE
Redundant / Tautological Comments9 hits · 15 pts
SeverityFileLineSnippetContext
LOWtools/plot_memtier_latency.py571 # Check if input file existsCOMMENT
LOWtools/balls_bins.py26 # Check if any bin has K or more ballsCOMMENT
LOWtools/docker/healthcheck.sh10# Set trap to ensure cleanup runs on exit, regardless of how the script exitsCOMMENT
LOWtests/dragonfly/replication_specific_test.py781 # Check if replica data is consistentCOMMENT
LOW⚡…fly/valkey_search/valkey_search_test_case_dragonfly.py102 # Check if replicas are connectedCOMMENT
LOWtests/dragonfly/valkey_search/conftest.py9# Check if integration directory existsCOMMENT
LOWtests/dragonfly/valkey_search/__init__.py13# Check if integration directory exists before attempting importCOMMENT
LOW…ts/dragonfly/valkey_search/sync-valkey-search-tests.sh40 # Check if the file doesn't already have 'from __future__ import annotations'COMMENT
LOW⚡.github/workflows/docker-dev-release.yml126 # Check if version starts with a release version (v*.*.*)COMMENT
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWtools/generate-tls-files.sh6# Example usage:COMMENT
LOW.claude/skills/benchmark/scripts/capture_result.sh8# Usage:COMMENT
LOW.claude/skills/benchmark/scripts/monitor_fill.sh8# Usage:COMMENT
LOW.claude/skills/benchmark/scripts/bench_server.sh12# Usage:COMMENT
LOWfuzz/triage_crashes.sh13# Usage:COMMENT
LOWsrc/common/heap_size.h13// Example usage:COMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡tests/dragonfly/replication_specific_test.py381 # Step 1: Populate master with 100 streams, each containing 200 entriesCOMMENT
LOW⚡tests/dragonfly/replication_specific_test.py390 # Step 2: Trim each stream to a random size between 70 and 200COMMENT
LOWtests/dragonfly/replication_specific_test.py404 # Step 3: Trim all streams to 0COMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/json_benchmark.py30 r.execute_command('JSON.SET', key, '.', '{"a":123456, "b": "hello", "nested": {"abc": "ffffff", "bfb": null}}')CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/dragonfly/acl_family_test.py617 assert await user.execute_command("ZRANGE out 0 -1") == ["placeholder"]STRING
LOW…sts/fakeredis/test/test_json/test_json_arr_commands.py24 assert r.json().arrlen("fake-key") is NoneCODE
LOWsrc/redis/crc64.c139 char li[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "CODE
LOWsrc/redis/crc64.c139 char li[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtools/release_notes_generator.py99# generated files, large refactors) would otherwise dominate the context windowCOMMENT
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/dragonfly/connection_test.py2687CODE
LOWtests/dragonfly/utility.py514CODE
LOWtests/dragonfly/seeder/__init__.py150CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOW⚡tools/release_notes_generator.py129logger = logging.getLogger(__name__)CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py1__all__ = [CODE