<commit_before>%li
  %a{:href => "#identify", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Identification & Classification
%li
  %a{:href => "#chars", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Characteristics
- geometry_view_component = "#{@asset.class.name.underscore}_geometry_form"
- if lookup_context.template_exists?(geometry_view_component, 'transit_assets', true)
  %li
    %a{:href => "#geometry", :data =>{:toggle => 'tab'}}
      Geometry
- system_view_component = "#{@asset.class.name.underscore}_system_form"
- if lookup_context.template_exists?(system_view_component, 'transit_assets', true)
  %li
    %a{:href => "#sys", :data =>{:toggle => 'tab'}}
      System
%li
  %a{:href => "#fund", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Funding
%li
  %a{:href => "#purchase", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Procurement & Purchase
%li
  %a{:href => "#ops", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Operations
- reg_view_component = "#{@asset.class.name.underscore}_registration_form"
- if lookup_context.template_exists?(reg_view_component, 'transit_assets', true)
  %li
    %a{:href => "#reg", :data =>{:toggle => 'tab', :panel => 'profile'}}
      Registration & Title





%li
  %a{:href => "#fta", :data =>{:toggle => 'tab', :panel => 'profile'}}
    FTA Reporting
- if @asset.try(:asset_fleets) && @asset.try(:asset_fleets).count > 0
  %li
    %a{:href => "#fleets", :data =>{:toggle => 'tab', :panel => 'profile'}}<commit_msg>Fix optional tab inclusion. [TTPLAT-10]<commit_after>%li
  %a{:href => "#identify", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Identification & Classification
%li
  %a{:href => "#chars", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Characteristics
- prefix = "transit_assets/#{@asset.class.name.underscore}"
- Rails.logger.info prefix
- if lookup_context.template_exists?('geometry_form', prefix, true)
  %li
    %a{:href => "#geometry", :data =>{:toggle => 'tab'}}
      Geometry
- if lookup_context.template_exists?('system_form', prefix, true)
  %li
    %a{:href => "#sys", :data =>{:toggle => 'tab'}}
      System
%li
  %a{:href => "#fund", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Funding
%li
  %a{:href => "#purchase", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Procurement & Purchase
%li
  %a{:href => "#ops", :data =>{:toggle => 'tab', :panel => 'profile'}}
    Operations
- if lookup_context.template_exists?('registration_form', prefix, true)
  %li
    %a{:href => "#reg", :data =>{:toggle => 'tab', :panel => 'profile'}}
      Registration & Title

%li
  %a{:href => "#fta", :data =>{:toggle => 'tab', :panel => 'profile'}}
    FTA Reporting
- if @asset.try(:asset_fleets) && @asset.try(:asset_fleets).count > 0
  %li
    %a{:href => "#fleets", :data =>{:toggle => 'tab', :panel => 'profile'}}
{'fraction_non_alphanumeric': 0.23322795925535653, 'fraction_numerical': 0.0014049877063575693, 'mean_word_length': 4.584313725490196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 81, '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': '7242043', 'n_tokens_mistral': 1039, 'n_tokens_neox': 1007, 'n_words': 223}