<commit_before>require "rperf/version"
require "rperf/block_generator"
require "rperf/device"
require "rperf/worker"
require "rperf/workload"
require "rperf/stats"

module Rperf
  def self.normalize_units(val)

    case val

    when /^\s*(\d+)\s*KiB\s*$/i
      return $1.to_i * 1024

    when /^\s*(\d+)\s*KB\s*$/i
      return $1.to_i * 1000

    when /^\s*(\d+)\s*MB\s*$/i
      return $1.to_i * 1_000_000

    when /^\s*(\d+)\s*GB\s*$/i
      return $1.to_i * 1_000_000_000
<commit_msg>Include the renamed file!<commit_after>require "rperf/version"
require "rperf/block_generator"
require "rperf/device"
require "rperf/worker"
require "rperf/sequential_writer"
require "rperf/stats"

module Rperf
  def self.normalize_units(val)

    case val

    when /^\s*(\d+)\s*KiB\s*$/i
      return $1.to_i * 1024

    when /^\s*(\d+)\s*KB\s*$/i
      return $1.to_i * 1000

    when /^\s*(\d+)\s*MB\s*$/i
      return $1.to_i * 1_000_000

    when /^\s*(\d+)\s*GB\s*$/i
      return $1.to_i * 1_000_000_000

{'fraction_non_alphanumeric': 0.18444666001994017, 'fraction_numerical': 0.05782652043868395, 'mean_word_length': 2.83206106870229, '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': '6905707', 'n_tokens_mistral': 491, 'n_tokens_neox': 428, 'n_words': 79}