Repository Analysis

eugr/spark-vllm-docker

Docker configuration for running VLLM on dual DGX Sparks

11.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of eugr/spark-vllm-docker, a Shell project with 2,197 GitHub stars. SynthScan v2.0 examined 19,123 lines of code across 107 source files, recording 105 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 11.2 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).

11.2
Adjusted Score
11.2
Raw Score
100%
Time Factor
2026-08-27
Last Push
2.2K
Stars
Shell
Language
19.1K
Lines of Code
107
Files
105
Pattern Hits
2026-08-29
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 3MEDIUM 55LOW 47

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 105 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators30 hits · 93 pts
SeverityFileLineSnippetContext
MEDIUMbuild-and-copy.sh1073# =====================================================COMMENT
MEDIUMbuild-and-copy.sh1075# =====================================================COMMENT
MEDIUMbuild-and-copy.sh1119 # ----------------------------------------------------------COMMENT
MEDIUMbuild-and-copy.sh1121 # ----------------------------------------------------------COMMENT
MEDIUMbuild-and-copy.sh1185 # ----------------------------------------------------------COMMENT
MEDIUMbuild-and-copy.sh1187 # ----------------------------------------------------------COMMENT
MEDIUMbuild-and-copy.sh1300 # ----------------------------------------------------------COMMENT
MEDIUMbuild-and-copy.sh1302 # ----------------------------------------------------------COMMENT
MEDIUMbuild-and-copy.sh1343# =====================================================COMMENT
MEDIUMbuild-and-copy.sh1345# =====================================================COMMENT
MEDIUMtests/test_recipes.sh678# ==============================================================================COMMENT
MEDIUMtests/test_recipes.sh680# ==============================================================================COMMENT
MEDIUMtests/test_recipes.sh1123# ==============================================================================COMMENT
MEDIUMtests/test_recipes.sh1125# ==============================================================================COMMENT
MEDIUMtests/test_recipes.sh1347# ==============================================================================COMMENT
MEDIUMtests/test_recipes.sh1350# ==============================================================================COMMENT
MEDIUMtests/expected_commands.sh10# ==============================================================================COMMENT
MEDIUMtests/expected_commands.sh13# ==============================================================================COMMENT
MEDIUMtests/expected_commands.sh30# ==============================================================================COMMENT
MEDIUMtests/expected_commands.sh33# ==============================================================================COMMENT
MEDIUMtests/expected_commands.sh53# ==============================================================================COMMENT
MEDIUMtests/expected_commands.sh56# ==============================================================================COMMENT
MEDIUMtests/expected_commands.sh70# ==============================================================================COMMENT
MEDIUMtests/expected_commands.sh74# ==============================================================================COMMENT
MEDIUMmods/exp-b12x/run.sh28# ---------------------------------------------------------------COMMENT
MEDIUMmods/exp-b12x/run.sh31# ---------------------------------------------------------------COMMENT
MEDIUMmods/exp-b12x/run.sh50# ---------------------------------------------------------------COMMENT
MEDIUMmods/exp-b12x/run.sh53# ---------------------------------------------------------------COMMENT
MEDIUMmods/exp-b12x/run.sh90# ---------------------------------------------------------------COMMENT
MEDIUMmods/exp-b12x/run.sh97# ---------------------------------------------------------------COMMENT
Excessive Try-Catch Wrapping22 hits · 35 pts
SeverityFileLineSnippetContext
LOWbuild-and-copy.sh288except Exception:CODE
MEDIUMrun-recipe.py99 print("Error: PyYAML is required. Install with: pip install pyyaml")CODE
MEDIUMrun-recipe.py212 print(f"Error: Recipe not found: {recipe_path}")CODE
MEDIUMrun-recipe.py223 print(f"Error: Recipe missing required field: {field}")CODE
MEDIUMrun-recipe.py372 print(f"Error: Build script not found: {BUILD_SCRIPT}")CODE
MEDIUMrun-recipe.py412 print(f"Error: Download script not found: {DOWNLOAD_SCRIPT}")CODE
MEDIUMrun-recipe.py529 print(f"Error: Missing parameter in recipe command: {e}")CODE
MEDIUMrun-recipe.py637 print(f"Error: Autodiscover script not found: {AUTODISCOVER_SCRIPT}")CODE
LOWrun-recipe.py300 except Exception as e:CODE
MEDIUMrun-recipe.py660 print("Error: Autodiscover failed")STRING
MEDIUMrun-recipe.py1124 print(f"Error: Recipe '{recipe['name']}' requires cluster mode.")STRING
MEDIUMrun-recipe.py1135 print(f"Error: Recipe '{recipe['name']}' requires solo mode.")STRING
MEDIUMrun-recipe.py1151 print("Error: --earlyoom requires launch-cluster.sh to clear the image entrypoint.")STRING
MEDIUMrun-recipe.py1222 print("Error: Failed to build container")STRING
MEDIUMrun-recipe.py1237 print("Error: Failed to build/copy container")STRING
MEDIUMrun-recipe.py1262 print("Error: Failed to download model")STRING
MEDIUMrun-recipe.py1288 print("Error: Failed to build image")STRING
MEDIUMlaunch-cluster.sh253 print(f'Error: Invalid syntax at line {line_num}: missing \"=\"')CODE
MEDIUMlaunch-cluster.sh260 print(f'Error: Invalid key format at line {line_num}: {key}')CODE
MEDIUMlaunch-cluster.sh265 print(f'Error: Duplicate key at line {line_num}: {key}')CODE
LOWmods/fix-qwen3-coder-next/_triton_alloc_setup.py8except Exception:CODE
LOWmods/inkling-sm12-paged-kv/run.sh58except Exception as exc:CODE
Redundant / Tautological Comments15 hits · 22 pts
SeverityFileLineSnippetContext
LOWrun-recipe.py1104 # Check if recipe requires cluster modeSTRING
LOWrun-recipe.py1277 # Check if image exists (if not using --setup)STRING
LOWlaunch-cluster.sh340 # Check if non-privileged flags were used without --non-privilegedCOMMENT
LOWlaunch-cluster.sh430 # Check if it's an absolute path or relative path that existsCOMMENT
LOWlaunch-cluster.sh433 # Check if it's just a filename, look in examples/ directoryCOMMENT
LOWlaunch-cluster.sh436 # Check if it's a name without .sh extensionCOMMENT
LOWlaunch-cluster.sh450 # Set command to run the copied script (use absolute path since docker exec may not be in /workspace)COMMENT
LOWlaunch-cluster.sh734# Check if cluster is already runningCOMMENT
LOWlaunch-cluster.sh1478 # Check if ray is responsiveCOMMENT
LOWautodiscover.sh165 # Set IB_IF to all four RoCE interfaces (hardcoded for mesh)COMMENT
LOWautodiscover.sh244 # Check if remote is a GB10 systemCOMMENT
LOWhf-download.sh130# Check if uvx is installedCOMMENT
LOWtests/test_recipes.sh1182 # Check if value is present (might be on next line due to formatting)COMMENT
LOWmods/fix-glm-4.7-flash-AWQ/run.sh7# Check if PR 34695 is already applied by looking for the changed fileCOMMENT
LOWmods/fix-glm-4.7-flash-AWQ/run.sh9 # Check if the specific line from PR 34695 is already presentCOMMENT
Self-Referential Comments5 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_recipes.sh532 # Create a temporary recipe with unsupported versionCOMMENT
MEDIUMtests/test_recipes.sh556 # Create a temporary recipe without recipe_versionCOMMENT
MEDIUMtests/test_recipes.sh579 # Create a temporary cluster_only recipeCOMMENT
MEDIUMtests/test_recipes.sh606 # Create a temporary solo_only recipeCOMMENT
MEDIUMtests/expected_commands.sh2# This file is used by test_recipes.sh to verify recipes match README documentationCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHrun-recipe.py160 Load and validate a recipe YAML file. This function handles recipe resolution from multiple locations and valiSTRING
HIGHrun-recipe.py346 Build the container image using build-and-copy.sh. Delegates to the build-and-copy.sh script which handles mulSTRING
HIGHrun-recipe.py464 Generate a bash launch script from the recipe. Creates a self-contained bash script that runs inside the contaSTRING
Hyper-Verbose Identifiers10 hits · 8 pts
SeverityFileLineSnippetContext
LOWrun-recipe.py141def strip_distributed_executor_backend(command: str) -> str:CODE
LOWdocker/patch_vllm_mrv2_speculator_cudagraph_pool.py80 "def _profiling_cudagraph_managers(",CODE
LOWtests/test_pin_cutlass_dsl.py17 def test_vllm_cuda_requirement_is_updated(self):CODE
LOWtests/test_pin_cutlass_dsl.py40 def test_non_exact_requirement_is_not_silently_rewritten(self):STRING
LOWtests/test_vllm_flashinfer_b12x_patch.py99 def test_legacy_runtime_sources_are_patched_idempotently(self):STRING
LOWtests/test_vllm_flashinfer_b12x_patch.py115 def test_current_gelu_expert_is_patched_without_losing_gelu(self):STRING
LOWtests/test_vllm_flashinfer_b12x_patch.py130 def test_unknown_expert_source_shape_fails(self):STRING
LOWtests/test_build_and_copy.sh759def get_compressed_slot_mapping():CODE
LOWtests/test_build_and_copy.sh873def _profiling_cudagraph_managers(runner) -> list[CudaGraphManager]:CODE
LOW…nstanttensor-hybrid-draft-loader/patch_model_loader.py31def _instanttensor_draft_load_config(CODE
Unused Imports8 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocker/patch_vllm_flashinfer_b12x_swigluoai.py12CODE
LOWdocker/patch_vllm_b12x_c128a_topk_alignment.py10CODE
LOWdocker/patch_vllm_mrv2_speculator_cudagraph_pool.py4CODE
LOWdocker/pin_cutlass_dsl.py8CODE
LOWmods/fix-qwen35-tp4-marlin/fix_rope.py2CODE
LOW…nstanttensor-hybrid-draft-loader/patch_model_loader.py4CODE
LOWmods/inkling-sm12-paged-kv/patch_inkling.py4CODE
LOWmods/inkling-sm12-paged-kv/adapter.py9CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMmods/fix-eagle-fine-prefix/README.md188### RAG, few-shot, and batch evaluationCOMMENT
MEDIUMmods/fix-eagle-fine-prefix/README.md188### RAG, few-shot, and batch evaluationCOMMENT
Deep Nesting4 hits · 3 pts
SeverityFileLineSnippetContext
LOWrun-recipe.py593CODE
LOWrun-recipe.py672CODE
LOWdocker/patch_vllm_spark_kv_cache_cleanup.py58CODE
LOWdocker/patch_vllm_b12x_c128a_topk_alignment.py39CODE
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/test_recipes.sh1#!/bin/bashCOMMENT
LOWtests/expected_commands.sh1# Expected vLLM serve arguments for each recipeCOMMENT
LOWrecipes/glm-4.7-flash-awq.yaml1# Recipe: GLM-4.7-Flash-AWQ-4bitCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_recipes.sh8# Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/test_vllm_flashinfer_b12x_patch.py30__all__ = [CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWmods/inkling-sm12-paged-kv/adapter.py19CODE