<commit_before><%- lessons.each_with_index do |lesson, i| %>
  <%- if i > 0 %>
    <hr />
  <%- end %>

  <div class="lesson">
    <div class="lesson-title">
      <div id="lesson_<%= lesson.id %>_title" class="lesson-title-text" data-mercury="simple"><%= lesson.title %></div>

      <%- if can? :update, lesson %>
        <div class="free-select">
          (Free?
          <%= best_in_place lesson, :free, :type       => :checkbox,
                                           :path       => course_lesson_path(lesson.course, lesson),
                                           :html_attrs => { :rows => '1' } %>
          )
        </div>
      <%- end %>
    </div>


    <div class="lesson-video video-container">
      <div class="video-iframe">
        <%- if can?(:read, lesson) %>
          <%= render :partial => 'shared/video_iframe', :locals => { :video_url => lesson.video } %>
        <%- else %>
          <a href="<%= subscribe_to_club_path(lesson.club) %>" class="click-for-pro-link">
            <%= image_tag "click_for_pro.png", :alt => "click-for-pro" %>
          </a>
        <%- end %>
      </div>

      <%- if is_editing? %>
        <div class="update-embed-url hide-preview">
          <%- if can? :update, lesson %>
            <div class="video-embed-source">
              <span class="video-embed-label"><i class="icon-question-sign"> Video Embed URL:</i></span>

              <div id="lesson_<%= lesson.id %>_video" class="video-related" data-mercury="simple"><%= lesson.video %></div>
            </div>
          <%- end %><commit_msg>Update Lesson List View for Hidden Free<commit_after><%- lessons.each_with_index do |lesson, i| %>
  <%- if i > 0 %>
    <hr />
  <%- end %>

  <div class="lesson">
    <div class="lesson-title">
      <div id="lesson_<%= lesson.id %>_title" class="lesson-title-text" data-mercury="simple"><%= lesson.title %></div>

      <%- if can? :update, lesson %>
        <div class="free-select hide-preview">
          (Free?
          <%= best_in_place lesson, :free, :type       => :checkbox,
                                           :path       => course_lesson_path(lesson.course, lesson),
                                           :html_attrs => { :rows => '1' } %>
          )
        </div>
      <%- end %>
    </div>


    <div class="lesson-video video-container">
      <div class="video-iframe">
        <%- if can?(:read, lesson) %>
          <%= render :partial => 'shared/video_iframe', :locals => { :video_url => lesson.video } %>
        <%- else %>
          <a href="<%= subscribe_to_club_path(lesson.club) %>" class="click-for-pro-link">
            <%= image_tag "click_for_pro.png", :alt => "click-for-pro" %>
          </a>
        <%- end %>
      </div>

      <%- if is_editing? %>
        <div class="update-embed-url hide-preview">
          <%- if can? :update, lesson %>
            <div class="video-embed-source">
              <span class="video-embed-label"><i class="icon-question-sign"> Video Embed URL:</i></span>

              <div id="lesson_<%= lesson.id %>_video" class="video-related" data-mercury="simple"><%= lesson.video %></div>
            </div>
          <%- end %>
{'fraction_non_alphanumeric': 0.1927066960075448, 'fraction_numerical': 0.0012574662055957245, 'mean_word_length': 1.884859474161378, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6416076', 'n_tokens_mistral': 1073, 'n_tokens_neox': 986, 'n_words': 199}