Repository Analysis

dragonflydb/dragonfly

A modern replacement for Redis and Memcached

6.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dragonflydb/dragonfly, a C++ project with 30,868 GitHub stars. SynthScan v2.0 examined 157,766 lines of code across 639 source files, recording 998 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 6.9 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).

6.9
Adjusted Score
6.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
30.9K
Stars
C++
Language
157.8K
Lines of Code
639
Files
998
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 1MEDIUM 84LOW 913

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 998 distinct pattern matches across 16 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 Identifiers507 hits · 422 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
LOWtests/dragonfly/cluster_test.py40def monotonically_increasing_port_number():CODE
LOWtests/dragonfly/cluster_test.py229async def wait_for_ft_index_creation(client, idx_name, timeout=5):CODE
LOWtests/dragonfly/cluster_test.py255async def check_for_no_state_status(admin_clients):CODE
LOWtests/dragonfly/cluster_test.py285 async def test_cluster_commands_fails_when_not_emulate(self, async_client: aioredis.Redis):CODE
LOWtests/dragonfly/cluster_test.py297 def test_cluster_slots_command(self, df_server, cluster_client: RedisCluster):CODE
LOWtests/dragonfly/cluster_test.py302 def test_cluster_help_command(self, cluster_client: RedisCluster):CODE
LOWtests/dragonfly/cluster_test.py320 def test_cluster_slots_command(self, df_server, cluster_client: RedisCluster):CODE
LOWtests/dragonfly/cluster_test.py362async def test_emulated_cluster_with_replicas(df_factory):CODE
LOWtests/dragonfly/cluster_test.py466async def test_cluster_managed_service_info(df_factory):CODE
LOWtests/dragonfly/cluster_test.py660async def test_cluster_slot_ownership_changes(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/cluster_test.py1785async def test_cluster_replication_migration(CODE
LOWtests/dragonfly/cluster_test.py1859async def test_start_replication_during_migration(CODE
LOWtests/dragonfly/cluster_test.py1923async def test_keys_expiration_during_migration(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/cluster_test.py1966async def test_snapshoting_during_migration(CODE
LOWtests/dragonfly/cluster_test.py2056async def test_cluster_migration_cancel(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/cluster_test.py2112async def test_cluster_migration_huge_container(df_factory: DflyInstanceFactory):CODE
LOWtests/dragonfly/cluster_test.py2170async def test_cluster_migration_while_seeding(CODE
LOWtests/dragonfly/cluster_test.py2226async def test_cluster_migrations_sequence(CODE
LOWtests/dragonfly/cluster_test.py789async def test_cluster_replica_sets_non_owned_keys(df_factory: DflyInstanceFactory):STRING
LOWtests/dragonfly/cluster_test.py897async def test_cluster_flush_slots_after_config_change(df_factory: DflyInstanceFactory):STRING
LOWtests/dragonfly/cluster_test.py1017async def test_cluster_blocking_command(df_server):STRING
LOWtests/dragonfly/cluster_test.py1060async def test_blocking_commands_cancel(df_factory, df_seeder_factory):STRING
LOWtests/dragonfly/cluster_test.py1094async def test_cluster_native_client(STRING
LOWtests/dragonfly/cluster_test.py1334async def test_cluster_flushall_during_migration(STRING
LOWtests/dragonfly/cluster_test.py1386async def test_cluster_data_migration(df_factory: DflyInstanceFactory, interrupt: bool):STRING
LOWtests/dragonfly/cluster_test.py1461async def test_migration_serializer_expired_fields(df_factory):STRING
LOWtests/dragonfly/cluster_test.py1503async def test_migration_with_key_ttl(df_factory):STRING
LOWtests/dragonfly/cluster_test.py1546async def test_network_disconnect_during_migration(df_factory, proxy_factory):STRING
LOWtests/dragonfly/cluster_test.py1605async def test_cluster_fuzzymigration(STRING
LOWtests/dragonfly/cluster_test.py1744async def test_cluster_config_reapply(df_factory: DflyInstanceFactory):STRING
LOWtests/dragonfly/cluster_test.py2392async def test_replicate_disconnect_cluster(STRING
LOWtests/dragonfly/cluster_test.py2460 async def is_first_master_conn_down(conn):STRING
LOWtests/dragonfly/cluster_test.py2489def is_offset_eq_master_repl_offset(replication_info: str):STRING
LOWtests/dragonfly/cluster_test.py2509async def test_replicate_redis_cluster(redis_cluster, df_factory, df_seeder_factory):STRING
LOWtests/dragonfly/cluster_test.py2565async def test_replicate_disconnect_redis_cluster(STRING
LOWtests/dragonfly/cluster_test.py2654async def test_cluster_memory_consumption_migration(df_factory: DflyInstanceFactory):STRING
LOWtests/dragonfly/cluster_test.py2703async def test_migration_timeout_on_sync(df_factory: DflyInstanceFactory, df_seeder_factory):STRING
LOWtests/dragonfly/cluster_test.py2778async def test_migration_one_after_another(df_factory: DflyInstanceFactory, df_seeder_factory):STRING
LOWtests/dragonfly/cluster_test.py2851async def test_migration_rebalance_node(df_factory: DflyInstanceFactory, df_seeder_factory):STRING
LOWtests/dragonfly/cluster_test.py2995async def test_cluster_sharded_pub_sub(df_factory: DflyInstanceFactory):STRING
LOWtests/dragonfly/cluster_test.py3039async def test_cluster_sharded_pubsub_shard_commands(df_factory: DflyInstanceFactory):STRING
LOWtests/dragonfly/cluster_test.py3081async def test_cluster_migration_errors_num(df_factory: DflyInstanceFactory):STRING
LOWtests/dragonfly/cluster_test.py3126async def test_cluster_sharded_pub_sub_migration(df_factory: DflyInstanceFactory):STRING
447 more matches not shown…
Over-Commented Block232 hits · 230 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/search_test.py1281 assert result[0] == 10COMMENT
LOWtests/dragonfly/search_test.py1301 # "2",COMMENT
LOWtests/dragonfly/search_test.py1321 # result = await async_client.execute_command(COMMENT
LOWtests/dragonfly/search_test.py1341 # See: src/core/search/indices.cc:622 - GeoIndex::RadiusSearch doesn't sort resultsCOMMENT
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.yaml121 # -- TLS certificateCOMMENT
LOWcontrib/charts/dragonfly/values.yaml201 # kind: ClusterIssuerCOMMENT
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
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/simd_op.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.h1261 // we extract local_depth bits from the left part of the hash. Since we extended local_depth,COMMENT
LOWsrc/core/dash_internal.h1281 // of items with the same bucket id, say 0. Lots of items will go to the initial segmentCOMMENT
LOWsrc/core/dash_internal.h1501COMMENT
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/qlist.h1// Copyright 2024, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/ptr_vector.h1// Copyright 2024, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/simd_op.h1// Copyright 2026, DragonflyDB authors. All rights reserved.COMMENT
LOWsrc/core/simd_op.h21COMMENT
LOWsrc/core/allocation_tracker.h1// Copyright 2024, DragonflyDB authors. All rights reserved.COMMENT
172 more matches not shown…
Decorative Section Separators61 hits · 210 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
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.sh321# ─── Summary ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/server/serializer_base.h122// ┌────────────────────┐ ┌───────────────────┐COMMENT
MEDIUMsrc/server/serializer_base.h125// └────────┬───────────┘ └────────┬──────────┘COMMENT
MEDIUMsrc/server/serializer_base.h128// ┌───────────────────────────────────────────────┐COMMENT
MEDIUMsrc/server/serializer_base.h131// └────────────────────┬──────────────────────────┘COMMENT
MEDIUMsrc/server/serializer_base.h134// ┌───────────────────────────────────────────────┐COMMENT
MEDIUMsrc/server/serializer_base.h137// └────────────────────┬──────────────────────────┘COMMENT
MEDIUMsrc/server/serializer_base.h139// ┌───────────┴───────────┐COMMENT
MEDIUMsrc/server/serializer_base.h141// ┌─────────────────┐ ┌──────────────────────┐COMMENT
MEDIUMsrc/server/serializer_base.h145// └────────┬────────┘ └──────────┬───────────┘COMMENT
MEDIUMsrc/server/serializer_base.h148// ┌───────────────────────────────────────────────┐COMMENT
1 more matches not shown…
Excessive Try-Catch Wrapping66 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_test.py82 except Exception:CODE
LOWtests/dragonfly/cluster_test.py3630 except Exception:STRING
LOWtests/dragonfly/instance.py524 except Exception:CODE
LOWtests/dragonfly/instance.py529 except Exception as e:CODE
LOWtests/dragonfly/conftest.py67 except Exception:CODE
LOWtests/dragonfly/conftest.py115 except Exception:CODE
LOWtests/dragonfly/conftest.py125 except Exception:CODE
LOWtests/dragonfly/conftest.py339 except Exception:CODE
LOWtests/dragonfly/conftest.py341 except Exception as e:CODE
LOWtests/dragonfly/search_benchmark_utils.py168 except Exception as e:CODE
LOWtests/dragonfly/acl_family_test.py228 except Exception as e:CODE
LOWtests/dragonfly/connection_test.py227 except Exception:STRING
LOWtests/dragonfly/connection_test.py1403 except Exception:STRING
LOWtests/dragonfly/connection_test.py1483 except Exception:STRING
LOWtests/dragonfly/connection_test.py1498 except Exception:STRING
LOWtests/dragonfly/utility.py737 except Exception as e:CODE
MEDIUMtests/dragonfly/replication_test.py3238def replicate_inside_multi():CODE
LOWtests/dragonfly/replication_test.py5044 except Exception:CODE
LOWtests/dragonfly/replication_test.py5056 except Exception:CODE
LOWtests/dragonfly/replication_test.py3937 except Exception as e:STRING
LOWtests/dragonfly/replication_test.py3947 except Exception:STRING
LOWtests/dragonfly/eval_test.py499 except Exception:CODE
LOWtests/dragonfly/eval_test.py510 except Exception:CODE
LOWtests/dragonfly/shutdown_test.py103 except Exception as e:CODE
MEDIUMtests/dragonfly/search_test.py836def test_redis_om(df_server):CODE
LOWtests/dragonfly/search_test.py965 except Exception:CODE
LOWtests/dragonfly/search_test.py969 except Exception:CODE
LOWtests/dragonfly/search_test.py978 except Exception:CODE
LOWtests/dragonfly/search_test.py1430 except Exception as e:CODE
LOWtests/dragonfly/snapshot_test.py269 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py284 except Exception as e:CODE
LOWtests/dragonfly/snapshot_test.py692 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py790 except Exception:CODE
LOWtests/dragonfly/snapshot_test.py804 except Exception:CODE
MEDIUMtests/dragonfly/snapshot_test.py265def save():CODE
MEDIUMtests/dragonfly/snapshot_test.py280def save_operation(operation_id):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
LOWtests/dragonfly/valkey_search/util.py55 except Exception:CODE
LOWtests/dragonfly/valkey_search/util.py80 except Exception:CODE
LOWtests/fakeredis/test/conftest.py15 except Exception:CODE
6 more matches not shown…
Unused Imports38 hits · 36 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/dragonfly/seeder_test.py7CODE
LOWtests/dragonfly/seeder_test.py8CODE
LOWtests/dragonfly/server_family_test.py11CODE
LOWtests/dragonfly/acl_family_test.py6CODE
LOWtests/dragonfly/sentinel_test.py8CODE
LOWtests/dragonfly/sentinel_test.py9CODE
LOWtests/dragonfly/shutdown_test.py5CODE
LOWtests/dragonfly/set_test.py2CODE
LOWtests/dragonfly/set_test.py3CODE
LOWtests/dragonfly/set_test.py4CODE
LOWtests/dragonfly/json_test.py4CODE
LOWtests/dragonfly/config_test.py4CODE
LOWtests/dragonfly/config_test.py5CODE
LOWtests/dragonfly/cluster_mgr_test.py5CODE
LOWtests/dragonfly/tls_conf_test.py3CODE
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
LOWsrc/core/generate_bin_sizes.py4CODE
LOWsrc/core/generate_bin_sizes.py5CODE
Self-Referential Comments13 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMtests/dragonfly/cluster_test.py47# Create a generator objectCOMMENT
MEDIUMtests/dragonfly/connection_test.py546 # Create a publisher that sends constantly messages to the channelSTRING
MEDIUMtests/dragonfly/replication_test.py2158 # Create a new aux index on masterCOMMENT
MEDIUMtests/dragonfly/replication_test.py2766 # Create an empty hashmapSTRING
MEDIUMtests/dragonfly/replication_test.py2820 # Create an empty hashmapSTRING
MEDIUMtests/dragonfly/replication_test.py2869 # Create a search index with HNSW vector field on the new masterSTRING
MEDIUMtests/dragonfly/search_test.py1031 # Create an index with all field types on masterCOMMENT
MEDIUMtests/dragonfly/memory_test.py43 # 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__.py31 # Create a mock module for valkey_search_test_caseCOMMENT
MEDIUM.github/workflows/docker-dev-release.yml134 # Create a temporary container and copy the binaryCOMMENT
MEDIUM.github/workflows/docker-dev-release.yml139 # Create a tar archiveCOMMENT
MEDIUM.github/workflows/ci.yml166 # Create a rule that automatically prints stacktrace upon segfaultCOMMENT
Deep Nesting34 hits · 30 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/cluster_test.py1605CODE
LOWtests/dragonfly/cluster_test.py1687CODE
LOWtests/dragonfly/instance.py65CODE
LOWtests/dragonfly/conftest.py72CODE
LOWtests/dragonfly/tiering_test.py429CODE
LOWtests/dragonfly/tiering_test.py462CODE
LOWtests/dragonfly/connection_test.py256CODE
LOWtests/dragonfly/connection_test.py2613CODE
LOWtests/dragonfly/connection_test.py62CODE
LOWtests/dragonfly/connection_test.py2635CODE
LOWtests/dragonfly/utility.py270CODE
LOWtests/dragonfly/utility.py710CODE
LOWtests/dragonfly/utility.py982CODE
LOWtests/dragonfly/replication_test.py58CODE
LOWtests/dragonfly/seeder/__init__.py413CODE
LOWtests/dragonfly/seeder/__init__.py471CODE
LOWtests/fakeredis/test/test_hypothesis/base.py263CODE
LOWfuzz/resp_mutator.py373CODE
LOWfuzz/memcache_mutator.py83CODE
LOWfuzz/memcache_mutator.py176CODE
LOWfuzz/memcache_mutator.py236CODE
Structural Annotation Overuse18 hits · 24 pts
SeverityFileLineSnippetContext
LOWtests/dragonfly/replication_test.py3174 # Step 1: Populate master with 100 streams, each containing 200 entriesSTRING
LOWtests/dragonfly/replication_test.py3183 # Step 2: Trim each stream to a random size between 70 and 200STRING
LOWtests/dragonfly/replication_test.py3197 # Step 3: Trim all streams to 0STRING
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.md74## Step 4 - voilàCOMMENT
Redundant / Tautological Comments10 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_test.py3844 # Check if replica data is consistentSTRING
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.yml124 # Check if version starts with a release version (v*.*.*)COMMENT
LOWfuzz/memcache_mutator.py191 # Check if this is a store command that has a data blockCOMMENT
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
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.py1636CODE
LOWtests/dragonfly/utility.py514CODE
LOWtests/dragonfly/seeder/__init__.py152CODE
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
Verbosity Indicators3 hits · 1 pts
SeverityFileLineSnippetContext
LOWtests/dragonfly/replication_test.py3174 # Step 1: Populate master with 100 streams, each containing 200 entriesSTRING
LOWtests/dragonfly/replication_test.py3183 # Step 2: Trim each stream to a random size between 70 and 200STRING
LOWtests/dragonfly/replication_test.py3197 # Step 3: Trim all streams to 0STRING