<commit_before>class Project < ActiveRecord::Base
  attr_accessible :project_role

  # Model associations
  belongs_to :team              # Foreign key
  belongs_to :project_status    # Foreign key
  belongs_to :project_template  # Foreign key
  belongs_to :team_membership   # Foreign key

  has_many :tasks

  def overdue_tasks(date=Date.today)
    tasks.select{|task| task.overdue? date }
  end

  def has_commenced?
    Time.zone.now > project_template.start_date
    true
  end

  def has_concluded?
    Time.zone.now > project_template.end_date
  end
end<commit_msg>Removed hardcoded return value for Project#has_commenced? that I accidentally committed<commit_after>class Project < ActiveRecord::Base
  attr_accessible :project_role

  # Model associations
  belongs_to :team              # Foreign key
  belongs_to :project_status    # Foreign key
  belongs_to :project_template  # Foreign key
  belongs_to :team_membership   # Foreign key

  has_many :tasks

  def overdue_tasks(date=Date.today)
    tasks.select{|task| task.overdue? date }
  end

  def has_commenced?
    Time.zone.now > project_template.start_date
  end

  def has_concluded?
    Time.zone.now > project_template.end_date
  end
end
{'fraction_non_alphanumeric': 0.06451612903225806, 'fraction_numerical': 0.0, 'mean_word_length': 3.708171206225681, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5408985', 'n_tokens_mistral': 384, 'n_tokens_neox': 374, 'n_words': 93}