Repository Analysis

RunanywhereAI/runanywhere-sdks

Production ready toolkit to run AI locally

7.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of RunanywhereAI/runanywhere-sdks, a C++ project with 10,306 GitHub stars. SynthScan v2.0 examined 776,491 lines of code across 2622 source files, recording 3261 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 7.7 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.7
Adjusted Score
7.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
10.3K
Stars
C++
Language
776.5K
Lines of Code
2.6K
Files
3.3K
Pattern Hits
2026-07-14
Scan Date
0.02
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 13HIGH 28MEDIUM 990LOW 2230

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 3261 distinct pattern matches across 20 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 Separators872 hits · 2960 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt1# =============================================================================COMMENT
MEDIUMCMakeLists.txt3# =============================================================================COMMENT
MEDIUMCMakeLists.txt29# =============================================================================COMMENT
MEDIUMCMakeLists.txt64# =============================================================================COMMENT
MEDIUMCMakeLists.txt70# =============================================================================COMMENT
MEDIUMCMakeLists.txt167# =============================================================================COMMENT
MEDIUMCMakeLists.txt169# =============================================================================COMMENT
MEDIUMCMakeLists.txt187# =============================================================================COMMENT
MEDIUMCMakeLists.txt189# =============================================================================COMMENT
MEDIUMCMakeLists.txt199# =============================================================================COMMENT
MEDIUMCMakeLists.txt201# =============================================================================COMMENT
MEDIUMCMakeLists.txt413# =============================================================================COMMENT
MEDIUMCMakeLists.txt415# =============================================================================COMMENT
MEDIUM.gitleaks.toml1# =============================================================================COMMENT
MEDIUM.gitleaks.toml6# =============================================================================COMMENT
MEDIUM.gitleaks.toml10# -----------------------------------------------------------------------------COMMENT
MEDIUM.gitleaks.toml12# -----------------------------------------------------------------------------COMMENT
MEDIUM.gitleaks.toml43# -----------------------------------------------------------------------------COMMENT
MEDIUM.gitleaks.toml45# -----------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml375 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml377 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml424 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml426 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml11# -----------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml90 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml92 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml119 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml121 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml135 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml137 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml158 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml160 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml191 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml193 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml281 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml283 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml318 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml320 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml357 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml359 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml441 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml448 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml485 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml487 # --------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py49# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py197# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py215# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py217# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py278# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py284# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py409# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/_convenience_common.py413# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/generate_kotlin_convenience.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMidl/codegen/generate_kotlin_convenience.py82# ---------------------------------------------------------------------------COMMENT
812 more matches not shown…
Over-Commented Block1364 hits · 1335 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# =============================================================================COMMENT
LOWCMakeLists.txt21# cmake --preset android-arm64 && cmake --build --preset android-arm64COMMENT
LOWCMakeLists.txt41project(runanywhereCOMMENT
LOWCMakeLists.txt81COMMENT
LOWCMakeLists.txt201# =============================================================================COMMENT
LOW.pre-commit-config.yaml61 # disk. Committed symlinks already materialize on clone for macOS/Linux;COMMENT
LOWjitpack.yml1# JitPack build configuration for RunAnywhere Kotlin SDKCOMMENT
LOWlefthook.yml1# EXAMPLE USAGE:COMMENT
LOWlefthook.yml21# parallel: trueCOMMENT
LOWlefthook.yml41# - script: "hello.go"COMMENT
LOWPackage.swift1// swift-tools-version: 6.2COMMENT
LOWPackage.swift21// 2. Export `RUNANYWHERE_USE_LOCAL_NATIVES=1` so the package resolves toCOMMENT
LOWPackage.swift161 // Floor bumped 3.0.0 → 3.15.1 (latest stable 3.x at bump time).COMMENT
LOWPackage.swift301 // ONNX Runtime BackendCOMMENT
LOWPackage.swift501 exclude: ["Fixtures"]COMMENT
LOWPackage.swift561 // a release. `sdk/runanywhere-swift/scripts/release-swift-binaries.sh` zipsCOMMENT
LOWidl/codegen/generate_streams.sh1#!/usr/bin/env bashCOMMENT
LOWidl/codegen/generate_swift.sh1#!/usr/bin/env bashCOMMENT
LOWidl/codegen/generate_swift.sh61done <<< "${RAC_PROTO_FILES}"COMMENT
LOWidl/codegen/generate_swift.sh81# ModelRegistry, Pipeline, RAG, SDKEvents, Solutions, Storage,COMMENT
LOWidl/codegen/swift-modality-abi.yaml1# swift-modality-abi.yamlCOMMENT
LOWidl/codegen/swift-modality-abi.yaml21# Maps to ProtoStreamContext<Response>.runRequestStream.COMMENT
LOWidl/codegen/swift-modality-abi.yaml41# The optional `request` field selects between the two ABI shapes.COMMENT
LOWidl/codegen/swift-modality-abi.yaml61# written in CppBridge+ModalityProtoABI.swift; the field `custom_reason`COMMENT
LOWidl/codegen/generate_cpp.sh1#!/usr/bin/env bashCOMMENT
LOWidl/codegen/generate_all.sh101# AsyncIterable<T> stream wrappers for RN + Web. TheCOMMENT
LOWidl/codegen/_convenience_common.py1#!/usr/bin/env python3COMMENT
LOWidl/codegen/generate_kotlin.sh1#!/usr/bin/env bashCOMMENT
LOWidl/codegen/generate_kotlin.sh21COMMENT
LOWidl/codegen/generate_kotlin.sh61 # Pre-clean the Wire output namespace so that types removed or renamed inCOMMENT
LOWidl/codegen/ci-drift-check.sh1#!/usr/bin/env bashCOMMENT
LOWidl/codegen/generate_dart.sh1#!/usr/bin/env bashCOMMENT
LOWidl/codegen/generate_dart.sh81COMMENT
LOWidl/codegen/generate_ts_convenience.py1#!/usr/bin/env python3COMMENT
LOWidl/codegen/generate_ts_convenience.py21# rac_min_float (50006, double) -> participates in `validate<Msg>` (float)COMMENT
LOWidl/codegen/generate_kotlin_convenience.py1#!/usr/bin/env python3COMMENT
LOWidl/codegen/generate_kotlin_convenience.py21#COMMENT
LOWidl/codegen/generate_swift_modality_abi.py1#!/usr/bin/env python3COMMENT
LOWidl/codegen/generate_swift_modality_abi.py201// swiftlint:disable allCOMMENT
LOWidl/codegen/generate_ts.sh1#!/usr/bin/env bashCOMMENT
LOWidl/codegen/generate_dart_convenience.py1#!/usr/bin/env python3COMMENT
LOWidl/codegen/generate_swift_convenience.py1#!/usr/bin/env python3COMMENT
LOWidl/codegen/generate_swift_convenience.py21# rac_required (50002, bool) -> participates in validate()COMMENT
LOWidl/codegen/tests/test_convenience_generators.py1#!/usr/bin/env python3COMMENT
LOWidl/codegen/tests/test_convenience_generators.py21#COMMENT
LOWidl/codegen/tests/test_convenience_generators.py221#COMMENT
LOWPlayground/openclaw-hybrid-assistant/CMakeLists.txt121COMMENT
LOWPlayground/openclaw-hybrid-assistant/build.sh1#!/bin/bashCOMMENT
LOW…nd/openclaw-hybrid-assistant/tests/test_components.cpp1// =============================================================================COMMENT
LOW…d/openclaw-hybrid-assistant/tests/test_integration.cpp1// =============================================================================COMMENT
LOW…d/openclaw-hybrid-assistant/tests/test_integration.cpp21// =============================================================================COMMENT
LOW…d/openclaw-hybrid-assistant/tests/test_integration.cpp41#include <chrono>COMMENT
LOW…d/openclaw-hybrid-assistant/tests/test_integration.cpp501 // data chunkCOMMENT
LOW…d/openclaw-hybrid-assistant/tests/test_integration.cpp1061}COMMENT
LOW…d/openclaw-hybrid-assistant/scripts/download-models.sh1#!/bin/bashCOMMENT
LOW…round/openclaw-hybrid-assistant/scripts/test-on-mac.sh1#!/bin/bashCOMMENT
LOWPlayground/openclaw-hybrid-assistant/src/main.cpp1// =============================================================================COMMENT
LOWPlayground/openclaw-hybrid-assistant/src/main.cpp21// =============================================================================COMMENT
LOW…penclaw-hybrid-assistant/src/pipeline/voice_pipeline.h1#pragma onceCOMMENT
LOW…und/openclaw-hybrid-assistant/src/pipeline/tts_queue.h1#pragma onceCOMMENT
1304 more matches not shown…
Hyper-Verbose Identifiers590 hits · 567 pts
SeverityFileLineSnippetContext
LOWidl/codegen/generate_streams.sh73function sourceProtoFromRequestModule(reqMod) {CODE
LOWidl/codegen/_convenience_common.py355def enum_name_to_screaming_snake(name: str) -> str:CODE
LOWidl/codegen/_convenience_common.py482def zero_literal_for_required(CODE
LOWidl/codegen/generate_ts_convenience.py203def _ts_proto_function_prefix(symbol: str) -> str:CODE
LOWidl/codegen/generate_ts_convenience.py376def _emit_enum_reverse_factory(CODE
LOWidl/codegen/generate_ts_convenience.py595def _collect_message_symbols_per_file(CODE
LOWidl/codegen/generate_kotlin_convenience.py144def _emit_enum_reverse_factory(CODE
LOWidl/codegen/generate_kotlin_convenience.py179def _emit_message_defaults_factory(CODE
LOWidl/codegen/generate_swift_modality_abi.py473def render_get_with_context_method(CODE
LOWidl/codegen/generate_swift_modality_abi.py574def render_create_handle_method(CODE
LOWidl/codegen/generate_swift_modality_abi.py619def render_invoke_out_only_method(CODE
LOWidl/codegen/generate_dart_convenience.py389def _emit_enum_reverse_factory(CODE
LOWidl/codegen/generate_dart_convenience.py469def _required_zero_check_expr(field, dart_name: str, int64_used: list[bool]) -> str | None:CODE
LOWidl/codegen/generate_swift_convenience.py117def _emit_enum_reverse_factory(CODE
LOWidl/codegen/generate_swift_convenience.py162def _emit_message_defaults_factory(CODE
LOWidl/codegen/tests/test_convenience_generators.py281def _extract_validated_fields(generated: str, language: str) -> frozenset[str]:CODE
LOWidl/codegen/tests/test_convenience_generators.py322def assert_cross_language_parity(CODE
LOW…ground/on-device-browser-agent/src/background/index.ts324async function ensureContentScriptLoaded(tabId: number): Promise<boolean> {CODE
LOW…ground/on-device-browser-agent/src/background/index.ts397export async function getDOMStateWithScreenshot(tabId: number): Promise<DOMState> {CODE
LOW…nd/on-device-browser-agent/src/content/dom-observer.ts289function generateYouTubeVideoSelector(renderer: Element, index: number): string {CODE
LOW…nd/on-device-browser-agent/src/content/dom-observer.ts323function extractInteractiveElements(): InteractiveElement[] {CODE
LOW…nd/on-device-browser-agent/src/content/dom-observer.ts575function extractRelevantAttributes(element: HTMLElement): Record<string, string> {CODE
LOW…on-device-browser-agent/src/content/action-executor.ts532function generateSelectorForElement(element: HTMLElement): string {CODE
LOW…anywhere-commons/scripts/test_build_android_archive.py77 def test_release_version_rejects_path_or_shell_syntax(self) -> None:CODE
LOW…anywhere-commons/scripts/test_build_android_archive.py86 def test_archive_is_exact_and_reproducible(self) -> None:CODE
LOW…anywhere-commons/scripts/test_build_android_archive.py123 def test_rejects_private_native(self) -> None:CODE
LOW…anywhere-commons/scripts/test_build_android_archive.py131 def test_rejects_undeclared_native(self) -> None:CODE
LOW…anywhere-commons/scripts/test_build_android_archive.py139 def test_rejects_nested_or_extra_component(self) -> None:CODE
LOW…anywhere-commons/scripts/test_build_android_archive.py153 def test_rejects_undeclared_root_file_or_symlink(self) -> None:CODE
LOW…anywhere-commons/scripts/test_build_android_archive.py167 def test_rejects_symlink_non_elf_and_missing_input(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py82 def test_inspected_artifact_and_source_pins_are_exact(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py101 def test_cache_identity_covers_every_supply_chain_pin(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py135 def test_safe_regular_file_archive_extracts(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py149 def test_unsafe_archive_members_are_rejected(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py164 def test_symbolic_and_hard_links_are_rejected(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py183 def test_embedded_build_path_transform_is_exact_and_idempotent(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py216 def test_transform_rejects_corrupted_library(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py237 def test_transform_accepts_manifested_library_with_no_marker(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py259 def test_transform_rejects_missing_expected_marker(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py280 def test_unrecognized_host_path_is_rejected(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py292 def test_archive_digest_is_fail_closed(self) -> None:CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py336 def test_library_tree_fails_when_any_library_is_under_aligned(self) -> None:CODE
LOW…/runanywhere-web/tests/browser/release-app.e2e.spec.ts1875async function chooseChatAttachmentViaMenu(CODE
LOW…/runanywhere-web/tests/browser/release-app.e2e.spec.ts1898async function switchToOppositeAcceleration(page: Page): Promise<{CODE
LOW…/runanywhere-web/tests/browser/release-app.e2e.spec.ts2193async function uninstallSTTStreamRecorder(page: Page): Promise<void> {CODE
LOW…/runanywhere-web/tests/browser/release-app.e2e.spec.ts2213async function installVoiceStateRecorder(page: Page): Promise<void> {CODE
LOW…/runanywhere-web/tests/browser/release-app.e2e.spec.ts2254async function expectNaturalPlaybackCompleted(CODE
LOW…/runanywhere-web/tests/browser/release-app.e2e.spec.ts2278async function installTTSPlaybackRecorder(page: Page): Promise<void> {CODE
LOW…/runanywhere-web/tests/browser/release-app.e2e.spec.ts2321async function uninstallTTSPlaybackRecorder(page: Page): Promise<void> {CODE
LOW…nanywhere-web/tests/browser/support/release-harness.ts684export function observeBrowserDiagnostics(page: Page): BrowserDiagnostic[] {CODE
LOW…nanywhere-web/tests/browser/support/release-harness.ts690export function unexpectedBrowserDiagnostics(CODE
LOWsdk/runanywhere-web/scripts/validate_public_packages.py40def _contains_host_build_path(payload: bytes) -> bool:CODE
LOWsdk/runanywhere-web/scripts/validate_public_packages.py59def _validate_archive_members(archive: Path, bundle: tarfile.TarFile) -> None:CODE
LOWsdk/runanywhere-web/scripts/validate_public_packages.py155def _workspace_protocol_specs(CODE
LOW…nanywhere-web/scripts/test_validate_public_packages.py112 def test_accepts_exact_self_contained_package_set(self) -> None:CODE
LOW…nanywhere-web/scripts/test_validate_public_packages.py118 def test_rewriter_pins_and_bundles_proto(self) -> None:CODE
LOW…nanywhere-web/scripts/test_validate_public_packages.py151 def test_rejects_missing_or_changed_bundled_proto(self) -> None:CODE
LOW…nanywhere-web/scripts/test_validate_public_packages.py164 def test_rejects_incorrect_proto_license_metadata(self) -> None:CODE
LOW…nanywhere-web/scripts/test_validate_public_packages.py180 def test_rejects_missing_or_changed_proto_license_notice(self) -> None:CODE
LOW…nanywhere-web/scripts/test_validate_public_packages.py204 def test_rejects_workspace_protocol_and_extra_package(self) -> None:CODE
530 more matches not shown…
Modern AI Meta-Vocabulary111 hits · 347 pts
SeverityFileLineSnippetContext
MEDIUMidl/codegen/generate_swift.sh81# ModelRegistry, Pipeline, RAG, SDKEvents, Solutions, Storage,COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml376 # RAG (extension CppBridge.RAG -- session handle is owned by the actor)COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml425 # RAG -- top-level free functions (not on any extension)COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml32# Used by: LLM/VLM/VAD/RAG GET-shaped state queries that already own a handle.COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml48# Used by: RAG.createPipeline.COMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml73# RAG-config helper is a top-level free function, embeddings lives under aCOMMENT
MEDIUMidl/codegen/swift-modality-abi.yaml388 # Caller decides what to do with the handle (the RAG actor's facadeCOMMENT
MEDIUMidl/codegen/generate_kotlin_convenience.py10# `validate()` scaffolding currently scattered across `RAAudioFormatExtensions.kt`,COMMENT
MEDIUMidl/codegen/generate_swift_modality_abi.py21# scaffolding (trampoline / yielder / context / runRequestStream) is canonicalCOMMENT
MEDIUMidl/codegen/generate_swift_convenience.py10# scaffolding that currently lives in per-modality *Configuration+Helpers.swiftCOMMENT
MEDIUMPlayground/android-use-agent/README.md157| |-- AgentKernel.kt # Main agent loop, LLM orchestration, foreground boostCODE
MEDIUMsdk/runanywhere-commons/CMakeLists.txt54# Only commons-local backends (RAG pipeline) declare their option here.COMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt57# Emscripten: RAG itself only depends on USearch + nlohmann_json (header-only)COMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt62# and third_party/sherpa-onnx-wasm/ (via @runanywhere/web-onnx), so RAG canCOMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt66# RAC_WASM_RAG_STANDALONE: the Web Docs/RAG tabCOMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt71# to opt the llamacpp WASM target into shipping the RAG proto-byte symbolsCOMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt1728# COMMONS-LOCAL BACKENDS (RAG)COMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt1733# engine targets — only commons-local OBJECT libraries (RAG) are folded intoCOMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt1737# Decouple RAG from RAC_BUILD_BACKENDS so the proto C ABI symbolsCOMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt1739# op_engine_backed.cpp are always resolvable inside librac_commons. RAGCOMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt1748 # RAG is an OBJECT library. Fold its compiled objects into rac_commonsCOMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt1752 # Propagate RAG's non-cyclic dependencies manually.COMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt1758 # Apple frameworks used by RAG (Accelerate) need explicit propagation.COMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt41# does not branch on it — RAG is folded into rac_commons independently (see below).COMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt872 # 200-400 LOC orchestration loop into one native session).COMMENT
MEDIUMsdk/runanywhere-commons/CMakeLists.txt1830# RAG is folded into rac_commons regardless of RAC_BUILD_BACKENDS (see theCOMMENT
MEDIUMsdk/runanywhere-commons/AGENTS.md215### RAG (`src/features/rag/`)COMMENT
MEDIUMsdk/runanywhere-commons/CLAUDE.md215### RAG (`src/features/rag/`)COMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt77# Header-only relay used by request-scoped VLM/RAG JNI wrappers. CoversCOMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt738# RAG symbols are folded into rac_commons only when the RAG OBJECT target isCOMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt741 # Direct ctest for the GraphScheduler-driven RAG pipelineCOMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt783# End-to-end RAG test with real models (ONNX embeddings + GGUF LLM). SKIPsCOMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt785# RAG, llamacpp and onnx backends are all built.COMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt890# Exercises VLM, embeddings, RAG, LoRA, and diffusion service boundaries overCOMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt891# serialized generated protos. RAG symbols are folded into rac_commons only whenCOMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt892# the RAG object target is enabled, so keep this focused test behind that gate.COMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt942# --- RAG generated service descriptor test ----------------------------------COMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt1532# RAG Pipeline Tests (GoogleTest)COMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt1540 # so the RAG and benchmark suites below agree on a single tag (previouslyCOMMENT
MEDIUMsdk/runanywhere-commons/tests/CMakeLists.txt1630# RAG-test block above share a single FetchContent declaration. (FetchContentCOMMENT
MEDIUMsdk/runanywhere-commons/docs/ARCHITECTURE.md228│ │ │ └── rac_voice_agent.h # STT+LLM+TTS+VAD orchestrationCODE
MEDIUMsdk/runanywhere-commons/docs/ARCHITECTURE.md256│ │ ├── voice_agent/ # Voice agent orchestrationCODE
MEDIUMsdk/runanywhere-commons/examples/solutions/rag.yaml1# RunAnywhere Solution — retrieval-augmented generation.COMMENT
MEDIUMsdk/runanywhere-commons/src/features/rag/CMakeLists.txt2# RAG Pipeline — Orchestrates LLM + Embeddings services for RAGCOMMENT
MEDIUMsdk/runanywhere-commons/src/features/rag/CMakeLists.txt16# Dependencies (RAG-specific only — USearch for vector search)COMMENT
MEDIUMsdk/runanywhere-commons/src/features/rag/CMakeLists.txt53# RAG Pipeline Library (OBJECT — folded into rac_commons at link time)COMMENT
MEDIUMsdk/runanywhere-commons/src/features/rag/CMakeLists.txt55# Built as OBJECT so all RAG symbols end up inside librac_commons.{a,so}.COMMENT
MEDIUMsdk/runanywhere-commons/src/features/rag/CMakeLists.txt75# The RAG pipeline routes through rac_embeddings_service at runtime.COMMENT
MEDIUMsdk/runanywhere-commons/src/features/rag/CMakeLists.txt120# nlohmann_json is used by RAG for config parsing.COMMENT
MEDIUMsdk/runanywhere-commons/src/features/rag/bm25_index.cpp15#define LOG_TAG "RAG.BM25"COMMENT
MEDIUM…here-commons/src/features/rag/vector_store_usearch.cpp37#define LOG_TAG "RAG.VectorStore"COMMENT
MEDIUM…anywhere-commons/src/features/rag/rac_rag_register.cpp20#define LOG_TAG "RAG.Register"COMMENT
MEDIUM…nywhere-commons/src/features/rag/rac_rag_proto_abi.cpp50#define LOG_TAG "RAG.ProtoABI"COMMENT
MEDIUM…k/runanywhere-commons/src/features/rag/rag_backend.cpp24#define LOG_TAG "RAG.Backend"COMMENT
MEDIUM…ywhere-commons/src/features/rag/rag_pipeline_graph.cpp23#define LOG_TAG "RAG.Graph"COMMENT
MEDIUMsdk/runanywhere-commons/src/features/rag/rag_rerank.cpp15#define LOG_TAG "RAG.Rerank"COMMENT
MEDIUMsdk/runanywhere-web/wasm/CMakeLists.txt1368 # When RAG is enabled on the llamacpp WASM targetCOMMENT
MEDIUMsdk/runanywhere-web/wasm/CMakeLists.txt1369 # (e.g. via build.sh --rag for the auto-loaded Docs/RAG bundle), append theCOMMENT
MEDIUMsdk/runanywhere-web/wasm/CMakeLists.txt1371 # The RAG OBJECT library has already been folded into librac_commons byCOMMENT
MEDIUMsdk/runanywhere-web/wasm/CMakeLists.txt569 # Session-based orchestration so the Web SDK can delegateCOMMENT
51 more matches not shown…
Structural Annotation Overuse92 hits · 174 pts
SeverityFileLineSnippetContext
LOWPlayground/openclaw-hybrid-assistant/build.sh160# Step 1: Download Sherpa-ONNXCOMMENT
LOWPlayground/openclaw-hybrid-assistant/build.sh173# Step 2: Build runanywhere-commonsCOMMENT
LOWPlayground/openclaw-hybrid-assistant/build.sh194# Step 3: Download Models (NO LLM!)COMMENT
LOWPlayground/openclaw-hybrid-assistant/build.sh254# Step 4: Build OpenClaw Hybrid AssistantCOMMENT
LOW…/Features/Onboarding/Steps/KeyboardSetupStepView.swift70 // Step 1: Add KeyboardCOMMENT
LOW…/Features/Onboarding/Steps/KeyboardSetupStepView.swift81 // Step 2: Enable Full AccessCOMMENT
LOWPlayground/linux-voice-assistant/README.md73# Step 1: Download Sherpa-ONNXCOMMENT
LOWPlayground/linux-voice-assistant/README.md77# Step 2: Build runanywhere-commonsCOMMENT
LOWPlayground/linux-voice-assistant/README.md80# Step 3: Download modelsCOMMENT
LOWPlayground/linux-voice-assistant/README.md84# Step 4: BuildCOMMENT
LOWPlayground/linux-voice-assistant/README.md89# Step 5: RunCOMMENT
LOWPlayground/linux-voice-assistant/build.sh160# Step 1: Download Sherpa-ONNXCOMMENT
LOWPlayground/linux-voice-assistant/build.sh173# Step 2: Build runanywhere-commonsCOMMENT
LOWPlayground/linux-voice-assistant/build.sh194# Step 3: Download ModelsCOMMENT
LOWPlayground/linux-voice-assistant/build.sh211# Step 4: Build Voice AssistantCOMMENT
LOW…arter-app/LocalAIPlayground/LocalAIPlaygroundApp.swift106 // Step 1: Initialize the Core SDKCOMMENT
LOW…arter-app/LocalAIPlayground/LocalAIPlaygroundApp.swift118 // Step 2: Register the LlamaCPP BackendCOMMENT
LOW…arter-app/LocalAIPlayground/LocalAIPlaygroundApp.swift128 // Step 3: Register the ONNX BackendCOMMENT
LOW…arter-app/LocalAIPlayground/LocalAIPlaygroundApp.swift138 // Step 4: Register Default ModelsCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift592 // Step 1: Stop recording & get audioCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift600 // Step 2: Transcribe with WhisperCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift611 // Step 3: Generate response with LLMCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift633 // Step 4: Synthesize speechCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift650 // Step 5: Play responseCOMMENT
LOW…d/swift-starter-app/blog/runanywhere-swift-tutorial.md126 // Step 1: Initialize core SDKCOMMENT
LOW…d/swift-starter-app/blog/runanywhere-swift-tutorial.md129 // Step 2: Register backends BEFORE modelsCOMMENT
LOW…d/swift-starter-app/blog/runanywhere-swift-tutorial.md133 // Step 3: Register models with URLsCOMMENT
LOW…d/swift-starter-app/blog/runanywhere-swift-tutorial.md139 // Step 4: Check what's already loadedCOMMENT
LOW…where-commons/src/features/voice_agent/voice_agent.cpp188 // Step 1: Initialize VAD (mirrors Swift's initializeVAD)COMMENT
LOW…where-commons/src/features/voice_agent/voice_agent.cpp195 // Step 2: Initialize STT model (mirrors Swift's initializeSTTModel)COMMENT
LOW…where-commons/src/features/voice_agent/voice_agent.cpp206 // Step 3: Initialize LLM model (mirrors Swift's initializeLLMModel)COMMENT
LOW…where-commons/src/features/voice_agent/voice_agent.cpp217 // Step 4: Initialize TTS (mirrors Swift's initializeTTSVoice)COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp530 // Step 1: Validate inputs. Staging/production require API key + URL.COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp548 // Step 2: Initialize SDK state (environment + cached api_key + base_url +COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp642 // Step 1: Authenticate through the registered platform HTTP transport.COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp652 // Step 2: Register device only when a complete control-planeCOMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp672 // Step 3: Fetch model assignments (cached). When callbacks are not wiredCOMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp688 // Step 4: Flush telemetry via the sink registered by the SDK.COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp696 // Step 5: Reconcile registry rows with downloaded/local files when theCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp131 // Step 2: Get device IDCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp140 // Step 3: Get device infoCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp147 // Step 4: Build registration requestCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp180 // Step 7: Determine if auth is required (staging/production require auth)COMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp183 // Step 8: Make HTTP request via callbackCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp191 // Step 9: Handle responseCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp213 // Step 10: Mark as registeredCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp216 // Step 11: Emit success eventCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp104 // Step 1: Check if already registeredCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp158 // Step 5: Serialize to JSONCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp169 // Step 6: Get endpointCOMMENT
LOW…ns/src/infrastructure/model_management/model_types.cpp922 // Step 1: strip URL query string and fragment (Swift's URL parser doesCOMMENT
LOW…ns/src/infrastructure/model_management/model_types.cpp930 // Step 2: take the trailing path component. If the URL ends in a slashCOMMENT
LOW…ns/src/infrastructure/model_management/model_types.cpp949 // Step 3: iteratively strip known extensions (case-insensitive). SameCOMMENT
LOW…ns/src/infrastructure/model_management/model_types.cpp971 // Step 4: copy with strict bounds — never silently truncate.COMMENT
LOW…ure/model_management/artifact_expected_files_proto.cpp99 // Step 1: top-level model.expected_files short-circuit (Swift'sCOMMENT
LOW…ure/model_management/artifact_expected_files_proto.cpp108 // Step 2: walk the artifact oneof. Mirrors Swift'sCOMMENT
LOW…astructure/model_management/model_registry_refresh.cpp61 // Step 1: capacity probe.COMMENT
LOW…astructure/model_management/model_registry_refresh.cpp76 // Step 2: allocate and fetch. Use a small headroom in case the directoryCOMMENT
LOW…/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift168 // Step 1: Platform adapter FIRST (logging, file ops, keychain)COMMENT
LOW…/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift190 // Step 2: Telemetry manager (builds JSON, calls HTTP callback).COMMENT
32 more matches not shown…
Hallucination Indicators13 hits · 165 pts
SeverityFileLineSnippetContext
CRITICAL…com/runanywhere/sdk/native/bridge/RunAnywhereBridge.kt455 // LlamaCPP: com.runanywhere.sdk.llm.llamacpp.LlamaCPPBridge.nativeRegister()COMMENT
CRITICAL…com/runanywhere/sdk/native/bridge/RunAnywhereBridge.kt458 // ONNX: com.runanywhere.sdk.core.onnx.ONNXBridge.nativeRegister()COMMENT
CRITICAL…anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt82fun ai.runanywhere.proto.v1.ToolCallingOptions.Companion.defaults(): RAToolCallingOptions =CODE
CRITICAL…anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt118fun ai.runanywhere.proto.v1.ToolValue.Companion.string(v: String): RAToolValue = RAToolValue(string_value = v)CODE
CRITICAL…anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt121fun ai.runanywhere.proto.v1.ToolValue.Companion.int(v: Int): RAToolValue =CODE
CRITICAL…anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt125fun ai.runanywhere.proto.v1.ToolValue.Companion.double(v: Double): RAToolValue =CODE
CRITICAL…anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt129fun ai.runanywhere.proto.v1.ToolValue.Companion.bool(v: Boolean): RAToolValue =CODE
CRITICAL…anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt136fun ai.runanywhere.proto.v1.ToolValue.Companion.array(values: List<RAToolValue>): RAToolValue =CODE
CRITICAL…anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt212fun ai.runanywhere.proto.v1.ToolValue.Companion.parseObjectJSON(CODE
CRITICAL…anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt239fun ai.runanywhere.proto.v1.ToolValue.Companion.jsonString(CODE
CRITICAL…m/runanywhere/sdk/httptransport/OkHttpHttpTransport.kt151 val rc = com.runanywhere.sdk.native.bridge.RunAnywhereBridge.racHttpTransportRegisterOkHttp()CODE
CRITICAL…m/runanywhere/sdk/httptransport/OkHttpHttpTransport.kt179 com.runanywhere.sdk.native.bridge.RunAnywhereBridge.racHttpTransportUnregisterOkHttp()CODE
CRITICAL…java/io/flutter/plugins/GeneratedPluginRegistrant.java29 flutterEngine.getPlugins().add(new com.mr.flutter.plugin.filepicker.FilePickerPlugin());CODE
Verbosity Indicators83 hits · 153 pts
SeverityFileLineSnippetContext
LOWPlayground/openclaw-hybrid-assistant/build.sh160# Step 1: Download Sherpa-ONNXCOMMENT
LOWPlayground/openclaw-hybrid-assistant/build.sh173# Step 2: Build runanywhere-commonsCOMMENT
LOWPlayground/openclaw-hybrid-assistant/build.sh194# Step 3: Download Models (NO LLM!)COMMENT
LOWPlayground/openclaw-hybrid-assistant/build.sh254# Step 4: Build OpenClaw Hybrid AssistantCOMMENT
LOW…/Features/Onboarding/Steps/KeyboardSetupStepView.swift70 // Step 1: Add KeyboardCOMMENT
LOW…/Features/Onboarding/Steps/KeyboardSetupStepView.swift81 // Step 2: Enable Full AccessCOMMENT
LOWPlayground/linux-voice-assistant/build.sh160# Step 1: Download Sherpa-ONNXCOMMENT
LOWPlayground/linux-voice-assistant/build.sh173# Step 2: Build runanywhere-commonsCOMMENT
LOWPlayground/linux-voice-assistant/build.sh194# Step 3: Download ModelsCOMMENT
LOWPlayground/linux-voice-assistant/build.sh211# Step 4: Build Voice AssistantCOMMENT
LOW…arter-app/LocalAIPlayground/LocalAIPlaygroundApp.swift106 // Step 1: Initialize the Core SDKCOMMENT
LOW…arter-app/LocalAIPlayground/LocalAIPlaygroundApp.swift118 // Step 2: Register the LlamaCPP BackendCOMMENT
LOW…arter-app/LocalAIPlayground/LocalAIPlaygroundApp.swift128 // Step 3: Register the ONNX BackendCOMMENT
LOW…arter-app/LocalAIPlayground/LocalAIPlaygroundApp.swift138 // Step 4: Register Default ModelsCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift592 // Step 1: Stop recording & get audioCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift600 // Step 2: Transcribe with WhisperCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift611 // Step 3: Generate response with LLMCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift633 // Step 4: Synthesize speechCOMMENT
LOW…er-app/LocalAIPlayground/Views/VoicePipelineView.swift650 // Step 5: Play responseCOMMENT
LOW…where-commons/src/features/voice_agent/voice_agent.cpp188 // Step 1: Initialize VAD (mirrors Swift's initializeVAD)COMMENT
LOW…where-commons/src/features/voice_agent/voice_agent.cpp195 // Step 2: Initialize STT model (mirrors Swift's initializeSTTModel)COMMENT
LOW…where-commons/src/features/voice_agent/voice_agent.cpp206 // Step 3: Initialize LLM model (mirrors Swift's initializeLLMModel)COMMENT
LOW…where-commons/src/features/voice_agent/voice_agent.cpp217 // Step 4: Initialize TTS (mirrors Swift's initializeTTSVoice)COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp530 // Step 1: Validate inputs. Staging/production require API key + URL.COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp548 // Step 2: Initialize SDK state (environment + cached api_key + base_url +COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp642 // Step 1: Authenticate through the registered platform HTTP transport.COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp652 // Step 2: Register device only when a complete control-planeCOMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp672 // Step 3: Fetch model assignments (cached). When callbacks are not wiredCOMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp688 // Step 4: Flush telemetry via the sink registered by the SDK.COMMENT
LOWsdk/runanywhere-commons/src/lifecycle/sdk_init.cpp696 // Step 5: Reconcile registry rows with downloaded/local files when theCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp131 // Step 2: Get device IDCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp140 // Step 3: Get device infoCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp147 // Step 4: Build registration requestCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp180 // Step 7: Determine if auth is required (staging/production require auth)COMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp183 // Step 8: Make HTTP request via callbackCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp191 // Step 9: Handle responseCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp213 // Step 10: Mark as registeredCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp216 // Step 11: Emit success eventCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp104 // Step 1: Check if already registeredCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp158 // Step 5: Serialize to JSONCOMMENT
LOW…mmons/src/infrastructure/device/rac_device_manager.cpp169 // Step 6: Get endpointCOMMENT
LOW…ns/src/infrastructure/model_management/model_types.cpp922 // Step 1: strip URL query string and fragment (Swift's URL parser doesCOMMENT
LOW…ns/src/infrastructure/model_management/model_types.cpp930 // Step 2: take the trailing path component. If the URL ends in a slashCOMMENT
LOW…ns/src/infrastructure/model_management/model_types.cpp949 // Step 3: iteratively strip known extensions (case-insensitive). SameCOMMENT
LOW…ns/src/infrastructure/model_management/model_types.cpp971 // Step 4: copy with strict bounds — never silently truncate.COMMENT
LOW…ure/model_management/artifact_expected_files_proto.cpp99 // Step 1: top-level model.expected_files short-circuit (Swift'sCOMMENT
LOW…ure/model_management/artifact_expected_files_proto.cpp108 // Step 2: walk the artifact oneof. Mirrors Swift'sCOMMENT
LOW…astructure/model_management/model_registry_refresh.cpp61 // Step 1: capacity probe.COMMENT
LOW…astructure/model_management/model_registry_refresh.cpp76 // Step 2: allocate and fetch. Use a small headroom in case the directoryCOMMENT
LOW…/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift168 // Step 1: Platform adapter FIRST (logging, file ops, keychain)COMMENT
LOW…/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift190 // Step 2: Telemetry manager (builds JSON, calls HTTP callback).COMMENT
LOW…/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift196 // Step 3: Attach the telemetry manager as the C++ router's telemetry sink.COMMENT
LOW…/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift203 // Step 4: Device registration callbacksCOMMENT
LOW…ere-swift/Sources/RunAnywhere/Public/RunAnywhere.swift412 // Step 1: configure the Swift HTTP adapter used by callback-basedCOMMENT
LOW…-react-native/packages/core/cpp/bridges/InitBridge.cpp1766 // Step 1: Register platform adapter FIRSTCOMMENT
LOW…-react-native/packages/core/cpp/bridges/InitBridge.cpp1773 // Step 2: Configure logging based on environmentCOMMENT
LOW…-react-native/packages/core/cpp/bridges/InitBridge.cpp1780 // Step 3: Initialize RACommons using rac_initCOMMENT
LOW…-react-native/packages/core/cpp/bridges/InitBridge.cpp1798 // Step 4: Build the canonical Phase 1 proto envelope.COMMENT
LOW…-react-native/packages/core/cpp/bridges/InitBridge.cpp1810 // Step 5: Phase 1 proto is the canonical commons owner for SDK state.COMMENT
LOW…utter/packages/runanywhere/lib/native/dart_bridge.dart169 // Step 1: Load native libraryCOMMENT
23 more matches not shown…
Magic Placeholder Names21 hits · 108 pts
SeverityFileLineSnippetContext
HIGHsdk/runanywhere-swift/README.md176 apiKey: "<YOUR_API_KEY>",CODE
HIGHsdk/runanywhere-swift/README.md176 apiKey: "<YOUR_API_KEY>",CODE
HIGHsdk/runanywhere-swift/README.md240 apiKey: "<YOUR_API_KEY>",CODE
HIGHsdk/runanywhere-swift/README.md240 apiKey: "<YOUR_API_KEY>",CODE
HIGHsdk/runanywhere-swift/Sources/ONNXRuntime/README.md70 apiKey: "<YOUR_API_KEY>",CODE
HIGHsdk/runanywhere-swift/Sources/ONNXRuntime/README.md70 apiKey: "<YOUR_API_KEY>",CODE
HIGHsdk/runanywhere-swift/Sources/LlamaCPPRuntime/README.md68 apiKey: "<YOUR_API_KEY>",CODE
HIGHsdk/runanywhere-swift/Sources/LlamaCPPRuntime/README.md68 apiKey: "<YOUR_API_KEY>",CODE
HIGHsdk/runanywhere-kotlin/README.md57 apiKey = "your-api-key", // Optional for developmentCODE
HIGHsdk/runanywhere-react-native/README.md444 apiKey: '<YOUR_API_KEY>',CODE
HIGHsdk/runanywhere-react-native/README.md444 apiKey: '<YOUR_API_KEY>',CODE
HIGHsdk/runanywhere-react-native/Docs/Documentation.md23 apiKey: 'your-api-key',CODE
HIGH…/packages/core/tests/unit/NetworkConfiguration.test.ts9 expect(isUsableCredential('YOUR_API_KEY')).toBe(false);CODE
HIGH…ages/core/src/services/Network/NetworkConfiguration.ts20/** Reject empty values and template strings such as `YOUR_API_KEY`. */COMMENT
HIGHsdk/runanywhere-flutter/README.md415 apiKey: '<YOUR_API_KEY>',CODE
HIGHsdk/runanywhere-flutter/README.md415 apiKey: '<YOUR_API_KEY>',CODE
HIGHsdk/runanywhere-flutter/docs/Documentation.md112 apiKey: '<YOUR_API_KEY>',CODE
HIGHsdk/runanywhere-flutter/docs/Documentation.md112 apiKey: '<YOUR_API_KEY>',CODE
HIGHexamples/react-native/RunAnywhereAI/README.md789RUNANYWHERE_API_KEY=your-api-keyCODE
HIGHexamples/ios/RunAnywhereAI/README.md556 apiKey: "your_api_key",CODE
HIGHexamples/flutter/RunAnywhereAI/README.md607 apiKey: 'your-api-key',CODE
Example Usage Blocks25 hits · 45 pts
SeverityFileLineSnippetContext
LOWPlayground/openclaw-hybrid-assistant/build.sh11# Usage:COMMENT
LOW…round/openclaw-hybrid-assistant/scripts/test-on-mac.sh8# Usage:COMMENT
LOWPlayground/linux-voice-assistant/build.sh11# Usage:COMMENT
LOW…runanywhere-commons/tests/scripts/run-tests-android.sh6# Usage:COMMENT
LOWsdk/runanywhere-commons/tests/scripts/run-tests.sh6# Usage:COMMENT
LOWsdk/runanywhere-commons/tests/scripts/run-tests-all.sh6# Usage:COMMENT
LOWsdk/runanywhere-commons/tests/scripts/run-tests-ios.sh6# Usage:COMMENT
LOWsdk/runanywhere-commons/tests/scripts/run-tests-web.sh6# Usage:COMMENT
LOW…anywhere-commons/tests/scripts/download-test-models.sh6# Usage:COMMENT
LOW…k/runanywhere-commons/tests/scripts/run-tests-linux.sh6# Usage:COMMENT
LOWsdk/runanywhere-commons/scripts/lint-cpp.sh8# Usage:COMMENT
LOW…ywhere-commons/scripts/android/download-sherpa-onnx.sh17# Usage:COMMENT
LOWsdk/runanywhere-web/wasm/scripts/setup-emsdk.sh16# Usage:COMMENT
LOWsdk/runanywhere-swift/scripts/release-swift-binaries.sh20# Usage:COMMENT
LOWsdk/runanywhere-swift/scripts/sync-checksums.sh10# Usage:COMMENT
LOW…r/packages/runanywhere_qhexrt/scripts/stage-natives.sh12# Usage:COMMENT
LOWscripts/setup/setup-toolchain.sh26# Usage:COMMENT
LOWscripts/release/validate-artifact.sh17# Usage:COMMENT
LOWscripts/release/sync-versions.sh8# Usage:COMMENT
LOW…ripts/validation/gates/check_flutter_centralization.sh25# Usage:COMMENT
LOWscripts/validation/gates/check_gradle_centralization.sh37# Usage:COMMENT
LOWscripts/validation/gates/check_agents_claude_sync.sh16# Usage:COMMENT
LOW…ts/validation/gates/check_typescript_centralization.sh8# Usage:COMMENT
LOWscripts/validation/commons/check_rac_api_exports.sh17# Usage:COMMENT
LOWscripts/validation/commons/sync_rac_api_exports.sh20# Usage:COMMENT
Deep Nesting35 hits · 34 pts
SeverityFileLineSnippetContext
LOWidl/codegen/_convenience_common.py119CODE
LOWidl/codegen/_convenience_common.py169CODE
LOWidl/codegen/_convenience_common.py286CODE
LOWidl/codegen/_convenience_common.py449CODE
LOWidl/codegen/generate_ts_convenience.py116CODE
LOWidl/codegen/generate_ts_convenience.py162CODE
LOWidl/codegen/generate_ts_convenience.py477CODE
LOWidl/codegen/generate_kotlin_convenience.py214CODE
LOWidl/codegen/generate_kotlin_convenience.py339CODE
LOWidl/codegen/generate_swift_modality_abi.py235CODE
LOWidl/codegen/generate_dart_convenience.py112CODE
LOWidl/codegen/generate_dart_convenience.py162CODE
LOWidl/codegen/generate_dart_convenience.py495CODE
LOWidl/codegen/generate_dart_convenience.py615CODE
LOWidl/codegen/generate_swift_convenience.py201CODE
LOWidl/codegen/generate_swift_convenience.py350CODE
LOWidl/codegen/tests/test_convenience_generators.py373CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py149CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py164CODE
LOW…nanywhere-web/scripts/test_validate_public_packages.py55CODE
LOW…/runanywhere-swift/scripts/normalize-static-archive.py30CODE
LOW…/runanywhere-swift/scripts/normalize-static-archive.py84CODE
LOW…unanywhere-kotlin/scripts/validate_public_artifacts.py129CODE
LOW…unanywhere-kotlin/scripts/validate_public_artifacts.py163CODE
LOW…where-react-native/scripts/validate_public_packages.py226CODE
LOW…where-react-native/scripts/validate_public_packages.py396CODE
LOW…-react-native/scripts/test_validate_public_packages.py174CODE
LOW…-react-native/scripts/test_validate_public_packages.py373CODE
LOW…-react-native/scripts/test_validate_public_packages.py815CODE
LOW…-react-native/scripts/test_validate_public_packages.py896CODE
LOWscripts/release/rewrite_npm_package.py47CODE
LOWscripts/release/rewrite_npm_package.py92CODE
LOWscripts/release/rewrite_npm_package.py171CODE
LOWscripts/validation/e2e/validate_seven_lane_evidence.py181CODE
LOWscripts/validation/e2e/validate_seven_lane_evidence.py290CODE
Cross-Language Confusion5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHidl/codegen/generate_ts_convenience.py406 lines.append(" return undefined;")CODE
HIGHidl/codegen/generate_ts_convenience.py457 # safely omit (TS treats absent as undefined).COMMENT
HIGHidl/codegen/generate_dart_convenience.py414 lines.append(" return null;")CODE
HIGHidl/codegen/generate_dart_convenience.py430 skipped (Dart returns the empty list, never null)."""STRING
HIGH…where-react-native/scripts/validate_public_packages.py317 "undefined": undefined,CODE
Unused Imports21 hits · 21 pts
SeverityFileLineSnippetContext
LOWidl/codegen/_convenience_common.py21CODE
LOWidl/codegen/generate_ts_convenience.py42CODE
LOWidl/codegen/generate_kotlin_convenience.py45CODE
LOWidl/codegen/generate_swift_modality_abi.py32CODE
LOWidl/codegen/generate_dart_convenience.py29CODE
LOWidl/codegen/generate_swift_convenience.py39CODE
LOWidl/codegen/tests/test_convenience_generators.py51CODE
LOWidl/codegen/tests/test_convenience_generators.py55CODE
LOWidl/codegen/tests/test_convenience_generators.py121CODE
LOW…anywhere-commons/scripts/test_build_android_archive.py4CODE
LOW…e-commons/scripts/android/test_download_sherpa_onnx.py4CODE
LOWsdk/runanywhere-web/scripts/validate_public_packages.py4CODE
LOW…nanywhere-web/scripts/test_validate_public_packages.py4CODE
LOW…nywhere-swift/scripts/test_normalize_static_archive.py4CODE
LOW…/runanywhere-swift/scripts/normalize-static-archive.py4CODE
LOW…where-kotlin/scripts/test_validate_public_artifacts.py4CODE
LOW…unanywhere-kotlin/scripts/validate_public_artifacts.py4CODE
LOW…where-react-native/scripts/validate_public_packages.py4CODE
LOW…-react-native/scripts/test_validate_public_packages.py4CODE
LOWscripts/release/rewrite_npm_package.py10CODE
LOWscripts/validation/e2e/validate_seven_lane_evidence.py8CODE
Redundant / Tautological Comments10 hits · 17 pts
SeverityFileLineSnippetContext
LOW…d/openclaw-hybrid-assistant/scripts/download-models.sh104# Check if existing file is valid (not an HTML redirect page from Git LFS)COMMENT
LOW…round/openclaw-hybrid-assistant/scripts/test-on-mac.sh94 # Check if VM existsCOMMENT
LOW…round/openclaw-hybrid-assistant/scripts/test-on-mac.sh183 # Check if machine existsCOMMENT
LOW…runanywhere-commons/tests/scripts/run-tests-android.sh364 # Check if binary was pushedCOMMENT
LOW…k/runanywhere-commons/tests/scripts/run-tests-linux.sh195 # Check if binary existsCOMMENT
LOW…anywhere-commons/scripts/macos/download-sherpa-onnx.sh47# Check if the complete release inventory is already built. Older runs copiedCOMMENT
LOWsdk/runanywhere-commons/scripts/macos/download-onnx.sh37# Check if already existsCOMMENT
LOW…unanywhere-commons/scripts/ios/download-sherpa-onnx.sh34# Check if already exists and is validCOMMENT
LOW…anywhere-commons/scripts/linux/download-sherpa-onnx.sh73# Check if already downloadedCOMMENT
LOWsdk/runanywhere-web/wasm/scripts/setup-emsdk.sh43# Check if already installedCOMMENT
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…ift-starter-app/LocalAIPlayground/Views/ChatView.swift42/// and receive AI-generated responses with real-time streaming.COMMENT
HIGH…AI/RunAnywhereAI/Core/Services/ConversationStore.swift211 // Update the conversation with the AI-generated titleSTRING
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOW.gitleaks.toml61 '''placeholder''',STRING
LOW…nd/on-device-browser-agent/src/content/dom-observer.ts577 const attrs = ['href', 'name', 'placeholder', 'aria-label', 'title', 'role', 'type', 'value'];CODE
LOW…on-device-browser-agent/src/content/action-executor.ts649 const placeholder = input.getAttribute('placeholder')?.toLowerCase() || '';CODE
LOW…ns/include/rac/infrastructure/network/rac_dev_config.h84 * "placeholder").COMMENT
LOW…rc/infrastructure/network/rac_dev_config_usability.cpp47 normalized.find("placeholder") == std::string::npos;CODE
LOW…ources/RunAnywhere/CRACommons/include/rac_dev_config.h84 * "placeholder").COMMENT
LOW…tive/packages/core/cpp/bridges/ExternalConfigGuard.hpp50 value.find("placeholder") != std::string::npos;CODE
Excessive Try-Catch Wrapping4 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsdk/runanywhere-swift/README.md550 print("Error (\(error.category)): \(error.message)")CODE
MEDIUMsdk/runanywhere-flutter/docs/Documentation.md459 print('Error [${e.errorCode}]: ${e.message}');CODE
MEDIUM…AI/RunAnywhereAI/Core/Services/ConversationStore.swift283 print("Error loading conversations: \(error)")STRING
MEDIUM…AI/RunAnywhereAI/Core/Services/ConversationStore.swift294 print("Error saving conversation: \(error)")STRING
Self-Referential Comments1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM…round/openclaw-hybrid-assistant/scripts/test-on-mac.sh98 # Create a minimal Ubuntu VMCOMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMsdk/runanywhere-commons/tests/test_sdk_event_stream.cpp284 // The robust contract for those bindings is to drainCOMMENT
LOWsdk/runanywhere-web/wasm/scripts/build.sh103 # Build every per-package target in sequence. We just set the flagsCOMMENT
Slop Phrases1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUMsdk/runanywhere-commons/scripts/load-versions.sh8# After sourcing, you can use variables like:COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…where-kotlin/scripts/test_validate_public_artifacts.py182CODE
LOW…-react-native/scripts/test_validate_public_packages.py373CODE