Repository Analysis

antiwork/gumroad

See what sticks

2.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of antiwork/gumroad, a Ruby project with 9,403 GitHub stars. SynthScan v2.0 examined 706,521 lines of code across 5971 source files, recording 1280 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 2.4 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
9.4K
Stars
Ruby
Language
706.5K
Lines of Code
6.0K
Files
1.3K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 28HIGH 1MEDIUM 53LOW 1198

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1280 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers726 hits · 765 pts
SeverityFileLineSnippetContext
LOW…idekiq/suspend_accounts_with_payment_address_worker.rb15 def suspend_users_with_same_payment_address(suspended_user)CODE
LOW…idekiq/suspend_accounts_with_payment_address_worker.rb26 def suspend_users_with_same_stripe_fingerprint(suspended_user)CODE
LOWapp/sidekiq/generate_canada_sales_report_job.rb118 def determine_country_name_and_province_name(purchase)CODE
LOW…idekiq/generate_fees_by_creator_location_report_job.rb71 def determine_country_name_and_state_name(purchase)CODE
LOWapp/sidekiq/google_calendar_invite_job.rb45 def insert_or_refresh_and_insert_event(gcal_api, integration, event)CODE
LOWapp/sidekiq/post_to_individual_ping_endpoint_worker.rb45 def send_ping_failure_notification(post_url, response_code, user_id = nil)CODE
LOWapp/sidekiq/transcode_video_for_streaming_worker.rb49 def create_hls_ets_transcode_job(streamable, original_video_key, input_video_height)CODE
LOWapp/sidekiq/transcode_video_for_streaming_worker.rb112 def create_hls_mediaconvert_transcode_job(streamable, original_video_key, input_video_height, transcoder)CODE
LOWapp/sidekiq/remove_deleted_files_from_s3_job.rb67 def gather_transcoded_video_keys(file)CODE
LOWapp/sidekiq/send_post_blast_emails_job.rb112 def revalidate_snapshotted_members(snapshotted_ids)CODE
LOWapp/sidekiq/send_post_blast_emails_job.rb166 def mark_members_sent_in_this_blast(members)CODE
LOWapp/sidekiq/send_post_blast_emails_job.rb177 def enrich_with_gathered_records(members_with_specifics)CODE
LOWapp/sidekiq/send_post_blast_emails_job.rb194 def enrich_with_purchases_specifics(members_with_specifics)CODE
LOWapp/sidekiq/send_post_blast_emails_job.rb211 def enrich_with_url_redirects(members_with_specifics)CODE
LOW…/sidekiq/create_global_sales_tax_summary_report_job.rb164 def prefetch_partial_refund_adjustments(purchases_scope)CODE
LOW…/sidekiq/create_global_sales_tax_summary_report_job.rb211 def resolve_geoip_fallback_purchases(purchases_scope, unresolved_us_tuple_keys, aggregation)CODE
LOW…/sidekiq/create_global_sales_tax_summary_report_job.rb324 def refund_totals_by_purchase(purchase_ids)CODE
LOWapp/sidekiq/generate_sales_report_job.rb104 def update_job_status_to_completed(country_code, start_time, end_time, sales_type, download_url)CODE
LOWapp/sidekiq/send_year_in_review_email_job.rb72 def calculate_stats_by_country(data)CODE
LOW…q/retry_stripe_rejected_payout_setup_for_seller_job.rb48 def payout_setup_failure_notes(user)CODE
LOWapp/sidekiq/update_product_files_archive_worker.rb117 def delete_temp_zip_file_if_exists(zip_archive_filename)CODE
LOWapp/sidekiq/concerns/transcode_event_handler.rb5 def handle_transcoding_job_notification(job_id, state, transcoded_video_key = nil)CODE
LOWapp/mailers/community_chat_recap_mailer.rb10 def community_chat_recap_notification(user_id, seller_id, community_chat_recap_ids)CODE
LOWapp/mailers/comment_mailer.rb8 def notify_seller_of_new_comment(comment_id)CODE
LOWapp/mailers/creator_mailer.rb55 def scheduled_payout_chargeback_hold(scheduled_payout_id:)CODE
LOWapp/mailers/merchant_registration_mailer.rb8 def account_deauthorized_to_user(user_id, charge_processor_id)CODE
LOWapp/mailers/merchant_registration_mailer.rb15 def account_needs_registration_to_user(affiliate_id, charge_processor_id)CODE
LOWapp/mailers/merchant_registration_mailer.rb47 def stripe_payouts_under_review(user_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb262 def unremovable_discord_member(discord_user_id, discord_server_name, purchase_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb270 def unstampable_pdf_notification(link_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb276 def chargeback_lost_no_refund_policy(dispute_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb362 def stripe_document_verification_failed(user_id, error_message)CODE
LOWapp/mailers/contacting_creator_mailer.rb369 def stripe_identity_verification_failed(user_id, error_message)CODE
LOWapp/mailers/contacting_creator_mailer.rb376 def singapore_identity_verification_reminder(user_id, deadline)CODE
LOWapp/mailers/contacting_creator_mailer.rb548 def refund_policy_enabled_email(seller_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb555 def refund_policy_enforced_notification(seller_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb561 def product_level_refund_policies_reverted(seller_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb566 def upcoming_refund_policy_change(user_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb571 def paypal_suspension_notification(user_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb131 def video_preview_conversion_error(link_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb150 def invalid_account_holder_name(user_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb163 def flagged_for_explicit_nsfw_tos_violation(user_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb180 def subscription_product_deleted(link_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb198 def gumroad_day_credit_notification(user_id, amount_cents)CODE
LOWapp/mailers/contacting_creator_mailer.rb215 def subscription_cancelled_by_customer(subscription_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb221 def subscription_autocancelled(subscription_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb290 def preorder_release_reminder(link_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb319 def purchase_refunded_for_fraud(purchase_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb347 def payout_setup_retry_exhausted(user_id, marker_type)CODE
LOWapp/mailers/contacting_creator_mailer.rb389 def suspended_due_to_stripe_risk(user_id)CODE
LOWapp/mailers/contacting_creator_mailer.rb418 def tax_form_transaction_report(user_id, year, csv_tempfile)CODE
LOWapp/mailers/accounting_mailer.rb33 def daily_finance_ledger_report(date)CODE
LOWapp/mailers/accounting_mailer.rb49 def stripe_currency_balances_report(balances_csv)CODE
LOWapp/mailers/accounting_mailer.rb119 def us_states_sales_summary_report_failed(subdivision_codes, month, year, error_class, error_message)CODE
LOWapp/mailers/accounting_mailer.rb132 def finance_report_job_failed(job_name, args, error_class, error_message)CODE
LOWapp/mailers/accounting_mailer.rb146 def finance_report_delivery_backstop_triggered(job_name, args, fire_time, last_completed_at)CODE
LOWapp/mailers/accounting_mailer.rb157 def us_states_sales_tax_taxjar_upload_failed(date, error_class, error_message)CODE
LOWapp/mailers/accounting_mailer.rb177 def global_sales_tax_summary_report(month, year, s3_read_url)CODE
LOWapp/mailers/accounting_mailer.rb185 def global_sales_tax_summary_report_failed(month, year, error_class, error_message)CODE
LOWapp/mailers/application_mailer.rb34 def from_email_address_with_name(name = "", email = NOREPLY_EMAIL)CODE
666 more matches not shown…
Hallucination Indicators28 hits · 280 pts
SeverityFileLineSnippetContext
CRITICALapp/sidekiq/pdf_unstampable_notifier_job.rb13 product.product_files.alive.pdf.pdf_stamp_enabled.where(stampable_pdf: nil).find_each do |product_file|CODE
CRITICALapp/sidekiq/pdf_unstampable_notifier_job.rb30 product.sales.successful_gift_or_nongift.not_is_gift_sender_purchase.not_recurring_charge.includes(:url_redirect).fiCODE
CRITICALapp/sidekiq/recurring_charge_worker.rb40 new_price = subscription.link.prices.is_buy.alive.find_by(recurrence: latest_applicable_plan_change.recurrence) CODE
CRITICALapp/sidekiq/schedule_membership_price_updates_job.rb31 new_product_price = subscription.link.prices.is_buy.alive.find_by(recurrence: plan_change.recurrence) ||CODE
CRITICALapp/sidekiq/schedule_membership_price_updates_job.rb75 subscription.subscription_plan_changes.for_product_price_change.alive.where.not(id: new_plan_change.id).each(&:marCODE
CRITICALapp/sidekiq/schedule_abandoned_cart_emails_job.rb41 Workflow.distinct.alive.abandoned_cart_type.published.joins(seller: :links).merge(User.alive.not_suspended).merge(LiCODE
CRITICALapp/models/offer_code.rb405 if product.offer_codes.alive.is_cancellation_discount.where.not(id: id).exists?CODE
CRITICALapp/models/product_file.rb395 link.sales.successful_gift_or_nongift.not_is_gift_sender_purchase.not_recurring_charge.includes(:url_redirect).finCODE
CRITICALapp/models/subscription.rb180 installments = link.installments.not_workflow_installment.alive.published.where("published_at >= ?", created_at)CODE
CRITICALapp/models/link.rb967 user.custom_fields.not_is_post_purchase.global.to_a.concat(custom_fields.not_is_post_purchase)CODE
CRITICALapp/presenters/url_redirect_presenter.rb126 purchase_custom_fields: purchase.purchase_custom_fields.is_post_purchase.with_attached_files.where.not(custom_CODE
CRITICALapp/presenters/profile_presenter.rb38 memberships = seller.products.membership.alive.not_archived.includes(ProductPresenter::ASSOCIATIONS_FOR_CARD)CODE
CRITICALapp/presenters/utm_link_presenter.rb56 posts = *seller.installments.audience_type.shown_on_profile.not_workflow_installment.published.includes(:seller).oCODE
CRITICALapp/javascript/pages/Settings/Main/Show.tsx374 {form.data.user.seller_refund_policy.allowed_refund_periods_in_days.map(({ key, value }) => (CODE
CRITICALapp/controllers/third_party_analytics_controller.rb25 user_snippets = @product.user.third_party_analytics.universal.alive.where(location: [params[:location], "all"]).plucCODE
CRITICALapp/services/pages/profile_data.rb33 seller.products.alive.not_archived.not_draft.includes(:thumbnail_alive).order(created_at: :desc).limit(MAX_ITEMS).maCODE
CRITICAL…tration/paypal/paypal_merchant_account_manager_spec.rb267 creator.merchant_accounts.alive.paypal.where.not(charge_processor_merchant_id: new_paypal_merchant_id)CODE
CRITICALspec/requests/products/dropbox_spec.rb94 cancelled_db_file = product.user.dropbox_files.reload.where.not(state: "successfully_uploaded").firstCODE
CRITICALspec/requests/products/edit/membership_tiers_spec.rb369 expect(@product.tier_category.variants.reload.alive.in_order.pluck(:name)).to eq ["Second tier", "Untitled"]CODE
CRITICALspec/requests/products/edit/digital_versions_spec.rb91 expect(product.variant_categories.first.variants.reload.alive.in_order.pluck(:name)).to eq ["Basic Bundle", "FirstCODE
CRITICALspec/requests/emails/edit_spec.rb507 expect(follower_installment.reload.product_files_archives.alive.sole.url.split("/").last).to eq("Updated_Follower_PoCODE
CRITICALspec/modules/with_product_files_spec.rb546 expect(installment.product_files_archives.alive.first.url.split("/").last).to include(installment.name.split(" "CODE
CRITICALspec/controllers/api/v2/thumbnails_controller_spec.rb58 expect(@product.thumbnail.file.blob.metadata.slice("width", "height")).to eq("width" => 1006, "height" => 1006)CODE
CRITICALspec/controllers/api/v2/offer_codes_controller_spec.rb180 expect(result).to eq(success: true, offer_code: @product.reload.offer_codes.alive.first.as_json(api_scopes: ["edCODE
CRITICALspec/controllers/api/v2/offer_codes_controller_spec.rb233 expect(result).to eq(success: true, offer_code: @product.reload.offer_codes.alive.first.as_json(api_scopes: ["viCODE
CRITICALspec/controllers/api/v2/offer_codes_controller_spec.rb297 expect(result).to eq(success: true, offer_code: @product.reload.offer_codes.alive.first.as_json(api_scopes: ["edCODE
CRITICALspec/services/product_duplicator_service_spec.rb77 expect(duplicate_product.prices.alive.first.attributes.except(*do_not_compare)).to eq(product.prices.alive.first.attCODE
CRITICALspec/services/product_duplicator_service_spec.rb187 expect(duplicate_product.variant_categories.alive.first.variants.pluck(:name)).to eq ["Untitled", "Second"]CODE
Over-Commented Block268 hits · 264 pts
SeverityFileLineSnippetContext
LOWdocker/ci/restore_test_db.sh1#!/bin/bashCOMMENT
LOWdocker/ci/dump_test_db.sh1#!/bin/bashCOMMENT
LOWdocker/base/generate_tag_for_test_image.sh1#!/bin/bashCOMMENT
LOWdocker/base/generate_tag_for_test_image.sh21# - *.md any markdown file (verified: no specs read .md fixtures,COMMENT
LOWapp/sidekiq/upload_us_states_sales_tax_to_taxjar_job.rb1# frozen_string_literal: trueCOMMENT
LOWapp/sidekiq/send_post_blast_emails_job.rb61COMMENT
LOWapp/sidekiq/send_post_blast_emails_job.rb101 # also follows) KEEPS their row when they leave just one role, so a follower whoCOMMENT
LOW…merchant_account_payment_method_availability_worker.rb1# frozen_string_literal: trueCOMMENT
LOWapp/sidekiq/verify_finance_reports_delivery_job.rb1# frozen_string_literal: trueCOMMENT
LOWapp/sidekiq/verify_finance_reports_delivery_job.rb61 args_builder = VERIFIED_JOBS[class_name]COMMENT
LOWapp/sidekiq/update_product_files_archive_worker.rb1# frozen_string_literal: trueCOMMENT
LOWapp/sidekiq/concerns/finance_report_failure_alert.rb1# frozen_string_literal: trueCOMMENT
LOW…sidekiq/concerns/finance_report_completion_tracking.rb1# frozen_string_literal: trueCOMMENT
LOW…lementations/stripe/stripe_merchant_account_manager.rb1041 # Suspend the account and inform the creator via email.COMMENT
LOW…lementations/stripe/stripe_merchant_account_manager.rb1221 # rejected account Stripe leaves a permanent supportability interventionCOMMENT
LOWapp/business/payments/charging/flow_of_funds.rb21COMMENT
LOW…ging/implementations/paypal/paypal_charge_processor.rb141 # refunded. Real incident: a partial refund issued for two FAILED (undelivered, never-credited)COMMENT
LOW…ging/implementations/paypal/paypal_charge_processor.rb701 order_api_used: true,COMMENT
LOW…ging/implementations/stripe/stripe_charge_processor.rb601 )COMMENT
LOW…mplementations/stripe/stripe_charge_radar_processor.rb1# frozen_string_literal: trueCOMMENT
LOW…ging/errors/charge_processor_fx_quote_invalid_error.rb1# frozen_string_literal: trueCOMMENT
LOWapp/business/payments/payouts/payouts.rb81 private_class_method :add_below_minimum_payout_noteCOMMENT
LOWapp/business/payments/payouts/payout_estimates.rb1# frozen_string_literal: trueCOMMENT
LOW…ts/payouts/processor/paypal/paypal_payout_processor.rb21 # Public: Determines if it's possible for this processor to payoutCOMMENT
LOW…ts/payouts/processor/paypal/paypal_payout_processor.rb81 trueCOMMENT
LOW…ts/payouts/processor/stripe/stripe_payout_processor.rb121 def self.get_payout_details(user, balances)COMMENT
LOW…ts/payouts/processor/stripe/stripe_payout_processor.rb561COMMENT
LOW…iness/payments/reports/finance_event_ledger_reports.rb1# frozen_string_literal: trueCOMMENT
LOW…iness/payments/reports/finance_event_ledger_reports.rb21# time (Purchase#succeeded_at, Refund#created_at, and the Dispute state machine'sCOMMENT
LOW…usiness/card_data_handling/card_data_handling_error.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/payment.rb41 #COMMENT
LOWapp/models/credit.rb141COMMENT
LOWapp/models/service_charge.rb21 belongs_to :credit_card, optional: trueCOMMENT
LOWapp/models/balance.rb21 has_many :creditsCOMMENT
LOWapp/models/resend_event_info.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/resend_event_info.rb21 # "name": "X-Gum-Mailer-Class",COMMENT
LOWapp/models/resend_event_info.rb41 # "name": "X-Gum-Email-Provider",COMMENT
LOWapp/models/purchase_url_parameter.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/walks_free_trial.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/asset_preview.rb121 endCOMMENT
LOWapp/models/asset_preview.rb141 # the cache. Renders only ever read the cache.COMMENT
LOWapp/models/dispute.rb21 validate :only_one_disputable_presentCOMMENT
LOWapp/models/mailer_info.rb41 endCOMMENT
LOWapp/models/purchase.rb141COMMENT
LOWapp/models/purchase.rb161 #COMMENT
LOWapp/models/purchase.rb181 # purchase triggers the creation of the giftee purchase, which always hasCOMMENT
LOWapp/models/purchase.rb1541 endCOMMENT
LOWapp/models/purchase.rb2541 # filter_map skips purchases whose scoped has_one original_purchase is nilCOMMENT
LOWapp/models/purchase.rb2621 endCOMMENT
LOWapp/models/purchase.rb3201 }COMMENT
LOWapp/models/purchase.rb3381 # same canonical gross back with a positive sign. It reads the gross that wasCOMMENT
LOWapp/models/purchase.rb3841 # Private: Returns true if a custom file receipt should be sent for thisCOMMENT
LOWapp/models/sendgrid_event_info.rb41 def email_providerCOMMENT
LOWapp/models/post_email_blast.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/installment_rule.rb21 validate :to_be_published_at_must_exist_for_non_workflow_postsCOMMENT
LOWapp/models/merchant_account.rb21 # For Stripe Connect (direct-charge) accounts: a cached snapshot of the account's StripeCOMMENT
LOWapp/models/niger_bank_account.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/link.rb1241COMMENT
LOWapp/models/admin/sales_report.rb21 validates :start_date, comparison: { less_than_or_equal_to: -> { Date.current }, message: "cannot be in the future", iCOMMENT
LOWapp/models/admin/sales_report.rb121 # holds the exact value we read (see REPLACE_ENTRY_SCRIPT), so a staleCOMMENT
208 more matches not shown…
Fake / Example Data179 hits · 198 pts
SeverityFileLineSnippetContext
LOW…omponents/Settings/PaymentsPage/BankAccountSection.tsx796 "placeholder" | "maxLength" | "pattern" | "inputMode" | "title"CODE
LOWapp/javascript/components/Admin/EmptyState.tsx8 <div className="placeholder">CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx183 "buyer_name": "Jane Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx196 "buyer_name": "John Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx209 "buyer_name": "John Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx222 "buyer_name": "Jane Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx296 "buyer_name": "Jane Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx309 "buyer_name": "John Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx322 "buyer_name": "John Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx335 "buyer_name": "Jane Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx375 "buyer_name": "Jane Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx388 "buyer_name": "John Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx401 "buyer_name": "John Doe",CODE
LOW…ript/components/ApiDocumentation/Endpoints/Payouts.tsx414 "buyer_name": "Jane Doe",CODE
LOW…ript/components/ProductEdit/ProductTab/TiersEditor.tsx419 const placeholderExtension = editor.extensionManager.extensions.find(({ name }) => name === "placeholder");CODE
LOWapp/javascript/data/card_payment_method_data.test.ts42 address: "123 Main St",CODE
LOWapp/javascript/data/card_payment_method_data.test.ts51 line1: "123 Main St",CODE
LOWapp/javascript/data/payment_method_result.test.ts84 address: "123 Main St",CODE
LOWapp/javascript/data/payment_method_result.test.ts119 address: "123 Main St",CODE
LOW…/sidekiq/million_dollar_milestone_check_worker_spec.rb30 street_address: "123 Main St",CODE
LOW…ec/sidekiq/update_product_files_archive_worker_spec.rb109 { "type" => "paragraph", "content" => [{ "type" => "text", "text" => "Lorem ipsum" }] },CODE
LOWspec/mailers/customer_mailer_spec.rb11 @purchase = create(:purchase, link:, seller: link.user, email: "to@example.org")CODE
LOWspec/mailers/customer_mailer_spec.rb24 expect(mail.to).to eq(["to@example.org"])CODE
LOWspec/mailers/customer_mailer_spec.rb34 @purchase = create(:purchase, link:, seller: link.user, email: "to@example.org")CODE
LOWspec/mailers/customer_mailer_spec.rb152 email: "to@example.org",CODE
LOWspec/mailers/customer_mailer_spec.rb983 let(:seller) { create(:named_seller, name: "John Doe") }CODE
LOWspec/mailers/customer_mailer_spec.rb1003 expect(mail.body).to have_link("John Doe", href: "http://seller.test.gumroad.com:31337", exact: true, count: 3)CODE
LOWspec/mailers/customer_mailer_spec.rb1011 let(:seller1) { create(:user, name: "John Doe", username: "johndoe") }CODE
LOWspec/mailers/customer_mailer_spec.rb1164 expect(mail.body).to have_link("John Doe", href: "http://johndoe.test.gumroad.com:31337", exact: true, countCODE
LOWspec/mailers/community_chat_recap_mailer_spec.rb8 let(:seller) { create(:user, name: "John Doe") }CODE
LOWspec/mailers/concerns/rescue_smtp_errors_spec.rb12 mail(from: "foo@bar.com", body: "")CODE
LOW…youts/processor/paypal/paypal_payout_processor_spec.rb143 let(:user) { create(:user_with_compliance_info, payment_address: "user@example.com") }CODE
LOWspec/models/url_redirect_spec.rb345 { "type" => "paragraph", "content" => [{ "type" => "text", "text" => "Lorem ipsum" }] },CODE
LOWspec/models/url_redirect_spec.rb582 old_variant_rich_content = create(:rich_content, entity: old_variant, title: "Old variant page title", descriptiCODE
LOWspec/models/url_redirect_spec.rb583 create(:rich_content, entity: variant1, title: "Variant 1 page title", description: [{ "type" => "paragraph", "cCODE
LOWspec/models/url_redirect_spec.rb584 variant2_rich_content = create(:rich_content, entity: variant2, title: "Variant 2 page title", description: [{ "CODE
LOWspec/models/url_redirect_spec.rb611 @rich_content = create(:product_rich_content, entity: @product, title: "Page title", description: [{ "type" => "CODE
LOWspec/models/url_redirect_spec.rb624 create(:rich_content, entity: variant1, title: "Variant 1 page title", description: [{ "type" => "paragraph", "cCODE
LOWspec/models/url_redirect_spec.rb625 variant2_rich_content = create(:rich_content, entity: variant2, title: "Variant 2 page title", description: [{ "CODE
LOWspec/models/url_redirect_spec.rb792 { "type" => "paragraph", "content" => [{ "type" => "text", "text" => "Lorem ipsum" }] },CODE
LOWspec/models/url_redirect_spec.rb800 { "type" => "paragraph", "content" => [{ "type" => "text", "text" => "Lorem ipsum" }] },CODE
LOWspec/models/resend_event_info_spec.rb173 let(:seller) { create(:user, name: "John Doe", username: "johndoe") }CODE
LOWspec/models/purchase_spec.rb632 purchase.email = "testingtesting123@example.org"CODE
LOWspec/models/purchase_spec.rb4851 expect(purchase.email).to eq("foo@bar.com")CODE
LOWspec/models/gift_spec.rb10 expect(gift.giftee_email).to eq("foo@bar.com")CODE
LOWspec/models/user_spec.rb2583 expect(user.email).to eq "user@example.com"CODE
LOWspec/models/user_spec.rb2591 expect(user.support_email).to eq "user@example.com"CODE
LOWspec/models/rich_content_spec.rb69 { "type" => "paragraph", "content" => [{ "type" => "text", "text" => "Lorem ipsum" }] },CODE
LOWspec/models/billing_detail_spec.rb60 full_name: "John Doe",CODE
LOWspec/models/billing_detail_spec.rb61 street_address: "123 Main Street",CODE
LOWspec/models/link_spec.rb3965 let(:product) { create(:product, description: "<h1><span>Heading in span</span></h1><b>Bold</b><p><style>color: reCODE
LOWspec/models/concerns/product/structured_data_spec.rb6 let(:user) { create(:user, name: "John Doe") }CODE
LOWspec/models/concerns/product/structured_data_spec.rb174 "name" => "John Doe"CODE
LOWspec/models/concerns/purchase/paypal_spec.rb7 let(:card_visual) { "user@example.com" }CODE
LOWspec/presenters/url_redirect_presenter_spec.rb122 @user = create(:user, name: "John Doe")CODE
LOWspec/presenters/url_redirect_presenter_spec.rb148 name: "John Doe",CODE
LOWspec/presenters/url_redirect_presenter_spec.rb198 @product.update!(custom_receipt: "Lorem ipsum <b>dolor</b> sit amet https://example.com")CODE
LOWspec/presenters/url_redirect_presenter_spec.rb264 @user.update!(name: "John Doe")CODE
LOWspec/presenters/url_redirect_presenter_spec.rb267 name: "John Doe",CODE
LOWspec/presenters/url_redirect_presenter_spec.rb568 @user = create(:user, name: "John Doe", disable_reviews_after_year: true)CODE
119 more matches not shown…
Self-Referential Comments36 hits · 107 pts
SeverityFileLineSnippetContext
MEDIUM…s/payments/integrations/paypal_integration_rest_api.rb15 # Create a partner (Gumroad) referral for the given merchant which pre-fills the data when that merchant signs up forCOMMENT
MEDIUMapp/models/purchase.rb1743 # Creating a url redirect for purchases which are failed but will appear to have gone through to buyer. create_url_rCOMMENT
MEDIUMapp/presenters/rendering_extension.rb46 # Creating a new Gumroad requires a confirmed email (the server enforcesCOMMENT
MEDIUMapp/modules/user/async_devise_notification.rb3# This module is responsible for sending Devise email notifications via ActiveJob.COMMENT
MEDIUMapp/services/order/charge_service.rb20 # Create a combined charge for all purchases belonging to the same sellerCOMMENT
MEDIUM…rvices/dispute_evidence/create_from_dispute_service.rb3# Create a dispute_evidence record that will be submitted to StripeCOMMENT
MEDIUMapp/services/onetime/backfill_audience_members_index.rb87 # Creating the index here instead would race the CreateAudienceMembersIndex migration'sCOMMENT
MEDIUMapp/services/creator_analytics/following.rb28 # This method is used for displaying the running total of followers.COMMENT
MEDIUMapp/services/purchase/create_service.rb151 # Creating the dependent analytics row on an unsaved parent raisesCOMMENT
MEDIUMconfig/anycable.yml1# This file contains per-environment settings for AnyCable.COMMENT
MEDIUMconfig/.rails-rubocop.yml152# Defining a method with parameters needs parentheses.COMMENT
MEDIUMconfig/initializers/rpush.rb27 # Define a custom logger.COMMENT
MEDIUMconfig/initializers/wrap_parameters.rb5# This file contains settings for ActionController::ParamsWrapper whichCOMMENT
MEDIUMconfig/initializers/permissions_policy.rb5# Define an application-wide HTTP permissions policy. For furtherCOMMENT
MEDIUMconfig/initializers/content_security_policy.rb5# Define an application-wide content security policy.COMMENT
MEDIUMconfig/initializers/rack_attack.rb132 # Creating a brand account sends a Devise confirmation email to whateverCOMMENT
MEDIUMspec/models/concerns/attribute_blockable_spec.rb411 # Create a custom test model with its own blockable attributesCOMMENT
MEDIUMspec/models/concerns/affiliate/cookies_spec.rb210 # Create a padded cookie ID that won't match the affiliate's current cookie_id formatCOMMENT
MEDIUMspec/requests/workflows_spec.rb1630 # Create a seller with colon in name (simulating legacy data)COMMENT
MEDIUMspec/requests/settings/payments_spec.rb321 # Create a fresh user with Stripe Connect but no phone number to simulate the reported bugCOMMENT
MEDIUMspec/requests/discover/blackfriday_spec.rb104 # Create the BLACKFRIDAY2025 offer code and associate it with the productCOMMENT
MEDIUMspec/requests/emails/edit_spec.rb83 create(:seller_profile_posts_section, seller:) # Create a profile sectionCODE
MEDIUMspec/requests/emails/create_spec.rb508 # Create a draft email from the "Share" tab of a bundle productCOMMENT
MEDIUMspec/requests/checkout/subscription_restart_spec.rb63 # Create a real Stripe PaymentIntent on the Connect account that requires 3DS action.COMMENT
MEDIUM…ec/requests/subscription/tiered_membership_sca_spec.rb21 # Create a real Stripe PaymentIntent on the Connect account that requires 3DS action.COMMENT
MEDIUMspec/support/factories/subscriptions.rb27 # Create a temporary payment_option without validation to satisfy subscription validationCOMMENT
MEDIUMspec/controllers/purchases_controller_spec.rb1560 # Create a purchase with the same external_id as the charge (the bug scenario)COMMENT
MEDIUMspec/controllers/payouts/exportables_controller_spec.rb97 # Create a payment before the OLDEST_DISPLAYABLE_PAYOUT_PERIOD_END_DATECOMMENT
MEDIUMspec/controllers/concerns/search_products_spec.rb6 # Create a test controller that includes the concernCOMMENT
MEDIUMspec/services/post_email_api_spec.rb53 # Create an email with local part longer than 64 charactersCOMMENT
MEDIUM.buildkite/scripts/create_github_release.sh54# Create the GitHub ReleaseCOMMENT
MEDIUMdb/schema.rb1# This file is auto-generated from the current state of the database. InsteadCOMMENT
MEDIUMdb/schema.rb5# This file is the source Rails uses to define your schema when running `bin/railsCOMMENT
MEDIUMdb/seeds/010_stripe_merchant_account_seeds.rb3# Create the shared Stripe merchant accountCOMMENT
MEDIUMdb/seeds/030_paypal_merchant_account_seeds.rb3# Create the shared PayPal merchant accountsCOMMENT
MEDIUMdb/seeds/020_braintree_merchant_account_seeds.rb3# Create the shared Braintree merchant accountsCOMMENT
AI Slop Vocabulary9 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUM…lementations/stripe/stripe_merchant_account_manager.rb98 # outside of production to facilitate testing and debugging.COMMENT
MEDIUMapp/models/customer_email_info.rb7 # Queries `email_info_charges` first to leverage the index since there is no `purchase_id` on the associatedCOMMENT
LOWapp/models/order.rb86 # Since the data is identical, we can just use one of the purchases as the source of that data.COMMENT
MEDIUMapp/models/charge.rb248 # Queries `email_info_charges` first to leverage the index since there is no `purchase_id` on the associatedCOMMENT
MEDIUMapp/modules/product/stats.rb7 # Essentially returns a sum of "active customers" (for each product)COMMENT
MEDIUM…rs/global_affiliates/product_eligibility_controller.rb20 # endpoint (GET /l/:permalink.json) to leverage its URL routing — thatCOMMENT
MEDIUMspec/services/subscription/updater_service_spec.rb1075 # don't enqueue sale notification for the upgrade purchase to facilitate testingCOMMENT
MEDIUMspec/services/subscription/updater_service_spec.rb2315 # don't enqueue sale notification for the upgrade purchase to facilitate testingCOMMENT
MEDIUMlib/utilities/compliance/countries.rb42 # This list reflects countries under comprehensive OFAC sanctions.COMMENT
Redundant / Tautological Comments11 hits · 16 pts
SeverityFileLineSnippetContext
LOWdocker/web/database_migration.sh33 # Set MIGRATION_LOCK_INDEX to the index of MIGRATION_LOCK_KEY to enable the lockCOMMENT
LOWapp/sidekiq/recurring_charge_worker.rb32 # Check if the user has initiated any plan changes that must be applied atCOMMENT
LOWapp/controllers/secure_redirect_controller.rb46 # Check if confirmation text matches any of the allowed textsCOMMENT
LOWapp/services/ssl_certificates/generate.rb61 # Check if we have hit the rate limit.COMMENT
LOWconfig/environments/production.rb73 # Set this to true and configure the email server for immediate delivery to raise delivery errors.COMMENT
LOWconfig/environments/staging.rb74 # Set this to true and configure the email server for immediate delivery to raise delivery errors.COMMENT
LOWspec/requests/discover/discover_domain_spec.rb43 # Set sales_volume to make sure featured products are predictableCOMMENT
LOWspec/support/stripe_retry_helper.rb52 # Check if current spec has VCR cassetteCOMMENT
LOW.github/workflows/tests.yml164 # Check if both images already exist (content-addressed cache hit).COMMENT
LOW.buildkite/scripts/deploy_production.sh10# Check if we're in the payouts time window (UTC 10:00 to UTC 12:00)COMMENT
LOWlib/utilities/sidekiq_utility.rb14 # Set process to quiet mode.COMMENT
Slop Phrases7 hits · 15 pts
SeverityFileLineSnippetContext
LOWapp/modules/product/prices.rb137 # if more routes open up to change product price, make sure to wrap in transaction and use this methodCOMMENT
LOWconfig/puma.rb41 # you need to make sure to reconnect any threads in the `on_worker_boot`COMMENT
MEDIUMconfig/initializers/friendly_id.rb58 # 'slug', but you can change it if you wish.COMMENT
MEDIUMconfig/initializers/friendly_id.rb62 # By default, slug has no size limit, but you can change it if you wish.COMMENT
LOWconfig/initializers/friendly_id.rb101 # ASCII. If you use this, don't forget to add "babosa" to your Gemfile.COMMENT
LOWconfig/initializers/friendly_id.rb101 # ASCII. If you use this, don't forget to add "babosa" to your Gemfile.COMMENT
MEDIUM…implementations/paypal/paypal_charge_processor_spec.rb10# - After this point, you can use the PayPal express checkout token for all further operations available in the charge COMMENT
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM…migrate/20190413210021_sync_indexes_with_production.rb5 # ==========COMMENT
MEDIUM…migrate/20190413210021_sync_indexes_with_production.rb7 # ==========COMMENT
MEDIUM…migrate/20190413210021_sync_indexes_with_production.rb34 # ==========COMMENT
MEDIUM…migrate/20190413210021_sync_indexes_with_production.rb36 # ==========COMMENT
MEDIUMdb/migrate/20200821142223_create_versions.rb21 # -------------------------------------------------COMMENT
Structural Annotation Overuse5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…sidekiq/regenerate_sales_related_products_infos_job.rb3# WARNING: This job can be very slow, and add a lot of rows to the DB.COMMENT
LOWapp/models/installment.rb594 # NOTE: This method is now only used in one place (PostPresenter), and shouldn't be expected to create any new recordsCOMMENT
LOWdocs/deploying.md68#### Step 1: Hotfix branch creationCOMMENT
LOWdocs/deploying.md101#### Step 2: Make changes in the branch as requiredCOMMENT
LOWdocs/deploying.md105#### Step 3: Actual deploymentCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWapp/models/concerns/unused_columns.rb11# Example usage:COMMENT
LOW.agents/skills/gumroad-prod-console/scripts/setup.sh6# Usage:COMMENT
LOW…ents/skills/gumroad-prod-console/scripts/prod_query.sh3# Usage:COMMENT
LOWspec/support/capybara_helpers.rb107 # Usage:COMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHspec/services/username_generator_service_spec.rb10 it "returns a username generated by OpenAI", :vcr doCODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMapp/services/ai/store_agent_service.rb16# keeps an LLM hallucination or a prompt injection from silently changing a store.COMMENT