<commit_before><div class="discussion-content" id="{{id}}_discussion_content">
  <div class="discussion-row{{#if ENV.permissions.publish}} {{#if published}}discussion-published{{else}}discussion-unpublished{{/if}}{{/if}}">
    {{#if permissions.moderate}}
      <div class="draggable-handle">
        <i class="icon-drag-handle"></i>
      </div>
    {{/if}}

    <div class="discussion-type">
      {{#if assignment}}
        {{#if assignment.peer_reviews}}
          <i class="icon-peer-review" aria-hidden="true"></i>
        {{/if}}
        <i class="icon-assignment" aria-hidden="true"></i>
      {{/if}}
    </div>

    <div class="discussion-title">
      <h3 class="inline-block discussion-title-block">
        {{#if assignment}}
          <span class="screenreader-only">{{#t "graded_discussion"}}Graded discussion: {{/t}}</span>
        {{/if}}
        <a href="{{html_url}}" class="title">{{title}}</a>
      </h3>
      <small {{ contextSensitiveDatetimeTitle last_reply_at }}>{{#t "last_post_date"}}Last post {{display_last_reply_at}}{{/t}}</small>
    </div>

    <div class="discussion-date-available">
      {{#with defaultDates}}
        {{#unless closed}}
          {{>[assignments/available_date_description]}}
        {{/unless}}
      {{/with}}
    </div>

    <div class="discussion-due-date">
      {{#if assignment}}
        {{#if assignment.due_at}}
          <span class="discussion-date-type">
            {{#t "due"}}Due{{/t}}
          </span>
          <span {{ contextSensitiveDatetimeTitle assignment.due_at }}>
            {{datetimeFormatted assignment.due_at}}
          </span>
        {{else}}
          {{#t "no_due_date"}}No Due Date{{/t}}
        {{/if}}
      {{/if}}
    </div>

    <div class="discussion-status">
      <span id="publish-icon" class="publish-icon" data-view="publishIcon"></span>
      <a href="#" data-view="toggleableSubscriptionIcon" class="subscription-toggler">
        <span class="screenreader-only">
          {{#if subscribed}}
            {{#t "user_subscribed"}}You are subscribed to this topic. Click to unsubscribe.{{/t}}
          {{else}}
            {{#t "user_unsubscribed"}}You are not subscribed to this topic. Click to subscribe.{{/t}}
          {{/if}}
        </span>
      </a>
    </div>

    <div class="discussion-unread-status">
      <div class="new-and-total-badge pull-right">
        <span class="new-items"
              title="{{unread_count_tooltip}}"
              aria-hidden="true"
              data-tooltip>
          {{unread_count}}
        </span>
        <span class="screenreader-only">
          {{unread_count_tooltip}}
        </span>

        <div class="total-items"
             title="{{reply_count_tooltip}}"
             aria-hidden="true"
             data-tooltip>
          {{discussion_subentry_count}}
        </div>
        <div class="screenreader-only">
          {{reply_count_tooltip}}
        </div>
      </div>
    </div>


    <div class="discussion-actions">
      {{#if permissions.delete}}
        <a href="#" class="al-trigger al-trigger-gray" role="button" id="manage_link">
          <i class="icon-settings"></i><i class="icon-mini-arrow-down"></i>
          <span class="screenreader-only">{{#t "manage"}}Manage{{/t}}</span>
        </a>

        <ul class="al-options">
          {{#if locked}}
            <li>
              <a href="#" class="icon-lock">
                {{#t "open_to_comments"}}Open to comments{{/t}}
              </a>
            </li>
          {{else}}
            {{#if can_lock}}
              <li>
                <a href="#" class="icon-lock">
                  {{#t "close_for_comments"}}Close for comments{{/t}}
                </a>
              </li>
            {{/if}}
          {{/if}}
          <li><commit_msg>make 'open for comments' wording consistent<commit_after><div class="discussion-content" id="{{id}}_discussion_content">
  <div class="discussion-row{{#if ENV.permissions.publish}} {{#if published}}discussion-published{{else}}discussion-unpublished{{/if}}{{/if}}">
    {{#if permissions.moderate}}
      <div class="draggable-handle">
        <i class="icon-drag-handle"></i>
      </div>
    {{/if}}

    <div class="discussion-type">
      {{#if assignment}}
        {{#if assignment.peer_reviews}}
          <i class="icon-peer-review" aria-hidden="true"></i>
        {{/if}}
        <i class="icon-assignment" aria-hidden="true"></i>
      {{/if}}
    </div>

    <div class="discussion-title">
      <h3 class="inline-block discussion-title-block">
        {{#if assignment}}
          <span class="screenreader-only">{{#t "graded_discussion"}}Graded discussion: {{/t}}</span>
        {{/if}}
        <a href="{{html_url}}" class="title">{{title}}</a>
      </h3>
      <small {{ contextSensitiveDatetimeTitle last_reply_at }}>{{#t "last_post_date"}}Last post {{display_last_reply_at}}{{/t}}</small>
    </div>

    <div class="discussion-date-available">
      {{#with defaultDates}}
        {{#unless closed}}
          {{>[assignments/available_date_description]}}
        {{/unless}}
      {{/with}}
    </div>

    <div class="discussion-due-date">
      {{#if assignment}}
        {{#if assignment.due_at}}
          <span class="discussion-date-type">
            {{#t "due"}}Due{{/t}}
          </span>
          <span {{ contextSensitiveDatetimeTitle assignment.due_at }}>
            {{datetimeFormatted assignment.due_at}}
          </span>
        {{else}}
          {{#t "no_due_date"}}No Due Date{{/t}}
        {{/if}}
      {{/if}}
    </div>

    <div class="discussion-status">
      <span id="publish-icon" class="publish-icon" data-view="publishIcon"></span>
      <a href="#" data-view="toggleableSubscriptionIcon" class="subscription-toggler">
        <span class="screenreader-only">
          {{#if subscribed}}
            {{#t "user_subscribed"}}You are subscribed to this topic. Click to unsubscribe.{{/t}}
          {{else}}
            {{#t "user_unsubscribed"}}You are not subscribed to this topic. Click to subscribe.{{/t}}
          {{/if}}
        </span>
      </a>
    </div>

    <div class="discussion-unread-status">
      <div class="new-and-total-badge pull-right">
        <span class="new-items"
              title="{{unread_count_tooltip}}"
              aria-hidden="true"
              data-tooltip>
          {{unread_count}}
        </span>
        <span class="screenreader-only">
          {{unread_count_tooltip}}
        </span>

        <div class="total-items"
             title="{{reply_count_tooltip}}"
             aria-hidden="true"
             data-tooltip>
          {{discussion_subentry_count}}
        </div>
        <div class="screenreader-only">
          {{reply_count_tooltip}}
        </div>
      </div>
    </div>


    <div class="discussion-actions">
      {{#if permissions.delete}}
        <a href="#" class="al-trigger al-trigger-gray" role="button" id="manage_link">
          <i class="icon-settings"></i><i class="icon-mini-arrow-down"></i>
          <span class="screenreader-only">{{#t "manage"}}Manage{{/t}}</span>
        </a>

        <ul class="al-options">
          {{#if locked}}
            <li>
              <a href="#" class="icon-lock">
                {{#t "open_for_comments"}}Open for comments{{/t}}
              </a>
            </li>
          {{else}}
            {{#if can_lock}}
              <li>
                <a href="#" class="icon-lock">
                  {{#t "close_for_comments"}}Close for comments{{/t}}
                </a>
              </li>
            {{/if}}
          {{/if}}
          <li>
{'fraction_non_alphanumeric': 0.18789473684210525, 'fraction_numerical': 0.0005263157894736842, 'mean_word_length': 2.1177194421657095, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 143, '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': '5931040', 'n_tokens_mistral': 2378, 'n_tokens_neox': 2292, 'n_words': 418}