<commit_before>.four.columns
  .row.sidebar
    %h5
      = _('Classroom syllabus')
    %hr

    - unless @syllabus.new_record?
      %p.smaller
        = _('Last time updated by %s on %s.') % [@syllabus.user.name, @syllabus.updated_at.to_s(:pretty)]

      - unless @classroom.lectures.empty?
        %p
          = _('There are %d lectures with a total of %d assignments.') % [@classroom.lectures.count, @classroom.assignments.count]

    %h5
      %a.icon-feather.right{:href => new_lecture_path, :title => _('Create a new lecture')}
      = _('Lectures')
    %hr

    - @lectures = @classroom.lectures
    = render('sidebar_lectures_listing')<commit_msg>Fixed a regression. @wip<commit_after>.four.columns
  .row.sidebar
    %h5
      = _('Classroom syllabus')
    %hr

    - unless @syllabus.new_record?
      %p.smaller
        = _('Last time updated by %s on %s.') % [@syllabus.user.name, @syllabus.updated_at.to_s(:pretty)]

      - unless @classroom.lectures.empty?
        %p
          = _('There are %d lectures with a total of %d assignments.') % [@classroom.lectures.count, @classroom.assignments.count]

    %h5
      %a.icon-feather.right{:href => new_lecture_path, :title => _('Create a new lecture')}
      = _('Lectures')
    %hr

    = render(:partial => 'shared/sidebar_lectures_listing', :locals => {:lectures => @classroom.lectures, :classroom => @classroom})
{'fraction_non_alphanumeric': 0.1556842867487328, 'fraction_numerical': 0.002896451846488052, 'mean_word_length': 2.915014164305949, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '6887603', 'n_tokens_mistral': 508, 'n_tokens_neox': 485, 'n_words': 98}