Repository Analysis

cjpais/Handy

A free, open source, and extensible speech-to-text application that works completely offline.

3.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of cjpais/Handy, a Rust project with 30,526 GitHub stars. SynthScan v2.0 examined 68,159 lines of code across 284 source files, recording 237 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 3.9 places this repository in the Likely human-written 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).

3.9
Adjusted Score
3.9
Raw Score
100%
Time Factor
2026-08-26
Last Push
30.5K
Stars
Rust
Language
68.2K
Lines of Code
284
Files
237
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 0MEDIUM 10LOW 227

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 237 distinct pattern matches across 9 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.

Fake / Example Data144 hits · 144 pts
SeverityFileLineSnippetContext
LOWsrc/i18n/locales/pl/translation.json227 "placeholder": "Wybierz mikrofon...",CODE
LOWsrc/i18n/locales/pl/translation.json243 "placeholder": "Wybierz urządzenie wyjściowe...",CODE
LOWsrc/i18n/locales/pl/translation.json371 "placeholder": "Dodaj słowo",CODE
LOWsrc/i18n/locales/pl/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/pl/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/pl/translation.json508 "placeholder": "Wybierz okres retencji..."CODE
LOWsrc/i18n/locales/vi/translation.json227 "placeholder": "Chọn micrô...",CODE
LOWsrc/i18n/locales/vi/translation.json243 "placeholder": "Chọn thiết bị đầu ra...",CODE
LOWsrc/i18n/locales/vi/translation.json371 "placeholder": "Thêm một từ",CODE
LOWsrc/i18n/locales/vi/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/vi/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/vi/translation.json508 "placeholder": "Chọn thời gian lưu giữ..."CODE
LOWsrc/i18n/locales/sv/translation.json227 "placeholder": "Välj mikrofon...",CODE
LOWsrc/i18n/locales/sv/translation.json243 "placeholder": "Välj utmatningsenhet...",CODE
LOWsrc/i18n/locales/sv/translation.json371 "placeholder": "Lägg till ett ord",CODE
LOWsrc/i18n/locales/sv/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/sv/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/sv/translation.json508 "placeholder": "Välj lagringsperiod..."CODE
LOWsrc/i18n/locales/he/translation.json227 "placeholder": "בחר מיקרופון...",CODE
LOWsrc/i18n/locales/he/translation.json243 "placeholder": "בחר התקן פלט...",CODE
LOWsrc/i18n/locales/he/translation.json371 "placeholder": "הוסף מילה",CODE
LOWsrc/i18n/locales/he/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/he/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/he/translation.json508 "placeholder": "בחר משך שמירה..."CODE
LOWsrc/i18n/locales/da/translation.json227 "placeholder": "Vælg mikrofon...",CODE
LOWsrc/i18n/locales/da/translation.json243 "placeholder": "Vælg outputenhed...",CODE
LOWsrc/i18n/locales/da/translation.json371 "placeholder": "Tilføj et ord",CODE
LOWsrc/i18n/locales/da/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/da/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/da/translation.json515 "placeholder": "Vælg opbevaringsperiode..."CODE
LOWsrc/i18n/locales/ja/translation.json227 "placeholder": "マイクを選択…",CODE
LOWsrc/i18n/locales/ja/translation.json243 "placeholder": "出力デバイスを選択…",CODE
LOWsrc/i18n/locales/ja/translation.json371 "placeholder": "単語を追加",CODE
LOWsrc/i18n/locales/ja/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/ja/translation.json414 "placeholder": "sk-…"CODE
LOWsrc/i18n/locales/ja/translation.json508 "placeholder": "保持期間を選択…"CODE
LOWsrc/i18n/locales/it/translation.json227 "placeholder": "Scegli microfono...",CODE
LOWsrc/i18n/locales/it/translation.json243 "placeholder": "Scegli dispositivo di output...",CODE
LOWsrc/i18n/locales/it/translation.json371 "placeholder": "Aggiungi una parola",CODE
LOWsrc/i18n/locales/it/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/it/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/it/translation.json508 "placeholder": "Seleziona periodo di conservazione..."CODE
LOWsrc/i18n/locales/cs/translation.json227 "placeholder": "Vyberte mikrofon...",CODE
LOWsrc/i18n/locales/cs/translation.json243 "placeholder": "Vyberte výstupní zařízení...",CODE
LOWsrc/i18n/locales/cs/translation.json371 "placeholder": "Přidat slovo",CODE
LOWsrc/i18n/locales/cs/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/cs/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/cs/translation.json508 "placeholder": "Vyberte dobu uchování..."CODE
LOWsrc/i18n/locales/ru/translation.json227 "placeholder": "Выбрать микрофон...",CODE
LOWsrc/i18n/locales/ru/translation.json243 "placeholder": "Выберите устройство вывода...",CODE
LOWsrc/i18n/locales/ru/translation.json371 "placeholder": "Добавить слово",CODE
LOWsrc/i18n/locales/ru/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/ru/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/ru/translation.json508 "placeholder": "Выберите срок хранения..."CODE
LOWsrc/i18n/locales/pt/translation.json227 "placeholder": "Selecionar microfone...",CODE
LOWsrc/i18n/locales/pt/translation.json243 "placeholder": "Selecionar dispositivo de saída...",CODE
LOWsrc/i18n/locales/pt/translation.json371 "placeholder": "Adicionar uma palavra",CODE
LOWsrc/i18n/locales/pt/translation.json409 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/pt/translation.json414 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/pt/translation.json508 "placeholder": "Selecionar período de retenção..."CODE
84 more matches not shown…
Over-Commented Block62 hits · 62 pts
SeverityFileLineSnippetContext
LOWscripts/check-nix-deps.ts1// scripts/check-nix-deps.ts — Keep .nix/bun.nix in sync with bun.lockCOMMENT
LOWscripts/ci/stage-transcribe-libs.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/build.yml281 # Two ARM-static CMake overrides, forwarded by src-tauri/build.rs to theCOMMENT
LOW.github/workflows/build.yml401 # embedding pyke's default download-binaries build, which is compiled with aCOMMENT
LOW.github/workflows/build.yml421 $ortLib = (Resolve-Path "ort-dist/onnxruntime-win-x64-$ORT_VERSION/lib").PathCOMMENT
LOW.github/workflows/build.yml481 echo "LD_LIBRARY_PATH=$LIBDIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> "$GITHUB_ENV"COMMENT
LOWsrc-tauri/Cargo.toml121 "Win32_Graphics_Gdi",COMMENT
LOWsrc-tauri/Cargo.toml161libc = "0.2"COMMENT
LOWsrc-tauri/build.rs1fn main() {COMMENT
LOWsrc-tauri/build.rs141 let dest_dir =COMMENT
LOWsrc-tauri/build.rs221 // libfoo.so -> libfoo.so.0.2 -> libfoo.so.0.2.0), and tauri's deb/rpmCOMMENT
LOWsrc-tauri/build.rs421 // the active toolchain could build the real path (e.g. to skip the SwiftCOMMENT
LOWsrc-tauri/build.rs481 .parent()COMMENT
LOWsrc-tauri/src/autostart.rs1//! Launch-at-login (autostart) handling.COMMENT
LOWsrc-tauri/src/transcription_coordinator.rs621COMMENT
LOWsrc-tauri/src/transcription_coordinator.rs641 // The unit tests above assert the classifiers in isolation. The harnessCOMMENT
LOWsrc-tauri/src/lib.rs181 app_handle.manage(transcription_manager.clone());COMMENT
LOWsrc-tauri/src/lib.rs941 initialize_core_logic(&app_handle);COMMENT
LOWsrc-tauri/src/memory.rs1//! glibc allocator tuning (Linux only).COMMENT
LOWsrc-tauri/src/memory.rs21COMMENT
LOWsrc-tauri/src/tray.rs1//! System tray icon and menu.COMMENT
LOWsrc-tauri/src/tray.rs221COMMENT
LOWsrc-tauri/src/overlay.rs241 && mouse_y >= monitor_yCOMMENT
LOWsrc-tauri/src/overlay.rs481fn show_overlay_state(app_handle: &AppHandle, state: &str) {COMMENT
LOWsrc-tauri/src/overlay.rs721}COMMENT
LOWsrc-tauri/src/clipboard.rs421 .arg("type")COMMENT
LOWsrc-tauri/src/input.rs161/// Get the current mouse cursor position using the managed Enigo instance.COMMENT
LOWsrc-tauri/src/secure_input.rs1//! macOS Secure Event Input detection, monitoring, and fallback.COMMENT
LOWsrc-tauri/src/settings.rs341/// The container-level `serde(default)` (backed by the `Default` impl below)COMMENT
LOWsrc-tauri/src/settings.rs361 pub audio_feedback: bool,COMMENT
LOWsrc-tauri/src/settings.rs381 pub selected_model: String,COMMENT
LOWsrc-tauri/src/settings.rs441 pub append_trailing_space: bool,COMMENT
LOWsrc-tauri/src/settings.rs461 #[serde(default)]COMMENT
LOWsrc-tauri/src/settings.rs1201 assert!(!settings.audio_feedback);COMMENT
LOWsrc-tauri/src/signal_handle.rs21 } else {COMMENT
LOWsrc-tauri/src/cli.rs41 /// Hard-select the compute device for --transcribe-file by its registryCOMMENT
LOWsrc-tauri/src/tray_i18n.rs1//! Tray menu internationalizationCOMMENT
LOWsrc-tauri/src/paste_tx/macos.rs1//! macOS reliable paste.COMMENT
LOWsrc-tauri/src/paste_tx/mod.rs1//! Receipt-sequenced clipboard paste ("reliable paste", debug-gated).COMMENT
LOWsrc-tauri/src/paste_tx/mod.rs21//! read before that is an eager third party (clipboard manager, antivirus)COMMENT
LOWsrc-tauri/src/paste_tx/mod.rs61/// When the chord could not be injected at all, no legitimate receipt canCOMMENT
LOWsrc-tauri/src/paste_tx/windows.rs1//! Windows reliable paste.COMMENT
LOWsrc-tauri/src/shortcut/mod.rs281 Ok(())COMMENT
LOWsrc-tauri/src/shortcut/handy_keys.rs1//! Handy-keys based keyboard shortcut implementationCOMMENT
LOWsrc-tauri/src/audio_toolkit/lang_id.rs1//! Confidence-gated text-based language identification.COMMENT
LOWsrc-tauri/src/audio_toolkit/text.rs61COMMENT
LOWsrc-tauri/src/audio_toolkit/text.rs141/// - Soundex phonetic matching for pronunciation similarityCOMMENT
LOWsrc-tauri/src/audio_toolkit/text.rs361 result.join(" ")COMMENT
LOWsrc-tauri/src/audio_toolkit/audio/recorder.rs761 let mut processed_samples = Vec::<f32>::new();COMMENT
LOWsrc-tauri/src/catalog/mod.rs1//! The bundled, offline model catalog.COMMENT
LOWsrc-tauri/src/managers/model_capabilities.rs1//! Model capability probing — the seam between Handy's model UI and "what canCOMMENT
LOWsrc-tauri/src/managers/model_capabilities.rs81 Unsupported,COMMENT
LOWsrc-tauri/src/managers/transcription.rs261 /// Tauri state and the manager lock.COMMENT
LOWsrc-tauri/src/managers/transcription.rs1201COMMENT
LOWsrc-tauri/src/managers/transcription.rs1221 debug!(COMMENT
LOWsrc-tauri/src/managers/transcription.rs1821 error!(COMMENT
LOWsrc-tauri/src/managers/audio.rs381 recorder: Arc<Mutex<Option<AudioRecorder>>>,COMMENT
LOWsrc-tauri/src/managers/gguf_meta.rs1//! Minimal, dependency-free GGUF metadata reader.COMMENT
LOWsrc-tauri/src/managers/model.rs41/// Where a model comes from and how Handy obtains it — the routing discriminantCOMMENT
LOWsrc-tauri/src/managers/model.rs1201 /// The merge is additive: only new ids are inserted, so existing entries keepCOMMENT
2 more matches not shown…
Decorative Section Separators9 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMscripts/gen_catalog.py30# ───────────────────────── scoring (one constant each) ──────────────────────COMMENT
MEDIUMscripts/gen_catalog.py39# ───────────────────────── curation (CJ owns; editorial, not derivable) ──────COMMENT
MEDIUMscripts/gen_catalog.py69# ───────────────────────── helpers ──────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/shortcut/handy_keys.rs11//! ┌─────────────────┐ commands ┌──────────────────────┐COMMENT
MEDIUMsrc-tauri/src/shortcut/handy_keys.rs12//! │ Main Thread │ ───────────────▶ │ Manager Thread │COMMENT
MEDIUMsrc-tauri/src/shortcut/handy_keys.rs16//! └─────────────────┘ │ - dispatches actions │COMMENT
MEDIUMsrc-tauri/src/shortcut/handy_keys.rs17//! └──────────────────────┘COMMENT
MEDIUMsrc-tauri/src/managers/model/download/tests.rs12// ── SHA256 verification tests ─────────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/managers/model/download/tests.rs81// ── Resumable HTTP downloader tests ───────────────────────────────────────COMMENT
Structural Annotation Overuse11 hits · 16 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING_TRANSLATIONS.md30### Step 1: Create the Language FolderCOMMENT
LOWCONTRIBUTING_TRANSLATIONS.md47### Step 2: Copy the English FileCOMMENT
LOWCONTRIBUTING_TRANSLATIONS.md53### Step 3: Translate the ValuesCOMMENT
LOWCONTRIBUTING_TRANSLATIONS.md73### Step 4: Register Your LanguageCOMMENT
LOWCONTRIBUTING_TRANSLATIONS.md90### Step 5: Test Your TranslationCOMMENT
LOWCONTRIBUTING_TRANSLATIONS.md97### Step 6: Submit a Pull RequestCOMMENT
LOWREADME.md330#### Step 1: Find Your App Data DirectoryCOMMENT
LOWREADME.md344#### Step 2: Create Models DirectoryCOMMENT
LOWREADME.md356#### Step 3: Download Model FilesCOMMENT
LOWREADME.md376#### Step 4: Install ModelsCOMMENT
LOWREADME.md420#### Step 5: Verify InstallationCOMMENT
Excessive Try-Catch Wrapping4 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/gen_catalog.py135 except Exception:CODE
LOWscripts/gen_catalog.py163 except Exception:CODE
LOWscripts/gen_catalog.py272 except Exception as e:CODE
LOWscripts/mirror_models.py132 except Exception as e:CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/gen_catalog.py124CODE
LOWscripts/gen_catalog.py262CODE
LOWscripts/mirror_models.py180CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc-tauri/src/secure_input.rs114/// none are affected), the experience is seamless and nothing is shown.COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/components/update-checker/portableInstaller.ts23export function resolvePortableInstallerUrl(CODE
LOWsrc/lib/utils/modelTranslation.ts22export function getTranslatedModelDescription(CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/check-nix-deps.ts83 "[check-nix-deps] Don't forget to commit: .nix/bun.nix .nix/bun-lock-hash",CODE