<commit_before><%= content_for :breadcrumbs do %>
  <%= header_breadcrumbs(link_for_organization: false) %>
<% end %>

<div class="col-lg-8 offset-lg-2">
  <%= render partial: 'book/header' %>

  <% @book.next_lesson_for(current_user).try do |lesson| %>
    <% if show_content_element? %>
      <div class="actions">
        <a href="<%=   lesson_path(lesson)   %>" class="btn btn-complementary">
          <%=   t book_practice_key_for(current_user)   %>
        </a>
      </div>
    <%  else  %>
      <br>
    <%   end %>
  <% end %>

  <% if show_content?(@book) %>
    <h2><%= t(:chapters) %></h2>
  <% end %>

  <% @book.chapter_visibilities_in(current_workspace).each do |it, enabled| %>

    <% next unless show_content?(it.topic) %>

    <div class="chapter-container">
      <div class="chapter <%= enabled ? '' : 'mu-locked' %>">
        <h3><%= it.number %>. <%= link_to_path_element it, mode: :plain %></h3>
        <div class="text-box" <%= 'aria-label=""' unless enabled %>>
          <%= it.description_teaser_html %>
        </div>
      </div>

      <% unless enabled  %>
        <div class="text-center mu-lock">
          <i class="fas fa-lock fa-5x"></i>
          <p><%= t :locked_content %></p>
        </div>
      <% end %>
    </div>
  <% end %>
  <% if current_user? && @exams.present? %>
    <h2><%= t(:exams) %></h2><commit_msg>Remove some spaces<commit_after><%= content_for :breadcrumbs do %>
  <%= header_breadcrumbs(link_for_organization: false) %>
<% end %>

<div class="col-lg-8 offset-lg-2">
  <%= render partial: 'book/header' %>

  <% @book.next_lesson_for(current_user).try do |lesson| %>
    <% if show_content_element? %>
      <div class="actions">
        <a href="<%= lesson_path(lesson) %>" class="btn btn-complementary">
          <%= t book_practice_key_for(current_user) %>
        </a>
      </div>
    <% else %>
      <br>
    <% end %>
  <% end %>

  <% if show_content?(@book) %>
    <h2><%= t(:chapters) %></h2>
  <% end %>

  <% @book.chapter_visibilities_in(current_workspace).each do |it, enabled| %>

    <% next unless show_content?(it.topic) %>

    <div class="chapter-container">
      <div class="chapter <%= enabled ? '' : 'mu-locked' %>">
        <h3><%= it.number %>. <%= link_to_path_element it, mode: :plain %></h3>
        <div class="text-box" <%= 'aria-label=""' unless enabled %>>
          <%= it.description_teaser_html %>
        </div>
      </div>

      <% unless enabled %>
        <div class="text-center mu-lock">
          <i class="fas fa-lock fa-5x"></i>
          <p><%= t :locked_content %></p>
        </div>
      <% end %>
    </div>
  <% end %>
  <% if current_user? && @exams.present? %>
    <h2><%= t(:exams) %></h2>
{'fraction_non_alphanumeric': 0.2132841328413284, 'fraction_numerical': 0.006642066420664207, 'mean_word_length': 2.624331550802139, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, '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': '94418', 'n_tokens_mistral': 1074, 'n_tokens_neox': 961, 'n_words': 181}