<commit_before>class Pass < ActiveRecord::Base
  attr_accessible :pass_number, :total_veritcal_feet, :total_runs, :total_days
  belongs_to :shredder

  def update_stats
    tyt = Tyt.const_get(shredder.area.klass).new(:pass => pass_number)
    season_data = tyt.season_data
    self.update_attributes(
      :total_runs => season_data.total_days,
      :total_vertical_feet => season_data.total_vertical_feet,
      :total_runs => season_data.total_runs
    )
  end<commit_msg>updating pass data<commit_after>class Pass < ActiveRecord::Base
  attr_accessible :pass_number, :total_veritcal_feet, :total_runs, :total_days
  belongs_to :shredder

  def update_stats
    tyt = Tyt.const_get(shredder.area.klass).new(:pass => pass_number)
    season_data = tyt.season_data
    self.total_runs = season_data.total_days
    self.total_vertical_feet = season_data.total_vertical_feet
    self.total_runs = season_data.total_runs
    self.save
  end
{'fraction_non_alphanumeric': 0.08829787234042553, 'fraction_numerical': 0.0, 'mean_word_length': 4.773006134969325, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '871909', 'n_tokens_mistral': 337, 'n_tokens_neox': 330, 'n_words': 51}