Docker configuration for running VLLM on dual DGX Sparks
This report presents the forensic synthetic code analysis of eugr/spark-vllm-docker, a Shell project with 1,833 GitHub stars. SynthScan v2.0 examined 12,545 lines of code across 70 source files, recording 82 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 15.0 places this repository in the Moderate 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 82 distinct pattern matches across 10 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 | build-and-copy.sh | 645 | # ===================================================== | COMMENT |
| MEDIUM | build-and-copy.sh | 647 | # ===================================================== | COMMENT |
| MEDIUM | build-and-copy.sh | 689 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | build-and-copy.sh | 691 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | build-and-copy.sh | 757 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | build-and-copy.sh | 759 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | build-and-copy.sh | 838 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | build-and-copy.sh | 840 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | build-and-copy.sh | 871 | # ===================================================== | COMMENT |
| MEDIUM | build-and-copy.sh | 873 | # ===================================================== | COMMENT |
| MEDIUM | tests/test_recipes.sh | 656 | # ============================================================================== | COMMENT |
| MEDIUM | tests/test_recipes.sh | 658 | # ============================================================================== | COMMENT |
| MEDIUM | tests/test_recipes.sh | 1019 | # ============================================================================== | COMMENT |
| MEDIUM | tests/test_recipes.sh | 1021 | # ============================================================================== | COMMENT |
| MEDIUM | tests/test_recipes.sh | 1243 | # ============================================================================== | COMMENT |
| MEDIUM | tests/test_recipes.sh | 1246 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | tests/expected_commands.sh | 10 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | tests/expected_commands.sh | 13 | # ============================================================================== | COMMENT |
| MEDIUM | tests/expected_commands.sh | 30 | # ============================================================================== | COMMENT |
| MEDIUM | tests/expected_commands.sh | 33 | # ============================================================================== | COMMENT |
| MEDIUM | tests/expected_commands.sh | 53 | # ============================================================================== | COMMENT |
| MEDIUM | tests/expected_commands.sh | 56 | # ============================================================================== | COMMENT |
| MEDIUM | tests/expected_commands.sh | 70 | # ============================================================================== | COMMENT |
| MEDIUM | tests/expected_commands.sh | 74 | # ============================================================================== | COMMENT |
| MEDIUM | mods/exp-b12x/run.sh | 28 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | mods/exp-b12x/run.sh | 33 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | mods/exp-b12x/run.sh | 49 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | mods/exp-b12x/run.sh | 52 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | mods/exp-b12x/run.sh | 89 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | mods/exp-b12x/run.sh | 96 | # --------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build-and-copy.sh | 152 | except Exception: | CODE |
| MEDIUM | run-recipe.py | 99 | print("Error: PyYAML is required. Install with: pip install pyyaml") | CODE |
| MEDIUM | run-recipe.py | 186 | print(f"Error: Recipe not found: {recipe_path}") | CODE |
| MEDIUM | run-recipe.py | 197 | print(f"Error: Recipe missing required field: {field}") | CODE |
| MEDIUM | run-recipe.py | 346 | print(f"Error: Build script not found: {BUILD_SCRIPT}") | CODE |
| MEDIUM | run-recipe.py | 386 | print(f"Error: Download script not found: {DOWNLOAD_SCRIPT}") | CODE |
| MEDIUM | run-recipe.py | 503 | print(f"Error: Missing parameter in recipe command: {e}") | CODE |
| MEDIUM | run-recipe.py | 611 | print(f"Error: Autodiscover script not found: {AUTODISCOVER_SCRIPT}") | CODE |
| LOW | run-recipe.py | 274 | except Exception as e: | CODE |
| MEDIUM | run-recipe.py | 634 | print("Error: Autodiscover failed") | STRING |
| MEDIUM | run-recipe.py | 1070 | print(f"Error: Recipe '{recipe['name']}' requires cluster mode.") | STRING |
| MEDIUM | run-recipe.py | 1081 | print(f"Error: Recipe '{recipe['name']}' requires solo mode.") | STRING |
| MEDIUM | run-recipe.py | 1097 | print("Error: --earlyoom requires launch-cluster.sh to clear the image entrypoint.") | STRING |
| MEDIUM | run-recipe.py | 1166 | print("Error: Failed to build container") | STRING |
| MEDIUM | run-recipe.py | 1181 | print("Error: Failed to build/copy container") | STRING |
| MEDIUM | run-recipe.py | 1206 | print("Error: Failed to download model") | STRING |
| MEDIUM | run-recipe.py | 1232 | print("Error: Failed to build image") | STRING |
| MEDIUM⚡ | launch-cluster.sh | 228 | print(f'Error: Invalid syntax at line {line_num}: missing \"=\"') | CODE |
| MEDIUM⚡ | launch-cluster.sh | 235 | print(f'Error: Invalid key format at line {line_num}: {key}') | CODE |
| MEDIUM⚡ | launch-cluster.sh | 240 | print(f'Error: Duplicate key at line {line_num}: {key}') | CODE |
| LOW | mods/fix-qwen3-coder-next/_triton_alloc_setup.py | 8 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run-recipe.py | 1050 | # Check if recipe requires cluster mode | STRING |
| LOW | run-recipe.py | 1221 | # Check if image exists (if not using --setup) | STRING |
| LOW | launch-cluster.sh | 315 | # Check if non-privileged flags were used without --non-privileged | COMMENT |
| LOW⚡ | launch-cluster.sh | 399 | # Check if it's an absolute path or relative path that exists | COMMENT |
| LOW⚡ | launch-cluster.sh | 402 | # Check if it's just a filename, look in examples/ directory | COMMENT |
| LOW⚡ | launch-cluster.sh | 405 | # Check if it's a name without .sh extension | COMMENT |
| LOW | launch-cluster.sh | 419 | # Set command to run the copied script (use absolute path since docker exec may not be in /workspace) | COMMENT |
| LOW | launch-cluster.sh | 672 | # Check if cluster is already running | COMMENT |
| LOW | launch-cluster.sh | 1105 | # Check if ray is responsive | COMMENT |
| LOW | autodiscover.sh | 165 | # Set IB_IF to all four RoCE interfaces (hardcoded for mesh) | COMMENT |
| LOW | autodiscover.sh | 244 | # Check if remote is a GB10 system | COMMENT |
| LOW | hf-download.sh | 130 | # Check if uvx is installed | COMMENT |
| LOW | tests/test_recipes.sh | 1078 | # Check if value is present (might be on next line due to formatting) | COMMENT |
| LOW | mods/fix-glm-4.7-flash-AWQ/run.sh | 7 | # Check if PR 34695 is already applied by looking for the changed file | COMMENT |
| LOW | mods/fix-glm-4.7-flash-AWQ/run.sh | 9 | # Check if the specific line from PR 34695 is already present | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_recipes.sh | 511 | # Create a temporary recipe with unsupported version | COMMENT |
| MEDIUM | tests/test_recipes.sh | 535 | # Create a temporary recipe without recipe_version | COMMENT |
| MEDIUM | tests/test_recipes.sh | 558 | # Create a temporary cluster_only recipe | COMMENT |
| MEDIUM | tests/test_recipes.sh | 584 | # Create a temporary solo_only recipe | COMMENT |
| MEDIUM⚡ | tests/expected_commands.sh | 2 | # This file is used by test_recipes.sh to verify recipes match README documentation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | run-recipe.py | 134 | Load and validate a recipe YAML file. This function handles recipe resolution from multiple locations and vali | STRING |
| HIGH | run-recipe.py | 320 | Build the container image using build-and-copy.sh. Delegates to the build-and-copy.sh script which handles mul | STRING |
| HIGH | run-recipe.py | 438 | Generate a bash launch script from the recipe. Creates a self-contained bash script that runs inside the conta | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_recipes.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tests/expected_commands.sh | 1 | # Expected vLLM serve arguments for each recipe | COMMENT |
| LOW | recipes/glm-4.7-flash-awq.yaml | 1 | # Recipe: GLM-4.7-Flash-AWQ-4bit | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_recipes.sh | 8 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run-recipe.py | 115 | def strip_distributed_executor_backend(command: str) -> str: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run-recipe.py | 567 | CODE | |
| LOW | run-recipe.py | 646 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mods/fix-qwen35-tp4-marlin/fix_rope.py | 2 | CODE |