Repository Analysis

onejs/one

❶ One is a new React framework - target web and native with a single Vite plugin and fully shared code, so you can ship cross-platform nearly as easy as single-platform.

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of onejs/one, a TypeScript project with 4,485 GitHub stars. SynthScan v2.0 examined 171,565 lines of code across 2369 source files, recording 539 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 4.0 places this repository in the Likely human-written 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).

4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-07-31
Last Push
4.5K
Stars
TypeScript
Language
171.6K
Lines of Code
2.4K
Files
539
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 9MEDIUM 63LOW 467

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 539 distinct pattern matches across 18 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.

Hyper-Verbose Identifiers245 hits · 248 pts
SeverityFileLineSnippetContext
LOWtests/test-layout-flicker/tests/layout-flicker.test.ts38async function setupLayoutFlashDetection(page: Page) {CODE
LOWtests/test-redirect-flash/tests/redirect-flash.test.ts179async function waitForProjectRouteOutcome(page: Page, timeout = 10000) {CODE
LOWtests/test-redirect-flash/tests/redirect-flash.test.ts193async function waitForNestedRouteOutcome(page: Page, timeout = 10000) {CODE
LOW…s/test-params-stability/tests/params-stability.test.ts113async function assertSiblingDynamicNavigation(method: 'replace' | 'push') {CODE
LOW…/app/rn-features/platform-specific-extensions/test.tsx5export default function PlatformSpecificExtensionsTestPage() {CODE
LOWtests/test/tests/ssg-hydration-flicker.test.ts57 async function testNoFlickerDuringHydration(CODE
LOWtests/hmr/tests/utils.ts59export function editTestComponentContainingRelativeImportFile() {CODE
LOW…ponents/TestComponentUsingHookThatHasNativeVersion.tsx6export function TestComponentUsingHookThatHasNativeVersion() {CODE
LOW…ts/hmr/components/TestComponentWithFlatList.native.tsx9export function TestComponentWithFlatList() {CODE
LOW…r/components/TestComponentContainingRelativeImport.tsx6export function TestComponentContainingRelativeImport() {CODE
LOWtests/hmr/components/TestComponentWithFlatList.tsx1export function TestComponentWithFlatList() {CODE
LOWtests/test-deploy-flash/tests/deploy-flash.test.ts143async function waitForDeployRouteActivity(page: Page) {CODE
LOWtests/test-deploy-flash/tests/deploy-flash.test.ts155async function collectSessionProjectState(page: Page) {CODE
LOWtests/test-deploy-flash/tests/deploy-flash.test.ts213async function collectNestedGroupProjectState(page: Page) {CODE
LOWtests/test-deploy-flash/tests/deploy-flash.test.ts289function expectSessionStateMatches(CODE
LOWtests/test-deploy-flash/tests/deploy-flash.test.ts303function expectNestedGroupStateMatches(CODE
LOW…kills/ios-simulator-skill/scripts/app_state_capture.py67 def capture_accessibility_tree(self, output_path: Path) -> dict:CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/xcresult.py233 def _extract_location_from_url(self, source_url: str | None) -> dict:CODE
LOW…ude/skills/ios-simulator-skill/scripts/xcode/config.py137 def update_last_used_simulator(self, name: str) -> None:CODE
LOW…ude/skills/ios-simulator-skill/scripts/xcode/config.py171 def should_fallback_to_any_iphone(self) -> bool:CODE
LOW…de/skills/ios-simulator-skill/scripts/xcode/builder.py87 def get_simulator_destination(self) -> str:CODE
LOW…de/skills/ios-simulator-skill/scripts/xcode/builder.py160 def _extract_simulator_name_from_destination(self, destination: str) -> str | None:CODE
LOW…lls/ios-simulator-skill/scripts/common/device_utils.py240def resolve_device_identifier(identifier: str) -> str:CODE
LOW…lls/ios-simulator-skill/scripts/common/device_utils.py393def transform_screenshot_coords(CODE
LOWscripts/release-publish.ts9export function isGitHubTrustedPublishingEnvironment(env: NodeJS.ProcessEnv) {CODE
LOWpackages/native/types/zoom/index.native.d.ts5export declare function ZoomTransitionAlignmentRectDetector(props: ZoomTransitionAlignmentRectDetectorProps): import("reCODE
LOWpackages/native/types/zoom/index.d.ts5export declare function ZoomTransitionAlignmentRectDetector(_props: ZoomTransitionAlignmentRectDetectorProps): null;CODE
LOWpackages/native/types/stack-toolbar/StackToolbar.d.ts6export declare function appendStackToolbarPropsToOptions(options: NativeStackNavigationOptions, props: StackToolbarPropsCODE
LOWpackages/native/types/stack-toolbar/StackToolbar.d.ts12export declare function StackToolbarSearchBarSlot(props: StackToolbarSearchBarSlotProps): import("react/jsx-runtime").JSCODE
LOWpackages/native/types/split-view/split-view.d.ts6declare function SplitViewInspectorComponent(props: SplitViewColumnProps): import("react/jsx-runtime").JSX.Element;CODE
LOWpackages/native/src/zoom/index.ts24export function ZoomTransitionAlignmentRectDetector(CODE
LOWpackages/native/src/zoom/index.native.tsx49export function ZoomTransitionAlignmentRectDetector(CODE
LOWpackages/native/src/stack-toolbar/StackToolbar.tsx212function convertToolbarChildToHeaderItem(child: ReactNode): NativeStackHeaderItem | null {CODE
LOWpackages/native/src/stack-toolbar/StackToolbar.tsx274export function appendStackToolbarPropsToOptions(CODE
LOWpackages/native/src/stack-toolbar/StackToolbar.tsx499export function StackToolbarSearchBarSlot(props: StackToolbarSearchBarSlotProps) {CODE
LOWpackages/native/src/split-view/split-view.tsx26function SplitViewInspectorComponent(props: SplitViewColumnProps) {CODE
LOWpackages/test/src/utils/appium.ts74async function waitForDisplayedOrAppCrash(CODE
LOWpackages/test/src/internal-utils/ios.ts113function installPreparedAppToSimulator({CODE
LOWpackages/test/src/internal-utils/ios.ts168async function ensureReactNativeBundleConfig(root: string) {CODE
LOWpackages/lllink/src/index.ts115async function checkAllPackageVersionsAligned(CODE
LOWpackages/lllink/src/index.ts240async function collectSpecificNodeModulePackages(CODE
LOWpackages/safe-area/src/NativeSafeAreaProvider.tsx74function getSupportedTransitionEvent(): string {CODE
LOWpackages/one/types/hooks.d.ts20export declare function useNavigationContainerRef(): OneRouter.NavigationRef;CODE
LOWpackages/one/types/fork/getStateFromPath-mods.d.ts23export declare function getUrlWithReactNavigationConcessions(path: string, baseUrl?: string | undefined): UrlWithReactNaCODE
LOWpackages/one/types/fork/getStateFromPath-mods.d.ts50export declare function createConfigItemAdditionalProperties(screen: string, pattern: string, routeNames: string[], confCODE
LOWpackages/one/types/fork/getPathFromState-mods.d.ts15export declare function getPathWithConventionsCollapsed({ pattern, route, params, preserveGroups, preserveDynamicRoutes,CODE
LOWpackages/one/types/fork/extractPathFromURL.d.ts1export declare function parsePathAndParamsFromExpoGoLink(url: string): {CODE
LOWpackages/one/types/utils/style.d.ts6export declare function convertFontWeightToStringFontWeight(fontWeight: TextStyle['fontWeight']): Exclude<TextStyle['fonCODE
LOW…kages/one/types/utils/getRouterRootFromOneOptions.d.ts2export declare function getRouterRootFromOneOptions(options: One.PluginOptions): string;CODE
LOWpackages/one/types/utils/cleanUrl.d.ts1export declare function encodeReservedFilenameChars(path: string): string;CODE
LOWpackages/one/types/utils/cleanUrl.d.ts2export declare function decodeReservedFilenameChars(path: string): string;CODE
LOWpackages/one/types/cli/generateBundlerConfig.d.ts14export declare function getBundlerConfigOptionsFromOneOptions(oneOptions?: One.PluginOptions): OneBundlerConfigOptions;CODE
LOWpackages/one/types/cli/generateBundlerConfig.d.ts60export declare function maybeGenerateBundlerConfigOnInstall(cwd?: string, oneOptions?: One.PluginOptions): void;CODE
LOWpackages/one/types/cli/install-error-handlers.d.ts1export declare function installPrepareStackTraceGuard(): void;CODE
LOWpackages/one/types/cli/install-error-handlers.d.ts3export declare function installSafeUncaughtHandler(label: string): void;CODE
LOWpackages/one/types/babel-preset/index.d.ts66export declare function buildRouterRequireContextRegexString(ignoredRouteFiles?: Array<`**/*${string}`>): string;CODE
LOWpackages/one/types/head/url.d.ts1export declare function getStaticUrlFromOneRouter(pathname: string): string;CODE
LOW…s/vite/plugins/generateFileSystemRouteTypesPlugin.d.ts3export declare function generateFileSystemRouteTypesPlugin(options: One.PluginOptions): Plugin;CODE
LOW…ges/one/types/vite/plugins/fileSystemRouterPlugin.d.ts3export declare function createFileSystemRouterPlugin(options: One.PluginOptions): Plugin;CODE
LOWpackages/one/types/vite/plugins/criticalCSSPlugin.d.ts7export declare function getCriticalCSSOutputPaths(clientManifest: Record<string, {CODE
185 more matches not shown…
Excessive Try-Catch Wrapping79 hits · 142 pts
SeverityFileLineSnippetContext
MEDIUM…e/skills/ios-simulator-skill/scripts/build_and_test.py141 print(f"Error: XCResult bundle not found: {xcresult_id}", file=sys.stderr)STRING
MEDIUM…e/skills/ios-simulator-skill/scripts/build_and_test.py246 print("Error: Build/test failed without creating xcresult or error output", file=sys.stderr)STRING
MEDIUM…aude/skills/ios-simulator-skill/scripts/visual_diff.py20 print("Error: Pillow not installed. Run: pip3 install pillow")CODE
MEDIUM…aude/skills/ios-simulator-skill/scripts/visual_diff.py52 print(f"Error: Image not found - {e}")CODE
LOW…aude/skills/ios-simulator-skill/scripts/visual_diff.py54 except Exception as e:CODE
MEDIUM…aude/skills/ios-simulator-skill/scripts/visual_diff.py55 print(f"Error: Failed to load image - {e}")CODE
MEDIUM…aude/skills/ios-simulator-skill/scripts/visual_diff.py177 print(f"Error: {result['error']}")CODE
LOW…aude/skills/ios-simulator-skill/scripts/visual_diff.py189 except Exception as e:CODE
MEDIUM…laude/skills/ios-simulator-skill/scripts/status_bar.py188 print(f"Error: {e}")CODE
MEDIUM…ude/skills/ios-simulator-skill/scripts/app_launcher.py249 print(f"Error: {e}")CODE
LOW…de/skills/ios-simulator-skill/scripts/test_recorder.py190 except Exception:CODE
MEDIUM…de/skills/ios-simulator-skill/scripts/test_recorder.py294 print(f"Error: {e}")CODE
MEDIUM.claude/skills/ios-simulator-skill/scripts/gesture.py307 print(f"Error: {e}")CODE
MEDIUM…lls/ios-simulator-skill/scripts/accessibility_audit.py247 print(f"Error: {e}")CODE
LOW…lls/ios-simulator-skill/scripts/accessibility_audit.py255 except Exception as e:CODE
MEDIUM…lls/ios-simulator-skill/scripts/accessibility_audit.py256 print(f"Error: {e}")CODE
MEDIUM…de/skills/ios-simulator-skill/scripts/screen_mapper.py265 print(f"Error: {e}")CODE
MEDIUM.claude/skills/ios-simulator-skill/scripts/sim_list.py249 print(f"Error: Cache ID not found or expired: {args.get_details}")CODE
MEDIUM…/skills/ios-simulator-skill/scripts/privacy_manager.py67 print(f"Error: Unknown service '{service}'")CODE
MEDIUM…/skills/ios-simulator-skill/scripts/privacy_manager.py110 print(f"Error: Unknown service '{service}'")CODE
MEDIUM…/skills/ios-simulator-skill/scripts/privacy_manager.py152 print(f"Error: Unknown service '{service}'")CODE
MEDIUM…/skills/ios-simulator-skill/scripts/privacy_manager.py257 print(f"Error: {e}")CODE
MEDIUM…/skills/ios-simulator-skill/scripts/privacy_manager.py280 print(f"Error: Unknown service '{service}'")CODE
LOW…kills/ios-simulator-skill/scripts/app_state_capture.py79 except Exception as e:CODE
MEDIUM…kills/ios-simulator-skill/scripts/app_state_capture.py350 print(f"Error: {e}")CODE
LOW…kills/ios-simulator-skill/scripts/app_state_capture.py385 except Exception as e:CODE
MEDIUM…kills/ios-simulator-skill/scripts/app_state_capture.py386 print(f"Error: {e}")CODE
MEDIUM.claude/skills/ios-simulator-skill/scripts/navigator.py341 print(f"Error: {e}")CODE
MEDIUM.claude/skills/ios-simulator-skill/scripts/navigator.py370 print("Error: --tap-at requires x,y format")CODE
LOW…aude/skills/ios-simulator-skill/scripts/log_monitor.py292 except Exception as e:CODE
MEDIUM…aude/skills/ios-simulator-skill/scripts/log_monitor.py293 print(f"Error streaming logs: {e}", file=sys.stderr)CODE
LOW…/skills/ios-simulator-skill/scripts/simctl_shutdown.py66 except Exception as e:CODE
MEDIUM…/skills/ios-simulator-skill/scripts/simctl_shutdown.py256 print("Error: Specify --udid, --name, --all, or --type", file=sys.stderr)CODE
MEDIUM…/skills/ios-simulator-skill/scripts/simctl_shutdown.py262 print(f"Error: {e}", file=sys.stderr)CODE
LOW…ude/skills/ios-simulator-skill/scripts/simctl_erase.py64 except Exception as e:CODE
MEDIUM…ude/skills/ios-simulator-skill/scripts/simctl_erase.py308 print("Error: Specify --udid, --name, --all, --type, or --booted", file=sys.stderr)CODE
MEDIUM…ude/skills/ios-simulator-skill/scripts/simctl_erase.py314 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUM.claude/skills/ios-simulator-skill/scripts/clipboard.py72 print(f"Error: {e}")CODE
MEDIUM…kills/ios-simulator-skill/scripts/push_notification.py63 print(f"Error: Invalid JSON payload: {payload}")CODE
MEDIUM…kills/ios-simulator-skill/scripts/push_notification.py97 print(f"Error sending push notification: {e.stderr}")CODE
LOW…kills/ios-simulator-skill/scripts/push_notification.py99 except Exception as e:CODE
MEDIUM…kills/ios-simulator-skill/scripts/push_notification.py100 print(f"Error: {e}")CODE
MEDIUM…kills/ios-simulator-skill/scripts/push_notification.py186 print(f"Error: {e}")CODE
LOW…de/skills/ios-simulator-skill/scripts/simctl_create.py129 except Exception as e:CODE
LOW…de/skills/ios-simulator-skill/scripts/simctl_create.py158 except Exception:CODE
LOW…de/skills/ios-simulator-skill/scripts/simctl_create.py193 except Exception:CODE
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py92 except Exception:CODE
MEDIUM…ills/ios-simulator-skill/scripts/simulator_selector.py138 print(f"Error listing simulators: {e.stderr}", file=sys.stderr)CODE
MEDIUM…ills/ios-simulator-skill/scripts/simulator_selector.py141 print(f"Error parsing simulator list: {e}", file=sys.stderr)CODE
MEDIUM…ills/ios-simulator-skill/scripts/simulator_selector.py258 print(f"Error booting simulator: {e.stderr}", file=sys.stderr)CODE
LOW…de/skills/ios-simulator-skill/scripts/simctl_delete.py70 except Exception as e:CODE
MEDIUM…de/skills/ios-simulator-skill/scripts/simctl_delete.py323 print("Error: Specify --udid, --name, --all, --type, or --old", file=sys.stderr)CODE
MEDIUM…de/skills/ios-simulator-skill/scripts/simctl_delete.py329 print(f"Error: {e}", file=sys.stderr)CODE
LOW…aude/skills/ios-simulator-skill/scripts/simctl_boot.py71 except Exception as e:CODE
MEDIUM…aude/skills/ios-simulator-skill/scripts/simctl_boot.py263 print("Error: Specify --udid, --name, --all, or --type", file=sys.stderr)CODE
MEDIUM…aude/skills/ios-simulator-skill/scripts/simctl_boot.py269 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUM.claude/skills/ios-simulator-skill/scripts/keyboard.py329 print(f"Error: {e}")CODE
MEDIUM…e/skills/ios-simulator-skill/scripts/xcode/xcresult.py307 print(f"Error running xcresulttool: {e}", file=sys.stderr)CODE
MEDIUM…e/skills/ios-simulator-skill/scripts/xcode/xcresult.py311 print(f"Error parsing JSON from xcresulttool: {e}", file=sys.stderr)CODE
LOW…ude/skills/ios-simulator-skill/scripts/xcode/config.py87 except Exception as e:CODE
19 more matches not shown…
Over-Commented Block72 hits · 72 pts
SeverityFileLineSnippetContext
LOWplans/one-daemon.md81# Daemon stoppedCOMMENT
LOWtests/test-redirect-flash/app/(app)/index.tsx1import { useEffect, useRef } from 'react'COMMENT
LOWtests/test-redirect-flash/app/(app)/_layout.tsx1import { Suspense } from 'react'COMMENT
LOWtests/test-redirect-flash/app/(app)/nested/_layout.tsx1import { Slot } from 'one'COMMENT
LOW…ts/test-redirect-flash/app/(app)/nested/[id]/[sub].tsx1import { useEffect } from 'react'COMMENT
LOW…/test-redirect-flash/app/(app)/nested/[id]/_layout.tsx1import { Slot } from 'one'COMMENT
LOWtests/test-redirect-flash/tests/redirect-flash.test.ts261COMMENT
LOWtests/test-id-remount/tests/id-remount.test.ts1// NOTE THIS IS TRUE BUT IDK HOW TO DO THIS IN CI/CD??COMMENT
LOWtests/test-spa-shell-routing/app/(gate)/_layout.tsx1import { Redirect, Slot, usePathname } from 'one'COMMENT
LOWscripts/transcrypt.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/transcrypt.sh281 echo "$(cat "$2" | "${TRANSCRYPT_PATH}" smudge context="$context")" >"$2"COMMENT
LOWscripts/release.ts581 }COMMENT
LOWpackages/react-native-prebuilt/src/index.test.ts21// // expect(RNExportNames).toContain(key)COMMENT
LOWpackages/native/ios/VxrnNative-Bridging-Header.h1#import <React/RCTViewManager.h>COMMENT
LOWpackages/test/src/utils/appium.ts161 // // await driver.execute('mobile: performEditorAction', { action: 'paste' })COMMENT
LOWpackages/one/types/server-render.d.ts21//# sourceMappingURL=server-render.d.ts.mapCOMMENT
LOWpackages/one/types/setup.native.d.ts1//# sourceMappingURL=setup.native.d.ts.mapCOMMENT
LOWpackages/one/types/setup.d.ts1//# sourceMappingURL=setup.d.ts.mapCOMMENT
LOWpackages/one/types/createApp.d.ts21//# sourceMappingURL=createApp.d.ts.mapCOMMENT
LOWpackages/one/types/cli/generateBundlerConfig.d.ts61//# sourceMappingURL=generateBundlerConfig.d.ts.mapCOMMENT
LOWpackages/one/types/daemon/picker.d.ts21//# sourceMappingURL=picker.d.ts.mapCOMMENT
LOWpackages/one/types/views/LoadProgressBar.d.ts21//# sourceMappingURL=LoadProgressBar.d.ts.mapCOMMENT
LOWpackages/one/src/setup.ts1// leaving this as an example of afterClientRenderCOMMENT
LOWpackages/one/src/lazyWithRetry.tsx1import { type ComponentType, lazy as reactLazy, type LazyExoticComponent } from 'react'COMMENT
LOWpackages/one/src/Root.tsx241 // server-side: wrap in SpaShellContext when rendering spa-shellCOMMENT
LOWpackages/one/src/Root.tsx261// // @ts-expect-errorCOMMENT
LOWpackages/one/src/Root.tsx321 throw new Error(message)COMMENT
LOWpackages/one/src/Root.tsx341// }COMMENT
LOWpackages/one/src/constants.ts21 isWebClient &&COMMENT
LOWpackages/one/src/fork/getStateFromPath.ts161 }COMMENT
LOWpackages/one/src/fork/getStateFromPath.ts301 // // If one of the patterns starts with the other, it's more exhaustiveCOMMENT
LOWpackages/one/src/fork/getStateFromPath.ts321 // return -1COMMENT
LOWpackages/one/src/fork/getStateFromPath.ts781COMMENT
LOWpackages/one/src/fork/useLinking.ts521 // ? findFocusedRoute(previousStateRef.current)COMMENT
LOWpackages/one/src/fork/useLinking.ts721 focusedState &&COMMENT
LOWpackages/one/src/fork/getPathFromState.ts301 // return route.nameCOMMENT
LOWpackages/one/src/fallbackViews/Unmatched.tsx21 // const navigation = useNavigation()COMMENT
LOWpackages/one/src/fallbackViews/Unmatched.tsx41 // router.back()COMMENT
LOWpackages/one/src/fallbackViews/Sitemap.tsx41 // const { width } = useWindowDimensions()COMMENT
LOWpackages/one/src/fallbackViews/Sitemap.tsx61 // style={{ flex: 1 }}COMMENT
LOWpackages/one/src/fallbackViews/Sitemap.tsx81 // )COMMENT
LOWpackages/one/src/fallbackViews/Sitemap.tsx101COMMENT
LOWpackages/one/src/fallbackViews/Sitemap.tsx121 // // join last two segments for layout routesCOMMENT
LOWpackages/one/src/fallbackViews/Sitemap.tsx141 // onPress={() => {COMMENT
LOWpackages/one/src/fallbackViews/Sitemap.tsx161 // },COMMENT
LOWpackages/one/src/fallbackViews/Sitemap.tsx181 // </Pressable>COMMENT
LOWpackages/one/src/utils/dynamicImport.ts61// next try when the failure is the top-level chunk.COMMENT
LOWpackages/one/src/cli/install-error-handlers.ts1// install-error-handlers — protects `one`'s CLI long-running commandsCOMMENT
LOWpackages/one/src/cli/install-error-handlers.ts21// a clean uncaught exception left the process alive holding cpu/memory.COMMENT
LOWpackages/one/src/head/url.tsx61COMMENT
LOWpackages/one/src/link/path.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWpackages/one/src/link/Redirect.tsx1import { useRef } from 'react'COMMENT
LOWpackages/one/src/views/Navigator.tsx41// the same getStateFromPath NavigationContainer uses for initialState —COMMENT
LOWpackages/one/src/views/Navigator.tsx241 // LATE MOUNT FIX: when a parent layout conditionally renders (auth gate,COMMENT
LOWpackages/one/src/views/Navigator.tsx261 // - sibling route groups, e.g. `(public)` vs `(authed)` at the rootCOMMENT
LOWpackages/one/src/views/OneStackRouter.tsx21 if (next?.routes) {COMMENT
LOWpackages/one/src/views/OneStackRouter.tsx41 // const inverse = outRoutes.length - iCOMMENT
LOWpackages/one/src/router/getRoutes.ts801 // We may strip loadRoute during testingCOMMENT
LOWpackages/vite-plugin-metro/types/transformer/types.d.ts21//# sourceMappingURL=types.d.ts.mapCOMMENT
LOW…in-metro/types/rn-commands/bundle/assetCatalogIOS.d.ts21//# sourceMappingURL=assetCatalogIOS.d.ts.mapCOMMENT
12 more matches not shown…
Redundant / Tautological Comments28 hits · 46 pts
SeverityFileLineSnippetContext
LOW…ts/rn-test-container/scripts/install-and-run-appium.sh7# Check if the driver is installedCOMMENT
LOW…ts/rn-test-container/scripts/install-and-run-appium.sh10# Check if the driver is installed by parsing the JSON outputCOMMENT
LOWtests/rn-test-container/scripts/build-ios.sh44 # Check if package.json has uncommitted changesCOMMENT
LOWtests/rn-test-container/scripts/build-ios.sh111# Check if we have a cached buildCOMMENT
LOW…aude/skills/ios-simulator-skill/scripts/visual_diff.py192 # Output results (token-optimized)COMMENT
LOW…ude/skills/ios-simulator-skill/scripts/app_launcher.py189 # Check if app is running by trying to get its PIDCOMMENT
LOW…lls/ios-simulator-skill/scripts/accessibility_audit.py259 # Output resultsCOMMENT
LOW…aude/skills/ios-simulator-skill/scripts/log_monitor.py284 # Check if interruptedCOMMENT
LOW…aude/skills/ios-simulator-skill/scripts/log_monitor.py475 # Output resultsSTRING
LOW…/skills/ios-simulator-skill/scripts/simctl_shutdown.py50 # Check if already shutdownCOMMENT
LOW…ude/skills/ios-simulator-skill/scripts/simctl_erase.py102 # Check if device can be queried (indicates boot status)COMMENT
LOW…kills/ios-simulator-skill/scripts/push_notification.py53 # Check if it's a file pathCOMMENT
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py180 # Check if recently usedCOMMENT
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py184 # Check if latest iOSCOMMENT
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py189 # Check if common modelCOMMENT
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py195 # Check if bootedCOMMENT
LOW…aude/skills/ios-simulator-skill/scripts/simctl_boot.py52 # Check if already bootedCOMMENT
LOW…aude/skills/ios-simulator-skill/scripts/simctl_boot.py105 # Check if device responds to simctl commandsCOMMENT
LOW…de/skills/ios-simulator-skill/scripts/xcode/builder.py120 # Check if preferred simulator existsCOMMENT
LOW…de/skills/ios-simulator-skill/scripts/xcode/builder.py154 # Check if simulator name appears in available devicesCOMMENT
LOW…ills/ios-simulator-skill/scripts/common/cache_utils.py102 # Check if expiredCOMMENT
LOW…ills/ios-simulator-skill/scripts/common/cache_utils.py131 # Check if expiredCOMMENT
LOW…lls/ios-simulator-skill/scripts/common/device_utils.py276 # Check if already a full UDID (36 character UUID format)COMMENT
LOWscripts/install-and-run-appium.sh8# Check if the driver is installedCOMMENT
LOWscripts/install-and-run-appium.sh11# Check if the driver is installed by parsing the JSON outputCOMMENT
LOWapps/onestack.dev/test-stuck-process.sh63# Check if port is in useCOMMENT
LOWapps/onestack.dev/test-stuck-process.sh659 # Check if processes are still runningCOMMENT
LOWapps/onestack.dev/kill-dev.sh41# Check if still runningCOMMENT
Unused Imports41 hits · 41 pts
SeverityFileLineSnippetContext
LOW…aude/skills/ios-simulator-skill/scripts/visual_diff.py18CODE
LOW…de/skills/ios-simulator-skill/scripts/test_recorder.py20CODE
LOW…lls/ios-simulator-skill/scripts/accessibility_audit.py13CODE
LOW…de/skills/ios-simulator-skill/scripts/screen_mapper.py48CODE
LOW.claude/skills/ios-simulator-skill/scripts/sim_list.py44CODE
LOW.claude/skills/ios-simulator-skill/scripts/navigator.py58CODE
LOW.claude/skills/ios-simulator-skill/scripts/navigator.py63CODE
LOW…/skills/ios-simulator-skill/scripts/simctl_shutdown.py19CODE
LOW…ude/skills/ios-simulator-skill/scripts/simctl_erase.py20CODE
LOW…de/skills/ios-simulator-skill/scripts/simctl_create.py19CODE
LOW…de/skills/ios-simulator-skill/scripts/simctl_create.py21CODE
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py30CODE
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py31CODE
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py32CODE
LOW…de/skills/ios-simulator-skill/scripts/simctl_delete.py18CODE
LOW…aude/skills/ios-simulator-skill/scripts/simctl_boot.py20CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/__init__.py7CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/__init__.py8CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/__init__.py9CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/__init__.py10CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/__init__.py11CODE
LOW…ios-simulator-skill/scripts/common/screenshot_utils.py19CODE
LOW…ios-simulator-skill/scripts/common/screenshot_utils.py21CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py14CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py14CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py15CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py15CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py15CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py15CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py15CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py15CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py23CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py23CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py23CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py23CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py29CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py29CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py29CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py29CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py29CODE
LOW…ills/ios-simulator-skill/scripts/common/cache_utils.py19CODE
Docstring Block Structure6 hits · 30 pts
SeverityFileLineSnippetContext
HIGH…ios-simulator-skill/scripts/common/screenshot_utils.py106Resize screenshot for token optimization. Requires PIL (Pillow). Falls back gracefully without it. Args: STRING
HIGH…skills/ios-simulator-skill/scripts/common/idb_utils.py23 Fetch accessibility tree from IDB. The accessibility tree represents the complete UI hierarchy of the current STRING
HIGH…lls/ios-simulator-skill/scripts/common/device_utils.py27 Build xcrun simctl command with proper device handling. Standardizes command building to prevent device targetSTRING
HIGH…lls/ios-simulator-skill/scripts/common/device_utils.py74 Build IDB command with proper device targeting. Standardizes IDB command building across all scripts using IDBSTRING
HIGH…lls/ios-simulator-skill/scripts/common/device_utils.py162 Resolve device UDID with auto-detection fallback. If udid_arg is provided, returns it immediately. If NoneSTRING
HIGH…lls/ios-simulator-skill/scripts/common/device_utils.py241 Resolve device name or partial UDID to full UDID. Supports multiple identifier formats: - Full UDID: "ABC-STRING
Deep Nesting29 hits · 29 pts
SeverityFileLineSnippetContext
LOW…e/skills/ios-simulator-skill/scripts/build_and_test.py45CODE
LOW…laude/skills/ios-simulator-skill/scripts/status_bar.py132CODE
LOW…ude/skills/ios-simulator-skill/scripts/app_launcher.py220CODE
LOW…ude/skills/ios-simulator-skill/scripts/app_launcher.py27CODE
LOW…ude/skills/ios-simulator-skill/scripts/app_launcher.py129CODE
LOW…de/skills/ios-simulator-skill/scripts/test_recorder.py193CODE
LOW.claude/skills/ios-simulator-skill/scripts/gesture.py254CODE
LOW.claude/skills/ios-simulator-skill/scripts/gesture.py89CODE
LOW…lls/ios-simulator-skill/scripts/accessibility_audit.py227CODE
LOW…de/skills/ios-simulator-skill/scripts/screen_mapper.py248CODE
LOW…de/skills/ios-simulator-skill/scripts/screen_mapper.py131CODE
LOW…de/skills/ios-simulator-skill/scripts/screen_mapper.py177CODE
LOW.claude/skills/ios-simulator-skill/scripts/sim_list.py222CODE
LOW…kills/ios-simulator-skill/scripts/app_state_capture.py137CODE
LOW.claude/skills/ios-simulator-skill/scripts/navigator.py295CODE
LOW.claude/skills/ios-simulator-skill/scripts/navigator.py139CODE
LOW…aude/skills/ios-simulator-skill/scripts/log_monitor.py175CODE
LOW…aude/skills/ios-simulator-skill/scripts/log_monitor.py213CODE
LOW…ills/ios-simulator-skill/scripts/simulator_selector.py95CODE
LOW.claude/skills/ios-simulator-skill/scripts/keyboard.py294CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/xcresult.py65CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/xcresult.py110CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/xcresult.py233CODE
LOW…de/skills/ios-simulator-skill/scripts/xcode/builder.py176CODE
LOW…de/skills/ios-simulator-skill/scripts/xcode/builder.py207CODE
LOW…de/skills/ios-simulator-skill/scripts/xcode/builder.py298CODE
LOW…ios-simulator-skill/scripts/common/screenshot_utils.py182CODE
LOW…ills/ios-simulator-skill/scripts/common/cache_utils.py114CODE
LOW…ills/ios-simulator-skill/scripts/common/cache_utils.py185CODE
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM…kills/ios-simulator-skill/scripts/app_state_capture.py27 """Captures comprehensive app state for debugging."""STRING
MEDIUMscripts/transcrypt.sh27# the default cipher to utilizeCOMMENT
MEDIUM…vite-plugin-metro/src/transformer/babel-transformer.ts208 // NOTE(EvanBacon): We heavily leverage the caller functionality to mutate the babel config.COMMENT
MEDIUMpackages/compiler/src/refresh-runtime.js527 // Definitely React components.COMMENT
MEDIUM.github/workflows/build-ios-test-container-app.yml83 # Calculating the build_hash relies on generated files, for example, `Podfile.lock`, and it'll take some time COMMENT
MEDIUM.github/workflows/test-native-ios.yml78 # patch to react-native; see tests/test/IOS_PROD_CRASH.md. the harness alsoCOMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/skills/ios-simulator-skill/scripts/simctl_shutdown.py0boot all simulators of a specific type. args: device_type: device type filter (e.g., "iphone", "ipad") returns: (succeedSTRING
HIGH…ude/skills/ios-simulator-skill/scripts/simctl_erase.py0boot all simulators of a specific type. args: device_type: device type filter (e.g., "iphone", "ipad") returns: (succeedSTRING
HIGH…aude/skills/ios-simulator-skill/scripts/simctl_boot.py0boot all simulators of a specific type. args: device_type: device type filter (e.g., "iphone", "ipad") returns: (succeedSTRING
Verbosity Indicators5 hits · 10 pts
SeverityFileLineSnippetContext
LOWpackages/one/src/fork/createMemoryHistory.test.ts124 // Step 0: initial load at '/', state = [index]COMMENT
LOWpackages/one/src/fork/createMemoryHistory.test.ts129 // Step 1: router.push('/todo/abc'), state = [index, todo]COMMENT
LOWpackages/one/src/fork/createMemoryHistory.test.ts135 // Step 2: simulate the runtime sequence on browser back:COMMENT
LOWpackages/one/src/fork/createMemoryHistory.test.ts165 // Step 3: browser forward. The critical assertion: the '/todo/abc' recordCOMMENT
LOWpackages/one/src/cli/main.ts17 // Step 4: Log the messageCOMMENT
Structural Annotation Overuse5 hits · 10 pts
SeverityFileLineSnippetContext
LOWpackages/one/src/fork/createMemoryHistory.test.ts124 // Step 0: initial load at '/', state = [index]COMMENT
LOWpackages/one/src/fork/createMemoryHistory.test.ts129 // Step 1: router.push('/todo/abc'), state = [index, todo]COMMENT
LOWpackages/one/src/fork/createMemoryHistory.test.ts135 // Step 2: simulate the runtime sequence on browser back:COMMENT
LOWpackages/one/src/fork/createMemoryHistory.test.ts165 // Step 3: browser forward. The critical assertion: the '/todo/abc' recordCOMMENT
LOWpackages/one/src/cli/main.ts17 // Step 4: Log the messageCOMMENT
Fake / Example Data9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/test/app/(hydration-delay)/delay-test+ssg.tsx56 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod temporCODE
LOWtests/test/app/(hydration-delay)/delay-test+ssg.tsx56 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod temporCODE
LOWtests/test/app/(hydration-delay)/delay-test+ssg.tsx71 Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur,CODE
LOWtests/test/app/(hydration-delay)/delay-test+ssg.tsx71 Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur,CODE
LOW…sts/test/app/(hydration-delay)/hydration-index+ssg.tsx55 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod temporCODE
LOW…sts/test/app/(hydration-delay)/hydration-index+ssg.tsx55 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod temporCODE
LOW…sts/test/app/(hydration-delay)/hydration-index+ssg.tsx70 Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur,CODE
LOW…sts/test/app/(hydration-delay)/hydration-index+ssg.tsx70 Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur,CODE
LOW.claude/skills/ios-simulator-skill/SKILL.md27python scripts/navigator.py --find-type TextField --enter-text "user@example.com"CODE
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMapps/onestack.dev/test-stuck-process.sh6# ============================================================================COMMENT
MEDIUMapps/onestack.dev/test-stuck-process.sh8# ============================================================================COMMENT
MEDIUMapps/onestack.dev/test-stuck-process.sh30# ============================================================================COMMENT
Modern Structural Boilerplate3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ude/skills/ios-simulator-skill/scripts/xcode/config.py137 def update_last_used_simulator(self, name: str) -> None:CODE
LOW…e/skills/ios-simulator-skill/scripts/xcode/__init__.py13__all__ = ["BuildRunner", "Config", "OutputFormatter", "XCResultCache", "XCResultParser"]CODE
LOW…/skills/ios-simulator-skill/scripts/common/__init__.py37__all__ = [CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…ude/skills/ios-simulator-skill/scripts/xcode/config.py66 # This file is at: skill/scripts/xcode/config.pyCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpackages/one/src/createHandleRequest.ts387 handler: async function handleRequest(CODE
LOWpackages/one/src/server/workerHandler.ts569 async function handleRequest(CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/test/db/run-migrations.ts14 // Don't forget to close the connection, otherwise the script will hangCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/one/src/daemon/tui.ts779 // TODO: implement pulse animationsCOMMENT