AI Slop Code Risk Monitor

cpinitiative/usaco-guide

SlopCodeMonitor badge for cpinitiative/usaco-guide Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A free collection of curated, high-quality resources to take you from Bronze to Platinum and beyond.

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cpinitiative/usaco-guide, a MDX project with 1,874 GitHub stars. SynthScan examined 87,015 lines of code across 622 source files, recording 96 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.3 (Low 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.

1.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
1.9K
Stars
MDX
Language
87.0K
Lines of Code
622
Files
96
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 3.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.0/100 · LOW

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

Agent Over-Engineering Ratio 2.3/100 · LOW

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

PR Review Velocity Impact 6.5/100 · LOW

Which changes need focused human review? 96 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 4MEDIUM 0LOW 92

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 96 distinct pattern matches across 7 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.

Hyper-Verbose Identifiers30 hits · 30 pts
SeverityFileLineSnippetContext
LOWscripts/index-content.ts760async function generateUsacoDivisionsJson(CODE
LOWsrc/models/problem.ts263export function checkInvalidUsacoMetadata(metadata: ProblemMetadata) {CODE
LOWsrc/models/problem.ts491export function autoGenerateSolutionMetadata(CODE
LOWsrc/components/SubmitProblemSolutionModal.tsx15export default function SubmitProblemSolutionModal({CODE
LOW…s/markdown/ProblemsList/DivisionList/scripts/update.py262def collect_existing_unique_ids(root_folder: str) -> set[str]:CODE
LOWsrc/components/Groups/ProblemSubmissionPopup.tsx148export function ProblemSubmissionPopupProvider({ children }) {CODE
LOWsrc/components/Groups/ProblemSubmissionPopup.tsx168export function useProblemSubmissionPopupAction() {CODE
LOW…ents/Groups/ProblemPage/ProblemSubmissionInterface.tsx33export default function ProblemSubmissionInterface({CODE
LOWsrc/components/ProblemsPage/contestYears.ts23export function usacoProblemIdsInYearRange(CODE
LOW…mponents/MarkdownLayout/ModuleProgressUpdateBanner.tsx7export default function ModuleProgressUpdateBanner() {CODE
LOWsrc/hooks/useProblemSubmissionResult.ts4export default function useProblemSubmissionResult(CODE
LOWsrc/hooks/useUserProblemSolutionActions.ts16export default function useUserProblemSolutionActions() {CODE
LOWsrc/hooks/useUserSolutionsForProblem.tsx16export default function useUserSolutionsForProblem(CODE
LOWsrc/hooks/useModuleNavigation.ts50export function useModuleNavigationShortcut() {CODE
LOWsrc/hooks/useModuleNavigation.ts91export function useModuleNavigationShortcutLabel() {CODE
LOWsrc/hooks/useProblemSuggestionAction.tsx5export default function useProblemSuggestionAction() {CODE
LOWsrc/hooks/groups/useActivePostProblems.tsx26export function ActivePostProblemsProvider({CODE
LOWsrc/hooks/groups/useUserProblemSubmissions.ts15export default function useUserProblemSubmissions(CODE
LOWsrc/lib/validateData.ts4export function validateProblemConsistency(problems: ProblemInfo[]): {CODE
LOWsrc/lib/validateData.ts98export function validateSolutionRelationships(CODE
LOWsrc/lib/queryContent.ts81export async function queryAllModuleFrontmatter(): Promise<CODE
LOWsrc/lib/queryContent.ts174export async function queryProblemDataByDivision(CODE
LOWsrc/lib/queryContent.ts199export async function queryProblemSlugsForSolutionsIds(): Promise<string[]> {CODE
LOWsrc/lib/queryContent.ts222export async function querySolutionByProblemSlug(CODE
LOWsrc/lib/queryContent.ts257export async function queryModuleIdAndTitleFromProblemBySolutionId(CODE
LOWsrc/lib/queryContent.ts324export async function queryAllModuleIdsAndTitles(): Promise<CODE
LOWsrc/lib/queryContent.ts354export async function queryAllProblemDashboardInfo(): Promise<CODE
LOWsrc/lib/queryContent.ts457export async function queryUsacoDivisionProblems(): Promise<ProblemInfo[]> {CODE
LOWsrc/lib/queryContent.ts492function deserializeMdxContentLight(row: LightMdxContentDbRow): MdxContent {CODE
LOWsrc/pages/api/(parsers)/samples/cf.html626 function showEventCatcherUserMessage(json) {CODE
Unused Imports26 hits · 26 pts
SeverityFileLineSnippetContext
LOWpy/finalist.py1CODE
LOWpy/finalist.py4CODE
LOWpy/finalist.py5CODE
LOWpy/finalist.py6CODE
LOWpy/finalist.py7CODE
LOWpy/check_problem_tags.py14CODE
LOWpy/change_indents.py1CODE
LOWpy/check_links.py87CODE
LOWpy/rename_sources.py1CODE
LOWpy/split_title.py1CODE
LOWpy/add_template.py1CODE
LOWpy/print_tags.py1CODE
LOWpy/check_solutions.py25CODE
LOWpy/sol_to_impl.py1CODE
LOWpy/big_o.py1CODE
LOWpy/check_mdx.py42CODE
LOWpy/fix_edi_links.py1CODE
LOWpy/check_problems_json.py42CODE
LOWpy/extract/cses.py1CODE
LOWpy/extract/cses.py4CODE
LOWpy/extract/cses.py5CODE
LOWpy/extract/cses.py6CODE
LOWpy/extract/cses.py7CODE
LOWpy/extract/extract_cses.py17CODE
LOWpy/extract/extract.py17CODE
LOW…s/markdown/ProblemsList/DivisionList/scripts/update.py3CODE
Over-Commented Block22 hits · 22 pts
SeverityFileLineSnippetContext
LOWtsconfig.json21 // src/functions has its own tsconfig and its own npm tree, pinned toCOMMENT
LOWpy/split_title.py21 "source: " + tmp[0] + "\n" + "title: " + tmp[1] + "\n"COMMENT
LOWpy/split_title.py41COMMENT
LOWpy/add_template.py21 # if line.lower().startswith("official editorial: "):COMMENT
LOWpy/check_solutions.py41COMMENT
LOWpy/problems_mismatched_id.txt1# Problems whose `uniqueId` disagrees with the `url` it carries.COMMENT
LOWpy/sol_to_impl.py41 new_lines[index] = line + "\n"COMMENT
LOWpy/sol_to_impl.py61 # if found_code and (not found_impl or not found_complexity)COMMENT
LOWpy/sol_to_impl.py81 # ok_start = FalseCOMMENT
LOW.github/stale.yml41COMMENT
LOW.github/linkcheck-skip.txt1# URLs for linkcheck to ignore. One regular expression per line; linesCOMMENT
LOW.github/linkcheck-skip.txt21# The entries below only matter if -e (external links) is turned on, which itCOMMENT
LOW.github/dependabot.yml1# Dependabot configuration.COMMENT
LOW.github/workflows/problem-tags.yml1name: Problem TagsCOMMENT
LOWsrc/components/markdown/CodeBlock/CodeBlock.tsx301 // no styling, just a regular pre tagCOMMENT
LOWsrc/components/markdown/PGS/gen_PGS.py41 bad = TrueCOMMENT
LOW…ents/Groups/ProblemPage/ProblemSubmissionInterface.tsx21// &::-webkit-outer-spin-button,COMMENT
LOWsrc/components/Confetti/Confetti.tsx61COMMENT
LOWsrc/components/Confetti/Confetti.tsx81 // Range: 10 = very slow, 10,000 = very fast.COMMENT
LOWsrc/components/Confetti/Confetti.tsx161 // particle from within the range.COMMENT
LOWsrc/components/Confetti/Particles.tsx21 // An array of shapes, used when generating particlesCOMMENT
LOWsrc/components/Confetti/Particles.tsx101 const birth = Date.now() + random(0, this.props.emitDuration);COMMENT
Deep Nesting13 hits · 13 pts
SeverityFileLineSnippetContext
LOWpy/change_indents.py32CODE
LOWpy/check_links.py168CODE
LOWpy/check_links.py204CODE
LOWpy/format_code.py110CODE
LOWpy/check_solutions.py135CODE
LOWpy/check_solutions.py264CODE
LOWpy/check_problems_json.py217CODE
LOW…s/markdown/ProblemsList/DivisionList/scripts/update.py24CODE
LOW…s/markdown/ProblemsList/DivisionList/scripts/update.py86CODE
LOW…s/markdown/ProblemsList/DivisionList/scripts/update.py169CODE
LOW…s/markdown/ProblemsList/DivisionList/scripts/update.py262CODE
LOW…s/markdown/ProblemsList/DivisionList/scripts/update.py290CODE
LOWsrc/components/markdown/PGS/gen_PGS.py6CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpy/format_code.py47except black.report.NothingChanged:CODE
HIGHpy/format_code.py66except OSError:CODE
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHscripts/check-code-snippets.ts70 print(f'{path}:{err.lineno}:{err.offset}: {err.msg}', file=sys.stderr)CODE
HIGHscripts/check-code-snippets.ts72 print(' ' + err.text.rstrip(), file=sys.stderr)CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpy/check_links.py299 except Exception:CODE