<commit_before>- if stop.last_updated.present?
  .smalltext.last-updated
    Last updated by #{stop.last_updated_by} at #{stop.last_updated_at}
- if stop.completed_at.present?
  .smalltext.last-updated
    Completed by #{stop.completed_by.try :name} at #{format_datetime stop.completed_at}
= form_for stop, url: bus_stop_path(stop.hastus_id) do |f|
  %table.edit-form
    %th
      Stop Info
      %tr
        %td= f.label :name
        %td= stop.name
      %tr
        %td= f.label :hastus_id, 'Hastus ID'
        %td= stop.hastus_id
        %tr
          %td= f.label :routes
          %td= stop.route_list
      %tr
        %td= f.label :garage_responsible
        %td= f.select :garage_responsible, %w[SATCo UMTS VATCo], include_blank: true
      %tr
        %td= f.label :state_road
        %td= f.check_box :state_road
      %tr
        %td= f.label :need_work
        %td= f.select :need_work, ['1 - No issues',
        '2 - Needs cleaning, no safety concern',
        '3 - Minor issues, non safety',
        '4 - Potential safety concern',
        '5 - Immediate safety concern'],
        include_blank: true
        %td= f.select :state_road, [['Yes', true], ['No', false]], include_blank: true
    - BusStop::SUPER_HASH.each do |category, hash|
      %th
        = f.label category
        - hash.each do |name, options|
          %tr
            %td= f.label name
            - if options.kind_of?(Array)
              %td= f.select name, options, include_blank: true
            - else
              %td= f.select name, [['Yes', true], ['No', false]], include_blank: true
    %th<commit_msg>Update _form.haml<commit_after>- if stop.last_updated.present?
  .smalltext.last-updated
    Last updated by #{stop.last_updated_by} at #{stop.last_updated_at}
- if stop.completed_at.present?
  .smalltext.last-updated
    Completed by #{stop.completed_by.try :name} at #{format_datetime stop.completed_at}
= form_for stop, url: bus_stop_path(stop.hastus_id) do |f|
  %table.edit-form
    %th
      Stop Info
      %tr
        %td= f.label :name
        %td= stop.name
      %tr
        %td= f.label :hastus_id, 'Hastus ID'
        %td= stop.hastus_id
        %tr
          %td= f.label :routes
          %td= stop.route_list
      %tr
        %td= f.label :garage_responsible
        %td= f.select :garage_responsible, %w[SATCo UMTS VATCo], include_blank: true
      %tr
        %td= f.label :state_road
        %td= f.select :state_road, [['Yes', true], ['No', false]], include_blank: true
      %tr
        %td= f.label :need_work
        %td= f.select :need_work, ['1 - No issues',
        '2 - Needs cleaning, no safety concern',
        '3 - Minor issues, non safety',
        '4 - Potential safety concern',
        '5 - Immediate safety concern'],
        include_blank: true
    - BusStop::SUPER_HASH.each do |category, hash|
      %th
        = f.label category
        - hash.each do |name, options|
          %tr
            %td= f.label name
            - if options.kind_of?(Array)
              %td= f.select name, options, include_blank: true
            - else
              %td= f.select name, [['Yes', true], ['No', false]], include_blank: true
    %th
{'fraction_non_alphanumeric': 0.12763945792625275, 'fraction_numerical': 0.003151591553734636, 'mean_word_length': 2.0965853658536586, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3284685', 'n_tokens_mistral': 1074, 'n_tokens_neox': 1059, 'n_words': 283}