<commit_before>#main_div
  - if @showtype == "performance"
    = render :partial => "layouts/performance"
    :javascript
      var miq_after_onload = "miqAsyncAjax('#{ url_for(:action => @ajax_action, :id => @record.id)}');"
  - elsif @showtype == "download_pdf"
    = render :partial => "layouts/show_pdf"
  - else
    - if %w(instances images security_groups).include?(@display) && @showtype != "compare"
      = render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@cloud_tenant.id}"}
    - elsif @showtype == "compare" || @showtype == "drift_history" || @showtype == "drift" || @showtype == "item"
      = render :partial => "layouts/#{@showtype}"
    - elsif @showtype == "timeline"
      = render :partial => "layouts/tl_show"
      :javascript
        var miq_after_onload = "miqAsyncAjax('#{ url_for(:action => @ajax_action, :id => @record.id)}');"
    - else
      = render :partial => @showtype<commit_msg>Do not substitute for a known render path<commit_after>#main_div
  - if @showtype == "performance"
    = render :partial => "layouts/performance"
    :javascript
      var miq_after_onload = "miqAsyncAjax('#{ url_for(:action => @ajax_action, :id => @record.id)}');"
  - elsif @showtype == "download_pdf"
    = render :partial => "layouts/show_pdf"
  - else
    - if %w(instances images security_groups).include?(@display) && @showtype != "compare"
      = render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@cloud_tenant.id}"}
    - elsif @showtype == "compare"
      = render :partial => "layouts/compare"
    - elsif @showtype == "drift_history"
      = render :partial => "layouts/drift_history"
    - elsif @showtype == "drift"
      = render :partial => "layouts/drift"
    - elsif @showtype == "item"
      = render :partial => "layouts/item"
    - elsif @showtype == "timeline"
      = render :partial => "layouts/tl_show"
      :javascript
        var miq_after_onload = "miqAsyncAjax('#{ url_for(:action => @ajax_action, :id => @record.id)}');"
    - else
      = render :partial => @showtype
{'fraction_non_alphanumeric': 0.1783625730994152, 'fraction_numerical': 0.0, 'mean_word_length': 3.5021929824561404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2999565', 'n_tokens_mistral': 700, 'n_tokens_neox': 704, 'n_words': 146}