Computing-focused community centered around link aggregation and discussion
This report summarizes scanner evidence for lobsters/lobsters, a Ruby project with 4,856 GitHub stars. SynthScan examined 33,034 lines of code across 541 source files, recording 84 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 3.6 (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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 65 finding(s).
Are imports declared and package/API names verified? 19 finding(s).
Are wrappers, guards, and repeated structures necessary? 12 finding(s).
Which changes need focused human review? 84 finding(s).
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.
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.
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.
The scanner identified 84 distinct pattern matches across 7 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/initializers/wrap_parameters.rb | 5 | # This file contains settings for ActionController::ParamsWrapper which | COMMENT |
| MEDIUM | config/initializers/permissions_policy.rb | 5 | # Define an application-wide HTTP permissions policy. For further | COMMENT |
| MEDIUM | config/initializers/content_security_policy.rb | 5 | # Define an application-wide content security policy. | COMMENT |
| MEDIUM | spec/rails_helper.rb | 3 | # This file is copied to spec/ when you run 'rails generate rspec:install' | COMMENT |
| MEDIUM | db/schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| MEDIUM | db/schema.rb | 5 | # This file is the source Rails uses to define your schema when running `bin/rails | COMMENT |
| MEDIUM | db/queue_schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| MEDIUM | db/queue_schema.rb | 5 | # This file is the source Rails uses to define your schema when running `bin/rails | COMMENT |
| MEDIUM | db/rack_attack_schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| MEDIUM | db/rack_attack_schema.rb | 5 | # This file is the source Rails uses to define your schema when running `bin/rails | COMMENT |
| MEDIUM | db/cache_schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| MEDIUM | db/cache_schema.rb | 5 | # This file is the source Rails uses to define your schema when running `bin/rails | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .database_consistency.ignore.yml | 1 | # This file lists exceptions for database_consistency checks at build time. | COMMENT |
| LOW | .database_consistency.ignore.yml | 21 | # a `has_many` with `dependent: :nullify` (Story#merged_stories), and a case | COMMENT |
| LOW | app/models/comment.rb | 341 | last_byte = [id & 0xff].pack("C") | COMMENT |
| LOW | config/locales/en.yml | 1 | # Files in the config/locales directory are used for internationalization | COMMENT |
| LOW | config/environments/production.rb | 41 | # Enable serving of images, stylesheets, and JavaScripts from an asset server. | COMMENT |
| LOW | config/environments/test.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/application_controller_renderer.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/mime_types.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/session_store.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/wrap_parameters.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/assets.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/page_caching_monkeypatch.rb | 1 | # https://github.com/lobsters/lobsters/issues/1825 | COMMENT |
| LOW | config/initializers/page_caching_monkeypatch.rb | 21 | # rename. | COMMENT |
| LOW | config/initializers/permissions_policy.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/x_request_token.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/rack_attack.rb | 1 | # typed: false | COMMENT |
| LOW | config/initializers/inflections.rb | 1 | # typed: false | COMMENT |
| LOW | spec/spec_helper.rb | 1 | # typed: false | COMMENT |
| LOW | spec/spec_helper.rb | 21 | RSpec.configure do |config| | COMMENT |
| LOW | spec/spec_helper.rb | 41 | # `true` in RSpec 4. | COMMENT |
| LOW | spec/spec_helper.rb | 61 | # # Allows RSpec to persist some state between runs in order to support | COMMENT |
| LOW | spec/spec_helper.rb | 81 | # end | COMMENT |
| LOW | spec/css_widely_available_spec.rb | 61 | WebMock.disable_net_connect! | COMMENT |
| LOW | spec/models/search_parser_spec.rb | 1 | # typed: false | COMMENT |
| LOW | .github/workflows/stale.yml | 21 | close-pr-message: "This PR was closed because it was open for 40 days with no activity. Please reopen when you'd | COMMENT |
| LOW | db/schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| LOW | db/queue_schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| LOW | db/rack_attack_schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| LOW | db/cache_schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| LOW | db/migrate/20250818182728_add_fts_tables.rb | 1 | # If you are reading this file because Rails complains that there isn't a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CONTRIBUTING.md | 91 | lobsters$ rails fake_data | CODE |
| LOW | CONTRIBUTING.md | 94 | The default password for users generated by `fake_data` is `"fake"`. | CODE |
| LOW | spec/rails_helper.rb | 39 | # 'placeholder' is so factory_bot can instantiate valid Story objects, but tests must replace | COMMENT |
| LOW | spec/rails_helper.rb | 41 | c.tags.create!([{tag: "placeholder"}, {tag: "tag1"}, {tag: "tag2"}]) | CODE |
| LOW | spec/tasks/fake_data_spec.rb | 7 | describe "fake_data" do | CODE |
| LOW | spec/features/edit_hat_spec.rb | 6 | let!(:hat) { create(:hat, link: "foo@bar.com") } | CODE |
| LOW | spec/features/hats_spec.rb | 8 | hat = create(:hat, link: "foo@bar.com") | CODE |
| LOW | spec/features/hats_spec.rb | 20 | hat = create(:hat, link: "foo@bar.com") | CODE |
| LOW | spec/models/mastodon_app_spec.rb | 18 | expect(MastodonApp.sanitized_instance_name("user@example.com")).to eq("example.com") | CODE |
| LOW | spec/models/hat_spec.rb | 22 | hat = build(:hat, link: "foo@bar.com") | CODE |
| LOW | spec/models/search_parser_spec.rb | 136 | it("doesn't parse emails") { expect(sp.user).to_not parse("user@example.com") } | CODE |
| LOW | spec/models/user_spec.rb | 72 | create(:user, email: "user@example.com") | CODE |
| LOW | spec/models/user_spec.rb | 75 | expect { create(:user, email: "user@example.com") }.to raise_error | CODE |
| LOW | spec/factories/story.rb | 8 | tags { Tag.where(tag: "placeholder") } | CODE |
| LOW | docs/SETUP_DEVCONTAINER.md | 22 | * Create the fake data by running `rails fake_data` | COMMENT |
| LOW | docs/setup_with_docker.md | 23 | * Create the fake data by running `docker compose run app rails fake_data` | COMMENT |
| LOW | .devcontainer/devcontainer.json | 32 | "postStartCommand": "bin/rails fake_data" | CODE |
| LOW | db/seeds.rb | 41 | Rails.logger.debug "If this is a dev environment, you probably want to run `rails fake_data`" | CODE |
| LOW | extras/mastodon.rb | 96 | # returns { "user@example.com" => 123 } for remove_list_accounts call | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/models/user.rb | 481 | def initiate_password_reset_for_ip(ip) | CODE |
| LOW | app/models/story.rb | 687 | def description_or_story_text(chars = 0) | CODE |
| LOW | app/jobs/notify_mod_mail_message_job.rb | 12 | def deliver_mod_mail_message_notifications(mod_mail_message, recipient) | CODE |
| LOW | app/jobs/notify_message_job.rb | 10 | def deliver_message_notifications(message) | CODE |
| LOW | app/jobs/notify_comment_job.rb | 10 | def deliver_comment_notifications(comment) | CODE |
| LOW | app/jobs/notify_comment_job.rb | 21 | def deliver_mention_notifications(comment) | CODE |
| LOW | app/jobs/notify_comment_job.rb | 66 | def deliver_reply_notifications(comment) | CODE |
| LOW | app/controllers/home_controller.rb | 384 | def tags_with_description_for_rss(tags) | CODE |
| LOW | app/helpers/users_helper.rb | 8 | def stories_submitted_content(user, showing_user) | CODE |
| LOW | app/helpers/application_helper.rb | 55 | def excerpt_fragment_around_link(html, url) | CODE |
| LOW | app/helpers/application_helper.rb | 141 | def page_numbers_for_pagination(max, cur) | CODE |
| LOW | lib/time_series.rb | 55 | def data_with_extrapolated_month(data) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/models/vote.rb | 26 | # don't forget to edit the explanations on /about | COMMENT |
| LOW | app/models/vote.rb | 26 | # don't forget to edit the explanations on /about | COMMENT |
| LOW | app/models/vote.rb | 39 | # don't forget to edit the explanations on /about | COMMENT |
| LOW | app/models/vote.rb | 39 | # don't forget to edit the explanations on /about | COMMENT |
| MEDIUM | spec/spec_helper.rb | 53 | # with RSpec, but feel free to customize to your heart's content. | COMMENT |
| LOW | .github/workflows/check.yml | 1 | # If any steps below are added or changed, make sure to keep build.rake in sync. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bin/stackprof-flamegraph.pl | 8 | # this file is here to facilitate running it. | COMMENT |
| MEDIUM | bin/stackprof-gprof2dot.py | 8 | # this file is here to facilitate running it. | COMMENT |
| LOW | spec/models/story_spec.rb | 158 | # we can't seemingly just set body, so... | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/models/notification.rb | 47 | # Check if this is a mention notification | COMMENT |
| LOW | config/environments/production.rb | 96 | # Set this to true and configure the email server for immediate delivery to raise delivery errors. | COMMENT |