中小学 11 学科知识图谱查漏补缺:4,231 个知识点、6,700 条先修关系、17,071 道题。按国家课程标准逐条核对,诊断定位真正没学会的前置知识点,给出补学路径。
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 59 finding(s).
Are imports declared and package/API names verified? 194 finding(s).
Are wrappers, guards, and repeated structures necessary? 67 finding(s).
Which changes need focused human review? 303 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_enj_pending.py | 16 | CODE | |
| LOW | scripts/phy_hs_plan.py | 9 | CODE | |
| LOW | scripts/sync_g7b_units.py | 15 | CODE | |
| LOW | scripts/sync_g7b_units.py | 26 | CODE | |
| LOW | scripts/hs_book1.py | 11 | CODE | |
| LOW | scripts/hs_book1.py | 428 | CODE | |
| LOW | scripts/hs_book1.py | 429 | CODE | |
| LOW | scripts/hs_book1.py | 430 | CODE | |
| LOW | scripts/bio_hs_b2.py | 3 | CODE | |
| LOW | scripts/hs_common.py | 2 | CODE | |
| LOW | scripts/primary_qgen.py | 3 | CODE | |
| LOW | scripts/chem_hs_b2.py | 3 | CODE | |
| LOW | scripts/chem_hs_std.py | 19 | CODE | |
| LOW | scripts/rewrite_en_distractors.py | 3 | CODE | |
| LOW | scripts/bio_hs_lib.py | 5 | CODE | |
| LOW | scripts/bio_hs_lib.py | 5 | CODE | |
| LOW | scripts/pol_hs_plan.py | 12 | CODE | |
| LOW | scripts/zh_hs_make.py | 3 | CODE | |
| LOW | scripts/his_hs_s1.py | 7 | CODE | |
| LOW | scripts/geo_hs_plan.py | 18 | CODE | |
| LOW | scripts/sync_g8_units.py | 14 | CODE | |
| LOW | scripts/sync_g8_units.py | 25 | CODE | |
| LOW | scripts/sync_g9_units.py | 15 | CODE | |
| LOW | scripts/sync_g9_units.py | 26 | CODE | |
| LOW | scripts/g6_grade_align.py | 6 | CODE | |
| LOW | scripts/his_build.py | 10 | CODE | |
| LOW | scripts/his_build.py | 22 | CODE | |
| LOW | scripts/his_build.py | 23 | CODE | |
| LOW | scripts/his_build.py | 24 | CODE | |
| LOW | scripts/his_build.py | 25 | CODE | |
| LOW | scripts/mor_build.py | 10 | CODE | |
| LOW | scripts/mor_build.py | 22 | CODE | |
| LOW | scripts/mor_build.py | 23 | CODE | |
| LOW | scripts/mor_build.py | 24 | CODE | |
| LOW | scripts/mor_build.py | 25 | CODE | |
| LOW | scripts/mor_build.py | 26 | CODE | |
| LOW | scripts/mor_build.py | 27 | CODE | |
| LOW | scripts/mor_build.py | 28 | CODE | |
| LOW | scripts/geo_hs_s2.py | 6 | CODE | |
| LOW | scripts/zh_hs_rows.py | 3 | CODE | |
| LOW | scripts/zh_hs_rows.py | 4 | CODE | |
| LOW | scripts/zh_hs_rows.py | 5 | CODE | |
| LOW | scripts/zh_hs_rows.py | 6 | CODE | |
| LOW | scripts/zh_hs_rows.py | 7 | CODE | |
| LOW | scripts/chem_hs_plan.py | 14 | CODE | |
| LOW | scripts/phy_hs_build.py | 6 | CODE | |
| LOW | scripts/phy_hs_build.py | 9 | CODE | |
| LOW | scripts/enj_topics.py | 4 | CODE | |
| LOW | scripts/enj_topics.py | 5 | CODE | |
| LOW | scripts/enj_topics.py | 6 | CODE | |
| LOW | scripts/enj_topics.py | 7 | CODE | |
| LOW | scripts/enj_topics.py | 8 | CODE | |
| LOW | scripts/enj_topics.py | 9 | CODE | |
| LOW | scripts/phy_hs_doc.py | 6 | CODE | |
| LOW | scripts/phy_hs_doc.py | 17 | CODE | |
| LOW | scripts/geo_hs_s3.py | 6 | CODE | |
| LOW | scripts/phy_hs_figs_a.py | 8 | CODE | |
| LOW | scripts/phy_hs_figs_a.py | 8 | CODE | |
| LOW | scripts/enj_build.py | 9 | CODE | |
| LOW | scripts/enj_build.py | 21 | CODE | |
| 133 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/bio_hs_b2.py | 9 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 11 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 122 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 124 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 243 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 245 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 391 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 393 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 541 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 543 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 719 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b2.py | 721 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 7 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 9 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 102 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 104 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 337 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 339 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 491 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 493 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 614 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 616 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 913 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_b1.py | 915 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 49 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 51 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 97 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 99 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 139 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 141 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 179 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 181 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 210 | # ====================================================================== | COMMENT |
| MEDIUM | scripts/bio_hs_plan.py | 212 | # ====================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/chem_hs_std.py | 147 | CODE | |
| LOW | scripts/rewrite_en_distractors.py | 130 | CODE | |
| LOW | scripts/rewrite_en_distractors.py | 519 | CODE | |
| LOW | scripts/rewrite_en_distractors.py | 680 | CODE | |
| LOW | scripts/rewrite_en_distractors.py | 755 | CODE | |
| LOW | scripts/verify_questions.py | 108 | CODE | |
| LOW | scripts/check_figures.py | 54 | CODE | |
| LOW | scripts/chem_lib.py | 167 | CODE | |
| LOW | scripts/phy_hs_build.py | 44 | CODE | |
| LOW | scripts/add_figures.py | 1324 | CODE | |
| LOW | scripts/primary_g56.py | 9 | CODE | |
| LOW | scripts/primary_g56.py | 10 | CODE | |
| LOW | scripts/zhj_lib.py | 220 | CODE | |
| LOW | scripts/his_extra_edges.py | 25 | CODE | |
| LOW | scripts/primary_g46.py | 9 | CODE | |
| LOW | scripts/primary_g46.py | 10 | CODE | |
| LOW | scripts/phy_hs_check.py | 30 | CODE | |
| LOW | scripts/phy_hs_check.py | 109 | CODE | |
| LOW | scripts/his_lib.py | 145 | CODE | |
| LOW | scripts/validate.py | 375 | CODE | |
| LOW | scripts/validate.py | 442 | CODE | |
| LOW | scripts/validate.py | 559 | CODE | |
| LOW | scripts/validate.py | 1100 | CODE | |
| LOW | scripts/validate.py | 1618 | CODE | |
| LOW | scripts/validate.py | 1784 | CODE | |
| LOW | scripts/validate.py | 1934 | CODE | |
| LOW | scripts/build_primary.py | 142 | CODE | |
| LOW | scripts/en_densify_g46.py | 787 | CODE | |
| LOW | scripts/en_densify_g46.py | 823 | CODE | |
| LOW | scripts/chem_hs_build.py | 192 | CODE | |
| LOW | scripts/sync_g7a_units.py | 82 | CODE | |
| LOW | scripts/phy_build.py | 75 | CODE | |
| LOW | scripts/geo_lib.py | 125 | CODE | |
| LOW | scripts/en_densify_g4x5x.py | 787 | CODE | |
| LOW | scripts/hs_build.py | 246 | CODE | |
| LOW | scripts/zhj_build.py | 236 | CODE | |
| LOW | scripts/bio_lib.py | 165 | CODE | |
| LOW | scripts/split_questions.py | 85 | CODE | |
| LOW | scripts/hs_sel_build.py | 238 | CODE | |
| LOW | scripts/cnd_extra_edges.py | 243 | CODE | |
| LOW | scripts/en_distractors2/fix.py | 38 | CODE | |
| LOW | scripts/en_distractors2/fix.py | 81 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_enj_pending.py | 114 | except SystemExit: | CODE |
| HIGH | tests/test_jmor_safety.py | 315 | except SystemExit: | CODE |
| HIGH | tests/test_jmor_safety.py | 332 | except SystemExit: | CODE |
| HIGH | tests/test_jmor_safety.py | 340 | except SystemExit: | CODE |
| HIGH | scripts/moe2025_check.py | 25 | except AttributeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/mor_lib.py | 0 | 登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。 | STRING |
| HIGH | scripts/zhj_lib.py | 0 | 登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。 | STRING |
| HIGH | scripts/his_lib.py | 0 | 登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。 | STRING |
| HIGH | scripts/geo_lib.py | 0 | 登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。 | STRING |
| HIGH | scripts/bio_lib.py | 0 | 登记一个知识点。qs 是 4 道选择题:(题干, 正确答案, [三个干扰项], 解析),难度依次 basic、basic、standard、challenge。 | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_enj_pending.py | 104 | def test_attach_keeps_been_gone_wording(): | CODE |
| LOW | tests/test_enj_pending.py | 120 | def test_build_source_copies_classification(): | CODE |
| LOW | tests/test_enj_pending.py | 131 | def test_data_marks_match_spec_and_leave_mounts(): | CODE |
| LOW | tests/test_enj_pending.py | 170 | def test_questions_and_edges_unchanged(): | CODE |
| LOW | tests/test_enj_pending.py | 182 | def test_morality_catalog_status_unchanged(): | CODE |
| LOW | tests/test_zhj_keep_hs.py | 11 | def test_keeps_senior_and_primary_edges(): | CODE |
| LOW | tests/test_jmor_safety.py | 16 | def test_lost_ids_are_rejected(): | CODE |
| LOW | tests/test_jmor_safety.py | 31 | def test_coverage_does_not_claim_four_books(): | CODE |
| LOW | tests/test_jmor_safety.py | 50 | def test_missing_module_does_not_write(): | CODE |
| LOW | tests/test_jmor_safety.py | 90 | def test_real_new_points_shape(): | CODE |
| LOW | tests/test_jmor_safety.py | 350 | def test_independent_root_allowed(): | CODE |
| LOW | scripts/validate.py | 442 | def check_runtime_mapping_files(ids): | CODE |
| LOW | scripts/jmor_build.py | 109 | def want_catalog_status_written(topic): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/g5_grade_align.py | 741 | except Exception as ex: # noqa: BLE001 | CODE |
| LOW | scripts/verify_questions.py | 281 | except Exception as ex: # noqa: BLE001 | CODE |
| LOW | scripts/g4_grade_align.py | 587 | except Exception as ex: # noqa: BLE001 | CODE |
| LOW | scripts/hs_build.py | 305 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | scripts/hs_sel_build.py | 302 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | scripts/g1_g2_g3_grade_align.py | 140 | except Exception as ex: # noqa: BLE001 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/zh_hs_make.py | 124 | CODE | |
| LOW | scripts/fig_draw.py | 126 | CODE | |
| LOW | scripts/fig_draw.py | 221 | CODE | |
| LOW | scripts/fig_draw.py | 247 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_enj_pending.py | 85 | topic = {"id": tid, "name": spec["name"], "chapter": "placeholder"} | CODE |