Repository Analysis

mauriceboe/TREK

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

7.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of mauriceboe/TREK, a TypeScript project with 12,934 GitHub stars. SynthScan v2.0 examined 783,410 lines of code across 3989 source files, recording 2296 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 7.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).

7.6
Adjusted Score
7.6
Raw Score
100%
Time Factor
2026-08-28
Last Push
12.9K
Stars
TypeScript
Language
783.4K
Lines of Code
4.0K
Files
2.3K
Pattern Hits
2026-08-29
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 4HIGH 1MEDIUM 2032LOW 259

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 2296 distinct pattern matches across 11 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 Separators2017 hits · 5604 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.ts384// ── 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.ts286// ── flag helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts71// ── 1. the tag resolves to the pinned commit ────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts111// ── 2. the manifest at the pinned commit matches the entry ──────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts160// ── 3. the released artifact ────────────────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts222// ── 4. the README at the pinned commit ──────────────────────────────────────────COMMENT
MEDIUMplugin-sdk/src/cli/checks/network.ts300// ── 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/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.ts205// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts207// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts214// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts216// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts237// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts239// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts313// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts315// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts384// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/mcp/tools-prompts.test.ts386// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts85 // ── table rebuilds (data preserved) ──────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts97 // ── photo/journey table rebuilds (data preserved) ────────────────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts119 // ── template/cache scaffolding drops (no user content lost) ──────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts125 // ── guarded column drop ──────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/db/migration-hygiene.test.ts129 // ── targeted, bounded DELETEs ────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/memories.controller.test.ts50// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/memories.controller.test.ts217// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/memories.controller.test.ts523// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/feeds.service.test.ts16// ── DB setup ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/feeds.service.test.ts72// ── Calendar parts the stub hands back ────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/feeds.service.test.ts118// ── Trip feed token ───────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/feeds.service.test.ts218// ── User (all-trips) feed token ───────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/feeds.service.test.ts264// ── buildTripIcs ──────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/feeds.service.test.ts314// ── buildUserIcs ──────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/audit.service.test.ts13// ── DB setup ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/audit.service.test.ts77// ── getClientIp (pure, moved 1:1) ─────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/audit.service.test.ts114// ── writeAudit (real DB) ──────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/share.service.test.ts12// ── DB setup ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/share.service.test.ts96// ── verifyTripAccess / canManage ──────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/share.service.test.ts122// ── createOrUpdate ────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/share.service.test.ts183// ── get / remove ──────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/share.service.test.ts218// ── getSharedTripData ─────────────────────────────────────────────────────────COMMENT
MEDIUMserver/tests/unit/nest/share.service.test.ts389// ── getSharedPlacePhotoKey ───────────────────────────────────────────────────COMMENT
MEDIUM…sts/unit/nest/notification-preferences.service.test.ts76// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sts/unit/nest/notification-preferences.service.test.ts78// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sts/unit/nest/notification-preferences.service.test.ts101// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sts/unit/nest/notification-preferences.service.test.ts103// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sts/unit/nest/notification-preferences.service.test.ts183// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sts/unit/nest/notification-preferences.service.test.ts185// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sts/unit/nest/notification-preferences.service.test.ts229// ─────────────────────────────────────────────────────────────────────────────COMMENT
1957 more matches not shown…
Over-Commented Block107 hits · 106 pts
SeverityFileLineSnippetContext
LOWdocker-compose.minio-test.yml1# Manual, license-gated live-provider test for the env-gated S3 driverCOMMENT
LOWdocker-compose.minio-test.yml21# argument, so `command: minio server /data --license /minio.license`COMMENT
LOWdocker-compose.yml21 - ENCRYPTION_KEY=${ENCRYPTION_KEY:-} # Recommended. Generate with: openssl rand -hex 32. If unset, falls back to dCOMMENT
LOWdocker-compose.yml41# - OIDC_DISPLAY_NAME=SSO # Label shown on the SSO login buttonCOMMENT
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.md1401# your repo. It refuses a plugin that could not LOAD, but deliberately does notCOMMENT
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 // Floor 4.0.0: the host surface this scaffold is written against — the enforcedCOMMENT
LOWplugin-sdk/src/cli/create.ts161 // A notification channel usually targets a SELF-HOSTED service, whose hostname theCOMMENT
LOWserver/vitest.config.ts41 // module runs in-process and is unit-tested.COMMENT
LOWserver/tests/setup.console-noise.ts1// Filters *expected* noise off the test console so real failures stay visibleCOMMENT
LOWserver/tests/setup.ts1// Global test setup — runs before every test file.COMMENT
LOWserver/tests/setup.ts41// Nominatim's rate limit is a property of the real service, not of the codeCOMMENT
LOWserver/tests/unit/plugins/egress-policy.test.ts121 expect(dgramConnectTarget([53])).toBeNull();COMMENT
LOWserver/tests/unit/nest/storage/storage.service.test.ts301 const res = Object.assign(sink, {COMMENT
LOWserver/tests/unit/services/passwordPolicy.test.ts41 });COMMENT
LOWserver/tests/integration/storage-stream-abort.test.ts201 .on('error', reject);COMMENT
LOWserver/scripts/migrate-encryption.ts341 }COMMENT
LOWserver/src/index.ts1import 'reflect-metadata';COMMENT
LOWserver/src/index.ts81let server: http.Server;COMMENT
LOWserver/src/config.ts1import crypto from 'node:crypto';COMMENT
LOWserver/src/bootstrap.ts81 app.useWebSocketAdapter(new TrekWsAdapter(boundHttpServer));COMMENT
LOWserver/src/bootstrap.ts101 // '100kb' and stopped doing it when the Nest instance took over parsing, whichCOMMENT
LOWserver/src/middleware/globalMiddleware.ts121 // HSTS is worth enabling any time we're serving production traffic,COMMENT
LOWserver/src/middleware/globalMiddleware.ts141 // answer OPTIONS without Access-Control-Allow-Origin before the SDK's own cors() runs.COMMENT
LOWserver/src/utils/ssrfGuard.ts141/** Link-local / cloud-metadata addresses — never a legitimate model host. */COMMENT
LOWserver/src/db/migrations.ts2781 del.run(minLat, maxLat, minLng, maxLng);COMMENT
LOWserver/src/db/migrations.ts2881 created_at DATETIME DEFAULT CURRENT_TIMESTAMPCOMMENT
LOWserver/src/db/migrations.ts3361 // runtime health (`status`). A crash used to flip status to 'error', whichCOMMENT
LOWserver/src/db/migrations.ts3921 // admin who has one — into that row, so an install that upgrades keeps theCOMMENT
LOWserver/src/db/migrations.ts4081 //COMMENT
LOWserver/src/systemNotices/registry.ts141 // Desktop-only: the support modal is suppressed on small/mobile viewports.COMMENT
LOWserver/src/nest/app.module.ts81 // @OptionalAuth(), or declares its own @UseGuards chain. Protection used toCOMMENT
LOWserver/src/nest/maps/maps.service.ts421 // True when the requested viewport was too large and got shrunk to a centredCOMMENT
LOWserver/src/nest/settings/settings.service.ts181 }COMMENT
LOWserver/src/nest/calendar/calendar.service.ts301 }COMMENT
LOWserver/src/nest/calendar/calendar.service.ts441COMMENT
LOWserver/src/nest/auth/auth.service.ts581 return { error: 'Cannot delete the last admin account', status: 400 };COMMENT
LOWserver/src/nest/llm-parse/llm-config.resolver.ts61 const settings = this.settings.getUserSettings(userId);COMMENT
LOWserver/src/nest/plugins/plugin-runtime.service.ts181 private get db() {COMMENT
LOWserver/src/nest/plugins/plugin-runtime.service.ts201 if (applied.length) console.log(`[plugins] applied staged restore: ${applied.join(', ')}`);COMMENT
LOWserver/src/nest/plugins/plugin-frame.controller.ts81 res.setHeader('Content-Type', MIME[ext] ?? 'application/octet-stream');COMMENT
LOWserver/src/nest/plugins/plugin-frame.controller.ts101 // added post-install for an operatorEgress plugin (plugin-runtime.service: activate()).COMMENT
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/places/places.service.ts1161 void this.enrichImportedList(tripId, created as EnrichablePlace[], opts);COMMENT
LOWserver/src/nest/platform/platform.routes.ts121 }COMMENT
LOWserver/src/nest/platform/platform.routes.ts141 // - Journey public-share pages (/public/journey/:token)COMMENT
LOWserver/src/nest/storage/storage.service.ts201 // fail after a successful stat — a delete that raced it, a backend blip —COMMENT
LOWserver/src/nest/storage/storage.service.ts221 try {COMMENT
LOWserver/src/nest/storage/drivers/s3.driver.ts301 // Dropping ContentType here means multipart objects are stored withoutCOMMENT
LOWserver/src/nest/atlas/atlas-geo.ts1import { Place } from '../../types';COMMENT
LOWserver/src/nest/atlas/atlas-geo.ts21//COMMENT
LOWserver/src/nest/atlas/atlas-geo.ts221// Territories that have their own ISO code but no admin0 polygon in the bundle.COMMENT
LOWserver/src/nest/atlas/atlas-geo.ts581 boxes.push([minLng, minLat, maxLng, maxLat]);COMMENT
47 more matches not shown…
Hyper-Verbose Identifiers70 hits · 71 pts
SeverityFileLineSnippetContext
LOWplugin-sdk/src/manifest.ts420function validatePluginDependencies(raw: unknown, selfId: string, errors: string[]): PluginDependency[] {CODE
LOWserver/tests/unit/db/migration-hygiene.test.ts52function findDestructiveStatements(src: string): DestructiveHit[] {CODE
LOWserver/tests/unit/systemNotices/registry.test.ts9function collectRegisteredActionIds(): Set<string> {CODE
LOWserver/tests/unit/nest/travel-stats.service.test.ts166 function splitChainThroughHelsinki(tripId: number, onwardDate: string, onwardTime: string) {CODE
LOW…rver/tests/unit/nest/notifications.inapp-prefs.test.ts220function insertBooleanNotification(recipientId: number, senderId: number | null = null): number {CODE
LOWserver/tests/unit/nest/atlas.service.test.ts51function insertReservationEndpoint(CODE
LOWserver/tests/unit/nest/backup.impl.test.ts1036function setupSuccessfulExtraction() {CODE
LOWserver/tests/unit/nest/storage/storage.service.test.ts91function makeGhostLocalPathFixture(contents: string): Fixture & { driverCalls: string[] } {CODE
LOWserver/tests/unit/nest/storage/storage.service.test.ts464 function makeAbortingStreamFixture(err: { code?: string; syscall?: string; message?: string }) {CODE
LOW…r/tests/unit/nest/storage/storage-jobs.service.test.ts117function makePhotosGoogleMigrationWorld() {CODE
LOW…r/tests/unit/nest/storage/storage-jobs.service.test.ts139function makeMigrationBackfillWorld() {CODE
LOWserver/tests/integration/notifications.test.ts418function insertBooleanNotification(recipientId: number): number {CODE
LOWserver/tests/integration/share.test.ts556 async function setupSharedPlaceWithPhoto() {CODE
LOWserver/tests/helpers/plugin-host.ts86export function createPluginRpcHostFactory(dbs: DatabaseService): PluginRpcHostFactory {CODE
LOWserver/tests/helpers/notifications.ts29export function makeNotificationPreferencesService(dbs: DatabaseService): NotificationPreferencesService {CODE
LOWserver/tests/helpers/module-providers.ts24export function expectRegisteredController(moduleClass: object, controller: object): void {CODE
LOWserver/src/mcp/sessionManager.ts39export function revokeUserSessionsForClient(userId: number, clientId: string): void {CODE
LOWserver/src/mcp/sessionManager.ts55export function evictOldestSessionForUser(userId: number): string | null {CODE
LOWserver/src/nest/auth/ephemeral-tokens.ts55export function consumeEphemeralTokenWithMeta(CODE
LOWserver/src/nest/llm-parse/llm-config.ts44export function prepareLlmAddonConfigForWrite(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/host/plugin-data.service.ts53export function checkpointAllPluginDataDbs(): void {CODE
LOWserver/src/nest/places/places.helpers.ts214export function googleMapsFeatureIdFromItem(item: unknown): string | null {CODE
LOWserver/src/nest/places/kml-import.helpers.ts102export function parseKmlLineStringCoordinates(value: unknown): Array<{ lat: number; lng: number; ele: number | null }> |CODE
LOWserver/src/nest/places/kml-import.helpers.ts159export function resolveCategoryIdForFolder(folderName: string | null, lookup: Map<string, number>): number | null {CODE
LOWserver/src/nest/platform/mcp-metadata.middleware.ts22export function createMcpMetadataMiddleware(CODE
LOWserver/src/nest/permissions/permissions-cache.ts25export function invalidatePermissionsCache(): void {CODE
LOWserver/src/nest/transit/transit-itinerary.helpers.ts180export function cleanTransitItineraryNames(CODE
LOWserver/src/nest/transit/transit-itinerary.helpers.ts208export function buildTransitReservationParts(CODE
LOWserver/src/nest/storage/storage-upload.factory.ts43export function buildStorageUploadOptions(storage: StorageService, opts: StorageUploadOptions) {CODE
LOWserver/src/nest/storage/drivers/s3.driver.ts153function zeroByteChecksumWorkaround(size: number): { ApplyChecksum: true } | Record<string, never> {CODE
LOWserver/src/nest/integrations/airtrail.mapper.ts178export function mapFlightsToMultiLegReservation(CODE
LOWserver/src/nest/common/idempotency-cleanup.ts21export function purgeExpiredIdempotencyKeys(CODE
LOWserver/src/nest/common/rowShape.ts12export function formatAssignmentWithPlace(a: AssignmentRow, tags: Partial<Tag>[], participants: Participant[]) {CODE
LOWserver/src/nest/atlas/atlas.service.ts61function countryCodeFromRegionCode(regionCode: string): string {CODE
LOWshared/src/book/book.schema.ts811function withoutUnreadableElements(raw: unknown): unknown {CODE
LOWclient/tests/unit/sync/mutationQueue.conflict.test.ts43function conflictThenAcceptHandler(serverName = 'Theirs') {CODE
LOWclient/src/vacay/schoolHolidayCountries.ts24export function isSchoolHolidayCountrySupported(country: string): boolean {CODE
LOWclient/src/utils/touchDragPolyfill.ts15export function maybeInstallTouchDragPolyfill(): Promise<unknown> | void {CODE
LOWclient/src/utils/dayMerge.ts59export function getTransportRouteEndpoints(CODE
LOWclient/src/utils/connectionsVisibility.ts54export function resolveEffectiveConnections(stored: StoredConnections | null, alwaysShowRoutesDefault: boolean): StoredCCODE
LOWclient/src/utils/connectionsVisibility.ts60export function resolveVisibleConnectionIds(effective: StoredConnections, routableIds: number[]): number[] {CODE
LOWclient/src/utils/globalErrorHandlers.ts48export function installGlobalErrorHandlers(): () => void {CODE
LOW…/src/components/Settings/AirTrailConnectionSection.tsx15export default function AirTrailConnectionSection(): React.ReactElement {CODE
LOWclient/src/components/Vacay/holidayRegions.ts78export async function fetchSchoolHolidayRegionOptions(country: string, lang = activeLanguage()): Promise<{ value: stringCODE
LOWclient/src/components/Plugins/PluginFrame.tsx270function createPluginSessionStorageKeys(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.tsx24export function DayPlanSidebarTransportDetailModal({CODE
LOWclient/src/components/Planner/placeOpenStreetMap.ts9export function getOpenStreetMapUrlForPlace(place: PlaceLike | null | undefined): string | null {CODE
LOWclient/src/components/Planner/PlaceInspector.tsx823function PlaceReservationParticipants({ selectedAssignmentId, reservations, assignments, selectedDayId,CODE
LOWclient/src/components/Admin/storage/storageModel.ts408export function computeMigrationCandidates(draft: StorageConfig, state: StorageAdminState): MigrationCandidate[] {CODE
LOWclient/src/components/Map/glProviders.ts43export function normalizeStyleForProvider(provider: GlMapProvider, style?: string | null): string {CODE
LOWclient/src/components/Map/MapViewGL.tsx294function createPluginMarkerElement(tone: PluginMapMarker['tone']): HTMLDivElement {CODE
LOW…c/components/Collections/AddPlaceToCollectionModal.tsx39export default function AddPlaceToCollectionModal({ isOpen, collectionId, collectionName, categories, onClose, onAdded, CODE
LOW…c/components/Collections/SaveTripPlacesToListModal.tsx24export default function SaveTripPlacesToListModal({ isOpen, tripId, placeIds, onClose, onDone }: SaveTripPlacesToListModCODE
LOW…mobile/screens/settings/MAirTrailConnectionSection.tsx15export default function MAirTrailConnectionSection(): React.ReactElement {CODE
LOW…rc/mobile/screens/admin/MAdminNotificationsSection.tsx24export default function MAdminNotificationsSection({ admin, t }: MAdminNotificationsSectionProps) {CODE
LOW…/mobile/screens/admin/MAdminPackingTemplateManager.tsx58export default function MAdminPackingTemplateManager() {CODE
10 more matches not shown…
Fake / Example Data68 hits · 68 pts
SeverityFileLineSnippetContext
LOWplugin-sdk/test/checks.test.ts20 author: 'Jane Doe',CODE
LOWserver/tests/unit/nest/oidc.service.test.ts770 const userInfoData = { sub: 'user-sub', email: 'user@example.com', name: 'User Name' };CODE
LOWserver/tests/unit/nest/oidc.service.test.ts779 expect(result.email).toBe('user@example.com');CODE
LOWserver/tests/unit/nest/oidc.service.test.ts816 { sub: 'user-sub', email: 'user@example.com', ...overrides },CODE
LOWserver/tests/unit/nest/notifications.service.test.ts41 sendMailMock: vi.fn().mockResolvedValue({ accepted: ['test@test.com'] }),CODE
LOWserver/tests/integration/auth.test.ts137 email: 'admin@example.com',CODE
LOWshared/src/maps/maps.schema.spec.ts94 attribution: 'Jane Doe',CODE
LOWclient/tests/unit/stores/authStore.test.ts218 const result = await useAuthStore.getState().login('user@example.com', 'password');CODE
LOW…nt/tests/unit/mobile/admin/MAdminUsersSection.test.tsx53const ME = buildAdminUser({ id: 1, username: 'admin', email: 'admin@example.com', role: 'admin' });CODE
LOW…unit/mobile/admin/MAdminDevNotificationsPanel.test.tsx13const ADMIN = buildAdmin({ id: 7, username: 'testadmin', email: 'admin@example.com' });CODE
LOW…unit/mobile/admin/MAdminDevNotificationsPanel.test.tsx181 params: { actor: 'testadmin', invitee: 'admin@example.com' },CODE
LOWclient/tests/unit/mobile/trip/ImpListStep.test.tsx44 expect(screen.getByRole('textbox')).toHaveAttribute('placeholder', 'https://maps.app.goo.gl/…')CODE
LOWclient/tests/unit/mobile/trip/ImpListStep.test.tsx52 expect(screen.getByRole('textbox')).toHaveAttribute('placeholder', 'https://naver.me/…')CODE
LOWclient/tests/integration/api/client.test.ts857 await expect(notificationsApi.testSmtp('user@example.com')).resolves.toMatchObject({ ok: true });CODE
LOWclient/tests/helpers/mobileAdmin.ts20 email: 'admin@example.com',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
LOW…ient/src/components/Settings/NotificationsTab.test.tsx956 expect(tokenInput()).toHaveAttribute('placeholder', '••••••••');CODE
LOW…ient/src/components/Settings/NotificationsTab.test.tsx1124 expect(input).toHaveAttribute('placeholder', '••••••••');CODE
LOW…ient/src/components/Settings/NotificationsTab.test.tsx1130 expect(screen.getByRole('textbox')).toHaveAttribute('placeholder', 'https://discord.com/api/webhooks/...'),CODE
LOWclient/src/components/Studio/bookTemplates.data.ts316 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts316 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts343 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts343 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts403 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts403 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts577 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts577 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts604 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts604 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts748 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts748 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts775 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts775 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts890 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts890 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts937 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts937 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts1202 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts1202 "text": "Lorem ipsum dolor sit amet",CODE
LOWclient/src/components/Studio/bookTemplates.data.ts1229 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Studio/bookTemplates.data.ts1229 "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx795 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx795 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx817 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceInspector.test.tsx817 const longText = 'Lorem ipsum dolor sit amet. '.repeat(200);CODE
LOWclient/src/components/Planner/PlaceFormModal.test.tsx111 const place = buildPlace({ name: 'Test', address: '123 Main St' });CODE
LOWclient/src/components/Planner/PlaceFormModal.test.tsx113 expect(screen.getByDisplayValue('123 Main St')).toBeInTheDocument();CODE
LOW…ient/src/components/Admin/storage/BackendForm.test.tsx45 expect(screen.getByLabelText(/Region/)).toHaveAttribute('placeholder', 'us-east-1');CODE
LOW…ient/src/components/Admin/storage/BackendForm.test.tsx47 expect(screen.getByLabelText(/Retries/)).toHaveAttribute('placeholder', '1');CODE
LOW…ient/src/components/Admin/storage/BackendForm.test.tsx48 expect(screen.getByLabelText(/Timeout \(ms\)/)).toHaveAttribute('placeholder', '30000');CODE
LOWclient/src/components/shared/CustomTimePicker.test.tsx539 expect(screen.getByRole('textbox')).toHaveProperty('placeholder', '00:00');CODE
LOWclient/src/components/shared/CustomTimePicker.test.tsx544 expect(screen.getByRole('textbox')).toHaveProperty('placeholder', '2:30 PM');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
8 more matches not shown…
Modern AI Meta-Vocabulary15 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUMplugin-sdk/test/publish.test.ts64 // publish now gates on the registry's checks BEFORE it packs or releases, so a bare scaffoldCOMMENT
MEDIUMplugin-sdk/test/publish.test.ts127 // Deliberately NOT made publishable: this is a fresh scaffold, exactly what a first-timeCOMMENT
MEDIUMplugin-sdk/test/sdk.test.ts527 // is how a scaffold could sail through `validate` and then be rejected by the registry.COMMENT
MEDIUMplugin-sdk/test/sdk.test.ts531 // The scaffold's README references ./docs/screenshot.png and never creates it. The old checkCOMMENT
MEDIUMplugin-sdk/test/sdk.test.ts655 // 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.ts141 // Floor 4.0.0: the host surface this scaffold is written against — the enforcedCOMMENT
MEDIUMplugin-sdk/src/cli/create.ts158 // grey square in the store, so the scaffold picks a real one rather than leaving it out.COMMENT
MEDIUMplugin-sdk/src/cli/create.ts235 // The README has always linked ./docs/screenshot.png, and the scaffold has never created theCOMMENT
MEDIUMplugin-sdk/src/cli/create.ts533 // The scaffold turns each host into a matching http:outbound:<host> grant. Leaving itCOMMENT
MEDIUMserver/CLAUDE.md51## Direction (post-migration guardrails, from the 2026 audit)COMMENT
MEDIUMserver/src/db/migrations.ts3297 // Migration 155: plugin system scaffold (#plugins). A plugin is a row here;COMMENT
MEDIUMserver/src/nest/plugins/plugins.service.ts20 * Read side of the plugin system (#plugins), M0 scaffold. Lists installedCOMMENT
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALserver/tests/unit/places/places.rpc.test.ts138 expect(f.realtime.broadcast.mock.calls.map((c) => c[1])).toEqual(['place:created', 'place:updated', 'place:deleted']CODE
CRITICALserver/tests/unit/todo/todo.rpc.test.ts92 expect(f.realtime.broadcast.mock.calls.map((c) => c[1])).toEqual(['todo:created', 'todo:updated', 'todo:deleted']);CODE
CRITICALserver/tests/unit/days/days-itinerary.rpc.test.ts84 expect(f.realtime.broadcast.mock.calls.map((c) => c[1])).toEqual(['day:created', 'day:updated', 'day:deleted']);CODE
CRITICALserver/tests/unit/budget/costs.rpc.test.ts142 expect(f.realtime.broadcast.mock.calls.map((c) => c[1])).toEqual(['budget:created', 'budget:updated', 'budget:deleteCODE
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.md368 -H "X-Goog-Api-Key: YOUR_API_KEY" \CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdocker-compose.yml42# - 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