Quantization, kernels, runtime and inference engine for mobiles, wearables, smart home and robots.
This report presents the forensic synthetic code analysis of cactus-compute/cactus, a C++ project with 5,554 GitHub stars. SynthScan v2.0 examined 223,044 lines of code across 583 source files, recording 1135 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 5.3 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 1135 distinct pattern matches across 12 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 |
|---|---|---|---|---|
| LOW | python/cactus/models/needle/modeling_needle.py | 67 | def _rotary_tables_for_position_ids( | CODE |
| LOW | python/cactus/models/needle/__init__.py | 4 | def register_with_transformers() -> None: | CODE |
| LOW | python/cactus/models/needle/tokenization_needle.py | 79 | def build_inputs_with_special_tokens( | CODE |
| LOW | python/cactus/models/needle/tokenization_needle.py | 108 | def create_token_type_ids_from_sequences( | CODE |
| LOW | python/cactus/cli/transpile.py | 12 | def _weights_dir_looks_transpile_ready(weights_dir): | CODE |
| LOW | python/cactus/cli/runtime.py | 26 | def _python_runtime_library_path(): | CODE |
| LOW | python/cactus/cli/runtime.py | 34 | def _public_cactus_api_symbols(static_lib): | CODE |
| LOW | python/cactus/cli/runtime.py | 56 | def _link_python_runtime_library(*, static_lib, library_path): | CODE |
| LOW | python/cactus/cli/runtime.py | 99 | def ensure_python_runtime_library(): | CODE |
| LOW | python/cactus/cli/model.py | 133 | def _default_multimodal_assets(): | CODE |
| LOW | python/cactus/cli/model.py | 151 | def _remove_stale_transpile_artifacts(output_dir): | CODE |
| LOW | python/cactus/cli/utils.py | 236 | def validate_extracted_bundle(output_dir: Path) -> None: | CODE |
| LOW | python/cactus/transpile/component_partition.py | 27 | def _normalized_name_candidates( | CODE |
| LOW | python/cactus/transpile/component_partition.py | 53 | def classify_component_semantic_candidates( | CODE |
| LOW | python/cactus/transpile/component_partition.py | 266 | def _clone_value_for_subgraph(value: IRValue, *, as_input: bool) -> IRValue: | CODE |
| LOW | python/cactus/transpile/component_partition.py | 274 | def extract_component_subgraphs(graph: IRGraph) -> dict[str, IRGraph]: | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 95 | def _inject_export_safe_kwargs(model: torch.nn.Module, kwargs: dict[str, Any]) -> dict[str, Any]: | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 114 | def _call_transpile_metadata_provider(module: torch.nn.Module, args: tuple[Any, ...], kwargs: dict[str, Any]) -> dict[st | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 131 | def _collect_transpile_metadata(model: torch.nn.Module, args: tuple[Any, ...], kwargs: dict[str, Any]) -> dict[str, Any] | CODE |
| LOW⚡ | python/cactus/transpile/capture_pytorch.py | 161 | def _prepare_import_graph_module(ep: Any, args: tuple[Any, ...], kwargs: dict[str, Any]) -> Any: | CODE |
| LOW⚡ | python/cactus/transpile/capture_pytorch.py | 175 | def _suppress_transformers_model_output_registration(): | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 195 | def _noop_register_model_output_pytree_node(*_args: Any, **_kwargs: Any) -> None: | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 279 | def capture_model_with_fallback(model, args, kwargs=None) -> CapturedModel: | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 297 | def _try_materialize_int_tuple(values: Iterable[Any]) -> tuple[int, ...] | None: | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 80 | def _with_parakeet_tdt_aliases(state_dict: dict[str, torch.Tensor]) -> dict[str, torch.Tensor]: | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 115 | def prepare_parakeet_tdt_audio_features( | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 130 | def greedy_decode_parakeet_tdt_token_ids( | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 206 | def _initial_parakeet_tdt_blank_id(config: ParakeetTDTConfig) -> int: | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 214 | def _effective_parakeet_tdt_blank_id( | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 311 | def _load_parakeet_vocabulary(root: Path) -> tuple[str, ...]: | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 382 | def _relative_position_embeddings(*, seq_len: int, hidden_dim: int, device: torch.device, dtype: torch.dtype) -> torch.T | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 840 | def build_parakeet_tdt_component_specs( | CODE |
| LOW | python/cactus/transpile/weight_compat.py | 74 | def ensure_binding_compatible(binding: WeightBinding, source_tensor: object | None = None) -> WeightBinding: | CODE |
| LOW | python/cactus/transpile/weight_compat.py | 79 | def ensure_embedding_binding_compatible(binding: WeightBinding) -> WeightBinding: | CODE |
| LOW | python/cactus/transpile/weight_compat.py | 167 | def _can_materialize_compat_weight(source_tensor: object | None) -> bool: | CODE |
| LOW | python/cactus/transpile/weight_compat.py | 179 | def _compat_weight_scale_factor(source_path: Path) -> float: | CODE |
| LOW | python/cactus/transpile/weight_compat.py | 213 | def _materialize_source_cq_weight( | CODE |
| LOW | python/cactus/transpile/weight_compat.py | 307 | def _materialize_cq_embedding_cache( | CODE |
| LOW | python/cactus/transpile/weight_compat.py | 429 | def _estimate_embedding_input_scale( | CODE |
| LOW | python/cactus/transpile/weight_compat.py | 487 | def _quantize_orthogonal_chunk( | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 140 | def load_jax_user_graph_bundle(bundle_dir_or_manifest: str | Path) -> LoadedJaxUserGraphBundle: | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 187 | def _resolve_components_manifest(bundle_dir_or_manifest: str | Path) -> Path: | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 234 | def _embed_materialized_bound_constants(transpiled_graph: TranspiledGraph) -> None: | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 245 | def _serialize_json_compatible(value: Any) -> Any: | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 326 | def build_jax_user_graph_bundle( | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 368 | def build_jax_generation_graph_bundle( | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 415 | def capture_jax_generation_graphs( | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 480 | def _write_jax_user_graph_bundle( | CODE |
| LOW | python/cactus/transpile/model_profiles.py | 277 | def multimodal_context_tokens_for_model_type(model_type: str, default: int) -> int: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 187 | def _slugify_model_artifact_name(value: str) -> str: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 191 | def _default_artifact_dir_for_model(model_id: str) -> Path: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 224 | def _component_graphs_to_payload(component_graphs: dict[str, IRGraph]) -> dict[str, object]: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 231 | def _binding_entries_by_node_id( | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 243 | def _externalize_shared_rope_tables( | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 515 | def _aggregate_component_counts(component_graphs: dict[str, IRGraph]) -> dict[str, int]: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 522 | def _aggregate_component_op_counts(component_graphs: dict[str, IRGraph]) -> Counter: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 529 | def _count_component_weight_bindings(component_graphs: dict[str, IRGraph]) -> int: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 1857 | def _resolve_text_padding_token_id(tokenizer: object | None) -> int: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 1865 | def _resolve_graph_safe_text_padding_token_id( | CODE |
| LOW | python/cactus/transpile/hf_model.py | 74 | def _ensure_transformers_supports_model_type(model_type: str) -> str | None: | CODE |
| 554 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cactus/server.py | 83 | except Exception: | CODE |
| LOW | python/cactus/server.py | 312 | except Exception: | CODE |
| LOW | python/cactus/server.py | 610 | except Exception as exc: | CODE |
| LOW | python/cactus/server.py | 909 | except Exception as exc: | CODE |
| LOW | python/cactus/cli/upload.py | 48 | except Exception: | CODE |
| LOW | python/cactus/cli/code.py | 57 | except Exception: | CODE |
| LOW | python/cactus/cli/code.py | 78 | except Exception: | CODE |
| LOW | python/cactus/cli/code.py | 92 | except Exception: | CODE |
| LOW | python/cactus/cli/code.py | 189 | except Exception: | CODE |
| MEDIUM | python/cactus/cli/code.py | 50 | def _discover_local_model() -> str | None: | CODE |
| MEDIUM | python/cactus/cli/__init__.py | 495 | print(f"Error: `cactus {args.command}` requires a git clone of the cactus repository.") | STRING |
| LOW | python/cactus/cli/serve.py | 28 | except Exception as exc: | CODE |
| LOW | python/cactus/cli/model.py | 269 | except Exception as e: | CODE |
| LOW | python/cactus/cli/utils.py | 153 | except Exception: | CODE |
| LOW | python/cactus/cli/utils.py | 406 | except Exception as exc: | CODE |
| LOW | python/cactus/cli/config_utils.py | 30 | except Exception: | CODE |
| LOW⚡ | python/cactus/transpile/capture_pytorch.py | 169 | except Exception: | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 186 | except Exception: | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 227 | except Exception as exc: | CODE |
| LOW⚡ | python/cactus/transpile/capture_pytorch.py | 251 | except Exception as exc: | CODE |
| LOW⚡ | python/cactus/transpile/capture_pytorch.py | 257 | except Exception: | CODE |
| LOW⚡ | python/cactus/transpile/capture_pytorch.py | 261 | except Exception: | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 282 | except Exception: | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 302 | except Exception: | CODE |
| MEDIUM | python/cactus/transpile/capture_pytorch.py | 279 | def capture_model_with_fallback(model, args, kwargs=None) -> CapturedModel: | CODE |
| LOW | python/cactus/transpile/tdt_runtime.py | 328 | except Exception: | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 281 | except Exception: | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 314 | except Exception: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 183 | except Exception: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 238 | except Exception: | CODE |
| LOW⚡ | python/cactus/transpile/hf_model.py | 1851 | except Exception: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 1144 | except Exception: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 1236 | except Exception: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 1293 | except Exception: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 1304 | except Exception: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 1309 | except Exception: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 1584 | except Exception: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2073 | except Exception as exc: # pragma: no cover | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2404 | except Exception as exc: # pragma: no cover | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2429 | except Exception as exc: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2469 | except Exception as exc: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2495 | except Exception as exc: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2546 | except Exception as exc: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2615 | except Exception as exc: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2651 | except Exception as exc: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2670 | except Exception: | CODE |
| LOW | python/cactus/transpile/hf_model.py | 2688 | except Exception: | CODE |
| LOW | python/cactus/transpile/multimodal_runtime.py | 143 | except Exception as exc: # pragma: no cover | CODE |
| LOW | python/cactus/transpile/multimodal_runtime.py | 185 | except Exception as exc: # pragma: no cover | CODE |
| LOW | python/cactus/transpile/multimodal_runtime.py | 422 | except Exception: | CODE |
| LOW | python/cactus/transpile/multimodal_runtime.py | 547 | except Exception as exc: | CODE |
| LOW | python/cactus/transpile/multimodal_runtime.py | 555 | except Exception: | CODE |
| LOW | python/cactus/transpile/model_adapters.py | 25 | except Exception: | CODE |
| LOW | python/cactus/transpile/model_adapters.py | 28 | except Exception: | CODE |
| LOW | python/cactus/transpile/model_adapters.py | 331 | except Exception: | CODE |
| LOW | python/cactus/transpile/model_adapters.py | 461 | except Exception: | CODE |
| LOW | python/cactus/transpile/model_adapters.py | 1418 | except Exception: | CODE |
| LOW | python/cactus/transpile/model_adapters.py | 1981 | except Exception: | CODE |
| LOW | python/cactus/transpile/model_adapters.py | 3045 | except Exception: | CODE |
| LOW | python/cactus/transpile/model_adapters.py | 3095 | except Exception: | CODE |
| 82 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cactus-graph/cactus_graph.h | 1 | #ifndef CACTUS_GRAPH_H | COMMENT |
| LOW | cactus-graph/tests/test_utils.h | 1 | #pragma once | COMMENT |
| LOW | cactus-graph/src/io.cpp | 1 | #include "../cactus_graph.h" | COMMENT |
| LOW | cactus-graph/src/execute.cpp | 1 | #include "../cactus_graph.h" | COMMENT |
| LOW | cactus-graph/src/ops_nn.cpp | 1 | #include "../cactus_graph.h" | COMMENT |
| LOW | …coding-agent/src/modes/interactive/interactive-mode.ts | 3181 | // `signal-exit` checks the listener list during the same SIGTERM/SIGHUP | COMMENT |
| LOW | cactus-kernels/metal_backend.h | 1 | #ifndef CACTUS_METAL_BACKEND_H | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 181 | #if defined(STB_IMAGE_RESIZE_IMPLEMENTATION) || defined(STB_IMAGE_RESIZE2_IMPLEMENTATION) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 201 | COMMENT | |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 221 | #pragma fp_contract(off) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 521 | return (unsigned char) ((bias + scale*t) >> 16); | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 541 | COMMENT | |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 561 | #endif | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 581 | COMMENT | |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 601 | #endif | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 621 | #define STBIR_NO_UNROLL( ptr ) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 641 | #endif | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 661 | #ifdef STBIR_SSE2 | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 681 | #define stbir__simdf_zeroP() _mm_setzero_ps() | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 721 | #define stbir__simdf_convert_float_to_int( f ) _mm_cvtt_ss2si(f) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 741 | #define stbir__simdf_madd( out, add, mul1, mul2 ) (out) = _mm_add_ps( add, _mm_mul_ps( mul1, mul2 ) ) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 821 | #else | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 861 | #define stbir__simdf8_store( ptr, out ) _mm256_storeu_ps( (float*)(ptr), out ) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 981 | static __m256i stbir_22223333 = { STBIR__CONST_4d_32i( 2, 2, 2, 2 ), STBIR__CONST_4d_32i( 3, 3, 3, 3 ) }; | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1001 | #define stbir__simdf8_0123to12301230( out, in ) (out) = _mm256_shuffle_ps ( in, in, (1<<0)+(2<<2)+(3<<4)+(0<<6) ) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1021 | #define stbir__simdf8_madd_mem( out, add, mul, ptr ) (out) = _mm256_add_ps( add, _mm256_mul_ps( mul, _mm256_loadu_ps | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1061 | COMMENT | |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1081 | #define stbir__simdf_load2hmerge( out, reg, ptr ) (out) = vcombine_f32( vget_low_f32(reg), vld1_f32( (float const*)(pt | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1121 | #define stbir__simdf_convert_float_to_int( f ) vgetq_lane_s32(vcvtq_s32_f32(f), 0) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1141 | #define stbir__simdf_madd_mem( out, add, mul, ptr ) (out) = vaddq_f32( add, vmulq_f32( mul, vld1q_f32( (float const*)( | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1281 | #define STBIR__CONSTI(var) (*(const uint32x4_t*)var) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1321 | return vget_lane_f32(r, 0); | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1341 | #define stbir__simdf_load1z( out, ptr ) (out) = wasm_v128_load32_zero( (void const*)(ptr) ) // top values mu | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1381 | out1 = wasm_u32x4_extend_high_u16x8( ireg ); \ | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1401 | COMMENT | |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1501 | #endif // NO SIMD | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1521 | #define stbir__simdfX_convert_float_to_i32 stbir__simdf8_convert_float_to_i32 | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1541 | #define stbir__simdiX_load stbir__simdi_load | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1561 | #define STBIR_max_uint16_as_floatX STBIR__CONSTF(STBIR_max_uint16_as_float) | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 1861 | #endif | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 2041 | COMMENT | |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 2061 | #include <math.h> | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 3201 | STBIR_PROFILE_BUILD_END( pivot ); | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 3221 | #define stbir__encode_order3 3 | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 3241 | #define stbir__decode_swizzle | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 5161 | #include STBIR__HEADER_FILENAME | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 5181 | #define STBIR__vertical_channels 3 | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 5201 | #define STB_IMAGE_RESIZE_VERTICAL_CONTINUE | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 7081 | #undef STBIR_2CHANNEL | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 7101 | #define STBIR_strs_join2( start, mid, end ) start##mid##end | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 7121 | #define stbir__decode_order0 0 | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 8561 | float * end_output = ( (float*) output ) + width_times_channels; | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 8681 | } | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 8701 | #undef stbir_scalar_lo_clamp | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 8721 | #endif | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 8741 | #endif | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 9081 | #undef STB_IMAGE_RESIZE_DO_HORIZONTALS | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 9421 | STBIR_chans(stbir__horizontal_gather_,_channels_with_10_coeffs), | COMMENT |
| LOW | cactus-kernels/libs/stb_image_resize2.h | 9441 | #endif // HORIZONALS | COMMENT |
| LOW | cactus-kernels/libs/stb_image.h | 21 | typedef unsigned char stbi_uc; | COMMENT |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cactus/server.py | 2 | CODE | |
| LOW | python/cactus/__init__.py | 3 | CODE | |
| LOW | python/cactus/__init__.py | 5 | CODE | |
| LOW | python/cactus/__init__.py | 5 | CODE | |
| LOW | python/cactus/__init__.py | 5 | CODE | |
| LOW | python/cactus/__init__.py | 5 | CODE | |
| LOW | python/cactus/__init__.py | 6 | CODE | |
| LOW | python/cactus/models/needle/modeling_needle.py | 3 | CODE | |
| LOW | python/cactus/models/needle/configuration_needle.py | 3 | CODE | |
| LOW | python/cactus/models/needle/tokenization_needle.py | 3 | CODE | |
| LOW | python/cactus/cli/transpile.py | 1 | CODE | |
| LOW | python/cactus/cli/runtime.py | 1 | CODE | |
| LOW | python/cactus/cli/model.py | 2 | CODE | |
| LOW | python/cactus/cli/utils.py | 1 | CODE | |
| LOW | python/cactus/transpile/runtime_compat.py | 1 | CODE | |
| LOW | python/cactus/transpile/component_partition.py | 1 | CODE | |
| LOW | python/cactus/transpile/tdt_runtime.py | 1 | CODE | |
| LOW | python/cactus/transpile/weight_compat.py | 1 | CODE | |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 1 | CODE | |
| LOW | python/cactus/transpile/model_profiles.py | 1 | CODE | |
| LOW | python/cactus/transpile/hf_model.py | 1 | CODE | |
| LOW | python/cactus/transpile/aten_ops.py | 1 | CODE | |
| LOW | python/cactus/transpile/normalize.py | 1 | CODE | |
| LOW | python/cactus/transpile/multimodal_runtime.py | 1 | CODE | |
| LOW | python/cactus/transpile/model_adapters.py | 1 | CODE | |
| LOW | python/cactus/transpile/capture_jax.py | 1 | CODE | |
| LOW | python/cactus/transpile/importers.py | 1 | CODE | |
| LOW | python/cactus/transpile/component_plan.py | 1 | CODE | |
| LOW | python/cactus/transpile/ops.py | 1 | CODE | |
| LOW | python/cactus/transpile/model_patterns.py | 1 | CODE | |
| LOW | python/cactus/transpile/lower.py | 1 | CODE | |
| LOW | python/cactus/transpile/import_semantics.py | 1 | CODE | |
| LOW | python/cactus/transpile/audio_preprocess.py | 1 | CODE | |
| LOW | python/cactus/transpile/jax_semantic_rewrites.py | 1 | CODE | |
| LOW | python/cactus/transpile/import_ir.py | 1 | CODE | |
| LOW | python/cactus/transpile/weight_binding.py | 1 | CODE | |
| LOW | python/cactus/transpile/component_pipeline.py | 1 | CODE | |
| LOW | python/cactus/transpile/runtime_support.py | 1 | CODE | |
| LOW | python/cactus/transpile/runtime_support.py | 82 | CODE | |
| LOW | python/cactus/transpile/optimize_graph.py | 1 | CODE | |
| LOW | python/cactus/transpile/media_limits.py | 1 | CODE | |
| LOW | python/cactus/transpile/fusion/attention.py | 1 | CODE | |
| LOW | python/cactus/transpile/fusion/linear.py | 1 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 1 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 2 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 3 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 4 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 5 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 6 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 7 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 8 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 9 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 10 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 11 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 12 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 13 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 14 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 15 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 16 | CODE | |
| LOW | python/cactus/transpile/fusion/__init__.py | 17 | CODE | |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/cactus/bindings/cactus.py | 911 | # ── Telemetry ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 934 | # ── Model lifecycle ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 984 | # ── LLM completion ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 1031 | # ── Audio / speech ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 1142 | # ── Embeddings ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 1184 | # ── Tokenization ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 1225 | # ── RAG ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 1241 | # ── Vector index ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 1397 | # ── Logging ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 2617 | # ── Audio / signal processing ─────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 2689 | # ── Image processing ───────────────────────────────────────────── | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 2717 | # ── Introspection ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/tests/test_bindings.py | 17 | # ── Import and structure tests ────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/tests/test_bindings.py | 48 | # ── Helper function tests ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/tests/test_bindings.py | 461 | # ── Error path tests ────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/tests/test_bindings.py | 202 | # ── Model ID resolution tests ────────────────────────────────────── | COMMENT |
| MEDIUM | python/tests/test_bindings.py | 205 | # ── TranspileOptions tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | python/tests/test_bindings.py | 248 | # ── CLI parser tests ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/tests/test_bindings.py | 345 | # ── Index API tests ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | python/tests/test_bindings.py | 426 | # ── Streaming callback tests ────────────────────────────────────── | COMMENT |
| MEDIUM | cactus-kernels/tests/test_matmul.cpp | 270 | // ══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | cactus-kernels/tests/test_matmul.cpp | 272 | // ══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cactus/server.py | 343 | CODE | |
| LOW | python/cactus/cli/clean.py | 14 | CODE | |
| LOW | python/cactus/cli/utils.py | 373 | CODE | |
| LOW | python/cactus/transpile/component_partition.py | 164 | CODE | |
| LOW | python/cactus/transpile/component_partition.py | 274 | CODE | |
| LOW | python/cactus/transpile/tdt_runtime.py | 130 | CODE | |
| LOW | python/cactus/transpile/tdt_runtime.py | 311 | CODE | |
| LOW | python/cactus/transpile/weight_compat.py | 179 | CODE | |
| LOW | python/cactus/transpile/weight_compat.py | 307 | CODE | |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 104 | CODE | |
| LOW | python/cactus/transpile/hf_model.py | 604 | CODE | |
| LOW | python/cactus/transpile/hf_model.py | 1829 | CODE | |
| LOW | python/cactus/transpile/hf_model.py | 2363 | CODE | |
| LOW | python/cactus/transpile/hf_model.py | 2793 | CODE | |
| LOW | python/cactus/transpile/aten_ops.py | 13 | CODE | |
| LOW | python/cactus/transpile/multimodal_runtime.py | 98 | CODE | |
| LOW | python/cactus/transpile/multimodal_runtime.py | 489 | CODE | |
| LOW | python/cactus/transpile/model_adapters.py | 1861 | CODE | |
| LOW | python/cactus/transpile/model_adapters.py | 1968 | CODE | |
| LOW | python/cactus/transpile/model_adapters.py | 1988 | CODE | |
| LOW | python/cactus/transpile/model_adapters.py | 4417 | CODE | |
| LOW | python/cactus/transpile/model_adapters.py | 7152 | CODE | |
| LOW | python/cactus/transpile/capture_jax.py | 153 | CODE | |
| LOW | python/cactus/transpile/capture_jax.py | 184 | CODE | |
| LOW | python/cactus/transpile/capture_jax.py | 849 | CODE | |
| LOW | python/cactus/transpile/importers.py | 264 | CODE | |
| LOW | python/cactus/transpile/importers.py | 1129 | CODE | |
| LOW | python/cactus/transpile/component_plan.py | 23 | CODE | |
| LOW | python/cactus/transpile/lower.py | 753 | CODE | |
| LOW | python/cactus/transpile/lower.py | 3095 | CODE | |
| LOW | python/cactus/transpile/jax_semantic_rewrites.py | 324 | CODE | |
| LOW | python/cactus/transpile/jax_semantic_rewrites.py | 350 | CODE | |
| LOW | python/cactus/transpile/import_ir.py | 30 | CODE | |
| LOW | python/cactus/transpile/import_ir.py | 76 | CODE | |
| LOW | python/cactus/transpile/import_ir.py | 130 | CODE | |
| LOW | python/cactus/transpile/optimize_graph.py | 499 | CODE | |
| LOW | python/cactus/transpile/optimize_graph.py | 712 | CODE | |
| LOW | python/cactus/transpile/optimize_graph.py | 844 | CODE | |
| LOW | python/cactus/transpile/optimize_graph.py | 1161 | CODE | |
| LOW | python/cactus/transpile/optimize_graph.py | 1553 | CODE | |
| LOW | python/cactus/transpile/fusion/common.py | 56 | CODE | |
| LOW | python/cactus/transpile/fusion/deltanet.py | 169 | CODE | |
| LOW | python/cactus/transpile/fusion/deltanet.py | 233 | CODE | |
| LOW | python/cactus/transpile/canonicalize/cleanup.py | 293 | CODE | |
| LOW | python/cactus/transpile/canonicalize/cleanup.py | 417 | CODE | |
| LOW | python/cactus/transpile/canonicalize/utils.py | 152 | CODE | |
| LOW | python/cactus/bindings/cactus.py | 2765 | CODE | |
| LOW | python/cactus/bindings/cactus.py | 2957 | CODE | |
| LOW | python/cactus/convert/cli.py | 139 | CODE | |
| LOW | python/cactus/convert/cli.py | 278 | CODE | |
| LOW | python/cactus/convert/cli.py | 388 | CODE | |
| LOW | python/cactus/convert/model_adapters/naming.py | 229 | CODE | |
| LOW | python/cactus/convert/model_adapters/naming.py | 277 | CODE | |
| LOW | python/cactus/convert/model_adapters/naming.py | 317 | CODE | |
| LOW | python/cactus/convert/model_adapters/adapters.py | 674 | CODE | |
| LOW | python/cactus/convert/calibration/hessian.py | 35 | CODE | |
| LOW | python/cactus/convert/calibration/hessian.py | 170 | CODE | |
| LOW | python/cactus/convert/quantization/cq.py | 245 | CODE | |
| LOW | python/cactus/convert/export/qdq.py | 230 | CODE | |
| LOW | python/cactus/convert/export/qdq.py | 322 | CODE | |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/README.md | 256 | ### RAG | COMMENT |
| MEDIUM | python/cactus/server.py | 743 | # No LLM available — allow serving a non-LLM bundle (e.g. an embedding model). | COMMENT |
| MEDIUM | python/cactus/bindings/cactus.py | 1225 | # ── RAG ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/cactus_engine.md | 1051 | ### Complete RAG Example | COMMENT |
| MEDIUM | docs/cactus_index.md | 414 | ### RAG (Retrieval-Augmented Generation) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cactus/transpile/component_partition.py | 104 | "placeholder", | CODE |
| LOW | python/cactus/transpile/capture_pytorch.py | 56 | return [node for node in self.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | python/cactus/transpile/README.md | 328 | if node.op == "placeholder": | CODE |
| LOW⚡ | python/cactus/transpile/lower.py | 1324 | dummy_key = _materialize_constant_tensor( | CODE |
| LOW⚡ | python/cactus/transpile/lower.py | 1328 | dummy_value = _materialize_constant_tensor( | CODE |
| LOW⚡ | python/cactus/transpile/lower.py | 1334 | dummy_key, | CODE |
| LOW⚡ | python/cactus/transpile/lower.py | 1335 | dummy_value, | CODE |
| LOW | python/cactus/transpile/import_ir.py | 157 | if sub_node.op == "placeholder": | CODE |
| LOW | python/cactus/transpile/import_ir.py | 209 | if node.op == "placeholder": | CODE |
| LOW | cactus-code/packages/tui/src/components/markdown.ts | 541 | // For mailto: links strip the prefix (autolinked emails use text="foo@bar.com" | COMMENT |
| LOW | cactus-engine/tests/test_model_loading.cpp | 31 | write_file(dir + "/dummy.bin", "placeholder"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/cactus_transpiler.md | 16 | ### Step 1: Write a PyTorch Model | COMMENT |
| LOW | docs/cactus_transpiler.md | 42 | ### Step 2: Convert and Run | COMMENT |
| LOW⚡ | …code/packages/coding-agent/src/core/package-manager.ts | 745 | // Step 1: Apply includes (or all if no includes) | COMMENT |
| LOW⚡ | …code/packages/coding-agent/src/core/package-manager.ts | 753 | // Step 2: Apply excludes | COMMENT |
| LOW⚡ | …code/packages/coding-agent/src/core/package-manager.ts | 758 | // Step 3: Force-include (add back from allPaths, overriding exclusions) | COMMENT |
| LOW⚡ | …code/packages/coding-agent/src/core/package-manager.ts | 767 | // Step 4: Force-exclude (remove even if included or force-included) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cactus/__init__.py | 8 | __all__ = [ | CODE |
| LOW | python/cactus/models/needle/modeling_needle.py | 280 | def set_input_embeddings(self, value: nn.Embedding) -> None: | CODE |
| LOW | python/cactus/models/needle/modeling_needle.py | 323 | def set_input_embeddings(self, value: nn.Embedding) -> None: | CODE |
| LOW | python/cactus/models/needle/modeling_needle.py | 329 | def set_output_embeddings(self, value: nn.Linear) -> None: | CODE |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 41 | def set_inputs(self, inputs: Sequence[Any]) -> None: | CODE |
| LOW | python/cactus/transpile/capture_jax.py | 1656 | __all__ = [ | CODE |
| LOW | python/cactus/transpile/lower.py | 48 | def set_input(self, index: int, data: Any, *, dtype: int | None = None) -> None: | CODE |
| LOW | python/cactus/transpile/lower.py | 55 | def set_inputs(self, inputs: list[Any] | tuple[Any, ...]) -> None: | CODE |
| LOW | python/cactus/transpile/fusion/__init__.py | 24 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …code/packages/coding-agent/src/core/package-manager.ts | 745 | // Step 1: Apply includes (or all if no includes) | COMMENT |
| LOW⚡ | …code/packages/coding-agent/src/core/package-manager.ts | 753 | // Step 2: Apply excludes | COMMENT |
| LOW⚡ | …code/packages/coding-agent/src/core/package-manager.ts | 758 | // Step 3: Force-include (add back from allPaths, overriding exclusions) | COMMENT |
| LOW⚡ | …code/packages/coding-agent/src/core/package-manager.ts | 767 | // Step 4: Force-exclude (remove even if included or force-included) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cactus/server.py | 722 | CODE | |
| LOW | python/cactus/server.py | 812 | CODE | |
| LOW | python/cactus/models/needle/configuration_needle.py | 11 | CODE | |
| LOW | python/cactus/transpile/jax_user_graph_bundle.py | 368 | CODE | |
| LOW | python/cactus/bindings/cactus.py | 2660 | CODE |