AI Slop Code RIsk Monitor

CookSleep/gpt_image_playground

基于 OpenAI gpt-image-2.5 API 的图片生成与编辑工具

4.4 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for CookSleep/gpt_image_playground, a TypeScript project with 3,874 GitHub stars. SynthScan examined 60,546 lines of code across 176 source files, recording 256 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 4.4 (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.

4.4
Adjusted Signal
4.4
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
3.9K
Stars
TypeScript
Language
60.5K
Lines of Code
176
Files
256
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 19.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 19.7/100 · LOW

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

PR Review Velocity Impact 19.2/100 · LOW

Which changes need focused human review? 256 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 0HIGH 0MEDIUM 1LOW 255

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 256 distinct pattern matches across 3 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.

Hyper-Verbose Identifiers254 hits · 266 pts
SeverityFileLineSnippetContext
LOW⚡src/store.ts152function showTaskCompletionNotification(title: string, body: string) {CODE
LOW⚡src/store.ts158function countSuccessfulOutputImages(tasks: TaskRecord[]) {CODE
LOW⚡src/store.ts162function skipSupportPromptForImportedData(tasks: TaskRecord[]) {CODE
LOW⚡src/store.ts1927function getAgentRoundControllerKey(conversationId: string, roundId: string) {CODE
LOW⚡src/store.ts1931function getDeletedActiveAgentTasks(conversationId: string, roundId: string, controller: AbortController) {CODE
LOW⚡src/store.ts1941function createAgentRecoveryPauseError() {CODE
LOW⚡src/store.ts1947function isAgentRecoveryPauseError(err: unknown) {CODE
LOW⚡src/store.ts1951function appendAgentStoppedMessage(content: string) {CODE
LOW⚡src/store.ts1958function markAgentRoundTasksStopped(conversationId: string, roundId: string, now = Date.now()) {CODE
LOWsrc/store.ts174function showSupportPromptForExistingLocalData(tasks: TaskRecord[]) {CODE
LOWsrc/store.ts201function mergeImportedAgentConversations(current: AgentConversation[], imported: AgentConversation[]) {CODE
LOWsrc/store.ts230function createAgentConversationTitle(prompt: string, fallbackTitle: string) {CODE
LOWsrc/store.ts242function getLatestAgentConversation(conversations: AgentConversation[]) {CODE
LOWsrc/store.ts254async function replaceStoredAgentConversations(conversations: AgentConversation[]) {CODE
LOWsrc/store.ts258function getPersistableAgentConversation(conversation: AgentConversation): AgentConversation {CODE
LOWsrc/store.ts477export async function deleteImageIfUnreferenced(imageId: string) {CODE
LOWsrc/store.ts486async function deleteStoredImageIfUnreferenced(imageId: string) {CODE
LOWsrc/store.ts1067async function flushAgentConversationsToIndexedDB() {CODE
LOWsrc/store.ts1120function isAsyncCustomProviderTask(settings: AppSettings, provider: string, hasInputImages: boolean) {CODE
LOWsrc/store.ts1133function failOpenAITaskIfStillRunning(taskId: string, error: string, now = Date.now()) {CODE
LOWsrc/store.ts1160function usesConcurrentImageRequests(settings: AppSettings, profile: ApiProfile, params: TaskParams, hasInputImages: booCODE
LOWsrc/store.ts1231function createSettingsForApiProfile(settings: AppSettings, profile: ApiProfile): AppSettings {CODE
LOWsrc/store.ts1247function getAgentProfileValidationError(settings: AppSettings): { profile: ApiProfile | null; message: string } | null {CODE
LOWsrc/store.ts1276function isNetworkRecoverableError(err: unknown) {CODE
LOWsrc/store.ts1294function getApiRequestNetworkErrorHint(CODE
LOWsrc/store.ts1400async function resolveImageSizeParamsList(CODE
LOWsrc/store.ts1910function getActiveAgentConversation(): AgentConversation {CODE
LOWsrc/store.ts1978function markAgentRoundTasksFailed(CODE
LOWsrc/store.ts2052function appendAgentAssistantMessageContent(conversationId: string, messageId: string, delta: string) {CODE
LOWsrc/store.ts2065async function generateAgentConversationTitle(CODE
LOWsrc/store.ts2124function addAgentReferencedImageIds(target: Set<string>, conversations = useStore.getState().agentConversations, inputDrCODE
LOWsrc/store.ts2139function addInputDraftReferencedImageIds(target: Set<string>, draft: AgentInputDraft | null) {CODE
LOWsrc/store.ts2144function addTaskReferencedImageIds(target: Set<string>, task: TaskRecord) {CODE
LOWsrc/store.ts2204async function deleteUnreferencedImageIds(imageIds: Iterable<string>) {CODE
LOWsrc/store.ts2221async function persistTaskStreamPartialImage(taskId: string, dataUrl: string, execution?: symbol) {CODE
LOWsrc/store.ts2249function scrubAgentOutputPayloadsForDeletedTasks(deletedTasks: TaskRecord[]) {CODE
LOWsrc/store.ts2313async function persistTaskDeletionCleanup(deletedTaskIds: string[], cleanup: ReturnType<typeof scrubAgentOutputPayloadsFCODE
LOWsrc/store.ts2328function appendAgentRecoveredToolOutputs(conversationId: string, roundId: string, additions: ResponsesOutputItem[]) {CODE
LOWsrc/store.ts2344async function continueRecoveredAgentRound(taskId: string) {CODE
LOWsrc/store.ts2587export async function regenerateAgentAssistantMessage(conversationId: string, roundId: string) {CODE
LOWsrc/store.ts3920export async function updateTasksFavoriteCollections(taskIds: string[], collectionIds: string[]) {CODE
LOWsrc/store.ts4151function getAgentRoundDeletionTaskIds(conversation: AgentConversation, round: AgentRound, tasks: TaskRecord[]) {CODE
LOWsrc/store.ts4166function hasRunningAgentDeletionWork(conversationId: string, roundIds: Set<string>, taskIds: Set<string>, state: AppStatCODE
LOWsrc/store.ts4180function cleanDeletedAgentReferences(conversation: AgentConversation, taskIds: Set<string>, assistantMessageIds: Set<strCODE
LOWsrc/store.ts4255async function deleteAgentAssistantMessageAndTasks(conversationId: string, messageId: string): Promise<AgentDeletionResuCODE
LOWsrc/store.ts4447async function completeRecoveredCustomTask(task: TaskRecord, result: Awaited<ReturnType<typeof getCustomQueuedImageResulCODE
LOWsrc/store.ts4591export async function restoreExplicitPresetConfig(ids: { providerIds: string[], profileIds: string[] }) {CODE
LOWsrc/components/InputBar.tsx29function getFavoriteCollectionTasksForBatch(collectionId: string, tasks: TaskRecord[], defaultFavoriteCollectionId: striCODE
LOWsrc/components/AgentWorkspace.tsx87function AgentWebSearchInlineStatus({ status }: { status: AgentWebSearchStatus }) {CODE
LOWsrc/components/AgentWorkspace.tsx95function AgentWebSearchStatusLines({ statuses }: { statuses: AgentWebSearchStatus[] }) {CODE
LOWsrc/components/SettingsModal.tsx115function isPristineNewOpenAIProfile(profile: ApiProfile) {CODE
LOWsrc/components/SettingsModal.tsx133function getImportedProfileFromMergedSettings(CODE
LOWsrc/components/SettingsModal.tsx150function isProfileApiProxyEligible(settings: AppSettings, profile: ApiProfile) {CODE
LOWsrc/components/SettingsModal.tsx1016 function confirmDeleteCustomProvider(provider: CustomProviderDefinition) {CODE
LOW…components/favorites/FavoriteCollectionPickerModal.tsx19export function FavoriteCollectionPickerModal() {CODE
LOWsrc/components/favorites/useFavoriteCollectionTitle.ts4export function useFavoriteCollectionTitle() {CODE
LOWsrc/components/favorites/favoriteUtils.ts17export function getInitialCheckedCollectionIds(tasks: TaskRecord[], defaultFavoriteCollectionId: string | null) {CODE
LOW…omponents/favorites/FavoriteCollectionOverviewCard.tsx45export function FavoriteCollectionOverviewCard({CODE
LOWsrc/hooks/usePreventBackgroundScroll.ts63export function usePreventBackgroundScroll(active: boolean, allowRefs?: ScrollBoundaryRef | ScrollBoundaryRef[]) {CODE
LOWsrc/hooks/useDockerApiUrlMigrationNotice.ts7export function useDockerApiUrlMigrationNotice() {CODE
194 more matches not shown…
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json6452 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWAGENTS.md36- 不要留 `// TODO: implement later`、`// ...` 或 stub 函数。CODE