Repository Analysis

AprilNEA/OpenLogi

⚡️A native, local-first alternative to Logitech Options+, written in Rust 🦀 — remap buttons, DPI, and SmartShift over HID++. No account, no telemetry.

9.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of AprilNEA/OpenLogi, a Rust project with 6,734 GitHub stars. SynthScan v2.0 examined 66,424 lines of code across 323 source files, recording 428 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 9.0 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.0
Adjusted Score
9.0
Raw Score
100%
Time Factor
2026-07-13
Last Push
6.7K
Stars
Rust
Language
66.4K
Lines of Code
323
Files
428
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

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 0MEDIUM 72LOW 356

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 428 distinct pattern matches across 6 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 Block354 hits · 345 pts
SeverityFileLineSnippetContext
LOWrelease-plz.toml1# release-plz configuration — https://release-plz.dev/docs/configCOMMENT
LOWpackaging/linux/install.sh1#!/bin/shCOMMENT
LOWcrates/openlogi-hidpp/Cargo.toml1# Vendored fork of the `hidpp` crate from https://github.com/lus/logyCOMMENT
LOWcrates/openlogi-hidpp/src/channel.rs61COMMENT
LOWcrates/openlogi-hidpp/src/channel.rs81COMMENT
LOWcrates/openlogi-hidpp/src/channel.rs401 /// Using software ID `0` is highly discouraged as it is used for deviceCOMMENT
LOWcrates/openlogi-hidpp/src/channel.rs481 self.send_with_timeout(msg, response_predicate, SEND_RESPONSE_TIMEOUT)COMMENT
LOWcrates/openlogi-hidpp/src/channel.rs641 /// Indicates that the channel in question does not support HID++.COMMENT
LOWcrates/openlogi-hidpp/src/lib.rs1//! An implementation of Logitech's HID++ protocol.COMMENT
LOWcrates/openlogi-hidpp/src/lib.rs21//! understanding of how things work. It's a great project perfectly usable toCOMMENT
LOWcrates/openlogi-hidpp/src/lib.rs41//! ## Initialize HID++ communicationCOMMENT
LOWcrates/openlogi-hidpp/src/lib.rs61//!COMMENT
LOWcrates/openlogi-hidpp/src/lib.rs81//!COMMENT
LOWcrates/openlogi-hidpp/src/lib.rs101//! .awaitCOMMENT
LOWcrates/openlogi-hidpp/src/lib.rs121//! let info = rootCOMMENT
LOWcrates/openlogi-hidpp/src/lib.rs141//! // `enumerate_features` function we just called automatically registersCOMMENT
LOWcrates/openlogi-hidpp/src/protocol/v20.rs181 Unsupported = 9,COMMENT
LOWcrates/openlogi-hidpp/src/protocol/v10.rs261///COMMENT
LOWcrates/openlogi-hidpp/src/protocol/v10.rs281 /// usually responded with a response message of the same type (orCOMMENT
LOWcrates/openlogi-hidpp/src/protocol/v10.rs321 /// further documented, please let me know what it means.COMMENT
LOWcrates/openlogi-hidpp/src/protocol/mod.rs21 ///COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs1//! Implements the Logi Bolt receiver.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs41 /// Provides the amount of currently paired devices.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs61 /// pairing and unpairing.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs301 Register::Connections.into(),COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs521/// Indicates which notifications are enabled and thus sent by the receiver.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs541 pub wpid: u16,COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs581 Headset = 0x0d,COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs601 /// collect all paired devices.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs621COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs641 /// [`Receiver::discover_devices`].COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs661COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs681 /// user has to perform, with an additional press of both mouseCOMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs701 /// submits their passkey, this value will beCOMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs721 /// Whether the device is currently online.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs741/// Represents the type of a single passkey press.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs21COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs41COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs221#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs241/// values and places them at 7–9.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs261 /// Touchpad device.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/mod.rs1//! Implements the different HID++ wireless receivers.COMMENT
LOWcrates/openlogi-hidpp/src/feature/reprog_controls.rs301}COMMENT
LOWcrates/openlogi-hidpp/src/feature/reprog_controls.rs421/// Echo returned by `setCidReporting`.COMMENT
LOWcrates/openlogi-hidpp/src/feature/mod.rs61 const STARTING_VERSION: u8;COMMENT
LOWcrates/openlogi-hidpp/src/feature/mod.rs201 /// A SW hidden feature is a feature that should not be known/managed/usedCOMMENT
LOWcrates/openlogi-hidpp/src/feature/root.rs81#[non_exhaustive]COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs21/// The lift-off distance is the height above the surface at which the sensorCOMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs41/// [`ExtendedDpiFeature::show_sensor_dpi_status`]:COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs61#[cfg_attr(feature = "serde", derive(serde::Serialize))]COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs101 /// Supported capabilities.COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs121 Stepped {COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs141#[non_exhaustive]COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs161/// super::ExtendedDpiFeature::set_sensor_dpi_parametersCOMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs181 /// DPI level to display (`1..=dpi_level_count`).COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs201 pub mouse_width: u8,COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/types.rs221 pub expected_count: u16,COMMENT
LOWcrates/openlogi-hidpp/src/feature/extended_dpi/event.rs1//! Events emitted by `ExtendedAdjustableDpi` (`0x2202`).COMMENT
LOWcrates/openlogi-hidpp/src/feature/crown/event.rs21/// Proximity or touch activity phase reported in a [`CrownUpdate`].COMMENT
LOWcrates/openlogi-hidpp/src/feature/crown/event.rs41#[repr(u8)]COMMENT
294 more matches not shown…
Decorative Section Separators69 hits · 242 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/linux/nfpm.yaml22 # ── binaries ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/nfpm.yaml38 # ── udev rules ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/nfpm.yaml44 # ── systemd user unit ───────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/nfpm.yaml50 # ── XDG desktop entry ───────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/nfpm.yaml56 # ── icon ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh23# ── stop and disable the agent ────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh39# ── remove binaries ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh44# ── udev rules ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh54# ── systemd user unit ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh59# ── desktop entry + icon ──────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh54# ── locate build output ────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh69# ── install binaries ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh76# ── udev rules ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh89# ── systemd user unit ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh110# ── desktop entry ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh116# ── icon ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs388// ── frontmost_bundle_id ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs462 // ── key_to_button ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs491 // ── translate ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs553 // ── movement ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs579 // ── scroll — standard ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs603 // ── scroll — hi-res ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-gui/src/platform/permissions.rs123// ── macOS FFI ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-gui/src/platform/permissions.rs183// ── Linux probes ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-gui/src/platform/permissions.rs268// ── Tests ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-gui/src/mouse_model/picker.rs266// ── Shared building blocks ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-agent/src/launch_agent.rs201// ── Linux systemd user-unit reconcile ────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-agent/src/launch_agent.rs310// ── Tests ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs71 // ── Mouse clicks ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs79 // ── Editing ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs89 // ── Browser / Navigation ──────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs98 // ── Navigation — macOS-specific ───────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs112 // ── System ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs118 // ── Media ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs127 // ── DPI / SmartShift: handled at hook/HID layer ───────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs134 // ── Scroll ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs139 // ── No-op ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs141 // ── Custom shortcut ───────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs221 // ── System ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs228 // ── Media ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs238 // ── DPI / SmartShift: handled at hook/HID layer ───────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs245 // ── Scroll ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs250 // ── Custom ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs176 // ── Mouse clicks: synthesise a click at the cursor ────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs188 // ── Editing ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs197 // ── Browser / Navigation ──────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs209 // ── Navigation / Window: posted straight to the Dock ──────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs389// ── macOS virtual key codes ────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs1142 // ── D-Bus helpers ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs1573 // ── modifiers_to_keycodes ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject.rs1628 // ── macos_vk_to_linux ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs457 // ── DPI ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs466 // ── Scroll ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs476 // ── Custom ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs352 // ── System ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs357 // ── Mouse ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs373 // ── Editing ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs396 // ── Browser / Navigation ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs414 // ── Navigation / Window ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding.rs428 // ── System ────────────────────────────────────────────────────────────────COMMENT
9 more matches not shown…
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMrelease-plz.toml90# Shared headless orchestration for the background agent. Not publishableCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackaging/linux/uninstall.sh6# Usage:COMMENT
LOWpackaging/linux/install.sh8# Usage:COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcrates/openlogi-gui/src/i18n.rs196 /// separate `#[test]`s would race under the parallel harness.COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yml871 # Create the draft, upload assets to it, then publish — all in one step.COMMENT