AI Slop Code Risk Monitor

Crosstalk-Solutions/project-nomad

SlopCodeMonitor badge for Crosstalk-Solutions/project-nomad Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

4.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Crosstalk-Solutions/project-nomad, a TypeScript project with 41,431 GitHub stars. SynthScan examined 140,829 lines of code across 574 source files, recording 271 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 4.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.

4.0
Adjusted Signal
4.0
Raw Pattern Score
100%
Time Factor
2026-10-22
Last Push
41.4K
Stars
TypeScript
Language
140.8K
Lines of Code
574
Files
271
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 6.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 13.1/100 · LOW

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

PR Review Velocity Impact 16.9/100 · LOW

Which changes need focused human review? 271 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 2MEDIUM 121LOW 148

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 271 distinct pattern matches across 14 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.

Decorative Section Separators114 hits · 348 pts
SeverityFileLineSnippetContext
MEDIUMadmin/database/seeders/service_seeder.ts38 // ── Core / original services ──────────────────────────────────────────────COMMENT
MEDIUMadmin/database/seeders/service_seeder.ts213 // ── Supply Depot — curated catalog (ports 8400–8499) ─────────────────────COMMENT
MEDIUMadmin/types/drug_reference.ts8// ─── Product type ─────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/types/drug_reference.ts17// ─── Manifest (from api.fda.gov/download.json) ────────────────────────────────COMMENT
MEDIUMadmin/types/drug_reference.ts32// ─── Download-state marker (persisted in KV, no migration) ────────────────────COMMENT
MEDIUMadmin/types/drug_reference.ts68// ─── Install-state metadata (tier-installer → InstalledResource row) ──────────COMMENT
MEDIUMadmin/types/drug_reference.ts89// ─── Job params ───────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/types/drug_reference.ts146// ─── Search result DTO (collapsed by brand+generic) ──────────────────────────COMMENT
MEDIUMadmin/types/drug_reference.ts163// ─── Detail DTO (full label body) ─────────────────────────────────────────────COMMENT
MEDIUMadmin/types/drug_reference.ts188// ─── Interaction comparison DTO ───────────────────────────────────────────────COMMENT
MEDIUMadmin/types/drug_reference.ts202// ─── Ingest status (two-phase) ────────────────────────────────────────────────COMMENT
MEDIUMadmin/types/conditions.ts18// ─── Curated condition spine ──────────────────────────────────────────────────COMMENT
MEDIUMadmin/types/conditions.ts47// ─── Natural remedies (Phase 2) ───────────────────────────────────────────────COMMENT
MEDIUMadmin/types/conditions.ts103// ─── DTOs (server → client) ───────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/jobs/ingest_drug_data_job.ts109// ─── Local type aliases for yauzl callbacks ───────────────────────────────────COMMENT
MEDIUMadmin/app/jobs/ingest_drug_data_job.ts155 // ─── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/jobs/ingest_drug_data_job.ts212 // ─── Job handler ───────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/jobs/ingest_drug_data_job.ts364 // ─── Private helpers ───────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/jobs/download_drug_data_job.ts44 // ─── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/jobs/download_drug_data_job.ts103 // ─── Job handler ───────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/jobs/download_drug_data_job.ts277 // ─── Private helpers ───────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/services/content_auto_update_service.ts480 // ── Per-window budget ─────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/services/content_auto_update_service.ts514 // ── Backoff + run recording ───────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/services/content_auto_update_service.ts548 // ── Status snapshot ───────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/services/drug_reference_service.ts798 // ── Download sub-status ─────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/services/drug_reference_service.ts817 // ── Ingest sub-status ───────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/services/kiwix_catalog_service.ts161 // ── ZIM internals ───────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/services/kiwix_catalog_service.ts256 // ── Map internals ────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/app/services/kiwix_catalog_service.ts285 // ── Shared ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/util/conditions.ts29// ─── Spine parsing (fail-soft) ────────────────────────────────────────────────COMMENT
MEDIUMadmin/util/conditions.ts105// ─── Lookup + projection ──────────────────────────────────────────────────────COMMENT
MEDIUMadmin/util/conditions.ts123// ─── Reverse link: indications text → curated situations ──────────────────────COMMENT
MEDIUMadmin/util/conditions.ts161// ─── FULLTEXT query construction ──────────────────────────────────────────────COMMENT
MEDIUMadmin/util/conditions.ts195// ─── Natural remedies (Phase 2) — parsing + lookup ───────────────────────────COMMENT
MEDIUMadmin/util/conditions.ts333// ─── Result ordering ──────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/util/drug_labels.ts19// ─── Internal structural types (no Lucid) ────────────────────────────────────COMMENT
MEDIUMadmin/util/drug_labels.ts71// ─── Internal helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/util/drug_labels.ts145// ─── Exported helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/util/drug_labels.ts312// ─── Two-step ingest helpers (pure — no I/O) ──────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/service_catalog_merge.spec.ts24// ── container_config ────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/service_catalog_merge.spec.ts94// ── ui_location ─────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/content_auto_update_backoff.spec.ts29// ── Failure backoff ─────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/content_auto_update_backoff.spec.ts59// ── Success reset ───────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/custom_app_guard.spec.ts6// ── Bind mounts ──────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/custom_app_guard.spec.ts77// ── Image references ─────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/drug_ingest_status.spec.ts14// ─── partZipPath ──────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/drug_ingest_status.spec.ts44// ─── parseDownloadState ───────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/drug_ingest_status.spec.ts117// ─── deriveIngestPhase ────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/drug_ingest_status.spec.ts177// ─── resolveExpectedTotal ─────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/drug_labels.spec.ts9// ─── mapDrugLabelRecord ───────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/drug_labels.spec.ts208// ─── normalizeDrugName ────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/drug_labels.spec.ts258// ─── parseDrugLabelManifest ───────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/content_auto_update.spec.ts46// ── Per-resource eligibility ───────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/content_auto_update.spec.ts126// ── Cap-bounded selection ──────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/content_auto_update.spec.ts194// ── Window boundary math (per-window budget reset) ─────────────────────────────COMMENT
MEDIUMadmin/tests/unit/content_auto_update.spec.ts208// ── Shared update window ───────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/app_auto_update.spec.ts35// ── Per-app eligibility ───────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/unit/app_auto_update.spec.ts133// ── Shared update window (reused from the core auto-update) ────────────────────COMMENT
MEDIUMadmin/tests/standalone/drug_ingest_status.standalone.ts31// ── partZipPath ──────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin/tests/standalone/drug_ingest_status.standalone.ts57// ── parseDownloadState ───────────────────────────────────────────────────────COMMENT
54 more matches not shown…
Structural Annotation Overuse28 hits · 46 pts
SeverityFileLineSnippetContext
LOWinstall/migrate-disk-collector.sh102# Step 1: Stop old host processCOMMENT
LOWinstall/migrate-disk-collector.sh121# Step 2: Backup compose.ymlCOMMENT
LOWinstall/migrate-disk-collector.sh133# Step 3: Remove old bind-mount from admin volumesCOMMENT
LOWinstall/migrate-disk-collector.sh152# Step 4: Add disk-collector service blockCOMMENT
LOWinstall/migrate-disk-collector.sh202# Step 6: VerifyCOMMENT
LOWadmin/app/jobs/run_download_job.ts183 // Step 1: delete the OUTDATED file if it differs from the new one.COMMENT
LOWadmin/app/services/rag_service.ts2015 // Step 2: is the knowledge base even installed? Short-circuits before anyCOMMENT
LOWadmin/app/services/rag_service.ts2030 // Step 5: only check liveness once we know we'd otherwise act. The healthCOMMENT
LOW⚡admin/app/services/docker_service.ts467 // Step 4: Mark service as uninstalledCOMMENT
LOW⚡admin/app/services/docker_service.ts473 // Step 5: Recreate the containerCOMMENT
LOW⚡admin/app/services/docker_service.ts1393 // Step 1: Build/update the XML from current disk stateCOMMENT
LOW⚡admin/app/services/docker_service.ts1399 // Step 2: Stop and remove old container (leave ZIM volumes intact)COMMENT
LOW⚡admin/app/services/docker_service.ts1824 // Step 1: Pull new image (runtimeImage diverges from newImage for AMD, see above)COMMENT
LOW⚡admin/app/services/docker_service.ts1828 // Step 2: Find and stop existing containerCOMMENT
LOWadmin/app/services/docker_service.ts386 // Step 1: Try to stop and remove the container if it existsCOMMENT
LOWadmin/app/services/docker_service.ts416 // Step 2: Remove the containerCOMMENT
LOWadmin/app/services/docker_service.ts433 // Step 3: Clear volumes/data if neededCOMMENT
LOWadmin/app/services/docker_service.ts1414 // Step 3: Read the service record and authoritatively set the correct command.COMMENT
LOWadmin/app/services/docker_service.ts1430 // Step 4: Recreate container directly (skipping _createContainer to avoid re-downloadingCOMMENT
LOWadmin/app/services/docker_service.ts1847 // Step 3: Rename old container as safety netCOMMENT
LOWadmin/app/services/docker_service.ts1879 // Step 4: Create new container with inspected config + new imageCOMMENT
LOWadmin/app/services/docker_service.ts1954 // Step 5: Start new container. If the start itself throws (bad device/GPU config,COMMENT
LOWadmin/app/services/docker_service.ts1979 // Step 6: Health check — verify container stays running for 5 secondsCOMMENT
LOW⚡admin/docs/use-cases.md170### Step 1: Identify Your NeedsCOMMENT
LOW⚡admin/docs/use-cases.md173### Step 2: Prioritize ContentCOMMENT
LOW⚡admin/docs/use-cases.md180### Step 3: Upload Relevant DocumentsCOMMENT
LOW⚡admin/docs/use-cases.md183### Step 4: Download While You CanCOMMENT
LOW⚡admin/docs/use-cases.md186### Step 5: PracticeCOMMENT
Over-Commented Block44 hits · 43 pts
SeverityFileLineSnippetContext
LOWinstall/uninstall_nomad.sh1#!/bin/bashCOMMENT
LOWinstall/management_compose.yaml21 # RELOCATING STORAGE: the host path on the LEFT of the colon below is the single source ofCOMMENT
LOWinstall/install_nomad.sh1#!/bin/bashCOMMENT
LOWinstall/install_nomad.sh181 COMMENT
LOWinstall/install_nomad.sh661# read -rp $'\033[39m#\033[0m Do you want to proceed with running the script? (y/N) ' yes_noCOMMENT
LOWinstall/install_nomad.sh681# jq '.scripts."'"${script_name}"'" = (.scripts."'"${script_name}"'" | . + {"warnings": {"low-free-disk-space": COMMENT
LOWinstall/run_updater_fixes.sh1#!/bin/bashCOMMENT
LOWinstall/run_updater_fixes.sh21# Downloads the updated sidecar Dockerfile (adds jq) and update-watcher.shCOMMENT
LOWinstall/update_nomad.sh1#!/bin/bashCOMMENT
LOWinstall/migrate-disk-collector.sh1#!/bin/bashCOMMENT
LOWinstall/nomad-translate/blocks.py41}COMMENT
LOWinstall/nomad-translate/entrypoint.sh1#!/bin/shCOMMENT
LOWadmin/types/kv_store.ts1COMMENT
LOWadmin/types/kv_store.ts61 // model name ({"llama3:8b":1.02,"qwen2.5:0.5b":1.26}). One row rather than aCOMMENT
LOWadmin/types/kv_store.ts81 'gpu.autoRemediatedAt': 'string',COMMENT
LOWadmin/app/utils/gpu_model.ts21 const s = model.trim()COMMENT
LOWadmin/app/jobs/ingest_drug_data_job.ts61}COMMENT
LOWadmin/app/jobs/ingest_drug_data_job.ts441 const createParser = (await import('stream-json')).default.parserCOMMENT
LOWadmin/app/jobs/embed_file_job.ts201 totalArticles: totalArticles || result.totalArticles,COMMENT
LOWadmin/app/jobs/embed_file_job.ts361 // Continuation batches (batchOffset > 0) must NOT reuse the deterministicCOMMENT
LOWadmin/app/controllers/ollama_controller.ts161 skipRetrieval: !ragEnabled,COMMENT
LOWadmin/app/services/benchmark_service.ts61// for the NOMAD Score v2 rollout (uncapped index vs a frozen Reference Build).COMMENT
LOWadmin/app/services/benchmark_service.ts101type ScoreRawsV2 = Record<ScoreChannelV2, number>COMMENT
LOWadmin/app/services/benchmark_service.ts121// covers both architectures because a manifest list resolves per-arch on pull.COMMENT
LOWadmin/app/services/benchmark_service.ts321 // Remote inference cannot be attributed to this machine.COMMENT
LOWadmin/app/services/benchmark_service.ts561 })COMMENT
LOWadmin/app/services/benchmark_service.ts1001 const ollamaService = new (await import('./ollama_service.js')).OllamaService()COMMENT
LOWadmin/app/services/benchmark_service.ts1021 // Best-effort — a warm-up hiccup must not fail the run (the timed loop willCOMMENT
LOWadmin/app/services/ollama_service.ts141 // Sampling controls. Left unset for normal chat, which inherits the backend'sCOMMENT
LOWadmin/app/services/drug_reference_service.ts821 // A pruned-but-successful ingest leaves rows + the last-updated marker andCOMMENT
LOWadmin/app/services/rag_pipeline_service.ts281 msg.role === 'assistant'COMMENT
LOWadmin/app/services/eval_generation_service.ts281 ]COMMENT
LOWadmin/app/services/rag_service.ts1341 exact: true,COMMENT
LOWadmin/app/services/rag_service.ts2441COMMENT
LOWadmin/app/services/docker_service.ts321 // Check if a service wasn't marked as installed but has an existing containerCOMMENT
LOWadmin/app/services/docker_service.ts901 this._broadcast(COMMENT
LOWadmin/app/services/system_service.ts461 // Clear the bogus value up front. If a probe replaces the entry belowCOMMENT
LOWadmin/app/services/kiwix_catalog_service.ts121 // carries in a separate `<flavour>` element: `wikibooks_en_all_nopic_2026-04.zim`COMMENT
LOWadmin/config/session.ts1// import env from '#start/env'COMMENT
LOWadmin/config/session.ts21// /**COMMENT
LOWadmin/config/session.ts41// * list of available stores and their config.COMMENT
LOWadmin/config/queue.ts1import env from '#start/env'COMMENT
LOW.github/workflows/release.yml81 GH_TOKEN: ${{ secrets.COSMISTACKBOT_ACCESS_TOKEN }}COMMENT
LOW.github/scripts/finalize-release-notes.sh1#!/usr/bin/env bashCOMMENT
Verbosity Indicators23 hits · 35 pts
SeverityFileLineSnippetContext
LOWinstall/migrate-disk-collector.sh102# Step 1: Stop old host processCOMMENT
LOWinstall/migrate-disk-collector.sh121# Step 2: Backup compose.ymlCOMMENT
LOWinstall/migrate-disk-collector.sh133# Step 3: Remove old bind-mount from admin volumesCOMMENT
LOWinstall/migrate-disk-collector.sh152# Step 4: Add disk-collector service blockCOMMENT
LOWinstall/migrate-disk-collector.sh202# Step 6: VerifyCOMMENT
LOWadmin/app/jobs/run_download_job.ts183 // Step 1: delete the OUTDATED file if it differs from the new one.COMMENT
LOWadmin/app/services/rag_service.ts2015 // Step 2: is the knowledge base even installed? Short-circuits before anyCOMMENT
LOWadmin/app/services/rag_service.ts2030 // Step 5: only check liveness once we know we'd otherwise act. The healthCOMMENT
LOW⚡admin/app/services/docker_service.ts467 // Step 4: Mark service as uninstalledCOMMENT
LOW⚡admin/app/services/docker_service.ts473 // Step 5: Recreate the containerCOMMENT
LOW⚡admin/app/services/docker_service.ts1393 // Step 1: Build/update the XML from current disk stateCOMMENT
LOW⚡admin/app/services/docker_service.ts1399 // Step 2: Stop and remove old container (leave ZIM volumes intact)COMMENT
LOW⚡admin/app/services/docker_service.ts1824 // Step 1: Pull new image (runtimeImage diverges from newImage for AMD, see above)COMMENT
LOW⚡admin/app/services/docker_service.ts1828 // Step 2: Find and stop existing containerCOMMENT
LOWadmin/app/services/docker_service.ts386 // Step 1: Try to stop and remove the container if it existsCOMMENT
LOWadmin/app/services/docker_service.ts416 // Step 2: Remove the containerCOMMENT
LOWadmin/app/services/docker_service.ts433 // Step 3: Clear volumes/data if neededCOMMENT
LOWadmin/app/services/docker_service.ts1414 // Step 3: Read the service record and authoritatively set the correct command.COMMENT
LOWadmin/app/services/docker_service.ts1430 // Step 4: Recreate container directly (skipping _createContainer to avoid re-downloadingCOMMENT
LOWadmin/app/services/docker_service.ts1847 // Step 3: Rename old container as safety netCOMMENT
LOWadmin/app/services/docker_service.ts1879 // Step 4: Create new container with inspected config + new imageCOMMENT
LOWadmin/app/services/docker_service.ts1954 // Step 5: Start new container. If the start itself throws (bad device/GPU config,COMMENT
LOWadmin/app/services/docker_service.ts1979 // Step 6: Health check — verify container stays running for 5 secondsCOMMENT
Hyper-Verbose Identifiers26 hits · 26 pts
SeverityFileLineSnippetContext
LOWadmin/app/utils/token_estimate.ts164export function estimateTokensConservative(text: string, ratio = 1): number {CODE
LOWadmin/app/utils/zim_filename.ts17export function findReplacedWikipediaFiles(CODE
LOWadmin/app/utils/fs.ts47export async function listDirectoryContentsRecursive(path: string): Promise<FileEntry[]> {CODE
LOWadmin/app/utils/rag_relevance.ts25export function invalidateMinRelevanceCache(): void {CODE
LOWadmin/app/utils/chat_images.ts98export function attachImagesToLatestUserMessage(CODE
LOWadmin/app/utils/response_style.ts23export function invalidateResponseStyleCache(): void {CODE
LOWadmin/app/utils/downloads.ts294export async function doResumableDownloadWithRetry({CODE
LOWadmin/app/utils/service_catalog_merge.ts120export function mergeUiLocationPreservingHostPort(CODE
LOWadmin/app/utils/model_capabilities.ts19export function capabilitiesFromOllamaShow(value: unknown): ModelCapabilities | null {CODE
LOWadmin/app/utils/model_capabilities.ts32export function visionCapabilityFromLlamaProps(value: unknown): ModelVisionCapability | null {CODE
LOWadmin/app/utils/model_capabilities.ts71export function installedModelsFromOpenAIResponse(value: unknown): InstalledModelMetadata[] {CODE
LOWadmin/app/utils/content_auto_update_backoff.ts25export async function recordResourceUpdateSuccess(resource: InstalledResource): Promise<void> {CODE
LOWadmin/app/utils/content_auto_update_backoff.ts35export async function recordResourceUpdateFailure(CODE
LOWadmin/app/utils/affirmative_remedies.ts21export async function affirmativeRemediesEnabled(): Promise<boolean> {CODE
LOWadmin/app/validators/common.ts79export function assertNotCloudMetadataUrl(urlString: string): void {CODE
LOWadmin/app/services/ollama_compute.ts35export function classifyOllamaComputeBackend(logText: string): OllamaComputeBackend {CODE
LOWadmin/app/services/ollama_compute.ts176export function parseAmdGfxTargetFromLogs(logText: string): string | null {CODE
LOWadmin/app/services/kiwix_catalog_service.ts313export async function reconcileResourceUpdateState(CODE
LOWadmin/util/zim.ts3export function isRawListRemoteZimFilesResponse(obj: any): obj is RawListRemoteZimFilesResponse {CODE
LOWadmin/util/drug_labels.ts472export function resolveIngestRecordsShown(CODE
LOWadmin/config/inertia.ts8export function invalidateAssistantNameCache() {CODE
LOW…rtia/components/drug-reference/DrugDisclaimerModal.tsx12export function hasAcknowledgedDrugDisclaimer(): boolean {CODE
LOWadmin/inertia/hooks/useServiceInstallationActivity.ts6export default function useServiceInstallationActivity() {CODE
LOWadmin/inertia/lib/collections.ts12function resolveTierResourcesInner(CODE
LOWadmin/inertia/lib/util.ts6export function setGlobalNotificationCallback(callback: (notification: Notification) => void) {CODE
LOW⚡admin/inertia/pages/drug-reference/interactions.tsx29export default function DrugReferenceInteractions({ ingestStatus, rowCount }: PageProps) {CODE
Redundant / Tautological Comments12 hits · 18 pts
SeverityFileLineSnippetContext
LOWinstall/uninstall_nomad.sh97 # Check if 'docker compose' (v2 plugin) is availableCOMMENT
LOWinstall/install_nomad.sh157 # Check if the script is being run in debug modeCOMMENT
LOWinstall/install_nomad.sh210 # Check if Docker was installed successfullyCOMMENT
LOWinstall/install_nomad.sh220 # Check if Docker service is runningCOMMENT
LOWinstall/install_nomad.sh237 # Check if 'docker compose' (v2 plugin) is availableCOMMENT
LOWinstall/install_nomad.sh274 # Check if nvidia-container-toolkit is already installedCOMMENT
LOWinstall/install_nomad.sh321 # Check if nvidia runtime already existsCOMMENT
LOWinstall/install_nomad.sh511 # Check if NVIDIA GPU is presentCOMMENT
LOWinstall/install_nomad.sh522 # Check if NVIDIA Container Toolkit is installedCOMMENT
LOWinstall/install_nomad.sh529 # Check if Docker has NVIDIA runtimeCOMMENT
LOWinstall/update_nomad.sh103 # Check if 'docker compose' (v2 plugin) is availableCOMMENT
LOWinstall/sidecar-updater/update-watcher.sh220 # Check if an update request file existsCOMMENT
Excessive Try-Catch Wrapping10 hits · 11 pts
SeverityFileLineSnippetContext
LOWinstall/nomad-translate/proxy.py222 except Exception:CODE
LOWinstall/nomad-translate/proxy.py266 except Exception as exc:CODE
LOWinstall/nomad-translate/proxy.py287 except Exception as exc:CODE
LOWinstall/nomad-translate/blocks.py147 except Exception:CODE
LOWinstall/nomad-translate/fetch_models.py180 except Exception as exc:CODE
LOWinstall/nomad-translate/fetch_models.py191 except Exception as exc:CODE
LOWadmin/tests/eval/corpus/distractor-python-tutorial.md2680 except Exception as err:CODE
LOWadmin/scripts/audit_catalog_ports.py61 except Exception:CODE
LOWadmin/scripts/audit_catalog_ports.py97 except Exception:CODE
MEDIUMadmin/scripts/audit_catalog_ports.py58def parse_config(raw):CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHinstall/nomad-translate/proxy.py319except (BrokenPipeError, ConnectionResetError):CODE
HIGHadmin/scripts/audit_catalog_ports.py87except (IndexError, ValueError):CODE
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM⚡install/management_compose.yaml41 # PORT is the port the admin server listens on *inside* the container and should not be changed. If you want to chCOMMENT
LOW⚡install/management_compose.yaml51 # If you change the MySQL port, make sure to update this accordinglyCOMMENT
LOW⚡install/management_compose.yaml60 # If you change the Redis port, make sure to update this accordinglyCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMadmin/app/controllers/system_controller.ts401 // Security guardrails: hard-block dangerous bind mounts / malformed images regardless ofCOMMENT
MEDIUMadmin/app/controllers/system_controller.ts745 // Security guardrails (same posture as create).COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMadmin/app/services/zim_extraction_service.ts185 // that we can leverage for better chunking. If not, we'll just chunk it as one big piece of text.COMMENT
MEDIUMadmin/app/services/kiwix_catalog_service.ts113 // 1. Exact-name lookup (the robust path). Resolves most books, whose OPDS `<name>`COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMinstall/install_nomad.sh422 # Create a admin.log file in the logs directoryCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWadmin/tests/unit/relevance_judge.spec.ts48 const filler = 'Lorem ipsum dolor sit amet. '.repeat(40)CODE
LOWadmin/tests/unit/relevance_judge.spec.ts48 const filler = 'Lorem ipsum dolor sit amet. '.repeat(40)CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWadmin/scripts/audit_catalog_ports.py77CODE
LOWadmin/scripts/audit_catalog_ports.py101CODE