<commit_before><% js_env :CAN_READ => can_do(@context, @current_user, :read) %>
<% js_env :SYLLABUS_BODY => user_content(@syllabus_body || '') %>
<% @active_tab = "syllabus" %>
<% course_home ||= false %>
<% if course_home %>
  <h2><%= @context.nickname_for(@current_user) %></h2>
  <div style="margin-top: -5px; margin-bottom: 10px;"><a href="#" class="jump_to_today_link"><%= t 'links.jump_to_today', "Jump to Today" %></a></div>
<% else %>
  <div style="float: right;"><a href="#" class="jump_to_today_link"><%= t 'links.jump_to_today', "Jump to Today" %></a></div>
  <h1><%= t 'titles.course_syllabus', "Course Syllabus" %></h1>
<% end %>
<div id="course_syllabus" style="margin-bottom: 10px;" class="user_content">
  <%= user_content(@syllabus_body) %>
</div>
<div id="course_syllabus_details" style="<%= hidden unless can_do(@context, @current_user, :manage_content) && (!@context.syllabus_body || @context.syllabus_body.strip.empty?) %>"><commit_msg>fix reading of jump to today link<commit_after><% js_env :CAN_READ => can_do(@context, @current_user, :read) %>
<% js_env :SYLLABUS_BODY => user_content(@syllabus_body || '') %>
<% @active_tab = "syllabus" %>
<% course_home ||= false %>
<% if course_home %>
  <h2><%= @context.nickname_for(@current_user) %></h2>
  <div style="margin-top: -5px; margin-bottom: 10px;"><a href="#" class="jump_to_today_link"><%= t 'links.jump_to_today', "Jump to Today" %></a></div>
<% else %>
<div class="ic-Action-header">
  <div class="ic-Action-header__Primary">
    <h1 class="ic-Action-header__Heading"><%= t 'titles.course_syllabus', "Course Syllabus" %></h1>
  </div>
  <div class="ic-Action-header__Secondary">
    <a href="#" class="jump_to_today_link"><%= t 'links.jump_to_today', "Jump to Today" %></a>
  </div>
</div>
<% end %>
<div id="course_syllabus" style="margin-bottom: 10px;" class="user_content">
  <%= user_content(@syllabus_body) %>
</div>
<div id="course_syllabus_details" style="<%= hidden unless can_do(@context, @current_user, :manage_content) && (!@context.syllabus_body || @context.syllabus_body.strip.empty?) %>">
{'fraction_non_alphanumeric': 0.22248918789043728, 'fraction_numerical': 0.008649687650168188, 'mean_word_length': 6.570909090909091, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 67, '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': '4932144', 'n_tokens_mistral': 872, 'n_tokens_neox': 795, 'n_words': 148}