AI Slop Code Risk Monitor

xiaoyang111222/cn-math-taxonomy

SlopCodeMonitor badge for xiaoyang111222/cn-math-taxonomy Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

中小学 11 学科知识图谱查漏补缺:4,231 个知识点、6,700 条先修关系、17,071 道题。按国家课程标准逐条核对,诊断定位真正没学会的前置知识点,给出补学路径。

2.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for xiaoyang111222/cn-math-taxonomy, a Python project with 9,362 GitHub stars. SynthScan examined 174,274 lines of code across 407 source files, recording 303 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 2.4 (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.

2.4
Adjusted Signal
2.4
Raw Pattern Score
100%
Time Factor
2026-11-27
Last Push
9.4K
Stars
Python
Language
174.3K
Lines of Code
407
Files
303
Pattern Hits
2026-11-27
Scan Date
0.02
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-11-27.

Cognitive Ownership Risk 1.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.4/100 · LOW

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

Agent Over-Engineering Ratio 4.9/100 · LOW

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

PR Review Velocity Impact 11.4/100 · LOW

Which changes need focused human review? 303 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 10MEDIUM 34LOW 259

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 303 distinct pattern matches across 9 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 Imports193 hits · 193 pts
SeverityFileLineSnippetContext
LOWtests/test_enj_pending.py16CODE
LOWscripts/phy_hs_plan.py9CODE
LOWscripts/sync_g7b_units.py15CODE
LOWscripts/sync_g7b_units.py26CODE
LOWscripts/hs_book1.py11CODE
LOWscripts/hs_book1.py428CODE
LOWscripts/hs_book1.py429CODE
LOWscripts/hs_book1.py430CODE
LOWscripts/bio_hs_b2.py3CODE
LOWscripts/hs_common.py2CODE
LOWscripts/primary_qgen.py3CODE
LOWscripts/chem_hs_b2.py3CODE
LOWscripts/chem_hs_std.py19CODE
LOWscripts/rewrite_en_distractors.py3CODE
LOWscripts/bio_hs_lib.py5CODE
LOWscripts/bio_hs_lib.py5CODE
LOWscripts/pol_hs_plan.py12CODE
LOWscripts/zh_hs_make.py3CODE
LOWscripts/his_hs_s1.py7CODE
LOWscripts/geo_hs_plan.py18CODE
LOWscripts/sync_g8_units.py14CODE
LOWscripts/sync_g8_units.py25CODE
LOWscripts/sync_g9_units.py15CODE
LOWscripts/sync_g9_units.py26CODE
LOWscripts/g6_grade_align.py6CODE
LOWscripts/his_build.py10CODE
LOWscripts/his_build.py22CODE
LOWscripts/his_build.py23CODE
LOWscripts/his_build.py24CODE
LOWscripts/his_build.py25CODE
LOWscripts/mor_build.py10CODE
LOWscripts/mor_build.py22CODE
LOWscripts/mor_build.py23CODE
LOWscripts/mor_build.py24CODE
LOWscripts/mor_build.py25CODE
LOWscripts/mor_build.py26CODE
LOWscripts/mor_build.py27CODE
LOWscripts/mor_build.py28CODE
LOWscripts/geo_hs_s2.py6CODE
LOWscripts/zh_hs_rows.py3CODE
LOWscripts/zh_hs_rows.py4CODE
LOWscripts/zh_hs_rows.py5CODE
LOWscripts/zh_hs_rows.py6CODE
LOWscripts/zh_hs_rows.py7CODE
LOWscripts/chem_hs_plan.py14CODE
LOWscripts/phy_hs_build.py6CODE
LOWscripts/phy_hs_build.py9CODE
LOWscripts/enj_topics.py4CODE
LOWscripts/enj_topics.py5CODE
LOWscripts/enj_topics.py6CODE
LOWscripts/enj_topics.py7CODE
LOWscripts/enj_topics.py8CODE
LOWscripts/enj_topics.py9CODE
LOWscripts/phy_hs_doc.py6CODE
LOWscripts/phy_hs_doc.py17CODE
LOWscripts/geo_hs_s3.py6CODE
LOWscripts/phy_hs_figs_a.py8CODE
LOWscripts/phy_hs_figs_a.py8CODE
LOWscripts/enj_build.py9CODE
LOWscripts/enj_build.py21CODE
133 more matches not shown…
Decorative Section Separators34 hits · 102 pts
SeverityFileLineSnippetContext
MEDIUMscripts/bio_hs_b2.py9# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py11# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py122# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py124# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py243# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py245# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py391# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py393# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py541# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py543# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py719# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b2.py721# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py7# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py9# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py102# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py104# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py337# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py339# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py491# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py493# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py614# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py616# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py913# ======================================================================COMMENT
MEDIUMscripts/bio_hs_b1.py915# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py49# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py51# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py97# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py99# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py139# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py141# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py179# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py181# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py210# ======================================================================COMMENT
MEDIUMscripts/bio_hs_plan.py212# ======================================================================COMMENT
Deep Nesting42 hits · 42 pts
SeverityFileLineSnippetContext
LOWscripts/chem_hs_std.py147CODE
LOWscripts/rewrite_en_distractors.py130CODE
LOWscripts/rewrite_en_distractors.py519CODE
LOWscripts/rewrite_en_distractors.py680CODE
LOWscripts/rewrite_en_distractors.py755CODE
LOWscripts/verify_questions.py108CODE
LOWscripts/check_figures.py54CODE
LOWscripts/chem_lib.py167CODE
LOWscripts/phy_hs_build.py44CODE
LOWscripts/add_figures.py1324CODE
LOWscripts/primary_g56.py9CODE
LOWscripts/primary_g56.py10CODE
LOWscripts/zhj_lib.py220CODE
LOWscripts/his_extra_edges.py25CODE
LOWscripts/primary_g46.py9CODE
LOWscripts/primary_g46.py10CODE
LOWscripts/phy_hs_check.py30CODE
LOWscripts/phy_hs_check.py109CODE
LOWscripts/his_lib.py145CODE
LOWscripts/validate.py375CODE
LOWscripts/validate.py442CODE
LOWscripts/validate.py559CODE
LOWscripts/validate.py1100CODE
LOWscripts/validate.py1618CODE
LOWscripts/validate.py1784CODE
LOWscripts/validate.py1934CODE
LOWscripts/build_primary.py142CODE
LOWscripts/en_densify_g46.py787CODE
LOWscripts/en_densify_g46.py823CODE
LOWscripts/chem_hs_build.py192CODE
LOWscripts/sync_g7a_units.py82CODE
LOWscripts/phy_build.py75CODE
LOWscripts/geo_lib.py125CODE
LOWscripts/en_densify_g4x5x.py787CODE
LOWscripts/hs_build.py246CODE
LOWscripts/zhj_build.py236CODE
LOWscripts/bio_lib.py165CODE
LOWscripts/split_questions.py85CODE
LOWscripts/hs_sel_build.py238CODE
LOWscripts/cnd_extra_edges.py243CODE
LOWscripts/en_distractors2/fix.py38CODE
LOWscripts/en_distractors2/fix.py81CODE
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHtests/test_enj_pending.py114except SystemExit:CODE
HIGHtests/test_jmor_safety.py315except SystemExit:CODE
HIGHtests/test_jmor_safety.py332except SystemExit:CODE
HIGHtests/test_jmor_safety.py340except SystemExit:CODE
HIGHscripts/moe2025_check.py25except AttributeError:CODE
Cross-File Repetition5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHscripts/mor_lib.py0登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。STRING
HIGHscripts/zhj_lib.py0登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。STRING
HIGHscripts/his_lib.py0登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。STRING
HIGHscripts/geo_lib.py0登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。STRING
HIGHscripts/bio_lib.py0登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。STRING
Hyper-Verbose Identifiers13 hits · 13 pts
SeverityFileLineSnippetContext
LOWtests/test_enj_pending.py104def test_attach_keeps_been_gone_wording():CODE
LOWtests/test_enj_pending.py120def test_build_source_copies_classification():CODE
LOWtests/test_enj_pending.py131def test_data_marks_match_spec_and_leave_mounts():CODE
LOWtests/test_enj_pending.py170def test_questions_and_edges_unchanged():CODE
LOWtests/test_enj_pending.py182def test_morality_catalog_status_unchanged():CODE
LOWtests/test_zhj_keep_hs.py11def test_keeps_senior_and_primary_edges():CODE
LOWtests/test_jmor_safety.py16def test_lost_ids_are_rejected():CODE
LOWtests/test_jmor_safety.py31def test_coverage_does_not_claim_four_books():CODE
LOWtests/test_jmor_safety.py50def test_missing_module_does_not_write():CODE
LOWtests/test_jmor_safety.py90def test_real_new_points_shape():CODE
LOWtests/test_jmor_safety.py350def test_independent_root_allowed():CODE
LOWscripts/validate.py442def check_runtime_mapping_files(ids):CODE
LOWscripts/jmor_build.py109def want_catalog_status_written(topic):CODE
Excessive Try-Catch Wrapping6 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/g5_grade_align.py741 except Exception as ex: # noqa: BLE001CODE
LOWscripts/verify_questions.py281 except Exception as ex: # noqa: BLE001CODE
LOWscripts/g4_grade_align.py587 except Exception as ex: # noqa: BLE001CODE
LOWscripts/hs_build.py305 except Exception as exc: # noqa: BLE001CODE
LOWscripts/hs_sel_build.py302 except Exception as exc: # noqa: BLE001CODE
LOWscripts/g1_g2_g3_grade_align.py140 except Exception as ex: # noqa: BLE001CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/zh_hs_make.py124CODE
LOWscripts/fig_draw.py126CODE
LOWscripts/fig_draw.py221CODE
LOWscripts/fig_draw.py247CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/test_enj_pending.py85 topic = {"id": tid, "name": spec["name"], "chapter": "placeholder"}CODE