AI Slop Code RIsk Monitor

p-e-w/heretic

Fully automatic censorship removal for language models

10.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for p-e-w/heretic, a Python project with 34,499 GitHub stars. SynthScan examined 8,212 lines of code across 37 source files, recording 55 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 10.2 (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.

10.2
Adjusted Signal
10.2
Raw Pattern Score
100%
Time Factor
2026-10-07
Last Push
34.5K
Stars
Python
Language
8.2K
Lines of Code
37
Files
55
Pattern Hits
2026-10-12
Scan Date
0.16
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 24.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 30.0/100 · MEDIUM

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

PR Review Velocity Impact 41.1/100 · MEDIUM

Which changes need focused human review? 55 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 6MEDIUM 1LOW 48

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

Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHsrc/heretic/system.py76except (subprocess.CalledProcessError, FileNotFoundError):CODE
HIGHsrc/heretic/system.py89except (subprocess.CalledProcessError, FileNotFoundError):CODE
HIGHsrc/heretic/system.py99except Exception: # noqa: S110CODE
HIGHsrc/heretic/main.py696except KeyboardInterrupt:CODE
HIGHsrc/heretic/main.py843except KeyboardInterrupt:CODE
HIGHsrc/heretic/main.py1385except KeyboardInterrupt:CODE
Hyper-Verbose Identifiers19 hits · 20 pts
SeverityFileLineSnippetContext
LOWtests/test_keyword_rate.py26 def test_print_responses_shows_brackets_literally(self) -> None:CODE
LOW⚡tests/test_config.py12 def test_accepts_slug_like_instance_name(self) -> None:CODE
LOW⚡tests/test_config.py21 def test_rejects_empty_instance_name(self) -> None:CODE
LOW⚡tests/test_config.py29 def test_rejects_whitespace_in_instance_name(self) -> None:CODE
LOWtests/test_config.py41 def test_rejects_dot_in_instance_name(self) -> None:CODE
LOWsrc/heretic/system.py50def get_nvidia_driver_version() -> str | None:CODE
LOWsrc/heretic/system.py64def get_amdgpu_driver_version() -> str | None:CODE
LOWsrc/heretic/system.py240def get_accelerator_info_dict() -> dict[str, Any]:CODE
LOWsrc/heretic/config.py560 def settings_customise_sources(CODE
LOWsrc/heretic/reproduce.py115def load_reproduction_information(path: str) -> dict[str, Any]:CODE
LOWsrc/heretic/reproduce.py151def get_package_mismatch_severity(package_name: str) -> MismatchSeverity:CODE
LOWsrc/heretic/reproduce.py175def format_version_information(version_information: dict[str, Any]) -> str:CODE
LOWsrc/heretic/model.py453 def get_abliterable_components(self) -> list[str]:CODE
LOWsrc/heretic/utils.py278def format_dataset_specification(specification: DatasetSpecification) -> str:CODE
LOWsrc/heretic/utils.py291def is_dataset_specification_reproducible(specification: DatasetSpecification) -> bool:CODE
LOWsrc/heretic/utils.py381def generate_requirements_txt() -> str:CODE
LOWsrc/heretic/utils.py406def generate_reproduce_readme(CODE
LOWsrc/heretic/plugin.py341 def get_dataset_specifications(self) -> list[DatasetSpecification]:CODE
LOWsrc/heretic/evaluator.py115 def get_dataset_specifications(self) -> list[DatasetSpecification]:CODE
Deep Nesting11 hits · 11 pts
SeverityFileLineSnippetContext
LOWsrc/heretic/system.py26CODE
LOWsrc/heretic/system.py64CODE
LOWsrc/heretic/system.py423CODE
LOWsrc/heretic/reproduce.py35CODE
LOWsrc/heretic/model.py192CODE
LOWsrc/heretic/model.py720CODE
LOWsrc/heretic/utils.py172CODE
LOWsrc/heretic/utils.py406CODE
LOWsrc/heretic/main.py195CODE
LOWsrc/heretic/modifiers/ara.py255CODE
LOWsrc/heretic/modifiers/abliteration.py310CODE
Excessive Try-Catch Wrapping8 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc/heretic/system.py99 except Exception: # noqa: S110CODE
LOWsrc/heretic/system.py175 except Exception:CODE
LOWsrc/heretic/model.py159 except Exception as error:CODE
LOWsrc/heretic/utils.py204 except Exception as error:CODE
LOWsrc/heretic/plugin.py126 except Exception:CODE
LOWsrc/heretic/main.py159 except Exception:CODE
LOWsrc/heretic/main.py448 except Exception as error:CODE
LOWsrc/heretic/main.py1394 except Exception as error:CODE
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWconfig.default.toml1# Rename this file to config.toml, place it in the working directoryCOMMENT
LOWconfig.default.toml121COMMENT
LOWconfig.default.toml141# Example instance override:COMMENT
LOWconfig.default.toml261[modifier.Abliteration]COMMENT
LOWsrc/heretic/main.py521 print(COMMENT
LOWsrc/heretic/modifiers/abliteration.py361 for module in modules:COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/run_tests.py15 # Read the file in 64 kB blocks.COMMENT
LOWsrc/heretic/model.py270 # Check if we need special handling for quantized modelsCOMMENT
LOWsrc/heretic/utils.py674 # Read the file in 64 kB blocks.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/heretic/model.py198 # This is more robust than splitting component keys (e.g. "attn.o_proj" -> "o_proj")COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/heretic/utils.py4CODE