<commit_before>require File.join( File.dirname( __FILE__ ), "osc_argument" )

 module OSC
  class OSCInt32 < OSCArgument
    def tag() 'i' end
    def encode() [@val].pack('N') end
  end

  class OSCFloat32 < OSCArgument
    def tag() 'f' end
    def encode() [@val].pack('g') end # fake - why fake?
  end

  class OSCString < OSCArgument
    def tag() 's' end
    def encode() padding(@val.sub(/\000.*\z/, '') + "\000") end
  end

  class OSCBlob < OSCArgument
    def tag() 'b' end
    def encode() padding([@val.size].pack('N') + @val) end
  end
end<commit_msg>removing warnings "mismatched indentations"<commit_after>require File.join( File.dirname( __FILE__ ), "osc_argument" )

module OSC
  class OSCInt32 < OSCArgument
    def tag() 'i' end
    def encode() [@val].pack('N') end
  end

  class OSCFloat32 < OSCArgument
    def tag() 'f' end
    def encode() [@val].pack('g') end # fake - why fake?
  end

  class OSCString < OSCArgument
    def tag() 's' end
    def encode() padding(@val.sub(/\000.*\z/, '') + "\000") end
  end

  class OSCBlob < OSCArgument
    def tag() 'b' end
    def encode() padding([@val.size].pack('N') + @val) end
  end
end
{'fraction_non_alphanumeric': 0.15903197925669835, 'fraction_numerical': 0.01728608470181504, 'mean_word_length': 3.150537634408602, 'pattern_counts': {'":': 0, '<': 11, '<?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': '2068074', 'n_tokens_mistral': 432, 'n_tokens_neox': 408, 'n_words': 124}