<commit_before># flashcard class that takes a question and answer
# Model class that contains the logic for the game
#######################################################

class FlashCard

  attr_reader :question, :answer

  def initialize(question,answer)
    @question = question.chomp
    @answer = answer.chomp
  end

  def compare(input)
    if input == @answer
      return true
    else
      return false
    end
  end

end

########################################################

class Player

  attr_accessor :player_name, :player_score

  def initialize
    @player_name = ""
    @player_score = 0
  end

end

########################################################

class FlashModel

  def initialize
   @players = [] # make an empty players array which both player will be pushed into
   2.times {@players << Player.new} # two time smake a new player and push them into the empty array
   file_parsing # call the file parsing method
   @finished = false
  end<commit_msg>added racer attributes to flashmodel and init<commit_after># flashcard class that takes a question and answer
# Model class that contains the logic for the game
#######################################################

class FlashCard

  attr_reader :question, :answer

  def initialize(question,answer)
    @question = question.chomp
    @answer = answer.chomp
  end

  def compare(input)
    if input == @answer
      return true
    else
      return false
    end
  end

end

########################################################

class Player

  attr_accessor :player_name, :player_score

  def initialize
    @player_name = ""
    @player_score = 0
  end

end

########################################################

class FlashModel

  attr_reader :players, :winner, :racer

  def initialize
    @racer = Racer.new
   @players = [] # make an empty players array which both player will be pushed into
   2.times {@players << Player.new} # two time smake a new player and push them into the empty array
   file_parsing # call the file parsing method
   @finished = false
  end
{'fraction_non_alphanumeric': 0.210221793635487, 'fraction_numerical': 0.0019286403085824494, 'mean_word_length': 3.8708920187793425, 'pattern_counts': {'":': 0, '<': 7, '<?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': '689758', 'n_tokens_mistral': 550, 'n_tokens_neox': 526, 'n_words': 205}