<commit_before>class Striuct; module InstanceMethods

  # @group Basic Methods for Ruby's Object
  
  def initialize(*values)
    @db, @locks = {}, {}
    replace_values(*values)
    excess_autonyms = _autonyms.last(size - values.size)
    set_defaults(*excess_autonyms)
  end

  # @return [self]
  def freeze
    [@db, @locks].each(&:freeze)
    super
  end<commit_msg>refactoring #freeze<commit_after>class Striuct; module InstanceMethods

  # @group Basic Methods for Ruby's Object
  
  def initialize(*values)
    @db, @locks = {}, {}
    replace_values(*values)
    excess_autonyms = _autonyms.last(size - values.size)
    set_defaults(*excess_autonyms)
  end

  # @return [self]
  def freeze
    @db.freeze
    @locks.freeze
    super
  end
{'fraction_non_alphanumeric': 0.11394101876675604, 'fraction_numerical': 0.0, 'mean_word_length': 3.5272727272727273, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2217039', 'n_tokens_mistral': 265, 'n_tokens_neox': 253, 'n_words': 56}