This report summarizes scanner evidence for MicYou-Dev/MicYou. SynthScan examined 79,251 lines of code across 342 source files, recording 114 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 3.0 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 50 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 63 finding(s).
Which changes need focused human review? 114 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 114 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tauri-app/crates/micyou-plugin/tests/wasm_loader.rs | 15 | // ── Mock host ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/tests/wasm_loader.rs | 178 | // ── Tests ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/tests/wasm_loader.rs | 355 | // ── Example plugin validation ───────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/tests/native_loader.rs | 18 | // ── Mock host ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/tests/native_loader.rs | 140 | // ── Fixture discovery ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/tests/native_loader.rs | 318 | // ── Tests ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/manager.rs | 105 | // ── Discovery ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/manager.rs | 204 | // ── Registry queries ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/manager.rs | 244 | // ── Loaded instances ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/manager.rs | 315 | // ── Persistence ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/manager.rs | 346 | // ── Plugin-scoped config ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/abi.rs | 215 | // ── Host callback shims ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/wasm.rs | 412 | // ── Host function registration ───────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/bus.rs | 135 | // ── Local pub/sub ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/bus.rs | 170 | // ── RPC ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-plugin/src/bus.rs | 255 | // ── Incoming routing ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-cli/src/plugin_cmds.rs | 392 | // ─────────── 分配器:bump(宿主要求导出 alloc/dealloc)─────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-cli/src/plugin_cmds.rs | 411 | // ─────────── 宿主导入(签名必须与宿主一致,见 docs/plugins/api-reference.md)─────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-cli/src/plugin_cmds.rs | 421 | // ─────────── 内存工具 ─────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-cli/src/plugin_cmds.rs | 455 | // ─────────── 宿主契约导出 ─────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/loopback.rs | 203 | // ─── Helper: downmix + resample + push to buffer ───────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/loopback.rs | 242 | // ─── Windows: WASAPI loopback on default render device ──────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/loopback.rs | 390 | // ─── Linux: PipeWire capture from the physical playback sink ────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/loopback.rs | 527 | // ─── macOS: Core Audio process tap, falling back to BlackHole ──────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/loopback.rs | 565 | // ─── macOS: cpal capture from BlackHole ────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 153 | // ─── Shared STFT window helpers ─────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 179 | // ─── Compiled native models (pure Rust, no ONNX Runtime) ────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 214 | // ─── PureVox6 native noise suppression ──────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 384 | // ─── AEC7 native acoustic echo cancellation ────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 624 | // ─── AEC Delay Estimation and Alignment ─────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 697 | // ─── Speexdsp-style spectral subtraction noise suppression ────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 781 | // ─── Equalizer (10-band Biquad Peaking EQ) ────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 903 | // ─── Buffer Level Manager (replaces adaptive resampler) ───────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 968 | // ─── Main DSP Processor ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 1291 | // ── AEC Acoustic Echo Cancellation ──────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 1389 | // ── Noise Reduction Dispatcher ────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 1408 | // ── RNNoise (nnnoiseless) ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 1596 | // ── Dereverb (delay-line comb filter, matching KMP DereverbEffect) ───── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 1645 | // ── AGC ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 1676 | // ── VAD ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 1698 | // ── Spectrum ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 2071 | // ─── Native model property tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/macos_tap.rs | 113 | // ─── Core Audio ABI ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-audio/src/macos_tap.rs | 265 | // ─── Capture thread ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-infer/src/lib.rs | 55 | // ─── blob format constants (keep in sync with onnxref/compiler.py) ─────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-infer/src/lib.rs | 151 | // ─── little-endian reader ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-infer/src/lib.rs | 201 | // ─── graph ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-infer/src/lib.rs | 507 | // ─── session ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tauri-app/crates/micyou-infer/src/ops.rs | 1509 | // ─── AVX2+FMA runtime dispatch ───────────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/examples/native-soundpad/panel.html | 100 | // ── 与宿主(设置对话框或独立窗口)的 postMessage 桥 ───────────────────── | COMMENT |
| MEDIUM | plugins/examples/native-soundpad/src/lib.rs | 157 | // ── 必需入口 ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/examples/native-soundpad/src/lib.rs | 310 | // ── 可选入口 ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/com/lanrhyme/micyou/soundpad/SoundPadController.kt | 132 | // ─────────────────────────── discovery ─────────────────────────── | COMMENT |
| MEDIUM | …lin/com/lanrhyme/micyou/soundpad/SoundPadController.kt | 183 | // ─────────────────────────── inbound ─────────────────────────── | COMMENT |
| MEDIUM | …lin/com/lanrhyme/micyou/soundpad/SoundPadController.kt | 266 | // ─────────────────────────── outbound ─────────────────────────── | COMMENT |
| MEDIUM | …lin/com/lanrhyme/micyou/soundpad/SoundPadController.kt | 298 | // ─────────────────────────── public actions ─────────────────────────── | COMMENT |
| MEDIUM | …lin/com/lanrhyme/micyou/soundpad/SoundPadController.kt | 390 | // ─────────────────────────── folder navigation ─────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tauri-app/build-dmg-background.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | tauri-app/build-tray-icon.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | …i-app/crates/micyou-plugin/include/micyou_plugin_abi.h | 21 | * | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/host.rs | 101 | #[serde(tag = "type", rename_all = "camelCase")] | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/host.rs | 141 | /// independent host window. The plugin decides when a window is needed. | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/host.rs | 161 | COMMENT | |
| LOW | tauri-app/crates/micyou-plugin/src/manifest.rs | 181 | /// Custom pages shown in the settings sidebar; each is a self-contained | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/manifest.rs | 221 | /// the host may fall back to its own frame size). | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/manifest.rs | 281 | /// enabled and satisfy the semver requirement before this plugin can be | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/manifest.rs | 301 | /// Reverse-DNS id, e.g. `dev.micyou.eq`. | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/manifest.rs | 321 | /// Capability identifiers requested from the host. | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/manifest.rs | 341 | #[serde(default)] | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/manifest.rs | 361 | #[serde(default, rename = "nameI18n", alias = "name_i18n")] | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/dsp.rs | 21 | //! `micyou_audio::DspProcessor::set_external_hook`; the closure receives the | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/dsp.rs | 41 | /// Per-node DSP callback: node name, interleaved samples, channels, queued ms. | COMMENT |
| LOW | tauri-app/crates/micyou-plugin/src/manager.rs | 21 | //! <plugin.id>/plugin.json # manifest (required) | COMMENT |
| LOW | tauri-app/crates/micyou-core/src/discovery.rs | 41 | COMMENT | |
| LOW | tauri-app/crates/micyou-core/src/transport/net_bind.rs | 21 | //! IPv4 socket options (2 MiB UDP receive buffer, non-blocking mode) are | COMMENT |
| LOW | tauri-app/crates/micyou-core/src/transport/net_bind.rs | 61 | /// Builds the `"host:port"` string for `ToSocketAddr` consumers. | COMMENT |
| LOW | tauri-app/crates/micyou-core/src/transport/net_bind.rs | 101 | // only_v6(true) MUST be applied before the bind: a socket that is still | COMMENT |
| LOW | tauri-app/crates/micyou-core/src/server/output.rs | 21 | /// How often the idle device thread checks for a failed stream. | COMMENT |
| LOW | tauri-app/crates/micyou-cli/src/plugin_cmds.rs | 41 | dir: String, | COMMENT |
| LOW | tauri-app/crates/micyou-cli/src/main.rs | 41 | /// 音频服务器端口(UDP 端口自动 +1,默认读共享 server.json) | COMMENT |
| LOW | tauri-app/crates/micyou-audio/src/dsp.rs | 381 | } | COMMENT |
| LOW | tauri-app/crates/micyou-audio/src/dsp.rs | 981 | ns_buffer_right: Vec<f32>, | COMMENT |
| LOW | tauri-app/crates/micyou-audio/src/dsp.rs | 1041 | /// DSP stage for **all** registered plugins at once. Since issue #347 every | COMMENT |
| LOW | tauri-app/crates/micyou-audio/src/aec.rs | 101 | AecAvailability::ready() | COMMENT |
| LOW | tauri-app/crates/micyou-audio/src/engine.rs | 201 | monitor_resampler: Option<RubatoResampler>, | COMMENT |
| LOW | tauri-app/crates/micyou-infer/src/lib.rs | 21 | //! `tools/onnx-port` compiler in the experimental | COMMENT |
| LOW | tauri-app/crates/micyou-infer/src/lib.rs | 41 | //! This repository ships only the runtime artifacts (VM + compiled blobs); | COMMENT |
| LOW | tauri-app/crates/micyou-infer/src/ops.rs | 21 | //! f32; rounding points mirror the reference so streaming goldens stay | COMMENT |
| LOW | tauri-app/crates/micyou-infer/src/ops.rs | 81 | } | COMMENT |
| LOW | tauri-app/crates/micyou-infer/src/ops.rs | 121 | // branchless: fast_exp saturates at ~1.7e38, so (e-1)/(e+1) → 1.0 in f32 | COMMENT |
| LOW | tauri-app/crates/micyou-infer/src/ops.rs | 1501 | for i in 0..inner { | COMMENT |
| LOW | plugins/examples/native-soundpad/src/lib.rs | 1 | //! MicYou native plugin example — a soundpad with a UI button panel | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tauri-app/src/shared/locales/zh.json | 134 | "placeholder": "/* 例如: \nbody {'{'}\n font-family: 'Comic Sans MS' !important;\n{'}'}\n*/", | CODE |
| LOW | tauri-app/src/shared/locales/cat.json | 132 | "placeholder": "/* 例如: \nbody {'{'}\n font-family: 'Comic Sans MS' !important;\n{'}'}\n*/", | CODE |
| LOW | tauri-app/src/shared/locales/zh-ss.json | 132 | "placeholder": "/* 例如: \nbody {'{'}\n font-family: 'Comic Sans MS' !important;\n{'}'}\n*/", | CODE |
| LOW | tauri-app/src/shared/locales/lzh.json | 132 | "placeholder": "/* 例:\nbody {'{'}\n font-family: 'Comic Sans MS' !important;\n{'}'}\n*/", | CODE |
| LOW | tauri-app/src/shared/locales/en.json | 134 | "placeholder": "/* Example: \nbody {'{'}\n font-family: 'Comic Sans MS' !important;\n{'}'}\n*/", | CODE |
| LOW | tauri-app/src/shared/locales/zh-hk.json | 132 | "placeholder": "/* 例如: \nbody {'{'}\n font-family: 'Comic Sans MS' !important;\n{'}'}\n*/", | CODE |
| LOW | tauri-app/src/shared/locales/zh-tw.json | 132 | "placeholder": "/* 例如:\nbody {'{'}\n font-family: 'Comic Sans MS' !important;\n{'}'}\n*/", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tauri-app/generate-licenses.js | 94 | async function configuredCargoAboutVersion() { | CODE |
| LOW | tauri-app/build-macos-icon.js | 71 | function macosMinimumSystemVersion() { | CODE |
| LOW | …i-app/src/features/connection/composables/useServer.ts | 35 | function aecFailureNotificationKey(reason?: string | null) { | CODE |
| LOW | tauri-app/src/features/audio/composables/useAudio.ts | 76 | function handleMonitoringWarningConfirm(dontAskAgain: boolean) { | CODE |
| LOW | tauri-app/src/features/audio/composables/useAudio.ts | 84 | function handleMonitoringWarningCancel() { | CODE |
| LOW | tauri-app/src/features/theme/composables/useTheme.ts | 194 | function refreshSystemAccentOnFocus() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tauri-app/crates/micyou-audio/src/dsp.rs | 2131 | // numpy reference), so a loose 0.5 ratio threshold is a robust | COMMENT |
| MEDIUM | …i-app/src/features/connection/composables/useServer.ts | 224 | // Auto-switch to BlackHole input on macOS for seamless virtual audio loopback | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | composeApp/src/main/kotlin/com/lanrhyme/micyou/App.kt | 199 | // Step 1: Install PC Server | COMMENT |
| LOW | composeApp/src/main/kotlin/com/lanrhyme/micyou/App.kt | 219 | // Step 2: Connect | COMMENT |
| LOW | composeApp/src/main/kotlin/com/lanrhyme/micyou/App.kt | 239 | // Step 3: Start | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | composeApp/src/main/kotlin/com/lanrhyme/micyou/App.kt | 199 | // Step 1: Install PC Server | COMMENT |
| LOW | composeApp/src/main/kotlin/com/lanrhyme/micyou/App.kt | 219 | // Step 2: Connect | COMMENT |
| LOW | composeApp/src/main/kotlin/com/lanrhyme/micyou/App.kt | 239 | // Step 3: Start | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tauri-app/crates/micyou-cli/src/plugin_cmds.rs | 21 | //! - `create <id>` scaffold a new plugin (wasm or native skeleton) | COMMENT |