<commit_before>#grid-wrapper.lessons{:role => "application"}
  %h1 Select level
  #game-levels.no-focus{role: 'grid', tabindex: '0'}
    - (1..@levels.count).to_a.each_slice(2).each_with_index do |levels, row_index|
      .row{role: 'row'}
        - levels.each_with_index do |level, col_index|
          - @level = @levels[level-1]
          - level_coins_count = @level.calculate_coins_count
          .gridcell{id: "row_#{row_index}_col_#{col_index}", role: 'gridcell',
                    "aria-labelledby"=> "level_number_#{@level.level_number}", 
                    "aria-describedby"=>"level_caption_#{@level.level_number}"}
            .span2.summary-coin.colored-block
              = "#{level_coins_count}"
            .span4.lesson-summary.colored-block.no-focus
              %header{id: "level_number_#{@level.level_number}"}
                .counter{class: "counter-#{@level.level_number}"}
                = @level.level_number
              %p.description{id: "level_caption_#{@level.level_number}"}
                = @level.level_name
              %a.btn.btn-mini.btn-try-now{:href => level_path(@level)} Try now
    = render_shareable
  - if current_user.roles != "Student"
    .pull-right=link_to "LEVEL LIST" , levels_list_path, class: 'btn btn-large'<commit_msg>Have removed shareable panel from levels/index page<commit_after>#grid-wrapper.lessons{:role => "application"}
  %h1 Select level
  #game-levels.no-focus{role: 'grid', tabindex: '0'}
    - (1..@levels.count).to_a.each_slice(2).each_with_index do |levels, row_index|
      .row{role: 'row'}
        - levels.each_with_index do |level, col_index|
          - @level = @levels[level-1]
          - level_coins_count = @level.calculate_coins_count
          .gridcell{id: "row_#{row_index}_col_#{col_index}", role: 'gridcell',
                    "aria-labelledby"=> "level_number_#{@level.level_number}", 
                    "aria-describedby"=>"level_caption_#{@level.level_number}"}
            .span2.summary-coin.colored-block
              = "#{level_coins_count}"
            .span4.lesson-summary.colored-block.no-focus
              %header{id: "level_number_#{@level.level_number}"}
                .counter{class: "counter-#{@level.level_number}"}
                = @level.level_number
              %p.description{id: "level_caption_#{@level.level_number}"}
                = @level.level_name
              %a.btn.btn-mini.btn-try-now{:href => level_path(@level)} Try now
  - if current_user.roles != "Student"
    .pull-right=link_to "LEVEL LIST" , levels_list_path, class: 'btn btn-large'
{'fraction_non_alphanumeric': 0.15319148936170213, 'fraction_numerical': 0.005415860735009671, 'mean_word_length': 2.6218487394957983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3723321', 'n_tokens_mistral': 875, 'n_tokens_neox': 856, 'n_words': 116}