AI Slop Code Risk Monitor

chthollyphile/folia-major

SlopCodeMonitor badge for chthollyphile/folia-major Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

专注于绚丽的歌词动画效果的本地音乐/navidrome/第三方多平台在线音乐播放器

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for chthollyphile/folia-major, a TypeScript project with 10,669 GitHub stars. SynthScan examined 746,716 lines of code across 4039 source files, recording 615 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.

1.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.7K
Stars
TypeScript
Language
746.7K
Lines of Code
4.0K
Files
615
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 3.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 479 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

Are imports declared and package/API names verified? 41 finding(s).

Agent Over-Engineering Ratio 2.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 170 finding(s).

PR Review Velocity Impact 6.3/100 · LOW

Which changes need focused human review? 615 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 16HIGH 2MEDIUM 105LOW 492

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 615 distinct pattern matches across 10 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.

Over-Commented Block390 hits · 390 pts
SeverityFileLineSnippetContext
LOWplaywright.config.ts61 // 组件测试走 @playwright/test 内置的 mount fixture。它会导航到 baseURL,所以 baseURLCOMMENT
LOWpackaging/macos/desktop-click-guard/ClickGuard.swift1// packaging/macos/desktop-click-guard/ClickGuard.swiftCOMMENT
LOWpackaging/windows/wallpaper-helper/src/events.rs1// packaging/windows/wallpaper-helper/src/events.rsCOMMENT
LOWpackaging/windows/wallpaper-helper/src/events.rs21 /// Detach completed: window un-parented from WorkerW, styles restored.COMMENT
LOWpackaging/windows/wallpaper-helper/src/mouse_forward.rs1// packaging/windows/wallpaper-helper/src/mouse_forward.rsCOMMENT
LOWpackaging/windows/wallpaper-helper/src/mouse_forward.rs41COMMENT
LOWpackaging/windows/wallpaper-helper/src/main.rs1// packaging/windows/wallpaper-helper/src/main.rsCOMMENT
LOWpackaging/windows/wallpaper-helper/src/cli.rs1// packaging/windows/wallpaper-helper/src/cli.rsCOMMENT
LOWnative/folia-mnn/folia_beat_this.cpp1#include <MNN/expr/ExecutorScope.hpp>COMMENT
LOWnative/folia-mnn/dconv_kernels.hpp1#include <algorithm>COMMENT
LOWnative/folia-mnn/dconv_kernels.hpp21// Included once per instruction set into a translation unit of its own - dconv_kernels_*.cpp -COMMENT
LOWnative/folia-mnn/folia_dconv.cpp1#include <MNN/plugin/PluginKernel.hpp>COMMENT
LOWnative/folia-mnn/folia_dconv.cpp21// and every edge between the layer's eight operators was a layout conversion. On an M4 that was 27ms ofCOMMENT
LOWnative/folia-mnn/dconv_kernels_base.cpp1#define FOLIA_DCONV_NS folia_dconv_baseCOMMENT
LOWnative/folia-mnn/folia_mnn.cpp1#include <MNN/Interpreter.hpp>COMMENT
LOWnative/folia-mnn/folia_mnn.cpp21#endifCOMMENT
LOWnative/folia-mnn/folia_mnn.h1#pragma onceCOMMENT
LOWnative/folia-mnn/folia_htdemucs.cpp1#include <MNN/expr/ExecutorScope.hpp>COMMENT
LOWnative/folia-mnn/folia_htdemucs.cpp21//COMMENT
LOWtest/ui/renderCounts.probe.ts1import { expect, test } from '@playwright/test';COMMENT
LOWtest/ui/bravaisVisualizerMount.spec.ts1import { expect, test, type Page } from '@playwright/test';COMMENT
LOWtest/ui/collectionOpenTransition.spec.ts1import { expect, test, type Page } from '@playwright/test';COMMENT
LOWtest/ui/wallHandoff.spec.ts1import { expect, test, type Page } from '@playwright/test';COMMENT
LOWtest/unit/lyrics/icuFolia/corpus.ts1// test/unit/lyrics/icuFolia/corpus.tsCOMMENT
LOWtest/unit/lyrics/icuFolia/corpus.ts21// ko, th, other-scriptsCOMMENT
LOWtest/unit/settings/hifiSettingsPage.test.ts1// @vitest-environment jsdomCOMMENT
LOWtest/unit/analysis/modelAvailability.test.ts1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/mod-system/foliumStartLimit.test.ts21import * as loader from '@/mods/runtime/clientLoader';COMMENT
LOWtest/unit/mod-system/devFoliumSamples.test.ts21 FoliumQueueSnapshot,COMMENT
LOWtest/unit/stores/storeContract.test.ts1import { existsSync, readFileSync, readdirSync } from 'node:fs';COMMENT
LOWtest/unit/library/suiteEntries.test.ts1import { existsSync, readFileSync, readdirSync } from 'node:fs';COMMENT
LOWtest/unit/onlineMusic/platformNameCount.ts1import { readdirSync, readFileSync, writeFileSync } from 'node:fs';COMMENT
LOWtest/unit/playback/currentSongRestoreRoutes.test.ts1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/playback/currentSongArchitecture.test.ts1import { readdir, readFile } from 'node:fs/promises';COMMENT
LOWtest/unit/playback/currentSongWatch.ts1import { PlayerState, type SongResult } from '@/types';COMMENT
LOWtest/unit/playback/queueReplaceLibraryRaces.test.ts1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/playback/currentSongLibraryRoutes.test.ts1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/playback/queueReplaceRaces.test.ts1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/electron/ipcSecurity.test.ts1import { existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';COMMENT
LOWtest/unit/services/onlineAudioLevelCache.test.ts1import { afterAll, beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/services/playbackGraph.test.ts1import { describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/visualizer/storedSettingsPins.test.ts21import { DEFAULT_HANABI_TUNING } from '@/components/visualizer/hanabi/types';COMMENT
LOWtest/unit/automix/stemWaitsForBytes.test.ts1import { beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/automix/deckSrc.test.ts81 it('never leaves the deck being listened to without a source', () => {COMMENT
LOWtest/unit/automix/automixSession.test.ts181 it('measures the lead from where the music stops, not from the end of the file', () => {COMMENT
LOWtest/unit/automix/transitionPlanner.test.ts81 // The release above is earned by `tailRoom` binding. Without it there is nothing saying theCOMMENT
LOWtest/unit/automix/analysisHostLifecycle.test.ts1import { EventEmitter } from 'node:events';COMMENT
LOWtest/unit/automix/stemLateResult.test.ts1import { beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/automix/modelNullAnswer.test.ts1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOWtest/unit/automix/musicalTime.test.ts21 it('answers null when the two readings of one track disagree', () => {COMMENT
LOWtest/component/accountBehavior.spec.ts21// 账户 store、当前平台、待确认切换,再加上界面上用户能看到的结果(登录界面、状态文案、诊断入口、确认)。COMMENT
LOWtest/component/artistBehavior.spec.ts21 onlineSongId,COMMENT
LOWtest/component/homeBehavior.spec.ts41// 首页与目录(GridMap)的行为回归闸门(Library Core P3 期间每一步都跑,和 libraryBehavior 一起)。COMMENT
LOWtest/component/bravaisTileKinds.spec.ts1import type { Locator, Page } from '@playwright/test';COMMENT
LOWtest/component/collectionMorph.spec.ts1import type { Locator, Page } from '@playwright/test';COMMENT
LOWtest/component/standInHandover.spec.ts1import type { Locator, Page } from '@playwright/test';COMMENT
LOWtest/component/bravaisPerf.spec.ts1import type { Page } from '@playwright/test';COMMENT
LOWtest/component/libraryBehavior.spec.ts21 PROBE_LONG_DESCRIPTION,COMMENT
LOWtest/manual/wallpaper-watchdog-sim.ts1import { spawn } from 'node:child_process';COMMENT
LOWmods/folium.d.ts1// mods/folium.d.tsCOMMENT
330 more matches not shown…
Decorative Section Separators94 hits · 282 pts
SeverityFileLineSnippetContext
MEDIUM…st/unit/library/core/providerAccountController.test.ts234// ─── 切换 ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…st/unit/library/core/providerAccountController.test.ts328// ─── 确认之后 ───────────────────────────────────────────────────────────COMMENT
MEDIUM…st/unit/library/core/providerAccountController.test.ts409// ─── 登录 ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…st/unit/library/core/providerAccountController.test.ts542// ─── 本地服务 ───────────────────────────────────────────────────────────COMMENT
MEDIUM…st/unit/library/core/providerAccountController.test.ts608// ─── 登出 ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…st/unit/library/core/providerAccountController.test.ts663// ─── 当前平台与快照 ─────────────────────────────────────────────────────COMMENT
MEDIUM…st/unit/library/core/providerAccountController.test.ts719// ─── 寿命 ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…st/unit/library/core/providerAccountController.test.ts769// ─── 日志 ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/unit/library/core/providerLoginSession.test.ts108// ─── 一次登录的每一步 ────────────────────────────────────────────────────COMMENT
MEDIUMtest/unit/library/core/providerLoginSession.test.ts392// ─── 在浏览器里确认的登录 ────────────────────────────────────────────────COMMENT
MEDIUMtest/unit/library/core/providerLoginSession.test.ts515// ─── 没有成功时是哪一种情况(A 到 G) ───────────────────────────────────COMMENT
MEDIUMtest/unit/library/core/providerLoginSession.test.ts634// ─── 串行开始、瞬时失败与自检 ────────────────────────────────────────────COMMENT
MEDIUMtest/unit/visualizer/hanabi/hanabiProgram.test.ts215// ─── folia 的整首编译 ──────────────────────────────────────────────────────COMMENT
MEDIUMtest/unit/visualizer/hanabi/hanabiFireworks.test.ts149// ─── 用最小的假 Pixi 跑一遍图层:池不超上限、乱序 seek 的画面一致 ─────────COMMENT
MEDIUMtest/unit/visualizer/hanabi/hanabiFireworks.test.ts221// ─── 环境层 ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…rary/core/account/providerAccountController.service.ts288 // ─── 切换 ───────────────────────────────────────────────────────────COMMENT
MEDIUM…rary/core/account/providerAccountController.service.ts358 // ─── 登录 ───────────────────────────────────────────────────────────COMMENT
MEDIUM…rary/core/account/providerAccountController.service.ts530 // ─── 选平台与登出 ───────────────────────────────────────────────────COMMENT
MEDIUM…rary/core/account/providerAccountController.service.ts571 // ─── 寿命 ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/account.contract.ts23// ─── 快照 ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/account.contract.ts52// ─── 登录失败后的自检(规则在 core/account/loginSelfCheckRules) ─────────COMMENT
MEDIUMsrc/library/core/account/account.contract.ts175// ─── 动作结果(判别式,文案由 UI 自己翻译) ─────────────────────────────COMMENT
MEDIUMsrc/library/core/account/account.contract.ts269// ─── controller ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/account.contract.ts307// ─── 端口(默认装配见 core/account/providerAccountDeps.service) ──────────────COMMENT
MEDIUMsrc/library/core/account/account.contract.ts421// ─── account surface ────────────────────────────────────────────────────COMMENT
MEDIUM…c/library/core/account/providerLoginSession.service.ts293 // ─── 第 6 步:失败后的主动自检 ─────────────────────────────────────COMMENT
MEDIUM…c/library/core/account/providerLoginSession.service.ts351 // ─── 第 5 步:确认 ─────────────────────────────────────────────────COMMENT
MEDIUM…c/library/core/account/providerLoginSession.service.ts377 // ─── 第 4 步:轮询 ─────────────────────────────────────────────────COMMENT
MEDIUM…c/library/core/account/providerLoginSession.service.ts447 // ─── 第 3 步:就绪 ─────────────────────────────────────────────────COMMENT
MEDIUM…c/library/core/account/providerLoginSession.service.ts471 // ─── 第 2 步:开始 ─────────────────────────────────────────────────COMMENT
MEDIUM…c/library/core/account/providerLoginSession.service.ts484 // ─── 一轮登录 ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/accountRules.ts20// ─── 选平台 ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/accountRules.ts44// ─── 当前平台 ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/accountRules.ts62// ─── 切换确认 ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/accountRules.ts70// ─── 登出 ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/accountRules.ts88// ─── 登录会话的派生 ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/accountRules.ts149// ─── 诊断报告交给谁 ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/library/core/account/accountRules.ts181// ─── 登录 / 账户错误的日志描述 ──────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/program.ts98// ─── 分词与切片 ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/program.ts307// ─── 选预设 ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/types.ts16// ─── 颜色 ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/types.ts34// ─── 文字 ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/types.ts175// ─── MG 部件 ────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/types.ts344// ─── 预设(镜头风格) ───────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/types.ts379// ─── tuning ────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/types.ts443// ─── 模块函数签名(各模块按这些名字导出) ───────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/scene.ts637// ─── 烟花事件(构建时算好) ─────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/hanabiBeatFx.ts82// ─── 随拍推镜 ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/color.ts32// ─── HSL ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/color.ts79// ─── 对比度 ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/color.ts166// ─── 八种角色的鲜艳配色 ─────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/hanabiTuning.ts64// ─── 画质档 ────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/catalog.ts49// ─── 零件 ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/catalog.ts176// ─── 10 族 ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/catalog.ts842// ─── 组件槽的选项(中文名) ─────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/mg/burstPlan.ts527// ─── 闭式求值 ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/mg/burstPlan.ts598// ─── 画一帧(访问者,不分配) ────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/mg/burstPlan.ts703// ─── 升空尾迹 ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/mg/ornamentShapes.ts20// ─── ring:扩散的描边圆环 ──────────────────────────────────────────────COMMENT
MEDIUMsrc/components/visualizer/hanabi/mg/ornamentShapes.ts83// ─── spokes:集中线 ────────────────────────────────────────────────────COMMENT
34 more matches not shown…
Hallucination Indicators16 hits · 180 pts
SeverityFileLineSnippetContext
CRITICALtest/unit/mod-system/devFoliumSamples.test.ts1049 const first = fake.omni.searchSongs.mock.results.at(-2)!;CODE
CRITICALtest/unit/ytm/ytmUltra.test.ts447 expect(yt.created.map(client => [client.kind, client.actions.execute.mock.calls.map(([endpoint]: [string]) => enCODE
CRITICALtest/unit/ytm/ytmApiBridge.test.ts620 yt.clients.guest.actions.execute.mockResolvedValue(watchPage('MPLYt_fixture'));CODE
CRITICALtest/unit/ytm/ytmApiBridge.test.ts635 yt.clients.guest.actions.execute.mockResolvedValue(watchPage());CODE
CRITICALtest/unit/ytm/ytmApiBridge.test.ts639 yt.clients.guest.actions.execute.mockResolvedValue(watchPage('MPLYt_fixture'));CODE
CRITICALtest/unit/ytm/ytmApiBridge.test.ts873 expect(yt.clients.web.actions.execute.mock.calls.filter(([endpoint]: [string]) => endpoint === '/next')).toHCODE
CRITICALtest/unit/ytm/ytmApiBridge.test.ts877 expect(yt.clients.web.actions.execute.mock.calls.filter(([endpoint]: [string]) => endpoint === '/next')).toHCODE
CRITICALtest/unit/ytm/ytmApiBridge.test.ts912 const unliked = yt.clients.web.actions.execute.mock.calls.filter(([endpoint]: [string]) => endpoint === '/like/rCODE
CRITICAL⚡test/unit/ytm/ytmApiBridge.test.ts974 expect(yt.clients.web.actions.execute.mock.calls.filter(([endpoint]: [string]) => endpoint === '/next')).toHaveLCODE
CRITICAL⚡test/unit/ytm/ytmApiBridge.test.ts977 expect(yt.clients.web.actions.execute.mock.calls.filter(([endpoint]: [string]) => endpoint === '/next')).toHaveLCODE
CRITICAL⚡test/unit/ytm/ytmApiBridge.test.ts982 expect(yt.clients.web.actions.execute.mock.calls.filter(([endpoint]: [string]) => endpoint === '/next')).toHaveLCODE
CRITICAL⚡test/unit/ytm/ytmApiBridge.test.ts992 const unliked = yt.clients.web.actions.execute.mock.calls.filter(([endpoint]: [string]) => endpoint === '/like/rCODE
CRITICALtest/unit/electron/hifiIpc.test.ts447 expect(harness.runtime.detect.mock.calls.every(([options]) => options.manualPath !== '/tmp/evil')).toBe(true);CODE
CRITICALtest/unit/electron/hifiIpc.test.ts524 expect(stored.runtime.detect.mock.calls.map(([options]) => options.manualPath)).toEqual([null]);CODE
CRITICALsrc/components/visualizer/machi/createMachiRuntime.ts430 this.ground.uniforms.uPuddleOffset.value.set(stage.puddles.offset[0], stage.puddles.offset[1]);CODE
CRITICALsrc/components/visualizer/machi/createMachiRuntime.ts689 this.ground.uniforms.uReflectMatrix.value.copy(this.reflection.textureMatrix);CODE
Hyper-Verbose Identifiers75 hits · 75 pts
SeverityFileLineSnippetContext
LOW…t/unit/command-palette/libraryWallLookCommands.test.ts252function libraryWallSeamStyleSurfaceMatches(context: CommandPaletteContext, query: string) {CODE
LOWworker/generate-theme_openai.ts325export async function handleGenerateOpenAITheme(request: Request, env: WorkerEnv) {CODE
LOWworker/qq.ts109export async function handleQqServerlessRequest(CODE
LOWsrc/types/webLyricSource.ts42export function initialWebLyricSourceState(): WebLyricSourceState {CODE
LOWsrc/utils/settingLabelLookup.ts128export function resolveSettingValueLabelKey(CODE
LOWsrc/utils/obsWebAppearance.ts105export function buildObsAppearanceFromShortcode(CODE
LOWsrc/utils/flacPictureRepair.ts55export async function repairFlacPictureComments(bytes: Uint8Array): Promise<Uint8Array> {CODE
LOWsrc/utils/metadataParserTypeHint.ts13export function withMetadataParserTypeHint(input: Blob, fileName: string): Blob {CODE
LOWsrc/utils/playerCapWebSource.ts12export function foldPlayerCapConnectionStatus(status: PlayerCapConnectionStatus): WebLyricConnectionStatus {CODE
LOWsrc/utils/playerCapWebSource.ts29export function playerCapToWebLyricSource(CODE
LOWsrc/utils/lyrics/matchScore.ts126function calculateArtistSimilarity(target: string, search: string): number {CODE
LOWsrc/utils/lyrics/matchScore.ts155export function calculateMatchScoreDetails(CODE
LOWsrc/utils/lyrics/formatDetection.ts52export function detectNonTtmlTimedLyricFormat(content?: string): NonTtmlTimedLyricFormat {CODE
LOWsrc/utils/lyrics/formatDetection.ts57export function resolveExplicitFileTimedLyricFormat(fileName?: string): ExplicitFileTimedLyricFormat | undefined {CODE
LOWsrc/utils/lyrics/lyricMatchSources.ts84export async function searchAmllDbLyricCandidates(CODE
LOWsrc/utils/lyrics/lyricMatchSources.ts103async function fetchAmllDbCandidateLyrics(song: SongResult): Promise<LyricSourceLyrics | null> {CODE
LOWsrc/utils/lyrics/lyricMatchSources.ts171export async function searchLyricsByMatchSource(CODE
LOWsrc/utils/lyrics/lyricMatchSources.ts179export async function fetchLyricsForMatchSource(CODE
LOWsrc/utils/lyrics/embeddedLrcNormalization.ts52export function normalizeEmbeddedUsltTags(CODE
LOWsrc/utils/lyrics/embeddedLrcNormalization.ts74export function normalizeEmbeddedStructuredLyrics(CODE
LOWsrc/utils/lyrics/lyricSeekTime.ts27export function resolveLyricSeekMediaTime(lyricTimeSec: number, clock: LyricSeekClock): number | null {CODE
LOWsrc/utils/lyrics/providers/amllDbProvider.ts35async function fetchAmllDbLyricsUncached(CODE
LOWsrc/components/wall/WallToolsQueueIslandHeader.tsx57export function WallToolsQueueIslandHeader({ host, count, readOnly, canSave, announce, isDragging, search }: WallToolsQuCODE
LOW…c/components/app/lattice/useLatticeExpansionSettled.ts13export function useLatticeExpansionSettled(expanded: boolean, immediate: boolean) {CODE
LOWsrc/components/app/lattice/useLatticePosterSelection.ts10export function useLatticePosterSelection(tiles: LatticeTile[], layout: WallLayout) {CODE
LOW…c/components/app/lattice/useLatticeChromeDisclosure.ts5export function useLatticeChromeDisclosure(expanded: boolean) {CODE
LOW…onents/app/lattice/lyrics/createLatticeLyricRuntime.ts39export function createLatticeLyricRuntime(host: HTMLElement, initial: LatticeLyricInput,CODE
LOW…components/app/lattice/lyrics/latticeLyricFrameLoop.ts3export function createLatticeLyricFrameLoop(draw: (delta: number) => boolean,CODE
LOW…c/components/app/lattice/lyrics/latticeLyricFilters.ts80export function createLatticeQuadGeometry(pixi: Pixi) {CODE
LOWsrc/components/app/lattice/lyrics/latticeLyricLayout.ts89export function resolveLatticeLongLineOffset(layout: LatticeLineLayout, time: number, available: number, lineHeight: numCODE
LOW…/components/app/playback/useStagePlaybackController.ts100export function useStagePlaybackController({CODE
LOW…nts/app/playback/start/useLibraryPlaybackController.ts194export function useLibraryPlaybackController({CODE
LOW…nents/app/playback/start/usePlaybackQueueController.ts223export function usePlaybackQueueController({CODE
LOW…s/app/playback/bridges/usePlaybackInteractionBridge.ts85export function usePlaybackInteractionBridge({CODE
LOW…ts/app/playback/bridges/usePlaybackVisualizerBridge.ts76export function usePlaybackVisualizerBridge({CODE
LOW…app/playback/bridges/usePlaybackTransportController.ts52export function usePlaybackTransportController({CODE
LOW…p/playback/restore/useElectronWindowPlaybackHandoff.ts123export function useElectronWindowPlaybackHandoff({CODE
LOW…ts/app/playback/restore/useSessionRestoreController.ts47export function useSessionRestoreController({CODE
LOW…mand-palette/surfaces/LatticePosterTintSurfaceView.tsx6export default function LatticePosterTintSurfaceView(CODE
LOWsrc/components/visualizer/pendolo/pendoloGeometry.ts22export function calculatePendoloWheelLayout(CODE
LOWsrc/components/visualizer/fume/fumeArticleLayout.ts202function buildArticleLayoutAttempt(CODE
LOWsrc/components/visualizer/fume/fumeArticleLayout.ts211function buildArticleLayoutAttempt(CODE
LOWsrc/components/hifi/useHifiMediaSessionKeepAlive.ts146export function useHifiMediaSessionKeepAlive() {CODE
LOWsrc/hooks/useElectronDisplaySleepBlocker.ts4export function useElectronDisplaySleepBlocker(enabled: boolean, isPlaying: boolean) {CODE
LOWsrc/hooks/usePersonalFmModeController.ts31export function usePersonalFmModeController({CODE
LOWsrc/hooks/useSongThemeAutoGeneration.ts34export function useSongThemeAutoGeneration({CODE
LOWsrc/workers/metadataParser.worker.ts78function normalizeLyricCandidateText(text: string): string {CODE
LOWsrc/workers/metadataParser.worker.ts141function getDurationFromParsedMetadata(durationSeconds?: number): number {CODE
LOWsrc/services/onlineMetadataSearchService.ts146export async function findAutomaticOnlineMetadataCandidate(CODE
LOWsrc/services/onlinePlayback.ts51export async function loadOnlineSongAudioSource(CODE
LOWsrc/services/localMusicService.ts124async function removeDeletedSongIdsFromPlaylists(songIds: string[]): Promise<void> {CODE
LOWsrc/services/localMusicService.ts150function notifyLocalMusicScanProgress(detail: LocalMusicScanProgressDetail) {CODE
LOWsrc/services/localMusicService.ts187async function findImportedRootForHandle(dirHandle: FileSystemDirectoryHandle): Promise<string | null> {CODE
LOWsrc/services/localMusicService.ts217export function extractMetadataFromFilename(fileName: string): { title?: string; artist?: string; } {CODE
LOWsrc/services/localMusicService.ts280function canImportElectronFallbackAudio(): boolean {CODE
LOWsrc/services/localMusicService.ts318function collectLyricBasePathsAffectedByFormatOrder(CODE
LOWsrc/services/localMusicService.ts397function getDurationFromParsedMetadata(durationSeconds?: number): number {CODE
LOWsrc/services/localMusicService.ts1032async function hydrateImportedSongsInBackground(rootFolderName: string, songs: LocalSong[]) {CODE
LOWsrc/services/localMusicService.ts1519async function resolveFileHandleFromDirHandle(CODE
LOWsrc/services/localMusicService.ts1539async function recoverFileHandleFromPersistedDirectory(song: LocalSong): Promise<FileSystemFileHandle | null> {CODE
15 more matches not shown…
Modern AI Meta-Vocabulary8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMsrc/stores/motionSignals.ts10// skills/frontend-runtime-guardrails.COMMENT
MEDIUMsrc/library/suites/bravais/useBravaisFrame.ts8// 边缘标签的显隐与侧别、空墙说明的区间,不经过 React(frontend-runtime-guardrails:拖动、补间期间没有逐帧 setState)。COMMENT
MEDIUMsrc/components/ponder/PonderStage.tsx36// Lattice 相机也绕过 React,订阅既拿不到正确值也违反 guardrails。窗口尺寸变了才重采一次。COMMENT
MEDIUMsrc/components/ponder/PonderHintCapsule.tsx15// 写进 state 就等于让整棵树按指针频率重渲染(见 skills/frontend-runtime-guardrails)。COMMENT
MEDIUMsrc/components/visualizer/README.md321## Runtime guardrailsCOMMENT
MEDIUMsrc/components/visualizer/diorama/CameraRig.tsx36// Drives the camera every frame from refs only - no React state - per the frontend runtime guardrails.COMMENT
MEDIUMsrc/components/visualizer/diorama/VisualizerDiorama.tsx198 // state - it changes every frame and must never trigger React re-renders (per runtime guardrails).COMMENT
MEDIUMsrc/hooks/usePonderHoverProbe.ts14// 而且 N 个订阅者做一件事正是 guardrails 要避免的形状。COMMENT
Fake / Example Data23 hits · 23 pts
SeverityFileLineSnippetContext
LOWtest/ui/panelControlsTab.spec.ts285 await expect(page.getByRole('combobox')).toHaveAttribute('placeholder', '输入歌名、歌手、专辑或队列序号');CODE
LOWtest/component/artistBehavior.spec.ts796 await expect(input).toHaveAttribute('placeholder', 'Filter albums');CODE
LOWtest/component/bravaisHome.spec.ts287 await expect(search.locator('input[name="bravais-search"]')).toHaveAttribute('placeholder', 'Search online platfCODE
LOWtest/component/bravaisHome.spec.ts297 await expect(filterInput(page)).toHaveAttribute('placeholder', 'Filter this page');CODE
LOWtest/component/pendoloSubtitleDualRow.spec.ts50 await page.locator('[data-probe-line="placeholder"]').click();CODE
LOWtest/component/wallToolsIsland.spec.ts311 await expect(input).toHaveAttribute('placeholder', 'Search the queue (200)');CODE
LOWtest/component/nowPlayingToastTransitionBorder.spec.ts181 await expect(cover).toHaveAttribute('data-toast-cover', 'placeholder');CODE
LOWtest/component/nowPlayingToastTransitionBorder.spec.ts185 await expect(cover).toHaveAttribute('data-toast-cover', 'placeholder');CODE
LOWtest/component/libraryBehavior.spec.ts1678 await expect(filterInput(page)).toHaveAttribute('placeholder', 'Filter this page');CODE
LOWsrc/components/app/overlays/NowPlayingToast.tsx234 data-toast-cover={coverSrc ? 'image' : 'placeholder'}CODE
LOWsrc/components/command-palette/commandFactories.ts135 options: Pick<CommandPaletteCommand, 'requiresInput' | 'placeholder'> = {},CODE
LOWsrc/i18n/locales/zh-CN.ts506 "placeholder": "输入命令或搜索内容...",CODE
LOWsrc/i18n/locales/zh-CN.ts560 "placeholder": "按下快捷键,立即执行",CODE
LOWsrc/i18n/locales/zh-CN.ts1366 "placeholder": "搜索歌曲...",CODE
LOWsrc/i18n/locales/en.ts506 "placeholder": "Type a command or search...",CODE
LOWsrc/i18n/locales/en.ts560 "placeholder": "Press a shortcut key to run it instantly",CODE
LOWsrc/i18n/locales/en.ts1366 "placeholder": "Search songs...",CODE
LOWsrc/i18n/locales/in.ts506 "placeholder": "Ketik perintah atau cari...",CODE
LOWsrc/i18n/locales/in.ts560 "placeholder": "Tekan tombol pintasan untuk langsung menjalankan",CODE
LOWsrc/i18n/locales/in.ts1366 "placeholder": "Cari lagu...",CODE
LOWsrc/i18n/locales/vi.ts506 "placeholder": "Nhập lệnh hoặc tìm kiếm...",CODE
LOWsrc/i18n/locales/vi.ts560 "placeholder": "Nhấn phím tắt để chạy ngay",CODE
LOWsrc/i18n/locales/vi.ts1366 "placeholder": "Tìm bài hát...",CODE
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/technical.md226OPENAI_API_KEY=your_api_keyCODE
HIGHdocs/technical.md237OPENAI_API_KEY=your_api_keyCODE
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMsrc/App.tsx2461 // see resolveDeckSrc, where that fallthrough is what keeps the handover seamless.COMMENT
MEDIUM…ts/app/playback/bridges/usePlaybackVisualizerBridge.ts247 // a visible stutter at exactly the moment meant to be seamless.COMMENT
MEDIUMsrc/components/visualizer/diorama/DioramaScene.tsx388 // spike - so the swap from units to plane is seamless; all the genuinely new lines stay async.COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsync-server/install.sh63 # Check if Node.js is installedCOMMENT
LOWsync-server/install.sh90 # Check if NPM is installedCOMMENT
LOWsync-server/install.sh174 # Check if NPM is installedCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/manual/bili-livesong/main.py81 except Exception as e:CODE