<commit_before>class TaskSerializer < ActiveModel::Serializer
  attributes :id, :label, :assignment_name, :project, :story, :url, :project_users, :completed, :due_at, :due_at_pretty
  has_one :assignment

  def url
    project_story_task_path(project, story, id)
  end

  def project_users
    project.users_select_array
  end

  def due_at_pretty
    return unless due_at.present?

    due_at.to_date.strftime('%e %b, %Y')
  end
end<commit_msg>Fix url path in task serializer<commit_after>class TaskSerializer < ActiveModel::Serializer
  attributes :id, :label, :assignment_name, :project, :story, :url, :project_users, :completed, :due_at, :due_at_pretty
  has_one :assignment

  def url
    api_v1_project_story_task_path(project, story, id)
  end

  def project_users
    project.users_select_array
  end

  def due_at_pretty
    return unless due_at.present?

    due_at.to_date.strftime('%e %b, %Y')
  end
end
{'fraction_non_alphanumeric': 0.09398907103825137, 'fraction_numerical': 0.001092896174863388, 'mean_word_length': 4.7974683544303796, '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': '7038813', 'n_tokens_mistral': 332, 'n_tokens_neox': 315, 'n_words': 76}