Repository Analysis

freenet/freenet-core

Declare your digital independence

9.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of freenet/freenet-core, a Rust project with 3,088 GitHub stars. SynthScan v2.0 examined 605,507 lines of code across 738 source files, recording 5969 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 9.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).

9.9
Adjusted Score
9.9
Raw Score
100%
Time Factor
2026-08-29
Last Push
3.1K
Stars
Rust
Language
605.5K
Lines of Code
738
Files
6.0K
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 2MEDIUM 453LOW 5514

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 5969 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.

Over-Commented Block5083 hits · 3898 pts
SeverityFileLineSnippetContext
LOWCargo.toml161COMMENT
LOWCargo.toml181# (fdev, riverctl, River UI, the test harness) explicitly pins native.COMMENT
LOWCargo.toml201# (`secrets_dir/node_kek`, 0o600) or systemd credentialsCOMMENT
LOWCargo.toml221# codegen-units = 1COMMENT
LOWdeny.toml1# cargo-deny configuration for freenet-core.COMMENT
LOW.config/nextest.toml1[profile.ci]COMMENT
LOW.config/nextest.toml21filter = "test(test_interest_renewal)"COMMENT
LOW.config/nextest.toml41filter = "test(test_fanout_liveness)"COMMENT
LOW.config/nextest.toml61# #5227 graceful-shutdown exit code. The whole subject of this test is a signalCOMMENT
LOWcrates/replay-harness/tests/scenarios_pin.rs1//! Pin every scenario against every controller. Adding a newCOMMENT
LOWcrates/replay-harness/tests/scenarios_pin.rs21use replay_harness::{Controller, RateDecision, Replayer};COMMENT
LOWcrates/replay-harness/tests/scenarios_pin.rs41 // reference path (which says "do NOT fire") is exactly the signalCOMMENT
LOWcrates/replay-harness/src/rolling.rs1//! Per-peer rolling RTT statistics with a baseline window and a recent window.COMMENT
LOWcrates/replay-harness/src/rolling.rs21COMMENT
LOWcrates/replay-harness/src/lib.rs1//! Offline replay harness for shadow-RTT controllers.COMMENT
LOWcrates/replay-harness/src/scenarios.rs1//! Synthetic scenarios — programmatic RTT-sample streams that pin specificCOMMENT
LOWcrates/replay-harness/src/replayer.rs201///COMMENT
LOWcrates/replay-harness/src/main.rs21COMMENT
LOWcrates/replay-harness/src/scenarios/churning_peers.rs1//! `churning_peers` — peers join and leave every 30 s; RTTs stay healthy.COMMENT
LOW…rness/src/scenarios/reference_diverges_from_overlay.rs1//! `reference_diverges_from_overlay` — overlay inflates, reference stays flat.COMMENT
LOW…tes/replay-harness/src/scenarios/single_packet_loss.rs1//! `single_packet_loss` — one peer's RTT spikes transiently, then returns.COMMENT
LOW…play-harness/src/scenarios/reference_tracks_overlay.rs1//! `reference_tracks_overlay` — overlay and reference inflate together.COMMENT
LOW…tes/replay-harness/src/scenarios/slow_routing_drift.rs1//! `slow_routing_drift` — the baseline genuinely drifts upward over 30 min.COMMENT
LOW…ates/replay-harness/src/scenarios/idle_steady_state.rs1//! `idle_steady_state` — 5 peers, each anchored by a fast t=0 sample,COMMENT
LOW…s/replay-harness/src/scenarios/correlated_inflation.rs1//! `correlated_inflation` — every peer's RTT rises together.COMMENT
LOWcrates/replay-harness/src/scenarios/cold_start.rs1//! `cold_start` — brand-new peers on a slow path, no baseline history.COMMENT
LOWcrates/replay-harness/src/controllers/rfc_draft.rs1//! `RfcDraft` — the algorithm sketched in [#4074][issue].COMMENT
LOWcrates/replay-harness/src/controllers/ledbat.rs1//! `LedbatPlusPlus` — a stripped-down LEDBAT++ to reproduce the death spiral.COMMENT
LOWcrates/replay-harness/src/controllers/ledbat.rs21//! runs slow-start, and has a richer gain schedule. We keep only what is neededCOMMENT
LOWcrates/core/Cargo.toml161COMMENT
LOWcrates/core/Cargo.toml261wasmtime-backend = ["dep:wasmtime"]COMMENT
LOWcrates/core/Cargo.toml281# Disallow `let _ = expr` when `expr` is #[must_use].COMMENT
LOWcrates/core/build.rs1use std::process::Command;COMMENT
LOWcrates/core/proptest-regressions/router.txt1# Seeds for failure cases proptest has generated in the past. It isCOMMENT
LOWcrates/core/proptest-regressions/transport/ledbat.txt1# Seeds for failure cases proptest has generated in the past. It isCOMMENT
LOWcrates/core/tests/origin_attestation_scope.rs1//! Live end-to-end verification of the connection-scope gate on attestedCOMMENT
LOWcrates/core/tests/origin_attestation_scope.rs21//! Exercised with a real TCP forwarder listening off-loopback and dialingCOMMENT
LOWcrates/core/tests/origin_attestation_scope.rs81COMMENT
LOWcrates/core/tests/hosted_mode_import.rs1//! Live end-to-end integration test for the secrets IMPORT endpointCOMMENT
LOWcrates/core/tests/graceful_shutdown_exit_code.rs1//! A graceful shutdown must make the `freenet` PROCESS exit 0 (#5227).COMMENT
LOWcrates/core/tests/graceful_shutdown_exit_code.rs21//!COMMENT
LOWcrates/core/tests/graceful_shutdown_exit_code.rs41#![cfg(unix)]COMMENT
LOWcrates/core/tests/graceful_shutdown_exit_code.rs101 let child = Command::new(freenet_bin())COMMENT
LOWcrates/core/tests/simulation_integration.rs1//! Deterministic simulation tests using Turmoil.COMMENT
LOWcrates/core/tests/simulation_integration.rs141COMMENT
LOWcrates/core/tests/simulation_integration.rs761COMMENT
LOWcrates/core/tests/simulation_integration.rs841COMMENT
LOWcrates/core/tests/simulation_integration.rs1481/// with ~150ms RTT. The root cause was MIN_RTO (200ms) < RTT + ACK_CHECK_INTERVAL (244ms).COMMENT
LOWcrates/core/tests/simulation_integration.rs1681/// Source detection threshold: peers within 5% of ring distance to contractCOMMENT
LOWcrates/core/tests/simulation_integration.rs1701/// 2. Wait for topology registrationCOMMENT
LOWcrates/core/tests/simulation_integration.rs1921/// This test validates the core eventual consistency property of Freenet'sCOMMENT
LOWcrates/core/tests/simulation_integration.rs1961 .assert_ok()COMMENT
LOWcrates/core/tests/simulation_integration.rs1981/// 2. Later broadcasts would compute deltas based on the wrong cached summaryCOMMENT
LOWcrates/core/tests/simulation_integration.rs2001/// - `GlobalTestMetrics::delta_sends()` / `full_state_sends()` - broadcast statisticsCOMMENT
LOWcrates/core/tests/simulation_integration.rs2021///COMMENT
LOWcrates/core/tests/simulation_integration.rs2241///COMMENT
LOWcrates/core/tests/simulation_integration.rs2361 success_count >= 4,COMMENT
LOWcrates/core/tests/simulation_integration.rs2381/// complete successfully under the refactored handler and that the boundedCOMMENT
LOWcrates/core/tests/simulation_integration.rs2401///COMMENT
LOWcrates/core/tests/simulation_integration.rs2421/// This test currently FAILS and reproduces a concrete regression thatCOMMENT
5023 more matches not shown…
Decorative Section Separators360 hits · 1150 pts
SeverityFileLineSnippetContext
MEDIUMcrates/core/Cargo.toml263# ==============================================================================COMMENT
MEDIUMcrates/core/Cargo.toml268# ==============================================================================COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs11163 // ── Phase 1: Convergence (30 virtual minutes, no faults) ──────────────────COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs11209 // ── Phase 2: Fault injection (5 virtual minutes, 20% message loss) ────────COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs11255 // ── Phase 3: Recovery (25 virtual minutes, faults cleared) ────────────────COMMENT
MEDIUMcrates/core/src/message.rs1210// ── Compile-time invariant checks ──────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs7690 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs7697 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8011 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8024 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8147 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8151 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8205 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8209 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8337 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8345 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8427 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8433 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9304 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9309 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9720 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9728 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9803 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9822 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/fair_queue.rs1368 // ── Priority tiering (#4534) ──────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/fair_queue.rs1368 // ── Priority tiering (#4534) ──────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/executor.rs2183 // ── is_wasm_timeout predicate (#4861) ─────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/executor.rs2183 // ── is_wasm_timeout predicate (#4861) ─────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/executor.rs2637 // ── ContractQueueFull predicate (issue #4251) ─────────────────────COMMENT
MEDIUMcrates/core/src/contract/executor.rs2637 // ── ContractQueueFull predicate (issue #4251) ─────────────────────COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs40/// ┌─────────────┐COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs41/// │ SlowStart │─────────────────────────────────────────────────┐COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs42/// └──────┬──────┘ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs45/// ┌────────────────────────┐ (first time only) │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs46/// │ WaitingForSlowdown │◄─────────────────────┐ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs47/// └──────────┬─────────────┘ │ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs50/// ┌──────────────┐◄───────────────────────────────│───────────────│───┐COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs52/// └──────┬───────┘ transitions on next ACK) │ │ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs55/// ┌──────────┐ │ │ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs57/// └────┬─────┘ │ │ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs60/// ┌────────────┐ │ │ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs62/// └─────┬──────┘ │ │ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs65/// ┌──────────────────────┐ │ │ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs66/// │ CongestionAvoidance │────────────────────────┴───────────────┘ │COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs67/// └──────────┬───────────┘◄───────────────────────────────────────────┘COMMENT
MEDIUMcrates/core/src/transport/ledbat/state.rs69/// └────────────────────────────────────────────────────────┘COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs16/// ┌────────────────┐COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs19/// └───────┬────────┘COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs22/// ┌────────────────┐COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs25/// └───────┬────────┘COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs28/// ┌────────────────┐COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs31/// └───────┬────────┘COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs34/// ┌────────────────┐COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs37/// └───────┬────────┘COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs39/// └────────────────────────────────► ProbeBWCOMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs93/// ┌──────────┐ ┌─────────┐ ┌────────┐ ┌──────┐COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs96/// └──────────┘ └─────────┘ └────────┘ └──┬───┘COMMENT
MEDIUMcrates/core/src/transport/bbr/state.rs98/// └────────────────────────────────────────────────┘COMMENT
MEDIUM…tes/core/src/transport/peer_connection/piped_stream.rs13//! ┌──────────────┐ fragments ┌──────────────┐ forward ┌──────────────┐COMMENT
MEDIUM…tes/core/src/transport/peer_connection/piped_stream.rs14//! │ Source │ ───────────────▶ │ Intermediate │ ─────────────▶ │ Destination │COMMENT
300 more matches not shown…
Structural Annotation Overuse177 hits · 294 pts
SeverityFileLineSnippetContext
LOWcrates/core/tests/simulation_integration.rs2080 // Step 1: Gateway puts contract with initial state and subscribesCOMMENT
LOWcrates/core/tests/simulation_integration.rs2089 // Step 2: Node 1 subscribes - will receive full state from gatewayCOMMENT
LOWcrates/core/tests/simulation_integration.rs2094 // Step 3: Node 2 subscribes - will receive full state from gatewayCOMMENT
LOWcrates/core/tests/simulation_integration.rs2099 // Step 4: Node 3 subscribes - will receive full state from gatewayCOMMENT
LOWcrates/core/tests/simulation_integration.rs2104 // Step 5: Gateway updates - broadcasts to all subscribersCOMMENT
LOWcrates/core/tests/simulation_integration.rs2114 // Step 6: Node 1 updates - broadcasts to subscribersCOMMENT
LOWcrates/core/tests/simulation_integration.rs2122 // Step 7: Node 2 updates - broadcasts to subscribersCOMMENT
LOWcrates/core/tests/simulation_integration.rs3029 // Step 1: Gateway puts contract with v1COMMENT
LOWcrates/core/tests/simulation_integration.rs3038 // Step 2: Node 1 subscribes - receives v1COMMENT
LOWcrates/core/tests/simulation_integration.rs3043 // Step 3: Node 1 updates to v5 - creates version divergenceCOMMENT
LOWcrates/core/tests/simulation_integration.rs3051 // Step 4: Node 2 subscribesCOMMENT
LOWcrates/core/tests/simulation_integration.rs3056 // Step 5: Gateway updates to v10 - broadcasts to subscribersCOMMENT
LOWcrates/core/tests/operations.rs2404 // Step 1: pre-register a token → contract-id in the node's attested_contracts map.COMMENT
LOWcrates/core/tests/operations.rs2411 // Step 2: compile / load the delegate WASMCOMMENT
LOWcrates/core/tests/operations.rs2416 // Step 3: connect via WebSocket carrying the Bearer token.COMMENT
LOWcrates/core/tests/operations.rs2428 // Step 4: register the delegateCOMMENT
LOWcrates/core/tests/operations.rs2451 // Step 5: send an ApplicationMessage that causes the delegate to echo backCOMMENT
LOWcrates/core/tests/operations.rs2467 // Step 6: verify the delegate received the correct attested bytesCOMMENT
LOWcrates/core/tests/operations.rs2962 // Step 1: Peer-a puts the contract with initial stateCOMMENT
LOWcrates/core/tests/operations.rs2993 // Step 2: Gateway gets the contract (this caches it on gateway)COMMENT
LOWcrates/core/tests/operations.rs3024 // Step 3: Peer-a updates the contract with new stateCOMMENT
LOWcrates/core/tests/operations.rs3076 // Step 4: Verify gateway received the update by polling GETCOMMENT
LOWcrates/core/tests/operations.rs3215 // Step 1: PUT with subscribe=false (like River room creation)COMMENT
LOWcrates/core/tests/operations.rs3243 // Step 2: IMMEDIATELY Subscribe (don't wait for propagation to gateway)COMMENT
LOWcrates/core/tests/operations.rs3471 // Step 1: Peer-a puts the contract with initial stateCOMMENT
LOWcrates/core/tests/operations.rs3502 // Step 2: Gateway gets the contract (this caches it on gateway)COMMENT
LOWcrates/core/tests/operations.rs3533 // Step 3: Gateway subscribes to the contractCOMMENT
LOWcrates/core/tests/operations.rs3566 // Step 4: Peer-a PUTs an updated version of the contractCOMMENT
LOWcrates/core/tests/operations.rs3618 // Step 5: Gateway should receive an UPDATE notification because it's subscribedCOMMENT
LOWcrates/core/tests/operations.rs3804 // Step 1: Register the delegateCOMMENT
LOWcrates/core/tests/operations.rs3828 // Step 2: PUT contract via delegateCOMMENT
LOWcrates/core/tests/operations.rs3895 // Step 3: Verify contract state via direct GETCOMMENT
LOWcrates/core/tests/operations.rs3923 // Step 4: UPDATE contract via delegate (add a task)COMMENT
LOWcrates/core/tests/operations.rs3996 // Step 5: Verify updated state via direct GETCOMMENT
LOWcrates/core/tests/operations.rs4064 // Step 1: PUT contract directly so state exists in the storeCOMMENT
LOWcrates/core/tests/operations.rs4088 // Step 2: Register delegateCOMMENT
LOWcrates/core/tests/operations.rs4112 // Step 3: GET contract via delegateCOMMENT
LOWcrates/core/benches/transport/level0.rs249 // Step 1: SerializeCOMMENT
LOWcrates/core/benches/transport/level0.rs253 // Step 2: Encrypt in placeCOMMENT
LOWcrates/core/src/governance.rs228 // Step 3: median of trimmed sample.COMMENT
LOWcrates/core/src/governance.rs231 // Step 4: MAD — median of |x − median|. Compute deviations, sort,COMMENT
LOWcrates/core/src/governance.rs252 // Step 5: threshold = median + k × (σ-scaled MAD), clamped atCOMMENT
LOWcrates/core/src/governance.rs262 // Step 6: flag everyone whose ratio strictly exceeds the threshold.COMMENT
LOWcrates/core/src/governance.rs172 // Step 1: extract ratios, dropping any non-finite valuesCOMMENT
LOWcrates/core/src/governance.rs201 // Step 2: trim the top tail BEFORE computing the statistic so theCOMMENT
LOWcrates/core/src/topology.rs373 // Step 1: Collect dataCOMMENT
LOWcrates/core/src/topology.rs398 // Step 2: Process dataCOMMENT
LOWcrates/core/src/contract/governance.rs2038 // Step 1: build a distribution with one Borderline contract.COMMENT
LOWcrates/core/src/contract/governance.rs2061 // Step 2: force the MAD detector to collapseCOMMENT
LOW…contract/executor/pool_tests/wasm_conformance_tests.rs310 // Step 1: Summarize on bothCOMMENT
LOW…contract/executor/pool_tests/wasm_conformance_tests.rs317 // Step 2: Get delta from summary on bothCOMMENT
LOW…contract/executor/pool_tests/wasm_conformance_tests.rs324 // Step 3: Apply delta as update on bothCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4378 // Step 2: Simulate peer disconnect by dropping the connectionCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4387 // Step 3: Create a new peer at a DIFFERENT port (simulating restart with new ephemeral port)COMMENT
LOWcrates/core/src/transport/connection_handler.rs4686 // Step 2: Simulate gateway restart by dropping Gateway ACOMMENT
LOWcrates/core/src/transport/connection_handler.rs4694 // Step 3: Create Gateway B with NEW identity (Y) at the SAME addressCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4813 // Step 2: Simulate peer restart by dropping everything related to peer ACOMMENT
LOWcrates/core/src/transport/connection_handler.rs4822 // Step 3: Create peer B with NEW identity (Y) at the SAME addressCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4410 // Step 4: Peer B connects to gateway - this should work on first attemptCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4495 // Step 1: Peer A connects to gatewayCOMMENT
117 more matches not shown…
Verbosity Indicators171 hits · 286 pts
SeverityFileLineSnippetContext
LOWcrates/core/tests/simulation_integration.rs2080 // Step 1: Gateway puts contract with initial state and subscribesCOMMENT
LOWcrates/core/tests/simulation_integration.rs2089 // Step 2: Node 1 subscribes - will receive full state from gatewayCOMMENT
LOWcrates/core/tests/simulation_integration.rs2094 // Step 3: Node 2 subscribes - will receive full state from gatewayCOMMENT
LOWcrates/core/tests/simulation_integration.rs2099 // Step 4: Node 3 subscribes - will receive full state from gatewayCOMMENT
LOWcrates/core/tests/simulation_integration.rs2104 // Step 5: Gateway updates - broadcasts to all subscribersCOMMENT
LOWcrates/core/tests/simulation_integration.rs2114 // Step 6: Node 1 updates - broadcasts to subscribersCOMMENT
LOWcrates/core/tests/simulation_integration.rs2122 // Step 7: Node 2 updates - broadcasts to subscribersCOMMENT
LOWcrates/core/tests/simulation_integration.rs3029 // Step 1: Gateway puts contract with v1COMMENT
LOWcrates/core/tests/simulation_integration.rs3038 // Step 2: Node 1 subscribes - receives v1COMMENT
LOWcrates/core/tests/simulation_integration.rs3043 // Step 3: Node 1 updates to v5 - creates version divergenceCOMMENT
LOWcrates/core/tests/simulation_integration.rs3051 // Step 4: Node 2 subscribesCOMMENT
LOWcrates/core/tests/simulation_integration.rs3056 // Step 5: Gateway updates to v10 - broadcasts to subscribersCOMMENT
LOWcrates/core/tests/operations.rs2404 // Step 1: pre-register a token → contract-id in the node's attested_contracts map.COMMENT
LOWcrates/core/tests/operations.rs2411 // Step 2: compile / load the delegate WASMCOMMENT
LOWcrates/core/tests/operations.rs2416 // Step 3: connect via WebSocket carrying the Bearer token.COMMENT
LOWcrates/core/tests/operations.rs2428 // Step 4: register the delegateCOMMENT
LOWcrates/core/tests/operations.rs2451 // Step 5: send an ApplicationMessage that causes the delegate to echo backCOMMENT
LOWcrates/core/tests/operations.rs2467 // Step 6: verify the delegate received the correct attested bytesCOMMENT
LOWcrates/core/tests/operations.rs2962 // Step 1: Peer-a puts the contract with initial stateCOMMENT
LOWcrates/core/tests/operations.rs2993 // Step 2: Gateway gets the contract (this caches it on gateway)COMMENT
LOWcrates/core/tests/operations.rs3024 // Step 3: Peer-a updates the contract with new stateCOMMENT
LOWcrates/core/tests/operations.rs3076 // Step 4: Verify gateway received the update by polling GETCOMMENT
LOWcrates/core/tests/operations.rs3215 // Step 1: PUT with subscribe=false (like River room creation)COMMENT
LOWcrates/core/tests/operations.rs3243 // Step 2: IMMEDIATELY Subscribe (don't wait for propagation to gateway)COMMENT
LOWcrates/core/tests/operations.rs3471 // Step 1: Peer-a puts the contract with initial stateCOMMENT
LOWcrates/core/tests/operations.rs3502 // Step 2: Gateway gets the contract (this caches it on gateway)COMMENT
LOWcrates/core/tests/operations.rs3533 // Step 3: Gateway subscribes to the contractCOMMENT
LOWcrates/core/tests/operations.rs3566 // Step 4: Peer-a PUTs an updated version of the contractCOMMENT
LOWcrates/core/tests/operations.rs3618 // Step 5: Gateway should receive an UPDATE notification because it's subscribedCOMMENT
LOWcrates/core/tests/operations.rs3804 // Step 1: Register the delegateCOMMENT
LOWcrates/core/tests/operations.rs3828 // Step 2: PUT contract via delegateCOMMENT
LOWcrates/core/tests/operations.rs3895 // Step 3: Verify contract state via direct GETCOMMENT
LOWcrates/core/tests/operations.rs3923 // Step 4: UPDATE contract via delegate (add a task)COMMENT
LOWcrates/core/tests/operations.rs3996 // Step 5: Verify updated state via direct GETCOMMENT
LOWcrates/core/tests/operations.rs4064 // Step 1: PUT contract directly so state exists in the storeCOMMENT
LOWcrates/core/tests/operations.rs4088 // Step 2: Register delegateCOMMENT
LOWcrates/core/tests/operations.rs4112 // Step 3: GET contract via delegateCOMMENT
LOWcrates/core/benches/transport/level0.rs249 // Step 1: SerializeCOMMENT
LOWcrates/core/benches/transport/level0.rs253 // Step 2: Encrypt in placeCOMMENT
LOWcrates/core/src/governance.rs228 // Step 3: median of trimmed sample.COMMENT
LOWcrates/core/src/governance.rs231 // Step 4: MAD — median of |x − median|. Compute deviations, sort,COMMENT
LOWcrates/core/src/governance.rs252 // Step 5: threshold = median + k × (σ-scaled MAD), clamped atCOMMENT
LOWcrates/core/src/governance.rs262 // Step 6: flag everyone whose ratio strictly exceeds the threshold.COMMENT
LOWcrates/core/src/governance.rs172 // Step 1: extract ratios, dropping any non-finite valuesCOMMENT
LOWcrates/core/src/governance.rs201 // Step 2: trim the top tail BEFORE computing the statistic so theCOMMENT
LOWcrates/core/src/topology.rs373 // Step 1: Collect dataCOMMENT
LOWcrates/core/src/topology.rs398 // Step 2: Process dataCOMMENT
LOWcrates/core/src/contract/governance.rs2038 // Step 1: build a distribution with one Borderline contract.COMMENT
LOWcrates/core/src/contract/governance.rs2061 // Step 2: force the MAD detector to collapseCOMMENT
LOW…contract/executor/pool_tests/wasm_conformance_tests.rs310 // Step 1: Summarize on bothCOMMENT
LOW…contract/executor/pool_tests/wasm_conformance_tests.rs317 // Step 2: Get delta from summary on bothCOMMENT
LOW…contract/executor/pool_tests/wasm_conformance_tests.rs324 // Step 3: Apply delta as update on bothCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4378 // Step 2: Simulate peer disconnect by dropping the connectionCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4387 // Step 3: Create a new peer at a DIFFERENT port (simulating restart with new ephemeral port)COMMENT
LOWcrates/core/src/transport/connection_handler.rs4686 // Step 2: Simulate gateway restart by dropping Gateway ACOMMENT
LOWcrates/core/src/transport/connection_handler.rs4694 // Step 3: Create Gateway B with NEW identity (Y) at the SAME addressCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4813 // Step 2: Simulate peer restart by dropping everything related to peer ACOMMENT
LOWcrates/core/src/transport/connection_handler.rs4822 // Step 3: Create peer B with NEW identity (Y) at the SAME addressCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4410 // Step 4: Peer B connects to gateway - this should work on first attemptCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4495 // Step 1: Peer A connects to gatewayCOMMENT
111 more matches not shown…
AI Slop Vocabulary87 hits · 266 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml181# (fdev, riverctl, River UI, the test harness) explicitly pins native.COMMENT
MEDIUM.config/nextest.toml66# needs more headroom than the 240s default; without this the harness SIGKILLs itCOMMENT
MEDIUM…tes/replay-harness/src/scenarios/single_packet_loss.rs20//! (a robust controller ignores a single-connection transient); LEDBAT'sCOMMENT
MEDIUM…es/replay-harness/src/scenarios/single_peer_outlier.rs5//! median across peers to be robust against this case. A sane controllerCOMMENT
MEDIUMcrates/core/Cargo.toml225# Manual throughput benchmarks (test harness, no criterion, ~3 sec)COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs553 /// for robust coverage. Fails if any operation type has zero occurrences.COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs3660/// ## Fan-out width vs. the harness bootstrap ceiling (why N=8/16, not 40-80)COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs3715/// `notification_channel_pending` per the letter of #4233, the harness wouldCOMMENT
MEDIUMcrates/core/tests/simulation_integration.rs8142 // Asserting > 6 (bootstrap floor + at least one probe per node) is robustCOMMENT
MEDIUMcrates/core/tests/simulation_integration.rs13444// using the merged #4657 sim-harness: `enable_hosting_time_control` (aCOMMENT
MEDIUMcrates/core/tests/simulation_integration.rs13883// copies made greedy single-path routing robust because a copy was almostCOMMENT
MEDIUMcrates/core/tests/simulation_integration.rs16529#[ignore = "heavy larger-ring validation (6 × 48-peer sim runs); harness-limited, run manually: \COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs16904 // the mesh — robust participation so all N are real co-host targets.COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs8726 7, // max_connections — 7 ensures robust GET routing across topology variationsCODE
MEDIUMcrates/core/src/message.rs612 /// it is deliberately left unpinned: the R4b instrument is robust either wayCOMMENT
MEDIUMcrates/core/src/test_utils.rs1543 /// OFF by default (#4968), so the harness must opt in explicitly for theseCOMMENT
MEDIUMcrates/core/src/governance.rs14//! producing log-space cost/benefit ratios, compute a robust thresholdCOMMENT
MEDIUMcrates/core/src/governance.rs63/// statistical guidance), 5% top-trim (robust-statistics convention).COMMENT
MEDIUMcrates/core/src/deadlock_detection.rs189 /// caller's own cycle by thread id, so it is robust to any other deadlockCOMMENT
MEDIUMcrates/core/src/contract.rs2961 /// scan over our own source is more robust than runtime-subscriberCOMMENT
MEDIUMcrates/core/src/contract.rs4257 // PutResponse, not a specific Ok/Err, so the test is robust to theCOMMENT
MEDIUMcrates/core/src/operations.rs1284 // This is robust against renaming/moving the next function.COMMENT
MEDIUMcrates/core/src/contract/storages/redb.rs1052 // This is more robust than string matching on error messagesCOMMENT
MEDIUMcrates/core/src/contract/executor/runtime.rs1479 /// `.claude/rules/bug-prevention-patterns.md` (cheaper and more robustCOMMENT
MEDIUMcrates/core/src/transport/shadow_iface_tx.rs250/// the window mean per-second rate under its original name; `*_p50` (robustCOMMENT
MEDIUMcrates/core/src/transport/shadow_demand.rs193/// stay robust against other tests touching these monotonic statics.COMMENT
MEDIUMcrates/core/src/transport/shadow_demand.rs382/// distribution — `p50` is a more robust central-tendency signal than `mean`COMMENT
MEDIUMcrates/core/src/transport/shadow_demand.rs489/// the class ever pushed in a second), `*_p50` (robust central tendency for aCOMMENT
MEDIUMcrates/core/src/transport/shadow_demand.rs611 // Delta-based so this is robust to other tests touching the sameCOMMENT
MEDIUMcrates/core/src/transport/peer_connection.rs2831 /// upper bound well below the payload size — both robust underCOMMENT
MEDIUMcrates/core/src/transport/shadow_stats.rs20//! is a more robust central-tendency signal than `mean` for the bursty,COMMENT
MEDIUMcrates/core/src/transport/reference_ping.rs749 // robust test is to monkey-patch... we don't have that.COMMENT
MEDIUMcrates/core/src/transport/rolling_rtt_stats.rs12//! "current" RTT estimate, robust to a few outlier samples.COMMENT
MEDIUMcrates/core/src/transport/rolling_rtt_stats.rs167 // "median RTT over last 10 s" wording and is robust to aCOMMENT
MEDIUMcrates/core/src/transport/ledbat/controller.rs3447 /// - Very high RTT: GAIN should be 1.0 (aggressive to utilize bandwidth)COMMENT
MEDIUMcrates/core/src/transport/bbr/controller.rs671 // During Startup, ensure cwnd is large enough to utilize the minimum pacing rate.COMMENT
MEDIUMcrates/core/src/bin/commands/service/linux.rs444# fallback; this makes the intent explicit and robust.COMMENT
MEDIUMcrates/core/src/bin/commands/service/linux.rs899 /// comment containing a bracketed name is ignored), so this is robust toCOMMENT
MEDIUMcrates/core/src/server/client_api.rs1689 /// the `#[freenet_test]` harness setting `webapp_cache_dir` (pinned inCOMMENT
MEDIUMcrates/core/src/server/home_page/estimator.rs669 // Median absolute percentage error (robust to the heavy tails of latency /COMMENT
MEDIUMcrates/core/src/operations/update/op_ctx_task.rs4918 // (fmt-robust: match the field identifier, which survivesCOMMENT
MEDIUMcrates/core/src/operations/subscribe/tests.rs195 // brace-counted approach is the most robust against helperCOMMENT
MEDIUMcrates/core/src/client_events/user_op_rate_limit.rs181 // "Essentially full" AND holding at least one whole token. Within oneCOMMENT
MEDIUMcrates/core/src/ring/interest.rs1152 // Bytes differ. Trust the contract's semantic verdict when present (robustCOMMENT
MEDIUMcrates/core/src/ring/contract_ban_list.rs1204 // keeps this gate-ordering check robust against legitimateCOMMENT
MEDIUMcrates/core/src/wasm_runtime/engine/wasmtime_engine.rs206/// # Why this is robust against the runtime flavor (issue #4441 fix-up)COMMENT
MEDIUMcrates/core/src/wasm_runtime/engine/wasmtime_engine.rs206/// # Why this is robust against the runtime flavor (issue #4441 fix-up)COMMENT
MEDIUMcrates/core/src/node/op_state_manager.rs4561 // — disconnect cleanup must remain robust when the event loopCOMMENT
MEDIUMcrates/core/src/node/op_state_manager.rs4834 // remain robust during shutdown races.COMMENT
MEDIUMcrates/core/src/node/network_bridge/p2p_protoc.rs5992 /// robust and unambiguous.COMMENT
MEDIUMscripts/auto-update-canary_test.sh784# not a real node. So the two differ in how much of the harness executes, not inCOMMENT
MEDIUMscripts/auto-update-canary_test.sh1377# harness stopped capturing output.COMMENT
MEDIUMscripts/auto-update-canary_lifecycle_test.sh265# Gate B asserts exit 42; if the harness overwrites that with its own SIGTERMCOMMENT
MEDIUMscripts/auto-update-canary_lifecycle_test.sh210# harness -- not just through a stub that writes node.out itself.COMMENT
MEDIUMscripts/auto-update-canary_lifecycle_test.sh247# ...and the discriminating twin, through the same real harness: exit 42 with NOCOMMENT
MEDIUMscripts/release_driver_test.sh442# executes. That harness is scoped to main-flow reachability and does exactlyCOMMENT
MEDIUMscripts/install.sh14# On Linux it prefers a system service when it can elevate (root or sudo) -COMMENT
MEDIUMscripts/install.sh338# elevate (it runs at boot, survives logout, and is the most reliable choiceCOMMENT
MEDIUMscripts/test-install-sh.sh6# when it can elevate (root or sudo) and otherwise installs a user serviceCOMMENT
MEDIUMscripts/release_canary_wiring_test.sh1869# harness uses `bash -e`. That assumption is pinned immediately below -- addingCOMMENT
27 more matches not shown…
Redundant / Tautological Comments40 hits · 57 pts
SeverityFileLineSnippetContext
LOW…es/core/src/contract/executor/runtime/executor_impl.rs2308 /// # Return valueCOMMENT
LOWcrates/core/src/bin/commands/service/macos.rs389 # Check if this looks like a port-already-in-use failure.COMMENT
LOWdocker/freenet-gateway/freenet-gateway-startup.sh5# Check if required environment variables are setCOMMENT
LOWdocker/freenet-gateway/generate-keypair.sh9# Check if the keypair already existsCOMMENT
LOWscripts/run_benchmarks.sh70 # Check if running in VMCOMMENT
LOWscripts/run_benchmarks.sh89 # Check if at maxCOMMENT
LOWscripts/pre-commit-clippy.sh50 # Check if this package is in the workspace or standaloneCOMMENT
LOWscripts/install.sh141# Check if a command existsCOMMENT
LOWscripts/install.sh224# Check if directory is in PATHCOMMENT
LOWscripts/install.sh684 # Check if freenet is already installed and runningCOMMENT
LOWscripts/install.sh686 # Check if freenet is runningCOMMENT
LOWscripts/validate-worktree.sh10# Check if we're in the main worktree directoryCOMMENT
LOWscripts/init-gateway.sh5# Check if required parameters are providedCOMMENT
LOWscripts/update-remote-gws.sh261 # Check if timeout command existsCOMMENT
LOWscripts/release.sh350# Check if a step is completedCOMMENT
LOWscripts/release.sh596 # Check if we're on main branchCOMMENT
LOWscripts/release.sh611 # Check if we're up to date with originCOMMENT
LOWscripts/release.sh621 # Check if main branch CI is green (required before skipping tests on release PR)COMMENT
LOWscripts/release.sh716 # Check if version is already updated in Cargo.tomlCOMMENT
LOWscripts/release.sh822 # Check if a release PR for this version already exists or was mergedCOMMENT
LOWscripts/release.sh864 # Check if there are any changes to commitCOMMENT
LOWscripts/release.sh869 # Check if we're already on mainCOMMENT
LOWscripts/release.sh1190 # Check if freenet is already publishedCOMMENT
LOWscripts/release.sh1207 # Check if fdev is already publishedCOMMENT
LOWscripts/release.sh1244 # Check if release already existsCOMMENT
LOWscripts/release.sh1258 # Check if tag already existsCOMMENT
LOWscripts/release.sh1266 # Check if tag exists on remoteCOMMENT
LOWscripts/release.sh1523 # Check if all required binaries are already availableCOMMENT
LOWscripts/release.sh1690 # Check if matrix-commander is availableCOMMENT
LOWscripts/release.sh1734 # Check if river repo is available (we use cargo run, not installed binary)COMMENT
LOWscripts/release.sh1741 # Check if Freenet node is running (required for riverctl)COMMENT
LOWscripts/release.sh1754 # Check if we have the room in local storage with signing keyCOMMENT
LOWscripts/deploy-to-gateways.sh197 # Check if artifact is older than 12 hoursCOMMENT
LOWscripts/deploy-to-gateways.sh282 # Check if binary existsCOMMENT
LOWscripts/deploy-to-gateways.sh420 # Check if all succeededCOMMENT
LOWscripts/deploy-local-gateway.sh111# Check if running with sufficient privilegesCOMMENT
LOWscripts/deploy-local-gateway.sh263 # Check if unit file exists by querying systemctl directlyCOMMENT
LOWscripts/deploy-local-gateway.sh311 # Check if unit file exists by querying systemctl directly.COMMENT
LOW.github/scripts/check_banned_patterns.py664 # Read file content from HEAD (not working tree) so the analysis reflectsCOMMENT
LOW.github/scripts/pt_sync.py34 # Check if there is already a comment containing a Pivotal Tracker story URLCOMMENT
Fake / Example Data18 hits · 11 pts
SeverityFileLineSnippetContext
LOW…t/executor/pool_tests/non_idempotent_detector_tests.rs39fn fake_key() -> ContractKey {CODE
LOW…t/executor/pool_tests/non_idempotent_detector_tests.rs50 let key = fake_key();CODE
LOW…t/executor/pool_tests/non_idempotent_detector_tests.rs68 let key = fake_key();CODE
LOW…t/executor/pool_tests/non_idempotent_detector_tests.rs240 let key = fake_key();CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs4373 fn dummy_key() -> ContractKey {CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs5198 let key = dummy_key();CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs5210 let key = dummy_key();CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs5235 let key = dummy_key();CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs5341 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs4218 fn dummy_key() -> ContractKey {CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs4395 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs4426 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs4458 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs4471 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs4489 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs4516 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs4537 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5502 let key = dummy_key();CODE
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOWdocker/test-runner/run.sh6# Usage:COMMENT
LOWscripts/run_benchmarks.sh4# Usage:COMMENT
LOWscripts/static-checks.sh6# Usage:COMMENT
LOWscripts/docker-test.sh4# Usage:COMMENT
LOWscripts/gateway-auto-update.sh14# Usage:COMMENT
LOWscripts/release-agent/install.sh8# Usage:COMMENT
LOWscripts/release-agent/verify-version-decision.sh78# Usage:COMMENT
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH.github/scripts/check_merge_group_concurrency.py86 f"github.event.merge_group.head_sha || github.run_id }}}}"CODE
HIGH.github/scripts/check_merge_group_concurrency.py126 group: claude-pr-review-${{ github.event.pull_request.number || github.event.merge_group.head_sha || github.run_id }}CODE
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMcrates/core/src/governance.rs34//! ## Sanity guardrailsCOMMENT
MEDIUMcrates/core/src/governance.rs34//! ## Sanity guardrailsCOMMENT
MEDIUMdocs/design/contract-hardening.md109### Sanity guardrails (also principled)COMMENT
Hyper-Verbose Identifiers7 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/core/src/server/path_handlers.rs7084 // this test. (The `function installNotifyClickListener() {` definitionCOMMENT
LOWcrates/core/src/server/path_handlers.rs7077 SHELL_BRIDGE_JS.contains("function installNotifyClickListener("),CODE
LOWcrates/core/src/server/errors.rs430 page.contains("function connectingRecoveryDecision("),CODE
LOW…s/core/src/server/path_handlers/assets/shell_bridge.js726 function installNotifyClickListener() {CODE
LOW…s/core/src/server/path_handlers/assets/shell_bridge.js747 function ensureNotifyServiceWorker() {CODE
LOWcrates/core/src/server/errors/assets/connecting.html85 function connectingRecoveryDecision(search, atTop, now) {CODE
LOW.github/scripts/check_blocking_sends.py147def strip_comments_and_strings(line: str) -> str:CODE
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/parse_bench_output.py97CODE
LOW.github/scripts/check_banned_patterns.py163CODE
LOW.github/scripts/check_banned_patterns.py269CODE
LOW.github/scripts/check_blocking_sends.py147CODE
LOW.github/scripts/check_blocking_sends.py197CODE
LOW.github/scripts/check_blocking_sends.py286CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMscripts/update-remote-gws.sh172 # Create a truly random directory name using timestamp and random numberCOMMENT
MEDIUM.github/scripts/pt_sync.py54 # Create a new story in the Pivotal Tracker projectCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/core/tests/node_diagnostics_uptime.rs4//! `// TODO: implement actual uptime tracking`, so every `freenet serviceCOMMENT
LOWcrates/core/src/node/network_bridge/p2p_protoc.rs5912 /// #5223: the field was `uptime_seconds: 0, // TODO: implement actualCOMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/scripts/check_banned_patterns.py79CODE
LOW.github/scripts/check_blocking_sends.py62CODE
LOW.github/scripts/check_merge_group_concurrency.py33CODE
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMscripts/parse_bench_output.py330 print(f"Error: File '{input_file}' not found", file=sys.stderr)CODE