AI Slop Code RIsk Monitor

deepseek-ai/DeepEP

DeepEP: an efficient expert-parallel communication library

8.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for deepseek-ai/DeepEP, a Cuda project with 10,262 GitHub stars. SynthScan examined 11,626 lines of code across 82 source files, recording 90 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 8.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

8.5
Adjusted Signal
8.5
Raw Pattern Score
100%
Time Factor
2026-09-30
Last Push
10.3K
Stars
Cuda
Language
11.6K
Lines of Code
82
Files
90
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 54 finding(s).

Hallucinated Dependency & Supply Chain Risk 11.7/100 · LOW

Are imports declared and package/API names verified? 29 finding(s).

Agent Over-Engineering Ratio 10.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 22 finding(s).

PR Review Velocity Impact 34.7/100 · MEDIUM

Which changes need focused human review? 90 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 1MEDIUM 2LOW 87

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 90 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Unused Imports29 hits · 29 pts
SeverityFileLineSnippetContext
LOWdeep_ep/__init__.py4CODE
LOWdeep_ep/__init__.py60CODE
LOWdeep_ep/__init__.py61CODE
LOWdeep_ep/__init__.py61CODE
LOWdeep_ep/__init__.py61CODE
LOWdeep_ep/__init__.py62CODE
LOWdeep_ep/__init__.py63CODE
LOWdeep_ep/__init__.py64CODE
LOWdeep_ep/__init__.py64CODE
LOWdeep_ep/__init__.py65CODE
LOWdeep_ep/__init__.py66CODE
LOWdeep_ep/__init__.py66CODE
LOWdeep_ep/__init__.py67CODE
LOWdeep_ep/__init__.py69CODE
LOWdeep_ep/__init__.py69CODE
LOWdeep_ep/__init__.py72CODE
LOWdeep_ep/__init__.py72CODE
LOWdeep_ep/__init__.py72CODE
LOWdeep_ep/__init__.py72CODE
LOWdeep_ep/comm/__init__.py1CODE
LOWdeep_ep/comm/__init__.py2CODE
LOWdeep_ep/comm/__init__.py2CODE
LOWdeep_ep/comm/__init__.py2CODE
LOWdeep_ep/comm/__init__.py2CODE
LOWdeep_ep/comm/__init__.py2CODE
LOWdeep_ep/comm/__init__.py9CODE
LOWdeep_ep/utils/envs.py12CODE
LOWdeep_ep/utils/__init__.py3CODE
LOWthird-party/tilelang_ops/__init__.py1CODE
Over-Commented Block19 hits · 19 pts
SeverityFileLineSnippetContext
LOWformat.sh1#!/usr/bin/env bashCOMMENT
LOWcsrc/python_api.cpp1#include <pybind11/pybind11.h>COMMENT
LOWcsrc/kernels/pp/pp_send_recv.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/engram/engram.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/ep/dispatch.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/ep/prefetch_weights.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/ep/reduce_grads.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/ep/combine.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/ep/api.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/comm/context.cpp1#include <cstring>COMMENT
LOWcsrc/kernels/comm/symmetric.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/bucket/reduce_scatter.hpp1#pragma onceCOMMENT
LOWcsrc/kernels/bucket/all_gather.hpp1#pragma onceCOMMENT
LOWcsrc/buffers/engram.hpp1#pragma onceCOMMENT
LOWcsrc/buffers/pp.hpp1#pragma onceCOMMENT
LOWcsrc/buffers/ep.hpp1#pragma onceCOMMENT
LOWcsrc/buffers/bucket.hpp1#pragma onceCOMMENT
LOWcsrc/buffers/bucket.hpp21#include <deep_ep/layout/bucket/workspace.cuh>COMMENT
LOWcsrc/comm/api.hpp1#pragma onceCOMMENT
Deep Nesting16 hits · 16 pts
SeverityFileLineSnippetContext
LOWdeep_ep/utils/envs.py146CODE
LOWdeep_ep/utils/testing.py113CODE
LOWdeep_ep/utils/find_pkgs.py9CODE
LOWtests/engram/test_engram.py14CODE
LOWtests/ep/test_prefetch_weights.py114CODE
LOWtests/ep/test_ep.py22CODE
LOWtests/ep/test_ep.py61CODE
LOWtests/utils/test_gate.py7CODE
LOWtests/bucket/test_mixed.py91CODE
LOWtests/bucket/test_mixed.py157CODE
LOWtests/bucket/test_perf.py76CODE
LOWtests/bucket/test_perf.py110CODE
LOWtests/bucket/test_perf.py218CODE
LOWtests/bucket/test_all_gather.py18CODE
LOWthird-party/tilelang_ops/stochastic_rounding.py24CODE
LOWthird-party/tilelang_ops/stochastic_rounding.py29CODE
Hyper-Verbose Identifiers11 hits · 11 pts
SeverityFileLineSnippetContext
LOWdeep_ep/buffers/engram.py18def _accept_legacy_storage_size(init):CODE
LOWdeep_ep/buffers/ep.py846 def lb_get_theoretical_num_sms(self) -> int:CODE
LOWdeep_ep/comm/handle.py98def destroy_all_managed_nccl_comm() -> None:CODE
LOWdeep_ep/utils/envs.py184def check_torch_deterministic() -> None:CODE
LOWdeep_ep/utils/envs.py238def check_fast_rdma_atomic_support(nic_name: str = 'mlx5_0') -> bool:CODE
LOWdeep_ep/utils/gate.py116def get_precise_unbalanced_scores(num_tokens: int, num_experts: int, num_ranks: int, num_topk: int, ratio: float):CODE
LOWdeep_ep/utils/gate.py148def map_unbalanced_ratio_to_factor(num_tokens: int, num_experts: int, num_ranks: int, num_topk: int, ratio: float) -> flCODE
LOWdeep_ep/utils/gate.py167def get_random_unbalanced_scores(num_tokens: int, num_experts: int, num_ranks: int, num_topk: int, ratio: float):CODE
LOWdeep_ep/utils/refs.py126def generate_pre_combine_data(src_token_global_idx: torch.Tensor,CODE
LOWtests/ep/test_ep.py302 def get_unique_and_valid_dst_count(dst_idx: torch.Tensor,CODE
LOWtests/ep/test_reduce_grads.py49def redundant_expert_grad_key(rank_idx: int, redundant_expert_idx: int, num_redundant_experts: int) -> int:CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdeep_ep/comm/handle.py73 # Create a new communicatorCOMMENT
MEDIUMdeep_ep/utils/gate.py20 # Create the maskCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdeep_ep/__init__.py15except ImportError:CODE
Excessive Try-Catch Wrapping5 hits · 5 pts
SeverityFileLineSnippetContext
LOWdeep_ep/utils/envs.py232 except Exception as e:CODE
LOWdeep_ep/utils/envs.py256 except Exception:CODE
LOWdeep_ep/utils/envs.py281 except Exception as e:CODE
LOWtests/bucket/test_mixed.py152 except Exception as error:CODE
LOWtests/bucket/test_reduce_scatter.py30 except Exception as ex:CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdeep_ep/buffers/ep.py242CODE
LOWdeep_ep/buffers/ep.py562CODE
LOWdeep_ep/buffers/ep.py770CODE
LOWdeep_ep/utils/refs.py243CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWformat.sh2# Usage:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWformat.sh179# Check if there are any uncommitted changes after all formatting steps.COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdeep_ep/comm/__init__.py12__all__ = [CODE