Repository Analysis

dragonflydb/dragonfly

A modern replacement for Redis and Memcached

7.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dragonflydb/dragonfly, a C++ project with 31,051 GitHub stars. SynthScan v2.0 examined 165,214 lines of code across 668 source files, recording 1080 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 7.6 places this repository in the Low AI signal band.

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

7.6
Adjusted Score
7.6
Raw Score
100%
Time Factor
2026-08-28
Last Push
31.1K
Stars
C++
Language
165.2K
Lines of Code
668
Files
1.1K
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 1MEDIUM 102LOW 977

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers557 hits · 495 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
LOWtools/release_notes_generator.py1062def _build_commit_user_content(commit: Commit) -> str:CODE
LOWtools/release_notes_generator.py1404def _normalize_blacklist_terms(raw_terms: list[str]) -> tuple[str, ...]:CODE
LOWtools/release_notes_generator.py1414def _canonicalize_blacklist_text(text: str) -> str:CODE
LOWtools/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
LOWtools/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
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.py173async def test_migration_serializer_expired_fields(df_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py215async def test_migration_with_key_ttl(df_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py258async def test_cluster_replication_migration(CODE
LOWtests/dragonfly/cluster_migration_test.py332async def test_start_replication_during_migration(CODE
LOWtests/dragonfly/cluster_migration_test.py396async def test_keys_expiration_during_migration(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/cluster_migration_test.py439async def test_snapshoting_during_migration(CODE
LOWtests/dragonfly/cluster_migration_test.py533async def test_cluster_migration_while_seeding(CODE
LOWtests/dragonfly/cluster_migration_test.py589async def test_cluster_migrations_sequence(CODE
LOWtests/dragonfly/cluster_migration_test.py647async def test_migration_one_after_another(df_factory: DflyInstanceFactory, df_seeder_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py720async def test_migration_rebalance_node(df_factory: DflyInstanceFactory, df_seeder_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py810async def verify_keys_match_number_of_index_docs(client, expected_num_keys):CODE
LOWtests/dragonfly/cluster_migration_test.py825async def test_remove_docs_on_cluster_migration(df_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py957async def test_cluster_migration_with_tiering(df_factory):CODE
LOWtests/dragonfly/cluster_migration_test.py969async def test_cluster_migration_with_tiering_and_deletes(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/cluster_migration_test.py979async def test_repeated_flushslots_with_replica(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/instance.py367 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.py584def with_ca_dir_tls_server_args(with_tls_server_args, with_tls_ca_cert_args):CODE
LOWtests/dragonfly/conftest.py649def pytest_runtest_makereport(item, call):CODE
LOWtests/dragonfly/seeder_test.py24async def test_static_collection_size(async_client: aioredis.Redis):CODE
LOWtests/dragonfly/seeder_test.py160 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
LOWtests/dragonfly/http_conf_test.py185async def test_http_api_json_response(df_server: DflyInstance):CODE
LOWtests/dragonfly/proactor_threads_test.py16async def test_proactor_threads_flag_is_respected(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/proactor_threads_test.py30async def test_proactor_threads_env_var_is_respected(df_factory: DflyInstanceFactory, monkeypatch):CODE
LOWtests/dragonfly/proactor_threads_test.py50async def test_proactor_threads_flag_overrides_env_var(CODE
497 more matches not shown…
Over-Commented Block251 hits · 248 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.py1701 # HELLO contains a connection-specific client id, so normalize only that value before comparingCOMMENT
LOWtests/dragonfly/connection_test.py4001 ]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
LOWsrc/core/oah_table.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/oah_table.h21#include "core/oah_ptr.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.h21COMMENT
LOWsrc/core/topk.h41// degrade overall database throughput, hence the strict separation of concerns.COMMENT
LOWsrc/core/topk.h101 //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.h1281 // we added an additional bit to the right, therefore we need to look at lsb of the extract.COMMENT
LOWsrc/core/dash_internal.h1521 // Stash case.COMMENT
LOWsrc/core/glob_matcher.h1// Copyright 2025, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/glob_matcher.h41 private:COMMENT
LOWsrc/core/compact_object.h1// Copyright 2024, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/compact_object.h261 // For NONE_ENC: `encoded` is the user-visible bytes; the reply can streamCOMMENT
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
LOWsrc/core/qlist.h1// Copyright 2024, DragonflyDB authors. All rights reserved.COMMENT
191 more matches not shown…
Decorative Section Separators69 hits · 237 pts
SeverityFileLineSnippetContext
MEDIUMtools/release_notes_generator.py133# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py135# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/release_notes_generator.py1057# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/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
MEDIUMtools/release_notes_generator.py518# ---------------------------------------------------------------------------STRING
MEDIUMtools/release_notes_generator.py520# ---------------------------------------------------------------------------STRING
MEDIUMtools/pubsub/celery-test.py80# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py82# ------------------------COMMENT
MEDIUMtools/pubsub/celery-test.py91# ------------------------COMMENT
MEDIUMtools/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.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py249# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py251# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py285# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/dragonfly/replication_utils.py287# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/bullmq-skipped-tests.txt8# ── DRAGONFLY BUG ────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/bullmq-skipped-tests.txt18# ── FLAKY ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh18# ─── Colors ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh26# ─── Config ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh49# ─── Args ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh75# ─── Working directory ────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh84# ─── Extract zip ──────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh89# ─── Find crash archives ──────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh101# ─── Locate replay_crash.py ───────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh110# ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh159# ─── Main loop ────────────────────────────────────────────────────────────────COMMENT
MEDIUMfuzz/triage_crashes.sh344# ─── Summary ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/server/serializer_base.h126// ┌────────────────────┐ ┌───────────────────┐COMMENT
MEDIUMsrc/server/serializer_base.h129// └────────┬───────────┘ └────────┬──────────┘COMMENT
9 more matches not shown…
Excessive Try-Catch Wrapping72 hits · 73 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.py928 except Exception:CODE
LOWtests/dragonfly/cluster_migration_test.py1046 except Exception as e:STRING
LOWtests/dragonfly/cluster_migration_test.py1056 except Exception as e:STRING
LOWtests/dragonfly/cluster_migration_test.py1099 except Exception as e:STRING
LOWtests/dragonfly/cluster_migration_test.py1130 except Exception as e:STRING
LOWtests/dragonfly/instance.py523 except Exception:CODE
LOWtests/dragonfly/instance.py528 except Exception as e:CODE
LOWtests/dragonfly/conftest.py67 except Exception:CODE
LOWtests/dragonfly/conftest.py116 except Exception:CODE
LOWtests/dragonfly/conftest.py126 except Exception:CODE
LOWtests/dragonfly/conftest.py340 except Exception:CODE
LOWtests/dragonfly/conftest.py342 except Exception as e:CODE
LOWtests/dragonfly/conftest.py387 except Exception:CODE
LOWtests/dragonfly/search_benchmark_utils.py167 except Exception as e:CODE
LOWtests/dragonfly/acl_family_test.py236 except Exception as e:CODE
LOWtests/dragonfly/connection_test.py2414 except Exception:CODE
LOWtests/dragonfly/connection_test.py2494 except Exception:CODE
LOWtests/dragonfly/connection_test.py2509 except Exception:CODE
LOWtests/dragonfly/connection_test.py238 except Exception:STRING
LOWtests/dragonfly/utility.py737 except Exception as e:CODE
LOWtests/dragonfly/eval_test.py498 except Exception:CODE
LOWtests/dragonfly/eval_test.py509 except Exception:CODE
LOWtests/dragonfly/shutdown_test.py128 except Exception as e:CODE
MEDIUMtests/dragonfly/search_test.py923def test_redis_om(df_server):CODE
LOWtests/dragonfly/search_test.py1052 except Exception:CODE
LOWtests/dragonfly/search_test.py1056 except Exception:CODE
LOWtests/dragonfly/search_test.py1065 except Exception:CODE
LOWtests/dragonfly/search_test.py1517 except Exception as e:CODE
MEDIUMtests/dragonfly/snapshot_test.py289def save():CODE
MEDIUMtests/dragonfly/snapshot_test.py304def save_operation(operation_id):CODE
LOWtests/dragonfly/snapshot_test.py293 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py308 except Exception as e:CODE
LOWtests/dragonfly/snapshot_test.py262 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py797 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py895 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py909 except Exception:CODE
LOWtests/dragonfly/replication_resilience_test.py1473 except Exception as e:STRING
LOWtests/dragonfly/replication_resilience_test.py1483 except Exception:STRING
LOWtests/dragonfly/replication_specific_test.py1644 except Exception:CODE
LOWtests/dragonfly/replication_specific_test.py1656 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
12 more matches not shown…
Self-Referential Comments16 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUMtests/dragonfly/cluster_test_utils.py24# Create a generator objectCOMMENT
MEDIUMtests/dragonfly/connection_test.py782 # Create a publisher that sends constantly messages to the channelCOMMENT
MEDIUMtests/dragonfly/connection_test.py3880 # Create a separate, continuous background task: open a second connection (pub) and constantly publish messages toCOMMENT
MEDIUMtests/dragonfly/replication_config_test.py478 # Create an empty hashmapCOMMENT
MEDIUMtests/dragonfly/replication_config_test.py532 # Create an empty hashmapCOMMENT
MEDIUMtests/dragonfly/replication_config_test.py581 # 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.py77 # 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.yml191 # 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 Nesting37 hits · 32 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/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/instance.py64CODE
LOWtests/dragonfly/conftest.py72CODE
LOWtests/dragonfly/tiering_test.py490CODE
LOWtests/dragonfly/tiering_test.py523CODE
LOWtests/dragonfly/connection_test.py416CODE
LOWtests/dragonfly/connection_test.py660CODE
LOWtests/dragonfly/connection_test.py1602CODE
LOWtests/dragonfly/connection_test.py4028CODE
LOWtests/dragonfly/connection_test.py73CODE
LOWtests/dragonfly/connection_test.py4050CODE
LOWtests/dragonfly/utility.py270CODE
LOWtests/dragonfly/utility.py710CODE
LOWtests/dragonfly/utility.py982CODE
LOWtests/dragonfly/cluster_migration_resilience_test.py99CODE
LOWtests/dragonfly/cluster_migration_resilience_test.py181CODE
LOWtests/dragonfly/replication_utils.py43CODE
LOWtests/dragonfly/seeder/__init__.py438CODE
LOWtests/dragonfly/seeder/__init__.py496CODE
LOWtests/fakeredis/test/test_hypothesis/base.py263CODE
LOWfuzz/resp_mutator.py381CODE
LOWfuzz/check_fuzz_coverage.py140CODE
LOWfuzz/memcache_mutator.py84CODE
LOWfuzz/memcache_mutator.py185CODE
LOWfuzz/memcache_mutator.py251CODE
Structural Annotation Overuse18 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/dragonfly/replication_specific_test.py404 # Step 1: Populate master with 100 streams, each containing 200 entriesCOMMENT
LOWtests/dragonfly/replication_specific_test.py413 # Step 2: Trim each stream to a random size between 70 and 200COMMENT
LOWtests/dragonfly/replication_specific_test.py427 # 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
AI Slop Vocabulary8 hits · 23 pts
SeverityFileLineSnippetContext
MEDIUMtests/dragonfly/valkey_tcl/run-stream-tests.sh3# Exits 0 only if every non-skipped test passes (harness returns 1 on any failure).COMMENT
MEDIUMtests/dragonfly/valkey_tcl/run-stream-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-stream-tests.sh26# The harness's set_executable_path.tcl requires an executable src/valkey-server to exist,COMMENT
MEDIUMtests/dragonfly/valkey_tcl/run-stream-tests.sh98# Feed the harness a clean skipfile (strip comments and blank lines). A missing skiplist wouldCOMMENT
MEDIUMtests/dragonfly/valkey_tcl/run-stream-tests.sh112# --timeout bounds a single stuck test (the harness aborts the run on timeout); the outerCOMMENT
MEDIUMtests/dragonfly/valkey_tcl/run-stream-tests.sh116set +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 + stream/pubsub test files into ./upstream (gitignored),COMMENT
MEDIUM.github/workflows/ci.yml271 # tcl runs the harness; redis-tools + iproute2 (ss) for the fail-closed readiness probe.COMMENT
Unused Imports24 hits · 22 pts
SeverityFileLineSnippetContext
LOWtools/cache_testing.py3CODE
LOWtools/defrag_mem_test.py4CODE
LOWtools/defrag_mem_test.py5CODE
LOWtools/release_notes_generator.py30CODE
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.py808 # 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.sh5# Usage:COMMENT
LOWsrc/common/heap_size.h10// Example usage:COMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/dragonfly/replication_specific_test.py404 # Step 1: Populate master with 100 streams, each containing 200 entriesCOMMENT
LOWtests/dragonfly/replication_specific_test.py413 # Step 2: Trim each stream to a random size between 70 and 200COMMENT
LOWtests/dragonfly/replication_specific_test.py427 # 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
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtools/release_notes_generator.py99# generated files, large refactors) would otherwise dominate the context windowCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
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
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/dragonfly/connection_test.py2647CODE
LOWtests/dragonfly/utility.py514CODE
LOWtests/dragonfly/seeder/__init__.py150CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/release_notes_generator.py129logger = logging.getLogger(__name__)CODE
LOWtests/fakeredis/test/test_hypothesis/__init__.py1__all__ = [CODE