AI Slop Code RIsk Monitor

coleifer/huey

a little task queue for python

23.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for coleifer/huey, a Python project with 6,045 GitHub stars. SynthScan examined 16,576 lines of code across 99 source files, recording 259 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 23.1 (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.

23.1
Adjusted Signal
23.1
Raw Pattern Score
100%
Time Factor
2026-10-03
Last Push
6.0K
Stars
Python
Language
16.6K
Lines of Code
99
Files
259
Pattern Hits
2026-10-12
Scan Date
0.21
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 34.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 35.6/100 · MEDIUM

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

Agent Over-Engineering Ratio 46.4/100 · MEDIUM

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

PR Review Velocity Impact 68.8/100 · HIGH

Which changes need focused human review? 259 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 21MEDIUM 11LOW 227

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 259 distinct pattern matches across 11 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 Identifiers109 hits · 100 pts
SeverityFileLineSnippetContext
LOWhuey/consumer.py656 def _set_child_signal_handlers(self):CODE
LOWhuey/consumer.py668 def _handle_stop_signal_worker(self, sig_num, frame):CODE
LOWhuey/tests/test_registry.py62 def test_user_task_kwarg_preserved(self):CODE
LOWhuey/tests/test_registry.py75 def test_context_task_reserialization(self):CODE
LOWhuey/tests/test_utils.py107 def test_construct_preserves_lock_file(self):CODE
LOWhuey/tests/test_stats.py53 def test_init_closes_own_connection(self):CODE
LOWhuey/tests/test_stats.py57 def test_init_preserves_open_connection(self):CODE
LOWhuey/tests/test_stats.py80 def test_close_drains_what_the_writer_left_behind(self):CODE
LOWhuey/tests/test_stats.py126 def test_attempt_enders_clear_inflight(self):CODE
LOWhuey/tests/test_stats.py142 def test_recorder_failure_logged_not_raised(self):CODE
LOWhuey/tests/test_stats.py148 def test_unrepresentable_args_still_record_the_event(self):CODE
LOWhuey/tests/test_stats.py168 def test_error_then_retry_duration_attributed_once(self):CODE
LOWhuey/tests/test_stats.py194 def test_max_events_scoped_per_queue(self):CODE
LOWhuey/tests/test_stats.py224 def test_unregistered_tasks_still_listed(self):CODE
LOWhuey/tests/test_stats.py242 def test_registered_tasks_are_marked(self):CODE
LOWhuey/tests/test_stats.py268 def test_no_filters_returns_everything_newest_first(self):CODE
LOWhuey/tests/test_stats.py289 def test_search_matches_error_task_and_id(self):CODE
LOWhuey/tests/test_stats.py320 def test_ordered_by_event_time_not_insert_order(self):CODE
LOWhuey/tests/test_stats.py340 def test_search_treats_wildcards_literally(self):CODE
LOWhuey/tests/test_stats.py371 def test_scoped_to_this_queue(self):CODE
LOWhuey/tests/test_stats.py398 def test_writer_restarted_in_child(self):CODE
LOWhuey/tests/test_stats.py423 def test_buffered_rows_written_by_parent_alone(self):CODE
LOWhuey/tests/test_stats.py439 def test_shutdown_hook_flushes_in_child(self):CODE
LOWhuey/tests/test_stats.py451 def test_closed_recorder_not_revived(self):CODE
LOWhuey/tests/test_signals.py42 def test_signal_complete_result_ready(self):CODE
LOWhuey/tests/test_signals.py280 def test_handler_error_does_not_block_others(self):CODE
LOW⚡huey/tests/test_django_tasks.py168 def test_unserializable_return(self):CODE
LOW⚡huey/tests/test_django_tasks.py176 def test_unsupported_priority(self):CODE
LOW⚡huey/tests/test_django_tasks.py183 def test_moved_function_marks_failed(self):CODE
LOWhuey/tests/test_django_tasks.py222 def test_consumer_integration(self):CODE
LOWhuey/tests/test_serializer.py40 def test_mismatched_compression(self):CODE
LOWhuey/tests/test_sql_huey.py111 def test_consumer_integration(self):CODE
LOWhuey/tests/test_crontab.py86 def test_crontab_all_together(self):CODE
LOWhuey/tests/test_crontab.py139 def test_crontab_wrap_around_hour(self):CODE
LOWhuey/tests/test_crontab.py145 def test_crontab_wrap_around_day_of_week(self):CODE
LOWhuey/tests/test_storage.py74 def test_result_items_str_keys(self):CODE
LOWhuey/tests/test_storage.py150 def test_result_store_methods(self):CODE
LOWhuey/tests/test_storage.py238 def test_consumer_integration(self):CODE
LOWhuey/tests/test_storage.py270 def test_put_if_empty_concurrent(self):CODE
LOWhuey/tests/test_storage.py299 def test_put_if_empty_ttl_unsupported(self):CODE
LOWhuey/tests/test_storage.py307 def test_conflicting_init_args(self):CODE
LOWhuey/tests/test_storage.py350 def test_wait_result_multiple_waiters(self):CODE
LOWhuey/tests/test_storage.py462 def test_dequeue_error_handling(self):CODE
LOWhuey/tests/test_storage.py480 def test_wait_result_timeout_clamp(self):CODE
LOWhuey/tests/test_storage.py506 def test_enqueued_items_limit(self):CODE
LOWhuey/tests/test_storage.py587 def test_dequeue_multithreaded(self):CODE
LOWhuey/tests/test_storage.py639 def test_sqlite_params_normalized(self):CODE
LOWhuey/tests/test_storage.py694 def test_filesystem_result_store(self):CODE
LOWhuey/tests/test_storage.py722 def test_filesystem_result_items_truncated(self):CODE
LOWhuey/tests/test_storage.py783 def test_fs_threaded_file_lock(self):CODE
LOWhuey/tests/test_storage.py806 def test_consumer_integration(self):CODE
LOWhuey/tests/test_helpers.py50 def test_semaphore_contention(self):CODE
LOWhuey/tests/test_helpers.py73 def test_semaphore_expiration(self):CODE
LOWhuey/tests/test_helpers.py91 def test_semaphore_renewed_while_running(self):CODE
LOWhuey/tests/test_helpers.py108 def test_semaphore_storage_types(self):CODE
LOWhuey/tests/test_api.py134 def test_result_readiness_reads_result(self):CODE
LOWhuey/tests/test_api.py271 def test_revoke_task_instance(self):CODE
LOWhuey/tests/test_api.py321 def test_revoke_task_instance_persistent(self):CODE
LOWhuey/tests/test_api.py537 def test_blocking_result_no_sentinel_leak(self):CODE
LOWhuey/tests/test_api.py773 def test_timeout_coop_helpers(self):CODE
49 more matches not shown…
Cross-Language Confusion12 hits · 90 pts
SeverityFileLineSnippetContext
HIGH⚡huey/storage.py889 'queue text not null, key text not null, value blob not null, 'CODE
HIGH⚡huey/storage.py892 'id integer not null primary key, queue text not null, 'CODE
HIGH⚡huey/storage.py893 'data blob not null, timestamp real not null)')CODE
HIGH⚡huey/storage.py897 'id integer not null primary key, queue text not null, 'CODE
HIGH⚡huey/storage.py898 'data blob not null, priority real not null default 0.0)')CODE
HIGH⚡huey/storage.py903 'queue text not null, key text not null, 'CODE
HIGH⚡huey/storage.py1184 'queue text not null, key text not null, value bytea not null, 'CODE
HIGH⚡huey/storage.py1188 'id bigserial primary key, queue text not null, 'CODE
HIGH⚡huey/storage.py1189 'data bytea not null, timestamp double precision not null)',CODE
HIGH⚡huey/storage.py1195 'id bigserial primary key, queue text not null, 'CODE
HIGH⚡huey/storage.py1196 'data bytea not null, 'CODE
HIGH⚡huey/storage.py1203 'queue text not null, key text not null, 'CODE
Unused Imports56 hits · 56 pts
SeverityFileLineSnippetContext
LOWhuey/__init__.py5CODE
LOWhuey/__init__.py6CODE
LOWhuey/__init__.py7CODE
LOWhuey/__init__.py8CODE
LOWhuey/__init__.py9CODE
LOWhuey/__init__.py10CODE
LOWhuey/__init__.py11CODE
LOWhuey/__init__.py12CODE
LOWhuey/__init__.py13CODE
LOWhuey/__init__.py14CODE
LOWhuey/__init__.py15CODE
LOWhuey/__init__.py16CODE
LOWhuey/__init__.py17CODE
LOWhuey/__init__.py18CODE
LOWhuey/__init__.py19CODE
LOWhuey/__init__.py20CODE
LOWhuey/__init__.py21CODE
LOWhuey/__init__.py22CODE
LOWhuey/tests/test_stats.py2CODE
LOWhuey/tests/test_signals.py5CODE
LOWhuey/tests/__init__.py1CODE
LOWhuey/tests/__init__.py2CODE
LOWhuey/tests/__init__.py3CODE
LOWhuey/tests/__init__.py4CODE
LOWhuey/tests/__init__.py5CODE
LOWhuey/tests/__init__.py6CODE
LOWhuey/tests/__init__.py7CODE
LOWhuey/tests/__init__.py8CODE
LOWhuey/tests/__init__.py9CODE
LOWhuey/tests/__init__.py10CODE
LOWhuey/tests/__init__.py11CODE
LOWhuey/tests/__init__.py12CODE
LOWhuey/tests/__init__.py13CODE
LOWhuey/tests/__init__.py14CODE
LOWhuey/tests/__init__.py15CODE
LOWhuey/tests/__init__.py16CODE
LOWhuey/tests/__init__.py17CODE
LOWhuey/tests/__init__.py18CODE
LOWhuey/tests/test_mini.py11CODE
LOWhuey/tests/__main__.py4CODE
LOWhuey/contrib/sql_huey.py4CODE
LOWhuey/contrib/mini.py16CODE
LOWhuey/contrib/djhuey/__init__.py164CODE
LOWhuey/contrib/djhuey/__init__.py158CODE
LOWhuey/contrib/djhuey/__init__.py161CODE
LOWhuey/contrib/flask_admin/__init__.py1CODE
LOWhuey/contrib/flask_admin/__init__.py2CODE
LOWhuey/contrib/flask_admin/__init__.py5CODE
LOWexamples/mini/mini.py2CODE
LOWexamples/simple/amain.py10CODE
LOWexamples/simple/tasks.py6CODE
LOWexamples/simple/main.py6CODE
LOWexamples/flask_ex/main.py2CODE
LOWexamples/flask_ex/main.py3CODE
LOWexamples/flask_ex/main.py4CODE
LOWexamples/django_ex/djangoex/test_app/apps.py10CODE
Excessive Try-Catch Wrapping41 hits · 50 pts
SeverityFileLineSnippetContext
LOWhuey/signals.py50 except Exception:CODE
LOWhuey/api.py513 except Exception as exc:CODE
LOWhuey/api.py634 except Exception:CODE
LOWhuey/api.py643 except Exception:CODE
LOWhuey/api.py765 except Exception:CODE
LOW⚡huey/consumer.py105 except Exception:CODE
LOW⚡huey/consumer.py113 except Exception:CODE
LOW⚡huey/consumer.py120 except Exception:CODE
LOW⚡huey/consumer.py128 except Exception:CODE
LOWhuey/consumer.py178 except Exception:CODE
LOWhuey/consumer.py185 except Exception:CODE
LOWhuey/consumer.py204 except Exception:CODE
MEDIUMhuey/storage.py1241def _close_quiet(self, conn):CODE
LOWhuey/storage.py520 except Exception:CODE
LOWhuey/storage.py861 except Exception:CODE
LOWhuey/storage.py1244 except Exception:CODE
LOWhuey/storage.py1675 except Exception:CODE
LOWhuey/bin/huey_consumer.py20 except Exception:CODE
MEDIUMhuey/bin/huey_consumer.py17def load_huey(path):CODE
LOWhuey/tests/test_storage.py50 except Exception:CODE
LOWhuey/tests/test_consumer.py275 except Exception:CODE
LOWhuey/tests/test_postgres.py26 except Exception:CODE
LOWhuey/tests/test_postgres.py163 except Exception:CODE
LOWhuey/contrib/mini.py96 except Exception as exc:CODE
LOWhuey/contrib/mini.py130 except Exception:CODE
LOWhuey/contrib/stats.py159 except Exception:CODE
LOWhuey/contrib/stats.py166 except Exception:CODE
LOWhuey/contrib/stats.py203 except Exception:CODE
LOWhuey/contrib/stats.py231 except Exception:CODE
LOW⚡huey/contrib/stats.py370 except Exception:CODE
LOW⚡huey/contrib/stats.py379 except Exception:CODE
LOW⚡huey/contrib/stats.py387 except Exception:CODE
LOW⚡huey/contrib/stats.py396 except Exception:CODE
MEDIUMhuey/contrib/stats.py135def _on_signal(self, signal, task, exc=None):CODE
MEDIUMhuey/contrib/stats.py375def pending_tasks(huey, limit=50):CODE
MEDIUMhuey/contrib/stats.py383def scheduled_tasks(huey, limit=50):CODE
LOWhuey/contrib/djhuey/tasks_backend.py167 except Exception as exc:CODE
LOWhuey/contrib/djhuey/stats/apps.py54 except Exception:CODE
LOWhuey/contrib/djhuey/stats/admin.py153 except Exception:CODE
LOWhuey/contrib/flask_admin/panel.py50 except Exception:CODE
LOWhuey/contrib/flask_admin/panel.py96 except Exception:CODE
Empty Error Handlers9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHhuey/signals.py41except ValueError:CODE
HIGHhuey/consumer.py426except KeyboardInterrupt:CODE
HIGHhuey/consumer.py515except OSError:CODE
HIGHhuey/storage.py1244except Exception:CODE
HIGHhuey/storage.py355except IndexError:CODE
HIGHhuey/contrib/djhuey/__init__.py83except KeyError:CODE
HIGHhuey/contrib/djhuey/management/commands/run_huey.py53except AttributeError:CODE
HIGHhuey/contrib/djhuey/stats/admin.py153except Exception:CODE
HIGHhuey/contrib/flask_admin/panel.py96except Exception:CODE
Self-Referential Comments5 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMhuey/api.py82 # Create a huey instance.STRING
MEDIUMhuey/consumer.py344 # Create the execution environment helper.COMMENT
MEDIUMhuey/consumer.py350 # Create the event used to signal the process should terminate. We'llCOMMENT
MEDIUMhuey/consumer.py369 # Create the scheduler process (but don't start it yet).COMMENT
MEDIUMhuey/consumer.py373 # Create the worker process(es) (also not started yet).COMMENT
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippetContext
LOWhuey/api.py1421CODE
LOWhuey/api.py1053CODE
LOWhuey/consumer.py116CODE
LOWhuey/consumer.py503CODE
LOWhuey/utils.py99CODE
LOWhuey/storage.py1041CODE
LOWhuey/contrib/sql_huey.py19CODE
LOWhuey/contrib/mini.py107CODE
LOWhuey/contrib/stats.py135CODE
LOWhuey/contrib/stats.py177CODE
LOWhuey/contrib/djhuey/stats/admin.py129CODE
LOWhuey/contrib/flask_admin/panel.py74CODE
AI Structural Patterns9 hits · 8 pts
SeverityFileLineSnippetContext
LOWhuey/api.py95CODE
LOWhuey/api.py175CODE
LOWhuey/api.py193CODE
LOWhuey/api.py853CODE
LOWhuey/api.py1053CODE
LOWhuey/consumer.py301CODE
LOWhuey/storage.py469CODE
LOWhuey/storage.py909CODE
LOWhuey/contrib/valkey_glide.py18CODE
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMhuey/storage.py921 # is needed, then we will utilize Sqlite's AUTOINCREMENT functionality,COMMENT
LOWhuey/tests/test_api.py891 # it to re-read. Attempting to read again will just return the cachedCOMMENT
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWhuey/utils.py25logger = logging.getLogger(__name__)CODE
LOWhuey/contrib/djhuey/management/commands/run_huey.py11logger = logging.getLogger(__name__)CODE
LOWhuey/contrib/flask_admin/__init__.py14__all__ = ['HueyPanel', 'HueyStats', 'enable_stats']CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhuey/consumer.py446 # Check if gevent is used, and if monkey-patch applied properly.COMMENT