<commit_before>= simple_form_for(@ticket) do |f|
  = f.error_notification

  .inputs
    - if can? :manage, @ticket
      = f.input :agent_id, :collection => User.agents.collect{|a| [a.to_s, a.id]}, :prompt => false
      = f.input :status, :collection => Ticket::STATUSES.collect{|s| [s.humanize, s] }, :prompt => false
    = f.input :priority, :collection => Ticket::PRIORITIES.collect{|p| [p.humanize, p] }, :prompt => false
    = f.input :subject
    = f.input :body

    .actions
      = f.submit<commit_msg>Only agents can modify priority<commit_after>= simple_form_for(@ticket) do |f|
  = f.error_notification

  .inputs
    - if can? :manage, @ticket
      = f.input :agent_id, :collection => User.agents.collect{|a| [a.name, a.id]}, :prompt => false
      = f.input :status, :collection => Ticket::STATUSES.collect{|s| [s.humanize, s] }, :prompt => false
      = f.input :priority, :collection => Ticket::PRIORITIES.collect{|p| [p.humanize, p] }, :prompt => false
    = f.input :subject
    = f.input :body

    .actions
      = f.submit
{'fraction_non_alphanumeric': 0.17590822179732313, 'fraction_numerical': 0.0, 'mean_word_length': 3.3443983402489628, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '5374651', 'n_tokens_mistral': 387, 'n_tokens_neox': 360, 'n_words': 83}