A free, open source, and extensible speech-to-text application that works completely offline.
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).
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.
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/i18n/locales/pl/translation.json | 227 | "placeholder": "Wybierz mikrofon...", | CODE |
| LOW | src/i18n/locales/pl/translation.json | 243 | "placeholder": "Wybierz urządzenie wyjściowe...", | CODE |
| LOW | src/i18n/locales/pl/translation.json | 371 | "placeholder": "Dodaj słowo", | CODE |
| LOW | src/i18n/locales/pl/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/pl/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/pl/translation.json | 508 | "placeholder": "Wybierz okres retencji..." | CODE |
| LOW | src/i18n/locales/vi/translation.json | 227 | "placeholder": "Chọn micrô...", | CODE |
| LOW | src/i18n/locales/vi/translation.json | 243 | "placeholder": "Chọn thiết bị đầu ra...", | CODE |
| LOW | src/i18n/locales/vi/translation.json | 371 | "placeholder": "Thêm một từ", | CODE |
| LOW | src/i18n/locales/vi/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/vi/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/vi/translation.json | 508 | "placeholder": "Chọn thời gian lưu giữ..." | CODE |
| LOW | src/i18n/locales/sv/translation.json | 227 | "placeholder": "Välj mikrofon...", | CODE |
| LOW | src/i18n/locales/sv/translation.json | 243 | "placeholder": "Välj utmatningsenhet...", | CODE |
| LOW | src/i18n/locales/sv/translation.json | 371 | "placeholder": "Lägg till ett ord", | CODE |
| LOW | src/i18n/locales/sv/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/sv/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/sv/translation.json | 508 | "placeholder": "Välj lagringsperiod..." | CODE |
| LOW | src/i18n/locales/he/translation.json | 227 | "placeholder": "בחר מיקרופון...", | CODE |
| LOW | src/i18n/locales/he/translation.json | 243 | "placeholder": "בחר התקן פלט...", | CODE |
| LOW | src/i18n/locales/he/translation.json | 371 | "placeholder": "הוסף מילה", | CODE |
| LOW | src/i18n/locales/he/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/he/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/he/translation.json | 508 | "placeholder": "בחר משך שמירה..." | CODE |
| LOW | src/i18n/locales/da/translation.json | 227 | "placeholder": "Vælg mikrofon...", | CODE |
| LOW | src/i18n/locales/da/translation.json | 243 | "placeholder": "Vælg outputenhed...", | CODE |
| LOW | src/i18n/locales/da/translation.json | 371 | "placeholder": "Tilføj et ord", | CODE |
| LOW | src/i18n/locales/da/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/da/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/da/translation.json | 515 | "placeholder": "Vælg opbevaringsperiode..." | CODE |
| LOW | src/i18n/locales/ja/translation.json | 227 | "placeholder": "マイクを選択…", | CODE |
| LOW | src/i18n/locales/ja/translation.json | 243 | "placeholder": "出力デバイスを選択…", | CODE |
| LOW | src/i18n/locales/ja/translation.json | 371 | "placeholder": "単語を追加", | CODE |
| LOW | src/i18n/locales/ja/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/ja/translation.json | 414 | "placeholder": "sk-…" | CODE |
| LOW | src/i18n/locales/ja/translation.json | 508 | "placeholder": "保持期間を選択…" | CODE |
| LOW | src/i18n/locales/it/translation.json | 227 | "placeholder": "Scegli microfono...", | CODE |
| LOW | src/i18n/locales/it/translation.json | 243 | "placeholder": "Scegli dispositivo di output...", | CODE |
| LOW | src/i18n/locales/it/translation.json | 371 | "placeholder": "Aggiungi una parola", | CODE |
| LOW | src/i18n/locales/it/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/it/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/it/translation.json | 508 | "placeholder": "Seleziona periodo di conservazione..." | CODE |
| LOW | src/i18n/locales/cs/translation.json | 227 | "placeholder": "Vyberte mikrofon...", | CODE |
| LOW | src/i18n/locales/cs/translation.json | 243 | "placeholder": "Vyberte výstupní zařízení...", | CODE |
| LOW | src/i18n/locales/cs/translation.json | 371 | "placeholder": "Přidat slovo", | CODE |
| LOW | src/i18n/locales/cs/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/cs/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/cs/translation.json | 508 | "placeholder": "Vyberte dobu uchování..." | CODE |
| LOW | src/i18n/locales/ru/translation.json | 227 | "placeholder": "Выбрать микрофон...", | CODE |
| LOW | src/i18n/locales/ru/translation.json | 243 | "placeholder": "Выберите устройство вывода...", | CODE |
| LOW | src/i18n/locales/ru/translation.json | 371 | "placeholder": "Добавить слово", | CODE |
| LOW | src/i18n/locales/ru/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/ru/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/ru/translation.json | 508 | "placeholder": "Выберите срок хранения..." | CODE |
| LOW | src/i18n/locales/pt/translation.json | 227 | "placeholder": "Selecionar microfone...", | CODE |
| LOW | src/i18n/locales/pt/translation.json | 243 | "placeholder": "Selecionar dispositivo de saída...", | CODE |
| LOW | src/i18n/locales/pt/translation.json | 371 | "placeholder": "Adicionar uma palavra", | CODE |
| LOW | src/i18n/locales/pt/translation.json | 409 | "placeholder": "https://api.openai.com/v1" | CODE |
| LOW | src/i18n/locales/pt/translation.json | 414 | "placeholder": "sk-..." | CODE |
| LOW | src/i18n/locales/pt/translation.json | 508 | "placeholder": "Selecionar período de retenção..." | CODE |
| 84 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check-nix-deps.ts | 1 | // scripts/check-nix-deps.ts — Keep .nix/bun.nix in sync with bun.lock | COMMENT |
| LOW | scripts/ci/stage-transcribe-libs.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/workflows/build.yml | 281 | # Two ARM-static CMake overrides, forwarded by src-tauri/build.rs to the | COMMENT |
| LOW | .github/workflows/build.yml | 401 | # embedding pyke's default download-binaries build, which is compiled with a | COMMENT |
| LOW | .github/workflows/build.yml | 421 | $ortLib = (Resolve-Path "ort-dist/onnxruntime-win-x64-$ORT_VERSION/lib").Path | COMMENT |
| LOW | .github/workflows/build.yml | 481 | echo "LD_LIBRARY_PATH=$LIBDIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> "$GITHUB_ENV" | COMMENT |
| LOW | src-tauri/Cargo.toml | 121 | "Win32_Graphics_Gdi", | COMMENT |
| LOW | src-tauri/Cargo.toml | 161 | libc = "0.2" | COMMENT |
| LOW | src-tauri/build.rs | 1 | fn main() { | COMMENT |
| LOW | src-tauri/build.rs | 141 | let dest_dir = | COMMENT |
| LOW | src-tauri/build.rs | 221 | // libfoo.so -> libfoo.so.0.2 -> libfoo.so.0.2.0), and tauri's deb/rpm | COMMENT |
| LOW | src-tauri/build.rs | 421 | // the active toolchain could build the real path (e.g. to skip the Swift | COMMENT |
| LOW | src-tauri/build.rs | 481 | .parent() | COMMENT |
| LOW | src-tauri/src/autostart.rs | 1 | //! Launch-at-login (autostart) handling. | COMMENT |
| LOW | src-tauri/src/transcription_coordinator.rs | 621 | COMMENT | |
| LOW | src-tauri/src/transcription_coordinator.rs | 641 | // The unit tests above assert the classifiers in isolation. The harness | COMMENT |
| LOW | src-tauri/src/lib.rs | 181 | app_handle.manage(transcription_manager.clone()); | COMMENT |
| LOW | src-tauri/src/lib.rs | 941 | initialize_core_logic(&app_handle); | COMMENT |
| LOW | src-tauri/src/memory.rs | 1 | //! glibc allocator tuning (Linux only). | COMMENT |
| LOW | src-tauri/src/memory.rs | 21 | COMMENT | |
| LOW | src-tauri/src/tray.rs | 1 | //! System tray icon and menu. | COMMENT |
| LOW | src-tauri/src/tray.rs | 221 | COMMENT | |
| LOW | src-tauri/src/overlay.rs | 241 | && mouse_y >= monitor_y | COMMENT |
| LOW | src-tauri/src/overlay.rs | 481 | fn show_overlay_state(app_handle: &AppHandle, state: &str) { | COMMENT |
| LOW | src-tauri/src/overlay.rs | 721 | } | COMMENT |
| LOW | src-tauri/src/clipboard.rs | 421 | .arg("type") | COMMENT |
| LOW | src-tauri/src/input.rs | 161 | /// Get the current mouse cursor position using the managed Enigo instance. | COMMENT |
| LOW | src-tauri/src/secure_input.rs | 1 | //! macOS Secure Event Input detection, monitoring, and fallback. | COMMENT |
| LOW | src-tauri/src/settings.rs | 341 | /// The container-level `serde(default)` (backed by the `Default` impl below) | COMMENT |
| LOW | src-tauri/src/settings.rs | 361 | pub audio_feedback: bool, | COMMENT |
| LOW | src-tauri/src/settings.rs | 381 | pub selected_model: String, | COMMENT |
| LOW | src-tauri/src/settings.rs | 441 | pub append_trailing_space: bool, | COMMENT |
| LOW | src-tauri/src/settings.rs | 461 | #[serde(default)] | COMMENT |
| LOW | src-tauri/src/settings.rs | 1201 | assert!(!settings.audio_feedback); | COMMENT |
| LOW | src-tauri/src/signal_handle.rs | 21 | } else { | COMMENT |
| LOW | src-tauri/src/cli.rs | 41 | /// Hard-select the compute device for --transcribe-file by its registry | COMMENT |
| LOW | src-tauri/src/tray_i18n.rs | 1 | //! Tray menu internationalization | COMMENT |
| LOW | src-tauri/src/paste_tx/macos.rs | 1 | //! macOS reliable paste. | COMMENT |
| LOW | src-tauri/src/paste_tx/mod.rs | 1 | //! Receipt-sequenced clipboard paste ("reliable paste", debug-gated). | COMMENT |
| LOW | src-tauri/src/paste_tx/mod.rs | 21 | //! read before that is an eager third party (clipboard manager, antivirus) | COMMENT |
| LOW | src-tauri/src/paste_tx/mod.rs | 61 | /// When the chord could not be injected at all, no legitimate receipt can | COMMENT |
| LOW | src-tauri/src/paste_tx/windows.rs | 1 | //! Windows reliable paste. | COMMENT |
| LOW | src-tauri/src/shortcut/mod.rs | 281 | Ok(()) | COMMENT |
| LOW | src-tauri/src/shortcut/handy_keys.rs | 1 | //! Handy-keys based keyboard shortcut implementation | COMMENT |
| LOW | src-tauri/src/audio_toolkit/lang_id.rs | 1 | //! Confidence-gated text-based language identification. | COMMENT |
| LOW | src-tauri/src/audio_toolkit/text.rs | 61 | COMMENT | |
| LOW | src-tauri/src/audio_toolkit/text.rs | 141 | /// - Soundex phonetic matching for pronunciation similarity | COMMENT |
| LOW | src-tauri/src/audio_toolkit/text.rs | 361 | result.join(" ") | COMMENT |
| LOW | src-tauri/src/audio_toolkit/audio/recorder.rs | 761 | let mut processed_samples = Vec::<f32>::new(); | COMMENT |
| LOW | src-tauri/src/catalog/mod.rs | 1 | //! The bundled, offline model catalog. | COMMENT |
| LOW | src-tauri/src/managers/model_capabilities.rs | 1 | //! Model capability probing — the seam between Handy's model UI and "what can | COMMENT |
| LOW | src-tauri/src/managers/model_capabilities.rs | 81 | Unsupported, | COMMENT |
| LOW | src-tauri/src/managers/transcription.rs | 261 | /// Tauri state and the manager lock. | COMMENT |
| LOW | src-tauri/src/managers/transcription.rs | 1201 | COMMENT | |
| LOW | src-tauri/src/managers/transcription.rs | 1221 | debug!( | COMMENT |
| LOW | src-tauri/src/managers/transcription.rs | 1821 | error!( | COMMENT |
| LOW | src-tauri/src/managers/audio.rs | 381 | recorder: Arc<Mutex<Option<AudioRecorder>>>, | COMMENT |
| LOW | src-tauri/src/managers/gguf_meta.rs | 1 | //! Minimal, dependency-free GGUF metadata reader. | COMMENT |
| LOW | src-tauri/src/managers/model.rs | 41 | /// Where a model comes from and how Handy obtains it — the routing discriminant | COMMENT |
| LOW | src-tauri/src/managers/model.rs | 1201 | /// The merge is additive: only new ids are inserted, so existing entries keep | COMMENT |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/gen_catalog.py | 30 | # ───────────────────────── scoring (one constant each) ────────────────────── | COMMENT |
| MEDIUM | scripts/gen_catalog.py | 39 | # ───────────────────────── curation (CJ owns; editorial, not derivable) ────── | COMMENT |
| MEDIUM | scripts/gen_catalog.py | 69 | # ───────────────────────── helpers ────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src-tauri/src/shortcut/handy_keys.rs | 11 | //! ┌─────────────────┐ commands ┌──────────────────────┐ | COMMENT |
| MEDIUM⚡ | src-tauri/src/shortcut/handy_keys.rs | 12 | //! │ Main Thread │ ───────────────▶ │ Manager Thread │ | COMMENT |
| MEDIUM⚡ | src-tauri/src/shortcut/handy_keys.rs | 16 | //! └─────────────────┘ │ - dispatches actions │ | COMMENT |
| MEDIUM⚡ | src-tauri/src/shortcut/handy_keys.rs | 17 | //! └──────────────────────┘ | COMMENT |
| MEDIUM | src-tauri/src/managers/model/download/tests.rs | 12 | // ── SHA256 verification tests ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/managers/model/download/tests.rs | 81 | // ── Resumable HTTP downloader tests ─────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CONTRIBUTING_TRANSLATIONS.md | 30 | ### Step 1: Create the Language Folder | COMMENT |
| LOW | CONTRIBUTING_TRANSLATIONS.md | 47 | ### Step 2: Copy the English File | COMMENT |
| LOW | CONTRIBUTING_TRANSLATIONS.md | 53 | ### Step 3: Translate the Values | COMMENT |
| LOW | CONTRIBUTING_TRANSLATIONS.md | 73 | ### Step 4: Register Your Language | COMMENT |
| LOW | CONTRIBUTING_TRANSLATIONS.md | 90 | ### Step 5: Test Your Translation | COMMENT |
| LOW | CONTRIBUTING_TRANSLATIONS.md | 97 | ### Step 6: Submit a Pull Request | COMMENT |
| LOW | README.md | 330 | #### Step 1: Find Your App Data Directory | COMMENT |
| LOW | README.md | 344 | #### Step 2: Create Models Directory | COMMENT |
| LOW | README.md | 356 | #### Step 3: Download Model Files | COMMENT |
| LOW | README.md | 376 | #### Step 4: Install Models | COMMENT |
| LOW | README.md | 420 | #### Step 5: Verify Installation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gen_catalog.py | 135 | except Exception: | CODE |
| LOW | scripts/gen_catalog.py | 163 | except Exception: | CODE |
| LOW | scripts/gen_catalog.py | 272 | except Exception as e: | CODE |
| LOW | scripts/mirror_models.py | 132 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gen_catalog.py | 124 | CODE | |
| LOW | scripts/gen_catalog.py | 262 | CODE | |
| LOW | scripts/mirror_models.py | 180 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src-tauri/src/secure_input.rs | 114 | /// none are affected), the experience is seamless and nothing is shown. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/components/update-checker/portableInstaller.ts | 23 | export function resolvePortableInstallerUrl( | CODE |
| LOW | src/lib/utils/modelTranslation.ts | 22 | export function getTranslatedModelDescription( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check-nix-deps.ts | 83 | "[check-nix-deps] Don't forget to commit: .nix/bun.nix .nix/bun-lock-hash", | CODE |