<commit_before>module Scroll
  class FigureComponent < Model
    include Scroll::Renderable

    ATTACHMENT_STYLES = { large: "1880x1880>", thumb: "100x100>" }

    if Rails.env.development?
      has_attached_file :image, styles: ATTACHMENT_STYLES
    else
      has_attached_file :image,
        styles: ATTACHMENT_STYLES
        storage: :fog,
        fog_credentials: {
          provider: "AWS",
          aws_access_key_id: ENV["S3_KEY"],
          aws_secret_access_key: ENV["S3_SECRET"],
          region: ENV["S3_REGION"]
        },
        fog_directory: ENV["S3_BUCKET"]
    end
  end
end<commit_msg>Fix missin coma<commit_after>module Scroll
  class FigureComponent < Model
    include Scroll::Renderable

    ATTACHMENT_STYLES = { large: "1880x1880>", thumb: "100x100>" }

    if Rails.env.development?
      has_attached_file :image, styles: ATTACHMENT_STYLES
    else
      has_attached_file :image,
        styles: ATTACHMENT_STYLES,
        storage: :fog,
        fog_credentials: {
          provider: "AWS",
          aws_access_key_id: ENV["S3_KEY"],
          aws_secret_access_key: ENV["S3_SECRET"],
          region: ENV["S3_REGION"]
        },
        fog_directory: ENV["S3_BUCKET"]
    end
  end
end
{'fraction_non_alphanumeric': 0.09877551020408164, 'fraction_numerical': 0.029387755102040815, 'mean_word_length': 2.70392749244713, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '350364', 'n_tokens_mistral': 452, 'n_tokens_neox': 424, 'n_words': 79}