AI Slop Code Risk Monitor

a-ghorbani/pocketpal-ai

SlopCodeMonitor badge for a-ghorbani/pocketpal-ai Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

An app that brings language models directly to your phone.

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for a-ghorbani/pocketpal-ai, a TypeScript project with 8,907 GitHub stars. SynthScan examined 343,427 lines of code across 1605 source files, recording 344 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 1.5 (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.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
8.9K
Stars
TypeScript
Language
343.4K
Lines of Code
1.6K
Files
344
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.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.1/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 6.2/100 · LOW

Which changes need focused human review? 344 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 8HIGH 0MEDIUM 11LOW 325

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 344 distinct pattern matches across 13 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.

Fake / Example Data172 hits · 206 pts
SeverityFileLineSnippetContext
LOW⚡src/types/pal.ts260 "placeholder": "e.g., Medieval fantasy kingdom",CODE
LOW⚡src/types/pal.ts267 "placeholder": "e.g., Royal castle throne room",CODE
LOW⚡src/types/pal.ts274 "placeholder": "e.g., Wise wizard advisor",CODE
LOW⚡src/types/pal.ts281 "placeholder": "e.g., Young adventurer",CODE
LOW⚡src/types/pal.ts288 "placeholder": "e.g., Seeking advice before a dangerous quest",CODE
LOW⚡src/types/pal.ts295 "placeholder": "e.g., Epic fantasy, lighthearted adventure",CODE
LOWsrc/locales/zh.json468 "placeholder": "在此输入聊天模板...",CODE
LOWsrc/locales/zh.json473 "placeholder": "添加新停止词"CODE
LOW⚡src/locales/zh.json568 "placeholder": "例如:摘要、角色扮演等。"CODE
LOW⚡src/locales/zh.json572 "placeholder": "您希望看到哪些新功能?"CODE
LOW⚡src/locales/zh.json576 "placeholder": "如果您有其他想法,请随时分享。"CODE
LOWsrc/locales/zh.json589 "placeholder": "您的电子邮件地址"CODE
LOWsrc/locales/zh.json973 "placeholder": "选择模型"CODE
LOWsrc/locales/zh.json977 "placeholder": "描述此 Pal 的角色、目的或场景..."CODE
LOWsrc/locales/zh.json989 "placeholder": "你是一个乐于助人的助手"CODE
LOWsrc/locales/ms.json468 "placeholder": "Masukkan templat sembang anda di sini...",CODE
LOWsrc/locales/ms.json473 "placeholder": "Tambah perkataan henti baharu"CODE
LOW⚡src/locales/ms.json568 "placeholder": "cth., meringkaskan, main peranan, dll."CODE
LOW⚡src/locales/ms.json572 "placeholder": "Ciri apa yang anda mahu lihat?"CODE
LOW⚡src/locales/ms.json576 "placeholder": "Kongsi pemikiran lain yang anda ada."CODE
LOWsrc/locales/ms.json589 "placeholder": "Alamat emel anda"CODE
LOWsrc/locales/ms.json973 "placeholder": "Pilih model"CODE
LOWsrc/locales/ms.json977 "placeholder": "Terangkan peranan, tujuan, atau senario untuk Pal ini..."CODE
LOWsrc/locales/ms.json989 "placeholder": "Anda adalah pembantu yang membantu"CODE
LOWsrc/locales/ja.json468 "placeholder": "チャットテンプレートをここに入力...",CODE
LOWsrc/locales/ja.json473 "placeholder": "新しいストップワードを追加"CODE
LOW⚡src/locales/ja.json568 "placeholder": "例:要約、ロールプレイなど"CODE
LOW⚡src/locales/ja.json572 "placeholder": "追加してほしい機能をお知らせください"CODE
LOW⚡src/locales/ja.json576 "placeholder": "その他のご感想やアイデアをぜひお聞かせください"CODE
LOWsrc/locales/ja.json589 "placeholder": "メールアドレス"CODE
LOWsrc/locales/ja.json973 "placeholder": "モデルを選択"CODE
LOWsrc/locales/ja.json977 "placeholder": "このPalの役割、目的、シナリオを説明してください..."CODE
LOWsrc/locales/ja.json989 "placeholder": "あなたは役立つアシスタントです"CODE
LOWsrc/locales/de.json468 "placeholder": "Chatvorlage hier eingeben...",CODE
LOWsrc/locales/de.json473 "placeholder": "Neues Stopwort hinzufügen"CODE
LOW⚡src/locales/de.json568 "placeholder": "z.b. zur Zusammenfassung, für Rollenspiele, etc."CODE
LOW⚡src/locales/de.json572 "placeholder": "Welche Funktion würden Sie gerne sehen wollen?"CODE
LOW⚡src/locales/de.json576 "placeholder": "Teilen Sie ihre weiteren Gedanken mit."CODE
LOWsrc/locales/de.json589 "placeholder": "Ihre E-Mail-Adresse"CODE
LOWsrc/locales/de.json983 "placeholder": "Modell auswählen"CODE
LOWsrc/locales/de.json987 "placeholder": "Beschreib die Rolle, Zweck, oder Szenario für diesen Pal..."CODE
LOWsrc/locales/de.json999 "placeholder": "Du bist ein hilfsbereiter Assistent"CODE
LOWsrc/locales/ru.json452 "placeholder": "Выбрать модель"CODE
LOWsrc/locales/ru.json456 "placeholder": "Опишите роль, цель или сценарий для этого Pal..."CODE
LOWsrc/locales/ru.json468 "placeholder": "Вы полезный ассистент"CODE
LOW⚡src/locales/ru.json782 "placeholder": "напр., суммаризация, ролевая игра и т.д."CODE
LOW⚡src/locales/ru.json786 "placeholder": "Чего вам не хватает в приложении?"CODE
LOW⚡src/locales/ru.json790 "placeholder": "Поделитесь любыми другими мыслями или пожеланиями."CODE
LOWsrc/locales/ru.json803 "placeholder": "Ваш Email"CODE
LOWsrc/locales/ru.json986 "placeholder": "Введите шаблон чата...",CODE
LOWsrc/locales/ru.json991 "placeholder": "Добавить стоп-слово"CODE
LOWsrc/locales/pl.json447 "placeholder": "Dodaj nowe słowo wykluczające"CODE
LOWsrc/locales/pl.json455 "placeholder": "Wprowadź tutaj szablon czatu...",CODE
LOWsrc/locales/pl.json548 "placeholder": "Twój adres e-mail"CODE
LOW⚡src/locales/pl.json562 "placeholder": "np. streszczanie, odgrywanie ról itp."CODE
LOW⚡src/locales/pl.json566 "placeholder": "Jakie funkcje chcesz zobaczyć?"CODE
LOW⚡src/locales/pl.json570 "placeholder": "Podziel się wszelkimi innymi przemyśleniami, jakie przyjdą Ci do głowy."CODE
LOWsrc/locales/pl.json949 "placeholder": "Wybierz model"CODE
LOWsrc/locales/pl.json953 "placeholder": "Opisz rolę, przeznaczenie lub scenariusz dla tego kumpla..."CODE
LOWsrc/locales/pl.json965 "placeholder": "Jesteś pomocnym asystentem"CODE
112 more matches not shown…
Hallucination Indicators8 hits · 80 pts
SeverityFileLineSnippetContext
CRITICAL…ns/ModelsScreen/ModelCard/__tests__/ModelCard.test.tsx670 l10n.en.models.modelCapabilities.mtp.replace(CODE
CRITICALsrc/store/__tests__/PurchaseStore.pipeline.test.ts470 return h.api.refresh.mock.calls.at(-1)![2];CODE
CRITICALsrc/store/__tests__/PurchaseStore.pipeline.test.ts1531 const palFetches = h.store.fetchProducts.mock.calls.filter(CODE
CRITICALsrc/store/__tests__/PurchaseStore.recover.test.ts630 expect(h.api.refresh.mock.calls.at(-1)![2][PAL_ID].purchaseRef).toBe(CODE
CRITICALsrc/store/__tests__/PurchaseStore.plus.test.ts165 h.storage.setItem.mock.calls.filter(([key]) => key === PLUS_KEY),CODE
CRITICALsrc/store/__tests__/PurchaseStore.plus.test.ts338 h.storage.getItem.mock.calls.filter(([key]) => key === PLUS_KEY),CODE
CRITICALsrc/store/__tests__/PurchaseStore.plus.test.ts968 h.store.fetchProducts.mock.calls.filter(([ids]) =>CODE
CRITICALsrc/store/__tests__/PurchaseStore.plus.test.ts1035 h.store.fetchProducts.mock.calls.some(([ids]) =>CODE
Verbosity Indicators33 hits · 57 pts
SeverityFileLineSnippetContext
LOW⚡.github/workflows/release.yml60 # Step 2: Set up JDK 17COMMENT
LOW⚡.github/workflows/release.yml67 # Step 3: Set up Node.jsCOMMENT
LOW⚡.github/workflows/release.yml74 # Step 4: Install dependencies using YarnCOMMENT
LOW⚡.github/workflows/release.yml99 # Step 5: Set up Ruby and BundlerCOMMENT
LOW⚡.github/workflows/release.yml106 # Step 6: Combined version bumpCOMMENT
LOW⚡.github/workflows/release.yml111 # Step 7: Commit and push version changesCOMMENT
LOW⚡.github/workflows/release.yml125 # Step 8: Set up Android KeystoreCOMMENT
LOW⚡.github/workflows/release.yml131 # Step 9: Authenticate to Google CloudCOMMENT
LOW⚡.github/workflows/release.yml289 # Step 2: Set up Node.jsCOMMENT
LOW⚡.github/workflows/release.yml296 # Step 3: Install dependencies using YarnCOMMENT
LOW⚡.github/workflows/release.yml300 # Step 4: Set up Ruby and BundlerCOMMENT
LOW⚡.github/workflows/release.yml307 # Step 5: Install CocoaPods dependenciesCOMMENT
LOW⚡.github/workflows/release.yml312 # Step 6: Create Env.xcconfigCOMMENT
LOW.github/workflows/release.yml45 # Step 1: Checkout the codeCOMMENT
LOW.github/workflows/release.yml248 # Step 11: Create GitHub Release with APKCOMMENT
LOW.github/workflows/release.yml277 # Step 1: Select the default Xcode shipped on macOS 26.COMMENT
LOW.github/workflows/release.yml323 # Step 7: Create .env fileCOMMENT
LOW.github/workflows/release.yml347 # Step 8: Build and upload iOS app to TestFlightCOMMENT
LOW.github/workflows/release.yml361 # Step 9: Extract iOS version info for dSYM artifact namingCOMMENT
LOW.github/workflows/release.yml372 # Step 10: Retain dSYM as a workflow artifact for crash symbolication (FOU-86)COMMENT
LOW.github/workflows/ci.yml57 # Step 1: Check out the repositoryCOMMENT
LOW⚡.github/workflows/ci.yml68 # Step 2: Set up Node.js environmentCOMMENT
LOW⚡.github/workflows/ci.yml78 # Step 3: Install dependencies and iOS PodsCOMMENT
LOW⚡.github/workflows/ci.yml82 # Step 4: Validate l10n filesCOMMENT
LOW⚡.github/workflows/ci.yml91 # Step 5: Run linters (ESLint)COMMENT
LOW⚡.github/workflows/ci.yml95 # Step 5: Run TypeScript type checksCOMMENT
LOW⚡.github/workflows/ci.yml99 # Step 6: Run unit tests (Jest)COMMENT
LOWe2e/scripts/memory-profile.sh97# Step 1: Build (unless skipped)COMMENT
LOWe2e/scripts/memory-profile.sh108# Step 2: Run memory profile E2E specCOMMENT
LOWe2e/scripts/memory-profile.sh124# Step 3: Compare with baseline (if provided)COMMENT
LOW…c/hooks/__tests__/useChatSession.assistantTurn.test.ts890 // Step 0: invoke calculate. Step 1: invoke datetime. Step 2: finalCOMMENT
LOW⚡src/services/agent/__tests__/AgentRunner.test.ts801 // Step 0: model emits marker, parsed tool_calls arrive →COMMENT
LOW⚡src/services/agent/__tests__/AgentRunner.test.ts803 // Step 1: model emits marker again in the follow-up content.COMMENT
Structural Annotation Overuse33 hits · 57 pts
SeverityFileLineSnippetContext
LOW⚡.github/workflows/release.yml60 # Step 2: Set up JDK 17COMMENT
LOW⚡.github/workflows/release.yml67 # Step 3: Set up Node.jsCOMMENT
LOW⚡.github/workflows/release.yml74 # Step 4: Install dependencies using YarnCOMMENT
LOW⚡.github/workflows/release.yml99 # Step 5: Set up Ruby and BundlerCOMMENT
LOW⚡.github/workflows/release.yml106 # Step 6: Combined version bumpCOMMENT
LOW⚡.github/workflows/release.yml111 # Step 7: Commit and push version changesCOMMENT
LOW⚡.github/workflows/release.yml125 # Step 8: Set up Android KeystoreCOMMENT
LOW⚡.github/workflows/release.yml131 # Step 9: Authenticate to Google CloudCOMMENT
LOW⚡.github/workflows/release.yml289 # Step 2: Set up Node.jsCOMMENT
LOW⚡.github/workflows/release.yml296 # Step 3: Install dependencies using YarnCOMMENT
LOW⚡.github/workflows/release.yml300 # Step 4: Set up Ruby and BundlerCOMMENT
LOW⚡.github/workflows/release.yml307 # Step 5: Install CocoaPods dependenciesCOMMENT
LOW⚡.github/workflows/release.yml312 # Step 6: Create Env.xcconfigCOMMENT
LOW.github/workflows/release.yml45 # Step 1: Checkout the codeCOMMENT
LOW.github/workflows/release.yml248 # Step 11: Create GitHub Release with APKCOMMENT
LOW.github/workflows/release.yml277 # Step 1: Select the default Xcode shipped on macOS 26.COMMENT
LOW.github/workflows/release.yml323 # Step 7: Create .env fileCOMMENT
LOW.github/workflows/release.yml347 # Step 8: Build and upload iOS app to TestFlightCOMMENT
LOW.github/workflows/release.yml361 # Step 9: Extract iOS version info for dSYM artifact namingCOMMENT
LOW.github/workflows/release.yml372 # Step 10: Retain dSYM as a workflow artifact for crash symbolication (FOU-86)COMMENT
LOW.github/workflows/ci.yml57 # Step 1: Check out the repositoryCOMMENT
LOW⚡.github/workflows/ci.yml68 # Step 2: Set up Node.js environmentCOMMENT
LOW⚡.github/workflows/ci.yml78 # Step 3: Install dependencies and iOS PodsCOMMENT
LOW⚡.github/workflows/ci.yml82 # Step 4: Validate l10n filesCOMMENT
LOW⚡.github/workflows/ci.yml91 # Step 5: Run linters (ESLint)COMMENT
LOW⚡.github/workflows/ci.yml95 # Step 5: Run TypeScript type checksCOMMENT
LOW⚡.github/workflows/ci.yml99 # Step 6: Run unit tests (Jest)COMMENT
LOWe2e/scripts/memory-profile.sh97# Step 1: Build (unless skipped)COMMENT
LOWe2e/scripts/memory-profile.sh108# Step 2: Run memory profile E2E specCOMMENT
LOWe2e/scripts/memory-profile.sh124# Step 3: Compare with baseline (if provided)COMMENT
LOW…c/hooks/__tests__/useChatSession.assistantTurn.test.ts890 // Step 0: invoke calculate. Step 1: invoke datetime. Step 2: finalCOMMENT
LOW⚡src/services/agent/__tests__/AgentRunner.test.ts801 // Step 0: model emits marker, parsed tool_calls arrive →COMMENT
LOW⚡src/services/agent/__tests__/AgentRunner.test.ts803 // Step 1: model emits marker again in the follow-up content.COMMENT
Hyper-Verbose Identifiers47 hits · 47 pts
SeverityFileLineSnippetContext
LOW__mocks__/utils/completionSettingsVersions.js34export function migrateCompletionSettings(settings) {CODE
LOWscripts/verify-android-payload.js100function assertRuleDemandsSomething(rule, manifestPath) {CODE
LOWscripts/verify-fonts.js216function verifyHeadlineGlyphCoverage() {CODE
LOWscripts/__tests__/language-sync.test.js30function parseLanguageAssertionKeys(specSource) {CODE
LOWscripts/__tests__/generate-app-icons.test.js566function palPointsOutsideSafeCircle(text) {CODE
LOWe2e/specs/quick-smoke.spec.ts38async function dismissPerformanceWarningIfPresent(): Promise<void> {CODE
LOWe2e/specs/load-stress.spec.ts76async function dismissPerformanceWarningIfPresent(): Promise<void> {CODE
LOWe2e/specs/features/speculative.spec.ts159async function enableSpeculativeGlobally(CODE
LOWe2e/specs/features/hub-run.spec.ts56async function dismissPerformanceWarningIfPresent(): Promise<void> {CODE
LOWe2e/specs/features/speculative-paired.spec.ts257async function enableSpeculativeGlobally(CODE
LOWe2e/helpers/model-actions.ts67export async function dismissPerformanceWarningIfPresent(): Promise<void> {CODE
LOWe2e/helpers/model-actions.ts93export async function dismissContextRoomSheetIfPresent(): Promise<void> {CODE
LOWe2e/helpers/model-actions.ts254export async function downloadAndLoadModelVariant(CODE
LOWe2e/helpers/gestures.ts296async function swipeUpInSheetBelowInputs(): Promise<void> {CODE
LOWe2e/helpers/gestures.ts337async function scrollInSheetClearOfOverlay(CODE
LOWe2e/helpers/gestures.ts375async function scrollInSheetToElementExists(CODE
LOWsrc/types/pal.ts351export function getDefaultTemplateForPalType(CODE
LOWsrc/__automation__/deepLink.ts33export async function dispatchAutomationDeepLink(CODE
LOWsrc/utils/hf.ts81export function createSiblingsFromFileDetails(CODE
LOWsrc/utils/completionSettingsVersions.ts57export function migrateCompletionSettings(settings: any): any {CODE
LOWsrc/utils/hexagonDetection.ts81export function isHexagonVersionSupported(version: HexagonVersion): boolean {CODE
LOWsrc/utils/flashAttnCompatibility.ts174export function getAllowedCacheTypeVOptions(CODE
LOWsrc/utils/flashAttnCompatibility.ts207export function getAllowedCacheTypeKOptions(CODE
LOWsrc/utils/bannerVariantResolver.ts35function endsWithTerminalPunctuation(text: string | undefined): boolean {CODE
LOWsrc/utils/chat.ts439export function getLocalModelDefaultSettings(): {CODE
LOWsrc/utils/contextInitParamsVersions.ts198export function validateContextInitParams(CODE
LOWsrc/utils/contextInitParamsVersions.ts217export function createDefaultContextInitParams(): ContextInitParams {CODE
LOWsrc/utils/palshub-template-parser.ts90function convertJsonSchemaToPocketPal(CODE
LOWsrc/utils/palshub-template-parser.ts141function extractDefaultParametersFromSchema(CODE
LOWsrc/utils/palshub-template-parser.ts173export function generateFinalSystemPrompt(CODE
LOWsrc/utils/palshub-template-parser.ts206function processParametersForMustache(CODE
LOWsrc/utils/deviceSelection.ts230export function validateModelQuantizationForDevice(CODE
LOWsrc/utils/memoryEstimator.ts89export function getModelMemoryRequirement(CODE
LOWsrc/utils/index.ts517export async function enrichSiblingsWithStorage(CODE
LOWsrc/utils/androidPermission.ts4export async function ensureLegacyStoragePermission() {CODE
LOWsrc/utils/androidPermission.ts46async function askNotificationPermission(): Promise<void> {CODE
LOWsrc/utils/androidPermission.ts58export function ensureNotificationPermission(): Promise<void> {CODE
LOWsrc/utils/multimodalHelpers.ts51export function getRecommendedProjectionModel(CODE
LOWsrc/utils/multimodalHelpers.ts128export function getVisionModelSizeBreakdown(CODE
LOWsrc/utils/reasoningCapability.ts85export function resolveReasoningCapability(CODE
LOWsrc/utils/deviceCapabilities.ts193export async function getRecommendedThreadCount(): Promise<number> {CODE
LOWsrc/theme/tokens/typography.ts233export function resolveTypographyForLocale(CODE
LOWsrc/api/openai.ts196function liftModelEntryCapabilities(CODE
LOWsrc/api/feedback.ts243export async function submitModelLoadErrorReport(CODE
LOWsrc/services/tts/streamingHandle.ts32export function createEngineStreamingHandle(CODE
LOWsrc/services/talents/registerTalentUIs.ts18export function resetRegisteredTalentUIsFlag(): void {CODE
LOWsrc/services/talents/index.ts94export function collectSystemPromptFragments(CODE
Over-Commented Block37 hits · 37 pts
SeverityFileLineSnippetContext
LOW.eslintrc.js61 files: ['scripts/**/*.js'],COMMENT
LOWios/PocketPal-Bridging-Header.h1//COMMENT
LOWios/PocketPal/AppIntents/LlamaInferenceEngine.swift1//COMMENT
LOWios/PocketPal/AppIntents/LlamaContextWrapper.mm1//COMMENT
LOWios/PocketPal/AppIntents/MustacheRenderer.swift1//COMMENT
LOWios/PocketPal/AppIntents/LlamaContextWrapper.h1//COMMENT
LOWios/PocketPal/AppIntents/LlamaContextWrapper.h41- (NSString *)getFormattedChat:(NSString *)messagesCOMMENT
LOWandroid/app/src/main/jni/CMakeLists.txt1# PocketPal application CMake.COMMENT
LOWandroid/app/src/main/jni/src/hardware_info.cpp1// JNI shim exposing bionic's mallopt(M_PURGE_ALL) to React Native.COMMENT
LOW.github/workflows/l10n-upload.yml1# Weblate Translation Workflow Lifecycle:COMMENT
LOW.github/actions/setup-hexagon-sdk/action.yml1name: Set up the Hexagon SDKCOMMENT
LOWe2e/specs/features/speculative.spec.ts281 expect(responseText.length).toBeGreaterThan(0);COMMENT
LOWe2e/scripts/memory-profile.sh1#!/usr/bin/env bashCOMMENT
LOWsrc/__automation__/logSignals.ts121 // "llama_model_load_from_file_impl: using device GPUOpenCL (QUALCOMM Adreno(TM) 840) ..."COMMENT
LOWsrc/__automation__/logSignals.ts141 // Layer-offload reuses `offloadedRe` because the underlying log lineCOMMENT
LOWsrc/__automation__/benchmarkRoute.ts1// Deep-link protocol surface for the E2E benchmark runner. Owns the URLCOMMENT
LOWsrc/__automation__/benchmarkRoute.ts21 return typeof url === 'string' && url.startsWith(BENCHMARK_RUNNER_URL_PREFIX);COMMENT
LOWsrc/__automation__/screens/BenchmarkRunnerScreen.tsx561 // From here on the runner acquires global state (native logging,COMMENT
LOWsrc/__automation__/screens/BenchmarkRunnerScreen.tsx641 };COMMENT
LOWsrc/__automation__/screens/BenchmarkRunnerScreen.tsx741 createdAt: '',COMMENT
LOWsrc/__automation__/screens/BenchmarkRunnerScreen.tsx981 // Without this distinction, a single cell failure would make the specCOMMENT
LOWsrc/__automation__/screens/BenchmarkRunnerScreen.tsx1041 // tear-down on a worker thread, Hexagon HTP FastRPCCOMMENT
LOWsrc/utils/multimodalPatterns.ts1// Projector (mmproj) filename pattern. Kept in a dependency-free module so theCOMMENT
LOW…eens/OnboardingScreens/illustrations/PhoneWithPals.tsx41 * hex in the file outside the inline Figma palette constantsCOMMENT
LOWsrc/components/ChatView/ChatView.tsx461 // One reconciled "keyboard occlusion above the input" value. The libraryCOMMENT
LOWsrc/components/ChatView/ChatView.tsx1021COMMENT
LOWsrc/components/ChatView/__tests__/ChatView.test.tsx201 onSendPress={onSendPress}COMMENT
LOWsrc/components/ThinkingBubble/ThinkingBubble.tsx61 // Track animation state to optimize renderingCOMMENT
LOWsrc/components/ResponseBubble/ResponseBubble.tsx141 // // Scroll when layout changesCOMMENT
LOWsrc/theme/tokens/__tests__/invariants.test.ts101 describe('no production consumer of new token surface yet', () => {COMMENT
LOWsrc/hooks/useDeepLinking.ts121 // Two paths:COMMENT
LOWsrc/hooks/useChatSession.ts901 // resumption from queue.next(), starving the macrotask queueCOMMENT
LOWsrc/hooks/useChatSession.ts1001 const isToolArgsParseError =COMMENT
LOWsrc/services/agent/__tests__/agentStateReducer.test.ts341 s = agentStateReducer(s, e);COMMENT
LOWsrc/store/ModelStore.ts241COMMENT
LOWsrc/store/UIStore.ts61 // Persisted so each model warns at most once per device.COMMENT
LOWsrc/store/ChatSessionStore.ts101 // Draft autosave: ephemeral map of sessionId → unsent input textCOMMENT
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMsrc/locales/index.ts8// ─── Language Registry (single source of truth) ──────────────────────COMMENT
MEDIUMsrc/locales/index.ts59// ─── Lazy Loading ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/locales/index.ts119// ─── Getter-based l10n object ────────────────────────────────────────COMMENT
MEDIUMsrc/locales/index.ts173// ─── Interpolation helper ────────────────────────────────────────────COMMENT
MEDIUMsrc/locales/index.ts191// ─── Dayjs locale ───────────────────────────────────────────────────COMMENT
Modern AI Meta-Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/e2e-tests.yml160 # This build may ADD test scaffolding — different flavor, automationCOMMENT
MEDIUMe2e/README.md289│ ├── run-aws-device-farm.ts # AWS Device Farm orchestrationCODE
MEDIUM…/screens/OnboardingScreens/Onboarding3Screen/styles.ts6 // Image to its intrinsic 1572×925 inside the centered scaffold body.COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMe2e/testspec-android.yml4# This file defines the test environment and execution steps for Appium Node.js testsCOMMENT
MEDIUMe2e/testspec-ios.yml4# This file defines the test environment and execution steps for Appium Node.js testsCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/__automation__/screens/BenchmarkRunnerScreen.tsx483 // than throwing — keeps the matrix robust to a typo'd config valueCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/ci.yml38 # Check if ALL changed files are under src/locales/COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWe2e/scripts/memory-profile.sh7# Usage:COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/store/UIStore.ts95 // TODO: Implement error display logic (e.g., toast, alert, etc.)COMMENT