Repository Analysis

mauriceboe/TREK

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

10.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of mauriceboe/TREK, a TypeScript project with 10,326 GitHub stars. SynthScan v2.0 examined 417,211 lines of code across 2513 source files, recording 1604 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 10.1 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).

10.1
Adjusted Score
10.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
10.3K
Stars
TypeScript
Language
417.2K
Lines of Code
2.5K
Files
1.6K
Pattern Hits
2026-07-14
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 1466LOW 137

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 1604 distinct pattern matches across 9 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 Separators1460 hits · 4034 pts
SeverityFileLineSnippetContext
MEDIUMplugin-sdk/src/index.ts346// ── integration hook interfaces ──────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts37// ── decoration ─────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts48// ── cancellation ─────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts59// ── prompts (cancel-checked, stderr-rendered) ────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts73// ── permissions ──────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/ui.ts117// ── flag helpers ──────────────────────────────────────────────────────────────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.ts759 // ── Costs (budget items): db:read:costs / db:write:costs ────────────────────COMMENT
MEDIUMserver/tests/unit/plugins/egress-policy.test.ts120// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/plugins/egress-policy.test.ts122// ─────────────────────────────────────────────────────────────────────────────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
MEDIUM…s/unit/services/notificationPreferencesService.test.ts278// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts325// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/unit/services/notificationPreferencesService.test.ts327// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/services/placeService.test.ts8// ── DB setup ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/services/placeService.test.ts76// ── listPlaces ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/services/placeService.test.ts137// ── createPlace (via service) ─────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/services/placeService.test.ts167// ── getPlace ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/services/placeService.test.ts194// ── updatePlace ───────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/services/placeService.test.ts236// ── updatePlacesMany ────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/services/placeService.test.ts279// ── deletePlace ───────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/services/placeService.test.ts320// ── importGpx ─────────────────────────────────────────────────────────────────COMMENT
1400 more matches not shown…
Hyper-Verbose Identifiers62 hits · 63 pts
SeverityFileLineSnippetContext
LOWplugin-sdk/src/manifest.ts274function 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.ts33export function revokeUserSessionsForClient(userId: number, clientId: string): void {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.ts314export 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.ts399function getAccommodationWithPlace(id: number | bigint) {CODE
LOWserver/src/services/dayService.ts424export 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/atlasService.ts631export function listManuallyVisitedRegions(userId: number): { region_code: string; region_name: string; country_code: stCODE
LOWserver/src/services/budgetService.ts217export function linkBudgetItemToReservation(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/airtrailSync.ts238export 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.ts13export function maybeInstallTouchDragPolyfill(): Promise<unknown> | void {CODE
LOWclient/src/utils/dayMerge.ts39export function getTransportRouteEndpoints(CODE
LOW…/src/components/Settings/AirTrailConnectionSection.tsx15export default function AirTrailConnectionSection(): React.ReactElement {CODE
LOWclient/src/components/Plugins/PluginContributions.tsx24export function usePluginViewContributions(view: ViewName, tripId: string | number | null | undefined) {CODE
LOW…/components/Planner/DayPlanSidebarTimeConfirmModal.tsx22export function DayPlanSidebarTimeConfirmModal({ timeConfirm, setTimeConfirm, confirmTimeRemoval, t }: DayPlanSidebarTimCODE
LOW…ponents/Planner/DayPlanSidebarTransportDetailModal.tsx23export function DayPlanSidebarTransportDetailModal({CODE
LOWclient/src/components/Planner/placeOpenStreetMap.ts9export function getOpenStreetMapUrlForPlace(place: PlaceLike | null | undefined): string | null {CODE
LOWclient/src/components/Planner/PlaceInspector.tsx740function PlaceReservationParticipants({ selectedAssignmentId, reservations, assignments, selectedDayId,CODE
LOWclient/src/components/Map/glProviders.ts43export function normalizeStyleForProvider(provider: GlMapProvider, style?: string | null): string {CODE
LOW…c/components/Collections/AddPlaceToCollectionModal.tsx38export default function AddPlaceToCollectionModal({ isOpen, collectionId, collectionName, categories, onClose, onAdded, CODE
2 more matches not shown…
Over-Commented Block36 hits · 36 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 # Auto-derived (true in production or when FORCE_HTTPS=true). Set "false" to force cookies over plain HTTP. Not recommCOMMENT
LOWcharts/trek/values.yaml61 # OIDC_ADMIN_CLAIM: ""COMMENT
LOWcharts/trek/values.yaml81COMMENT
LOWwiki/Install-Helm.md101 # ALLOWED_ORIGINS: "https://trek.example.com"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.ts101 pluginDependencies: opts.pluginDependencies ?? [],COMMENT
LOWplugin-sdk/src/cli/create.ts161 }COMMENT
LOWserver/tests/unit/plugins/egress-policy.test.ts121// Node's pre-normalised connect args (the plain-HTTP egress bug)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/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/nest/plugins/plugin-runtime.service.ts161 if (applied.length) console.log(`[plugins] applied staged restore: ${applied.join(', ')}`);COMMENT
LOWserver/src/nest/plugins/plugin-runtime.service.ts741 // The admin's egress consent dies with the plugin. Unconditional: leaving it wouldCOMMENT
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.ts81}, CACHE_CLEANUP_MS).unref();COMMENT
LOWserver/src/services/atlasService.ts281 }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/src/vite-env.d.ts1/// <reference types="vite/client" />COMMENT
LOWclient/src/utils/flightLegs.ts1// Multi-leg (layover) flight support.COMMENT
LOWclient/src/components/Plugins/PluginFrame.tsx121 const frameRef = useRef<HTMLIFrameElement | null>(null)COMMENT
LOWclient/src/components/Map/MapViewGL.tsx581 // Apple Maps behaviour where the blue dot stays but the map no longerCOMMENT
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/api/client.ts661 // Bounded markers plugins overlay on the trip map via the mapMarkerProvider hookCOMMENT
LOWclient/src/pages/JourneyDetailPage.test.tsx441 // The second entry (Florence Day) has no photos, so its menu is a small buttonCOMMENT
Fake / Example Data26 hits · 25 pts
SeverityFileLineSnippetContext
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.tsx669 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx669 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx691 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx691 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
Modern AI Meta-Vocabulary6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMplugin-sdk/test/sdk.test.ts480 // A scaffold-shaped CJS entry that requires the SDK without any node_modules.COMMENT
MEDIUMplugin-sdk/test/cli.test.ts24 // The scaffold must NOT invent a placeholder — it declares operatorEgress instead, whichCOMMENT
MEDIUMplugin-sdk/src/cli/dev.ts145 // one-arg calls work on a fresh scaffold — without this, a fixtures file that omitsCOMMENT
MEDIUMplugin-sdk/src/cli/create.ts415 // 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.ts17 * Read side of the plugin system (#plugins), M0 scaffold. Lists installedCOMMENT
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.yml38# - OIDC_ONLY=false # Set true to force SSO-only mode: disables password login and registration, overrides Admin > COMMENT