<commit_before>module GemSuit
  class Application < ::Thor::Group
    module Utils
      class Gemfile

        # A simple class which derives a Gemfile

        attr_accessor :source

        def initialize(*files)
          @files = files
        end

        def gems
          @gems ||= begin
            {}.tap do
              gem_file  = @files.detect{|file| File.exists? file}
              gem_specs = File.readlines(gem_file).join "\n"
              instance_eval gem_specs
            end
          end
        end

        def source(src)
          source = src
        end

        def gem(name, *args)
          options = (args.pop if args.last.is_a?(Hash)) || {}
          options[:version] = args.first if args.first.is_a?(String)
          @gems[name] = options
        end

        def method_missing(method, *args)
          # e.g. group :test do
          # end
        end<commit_msg>Corrected Utils::Gemfile<commit_after>module GemSuit
  class Application < ::Thor::Group
    module Utils
      class Gemfile

        # A simple class which derives a Gemfile

        attr_accessor :source

        def initialize(*files)
          @files = files
        end

        def gems
          @gems ||= begin
            @gems     = {}
            gem_file  = @files.detect{|file| File.exists? file}
            gem_specs = File.readlines(gem_file).join "\n"
            instance_eval gem_specs
            gems
          end
        end

        def source(src)
          source = src
        end

        def gem(name, *args)
          options = (args.pop if args.last.is_a?(Hash)) || {}
          options[:version] = args.first if args.first.is_a?(String)
          @gems[name] = options
        end

        def method_missing(method, *args)
          # e.g. group :test do
          # end
        end
{'fraction_non_alphanumeric': 0.09170785282811642, 'fraction_numerical': 0.0, 'mean_word_length': 1.4755434782608696, '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': '4879977', 'n_tokens_mistral': 539, 'n_tokens_neox': 514, 'n_words': 137}