📚 Novle setting | 小说书源及软件整理 爱阅书香 / 香色闺阁 / 阅读(含字体、净化规则、TTS配置)
This report presents the forensic synthetic code analysis of tickmao/Novel, a Python project with 1,866 GitHub stars. SynthScan v2.0 examined 16,584 lines of code across 63 source files, recording 115 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 7.0 places this repository in the Low 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 115 distinct pattern matches across 4 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 |
|---|---|---|---|---|
| LOW | scripts/source_inventory.py | 317 | except Exception as e: | CODE |
| LOW | scripts/quick_filter.py | 64 | except Exception as e: | CODE |
| LOW | scripts/enhanced_scoring.py | 56 | except Exception as e: | CODE |
| LOW | scripts/enhanced_scoring.py | 69 | except Exception as e: | CODE |
| LOW⚡ | scripts/health_monitor.py | 76 | except Exception as e: | CODE |
| LOW⚡ | scripts/health_monitor.py | 85 | except Exception as e: | CODE |
| LOW⚡ | scripts/health_monitor.py | 92 | except Exception as e: | CODE |
| LOW | scripts/health_monitor.py | 104 | except Exception as e: | CODE |
| LOW | scripts/health_monitor.py | 578 | except Exception as e: | CODE |
| LOW | scripts/integrate.py | 115 | except Exception: | CODE |
| LOW | scripts/integrate.py | 221 | except Exception: | CODE |
| LOW | scripts/batch_validator.py | 94 | except Exception as e: | CODE |
| LOW | scripts/initialize_sources.py | 160 | except Exception as e: | CODE |
| LOW | scripts/initialize_sources.py | 259 | except Exception as e: | CODE |
| LOW | scripts/validate.py | 49 | except Exception as e: | CODE |
| LOW | scripts/source_collector.py | 95 | except Exception as e: | CODE |
| LOW | scripts/source_collector.py | 145 | except Exception as e: | CODE |
| LOW | scripts/source_collector.py | 149 | except Exception as e: | CODE |
| LOW | scripts/source_collector.py | 186 | except Exception as e: | CODE |
| LOW | scripts/source_collector.py | 190 | except Exception as e: | CODE |
| LOW | scripts/source_collector.py | 260 | except Exception as e: | CODE |
| LOW | scripts/safe_updater.py | 176 | except Exception as e: | CODE |
| LOW | scripts/safe_updater.py | 241 | except Exception as e: | CODE |
| LOW | scripts/safe_updater.py | 289 | except Exception as e: | CODE |
| LOW | scripts/safe_updater.py | 333 | except Exception as e: | CODE |
| LOW | scripts/source_policy.py | 114 | except Exception: | CODE |
| LOW | scripts/test_system.py | 103 | except Exception as e: | CODE |
| LOW | scripts/test_system.py | 126 | except Exception as e: | CODE |
| LOW | scripts/test_system.py | 158 | except Exception as e: | CODE |
| LOW | scripts/test_system.py | 195 | except Exception as e: | CODE |
| LOW | scripts/test_system.py | 229 | except Exception as e: | CODE |
| LOW | scripts/test_system.py | 281 | except Exception as e: | CODE |
| LOW | scripts/test_system.py | 328 | except Exception as e: | CODE |
| LOW | scripts/test_system.py | 389 | except Exception as e: | CODE |
| LOW | scripts/test_system.py | 409 | except Exception as e: | CODE |
| LOW | scripts/update_readme.py | 35 | except Exception as e: | CODE |
| LOW | scripts/update_readme.py | 49 | except Exception as e: | CODE |
| LOW | scripts/update_readme.py | 107 | except Exception as e: | CODE |
| LOW | scripts/update_sources.py | 37 | except Exception as e: | CODE |
| LOW | scripts/update_sources.py | 54 | except Exception as e: | CODE |
| LOW | scripts/update_sources.py | 122 | except Exception as e: | CODE |
| LOW | scripts/update_sources.py | 180 | except Exception as e: | CODE |
| LOW | scripts/update_sources.py | 238 | except Exception as e: | CODE |
| LOW | scripts/smart_recovery.py | 86 | except Exception as e: | CODE |
| LOW | scripts/smart_recovery.py | 118 | except Exception as e: | CODE |
| LOW | scripts/smart_recovery.py | 164 | except Exception: | CODE |
| LOW | scripts/smart_recovery.py | 190 | except Exception as e: | CODE |
| LOW | scripts/smart_recovery.py | 220 | except Exception as e: | CODE |
| LOW | scripts/daily_maintenance.py | 453 | except Exception as e: | CODE |
| LOW | scripts/source_selector.py | 57 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_legado_pipeline.py | 18 | def test_normalize_source_name_keeps_core_name(self): | CODE |
| LOW | tests/test_legado_pipeline.py | 36 | def test_normalize_source_name_never_returns_empty_for_noisy_but_valid_names(self): | CODE |
| LOW | tests/test_legado_pipeline.py | 51 | def test_safe_update_syncs_compatibility_file(self): | CODE |
| LOW | tests/test_source_policy.py | 25 | def test_canonicalize_name_maps_common_mixed_names_to_chinese(self): | CODE |
| LOW | tests/test_source_policy.py | 40 | def test_detect_adult_risks_blocks_adult_and_boys_love_sources(self): | CODE |
| LOW | tests/test_source_policy.py | 52 | def test_screen_source_rejects_non_chinese_name(self): | CODE |
| LOW | tests/test_source_policy.py | 76 | def test_build_inventory_prefers_chinese_and_exports_exact_target(self): | CODE |
| LOW | tests/test_source_policy.py | 132 | def test_build_inventory_does_not_write_working_when_export_update_fails(self): | CODE |
| LOW | tests/test_source_policy.py | 165 | def test_update_metadata_refreshes_last_maintenance(self): | CODE |
| LOW | tests/test_source_policy.py | 185 | def test_build_inventory_records_stats_sync_failure(self): | CODE |
| LOW | tests/test_source_policy.py | 223 | async def test_replenish_from_external_includes_local_large_file(self): | CODE |
| LOW | tests/test_source_policy.py | 247 | async def test_dry_run_passes_save_false_to_merge_validated_candidates(self): | CODE |
| LOW | tests/test_source_policy.py | 280 | async def test_maintain_preserves_inventory_metadata_fields(self): | CODE |
| LOW | scripts/source_inventory.py | 164 | def merge_validated_candidates( | CODE |
| LOW | scripts/source_inventory.py | 184 | def select_screened_validation_batch( | CODE |
| LOW | scripts/enhanced_scoring.py | 191 | def calculate_stability_score(self, source: dict) -> Tuple[int, Dict]: | CODE |
| LOW | scripts/enhanced_scoring.py | 243 | def calculate_content_quality_score(self, source: dict) -> Tuple[int, Dict]: | CODE |
| LOW | scripts/enhanced_scoring.py | 309 | def calculate_user_feedback_score(self, source: dict) -> Tuple[int, Dict]: | CODE |
| LOW | scripts/health_monitor.py | 220 | def calculate_availability_rate(self, sources: List[Dict]) -> float: | CODE |
| LOW | scripts/health_monitor.py | 408 | def should_trigger_supplement(self) -> Tuple[bool, str]: | CODE |
| LOW | scripts/legado_paths.py | 44 | def compatibility_source_file(base_dir: Path | str | None = None) -> Path: | CODE |
| LOW | scripts/source_policy.py | 117 | def _apply_token_replacements(self, text: str) -> str: | CODE |
| LOW | scripts/test_system.py | 234 | async def test_auto_supplement_dry_run(self) -> bool: | CODE |
| LOW | scripts/daily_maintenance.py | 88 | def select_sources_for_validation( | CODE |
| LOW | scripts/source_selector.py | 130 | def select_with_domain_diversity( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/source_inventory.py | 6 | CODE | |
| LOW | scripts/enhanced_scoring.py | 15 | CODE | |
| LOW | scripts/test_safe_updater.py | 6 | CODE | |
| LOW | scripts/health_monitor.py | 16 | CODE | |
| LOW | scripts/health_monitor.py | 19 | CODE | |
| LOW | scripts/health_monitor.py | 19 | CODE | |
| LOW | scripts/legado_paths.py | 6 | CODE | |
| LOW | scripts/initialize_sources.py | 16 | CODE | |
| LOW | scripts/source_collector.py | 14 | CODE | |
| LOW | scripts/source_collector.py | 16 | CODE | |
| LOW | scripts/source_collector.py | 18 | CODE | |
| LOW | scripts/source_collector.py | 18 | CODE | |
| LOW | scripts/source_policy.py | 6 | CODE | |
| LOW | scripts/test_system.py | 318 | CODE | |
| LOW | scripts/test_system.py | 319 | CODE | |
| LOW | scripts/update_readme.py | 13 | CODE | |
| LOW | scripts/auto_supplement.py | 9 | CODE | |
| LOW | scripts/smart_recovery.py | 13 | CODE | |
| LOW | scripts/smart_recovery.py | 15 | CODE | |
| LOW | scripts/smart_recovery.py | 15 | CODE | |
| LOW | scripts/smart_recovery.py | 16 | CODE | |
| LOW | scripts/smart_recovery.py | 17 | CODE | |
| LOW | scripts/daily_maintenance.py | 16 | CODE | |
| LOW | scripts/daily_maintenance.py | 22 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_source_policy.py | 185 | CODE | |
| LOW | scripts/merge.py | 64 | CODE | |
| LOW | scripts/clean.py | 92 | CODE | |
| LOW | scripts/enhanced_scoring.py | 78 | CODE | |
| LOW | scripts/enhanced_scoring.py | 191 | CODE | |
| LOW | scripts/enhanced_scoring.py | 243 | CODE | |
| LOW | scripts/enhanced_scoring.py | 309 | CODE | |
| LOW | scripts/health_monitor.py | 108 | CODE | |
| LOW | scripts/health_monitor.py | 430 | CODE | |
| LOW | scripts/integrate.py | 50 | CODE | |
| LOW | scripts/source_collector.py | 109 | CODE | |
| LOW | scripts/source_collector.py | 159 | CODE | |
| LOW | scripts/source_collector.py | 200 | CODE | |
| LOW | scripts/safe_updater.py | 339 | CODE | |
| LOW | scripts/smart_recovery.py | 50 | CODE | |
| LOW | scripts/source_selector.py | 60 | CODE |