<commit_before>require_relative "card"

class Deck
	SIZE = 52

	def initialize 
		@deck = []

		SIZE.times do |i|
			rank = Card.ranks[i % 13]
			suit = Card.suits[i % 4]

			@deck << Card.new(suit, rank)
		end
	end

	def self
		@deck
	end

	def delete(x)
		@deck.delete(x)
	end

	def deck(x)
		@deck[x]
	end

	def tell_deck
		@deck.join(", ")
	end

	def sort!
		@deck.sort_by do |card|
			card.suit
		end
	end

	def shuffle!
		@deck.shuffle!
	end

	def remove_top_card
		@deck.delete_at(0)
	end

	def add_card_to_deck(card)
		@deck << card
	end

	def length
		@deck.length
	end
end<commit_msg>Reindent<commit_after>require_relative "card"

class Deck
  SIZE = 52

  def initialize 
    @deck = []

    SIZE.times do |i|
      rank = Card.ranks[i % 13]
      suit = Card.suits[i % 4]

      @deck << Card.new(suit, rank)
    end
  end

  def self
    @deck
  end

  def delete(x)
    @deck.delete(x)
  end

  def deck(x)
    @deck[x]
  end

  def tell_deck
    @deck.join(", ")
  end

  def sort!
    @deck.sort_by do |card|
      card.suit
    end
  end

  def shuffle!
    @deck.shuffle!
  end

  def remove_top_card
    @deck.delete_at(0)
  end

  def add_card_to_deck(card)
    @deck << card
  end

  def length
    @deck.length
  end
end
{'fraction_non_alphanumeric': 0.11272141706924316, 'fraction_numerical': 0.00966183574879227, 'mean_word_length': 2.3058510638297873, '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': '2312313', 'n_tokens_mistral': 573, 'n_tokens_neox': 511, 'n_words': 129}