<commit_before>require 'active_support/concern'

class User < ActiveRecord::Base
  module User::Limitable
    extend ActiveSupport::Concern

    included do
      before_create :set_limitable_attributes
    end

    def set_limitable_attributes
      multiplier = 10
      self.vm_max         = 6 * multiplier
      self.memory_max     = 1536 * multiplier
      self.cpu_max        = 3 * multiplier
      self.storage_max    = 30 * multiplier
      self.bandwidth_max  = 50 * multiplier
    end
  end
end<commit_msg>changing max resources for new users<commit_after>require 'active_support/concern'

class User < ActiveRecord::Base
  module User::Limitable
    extend ActiveSupport::Concern

    included do
      before_create :set_limitable_attributes
    end

    def set_limitable_attributes
      multiplier = 1
      self.vm_max         = 2 * multiplier
      self.memory_max     = 1536 * multiplier
      self.cpu_max        = 3 * multiplier
      self.storage_max    = 50 * multiplier
      self.bandwidth_max  = 250 * multiplier
    end
  end
end
{'fraction_non_alphanumeric': 0.05687203791469194, 'fraction_numerical': 0.022748815165876776, 'mean_word_length': 2.5675675675675675, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '2961224', 'n_tokens_mistral': 334, 'n_tokens_neox': 297, 'n_words': 76}