<commit_before># coding: utf-8
class BxTableGroupForm
  include Formup
  include BxIssuesRelation

  source :table_group, :aliases => { :project_id => :project_id,
                                     :name => :name,
                                     :database_id => :database_id,
                                     :description => :description,
                                     :lock_version => :lock_version }
  attr_accessor :data_types

  validates :name, :presence => true, :length => { :maximum => 255 }
  validates :database_id, :presence => true
  validates :data_types, :presence => true

  def initialize(params = {})
    self.data_types = []<commit_msg>changed max length of name attribute to 200 from 255<commit_after># coding: utf-8
class BxTableGroupForm
  include Formup
  include BxIssuesRelation

  source :table_group, :aliases => { :project_id => :project_id,
                                     :name => :name,
                                     :database_id => :database_id,
                                     :description => :description,
                                     :lock_version => :lock_version }
  attr_accessor :data_types

  validates :name, :presence => true, :length => { :maximum => 200 }
  validates :database_id, :presence => true
  validates :data_types, :presence => true

  def initialize(params = {})
    self.data_types = []
{'fraction_non_alphanumeric': 0.10252707581227437, 'fraction_numerical': 0.010108303249097473, 'mean_word_length': 1.911764705882353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '223542', 'n_tokens_mistral': 396, 'n_tokens_neox': 369, 'n_words': 93}