<commit_before>.block#block-tables
  .content
    %h2.title= "Node #{h @node.name}"
    .inner
      = partial('navigation', :active => 'show')

      .content
        .inner
          .left
            %h3 Environment: #{@node.chef_environment}
            %h3 Run List
            %table.table
              %thead
                %tr
                  %th.first Position
                  %th Name
                  %th Version
                  %th.last Type
              %tbody
                - if @node.run_list.empty?
                  %tr
                    %td{:colspan => 2} This node has no roles or recipes applied.
                - else
                  -@node.run_list.each_with_index do |run_list_item, i|
                    %tr
                      %td.position= i
                      %td= run_list_item.name
                      %td= run_list_item.version
                      %td= run_list_item.type
          .left.accordion
            %h3.head= link_to("Recipes", "#")
            - recipes = @node.run_list.expand(@node.chef_environment, 'server').recipes
            %div
              %span.description.form.help
                This is the list of recipes, fully expanded, as they will be applied to the node in question.  
              %table#recipes.table
                %tr
                  %th.first Position
                  %th.last Name
                - if @node.run_list.empty?
                  %tr
                    %td{:colspan => 2} This node has no recipes applied.
                - else
                  - @node.run_list.each_with_index do |recipe, i|
                    %tr
                      %td.position= i
                      %td= recipe
            
          .left
            %h3 Tags 
            %table#recipes.table
              %tr<commit_msg>Showing the expanded run list using the existing recipes object that was previously ignored.<commit_after>.block#block-tables
  .content
    %h2.title= "Node #{h @node.name}"
    .inner
      = partial('navigation', :active => 'show')

      .content
        .inner
          .left
            %h3 Environment: #{@node.chef_environment}
            %h3 Run List
            %table.table
              %thead
                %tr
                  %th.first Position
                  %th Name
                  %th Version
                  %th.last Type
              %tbody
                - if @node.run_list.empty?
                  %tr
                    %td{:colspan => 2} This node has no roles or recipes applied.
                - else
                  -@node.run_list.each_with_index do |run_list_item, i|
                    %tr
                      %td.position= i
                      %td= run_list_item.name
                      %td= run_list_item.version
                      %td= run_list_item.type
          .left.accordion
            %h3.head= link_to("Recipes", "#")
            - recipes = @node.run_list.expand(@node.chef_environment, 'server').recipes
            %div
              %span.description.form.help
                This is the list of recipes, fully expanded, as they will be applied to the node in question.  
              %table#recipes.table
                %tr
                  %th.first Position
                  %th.last Name
                - if @node.run_list.empty?
                  %tr
                    %td{:colspan => 2} This node has no recipes applied.
                - else
                  - recipes.each_with_index do |recipe, i|
                    %tr
                      %td.position= i
                      %td= recipe
            
          .left
            %h3 Tags 
            %table#recipes.table
              %tr
{'fraction_non_alphanumeric': 0.0859375, 'fraction_numerical': 0.003771551724137931, 'mean_word_length': 0.9919527896995708, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7634270', 'n_tokens_mistral': 1000, 'n_tokens_neox': 933, 'n_words': 244}