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.

5.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of AprilNEA/OpenLogi, a Rust project with 17,460 GitHub stars. SynthScan v2.0 examined 150,038 lines of code across 600 source files, recording 707 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 5.5 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).

5.5
Adjusted Score
5.5
Raw Score
100%
Time Factor
2026-08-29
Last Push
17.5K
Stars
Rust
Language
150.0K
Lines of Code
600
Files
707
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 1HIGH 0MEDIUM 48LOW 658

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 707 distinct pattern matches across 8 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 Block652 hits · 650 pts
SeverityFileLineSnippetContext
LOWprek.toml61COMMENT
LOWrelease-plz.toml1# release-plz configuration — https://release-plz.dev/docs/configCOMMENT
LOWpackaging/linux/install.sh1#!/bin/shCOMMENT
LOWcrates/openlogi-ui/src/catalog_parity.rs1//! Key parity for the shared locale catalogs in `locales/`.COMMENT
LOWcrates/openlogi-ui/src/action_icons.rs1//! The vendored Actions Ring glyphs, as a GPUI [`AssetSource`].COMMENT
LOWcrates/openlogi-ui/src/color.rs1//! The brand accent — the one colour both GPUI processes paint with.COMMENT
LOWcrates/openlogi-ui/src/lib.rs1//! Presentation code shared by OpenLogi's two GPUI processes: the settings appCOMMENT
LOWcrates/openlogi-overlay/src/session.rs61 }COMMENT
LOWcrates/openlogi-overlay/src/agent.rs121)]COMMENT
LOWcrates/openlogi-hidpp/src/receiver.rs1//! Implements the different HID++ wireless receivers.COMMENT
LOWcrates/openlogi-hidpp/src/feature.rs81/// Implemented by a feature's event enum. [`EventSource::attach`] callsCOMMENT
LOWcrates/openlogi-hidpp/src/feature.rs261bitflags::bitflags! {COMMENT
LOWcrates/openlogi-hidpp/src/feature.rs281 const ENGINEERING = 1 << 5;COMMENT
LOWcrates/openlogi-hidpp/src/device.rs81 #[must_use]COMMENT
LOWcrates/openlogi-hidpp/src/device.rs201/// report used to consume the caller's entire probe budget and abortCOMMENT
LOWcrates/openlogi-hidpp/src/channel.rs81 #[must_use]COMMENT
LOWcrates/openlogi-hidpp/src/channel.rs321COMMENT
LOWcrates/openlogi-hidpp/src/channel.rs401 self.send_with_timeout(msg, response_predicate, SEND_RESPONSE_TIMEOUT)COMMENT
LOWcrates/openlogi-hidpp/src/protocol.rs21 ///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//! was found");COMMENT
LOWcrates/openlogi-hidpp/src/lib.rs101//! We can now initialize it:COMMENT
LOWcrates/openlogi-hidpp/src/lib.rs121//! .expect("FeatureSet feature is not supported");COMMENT
LOWcrates/openlogi-hidpp/src/protocol/v20.rs161COMMENT
LOWcrates/openlogi-hidpp/src/protocol/v20.rs181 /// Invalid feature index.COMMENT
LOWcrates/openlogi-hidpp/src/protocol/v10.rs261COMMENT
LOWcrates/openlogi-hidpp/src/protocol/v10.rs281 /// [`Self::Error`]).COMMENT
LOWcrates/openlogi-hidpp/src/protocol/v10.rs341 /// This error is returned by the receiver when a HID++ command has beenCOMMENT
LOWcrates/openlogi-hidpp/src/channel/message.rs21 /// Please checkCOMMENT
LOWcrates/openlogi-hidpp/src/channel/error.rs21 /// Indicates that the channel in question does not support HID++.COMMENT
LOWcrates/openlogi-hidpp/src/channel/error.rs41 /// [`HidppChannel::send_with_timeout`](super::HidppChannel::send_with_timeout)COMMENT
LOWcrates/openlogi-hidpp/src/channel/raw.rs21COMMENT
LOWcrates/openlogi-hidpp/src/channel/raw.rs41 ///COMMENT
LOWcrates/openlogi-hidpp/src/channel/raw.rs61 /// Whether the underlying device connection is still usable.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs1//! Implements the Logi Bolt receiver.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs41 Notifications = 0x00,COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs61 ///COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt.rs421/// Represents information about a paired device.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs21};COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs41 ReceiverInfo = 0xb5,COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs141 ///COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs301/// Represents information about a paired device as read from the pairingCOMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs321/// The encoding matches Bolt for values 1–4; from 5 onwards Unifying uses aCOMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs341 /// Remote-control device.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/unifying.rs361 pub encrypted: bool,COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs1//! The notifications a Bolt receiver broadcasts, and their decoding.COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs161///COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs181COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs201 kind: DeviceKind,COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs221 ///COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs241 ///COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs261COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs301#[cfg_attr(feature = "serde", derive(serde::Serialize))]COMMENT
LOWcrates/openlogi-hidpp/src/receiver/bolt/event.rs321 /// Touchpad device.COMMENT
LOWcrates/openlogi-hidpp/src/feature/mouse_pointer.rs1//! Implements the `MousePointer` feature (ID `0x2200`) that reports a mouse'sCOMMENT
LOWcrates/openlogi-hidpp/src/feature/mouse_pointer.rs21 /// A low acceleration curve.COMMENT
LOWcrates/openlogi-hidpp/src/feature/mouse_pointer.rs41 /// The acceleration curve the device suggests.COMMENT
592 more matches not shown…
Decorative Section Separators45 hits · 153 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/linux/nfpm.yaml23 # ── binaries ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/nfpm.yaml44 # ── udev rules ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/nfpm.yaml50 # ── systemd user unit ───────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/nfpm.yaml56 # ── XDG desktop entry ───────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/nfpm.yaml62 # ── icon ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh29# ── stop and disable the agent ────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh45# ── remove binaries ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh51# ── udev rules ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh61# ── systemd user unit ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/uninstall.sh66# ── desktop entry + icon ──────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh61# ── locate build output ────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh76# ── install binaries ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh84# ── udev rules ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh98# ── systemd user unit ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh119# ── desktop entry ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/linux/install.sh125# ── icon ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs532// ── frontmost_app_id ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs745 // ── key_to_button ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs774 // ── translate ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs841 // ── movement ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs867 // ── scroll — standard ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs891 // ── scroll — hi-res ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-hook/src/linux.rs948 // ── is_hookable_mouse ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-inject/src/inject/linux.rs592// ── D-Bus helpers ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-camera/src/uvc.rs262// ── AVFoundation unique-id → USB location id ─────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs24 // ── System ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs29 // ── Mouse ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs45 // ── Editing ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs68 // ── Browser / Navigation ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs86 // ── Navigation / Window ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs100 // ── System ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs115 // ── Media ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs129 // ── DPI ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs138 // ── Scroll ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs148 // ── Custom ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/action.rs157 // ── System (appended) ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/swipe.rs158 // ── Gesture classification ────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/swipe.rs213 // ── SwipeAccumulator (the shared mid-swipe state machine) ─────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/tests.rs19// ── Catalog tests ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/tests.rs137// ── Binding (merged model) serde routing ──────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/tests.rs264// ── TOML roundtrip ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/tests.rs403// ── Category tests ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/tests.rs476// ── Category label smoke test ─────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/tests.rs495// ── Default binding ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openlogi-core/src/binding/tests.rs536// ── Effect classification ─────────────────────────────────────────────────COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALcrates/openlogi-camera/src/uvc_windows.rs438 Some(value.Anonymous.Anonymous.Anonymous.bstrVal.to_string())CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcrates/openlogi-hidpp-derive/src/lib.rs204/// path (fields are always written unqualified, but this is robust eitherCOMMENT
MEDIUMcrates/openlogi-desktop/src/services/i18n.rs48 /// separate `#[test]`s would race under the parallel harness. Tests thatCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackaging/linux/uninstall.sh6# Usage:COMMENT
LOWpackaging/linux/install.sh8# Usage:COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yml323 # Create the draft, upload assets to it, then publish — all in one step.COMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/scripts/i18n/merge_crowdin_download.py199 def test_sparse_download_keeps_parity_and_accepts_real_updates(self) -> None:CODE
LOW.github/scripts/i18n/merge_crowdin_download.py252 def test_english_fill_in_does_not_clobber_real_translations(self) -> None:CODE
LOW.github/scripts/i18n/merge_crowdin_download.py303 def test_english_only_export_restores_git_values(self) -> None:CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/scripts/i18n/merge_crowdin_download.py17CODE