Production ready toolkit to run AI locally
This report presents the forensic synthetic code analysis of RunanywhereAI/runanywhere-sdks, a C++ project with 10,280 GitHub stars. SynthScan v2.0 examined 648,578 lines of code across 2574 source files, recording 3644 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 9.4 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).
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.
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.
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.
The scanner identified 3644 distinct pattern matches across 19 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CMakeLists.txt | 1 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 3 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 29 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 64 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 70 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 175 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 177 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 204 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 206 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 226 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 228 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 762 | # ============================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 764 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .gitleaks.toml | 1 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .gitleaks.toml | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .gitleaks.toml | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .gitleaks.toml | 12 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitleaks.toml | 43 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitleaks.toml | 45 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/bootstrap_protoc.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM | idl/codegen/bootstrap_protoc.sh | 6 | # ============================================================================= | COMMENT |
| MEDIUM | idl/codegen/bootstrap_protoc.sh | 65 | # ============================================================================= | COMMENT |
| MEDIUM | idl/codegen/check_generated_trees.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM | idl/codegen/check_generated_trees.sh | 6 | # ============================================================================= | COMMENT |
| MEDIUM | idl/codegen/check_generated_trees.sh | 40 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | idl/codegen/swift-modality-abi.yaml | 370 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | idl/codegen/swift-modality-abi.yaml | 379 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | idl/codegen/swift-modality-abi.yaml | 438 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | idl/codegen/swift-modality-abi.yaml | 440 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 11 | # ----------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 90 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 92 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 119 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 130 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 132 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 153 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 155 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 186 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 188 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 276 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 278 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 313 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 315 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 352 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 354 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 455 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 462 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 499 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 501 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 59 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 108 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 111 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 203 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 207 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 225 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 227 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | idl/codegen/_convenience_common.py | 298 | # --------------------------------------------------------------------------- | COMMENT |
| 702 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # ============================================================================= | COMMENT |
| LOW | CMakeLists.txt | 21 | # cmake --preset android-arm64 && cmake --build --preset android-arm64 | COMMENT |
| LOW | CMakeLists.txt | 41 | project(runanywhere | COMMENT |
| LOW | CMakeLists.txt | 221 | # FetchContent tree under engines/. | COMMENT |
| LOW | CMakeLists.txt | 501 | set_tests_properties(diarization_onnx_tests PROPERTIES | COMMENT |
| LOW | .pre-commit-config.yaml | 61 | # disk. Committed symlinks already materialize on clone for macOS/Linux; | COMMENT |
| LOW | jitpack.yml | 1 | # JitPack build configuration for RunAnywhere Kotlin SDK | COMMENT |
| LOW | lefthook.yml | 1 | # EXAMPLE USAGE: | COMMENT |
| LOW | lefthook.yml | 21 | # parallel: true | COMMENT |
| LOW | lefthook.yml | 41 | # - script: "hello.go" | COMMENT |
| LOW | Package.swift | 1 | // swift-tools-version: 6.2 | COMMENT |
| LOW | Package.swift | 21 | // 42 files. Resolving this URL by version yields ~347 errors of the form | COMMENT |
| LOW | Package.swift | 41 | // 2. Export `RUNANYWHERE_USE_LOCAL_NATIVES=1` so the package resolves to | COMMENT |
| LOW | Package.swift | 221 | exact: runAnywhereMLXSwiftLMVersion | COMMENT |
| LOW | Package.swift | 261 | COMMENT | |
| LOW | Package.swift | 361 | // ONNX Runtime Backend | COMMENT |
| LOW | Package.swift | 481 | ), | COMMENT |
| LOW | Package.swift | 541 | // `RABackendSherpa.xcframework` into `RABackendSherpa-ios-v<version>.zip` | COMMENT |
| LOW | idl/codegen/generate_streams.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/bootstrap_protoc.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/bootstrap_protoc.sh | 21 | # protobuf publishes prebuilt, immutable, per-platform archives on every | COMMENT |
| LOW | idl/codegen/bootstrap_protoc.sh | 41 | # returned without `protoc --version` agreeing with the pin. An unrecognised | COMMENT |
| LOW | idl/codegen/generate_dart_result_codes.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | idl/codegen/check_generated_filenames.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/check_generated_trees.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/check_generated_trees.sh | 21 | # test of the .gitignore negations: get one wrong and a hand-written file | COMMENT |
| LOW | idl/codegen/generate_defaults_pool.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | idl/codegen/generate_defaults_pool.py | 21 | # transport 24 integers would be bloat, and it would make every call site read | COMMENT |
| LOW | idl/codegen/generate_python.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/generate_swift.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/generate_swift.sh | 81 | # Belt-and-braces: if an older toolchain or a developer invocation emits | COMMENT |
| LOW | idl/codegen/swift-modality-abi.yaml | 1 | # swift-modality-abi.yaml | COMMENT |
| LOW | idl/codegen/swift-modality-abi.yaml | 21 | # Maps to ProtoStreamContext<Response>.runRequestStream. | COMMENT |
| LOW | idl/codegen/swift-modality-abi.yaml | 41 | # The optional `request` field selects between the two ABI shapes. | COMMENT |
| LOW | idl/codegen/swift-modality-abi.yaml | 61 | # written in CppBridge+ModalityProtoABI.swift; the field `custom_reason` | COMMENT |
| LOW | idl/codegen/swift-modality-abi.yaml | 121 | # rac_structured_output_generate_stream_proto) was removed outright. Its | COMMENT |
| LOW | idl/codegen/swift-modality-abi.yaml | 361 | request: RAEmbeddingsRequest | COMMENT |
| LOW | idl/codegen/swift-modality-abi.yaml | 541 | # that survives. The corresponding C ABI entry points | COMMENT |
| LOW | idl/codegen/generate_cpp.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/generate_all.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/generate_all.sh | 21 | # and the default-pool constants) run whenever their language is | COMMENT |
| LOW | idl/codegen/generate_all.sh | 141 | # is a function of the compiler patch level as much as of the schemas. Neither | COMMENT |
| LOW | idl/codegen/generate_all.sh | 161 | # directory is /opt/homebrew/bin. Prepending it unconditionally re-orders the | COMMENT |
| LOW | idl/codegen/generate_all.sh | 281 | fi # want cpp | COMMENT |
| LOW | idl/codegen/generate_all.sh | 321 | "${RA_PYTHON}" "${SCRIPT_DIR}/generate_python_errors.py" | COMMENT |
| LOW | idl/codegen/generate_python_errors.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | idl/codegen/_convenience_common.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | idl/codegen/generate_kotlin.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/generate_kotlin.sh | 21 | COMMENT | |
| LOW | idl/codegen/generate_kotlin.sh | 41 | # | COMMENT |
| LOW | idl/codegen/generate_kotlin.sh | 141 | # NOT use it here because it would force a Java protobuf runtime | COMMENT |
| LOW | idl/codegen/schema_lock.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/schema_lock.sh | 21 | # | COMMENT |
| LOW | idl/codegen/ci-drift-check.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/ci-drift-check.sh | 21 | # written, and that none of them came back TRACKED. Nothing generated is | COMMENT |
| LOW | idl/codegen/ci-drift-check.sh | 121 | # resolves to here. generate_all.sh exports RA_PYTHON into its OWN children | COMMENT |
| LOW | idl/codegen/generate_dart.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/generate_dart.sh | 81 | COMMENT | |
| LOW | idl/codegen/bootstrap_wire.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | idl/codegen/bootstrap_wire.sh | 21 | # `wire-compiler` on PATH, then the cache, then a checksum-verified download — | COMMENT |
| 1441 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idl/codegen/generate_streams.sh | 77 | function sourceProtoFromRequestModule(reqMod) { | CODE |
| LOW | idl/codegen/_convenience_common.py | 375 | def enum_name_to_screaming_snake(name: str) -> str: | CODE |
| LOW | idl/codegen/_convenience_common.py | 502 | def zero_literal_for_required( | CODE |
| LOW | idl/codegen/generate_ts_convenience.py | 207 | def _ts_proto_function_prefix(symbol: str) -> str: | CODE |
| LOW | idl/codegen/generate_ts_convenience.py | 380 | def _emit_enum_reverse_factory( | CODE |
| LOW | idl/codegen/generate_ts_convenience.py | 608 | def _collect_message_symbols_per_file( | CODE |
| LOW | idl/codegen/generate_kotlin_convenience.py | 144 | def _emit_enum_reverse_factory( | CODE |
| LOW | idl/codegen/generate_kotlin_convenience.py | 179 | def _emit_message_defaults_factory( | CODE |
| LOW | idl/codegen/generate_swift_modality_abi.py | 470 | def render_get_with_context_method( | CODE |
| LOW | idl/codegen/generate_swift_modality_abi.py | 579 | def render_create_handle_method( | CODE |
| LOW | idl/codegen/generate_swift_modality_abi.py | 628 | def render_invoke_out_only_method( | CODE |
| LOW | idl/codegen/generate_dart_convenience.py | 393 | def _emit_enum_reverse_factory( | CODE |
| LOW | idl/codegen/generate_dart_convenience.py | 473 | def _required_zero_check_expr(field, dart_name: str, int64_used: list[bool]) -> str | None: | CODE |
| LOW | idl/codegen/generate_swift_convenience.py | 117 | def _emit_enum_reverse_factory( | CODE |
| LOW | idl/codegen/generate_swift_convenience.py | 162 | def _emit_message_defaults_factory( | CODE |
| LOW | idl/codegen/tests/test_convenience_generators.py | 282 | def _extract_validated_fields(generated: str, language: str) -> frozenset[str]: | CODE |
| LOW | idl/codegen/tests/test_convenience_generators.py | 323 | def assert_cross_language_parity( | CODE |
| LOW | core/scripts/test_build_android_archive.py | 77 | def test_release_version_rejects_path_or_shell_syntax(self) -> None: | CODE |
| LOW | core/scripts/test_build_android_archive.py | 86 | def test_archive_is_exact_and_reproducible(self) -> None: | CODE |
| LOW⚡ | core/scripts/test_build_android_archive.py | 123 | def test_rejects_private_native(self) -> None: | CODE |
| LOW⚡ | core/scripts/test_build_android_archive.py | 131 | def test_rejects_undeclared_native(self) -> None: | CODE |
| LOW⚡ | core/scripts/test_build_android_archive.py | 139 | def test_rejects_nested_or_extra_component(self) -> None: | CODE |
| LOW | core/scripts/test_build_android_archive.py | 153 | def test_rejects_undeclared_root_file_or_symlink(self) -> None: | CODE |
| LOW | core/scripts/test_build_android_archive.py | 167 | def test_rejects_symlink_non_elf_and_missing_input(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 82 | def test_inspected_artifact_and_source_pins_are_exact(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 101 | def test_cache_identity_covers_every_supply_chain_pin(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 135 | def test_safe_regular_file_archive_extracts(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 149 | def test_unsafe_archive_members_are_rejected(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 164 | def test_symbolic_and_hard_links_are_rejected(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 183 | def test_embedded_build_path_transform_is_exact_and_idempotent(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 216 | def test_transform_rejects_corrupted_library(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 237 | def test_transform_accepts_manifested_library_with_no_marker(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 259 | def test_transform_rejects_missing_expected_marker(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 280 | def test_unrecognized_host_path_is_rejected(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 292 | def test_archive_digest_is_fail_closed(self) -> None: | CODE |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 336 | def test_library_tree_fails_when_any_library_is_under_aligned(self) -> None: | CODE |
| LOW | scripts/ci/verify_cpp_desktop_kit.py | 62 | def sherpa_plugin_entry_is_routable(archive: bytes) -> bool: | CODE |
| LOW | …pts/validation/gates/test_release_version_coherence.py | 80 | def test_unmodified_tree_passes(tmp_path): | CODE |
| LOW | …pts/validation/gates/test_release_version_coherence.py | 89 | def test_source_tag_built_from_s_version_is_rejected(tmp_path): | CODE |
| LOW | …pts/validation/gates/test_release_version_coherence.py | 104 | def test_source_tag_pinned_to_the_wrong_release_is_rejected(tmp_path): | CODE |
| LOW | …pts/validation/gates/test_release_version_coherence.py | 121 | def test_every_rn_podspec_is_covered(tmp_path): | CODE |
| LOW | bindings/react-native/example/App.tsx | 104 | function buildTimeAPIConfiguration(): APIConfiguration | null { | CODE |
| LOW | …ndings/react-native/example/src/utils/micPermission.ts | 13 | export async function requestMicrophonePermission(): Promise<boolean> { | CODE |
| LOW | …ndings/react-native/example/src/screens/ChatScreen.tsx | 102 | function usageFromGenerationResult( | CODE |
| LOW | …s/react-native/example/src/services/NpuModelCatalog.ts | 423 | export function publishNpuCatalogAcceptance( | CODE |
| LOW | …s/react-native/example/src/services/NpuModelCatalog.ts | 439 | export function isVisibleForNativeNpuCatalog( | CODE |
| LOW | …/react-native/example/src/services/APIConfiguration.ts | 24 | export function normalizeAPIConfiguration( | CODE |
| LOW⚡ | …/react-native/example/src/services/APIConfiguration.ts | 71 | export function getSessionAPIConfiguration(): APIConfiguration | null { | CODE |
| LOW⚡ | …/react-native/example/src/services/APIConfiguration.ts | 75 | export function setAPIConfigurationApplyHandler( | CODE |
| LOW⚡ | …/react-native/example/src/services/APIConfiguration.ts | 84 | export async function applySessionAPIConfiguration( | CODE |
| LOW | …/react-native/example/src/services/APIConfiguration.ts | 98 | export async function clearSessionAPIConfiguration(): Promise<void> { | CODE |
| LOW | …ct-native/example/src/services/ModelRegistryQueries.ts | 17 | export async function listDownloadedCatalogModels(): Promise<ModelInfo[]> { | CODE |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 133 | def _validate_archive_members(archive: Path, bundle: tarfile.TarFile) -> None: | CODE |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 373 | def _validate_framework_plist( | CODE |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 396 | def _validate_mlx_xcframework( | CODE |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 629 | def _validate_public_package_license( | CODE |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 814 | def _workspace_protocol_specs( | CODE |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 891 | def _assert_matching_inventory( | CODE |
| LOW | …/react-native/scripts/test_validate_public_packages.py | 467 | def test_rewrites_workspace_specs_and_bundles_exact_proto_archive(self) -> None: | CODE |
| LOW | …/react-native/scripts/test_validate_public_packages.py | 509 | def test_accepts_exact_public_set_with_proto_and_core_headers(self) -> None: | CODE |
| 590 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CMakeLists.txt | 409 | # contract gate alive in both RAG modes: segmentation is unconditional, | COMMENT |
| MEDIUM | CMakeLists.txt | 410 | # while embeddings are intentionally compiled only when RAG is enabled. | COMMENT |
| MEDIUM | idl/codegen/generate_defaults_pool.py | 116 | # Python consumes the flat C ABI for everything but RAG and has no convenience | COMMENT |
| MEDIUM | idl/codegen/generate_python.sh | 4 | # Generate Python protobuf bindings for the runanywhere-python SDK's native RAG binding. | COMMENT |
| MEDIUM | idl/codegen/generate_python.sh | 12 | # Only the RAG surface is bound in Python today (the rest of the SDK uses the flat C ABI), so we | COMMENT |
| MEDIUM | idl/codegen/generate_swift.sh | 85 | # ModelRegistry, Pipeline, RAG, SDKEvents, Solutions, Storage, | COMMENT |
| MEDIUM⚡ | idl/codegen/swift-modality-abi.yaml | 371 | # RAG (extension CppBridge.RAG) | COMMENT |
| MEDIUM⚡ | idl/codegen/swift-modality-abi.yaml | 375 | # caller's isolation, never hopping the `CppBridge.RAG` actor and never | COMMENT |
| MEDIUM⚡ | idl/codegen/swift-modality-abi.yaml | 377 | # actor's own single-session facade (CppBridge+RAG.swift) still calls them | COMMENT |
| MEDIUM⚡ | idl/codegen/swift-modality-abi.yaml | 439 | # RAG -- top-level free functions (not on any extension) | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 32 | # Used by: LLM/VLM/VAD/RAG GET-shaped state queries that already own a handle. | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 48 | # Used by: RAG.createPipeline. | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 73 | # RAG-config helper is a top-level free function, embeddings lives under a | COMMENT |
| MEDIUM | idl/codegen/swift-modality-abi.yaml | 391 | # Caller decides what to do with the handle (the RAG actor's facade | COMMENT |
| MEDIUM | idl/codegen/generate_all.sh | 304 | # Python protobuf for the RAG surface (optional — needs grpcio-tools). Soft-skip | COMMENT |
| MEDIUM | idl/codegen/generate_all.sh | 316 | # post-processor because it reaches the C ABI directly for everything but RAG, | COMMENT |
| MEDIUM | idl/codegen/generate_python_errors.py | 6 | # The Python SDK talks to the flat C ABI for everything except RAG, so it has | COMMENT |
| MEDIUM | idl/codegen/generate_kotlin_convenience.py | 10 | # `validate()` scaffolding currently scattered across `RAAudioFormatExtensions.kt`, | COMMENT |
| MEDIUM | idl/codegen/generate_swift_modality_abi.py | 21 | # scaffolding (trampoline / yielder / context / runRequestStream) is canonical | COMMENT |
| MEDIUM | idl/codegen/generate_swift_convenience.py | 10 | # scaffolding that currently lives in per-modality *Configuration+Helpers.swift | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 54 | # Only commons-local backends (RAG pipeline) declare their option here. | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 57 | # Emscripten: RAG itself only depends on USearch + nlohmann_json (header-only) | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 62 | # and third_party/sherpa-onnx-wasm/ (via @runanywhere/web-onnx), so RAG can | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 66 | # RAC_WASM_RAG_STANDALONE: the Web Docs/RAG tab | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 71 | # to opt the llamacpp WASM target into shipping the RAG proto-byte symbols | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 2003 | # COMMONS-LOCAL BACKENDS (RAG) | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 2008 | # engine targets — only commons-local OBJECT libraries (RAG) are folded into | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 2012 | # Decouple RAG from RAC_BUILD_BACKENDS so the proto C ABI symbols | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 2014 | # op_engine_backed.cpp are always resolvable inside librac_commons. RAG | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 2023 | # RAG is an OBJECT library. Fold its compiled objects into rac_commons | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 2027 | # Propagate RAG's non-cyclic dependencies manually. | COMMENT |
| MEDIUM⚡ | core/CMakeLists.txt | 2033 | # Apple frameworks used by RAG (Accelerate) need explicit propagation. | COMMENT |
| MEDIUM | core/CMakeLists.txt | 41 | # does not branch on it — RAG is folded into rac_commons independently (see below). | COMMENT |
| MEDIUM | core/CMakeLists.txt | 909 | # 200-400 LOC orchestration loop into one native session). | COMMENT |
| MEDIUM | core/CMakeLists.txt | 966 | # CUA (computer-use-agent scaffold) — profile registry, system-prompt | COMMENT |
| MEDIUM | core/CMakeLists.txt | 1469 | # Shared TokenUsage embedded by LLM/VLM/RAG result + metrics messages (D4). | COMMENT |
| MEDIUM | core/CMakeLists.txt | 2105 | # RAG is folded into rac_commons regardless of RAC_BUILD_BACKENDS (see the | COMMENT |
| MEDIUM | core/AGENTS.md | 140 | ### Platform adapter inversion of control | COMMENT |
| MEDIUM | core/CLAUDE.md | 140 | ### Platform adapter inversion of control | COMMENT |
| MEDIUM⚡ | core/tests/CMakeLists.txt | 967 | # Exercises VLM, embeddings, RAG, LoRA, and diffusion service boundaries over | COMMENT |
| MEDIUM⚡ | core/tests/CMakeLists.txt | 968 | # serialized generated protos. RAG symbols are folded into rac_commons only when | COMMENT |
| MEDIUM⚡ | core/tests/CMakeLists.txt | 969 | # the RAG object target is enabled, so keep this focused test behind that gate. | COMMENT |
| MEDIUM⚡ | core/tests/CMakeLists.txt | 1535 | # RAG Pipeline Tests (GoogleTest) | COMMENT |
| MEDIUM⚡ | core/tests/CMakeLists.txt | 1543 | # so the RAG and benchmark suites below agree on a single tag (previously | COMMENT |
| MEDIUM⚡ | core/tests/CMakeLists.txt | 1633 | # RAG-test block above share a single FetchContent declaration. (FetchContent | COMMENT |
| MEDIUM | core/tests/CMakeLists.txt | 102 | # Header-only relay used by request-scoped VLM/RAG JNI wrappers. Covers | COMMENT |
| MEDIUM | core/tests/CMakeLists.txt | 137 | # CUA (computer-use-agent) scaffold: profile prompt + tool_call parse + coord | COMMENT |
| MEDIUM | core/tests/CMakeLists.txt | 786 | # RAG symbols are folded into rac_commons only when the RAG OBJECT target is | COMMENT |
| MEDIUM | core/tests/CMakeLists.txt | 789 | # Direct ctest for the GraphScheduler-driven RAG pipeline | COMMENT |
| MEDIUM | core/tests/CMakeLists.txt | 831 | # End-to-end RAG test with real models (ONNX embeddings + GGUF LLM). SKIPs | COMMENT |
| MEDIUM | core/tests/CMakeLists.txt | 833 | # RAG, llamacpp and onnx backends are all built. | COMMENT |
| MEDIUM | core/docs/ARCHITECTURE.md | 229 | │ │ │ └── rac_voice_agent.h # STT+LLM+TTS+VAD orchestration | CODE |
| MEDIUM | core/docs/ARCHITECTURE.md | 257 | │ │ ├── voice_agent/ # Voice agent orchestration | CODE |
| MEDIUM | core/docs/md/swift.md | 112 | ## RAG | COMMENT |
| MEDIUM | core/docs/md/kotlin.md | 113 | ## RAG | COMMENT |
| MEDIUM | core/docs/md/react-native.md | 92 | ## RAG | COMMENT |
| MEDIUM | core/docs/md/flutter.md | 106 | ## RAG | COMMENT |
| MEDIUM | core/docs/md/web.md | 98 | ## RAG | COMMENT |
| MEDIUM | core/docs/reference/subsystems.md | 58 | ## RAG (`src/features/rag/`) | COMMENT |
| MEDIUM | core/docs/reference/subsystems.md | 70 | ### Design rules for RAG work (do not relitigate) | COMMENT |
| 98 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idl/codegen/generate_dart_result_codes.py | 28 | CODE | |
| LOW | idl/codegen/generate_defaults_pool.py | 35 | CODE | |
| LOW | idl/codegen/generate_python_errors.py | 23 | CODE | |
| LOW | idl/codegen/_convenience_common.py | 21 | CODE | |
| LOW | idl/codegen/generate_ts_convenience.py | 42 | CODE | |
| LOW | idl/codegen/generate_kotlin_convenience.py | 45 | CODE | |
| LOW | idl/codegen/generate_cpp_defaults.py | 31 | CODE | |
| LOW | idl/codegen/generate_swift_modality_abi.py | 32 | CODE | |
| LOW | idl/codegen/generate_dart_convenience.py | 29 | CODE | |
| LOW | idl/codegen/generate_swift_convenience.py | 39 | CODE | |
| LOW | idl/codegen/tests/test_convenience_generators.py | 51 | CODE | |
| LOW | idl/codegen/tests/test_convenience_generators.py | 55 | CODE | |
| LOW | idl/codegen/tests/test_convenience_generators.py | 121 | CODE | |
| LOW | core/scripts/test_build_android_archive.py | 4 | CODE | |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 4 | CODE | |
| LOW | scripts/ci/verify_cpp_desktop_kit.py | 18 | CODE | |
| LOW | scripts/release/rewrite_npm_package.py | 10 | CODE | |
| LOW | scripts/release/prepublish_check.py | 33 | CODE | |
| LOW | scripts/release/prepublish_check.py | 38 | CODE | |
| LOW | scripts/validation/gates/check_plugin_natives.py | 91 | CODE | |
| LOW | scripts/validation/e2e/validate_seven_lane_evidence.py | 8 | CODE | |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 4 | CODE | |
| LOW | …/react-native/scripts/test_validate_public_packages.py | 4 | CODE | |
| LOW | bindings/python/example/chat.py | 2 | CODE | |
| LOW | bindings/python/example/rag.py | 2 | CODE | |
| LOW | bindings/python/example/_env.py | 8 | CODE | |
| LOW | bindings/python/tests/conftest.py | 16 | CODE | |
| LOW | bindings/python/tests/test_download.py | 2 | CODE | |
| LOW | bindings/python/tests/test_parity_fixes.py | 6 | CODE | |
| LOW | bindings/python/tests/test_catalog.py | 3 | CODE | |
| LOW | bindings/python/tests/test_namespaces.py | 3 | CODE | |
| LOW | bindings/python/tests/test_llm.py | 3 | CODE | |
| LOW | bindings/python/tests/test_llm_stream_proto.py | 3 | CODE | |
| LOW | bindings/python/tests/test_options_results.py | 3 | CODE | |
| LOW | bindings/python/tests/test_errors.py | 3 | CODE | |
| LOW | bindings/python/tests/test_audio.py | 3 | CODE | |
| LOW | bindings/python/tests/test_package_import.py | 10 | CODE | |
| LOW | bindings/python/tests/test_runtime.py | 7 | CODE | |
| LOW | bindings/python/tests/test_streaming.py | 3 | CODE | |
| LOW | bindings/python/tests/test_smoke.py | 14 | CODE | |
| LOW | bindings/python/tests/test_structured.py | 2 | CODE | |
| LOW | bindings/python/tests/test_server.py | 8 | CODE | |
| LOW | bindings/python/tests/test_thinking.py | 3 | CODE | |
| LOW | bindings/python/tests/test_events.py | 2 | CODE | |
| LOW | bindings/python/tests/fake_core.py | 8 | CODE | |
| LOW | bindings/python/tests/test_cli.py | 7 | CODE | |
| LOW | bindings/python/tests/test_rag.py | 7 | CODE | |
| LOW | bindings/python/tests/test_generation.py | 3 | CODE | |
| LOW | bindings/python/tests/test_download_network.py | 10 | CODE | |
| LOW | bindings/python/tests/test_download_network.py | 13 | CODE | |
| LOW | bindings/python/_build/ra_build_backend.py | 46 | CODE | |
| LOW | bindings/python/_build/ra_build_backend.py | 95 | CODE | |
| LOW | bindings/python/_build/ra_build_backend.py | 99 | CODE | |
| LOW | bindings/python/scripts/validate_public_packages.py | 24 | CODE | |
| LOW | bindings/python/scripts/bundle_native.py | 24 | CODE | |
| LOW | …ndings/python/scripts/test_validate_public_packages.py | 13 | CODE | |
| LOW | bindings/python/runanywhere/catalog.py | 28 | CODE | |
| LOW | bindings/python/runanywhere/options.py | 8 | CODE | |
| LOW | bindings/python/runanywhere/_handles.py | 8 | CODE | |
| LOW | bindings/python/runanywhere/_handles.py | 13 | CODE | |
| 182 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …m/runanywhere/sdk/httptransport/OkHttpHttpTransport.kt | 153 | val rc = com.runanywhere.sdk.native.bridge.RunAnywhereBridge.racHttpTransportRegisterOkHttp() | CODE |
| CRITICAL | …m/runanywhere/sdk/httptransport/OkHttpHttpTransport.kt | 181 | com.runanywhere.sdk.native.bridge.RunAnywhereBridge.racHttpTransportUnregisterOkHttp() | CODE |
| CRITICAL | …com/runanywhere/sdk/native/bridge/RunAnywhereBridge.kt | 560 | // LlamaCPP: com.runanywhere.sdk.llm.llamacpp.LlamaCPPBridge.nativeRegister() | COMMENT |
| CRITICAL | …com/runanywhere/sdk/native/bridge/RunAnywhereBridge.kt | 563 | // ONNX: com.runanywhere.sdk.core.onnx.ONNXBridge.nativeRegister() | COMMENT |
| CRITICAL⚡ | …anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt | 97 | fun ai.runanywhere.proto.v1.ToolValue.Companion.string(v: String): RAToolValue = RAToolValue(string_value = v) | CODE |
| CRITICAL⚡ | …anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt | 100 | fun ai.runanywhere.proto.v1.ToolValue.Companion.int(v: Int): RAToolValue = | CODE |
| CRITICAL⚡ | …anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt | 104 | fun ai.runanywhere.proto.v1.ToolValue.Companion.double(v: Double): RAToolValue = | CODE |
| CRITICAL⚡ | …anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt | 108 | fun ai.runanywhere.proto.v1.ToolValue.Companion.bool(v: Boolean): RAToolValue = | CODE |
| CRITICAL⚡ | …anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt | 115 | fun ai.runanywhere.proto.v1.ToolValue.Companion.array(values: List<RAToolValue>): RAToolValue = | CODE |
| CRITICAL | …anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt | 191 | fun ai.runanywhere.proto.v1.ToolValue.Companion.parseObjectJSON( | CODE |
| CRITICAL | …anywhere/sdk/public/extensions/LLM/ToolCallingTypes.kt | 218 | fun ai.runanywhere.proto.v1.ToolValue.Companion.jsonString( | CODE |
| CRITICAL | …java/io/flutter/plugins/GeneratedPluginRegistrant.java | 19 | flutterEngine.getPlugins().add(new com.mr.flutter.plugin.filepicker.FilePickerPlugin()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | core/src/features/voice_agent/voice_agent.cpp | 200 | // Step 1: Initialize VAD (mirrors Swift's initializeVAD) | COMMENT |
| LOW⚡ | core/src/features/voice_agent/voice_agent.cpp | 207 | // Step 2: Initialize STT model (mirrors Swift's initializeSTTModel) | COMMENT |
| LOW | core/src/features/voice_agent/voice_agent.cpp | 218 | // Step 3: Initialize LLM model (mirrors Swift's initializeLLMModel) | COMMENT |
| LOW | core/src/features/voice_agent/voice_agent.cpp | 229 | // Step 4: Initialize TTS (mirrors Swift's initializeTTSVoice) | COMMENT |
| LOW | core/src/lifecycle/sdk_init.cpp | 550 | // Step 1: Validate inputs. Staging/production require API key + URL. | COMMENT |
| LOW | core/src/lifecycle/sdk_init.cpp | 569 | // Step 2: Initialize SDK state (environment + cached api_key + base_url + | COMMENT |
| LOW⚡ | core/src/lifecycle/sdk_init.cpp | 650 | // Step 1: Authenticate through the registered platform HTTP transport. | COMMENT |
| LOW⚡ | core/src/lifecycle/sdk_init.cpp | 660 | // Step 2: Register device + fetch assignments only on the JWT path. | COMMENT |
| LOW | core/src/lifecycle/sdk_init.cpp | 675 | // Step 3: Fetch model assignments (cached). force_refresh_assignments | COMMENT |
| LOW⚡ | core/src/lifecycle/sdk_init.cpp | 692 | // Step 4: Flush telemetry via the sink registered by the SDK. | COMMENT |
| LOW⚡ | core/src/lifecycle/sdk_init.cpp | 700 | // Step 5: Reconcile registry rows with downloaded/local files. | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 187 | // Step 2: Get device ID | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 196 | // Step 3: Get device info | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 203 | // Step 4: Build registration request | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 236 | // Step 7: The register endpoint always requires the SDK bearer token. | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 240 | // Step 8: Make HTTP request via callback | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 248 | // Step 9: Handle response | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 270 | // Step 10: Mark as registered (server placeholder, if any, is now upgraded) | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 274 | // Step 11: Emit success event | COMMENT |
| LOW | core/src/infrastructure/device/rac_device_manager.cpp | 155 | // Step 1: Check if already registered | COMMENT |
| LOW | core/src/infrastructure/device/rac_device_manager.cpp | 214 | // Step 5: Serialize to JSON | COMMENT |
| LOW | core/src/infrastructure/device/rac_device_manager.cpp | 225 | // Step 6: Get endpoint | COMMENT |
| LOW⚡ | …re/src/infrastructure/model_management/model_types.cpp | 957 | // Step 1: strip URL query string and fragment (Swift's URL parser does | COMMENT |
| LOW⚡ | …re/src/infrastructure/model_management/model_types.cpp | 965 | // Step 2: take the trailing path component. If the URL ends in a slash | COMMENT |
| LOW | …re/src/infrastructure/model_management/model_types.cpp | 984 | // Step 3: iteratively strip known extensions (case-insensitive). Same | COMMENT |
| LOW | …re/src/infrastructure/model_management/model_types.cpp | 1006 | // Step 4: copy with strict bounds — never silently truncate. | COMMENT |
| LOW | …astructure/model_management/model_registry_refresh.cpp | 75 | // Step 1: capacity probe. | COMMENT |
| LOW | …astructure/model_management/model_registry_refresh.cpp | 90 | // Step 2: allocate and fetch. Use a small headroom in case the directory | COMMENT |
| LOW⚡ | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1695 | // Step 1: Register platform adapter FIRST | COMMENT |
| LOW⚡ | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1702 | // Step 2: Configure logging based on environment | COMMENT |
| LOW⚡ | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1709 | // Step 3: Initialize RACommons using rac_init | COMMENT |
| LOW | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1727 | // Step 4: Build the canonical Phase 1 proto envelope. | COMMENT |
| LOW | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1739 | // Step 5: Phase 1 proto is the canonical commons owner for SDK state. | COMMENT |
| LOW | …le/lib/features/settings/tool_settings_view_model.dart | 239 | // Step 1: Geocode the location | COMMENT |
| LOW | …le/lib/features/settings/tool_settings_view_model.dart | 264 | // Step 2: Fetch weather for coordinates | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 169 | // Step 1: Load native library | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 174 | // Step 2: Register platform adapter FIRST (file ops, logging, keychain) | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 180 | // Step 3: Configure C++ logging level | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 185 | // Step 4: Initialize SDK with configuration (Phase 1 proto-based path) | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 209 | // Step 5: Register events callback (analytics routing) | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 214 | // Step 6: Initialize telemetry manager (sync part) | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 220 | // Step 7: Register device callbacks | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 225 | // Step 8: Register file manager I/O callbacks | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 229 | // Step 9: Wire global model registry before any registerModel() calls. | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 310 | // Step 3: Install auth secure storage now that platform async caches are | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 319 | // Step 4: Drive the canonical Phase 2 step-list inside commons. HTTP and | COMMENT |
| LOW | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 279 | // Step 1: HTTP transport — configure C++ HTTP layer BEFORE phase2 so that | COMMENT |
| LOW | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 296 | // Step 2: Register platform-owned async callbacks before commons Phase 2. | COMMENT |
| LOW | …/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift | 168 | // Step 1: Platform adapter FIRST (logging, file ops, keychain) | COMMENT |
| LOW⚡ | …/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift | 190 | // Step 2: Telemetry manager (builds JSON, calls HTTP callback). | COMMENT |
| LOW⚡ | …/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift | 196 | // Step 3: Attach the telemetry manager as the C++ router's telemetry sink. | COMMENT |
| LOW⚡ | …/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift | 203 | // Step 4: Device registration callbacks | COMMENT |
| LOW | …ngs/swift/Sources/RunAnywhere/Public/RunAnywhere.swift | 439 | // Step 1: configure the Swift HTTP adapter used by callback-based | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | core/src/features/voice_agent/voice_agent.cpp | 200 | // Step 1: Initialize VAD (mirrors Swift's initializeVAD) | COMMENT |
| LOW⚡ | core/src/features/voice_agent/voice_agent.cpp | 207 | // Step 2: Initialize STT model (mirrors Swift's initializeSTTModel) | COMMENT |
| LOW | core/src/features/voice_agent/voice_agent.cpp | 218 | // Step 3: Initialize LLM model (mirrors Swift's initializeLLMModel) | COMMENT |
| LOW | core/src/features/voice_agent/voice_agent.cpp | 229 | // Step 4: Initialize TTS (mirrors Swift's initializeTTSVoice) | COMMENT |
| LOW | core/src/lifecycle/sdk_init.cpp | 550 | // Step 1: Validate inputs. Staging/production require API key + URL. | COMMENT |
| LOW | core/src/lifecycle/sdk_init.cpp | 569 | // Step 2: Initialize SDK state (environment + cached api_key + base_url + | COMMENT |
| LOW⚡ | core/src/lifecycle/sdk_init.cpp | 650 | // Step 1: Authenticate through the registered platform HTTP transport. | COMMENT |
| LOW⚡ | core/src/lifecycle/sdk_init.cpp | 660 | // Step 2: Register device + fetch assignments only on the JWT path. | COMMENT |
| LOW | core/src/lifecycle/sdk_init.cpp | 675 | // Step 3: Fetch model assignments (cached). force_refresh_assignments | COMMENT |
| LOW⚡ | core/src/lifecycle/sdk_init.cpp | 692 | // Step 4: Flush telemetry via the sink registered by the SDK. | COMMENT |
| LOW⚡ | core/src/lifecycle/sdk_init.cpp | 700 | // Step 5: Reconcile registry rows with downloaded/local files. | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 187 | // Step 2: Get device ID | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 196 | // Step 3: Get device info | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 203 | // Step 4: Build registration request | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 236 | // Step 7: The register endpoint always requires the SDK bearer token. | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 240 | // Step 8: Make HTTP request via callback | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 248 | // Step 9: Handle response | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 270 | // Step 10: Mark as registered (server placeholder, if any, is now upgraded) | COMMENT |
| LOW⚡ | core/src/infrastructure/device/rac_device_manager.cpp | 274 | // Step 11: Emit success event | COMMENT |
| LOW | core/src/infrastructure/device/rac_device_manager.cpp | 155 | // Step 1: Check if already registered | COMMENT |
| LOW | core/src/infrastructure/device/rac_device_manager.cpp | 214 | // Step 5: Serialize to JSON | COMMENT |
| LOW | core/src/infrastructure/device/rac_device_manager.cpp | 225 | // Step 6: Get endpoint | COMMENT |
| LOW⚡ | …re/src/infrastructure/model_management/model_types.cpp | 957 | // Step 1: strip URL query string and fragment (Swift's URL parser does | COMMENT |
| LOW⚡ | …re/src/infrastructure/model_management/model_types.cpp | 965 | // Step 2: take the trailing path component. If the URL ends in a slash | COMMENT |
| LOW | …re/src/infrastructure/model_management/model_types.cpp | 984 | // Step 3: iteratively strip known extensions (case-insensitive). Same | COMMENT |
| LOW | …re/src/infrastructure/model_management/model_types.cpp | 1006 | // Step 4: copy with strict bounds — never silently truncate. | COMMENT |
| LOW | …astructure/model_management/model_registry_refresh.cpp | 75 | // Step 1: capacity probe. | COMMENT |
| LOW | …astructure/model_management/model_registry_refresh.cpp | 90 | // Step 2: allocate and fetch. Use a small headroom in case the directory | COMMENT |
| LOW⚡ | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1695 | // Step 1: Register platform adapter FIRST | COMMENT |
| LOW⚡ | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1702 | // Step 2: Configure logging based on environment | COMMENT |
| LOW⚡ | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1709 | // Step 3: Initialize RACommons using rac_init | COMMENT |
| LOW | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1727 | // Step 4: Build the canonical Phase 1 proto envelope. | COMMENT |
| LOW | …/react-native/packages/core/cpp/bridges/InitBridge.cpp | 1739 | // Step 5: Phase 1 proto is the canonical commons owner for SDK state. | COMMENT |
| LOW | …le/lib/features/settings/tool_settings_view_model.dart | 239 | // Step 1: Geocode the location | COMMENT |
| LOW | …le/lib/features/settings/tool_settings_view_model.dart | 264 | // Step 2: Fetch weather for coordinates | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 169 | // Step 1: Load native library | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 174 | // Step 2: Register platform adapter FIRST (file ops, logging, keychain) | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 180 | // Step 3: Configure C++ logging level | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 185 | // Step 4: Initialize SDK with configuration (Phase 1 proto-based path) | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 209 | // Step 5: Register events callback (analytics routing) | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 214 | // Step 6: Initialize telemetry manager (sync part) | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 220 | // Step 7: Register device callbacks | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 225 | // Step 8: Register file manager I/O callbacks | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 229 | // Step 9: Wire global model registry before any registerModel() calls. | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 310 | // Step 3: Install auth secure storage now that platform async caches are | COMMENT |
| LOW⚡ | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 319 | // Step 4: Drive the canonical Phase 2 step-list inside commons. HTTP and | COMMENT |
| LOW | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 279 | // Step 1: HTTP transport — configure C++ HTTP layer BEFORE phase2 so that | COMMENT |
| LOW | …utter/packages/runanywhere/lib/native/dart_bridge.dart | 296 | // Step 2: Register platform-owned async callbacks before commons Phase 2. | COMMENT |
| LOW | …/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift | 168 | // Step 1: Platform adapter FIRST (logging, file ops, keychain) | COMMENT |
| LOW⚡ | …/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift | 190 | // Step 2: Telemetry manager (builds JSON, calls HTTP callback). | COMMENT |
| LOW⚡ | …/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift | 196 | // Step 3: Attach the telemetry manager as the C++ router's telemetry sink. | COMMENT |
| LOW⚡ | …/Sources/RunAnywhere/Foundation/Bridge/CppBridge.swift | 203 | // Step 4: Device registration callbacks | COMMENT |
| LOW | …ngs/swift/Sources/RunAnywhere/Public/RunAnywhere.swift | 439 | // Step 1: configure the Swift HTTP adapter used by callback-based | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | idl/codegen/generate_ts_convenience.py | 410 | lines.append(" return undefined;") | CODE |
| HIGH | idl/codegen/generate_ts_convenience.py | 469 | # safely omit (TS treats absent as undefined). | COMMENT |
| HIGH | idl/codegen/generate_dart_convenience.py | 418 | lines.append(" return null;") | CODE |
| HIGH | idl/codegen/generate_dart_convenience.py | 434 | skipped (Dart returns the empty list, never null).""" | STRING |
| HIGH | scripts/validation/gates/check_plugin_natives.py | 32 | That is what this script measures: defined OR undefined, either counts, because | STRING |
| HIGH | scripts/validation/gates/check_plugin_natives.py | 199 | # the real evidence is a DEFINED (not undefined) symbol in the backend file. | COMMENT |
| HIGH | …dings/react-native/scripts/validate_public_packages.py | 317 | "undefined": undefined, | CODE |
| HIGH⚡ | bindings/python/tests/test_generation.py | 147 | assert stops.push("hello E") == "hello" | CODE |
| HIGH⚡ | bindings/python/tests/test_generation.py | 148 | assert stops.push("N") == " " # the space can no longer be part of "END" | CODE |
| HIGH⚡ | bindings/python/tests/test_generation.py | 149 | assert stops.push("D tail") == "" | CODE |
| HIGH⚡ | bindings/python/tests/test_generation.py | 156 | assert stops.push("abcE") == "ab" | CODE |
| HIGH | bindings/python/runanywhere/_generation.py | 180 | emit = self.stops.push(text) | CODE |
| HIGH | bindings/python/runanywhere/_generation.py | 252 | for event in acc.push(_as_delta(item)): | CODE |
| HIGH | bindings/python/runanywhere/_generation.py | 298 | for event in acc.push(_as_delta(item)): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bindings/react-native/README.md | 82 | apiKey: '<YOUR_API_KEY>', | CODE |
| HIGH | bindings/react-native/README.md | 82 | apiKey: '<YOUR_API_KEY>', | CODE |
| HIGH | bindings/react-native/Docs/Documentation.md | 23 | apiKey: 'your-api-key', | CODE |
| HIGH | …/packages/core/tests/unit/NetworkConfiguration.test.ts | 9 | expect(isUsableCredential('YOUR_API_KEY')).toBe(false); | CODE |
| HIGH | …ages/core/src/services/Network/NetworkConfiguration.ts | 21 | /** Reject empty values and template strings such as `YOUR_API_KEY`. */ | COMMENT |
| HIGH | bindings/flutter/README.md | 120 | apiKey: '<YOUR_API_KEY>', | CODE |
| HIGH | bindings/flutter/README.md | 120 | apiKey: '<YOUR_API_KEY>', | CODE |
| HIGH | bindings/flutter/docs/Documentation.md | 112 | apiKey: '<YOUR_API_KEY>', | CODE |
| HIGH | bindings/flutter/docs/Documentation.md | 112 | apiKey: '<YOUR_API_KEY>', | CODE |
| HIGH | bindings/swift/README.md | 79 | apiKey: "<YOUR_API_KEY>", | CODE |
| HIGH | bindings/swift/README.md | 79 | apiKey: "<YOUR_API_KEY>", | CODE |
| HIGH | bindings/swift/Sources/ONNXRuntime/README.md | 40 | apiKey: "<YOUR_API_KEY>", | CODE |
| HIGH | bindings/swift/Sources/ONNXRuntime/README.md | 40 | apiKey: "<YOUR_API_KEY>", | CODE |
| HIGH | bindings/swift/Sources/LlamaCPPRuntime/README.md | 40 | apiKey: "<YOUR_API_KEY>", | CODE |
| HIGH | bindings/swift/Sources/LlamaCPPRuntime/README.md | 40 | apiKey: "<YOUR_API_KEY>", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idl/codegen/generate_dart_result_codes.py | 100 | CODE | |
| LOW | idl/codegen/generate_defaults_pool.py | 129 | CODE | |
| LOW | idl/codegen/generate_python_errors.py | 52 | CODE | |
| LOW | idl/codegen/_convenience_common.py | 129 | CODE | |
| LOW | idl/codegen/_convenience_common.py | 179 | CODE | |
| LOW | idl/codegen/_convenience_common.py | 306 | CODE | |
| LOW | idl/codegen/_convenience_common.py | 469 | CODE | |
| LOW | idl/codegen/generate_ts_convenience.py | 120 | CODE | |
| LOW | idl/codegen/generate_ts_convenience.py | 166 | CODE | |
| LOW | idl/codegen/generate_ts_convenience.py | 490 | CODE | |
| LOW | idl/codegen/generate_kotlin_convenience.py | 214 | CODE | |
| LOW | idl/codegen/generate_kotlin_convenience.py | 339 | CODE | |
| LOW | idl/codegen/generate_cpp_defaults.py | 65 | CODE | |
| LOW | idl/codegen/generate_swift_modality_abi.py | 224 | CODE | |
| LOW | idl/codegen/generate_dart_convenience.py | 116 | CODE | |
| LOW | idl/codegen/generate_dart_convenience.py | 166 | CODE | |
| LOW | idl/codegen/generate_dart_convenience.py | 499 | CODE | |
| LOW | idl/codegen/generate_dart_convenience.py | 662 | CODE | |
| LOW | idl/codegen/generate_swift_convenience.py | 201 | CODE | |
| LOW | idl/codegen/generate_swift_convenience.py | 350 | CODE | |
| LOW | idl/codegen/tests/test_convenience_generators.py | 416 | CODE | |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 149 | CODE | |
| LOW | core/scripts/android/test_download_sherpa_onnx.py | 164 | CODE | |
| LOW | scripts/ci/verify_cpp_desktop_kit.py | 26 | CODE | |
| LOW | scripts/ci/verify_cpp_desktop_kit.py | 71 | CODE | |
| LOW | scripts/release/gen_api_changes_audit.py | 89 | CODE | |
| LOW | scripts/release/rewrite_npm_package.py | 59 | CODE | |
| LOW | scripts/release/rewrite_npm_package.py | 104 | CODE | |
| LOW | scripts/release/rewrite_npm_package.py | 183 | CODE | |
| LOW | scripts/release/prepublish_check.py | 166 | CODE | |
| LOW | scripts/release/prepublish_check.py | 188 | CODE | |
| LOW | scripts/release/prepublish_check.py | 263 | CODE | |
| LOW | scripts/release/prepublish_check.py | 314 | CODE | |
| LOW | scripts/validation/gates/check_plugin_natives.py | 317 | CODE | |
| LOW | scripts/validation/gates/check_plugin_natives.py | 363 | CODE | |
| LOW | scripts/validation/e2e/validate_seven_lane_evidence.py | 181 | CODE | |
| LOW | scripts/validation/e2e/validate_seven_lane_evidence.py | 290 | CODE | |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 226 | CODE | |
| LOW | …dings/react-native/scripts/validate_public_packages.py | 396 | CODE | |
| LOW | …/react-native/scripts/test_validate_public_packages.py | 174 | CODE | |
| LOW | …/react-native/scripts/test_validate_public_packages.py | 373 | CODE | |
| LOW | …/react-native/scripts/test_validate_public_packages.py | 815 | CODE | |
| LOW | …/react-native/scripts/test_validate_public_packages.py | 896 | CODE | |
| LOW | bindings/python/example/rag.py | 26 | CODE | |
| LOW | bindings/python/tests/fake_core.py | 345 | CODE | |
| LOW | bindings/python/scripts/validate_public_packages.py | 138 | CODE | |
| LOW | bindings/python/scripts/validate_public_packages.py | 220 | CODE | |
| LOW | bindings/python/runanywhere/download.py | 96 | CODE | |
| LOW | bindings/python/runanywhere/download.py | 421 | CODE | |
| LOW | bindings/python/runanywhere/_runtime.py | 277 | CODE | |
| LOW | bindings/python/runanywhere/_llm_stream.py | 28 | CODE | |
| LOW | bindings/python/runanywhere/server/app.py | 242 | CODE | |
| LOW | bindings/python/runanywhere/cli/handlers.py | 110 | CODE | |
| LOW | bindings/python/runanywhere/cli/handlers.py | 127 | CODE | |
| LOW | bindings/python/runanywhere/cli/handlers.py | 185 | CODE | |
| LOW | bindings/python/runanywhere/cli/handlers.py | 244 | CODE | |
| LOW | bindings/web/scripts/test_validate_public_packages.py | 58 | CODE | |
| LOW | bindings/kotlin/scripts/validate_public_artifacts.py | 129 | CODE | |
| LOW | bindings/kotlin/scripts/validate_public_artifacts.py | 163 | CODE | |
| LOW | bindings/swift/scripts/normalize-static-archive.py | 30 | CODE | |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idl/codegen/check_generated_filenames.sh | 27 | # Usage: | COMMENT |
| LOW | idl/codegen/check_generated_trees.sh | 24 | # Usage: | COMMENT |
| LOW | idl/codegen/schema_lock.sh | 36 | # Usage: | COMMENT |
| LOW⚡ | core/tests/scripts/run-tests-android.sh | 6 | # Usage: | COMMENT |
| LOW⚡ | core/tests/scripts/run-tests.sh | 6 | # Usage: | COMMENT |
| LOW⚡ | core/tests/scripts/run-tests-all.sh | 6 | # Usage: | COMMENT |
| LOW⚡ | core/tests/scripts/run-tests-ios.sh | 6 | # Usage: | COMMENT |
| LOW⚡ | core/tests/scripts/run-tests-web.sh | 6 | # Usage: | COMMENT |
| LOW⚡ | core/tests/scripts/download-test-models.sh | 6 | # Usage: | COMMENT |
| LOW⚡ | core/tests/scripts/run-tests-linux.sh | 6 | # Usage: | COMMENT |
| LOW | core/scripts/lint-cpp.sh | 8 | # Usage: | COMMENT |
| LOW⚡ | core/scripts/android/download-sherpa-onnx.sh | 17 | # Usage: | COMMENT |
| LOW | scripts/setup/sync-skills.sh | 16 | # Usage: | COMMENT |
| LOW | scripts/setup/setup-toolchain.sh | 26 | # Usage: | COMMENT |
| LOW | scripts/release/validate-artifact.sh | 17 | # Usage: | COMMENT |
| LOW⚡ | scripts/release/sync-versions.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/validation/verify_default_pool.sh | 19 | # Usage: | COMMENT |
| LOW | …ripts/validation/gates/check_flutter_centralization.sh | 25 | # Usage: | COMMENT |
| LOW | scripts/validation/gates/check_gradle_centralization.sh | 37 | # Usage: | COMMENT |
| LOW | scripts/validation/gates/check_agents_claude_sync.sh | 16 | # Usage: | COMMENT |
| LOW | …ts/validation/gates/check_typescript_centralization.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/validation/gates/check_swift_dist_repo_sync.sh | 54 | # Usage: | COMMENT |
| LOW | scripts/validation/gates/check_no_hardcoded_defaults.sh | 34 | # Usage: | COMMENT |
| LOW | scripts/validation/commons/check_rac_api_exports.sh | 17 | # Usage: | COMMENT |
| LOW | scripts/validation/commons/sync_rac_api_exports.sh | 20 | # Usage: | COMMENT |
| LOW | bindings/python/scripts/test-e2e.sh | 21 | # Usage: | COMMENT |
| LOW | bindings/web/wasm/scripts/vendor-onnxruntime-wasm.sh | 14 | # Usage: | COMMENT |
| LOW⚡ | bindings/web/wasm/scripts/setup-emsdk.sh | 16 | # Usage: | COMMENT |
| LOW | …r/packages/runanywhere_qhexrt/scripts/stage-natives.sh | 12 | # Usage: | COMMENT |
| LOW | bindings/swift/scripts/sync-dist-repo.sh | 42 | # Usage: | COMMENT |
| LOW | bindings/swift/scripts/release-swift-binaries.sh | 19 | # Usage: | COMMENT |
| LOW⚡ | bindings/swift/scripts/sync-checksums.sh | 10 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bindings/python/runanywhere/options.py | 16 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/_handles.py | 23 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/_handles.py | 532 | def set_threshold(self, threshold: float) -> None: | CODE |
| LOW | bindings/python/runanywhere/_rag_bridge.py | 27 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/_options_bridge.py | 27 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/results.py | 21 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/events.py | 27 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/_generation.py | 27 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/__init__.py | 386 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/_runtime.py | 40 | __all__ = ["Runtime", "runtime"] | CODE |
| LOW | bindings/python/runanywhere/inputs.py | 18 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/structured.py | 14 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/audio.py | 15 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/audio.py | 39 | def set_audio_native_for_tests(native: Optional[_AudioNative]) -> None: | CODE |
| LOW | bindings/python/runanywhere/server/__init__.py | 17 | __all__ = ["create_app", "serve", "ModelManager"] | CODE |
| LOW | bindings/python/runanywhere/cli/__init__.py | 77 | __all__ = ["main", "build_parser"] | CODE |
| LOW | bindings/python/runanywhere/cli/output.py | 17 | def set_quiet(quiet: bool) -> None: | CODE |
| LOW | bindings/python/runanywhere/api/rerank.py | 15 | __all__ = ["rerank"] | CODE |
| LOW | bindings/python/runanywhere/api/models.py | 21 | __all__ = ["models"] | CODE |
| LOW | bindings/python/runanywhere/api/_common.py | 12 | __all__ = ["Prompt", "prepare"] | CODE |
| LOW | bindings/python/runanywhere/api/tts.py | 18 | __all__ = ["tts"] | CODE |
| LOW | bindings/python/runanywhere/api/__init__.py | 20 | __all__ = [ | CODE |
| LOW | bindings/python/runanywhere/api/llm.py | 20 | __all__ = ["Tools", "llm"] | CODE |
| LOW | bindings/python/runanywhere/api/vlm.py | 16 | __all__ = ["vlm"] | CODE |
| LOW | bindings/python/runanywhere/api/voice.py | 19 | __all__ = ["VoiceSession", "voice"] | CODE |
| LOW | bindings/python/runanywhere/api/embeddings.py | 14 | __all__ = ["embeddings"] | CODE |
| LOW | bindings/python/runanywhere/api/rag.py | 18 | __all__ = ["RagSession", "rag"] | CODE |
| LOW | bindings/python/runanywhere/api/diarization.py | 24 | __all__ = ["diarization"] | CODE |
| LOW | bindings/python/runanywhere/api/images.py | 20 | __all__ = ["images"] | CODE |
| LOW | bindings/python/runanywhere/api/lora.py | 20 | __all__ = ["lora"] | CODE |
| LOW | bindings/python/runanywhere/api/vad.py | 18 | __all__ = ["vad"] | CODE |
| LOW | bindings/python/runanywhere/api/stt.py | 15 | __all__ = ["stt"] | CODE |
| LOW | bindings/python/runanywhere/api/segmentation.py | 26 | __all__ = ["segmentation"] | CODE |
| LOW | bindings/python/runanywhere/_native/__init__.py | 116 | __all__ = ["get_core"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release/prepublish_check.py | 101 | except Exception: | CODE |
| LOW | scripts/release/prepublish_check.py | 193 | except Exception as e: | CODE |
| LOW | scripts/release/prepublish_check.py | 243 | except Exception: | CODE |
| LOW | bindings/python/tests/conftest.py | 40 | except Exception: | CODE |
| LOW | bindings/python/tests/conftest.py | 159 | except Exception: | CODE |
| LOW | bindings/python/tests/test_smoke.py | 77 | except Exception: | CODE |
| LOW | bindings/python/tests/fake_core.py | 327 | except Exception: # noqa: BLE001 | CODE |
| LOW | bindings/python/runanywhere/_handles.py | 117 | except Exception: # noqa: BLE001 | CODE |
| LOW | bindings/python/runanywhere/_rag_bridge.py | 23 | except Exception as exc: # pragma: no cover - exercised only on a protobuf-free install | CODE |
| LOW | bindings/python/runanywhere/events.py | 284 | except Exception: # noqa: BLE001 | CODE |
| LOW | bindings/python/runanywhere/download.py | 197 | except Exception: | CODE |
| LOW | bindings/python/runanywhere/download.py | 441 | except Exception as e: # noqa: BLE001 - surface a clear message | CODE |
| LOW | bindings/python/runanywhere/_runtime.py | 91 | except Exception: # noqa: BLE001 — URLError/timeout/TLS = transport failure | CODE |
| LOW | bindings/python/runanywhere/_runtime.py | 254 | except Exception: # noqa: BLE001 — one bad unload must not block teardown | CODE |
| LOW | bindings/python/runanywhere/_runtime.py | 406 | except Exception: # noqa: BLE001 — teardown is best effort | CODE |
| LOW | bindings/python/runanywhere/_runtime.py | 666 | except Exception: | CODE |
| LOW | bindings/python/runanywhere/_streaming.py | 67 | except Exception: # noqa: BLE001 — teardown must not raise | CODE |
| LOW | bindings/python/runanywhere/server/app.py | 332 | except Exception: # noqa: BLE001 — generic message; exact error stays server-side | CODE |
| LOW | bindings/python/runanywhere/server/app.py | 338 | except Exception: # noqa: BLE001 — best-effort cleanup | CODE |
| LOW | bindings/python/runanywhere/server/app.py | 361 | except Exception: # noqa: BLE001 | CODE |
| LOW | bindings/python/runanywhere/server/app.py | 435 | except Exception as exc: # noqa: BLE001 — headers already sent (200) | CODE |
| LOW | bindings/python/runanywhere/server/app.py | 466 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bindings/python/runanywhere/server/app.py | 709 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bindings/python/runanywhere/server/app.py | 804 | except Exception: # noqa: BLE001 — generic client-facing message | CODE |
| LOW | bindings/python/runanywhere/server/manager.py | 58 | except Exception: # noqa: BLE001 — status is metadata, never fatal | CODE |
| LOW | bindings/python/runanywhere/cli/handlers.py | 88 | except Exception: # noqa: BLE001 — memory info is best-effort metadata | CODE |
| LOW | bindings/python/runanywhere/api/vad.py | 134 | except Exception as error: # noqa: BLE001 | CODE |
| LOW | bindings/python/runanywhere/api/vad.py | 157 | except Exception: # noqa: BLE001 | CODE |
| LOW | bindings/python/runanywhere/api/vad.py | 162 | except Exception: # noqa: BLE001 | CODE |
| MEDIUM | bindings/flutter/docs/Documentation.md | 459 | print('Error [${e.errorCode}]: ${e.message}'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/tests/test_sdk_event_stream.cpp | 287 | // The robust contract for those bindings is to drain | COMMENT |
| MEDIUM⚡ | core/tests/scripts/run-tests-web.sh | 16 | # Drives the in-repo minimal harness (bindings/web/example). The full | COMMENT |
| MEDIUM | scripts/setup/setup.sh | 221 | # The minimal harness is a standalone npm project (not a workspace member), | COMMENT |
| MEDIUM | scripts/setup/setup.sh | 236 | # The minimal harness is a standalone npm project that symlinks both of the | COMMENT |
| MEDIUM | .github/workflows/web-full-e2e.yml | 9 | # harness falls back to the in-repo minimal example | COMMENT |
| MEDIUM | .github/workflows/release.yml | 903 | # The browser gates drive the in-repo minimal harness | COMMENT |
| LOW | bindings/web/wasm/scripts/build.sh | 133 | # Build every per-package target in sequence. We just set the flags | COMMENT |
| MEDIUM | …Sources/runanywhere_native/RagQueryStreamNativePort.mm | 77 | // Forward-declared (not pulled from rac_rag.h) so this helper stays robust | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/tests/scripts/run-tests-android.sh | 364 | # Check if binary was pushed | COMMENT |
| LOW | core/tests/scripts/run-tests-linux.sh | 195 | # Check if binary exists | COMMENT |
| LOW | core/scripts/macos/download-sherpa-onnx.sh | 55 | # Check if the complete release inventory is already built. Older runs copied | COMMENT |
| LOW | core/scripts/macos/download-onnx.sh | 37 | # Check if already exists | COMMENT |
| LOW | core/scripts/ios/download-sherpa-onnx.sh | 34 | # Check if already exists and is valid | COMMENT |
| LOW⚡ | core/scripts/linux/download-sherpa-onnx.sh | 76 | # Check if already downloaded | COMMENT |
| LOW | bindings/web/wasm/scripts/setup-emsdk.sh | 70 | # Check if already installed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | core/scripts/load-versions.sh | 8 | # After sourcing, you can use variables like: | COMMENT |
| MEDIUM | …unAnywhere/Public/API/Namespaces/ModelsNamespace.swift | 538 | /// `.unspecified` is not a loadable slot; treat it as a language model. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .gitleaks.toml | 61 | '''placeholder''', | STRING |
| LOW | …re/include/rac/infrastructure/network/rac_dev_config.h | 49 | * "placeholder"). | COMMENT |
| LOW | …rc/infrastructure/network/rac_dev_config_usability.cpp | 47 | normalized.find("placeholder") == std::string::npos; | CODE |
| LOW | …tive/packages/core/cpp/bridges/ExternalConfigGuard.hpp | 50 | value.find("placeholder") != std::string::npos; | CODE |
| LOW | …ources/RunAnywhere/CRACommons/include/rac_dev_config.h | 49 | * "placeholder"). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/react-native/scripts/test_validate_public_packages.py | 373 | CODE | |
| LOW | bindings/python/runanywhere/_llm_stream.py | 64 | CODE | |
| LOW | bindings/python/runanywhere/server/__init__.py | 20 | CODE | |
| LOW | bindings/python/runanywhere/server/app.py | 530 | CODE | |
| LOW | …dings/kotlin/scripts/test_validate_public_artifacts.py | 182 | CODE |