AI Slop Code RIsk Monitor

activeadmin/activeadmin

The administration framework for Ruby on Rails applications.

4.4 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for activeadmin/activeadmin, a Ruby project with 9,714 GitHub stars. SynthScan examined 42,332 lines of code across 417 source files, recording 129 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 4.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.

4.4
Adjusted Signal
4.4
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
9.7K
Stars
Ruby
Language
42.3K
Lines of Code
417
Files
129
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 14.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.9/100 · LOW

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

Agent Over-Engineering Ratio 2.0/100 · LOW

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

PR Review Velocity Impact 19.1/100 · LOW

Which changes need focused human review? 129 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 3HIGH 0MEDIUM 12LOW 114

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 129 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.

Over-Commented Block68 hits · 68 pts
SeverityFileLineSnippetContext
LOW…ollers/active_admin/resource_controller/data_access.rb61 endCOMMENT
LOW…ollers/active_admin/resource_controller/data_access.rb121 # method uses the finder method as defined in InheritedResources.COMMENT
LOW…trollers/active_admin/base_controller/authorization.rb21 helper_method :authorize!COMMENT
LOW…trollers/active_admin/base_controller/authorization.rb41COMMENT
LOWapp/assets/config/active_admin_manifest.js1//= link_tree ../../javascript .jsCOMMENT
LOWspec/tasks/gemfile_spec.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin.rb81COMMENT
LOWlib/active_admin.rb101 #COMMENT
LOWlib/active_admin/scope.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/scope.rb21 # # => Scope with name 'Published' that does not display a countCOMMENT
LOWlib/active_admin/page_dsl.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/authorization_adapter.rb21 class AuthorizationAdapterCOMMENT
LOWlib/active_admin/authorization_adapter.rb41 # the action on the subject.COMMENT
LOWlib/active_admin/authorization_adapter.rb61 #COMMENT
LOWlib/active_admin/authorization_adapter.rb81 #COMMENT
LOWlib/active_admin/authorization_adapter.rb101 #COMMENT
LOWlib/active_admin/namespace.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/dependency.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/dependency.rb21 #COMMENT
LOWlib/active_admin/callbacks.rb41 # before_save do |arg1, arg2|COMMENT
LOWlib/active_admin/csv_builder.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/menu.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/application.rb161COMMENT
LOWlib/active_admin/page.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/resource.rb21 # Resource is the primary data storage for resource configuration in Active AdminCOMMENT
LOWlib/active_admin/resource_dsl.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/resource_dsl.rb41 # Store relations that should be includedCOMMENT
LOWlib/active_admin/resource_dsl.rb101 # For example:COMMENT
LOWlib/active_admin/resource_dsl.rb121 #COMMENT
LOWlib/active_admin/resource_dsl.rb161 #COMMENT
LOWlib/active_admin/resource_dsl.rb181 #COMMENT
LOWlib/active_admin/page_presenter.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/menu_item.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/menu_item.rb21 # Default: underscored_resource_nameCOMMENT
LOWlib/active_admin/dsl.rb21 # modify options:COMMENT
LOWlib/active_admin/dsl.rb41 # dsl.sidebar "Help" doCOMMENT
LOWlib/active_admin/dsl.rb61 #COMMENT
LOWlib/active_admin/dsl.rb81 # @param [Symbol] nameCOMMENT
LOWlib/active_admin/dsl.rb121 def menu(options = {})COMMENT
LOWlib/active_admin/dsl.rb141 #COMMENT
LOWlib/active_admin/view_helpers/method_or_proc_helper.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/view_helpers/method_or_proc_helper.rb21 when Symbol, StringCOMMENT
LOWlib/active_admin/view_helpers/method_or_proc_helper.rb41 # call_method_or_proc_on(@my_obj, proc)COMMENT
LOWlib/active_admin/batch_actions/resource_extension.rb81COMMENT
LOWlib/active_admin/batch_actions/resource_extension.rb101 # => You can create batch actions with a title instead of a SymbolCOMMENT
LOWlib/active_admin/resource/action_items.rb21 #COMMENT
LOWlib/active_admin/resource/scope_to.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/resource/scope_to.rb21 # method to call as the association. If its different, you canCOMMENT
LOWlib/active_admin/views/index_as_table.rb1# frozen_string_literal: trueCOMMENT
LOWlib/active_admin/views/index_as_table.rb21 # ```COMMENT
LOWlib/active_admin/views/index_as_table.rb41 # Sometimes that just isn't enough and you need to write some view-specific code.COMMENT
LOWlib/active_admin/views/index_as_table.rb61 # index doCOMMENT
LOWlib/active_admin/views/index_as_table.rb81 #COMMENT
LOWlib/active_admin/views/index_as_table.rb101 #COMMENT
LOWlib/active_admin/views/index_as_table.rb121 #COMMENT
LOWlib/active_admin/views/index_as_table.rb141 # ```rubyCOMMENT
LOWlib/active_admin/views/index_as_table.rb161 #COMMENT
LOWlib/active_admin/views/index_as_table.rb181 # column :publisher, sortable: 'publishers.name'COMMENT
LOWlib/active_admin/views/index_as_table.rb201 # In order to add HTML attributes to the tbody use the `:tbody_html` option.COMMENT
LOWlib/active_admin/views/index_as_table.rb281 # actionsCOMMENT
8 more matches not shown…
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALspec/unit/action_builder_spec.rb36 expect(Rails.application.routes.url_helpers.methods.collect(&:to_s)).to include("comment_admin_post_path")CODE
CRITICALspec/unit/action_builder_spec.rb92 expect(Rails.application.routes.url_helpers.methods.collect(&:to_s)).to include("comments_admin_posts_path")CODE
CRITICAL…/active_admin/views/components/paginated_collection.rb127 entry_name = I18n.translate key, count: 1, default: @collection.first.class.name.underscore.sub("_", " ")CODE
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM…ollers/active_admin/resource_controller/data_access.rb102 # This method is used on all the member actions:COMMENT
MEDIUM…ollers/active_admin/resource_controller/data_access.rb132 # This method is used to instantiate and authorize new resources in theCOMMENT
MEDIUMlib/active_admin/scope.rb7 # Create a ScopeCOMMENT
MEDIUMlib/active_admin/pundit_adapter.rb63 # This method is needed to fallback to our previous policy searching logic.COMMENT
MEDIUMlib/active_admin/callbacks.rb32 # Define a new callback.COMMENT
MEDIUMlib/active_admin/resource_dsl.rb36 # Create a scopeCOMMENT
MEDIUMlib/active_admin/view_helpers/method_or_proc_helper.rb87 # This method is different from the others in that it calls `instance_exec` on the receiver,COMMENT
MEDIUMlib/active_admin/batch_actions/resource_extension.rb90 # Create a Batch ActionCOMMENT
MEDIUMlib/active_admin/resource/scopes.rb27 # Create a new scope object for this resource.COMMENT
Fake / Example Data20 hits · 22 pts
SeverityFileLineSnippetContext
LOWtasks/bug_report_template.rb119 User.create! full_name: "John Doe"CODE
LOWtasks/bug_report_template.rb121 assert_match "John Doe", response.body # has created rowCODE
LOW⚡features/step_definitions/user_steps.rb12 login_as ensure_user_created("admin@example.com"), scope: :admin_userCODE
LOW⚡features/step_definitions/user_steps.rb16 ensure_user_created "admin@example.com"CODE
LOW⚡features/step_definitions/user_steps.rb20 fill_in "Email", with: "admin@example.com"CODE
LOWspec/unit/comments_spec.rb172 body: "Lorem Ipsum",CODE
LOWspec/unit/views/components/attributes_table_spec.rb152 expect(table.find_by_tag("td").first.content).to eq "John Doe"CODE
LOWspec/support/rails_template_with_data.rb18 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",CODE
LOWspec/support/rails_template_with_data.rb18 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",CODE
LOWspec/support/templates_with_data/admin/posts.rb120 f.input :category, hint: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tincidunt porttitor massa CODE
LOWspec/support/templates_with_data/admin/posts.rb120 f.input :category, hint: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tincidunt porttitor massa CODE
LOWspec/helpers/breadcrumb_helper_spec.rb8 let(:user) { double display_name: "Jane Doe" }CODE
LOWspec/helpers/breadcrumb_helper_spec.rb111 expect(trail[2][:name]).to eq "Jane Doe"CODE
LOWspec/helpers/breadcrumb_helper_spec.rb209 expect(trail[2][:name]).to eq "Jane Doe"CODE
LOWspec/helpers/breadcrumb_helper_spec.rb237 expect(trail[2][:name]).to eq "Jane Doe"CODE
LOWspec/helpers/filter_form_helper_spec.rb540 expect(body).to have_css("option[value='#{@john.id}']", text: "John Doe")CODE
LOWspec/helpers/filter_form_helper_spec.rb541 expect(body).to have_css("option[value='#{@jane.id}']", text: "Jane Doe")CODE
LOWspec/helpers/filter_form_helper_spec.rb641 expect(body).to have_css("option[value='#{john.id}']", text: "John Doe")CODE
LOWspec/helpers/filter_form_helper_spec.rb642 expect(body).to have_css("option[value='#{jane.id}']", text: "Jane Doe")CODE
LOWlib/generators/active_admin/devise/devise_generator.rb63 create_user_code = "#{class_name}.create!(email: 'admin@example.com', password: 'password', password_confirmatioCODE
Hyper-Verbose Identifiers17 hits · 17 pts
SeverityFileLineSnippetContext
LOW…rollers/active_admin/resource_controller/decorators.rb12 def apply_collection_decorator(collection)CODE
LOW…ollers/active_admin/resource_controller/data_access.rb225 def apply_authorization_scope(collection)CODE
LOW…trollers/active_admin/base_controller/authorization.rb104 def dispatch_active_admin_access_denied(exception)CODE
LOW…trollers/active_admin/base_controller/authorization.rb108 def rescue_active_admin_access_denied(exception)CODE
LOWapp/helpers/active_admin/form_helper.rb62 def active_admin_filters_form_for(search, filters, options = {})CODE
LOWapp/helpers/active_admin/auto_link_helper.rb60 def active_admin_resource_for(klass)CODE
LOWspec/unit/devise_spec.rb17 def with_temp_relative_url_root(relative_url_root)CODE
LOWspec/requests/default_namespace_spec.rb65 def with_custom_default_namespace(namespace)CODE
LOWspec/support/active_admin_integration_spec_helper.rb66 def controller_with_decorator(action, decorator_class)CODE
LOWlib/active_admin/namespace.rb194 def register_resource_controller(config)CODE
LOWlib/active_admin/namespace.rb204 def parse_page_registration_block(config, &block)CODE
LOWlib/active_admin/callbacks.rb61 def define_active_admin_callbacks(*names)CODE
LOWlib/active_admin/resource.rb127 def resource_quoted_column_name(column)CODE
LOWlib/active_admin/resource.rb221 def define_resource_name_extension(resource)CODE
LOWlib/active_admin/view_helpers/method_or_proc_helper.rb78 def render_or_call_method_or_proc_on(obj, string_symbol_or_proc, options = {})CODE
LOW…/active_admin/views/components/paginated_collection.rb65 def build_pagination_with_formats(options)CODE
LOWlib/active_admin/views/components/status_tag.rb60 def convert_to_boolean_status(status)CODE
AI Slop Vocabulary6 hits · 10 pts
SeverityFileLineSnippetContext
LOW…ollers/active_admin/resource_controller/data_access.rb237 chain # just return the chainCODE
LOWlib/active_admin/authorization_adapter.rb59 # default, we just return the same collection. The returned scope is usedCOMMENT
LOWlib/active_admin/application.rb109 # To reload everything simply call `ActiveAdmin.unload!`COMMENT
MEDIUMlib/active_admin/dsl.rb125 # Set the name of the navigation menu to display. This is mainly used in conjunction with theCOMMENT
LOWlib/active_admin/view_helpers/method_or_proc_helper.rb44 # not instance exec, but just call the Proc, then pass along `exec: false` inCOMMENT
LOWlib/active_admin/views/index_as_table.rb13 # To display an attribute or a method on a resource, simply pass a symbol into theCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWfeatures/step_definitions/table_steps.rb102# Usage:COMMENT
LOWlib/active_admin/csv_builder.rb5 # Usage example:COMMENT
LOWlib/active_admin/application.rb144 # Example usage:COMMENT
LOWlib/active_admin/page_presenter.rb9 # Usage:COMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMlib/active_admin/resource/scope_to.rb30 # To conditionally use this scope, you can use conditional procsCOMMENT
MEDIUMlib/active_admin/resource/scopes.rb28 # If you want to internationalize the scope name, you can addCOMMENT