Declare your digital independence
This report presents the forensic synthetic code analysis of freenet/freenet-core, a Rust project with 2,746 GitHub stars. SynthScan v2.0 examined 457,403 lines of code across 654 source files, recording 3618 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 8.8 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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.
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.
The scanner identified 3618 distinct pattern matches across 15 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 161 | # `keyring` features are deliberately restricted to the per-platform native | COMMENT |
| LOW | deny.toml | 1 | # cargo-deny configuration for freenet-core. | COMMENT |
| LOW | .config/nextest.toml | 1 | [profile.ci] | COMMENT |
| LOW | .config/nextest.toml | 21 | filter = "test(test_interest_renewal)" | COMMENT |
| LOW | .config/nextest.toml | 41 | filter = "test(test_fanout_liveness)" | COMMENT |
| LOW | crates/replay-harness/tests/scenarios_pin.rs | 1 | //! Pin every scenario against every controller. Adding a new | COMMENT |
| LOW | crates/replay-harness/tests/scenarios_pin.rs | 21 | use replay_harness::{Controller, RateDecision, Replayer}; | COMMENT |
| LOW | crates/replay-harness/tests/scenarios_pin.rs | 41 | // reference path (which says "do NOT fire") is exactly the signal | COMMENT |
| LOW | crates/replay-harness/src/rolling.rs | 1 | //! Per-peer rolling RTT statistics with a baseline window and a recent window. | COMMENT |
| LOW | crates/replay-harness/src/rolling.rs | 21 | COMMENT | |
| LOW | crates/replay-harness/src/lib.rs | 1 | //! Offline replay harness for shadow-RTT controllers. | COMMENT |
| LOW | crates/replay-harness/src/scenarios.rs | 1 | //! Synthetic scenarios — programmatic RTT-sample streams that pin specific | COMMENT |
| LOW | crates/replay-harness/src/replayer.rs | 201 | /// | COMMENT |
| LOW | crates/replay-harness/src/main.rs | 21 | COMMENT | |
| LOW | crates/replay-harness/src/scenarios/churning_peers.rs | 1 | //! `churning_peers` — peers join and leave every 30 s; RTTs stay healthy. | COMMENT |
| LOW | …rness/src/scenarios/reference_diverges_from_overlay.rs | 1 | //! `reference_diverges_from_overlay` — overlay inflates, reference stays flat. | COMMENT |
| LOW | …tes/replay-harness/src/scenarios/single_packet_loss.rs | 1 | //! `single_packet_loss` — one peer's RTT spikes transiently, then returns. | COMMENT |
| LOW | …play-harness/src/scenarios/reference_tracks_overlay.rs | 1 | //! `reference_tracks_overlay` — overlay and reference inflate together. | COMMENT |
| LOW | …tes/replay-harness/src/scenarios/slow_routing_drift.rs | 1 | //! `slow_routing_drift` — the baseline genuinely drifts upward over 30 min. | COMMENT |
| LOW | …ates/replay-harness/src/scenarios/idle_steady_state.rs | 1 | //! `idle_steady_state` — 5 peers, each anchored by a fast t=0 sample, | COMMENT |
| LOW | …s/replay-harness/src/scenarios/correlated_inflation.rs | 1 | //! `correlated_inflation` — every peer's RTT rises together. | COMMENT |
| LOW | crates/replay-harness/src/scenarios/cold_start.rs | 1 | //! `cold_start` — brand-new peers on a slow path, no baseline history. | COMMENT |
| LOW | crates/replay-harness/src/controllers/rfc_draft.rs | 1 | //! `RfcDraft` — the algorithm sketched in [#4074][issue]. | COMMENT |
| LOW | crates/replay-harness/src/controllers/ledbat.rs | 1 | //! `LedbatPlusPlus` — a stripped-down LEDBAT++ to reproduce the death spiral. | COMMENT |
| LOW | crates/replay-harness/src/controllers/ledbat.rs | 21 | //! runs slow-start, and has a richer gain schedule. We keep only what is needed | COMMENT |
| LOW | crates/core/Cargo.toml | 241 | wasmtime-backend = ["dep:wasmtime"] | COMMENT |
| LOW | crates/core/build.rs | 1 | use std::process::Command; | COMMENT |
| LOW | crates/core/proptest-regressions/router.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | crates/core/proptest-regressions/transport/ledbat.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | crates/core/tests/hosted_mode_import.rs | 1 | //! Live end-to-end integration test for the secrets IMPORT endpoint | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1 | //! Deterministic simulation tests using Turmoil. | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 141 | COMMENT | |
| LOW | crates/core/tests/simulation_integration.rs | 761 | COMMENT | |
| LOW | crates/core/tests/simulation_integration.rs | 841 | COMMENT | |
| LOW | crates/core/tests/simulation_integration.rs | 1481 | /// with ~150ms RTT. The root cause was MIN_RTO (200ms) < RTT + ACK_CHECK_INTERVAL (244ms). | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1681 | /// Source detection threshold: peers within 5% of ring distance to contract | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1701 | /// 2. Wait for topology registration | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1921 | /// This test validates the core eventual consistency property of Freenet's | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1961 | .assert_ok() | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1981 | /// 2. Later broadcasts would compute deltas based on the wrong cached summary | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2001 | /// - `GlobalTestMetrics::delta_sends()` / `full_state_sends()` - broadcast statistics | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2021 | /// | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2241 | /// | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2361 | success_count >= 4, | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2381 | /// complete successfully under the refactored handler and that the bounded | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2401 | /// | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2421 | /// This test currently FAILS and reproduces a concrete regression that | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2741 | COMMENT | |
| LOW | crates/core/tests/simulation_integration.rs | 2801 | COMMENT | |
| LOW | crates/core/tests/simulation_integration.rs | 2821 | /// 5. With correct caching, all nodes update to v2 | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2941 | // Note: With the fix in place, delta sends should succeed. | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2961 | /// ## Background | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 3141 | /// Sustained UPDATE fan-out from one host to its direct subscribers of a CRDT | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 3161 | /// peer's *full state* as its "summary", and `compute_delta` then rejects the | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 3181 | /// the fix the host caches each subscriber's summary after a delivered | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 3321 | // storm that pins the event loop strands a subscriber, which surfaces as a | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 3341 | // indicate the loop is wedged and replies are accumulating unboundedly. | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 3401 | /// ## What this guards (the safety gate for re-enabling placement migration) | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 3421 | /// that must be green before the placement-migration / `SubscribeHint` feature | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 3441 | /// this harness can actually form. Measured on this runner (current origin/main, | COMMENT |
| 2842 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/core/Cargo.toml | 243 | # ============================================================================== | COMMENT |
| MEDIUM | crates/core/Cargo.toml | 248 | # ============================================================================== | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 10490 | // ── Phase 1: Convergence (30 virtual minutes, no faults) ────────────────── | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 10536 | // ── Phase 2: Fault injection (5 virtual minutes, 20% message loss) ──────── | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 10582 | // ── Phase 3: Recovery (25 virtual minutes, faults cleared) ──────────────── | COMMENT |
| MEDIUM | crates/core/src/message.rs | 987 | // ── Compile-time invariant checks ────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4233 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4240 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4554 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4567 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4690 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4694 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4748 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4752 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4880 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4888 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4970 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 4976 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 5718 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 5723 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 5967 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 5986 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/fair_queue.rs | 1180 | // ── Priority tiering (#4534) ────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/fair_queue.rs | 1180 | // ── Priority tiering (#4534) ────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/executor.rs | 1389 | // ── ContractQueueFull predicate (issue #4251) ───────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/executor.rs | 1389 | // ── ContractQueueFull predicate (issue #4251) ───────────────────── | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 40 | /// ┌─────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 41 | /// │ SlowStart │─────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 42 | /// └──────┬──────┘ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 45 | /// ┌────────────────────────┐ (first time only) │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 46 | /// │ WaitingForSlowdown │◄─────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 47 | /// └──────────┬─────────────┘ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 50 | /// ┌──────────────┐◄───────────────────────────────│───────────────│───┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 52 | /// └──────┬───────┘ transitions on next ACK) │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 55 | /// ┌──────────┐ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 57 | /// └────┬─────┘ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 60 | /// ┌────────────┐ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 62 | /// └─────┬──────┘ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 65 | /// ┌──────────────────────┐ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 66 | /// │ CongestionAvoidance │────────────────────────┴───────────────┘ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 67 | /// └──────────┬───────────┘◄───────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 69 | /// └────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 16 | /// ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 19 | /// └───────┬────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 22 | /// ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 25 | /// └───────┬────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 28 | /// ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 31 | /// └───────┬────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 34 | /// ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 37 | /// └───────┬────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 39 | /// └────────────────────────────────► ProbeBW | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 93 | /// ┌──────────┐ ┌─────────┐ ┌────────┐ ┌──────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 96 | /// └──────────┘ └─────────┘ └────────┘ └──┬───┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 98 | /// └────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | …tes/core/src/transport/peer_connection/piped_stream.rs | 13 | //! ┌──────────────┐ fragments ┌──────────────┐ forward ┌──────────────┐ | COMMENT |
| MEDIUM⚡ | …tes/core/src/transport/peer_connection/piped_stream.rs | 14 | //! │ Source │ ───────────────▶ │ Intermediate │ ─────────────▶ │ Destination │ | COMMENT |
| MEDIUM⚡ | …tes/core/src/transport/peer_connection/piped_stream.rs | 16 | //! └──────────────┘ └──────────────┘ └──────────────┘ | COMMENT |
| MEDIUM⚡ | …tes/core/src/transport/peer_connection/piped_stream.rs | 18 | //! ┌──────┴──────┐ | COMMENT |
| MEDIUM⚡ | …tes/core/src/transport/peer_connection/piped_stream.rs | 23 | //! └─────────────┘ | COMMENT |
| MEDIUM | crates/core/src/util/rate_limit_layer.rs | 210 | // ───────────────────────── per-callsite limiter ───────────────────────── | COMMENT |
| 193 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2080 | // Step 1: Gateway puts contract with initial state and subscribes | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2089 | // Step 2: Node 1 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2094 | // Step 3: Node 2 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2099 | // Step 4: Node 3 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2104 | // Step 5: Gateway updates - broadcasts to all subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2114 | // Step 6: Node 1 updates - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2122 | // Step 7: Node 2 updates - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3029 | // Step 1: Gateway puts contract with v1 | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3038 | // Step 2: Node 1 subscribes - receives v1 | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3043 | // Step 3: Node 1 updates to v5 - creates version divergence | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3051 | // Step 4: Node 2 subscribes | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3056 | // Step 5: Gateway updates to v10 - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2404 | // Step 1: pre-register a token → contract-id in the node's attested_contracts map. | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2411 | // Step 2: compile / load the delegate WASM | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2416 | // Step 3: connect via WebSocket carrying the Bearer token. | COMMENT |
| LOW | crates/core/tests/operations.rs | 2428 | // Step 4: register the delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 2451 | // Step 5: send an ApplicationMessage that causes the delegate to echo back | COMMENT |
| LOW | crates/core/tests/operations.rs | 2467 | // Step 6: verify the delegate received the correct attested bytes | COMMENT |
| LOW | crates/core/tests/operations.rs | 2962 | // Step 1: Peer-a puts the contract with initial state | COMMENT |
| LOW | crates/core/tests/operations.rs | 2993 | // Step 2: Gateway gets the contract (this caches it on gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3024 | // Step 3: Peer-a updates the contract with new state | COMMENT |
| LOW | crates/core/tests/operations.rs | 3076 | // Step 4: Verify gateway received the update by polling GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 3215 | // Step 1: PUT with subscribe=false (like River room creation) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3243 | // Step 2: IMMEDIATELY Subscribe (don't wait for propagation to gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3471 | // Step 1: Peer-a puts the contract with initial state | COMMENT |
| LOW | crates/core/tests/operations.rs | 3502 | // Step 2: Gateway gets the contract (this caches it on gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3533 | // Step 3: Gateway subscribes to the contract | COMMENT |
| LOW | crates/core/tests/operations.rs | 3566 | // Step 4: Peer-a PUTs an updated version of the contract | COMMENT |
| LOW | crates/core/tests/operations.rs | 3618 | // Step 5: Gateway should receive an UPDATE notification because it's subscribed | COMMENT |
| LOW | crates/core/tests/operations.rs | 3804 | // Step 1: Register the delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 3828 | // Step 2: PUT contract via delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 3895 | // Step 3: Verify contract state via direct GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 3923 | // Step 4: UPDATE contract via delegate (add a task) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3996 | // Step 5: Verify updated state via direct GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 4064 | // Step 1: PUT contract directly so state exists in the store | COMMENT |
| LOW | crates/core/tests/operations.rs | 4088 | // Step 2: Register delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 4112 | // Step 3: GET contract via delegate | COMMENT |
| LOW⚡ | crates/core/benches/transport/level0.rs | 249 | // Step 1: Serialize | COMMENT |
| LOW⚡ | crates/core/benches/transport/level0.rs | 253 | // Step 2: Encrypt in place | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 228 | // Step 3: median of trimmed sample. | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 231 | // Step 4: MAD — median of |x − median|. Compute deviations, sort, | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 252 | // Step 5: threshold = median + k × (σ-scaled MAD), clamped at | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 262 | // Step 6: flag everyone whose ratio strictly exceeds the threshold. | COMMENT |
| LOW | crates/core/src/governance.rs | 172 | // Step 1: extract ratios, dropping any non-finite values | COMMENT |
| LOW | crates/core/src/governance.rs | 201 | // Step 2: trim the top tail BEFORE computing the statistic so the | COMMENT |
| LOW | crates/core/src/topology.rs | 373 | // Step 1: Collect data | COMMENT |
| LOW | crates/core/src/topology.rs | 398 | // Step 2: Process data | COMMENT |
| LOW | crates/core/src/contract/governance.rs | 2038 | // Step 1: build a distribution with one Borderline contract. | COMMENT |
| LOW | crates/core/src/contract/governance.rs | 2061 | // Step 2: force the MAD detector to collapse | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 310 | // Step 1: Summarize on both | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 317 | // Step 2: Get delta from summary on both | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 324 | // Step 3: Apply delta as update on both | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 3910 | // Step 2: Simulate peer disconnect by dropping the connection | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 3919 | // Step 3: Create a new peer at a DIFFERENT port (simulating restart with new ephemeral port) | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4218 | // Step 2: Simulate gateway restart by dropping Gateway A | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4226 | // Step 3: Create Gateway B with NEW identity (Y) at the SAME address | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4345 | // Step 2: Simulate peer restart by dropping everything related to peer A | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4354 | // Step 3: Create peer B with NEW identity (Y) at the SAME address | COMMENT |
| LOW | crates/core/src/transport/connection_handler.rs | 3942 | // Step 4: Peer B connects to gateway - this should work on first attempt | COMMENT |
| LOW | crates/core/src/transport/connection_handler.rs | 4027 | // Step 1: Peer A connects to gateway | COMMENT |
| 105 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2080 | // Step 1: Gateway puts contract with initial state and subscribes | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2089 | // Step 2: Node 1 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2094 | // Step 3: Node 2 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2099 | // Step 4: Node 3 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2104 | // Step 5: Gateway updates - broadcasts to all subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2114 | // Step 6: Node 1 updates - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2122 | // Step 7: Node 2 updates - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3029 | // Step 1: Gateway puts contract with v1 | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3038 | // Step 2: Node 1 subscribes - receives v1 | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3043 | // Step 3: Node 1 updates to v5 - creates version divergence | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3051 | // Step 4: Node 2 subscribes | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3056 | // Step 5: Gateway updates to v10 - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2404 | // Step 1: pre-register a token → contract-id in the node's attested_contracts map. | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2411 | // Step 2: compile / load the delegate WASM | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2416 | // Step 3: connect via WebSocket carrying the Bearer token. | COMMENT |
| LOW | crates/core/tests/operations.rs | 2428 | // Step 4: register the delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 2451 | // Step 5: send an ApplicationMessage that causes the delegate to echo back | COMMENT |
| LOW | crates/core/tests/operations.rs | 2467 | // Step 6: verify the delegate received the correct attested bytes | COMMENT |
| LOW | crates/core/tests/operations.rs | 2962 | // Step 1: Peer-a puts the contract with initial state | COMMENT |
| LOW | crates/core/tests/operations.rs | 2993 | // Step 2: Gateway gets the contract (this caches it on gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3024 | // Step 3: Peer-a updates the contract with new state | COMMENT |
| LOW | crates/core/tests/operations.rs | 3076 | // Step 4: Verify gateway received the update by polling GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 3215 | // Step 1: PUT with subscribe=false (like River room creation) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3243 | // Step 2: IMMEDIATELY Subscribe (don't wait for propagation to gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3471 | // Step 1: Peer-a puts the contract with initial state | COMMENT |
| LOW | crates/core/tests/operations.rs | 3502 | // Step 2: Gateway gets the contract (this caches it on gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3533 | // Step 3: Gateway subscribes to the contract | COMMENT |
| LOW | crates/core/tests/operations.rs | 3566 | // Step 4: Peer-a PUTs an updated version of the contract | COMMENT |
| LOW | crates/core/tests/operations.rs | 3618 | // Step 5: Gateway should receive an UPDATE notification because it's subscribed | COMMENT |
| LOW | crates/core/tests/operations.rs | 3804 | // Step 1: Register the delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 3828 | // Step 2: PUT contract via delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 3895 | // Step 3: Verify contract state via direct GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 3923 | // Step 4: UPDATE contract via delegate (add a task) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3996 | // Step 5: Verify updated state via direct GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 4064 | // Step 1: PUT contract directly so state exists in the store | COMMENT |
| LOW | crates/core/tests/operations.rs | 4088 | // Step 2: Register delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 4112 | // Step 3: GET contract via delegate | COMMENT |
| LOW⚡ | crates/core/benches/transport/level0.rs | 249 | // Step 1: Serialize | COMMENT |
| LOW⚡ | crates/core/benches/transport/level0.rs | 253 | // Step 2: Encrypt in place | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 228 | // Step 3: median of trimmed sample. | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 231 | // Step 4: MAD — median of |x − median|. Compute deviations, sort, | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 252 | // Step 5: threshold = median + k × (σ-scaled MAD), clamped at | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 262 | // Step 6: flag everyone whose ratio strictly exceeds the threshold. | COMMENT |
| LOW | crates/core/src/governance.rs | 172 | // Step 1: extract ratios, dropping any non-finite values | COMMENT |
| LOW | crates/core/src/governance.rs | 201 | // Step 2: trim the top tail BEFORE computing the statistic so the | COMMENT |
| LOW | crates/core/src/topology.rs | 373 | // Step 1: Collect data | COMMENT |
| LOW | crates/core/src/topology.rs | 398 | // Step 2: Process data | COMMENT |
| LOW | crates/core/src/contract/governance.rs | 2038 | // Step 1: build a distribution with one Borderline contract. | COMMENT |
| LOW | crates/core/src/contract/governance.rs | 2061 | // Step 2: force the MAD detector to collapse | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 310 | // Step 1: Summarize on both | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 317 | // Step 2: Get delta from summary on both | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 324 | // Step 3: Apply delta as update on both | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 3910 | // Step 2: Simulate peer disconnect by dropping the connection | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 3919 | // Step 3: Create a new peer at a DIFFERENT port (simulating restart with new ephemeral port) | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4218 | // Step 2: Simulate gateway restart by dropping Gateway A | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4226 | // Step 3: Create Gateway B with NEW identity (Y) at the SAME address | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4345 | // Step 2: Simulate peer restart by dropping everything related to peer A | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4354 | // Step 3: Create peer B with NEW identity (Y) at the SAME address | COMMENT |
| LOW | crates/core/src/transport/connection_handler.rs | 3942 | // Step 4: Peer B connects to gateway - this should work on first attempt | COMMENT |
| LOW | crates/core/src/transport/connection_handler.rs | 4027 | // Step 1: Peer A connects to gateway | COMMENT |
| 99 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tes/replay-harness/src/scenarios/single_packet_loss.rs | 20 | //! (a robust controller ignores a single-connection transient); LEDBAT's | COMMENT |
| MEDIUM | …es/replay-harness/src/scenarios/single_peer_outlier.rs | 5 | //! median across peers to be robust against this case. A sane controller | COMMENT |
| MEDIUM | crates/core/Cargo.toml | 205 | # Manual throughput benchmarks (test harness, no criterion, ~3 sec) | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 553 | /// for robust coverage. Fails if any operation type has zero occurrences. | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 3435 | /// ## Fan-out width vs. the harness bootstrap ceiling (why N=8/16, not 40-80) | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 3490 | /// `notification_channel_pending` per the letter of #4233, the harness would | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 7865 | // Asserting > 6 (bootstrap floor + at least one probe per node) is robust | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 12750 | // using the merged #4657 sim-harness: `enable_hosting_time_control` (a | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 13189 | // copies made greedy single-path routing robust because a copy was almost | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 15494 | #[ignore = "heavy larger-ring validation (6 × 48-peer sim runs); harness-limited, run manually: \ | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 8449 | 7, // max_connections — 7 ensures robust GET routing across topology variations | CODE |
| MEDIUM | crates/core/src/governance.rs | 14 | //! producing log-space cost/benefit ratios, compute a robust threshold | COMMENT |
| MEDIUM | crates/core/src/governance.rs | 63 | /// statistical guidance), 5% top-trim (robust-statistics convention). | COMMENT |
| MEDIUM | crates/core/src/deadlock_detection.rs | 189 | /// caller's own cycle by thread id, so it is robust to any other deadlock | COMMENT |
| MEDIUM | crates/core/src/contract.rs | 2771 | /// scan over our own source is more robust than runtime-subscriber | COMMENT |
| MEDIUM | crates/core/src/contract.rs | 3910 | // PutResponse, not a specific Ok/Err, so the test is robust to the | COMMENT |
| MEDIUM | crates/core/src/operations.rs | 1158 | // This is robust against renaming/moving the next function. | COMMENT |
| MEDIUM | crates/core/src/contract/storages/redb.rs | 463 | // This is more robust than string matching on error messages | COMMENT |
| MEDIUM | crates/core/src/contract/executor/runtime.rs | 1369 | /// `.claude/rules/bug-prevention-patterns.md` (cheaper and more robust | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_iface_tx.rs | 250 | /// the window mean per-second rate under its original name; `*_p50` (robust | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_demand.rs | 192 | /// stay robust against other tests touching these monotonic statics. | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_demand.rs | 381 | /// distribution — `p50` is a more robust central-tendency signal than `mean` | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_demand.rs | 488 | /// the class ever pushed in a second), `*_p50` (robust central tendency for a | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_demand.rs | 610 | // Delta-based so this is robust to other tests touching the same | COMMENT |
| MEDIUM | crates/core/src/transport/peer_connection.rs | 2768 | /// upper bound well below the payload size — both robust under | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_stats.rs | 20 | //! is a more robust central-tendency signal than `mean` for the bursty, | COMMENT |
| MEDIUM | crates/core/src/transport/reference_ping.rs | 749 | // robust test is to monkey-patch... we don't have that. | COMMENT |
| MEDIUM | crates/core/src/transport/rolling_rtt_stats.rs | 12 | //! "current" RTT estimate, robust to a few outlier samples. | COMMENT |
| MEDIUM | crates/core/src/transport/rolling_rtt_stats.rs | 167 | // "median RTT over last 10 s" wording and is robust to a | COMMENT |
| MEDIUM | crates/core/src/transport/ledbat/controller.rs | 3447 | /// - Very high RTT: GAIN should be 1.0 (aggressive to utilize bandwidth) | COMMENT |
| MEDIUM | crates/core/src/transport/bbr/controller.rs | 671 | // During Startup, ensure cwnd is large enough to utilize the minimum pacing rate. | COMMENT |
| MEDIUM | crates/core/src/bin/commands/service/linux.rs | 444 | # fallback; this makes the intent explicit and robust. | COMMENT |
| MEDIUM | crates/core/src/bin/commands/service/linux.rs | 889 | /// comment containing a bracketed name is ignored), so this is robust to | COMMENT |
| MEDIUM | crates/core/src/server/home_page/estimator.rs | 669 | // Median absolute percentage error (robust to the heavy tails of latency / | COMMENT |
| MEDIUM | crates/core/src/operations/subscribe/tests.rs | 184 | // brace-counted approach is the most robust against helper | COMMENT |
| MEDIUM | crates/core/src/client_events/user_op_rate_limit.rs | 181 | // "Essentially full" AND holding at least one whole token. Within one | COMMENT |
| MEDIUM | crates/core/src/ring/contract_ban_list.rs | 1192 | // keeps this gate-ordering check robust against legitimate | COMMENT |
| MEDIUM | crates/core/src/wasm_runtime/engine/wasmtime_engine.rs | 205 | /// # Why this is robust against the runtime flavor (issue #4441 fix-up) | COMMENT |
| MEDIUM | crates/core/src/wasm_runtime/engine/wasmtime_engine.rs | 205 | /// # Why this is robust against the runtime flavor (issue #4441 fix-up) | COMMENT |
| MEDIUM | crates/core/src/node/op_state_manager.rs | 3962 | // — disconnect cleanup must remain robust when the event loop | COMMENT |
| MEDIUM | crates/core/src/node/op_state_manager.rs | 4235 | // remain robust during shutdown races. | COMMENT |
| MEDIUM | crates/core/src/node/network_bridge/p2p_protoc.rs | 5255 | /// robust and unambiguous. | COMMENT |
| MEDIUM | scripts/install.sh | 14 | # On Linux it prefers a system service when it can elevate (root or sudo) - | COMMENT |
| MEDIUM | scripts/install.sh | 338 | # elevate (it runs at boot, survives logout, and is the most reliable choice | COMMENT |
| MEDIUM | scripts/test-install-sh.sh | 6 | # when it can elevate (root or sudo) and otherwise installs a user service | COMMENT |
| MEDIUM | scripts/gateway-auto-update.sh | 41 | # the sudoers policy also `env_keep`s it (it does not). The robust fix is to | COMMENT |
| MEDIUM | scripts/gateway-auto-update.sh | 160 | # consume the test harness's positional args or exit it on an unknown option. | COMMENT |
| MEDIUM | scripts/gateway-auto-update.sh | 420 | # not. That makes the wrapper robust regardless of which deploy script is | COMMENT |
| MEDIUM | scripts/release-agent/gateway-auto-update_test.sh | 39 | # fail) so a broken harness can NEVER let a negative-case assertion pass | COMMENT |
| MEDIUM | scripts/release-agent/deploy-local-gateway_test.sh | 37 | # conditions and must keep going after a failure), so a broken harness could | COMMENT |
| MEDIUM | .github/workflows/claude-pr-review.yml | 9 | # 3. This review — AI catches nuanced issues, WARNINGs block merge | COMMENT |
| MEDIUM | .github/workflows/playwright-shell.yml | 11 | # boots a node (via the #[freenet_test] harness in | COMMENT |
| MEDIUM | .github/workflows/playwright-shell.yml | 16 | # harness, so it does not run on every PR. A path-filtered workflow does not | COMMENT |
| MEDIUM | .github/workflows/playwright-shell.yml | 30 | # fdev is the publish path the harness shells out to; a regression in | COMMENT |
| MEDIUM | .github/workflows/playwright-shell.yml | 31 | # `fdev website publish` would break the harness, so run on fdev changes. | COMMENT |
| MEDIUM | .github/workflows/playwright-shell.yml | 53 | # Quiet logs; the harness emits its own progress at INFO via tracing only | COMMENT |
| MEDIUM | .github/workflows/playwright-shell.yml | 87 | # fdev is the publish path the harness shells out to. Build it (and the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/core/src/contract/executor/runtime/executor_impl.rs | 1827 | /// # Return value | COMMENT |
| LOW | crates/core/src/bin/commands/service/macos.rs | 389 | # Check if this looks like a port-already-in-use failure. | COMMENT |
| LOW | docker/freenet-gateway/freenet-gateway-startup.sh | 5 | # Check if required environment variables are set | COMMENT |
| LOW | docker/freenet-gateway/generate-keypair.sh | 9 | # Check if the keypair already exists | COMMENT |
| LOW | scripts/run_benchmarks.sh | 70 | # Check if running in VM | COMMENT |
| LOW | scripts/run_benchmarks.sh | 89 | # Check if at max | COMMENT |
| LOW | scripts/pre-commit-clippy.sh | 50 | # Check if this package is in the workspace or standalone | COMMENT |
| LOW | scripts/install.sh | 141 | # Check if a command exists | COMMENT |
| LOW | scripts/install.sh | 224 | # Check if directory is in PATH | COMMENT |
| LOW | scripts/install.sh | 684 | # Check if freenet is already installed and running | COMMENT |
| LOW | scripts/install.sh | 686 | # Check if freenet is running | COMMENT |
| LOW | scripts/validate-worktree.sh | 10 | # Check if we're in the main worktree directory | COMMENT |
| LOW | scripts/init-gateway.sh | 5 | # Check if required parameters are provided | COMMENT |
| LOW | scripts/update-remote-gws.sh | 261 | # Check if timeout command exists | COMMENT |
| LOW | scripts/release.sh | 326 | # Check if a step is completed | COMMENT |
| LOW | scripts/release.sh | 383 | # Check if freenet is published at this version | COMMENT |
| LOW | scripts/release.sh | 492 | # Check if we're on main branch | COMMENT |
| LOW | scripts/release.sh | 507 | # Check if we're up to date with origin | COMMENT |
| LOW | scripts/release.sh | 517 | # Check if main branch CI is green (required before skipping tests on release PR) | COMMENT |
| LOW | scripts/release.sh | 612 | # Check if version is already updated in Cargo.toml | COMMENT |
| LOW | scripts/release.sh | 718 | # Check if a release PR for this version already exists or was merged | COMMENT |
| LOW | scripts/release.sh | 758 | # Check if there are any changes to commit | COMMENT |
| LOW | scripts/release.sh | 763 | # Check if we're already on main | COMMENT |
| LOW | scripts/release.sh | 1024 | # Check if freenet is already published | COMMENT |
| LOW | scripts/release.sh | 1041 | # Check if fdev is already published | COMMENT |
| LOW | scripts/release.sh | 1078 | # Check if release already exists | COMMENT |
| LOW | scripts/release.sh | 1092 | # Check if tag already exists | COMMENT |
| LOW | scripts/release.sh | 1100 | # Check if tag exists on remote | COMMENT |
| LOW | scripts/release.sh | 1261 | # Check if all required binaries are already available | COMMENT |
| LOW | scripts/release.sh | 1366 | # Check if matrix-commander is available | COMMENT |
| LOW | scripts/release.sh | 1410 | # Check if river repo is available (we use cargo run, not installed binary) | COMMENT |
| LOW | scripts/release.sh | 1417 | # Check if Freenet node is running (required for riverctl) | COMMENT |
| LOW | scripts/release.sh | 1430 | # Check if we have the room in local storage with signing key | COMMENT |
| LOW | scripts/deploy-to-gateways.sh | 197 | # Check if artifact is older than 12 hours | COMMENT |
| LOW | scripts/deploy-to-gateways.sh | 282 | # Check if binary exists | COMMENT |
| LOW | scripts/deploy-to-gateways.sh | 420 | # Check if all succeeded | COMMENT |
| LOW | scripts/deploy-local-gateway.sh | 111 | # Check if running with sufficient privileges | COMMENT |
| LOW | scripts/deploy-local-gateway.sh | 263 | # Check if unit file exists by querying systemctl directly | COMMENT |
| LOW | scripts/deploy-local-gateway.sh | 311 | # Check if unit file exists by querying systemctl directly. | COMMENT |
| LOW | .github/scripts/check_banned_patterns.py | 664 | # Read file content from HEAD (not working tree) so the analysis reflects | COMMENT |
| LOW | .github/scripts/pt_sync.py | 34 | # Check if there is already a comment containing a Pivotal Tracker story URL | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …t/executor/pool_tests/non_idempotent_detector_tests.rs | 39 | fn fake_key() -> ContractKey { | CODE |
| LOW | …t/executor/pool_tests/non_idempotent_detector_tests.rs | 50 | let key = fake_key(); | CODE |
| LOW | …t/executor/pool_tests/non_idempotent_detector_tests.rs | 68 | let key = fake_key(); | CODE |
| LOW | …t/executor/pool_tests/non_idempotent_detector_tests.rs | 158 | let key = fake_key(); | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 4211 | fn dummy_key() -> ContractKey { | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 4804 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 4816 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 4841 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 4947 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 3917 | fn dummy_key() -> ContractKey { | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4094 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4125 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4157 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4170 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4188 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4215 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4236 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 5042 | let key = dummy_key(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/test-runner/run.sh | 6 | # Usage: | COMMENT |
| LOW | scripts/run_benchmarks.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/static-checks.sh | 6 | # Usage: | COMMENT |
| LOW | scripts/docker-test.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/gateway-auto-update.sh | 14 | # Usage: | COMMENT |
| LOW | scripts/release-agent/install.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/release-agent/verify-version-decision.sh | 78 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/core/src/governance.rs | 34 | //! ## Sanity guardrails | COMMENT |
| MEDIUM | crates/core/src/governance.rs | 34 | //! ## Sanity guardrails | COMMENT |
| MEDIUM | docs/design/contract-hardening.md | 109 | ### Sanity guardrails (also principled) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/parse_bench_output.py | 97 | CODE | |
| LOW | .github/scripts/check_banned_patterns.py | 163 | CODE | |
| LOW | .github/scripts/check_banned_patterns.py | 269 | CODE | |
| LOW | .github/scripts/check_blocking_sends.py | 147 | CODE | |
| LOW | .github/scripts/check_blocking_sends.py | 197 | CODE | |
| LOW | .github/scripts/check_blocking_sends.py | 286 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/update-remote-gws.sh | 172 | # Create a truly random directory name using timestamp and random number | COMMENT |
| MEDIUM | .github/scripts/pt_sync.py | 54 | # Create a new story in the Pivotal Tracker project | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/parse_bench_output.py | 330 | print(f"Error: File '{input_file}' not found", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/check_banned_patterns.py | 79 | CODE | |
| LOW | .github/scripts/check_blocking_sends.py | 62 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/core/src/node/network_bridge/p2p_protoc.rs | 2378 | uptime_seconds: 0, // TODO: implement actual uptime tracking | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/check_blocking_sends.py | 147 | def strip_comments_and_strings(line: str) -> str: | CODE |