AI Slop Code RIsk Monitor

audreyfeldroy/cookiecutter-pypackage

Cookiecutter template for a Python package.

16.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for audreyfeldroy/cookiecutter-pypackage, a Python project with 4,605 GitHub stars. SynthScan examined 5,879 lines of code across 68 source files, recording 85 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 16.2 (Elevated 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.

16.2
Adjusted Signal
16.2
Raw Pattern Score
100%
Time Factor
2026-10-06
Last Push
4.6K
Stars
Python
Language
5.9K
Lines of Code
68
Files
85
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 52.5/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 4.2/100 · LOW

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

Agent Over-Engineering Ratio 48.9/100 · MEDIUM

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

PR Review Velocity Impact 54.3/100 · HIGH

Which changes need focused human review? 85 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 1MEDIUM 1LOW 83

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 85 distinct pattern matches across 5 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 Identifiers74 hits · 76 pts
SeverityFileLineSnippetContext
LOWtests/test_release.py43def test_unreleased_notes_are_finalized_before_tagging(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py68def test_legacy_versioned_notes_are_used_without_a_notes_commit(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py80def test_notes_push_failure_leaves_retryable_state(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py110def test_prepared_changelog_pair_is_retryable(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py122def test_local_tag_retry_pushes_without_retagging(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py140def test_existing_github_release_skips_republish(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py155def test_legacy_notes_push_main_before_tagging(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py193def test_publish_failures_abort_without_reporting_success(release, tmp_path, monkeypatch, tag_state, failed_command):CODE
LOWtests/test_release.py215def test_github_release_lookup_failure_is_reported(release, monkeypatch):CODE
LOWtests/test_release.py227def test_main_reports_unexpected_os_error(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py249def test_non_main_branch_aborts_before_release_mutation(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py271def test_diverged_main_aborts_before_release_mutation(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py293def test_remote_tag_is_fetched_and_verified(release, monkeypatch):CODE
LOWtests/test_release.py318def test_pre_release_tag_does_not_block_a_new_final_tag(release, monkeypatch):CODE
LOWtests/test_release.py334def test_tag_on_another_commit_is_rejected(release, monkeypatch):CODE
LOWtests/test_release.py354def test_remote_tag_on_another_commit_is_rejected(release, monkeypatch):CODE
LOWtests/test_release.py374def test_missing_executable_returns_a_readable_command_error(release, monkeypatch):CODE
LOWtests/test_release.py392def test_invalid_changelog_states_abort_before_writing(release, tmp_path, monkeypatch, versioned, unreleased):CODE
LOWtests/test_release.py407def test_empty_unreleased_notes_abort_before_writing(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py420def test_empty_legacy_notes_abort_before_writing(release, tmp_path, monkeypatch):CODE
LOWtests/test_release.py432def test_dirty_worktree_aborts_before_release_commands(release, monkeypatch):CODE
LOWtests/test_release.py447def test_outer_and_generated_release_scripts_stay_aligned():CODE
LOWtests/test_post_gen_project.py62def test_declining_setup_has_no_git_or_github_side_effects(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py78def test_visibility_reprompts_and_defaults_to_private(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py108def test_final_confirmation_cancels_before_any_write(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py133def test_empty_existing_repository_requires_separate_consent(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py166def test_nonempty_existing_repository_is_never_modified(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py190def test_explicit_public_mode_supports_noninteractive_automation(hook, monkeypatch):CODE
LOWtests/test_post_gen_project.py224def test_github_setup_pins_one_host_when_ambient_host_differs(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py278def test_explicit_private_mode_leaves_pages_disabled(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py321def test_push_uses_github_cli_git_protocol(hook, monkeypatch, protocol, remote_url):CODE
LOWtests/test_post_gen_project.py339def test_https_setup_configures_git_credentials(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py360def test_ssh_setup_does_not_change_git_credentials(hook, monkeypatch):CODE
LOWtests/test_post_gen_project.py371def test_https_credential_failure_stops_before_git_or_github_writes(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py402def test_commit_failure_reports_partial_local_git_state(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py422def test_unsupported_git_protocol_stops_before_writes(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py436def test_remote_settings_precede_first_push_and_push_failure_is_reported(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py472def test_explicit_automation_failure_returns_nonzero(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py496def test_pages_failure_is_reported_without_false_success(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py510def test_docs_deployment_failure_is_reported_with_recovery_command(hook, monkeypatch, capsys):CODE
LOWtests/test_post_gen_project.py532def test_description_is_rendered_as_a_safe_string_literal(tmp_path, description):CODE
LOWtests/test_post_gen_project.py539def test_all_hook_template_values_are_rendered_safely(tmp_path):CODE
LOWtests/test_bake_project.py22def test_year_compute_in_license_file(cookies):CODE
LOWtests/test_bake_project.py40def test_bake_starts_with_an_unreleased_changelog(cookies):CODE
LOWtests/test_bake_project.py50def test_baked_release_script_runs_the_release_lifecycle(cookies, monkeypatch):CODE
LOWtests/test_bake_project.py94def test_bake_withspecialchars_and_run_tests(cookies):CODE
LOWtests/test_bake_project.py102def test_bake_with_apostrophe_and_run_tests(cookies):CODE
LOWtests/test_bake_project.py117def test_bake_preserves_description_in_valid_toml(cookies, description):CODE
LOWtests/test_bake_project.py127def test_bake_builds_when_package_and_import_names_differ(cookies):CODE
LOWtests/test_bake_project.py140def test_bake_treats_import_name_as_data(cookies, tmp_path):CODE
LOWtests/test_bake_project.py152def test_just_quality_recipes(cookies):CODE
LOW⚡tests/test_bake_project.py168def test_py_typed_marker_exists(cookies):CODE
LOW⚡tests/test_bake_project.py176def test_typing_classifier_in_pyproject(cookies):CODE
LOW⚡tests/test_bake_project.py184def test_baked_workflows_support_private_repositories(cookies):CODE
LOWtests/test_readme_author.py4def test_readme_created_by_without_website(cookies):CODE
LOWtests/test_readme_author.py32def test_readme_created_by_with_website(cookies):CODE
LOWtests/test_readme_author.py53def test_readme_no_duplicate_links(cookies):CODE
LOW⚡tests/test_cli.py16def test_readme_direct_cookiecutter_command_keeps_failed_projects():CODE
LOW⚡tests/test_cli.py23def test_find_template_dir_in_source_checkout(monkeypatch, tmp_path):CODE
LOW⚡tests/test_cli.py33def test_find_template_dir_in_installed_package(monkeypatch, tmp_path):CODE
14 more matches not shown…
Structural Annotation Overuse7 hits · 10 pts
SeverityFileLineSnippetContext
LOWdocs/tutorial.md15## Step 1: Generate your packageCOMMENT
LOWdocs/tutorial.md103## Step 2: Look aroundCOMMENT
LOWdocs/tutorial.md125## Step 3: Install and verifyCOMMENT
LOWdocs/tutorial.md145## Step 4: Preview docs locallyCOMMENT
LOWdocs/tutorial.md153## Step 5: Write some codeCOMMENT
LOWdocs/tutorial.md174## Step 6: Set up PyPI publishingCOMMENT
LOWdocs/tutorial.md196## Step 7: ReleaseCOMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtests/test_bake_project.py199 "${{ github.event.repository.private == false || vars.CODE_SECURITY_ENABLED == 'true' }}"CODE
Excessive Try-Catch Wrapping2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdev.py61 except Exception as e:CODE
MEDIUMdev.py62 print(f"Error running cookiecutter: {e}")CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWhooks/post_gen_project.py542CODE