Repository Analysis

liketrek/TREK

A self-hosted travel/trip planner with real-time collaboration, interactive maps, PWA support, SSO, budgets, packing lists, and more.

9.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of liketrek/TREK, a TypeScript project with 11,384 GitHub stars. SynthScan v2.0 examined 446,430 lines of code across 2637 source files, recording 1655 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 9.6 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

9.6
Adjusted Score
9.6
Raw Score
100%
Time Factor
2026-08-02
Last Push
11.4K
Stars
TypeScript
Language
446.4K
Lines of Code
2.6K
Files
1.7K
Pattern Hits
2026-08-02
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 1MEDIUM 1498LOW 156

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1655 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators1484 hits · 4101 pts
SeverityFileLineSnippetContext
MEDIUMplugin-sdk/test/checks-parity.test.ts51 // ── 1. the README gate's constants ────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/test/checks-parity.test.ts80 // ── 2. the registry's real validator, run against an entry we built ───────────COMMENT
MEDIUMplugin-sdk/src/index.ts353// ── integration hook interfaces ──────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts39// ── decoration ─────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts50// ── cancellation ─────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts61// ── prompts (cancel-checked, stderr-rendered) ────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts85// ── permissions ──────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts281// ── flag helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts69// ── 1. the tag resolves to the pinned commit ────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts109// ── 2. the manifest at the pinned commit matches the entry ──────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts158// ── 3. the released artifact ────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts220// ── 4. the README at the pinned commit ──────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts298// ── 5. owner binding (NEW — the registry has always enforced this) ───────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/offline.ts39// ── manifest ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/offline.ts240// ── code ────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/offline.ts340// ── docs ────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/offline.ts472// ── release ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/auth.test.ts30// ── extractToken ─────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/auth.test.ts68// ── authenticate ─────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/auth.test.ts156// ── adminOnly ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/validate.test.ts16// ── maxLength ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/validate.test.ts64// ── validateStringLengths ────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/idempotency.test.ts3// ── In-memory store + DB mock using vi.hoisted ────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/mfaPolicy.test.ts10// ── isPublicApiPath ──────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/mfaPolicy.test.ts66// ── isMfaSetupExemptPath ─────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/tripAccess.test.ts39// ── requireTripAccess ─────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/middleware/tripAccess.test.ts91// ── requireTripOwner ──────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/plugins/rpc-host.test.ts761 // ── Costs (budget items): db:read:costs / db:write:costs ────────────────────COMMENT
MEDIUMserver/tests/unit/plugins/egress-policy.test.ts126// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/plugins/egress-policy.test.ts128// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/plugins/safe-extract.test.ts13// ── tiny archive builders ────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts133// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts135// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts142// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts144// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts165// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts167// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts241// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts243// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts312// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts314// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts87 // ── table rebuilds (data preserved) ──────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts99 // ── photo/journey table rebuilds (data preserved) ────────────────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts121 // ── template/cache scaffolding drops (no user content lost) ──────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts127 // ── guarded column drop ──────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts131 // ── targeted, bounded DELETEs ────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/memories.controller.test.ts39// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/memories.controller.test.ts200// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/memories.controller.test.ts506// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts63// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts65// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts88// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts90// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts169// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts171// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts215// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts217// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts243// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts245// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts276// ─────────────────────────────────────────────────────────────────────────────COMMENT
1424 more matches not shown…
Hyper-Verbose Identifiers71 hits · 72 pts
SeverityFileLineSnippetContext
LOWplugin-sdk/src/manifest.ts316function validatePluginDependencies(raw: unknown, selfId: string, errors: string[]): PluginDependency[] {CODE
LOWserver/tests/unit/db/migration-hygiene.test.ts54function findDestructiveStatements(src: string): DestructiveHit[] {CODE
LOWserver/tests/unit/systemNotices/registry.test.ts8function collectRegisteredActionIds(): Set<string> {CODE
LOWserver/tests/unit/services/backupService.test.ts806function setupSuccessfulExtraction() {CODE
LOW…ver/tests/unit/services/inAppNotificationPrefs.test.ts206function insertBooleanNotification(recipientId: number, senderId: number | null = null): number {CODE
LOWserver/tests/unit/services/atlasService.test.ts36function insertReservationEndpoint(CODE
LOWserver/tests/integration/notifications.test.ts406function insertBooleanNotification(recipientId: number): number {CODE
LOWserver/tests/integration/share.test.ts462 async function setupSharedPlaceWithPhoto() {CODE
LOWserver/src/scheduler.ts314function purgeExpiredIdempotencyKeys(CODE
LOWserver/src/scheduler.ts343function startTrekPhotoCacheCleanup(): void {CODE
LOWserver/src/scheduler.ts366function startPlacePhotoCacheCleanup(): void {CODE
LOWserver/src/mcp/sessionManager.ts37export function revokeUserSessionsForClient(userId: number, clientId: string): void {CODE
LOWserver/src/mcp/sessionManager.ts53export function evictOldestSessionForUser(userId: number): string | null {CODE
LOWserver/src/mcp/tools/notifications.ts16export function registerNotificationTools(server: McpServer, userId: number, scopes: string[] | null): void {CODE
LOWserver/src/nest/llm-parse/clients/nuextract.ts257export function nuExtractToKiReservations(parsed: unknown): Record<string, unknown>[] {CODE
LOWserver/src/nest/plugins/plugin-backup.ts39export function stageExtractedPluginTrees(extractDir: string): boolean {CODE
LOWserver/src/nest/plugins/plugins.service.ts358export function readUserSettingsDecrypted(pluginId: string, userId: number): Record<string, unknown> {CODE
LOWserver/src/nest/plugins/host/plugin-data.service.ts53export function checkpointAllPluginDataDbs(): void {CODE
LOWserver/src/services/journeyService.ts1128export function addProviderPhotoToGallery(CODE
LOWserver/src/services/dayService.ts253function assertNoInvertedAccommodation(tripId: string | number): void {CODE
LOWserver/src/services/dayService.ts449function getAccommodationWithPlace(id: number | bigint) {CODE
LOWserver/src/services/dayService.ts474export function validateAccommodationRefs(tripId: string | number, placeId?: number, startDayId?: number, endDayId?: numCODE
LOWserver/src/services/placeService.ts678function googleMapsFeatureIdFromItem(item: unknown): string | null {CODE
LOWserver/src/services/transitItineraryService.ts168export function cleanTransitItineraryNames(CODE
LOWserver/src/services/transitItineraryService.ts196export function buildTransitReservationParts(CODE
LOWserver/src/services/atlasService.ts1183export function listManuallyVisitedRegions(CODE
LOWserver/src/services/atlasService.ts1203function countryCodeFromRegionCode(regionCode: string): string {CODE
LOWserver/src/services/atlasService.ts1221function hasVisibleRegionForCountry(userId: number, countryCode: string, hidden: Set<string>): boolean {CODE
LOWserver/src/services/budgetService.ts302export function linkBudgetItemToReservation(CODE
LOWserver/src/services/budgetService.ts446export function removeUserFromBudgetItems(userId: number): void {CODE
LOWserver/src/services/permissions.ts77export function invalidatePermissionsCache(): void {CODE
LOWserver/src/services/queryHelpers.ts41function loadParticipantsByAssignmentIds(assignmentIds: number[]): Record<number, Participant[]> {CODE
LOWserver/src/services/queryHelpers.ts55function formatAssignmentWithPlace(a: AssignmentRow, tags: Partial<Tag>[], participants: Participant[]) {CODE
LOWserver/src/services/tripInviteService.ts32export function createOrRotateTripInviteLink(CODE
LOWserver/src/services/oauthService.ts333export function issueClientCredentialsToken(CODE
LOWserver/src/services/ephemeralTokens.ts55export function consumeEphemeralTokenWithMeta(CODE
LOWserver/src/services/kmlImport.ts101export function parseKmlLineStringCoordinates(value: unknown): Array<{ lat: number; lng: number; ele: number | null }> |CODE
LOWserver/src/services/kmlImport.ts158export function resolveCategoryIdForFolder(folderName: string | null, lookup: Map<string, number>): number | null {CODE
LOWserver/src/services/llmConfig.ts44export function prepareLlmAddonConfigForWrite(CODE
LOWserver/src/services/vacayService.ts104export function shiftOwnerEntriesForTripWindow(CODE
LOWserver/src/services/journeyShareService.ts19export function createOrUpdateJourneyShareLink(CODE
LOWserver/src/services/journeyShareService.ts65export function validateShareTokenForPhoto(token: string, photoId: number): { journeyId: number; ownerId: number } | nulCODE
LOWserver/src/services/journeyShareService.ts84export function validateShareTokenForAsset(token: string, assetId: string): { ownerId: number } | null {CODE
LOWserver/src/services/inAppNotifications.ts187export function createNotificationForRecipient(CODE
LOWserver/src/services/collectionsService.ts134function loadTagsByCollectionPlaceIds(placeIds: number[]): Record<number, { id: number; name: string; color: string }[]>CODE
LOWserver/src/services/collectionsService.ts372function isCollectionPlaceDuplicate(CODE
LOWserver/src/services/collectionsService.ts387function findDuplicateCollectionPlace(CODE
LOWserver/src/services/airtrail/airtrailMapper.ts175export function mapFlightsToMultiLegReservation(CODE
LOWserver/src/services/airtrail/airtrailSync.ts265export async function pushReservationToAirtrail(reservationId: number, tripId: number): Promise<void> {CODE
LOWserver/src/services/memories/synologyService.ts608export async function fetchSynologyThumbnailBytes(CODE
LOWserver/src/services/memories/immichService.ts274export async function fetchImmichThumbnailBytes(CODE
LOWserver/src/services/memories/immichService.ts432async function fetchAlbumAssetsViaSearch(CODE
LOWserver/src/services/memories/photoResolverService.ts16export function getOrCreateTrekPhoto(CODE
LOWserver/src/services/memories/photoResolverService.ts40export function getOrCreateLocalTrekPhoto(CODE
LOWserver/src/services/memories/photoResolverService.ts40export function getOrCreateLocalTrekPhoto(CODE
LOWserver/src/services/memories/helpersService.ts250export function updateSyncTimeForAlbumLink(linkId: string): void {CODE
LOWclient/tests/unit/sync/mutationQueue.conflict.test.ts43function conflictThenAcceptHandler(serverName = 'Theirs') {CODE
LOWclient/src/utils/touchDragPolyfill.ts15export function maybeInstallTouchDragPolyfill(): Promise<unknown> | void {CODE
LOWclient/src/utils/dayMerge.ts39export function getTransportRouteEndpoints(CODE
LOWclient/src/utils/connectionsVisibility.ts54export function resolveEffectiveConnections(stored: StoredConnections | null, alwaysShowRoutesDefault: boolean): StoredCCODE
11 more matches not shown…
Over-Commented Block44 hits · 42 pts
SeverityFileLineSnippetContext
LOWdocker-compose.yml21 - ENCRYPTION_KEY=${ENCRYPTION_KEY:-} # Recommended. Generate with: openssl rand -hex 32. If unset, falls back to dCOMMENT
LOWcharts/trek/values.yaml21 NODE_ENV: productionCOMMENT
LOWcharts/trek/values.yaml41 # Also used as the base URL for links in email notifications and other external links.COMMENT
LOWcharts/trek/values.yaml61 # OIDC_DISPLAY_NAME: "SSO"COMMENT
LOWcharts/trek/values.yaml81 # OVERPASS_URL: ""COMMENT
LOWwiki/Install-Helm.md101 port: 3000COMMENT
LOWwiki/Plugin-Development.md1221```bashCOMMENT
LOWwiki/Plugin-Development.md1241trek-plugin sign [zip] [--key file]COMMENT
LOWplugin-sdk/examples/koffi/client/index.html61 #puffS, #squint { transform-box: view-box; }COMMENT
LOWplugin-sdk/examples/trip-doctor/server/index.js1// Trip Doctor — a hooks-only TREK plugin that showcases the #1429 capabilities.COMMENT
LOWplugin-sdk/src/cli/create.ts141 if (egress.length) manifest.egress = egress;COMMENT
LOWplugin-sdk/src/cli/create.ts241`;COMMENT
LOWserver/tests/unit/plugins/egress-policy.test.ts121 expect(dgramConnectTarget([53])).toBeNull();COMMENT
LOWserver/tests/unit/services/passwordPolicy.test.ts41 });COMMENT
LOWserver/src/config.ts1import { SUPPORTED_LANGUAGE_CODES as SUPPORTED_LANG_CODES } from '@trek/shared';COMMENT
LOWserver/src/middleware/globalMiddleware.ts61 }COMMENT
LOWserver/src/middleware/globalMiddleware.ts81 // browser-based DCR/authorization preflights — the global cors({ origin: false }) wouldCOMMENT
LOWserver/src/db/migrations.ts2781 },COMMENT
LOWserver/src/db/migrations.ts2881 // regions (`visited_regions`) stored the OLD Natural Earth ISO-3166-2 codes; some noCOMMENT
LOWserver/src/db/migrations.ts3661 }COMMENT
LOWserver/src/nest/plugins/plugin-runtime.service.ts181 // then swap. Plugins stay down until the app restart the restore already requires.COMMENT
LOWserver/src/nest/plugins/plugin-frame.controller.ts81 // guard is the union of the manifest's http:outbound:<host> grants AND the hosts an adminCOMMENT
LOWserver/src/nest/plugins/host/plugin-data.service.ts21// the (capped) data size — a `WITH RECURSIVE …` can spin the synchronous hostCOMMENT
LOWserver/src/nest/plugins/runtime/plugin-host-entry.ts321 lock(process, 'send', () => {COMMENT
LOWserver/src/nest/platform/platform.routes.ts21// IMPORTANT — path resolution: the original blocks lived in src/app.ts, where __dirnameCOMMENT
LOWserver/src/nest/platform/platform.routes.ts41 // design. All filenames are server-chosen UUID v4 (see `uuid()` inCOMMENT
LOWserver/src/services/dayService.ts161// ---------------------------------------------------------------------------COMMENT
LOWserver/src/services/atlasService.ts1import { db } from '../db/database';COMMENT
LOWserver/src/services/atlasService.ts621// Float64Array rings and boxes are retained (≈1MB vs the ≈145MB parsed geometry, #1576).COMMENT
LOWserver/src/services/atlasService.ts1261 region_name: string;COMMENT
LOWserver/src/services/atlasService.ts1421 // ends in a US state abbreviation that collides with a real ISO code (e.g. "...CA" parsedCOMMENT
LOWserver/src/services/mapsService.ts361const OVERPASS_TIMEOUT_MS = resolveOverpassTimeoutMs();COMMENT
LOWserver/src/services/backupService.ts241 // every open handle first (the host keeps them open in WAL mode) so the archivedCOMMENT
LOWserver/src/services/notifications/channelRegistry.ts1import type { NotifEventType } from '../notificationPreferencesService';COMMENT
LOWserver/src/services/memories/immichService.ts181 try {COMMENT
LOWclient/e2e/ipad-scroll-1432.spec.ts1import { test, expect, devices } from '@playwright/test'COMMENT
LOWclient/e2e/screenshots/seed.ts321 await ctx.post(`${collab}/messages`, { data: { text } }).catch(() => {})COMMENT
LOWclient/src/vite-env.d.ts1/// <reference types="vite/client" />COMMENT
LOWclient/src/utils/flightLegs.ts1// Multi-leg (layover) flight support.COMMENT
LOWclient/src/components/Map/MapViewGL.tsx921COMMENT
LOWclient/src/components/Map/MapViewAuto.tsx1import { lazy, Suspense } from 'react'COMMENT
LOW…ent/src/components/SystemNotices/SystemNoticeModal.tsx381 // 'h' once we classify the gesture as horizontal, 'v' for vertical, null = unclassifiedCOMMENT
LOWclient/src/hooks/useTransportRoutes.ts81 // StrictMode's dev-only mount->cleanup->remount cycle runs this effect'sCOMMENT
LOWclient/src/pages/JourneyDetailPage.test.tsx441 // The second entry (Florence Day) has no photos, so its menu is a small buttonCOMMENT
Modern AI Meta-Vocabulary14 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMplugin-sdk/test/publish.test.ts37 // publish now gates on the registry's checks BEFORE it packs or releases, so a bare scaffoldCOMMENT
MEDIUMplugin-sdk/test/publish.test.ts100 // Deliberately NOT made publishable: this is a fresh scaffold, exactly what a first-timeCOMMENT
MEDIUMplugin-sdk/test/sdk.test.ts480 // is how a scaffold could sail through `validate` and then be rejected by the registry.COMMENT
MEDIUMplugin-sdk/test/sdk.test.ts484 // The scaffold's README references ./docs/screenshot.png and never creates it. The old checkCOMMENT
MEDIUMplugin-sdk/test/sdk.test.ts608 // A scaffold-shaped CJS entry that requires the SDK without any node_modules.COMMENT
MEDIUMplugin-sdk/test/cli.test.ts26 // The scaffold must NOT invent a placeholder — it declares operatorEgress instead, whichCOMMENT
MEDIUMplugin-sdk/src/cli/dev.ts197 // one-arg calls work on a fresh scaffold — without this, a fixtures file that omitsCOMMENT
MEDIUMplugin-sdk/src/cli/dev.ts452 // hard-coded to 42 while the scaffold seeds trip 1, so the widget's firstCOMMENT
MEDIUMplugin-sdk/src/cli/create.ts124 // 3.4.0, not 3.3.0. The `ctx` namespaces this scaffold is written against — ctx.meta,COMMENT
MEDIUMplugin-sdk/src/cli/create.ts139 // grey square in the store, so the scaffold picks a real one rather than leaving it out.COMMENT
MEDIUMplugin-sdk/src/cli/create.ts206 // The README has always linked ./docs/screenshot.png, and the scaffold has never created theCOMMENT
MEDIUMplugin-sdk/src/cli/create.ts504 // The scaffold turns each host into a matching http:outbound:<host> grant. Leaving itCOMMENT
MEDIUMserver/src/db/migrations.ts3292 // Migration 155: plugin system scaffold (#plugins). A plugin is a row here;COMMENT
MEDIUMserver/src/nest/plugins/plugins.service.ts19 * Read side of the plugin system (#plugins), M0 scaffold. Lists installedCOMMENT
Fake / Example Data27 hits · 26 pts
SeverityFileLineSnippetContext
LOWplugin-sdk/test/checks.test.ts20 author: 'Jane Doe',CODE
LOWserver/tests/unit/services/oidcService.test.ts600 const userInfoData = { sub: 'user-sub', email: 'user@example.com', name: 'User Name' };CODE
LOWserver/tests/unit/services/oidcService.test.ts608 expect(result.email).toBe('user@example.com');CODE
LOWserver/tests/unit/services/oidcService.test.ts633 { sub: 'user-sub', email: 'user@example.com', ...overrides },CODE
LOWserver/tests/unit/services/notificationService.test.ts36 sendMailMock: vi.fn().mockResolvedValue({ accepted: ['test@test.com'] }),CODE
LOWserver/tests/integration/auth.test.ts137 email: 'admin@example.com',CODE
LOWclient/tests/unit/stores/authStore.test.ts189 const result = await useAuthStore.getState().login('user@example.com', 'password');CODE
LOWclient/tests/integration/api/client.test.ts852 await expect(notificationsApi.testSmtp('user@example.com')).resolves.toMatchObject({ ok: true });CODE
LOWclient/tests/helpers/msw/handlers/admin.ts7 const admin1 = buildAdmin({ username: 'admin', email: 'admin@example.com' });CODE
LOW…ient/src/components/Settings/NotificationsTab.test.tsx350 expect(input).toHaveAttribute('placeholder', '••••••••');CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx686 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx686 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx708 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx708 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceFormModal.test.tsx110 const place = buildPlace({ name: 'Test', address: '123 Main St' });CODE
LOWclient/src/components/Planner/PlaceFormModal.test.tsx112 expect(screen.getByDisplayValue('123 Main St')).toBeInTheDocument();CODE
LOWclient/src/pages/LoginPage.test.tsx39 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx94 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx126 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx248 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx271 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx299 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx327 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx362 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx400 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx518 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
LOWclient/src/pages/LoginPage.test.tsx553 await user.type(screen.getByPlaceholderText(EMAIL_PLACEHOLDER), 'user@example.com');CODE
Verbosity Indicators6 hits · 7 pts
SeverityFileLineSnippetContext
LOWserver/tests/integration/auth.test.ts14// Step 1: Bare in-memory DB — schema applied in beforeAll after mocks registerCOMMENT
LOWserver/tests/integration/auth.test.ts566 // Step 1: login to get mfa_tokenCOMMENT
LOWserver/tests/integration/auth.test.ts573 // Step 2: verify with a backup codeCOMMENT
LOWserver/tests/integration/auth.test.ts580 // Step 3: same backup code is now consumed — second login attempt failsCOMMENT
LOWserver/tests/integration/journey.test.ts11// Step 1: Bare in-memory DB — schema applied in beforeAll after mocks registerCOMMENT
LOWserver/tests/integration/trips.test.ts11// Step 1: Bare in-memory DB — schema applied in beforeAll after mocks registerCOMMENT
Structural Annotation Overuse6 hits · 7 pts
SeverityFileLineSnippetContext
LOWserver/tests/integration/auth.test.ts14// Step 1: Bare in-memory DB — schema applied in beforeAll after mocks registerCOMMENT
LOWserver/tests/integration/auth.test.ts566 // Step 1: login to get mfa_tokenCOMMENT
LOWserver/tests/integration/auth.test.ts573 // Step 2: verify with a backup codeCOMMENT
LOWserver/tests/integration/auth.test.ts580 // Step 3: same backup code is now consumed — second login attempt failsCOMMENT
LOWserver/tests/integration/journey.test.ts11// Step 1: Bare in-memory DB — schema applied in beforeAll after mocks registerCOMMENT
LOWserver/tests/integration/trips.test.ts11// Step 1: Bare in-memory DB — schema applied in beforeAll after mocks registerCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHwiki/Troubleshooting.md327 -H "X-Goog-Api-Key: YOUR_API_KEY" \CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdocker-compose.yml39# - OIDC_ONLY=false # Set true to force SSO-only mode: disables password login and registration, overrides Admin > COMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWclient/e2e/screenshots/seed.ts317 ['admin', "It's included — kaiseki, 18:30. Added it to the to-dos so we don't forget to confirm."],CODE