Repository Analysis

cjpais/Handy

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

3.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of cjpais/Handy, a Rust project with 26,468 GitHub stars. SynthScan v2.0 examined 56,737 lines of code across 261 source files, recording 188 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 3.8 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.8
Adjusted Score
3.8
Raw Score
100%
Time Factor
2026-07-13
Last Push
26.5K
Stars
Rust
Language
56.7K
Lines of Code
261
Files
188
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

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 8LOW 180

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

Fake / Example Data132 hits · 132 pts
SeverityFileLineSnippetContext
LOWsrc/i18n/locales/pl/translation.json224 "placeholder": "Wybierz mikrofon...",CODE
LOWsrc/i18n/locales/pl/translation.json234 "placeholder": "Wybierz urządzenie wyjściowe...",CODE
LOWsrc/i18n/locales/pl/translation.json362 "placeholder": "Dodaj słowo",CODE
LOWsrc/i18n/locales/pl/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/pl/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/pl/translation.json487 "placeholder": "Wybierz okres retencji..."CODE
LOWsrc/i18n/locales/vi/translation.json224 "placeholder": "Chọn micrô...",CODE
LOWsrc/i18n/locales/vi/translation.json234 "placeholder": "Chọn thiết bị đầu ra...",CODE
LOWsrc/i18n/locales/vi/translation.json362 "placeholder": "Thêm một từ",CODE
LOWsrc/i18n/locales/vi/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/vi/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/vi/translation.json487 "placeholder": "Chọn thời gian lưu giữ..."CODE
LOWsrc/i18n/locales/sv/translation.json224 "placeholder": "Välj mikrofon...",CODE
LOWsrc/i18n/locales/sv/translation.json234 "placeholder": "Välj utmatningsenhet...",CODE
LOWsrc/i18n/locales/sv/translation.json362 "placeholder": "Lägg till ett ord",CODE
LOWsrc/i18n/locales/sv/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/sv/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/sv/translation.json487 "placeholder": "Välj lagringsperiod..."CODE
LOWsrc/i18n/locales/he/translation.json224 "placeholder": "בחר מיקרופון...",CODE
LOWsrc/i18n/locales/he/translation.json234 "placeholder": "בחר התקן פלט...",CODE
LOWsrc/i18n/locales/he/translation.json362 "placeholder": "הוסף מילה",CODE
LOWsrc/i18n/locales/he/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/he/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/he/translation.json487 "placeholder": "בחר משך שמירה..."CODE
LOWsrc/i18n/locales/ja/translation.json224 "placeholder": "マイクを選択…",CODE
LOWsrc/i18n/locales/ja/translation.json234 "placeholder": "出力デバイスを選択…",CODE
LOWsrc/i18n/locales/ja/translation.json362 "placeholder": "単語を追加",CODE
LOWsrc/i18n/locales/ja/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/ja/translation.json393 "placeholder": "sk-…"CODE
LOWsrc/i18n/locales/ja/translation.json487 "placeholder": "保持期間を選択…"CODE
LOWsrc/i18n/locales/it/translation.json224 "placeholder": "Scegli microfono...",CODE
LOWsrc/i18n/locales/it/translation.json234 "placeholder": "Scegli dispositivo di output...",CODE
LOWsrc/i18n/locales/it/translation.json362 "placeholder": "Aggiungi una parola",CODE
LOWsrc/i18n/locales/it/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/it/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/it/translation.json487 "placeholder": "Seleziona periodo di conservazione..."CODE
LOWsrc/i18n/locales/cs/translation.json224 "placeholder": "Vyberte mikrofon...",CODE
LOWsrc/i18n/locales/cs/translation.json234 "placeholder": "Vyberte výstupní zařízení...",CODE
LOWsrc/i18n/locales/cs/translation.json362 "placeholder": "Přidat slovo",CODE
LOWsrc/i18n/locales/cs/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/cs/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/cs/translation.json487 "placeholder": "Vyberte dobu uchování..."CODE
LOWsrc/i18n/locales/ru/translation.json224 "placeholder": "Выбрать микрофон...",CODE
LOWsrc/i18n/locales/ru/translation.json234 "placeholder": "Выберите устройство вывода...",CODE
LOWsrc/i18n/locales/ru/translation.json362 "placeholder": "Добавить слово",CODE
LOWsrc/i18n/locales/ru/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/ru/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/ru/translation.json487 "placeholder": "Выберите срок хранения..."CODE
LOWsrc/i18n/locales/pt/translation.json224 "placeholder": "Selecionar microfone...",CODE
LOWsrc/i18n/locales/pt/translation.json234 "placeholder": "Selecionar dispositivo de saída...",CODE
LOWsrc/i18n/locales/pt/translation.json362 "placeholder": "Adicionar uma palavra",CODE
LOWsrc/i18n/locales/pt/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/pt/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/pt/translation.json487 "placeholder": "Selecionar período de retenção..."CODE
LOWsrc/i18n/locales/zh/translation.json224 "placeholder": "选择麦克风...",CODE
LOWsrc/i18n/locales/zh/translation.json234 "placeholder": "选择输出设备...",CODE
LOWsrc/i18n/locales/zh/translation.json362 "placeholder": "添加词汇",CODE
LOWsrc/i18n/locales/zh/translation.json388 "placeholder": "https://api.openai.com/v1"CODE
LOWsrc/i18n/locales/zh/translation.json393 "placeholder": "sk-..."CODE
LOWsrc/i18n/locales/zh/translation.json487 "placeholder": "选择保留期限..."CODE
72 more matches not shown…
Over-Commented Block30 hits · 30 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.yml421 Write-Host "ORT_LIB_LOCATION=$ortLib"COMMENT
LOWsrc-tauri/Cargo.toml101# executes BMI2/AVX in a static initializer and crashes at process startup on anyCOMMENT
LOWsrc-tauri/build.rs1fn main() {COMMENT
LOWsrc-tauri/build.rs21 // dynamic-backends posture used by Linux and Windows; it's a no-op for theCOMMENT
LOWsrc-tauri/build.rs141 std::fs::copy(&src, dest_dir.join("onnxruntime.dll"))COMMENT
LOWsrc-tauri/build.rs361 .trim()COMMENT
LOWsrc-tauri/build.rs501 }COMMENT
LOWsrc-tauri/src/transcription_coordinator.rs341COMMENT
LOWsrc-tauri/src/transcription_coordinator.rs361 // The unit tests above assert `classify_ptt_event` in isolation. TheCOMMENT
LOWsrc-tauri/src/overlay.rs501 return;COMMENT
LOWsrc-tauri/src/settings.rs341 /// Internal settings schema marker for one-time migrations. Fresh installsCOMMENT
LOWsrc-tauri/src/settings.rs361 pub autostart_enabled: bool,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/shortcut/handy_keys.rs1//! Handy-keys based keyboard shortcut implementationCOMMENT
LOWsrc-tauri/src/audio_toolkit/text.rs121///COMMENT
LOWsrc-tauri/src/audio_toolkit/text.rs301 result.join(" ")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 #[default]COMMENT
LOWsrc-tauri/src/managers/transcription.rs81 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWsrc-tauri/src/managers/transcription.rs241 /// Tauri state and the manager lock.COMMENT
LOWsrc-tauri/src/managers/transcription.rs1161 }COMMENT
LOWsrc-tauri/src/managers/transcription.rs1621 &settings.app_language,COMMENT
LOWsrc-tauri/src/managers/gguf_meta.rs1//! Minimal, dependency-free GGUF metadata reader.COMMENT
LOWsrc-tauri/src/managers/model.rs1141 /// models dropped in or downloaded outside Handy show up without a restart.COMMENT
LOWsrc/lib/constants/languages.ts121 (language) =>COMMENT
Decorative Section Separators8 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMscripts/gen_catalog.py23# ───────────────────────── scoring (one constant each) ──────────────────────COMMENT
MEDIUMscripts/gen_catalog.py32# ───────────────────────── curation (CJ owns; editorial, not derivable) ──────COMMENT
MEDIUMscripts/gen_catalog.py59# ───────────────────────── 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.rs2560 // ── SHA256 verification 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.md315#### Step 1: Find Your App Data DirectoryCOMMENT
LOWREADME.md329#### Step 2: Create Models DirectoryCOMMENT
LOWREADME.md341#### Step 3: Download Model FilesCOMMENT
LOWREADME.md357#### Step 4: Install ModelsCOMMENT
LOWREADME.md397#### Step 5: Verify InstallationCOMMENT
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/gen_catalog.py117 except Exception:CODE
LOWscripts/gen_catalog.py145 except Exception:CODE
LOWscripts/gen_catalog.py236 except Exception as e:CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/gen_catalog.py106CODE
LOWscripts/gen_catalog.py226CODE
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
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/lib/utils/modelTranslation.ts22export function getTranslatedModelDescription(CODE