<commit_before>class TimingEvent < ActiveRecord::Base
  include MyplaceonlineActiveRecordIdentityConcern
  include AllowExistingConcern

  belongs_to :timing
  
  def display
    Myp.seconds_to_time_in_general_human_detailed_hms(duration)
  end

  validates :timing_event_start, presence: true<commit_msg>Fix timing bug<commit_after>class TimingEvent < ActiveRecord::Base
  include MyplaceonlineActiveRecordIdentityConcern
  include AllowExistingConcern

  belongs_to :timing
  
  validates :timing_event_start, presence: true
  validates :timing_event_end, presence: true
  
  def display
    Myp.seconds_to_time_in_general_human_detailed_hms(duration)
  end

  validates :timing_event_start, presence: true
{'fraction_non_alphanumeric': 0.04519774011299435, 'fraction_numerical': 0.0, 'mean_word_length': 6.385416666666667, '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': '6856215', 'n_tokens_mistral': 229, 'n_tokens_neox': 222, 'n_words': 43}