<commit_before><div id="assignment_group_{{id}}" data-id="{{id}}" class="assignment_group">

  <div class="ig-header" style="position:relative;">
    {{#if ENV.PERMISSIONS.manage}}
      <span class="sortable-handle">
        <a href="#" class="icon-drag-handle">
        <span class="screenreader-only accessibility-warning">{{#t "move_to_accessibility_warning"}}Warning: for improved accessibility of reordering assignments and groups, please use the Move To Dialog option found in the menu.{{/t}}</span>
        </a>
      </span>
    {{/if}}
    {{#if course_home}}
      <h3 class="ig-header-title">
        <a
        class="element_toggler accessible-toggler"
        aria-controls="assignment_group_{{id}}_assignments"
        aria-expanded="true"
        aria-label="{{name}} {{toggleMessage}}"
        tabindex="0"
        href="#"
        >
          <i class="icon-mini-arrow-down"></i>
          {{name}}
        </a>
      </h3>
    {{else}}
      <h2 class="ig-header-title">
        <a
        class="element_toggler accessible-toggler"
        aria-controls="assignment_group_{{id}}_assignments"
        aria-expanded="true"
        aria-label="{{name}} {{toggleMessage}}"
        tabindex="0"
        href="#"
        >
          <i class="icon-mini-arrow-down"></i>
          {{name}}
        </a>
      </h2>
    {{/if}}

    <div class="ag-header-controls">
      {{#ifAny showWeight showRules}}
        <ul class="pill">
          {{#if showWeight}}
            <li>{{#t "group_weight"}}{{groupWeight}}% of Total{{/t}}</li>
          {{/if}}
          {{#if showRules}}
            <li>
              <a
                href='#'
                title='{{#toSentence displayableRules}}{{this}}{{/toSentence}}'
                class="tooltip_link"
                data-tooltip-selector="#ag_{{id}}_rules_tooltip"
              >{{rulesText}}<i class="icon-mini-arrow-down"></i></a>
              <div id="ag_{{id}}_rules_tooltip" style="display:none;">
                {{#each displayableRules}}
                  <span>{{this}}</span><br/>
                {{/each}}
              </div>
            </li>
          {{/if}}
        </ul>
      {{/ifAny}}

      {{#if ENV.PERMISSIONS.manage}}
        <a
          href="#"
          class="btn add_assignment"
          title='{{#t "add_assignment_to"}}Add Assignment to {{name}}{{/t}}'
        >
          {{! icon is separate from <a> tag because it is the only visible content in the button }}
          <span class="screenreader-only">{{#t "add_assignment_to"}}Add Assignment to {{name}}{{/t}}</span>
          <i class="icon-plus"></i>
        </a>

        <div class="inline-block">
          <a id="ag_{{id}}_manage_link" class="al-trigger btn" href="#" tabindex="0" role="button">
            <span class="screenreader-only">{{#t "manage"}}Manage {{name}}{{/t}}</span>
            <i class="icon-settings"></i><i class="icon-mini-arrow-down"></i>
          </a>
          <ul class="al-options">
            <li>
              <a
                href="#"
                class="edit_group icon-edit"
                aria-label="{{#t 'assignment_group_edit'}}Edit Assignment Group{{/t}}"
                data-focus-returns-to="ag_{{id}}_manage_link"
              >{{#t "edit"}}Edit{{/t}}</a>
            </li>
            {{#unless hasFrozenAssignments}}
              <li>
                <a
                  href="#"
                  class="delete_group icon-trash"
                  aria-label='{{#t "assignment_group_delete"}}Delete Assignment Group{{/t}}'
                  data-focus-returns-to="ag_{{id}}_manage_link"
                >{{#t "delete"}}Delete{{/t}}</a>
              </li>
            {{/unless}}
            {{#if canMove}}
            <li>
              <a
                href="#"
                class="move_group icon-updown"
                aria-label='{{#t "assignment_group_move"}}Move Assignment Group{{/t}}'
                data-focus-returns-to="ag_{{id}}_manage_link"
              >{{#t "move"}}Move To…{{/t}}</a>
            </li>
            {{/if}}
          </ul>
        </div><commit_msg>remove i18n keys from AssignmentGroupListItem template<commit_after><div id="assignment_group_{{id}}" data-id="{{id}}" class="assignment_group">

  <div class="ig-header" style="position:relative;">
    {{#if ENV.PERMISSIONS.manage}}
      <span class="sortable-handle">
        <a href="#" class="icon-drag-handle">
        <span class="screenreader-only accessibility-warning">{{#t}}Warning: for improved accessibility of reordering assignments and groups, please use the Move To Dialog option found in the menu.{{/t}}</span>
        </a>
      </span>
    {{/if}}
    {{#if course_home}}
      <h3 class="ig-header-title">
        <a
        class="element_toggler accessible-toggler"
        aria-controls="assignment_group_{{id}}_assignments"
        aria-expanded="true"
        aria-label="{{name}} {{toggleMessage}}"
        tabindex="0"
        href="#"
        >
          <i class="icon-mini-arrow-down"></i>
          {{name}}
        </a>
      </h3>
    {{else}}
      <h2 class="ig-header-title">
        <a
        class="element_toggler accessible-toggler"
        aria-controls="assignment_group_{{id}}_assignments"
        aria-expanded="true"
        aria-label="{{name}} {{toggleMessage}}"
        tabindex="0"
        href="#"
        >
          <i class="icon-mini-arrow-down"></i>
          {{name}}
        </a>
      </h2>
    {{/if}}

    <div class="ag-header-controls">
      {{#ifAny showWeight showRules}}
        <ul class="pill">
          {{#if showWeight}}
            <li>{{#t}}{{groupWeight}}% of Total{{/t}}</li>
          {{/if}}
          {{#if showRules}}
            <li>
              <a
                href='#'
                title='{{#toSentence displayableRules}}{{this}}{{/toSentence}}'
                class="tooltip_link"
                data-tooltip-selector="#ag_{{id}}_rules_tooltip"
              >{{rulesText}}<i class="icon-mini-arrow-down"></i></a>
              <div id="ag_{{id}}_rules_tooltip" style="display:none;">
                {{#each displayableRules}}
                  <span>{{this}}</span><br/>
                {{/each}}
              </div>
            </li>
          {{/if}}
        </ul>
      {{/ifAny}}

      {{#if ENV.PERMISSIONS.manage}}
        <a
          href="#"
          class="btn add_assignment"
          title='{{#t}}Add Assignment to {{name}}{{/t}}'
        >
          {{! icon is separate from <a> tag because it is the only visible content in the button }}
          <span class="screenreader-only">{{#t}}Add Assignment to {{name}}{{/t}}</span>
          <i class="icon-plus"></i>
        </a>

        <div class="inline-block">
          <a id="ag_{{id}}_manage_link" class="al-trigger btn" href="#" tabindex="0" role="button">
            <span class="screenreader-only">{{#t}}Manage {{name}}{{/t}}</span>
            <i class="icon-settings"></i><i class="icon-mini-arrow-down"></i>
          </a>
          <ul class="al-options">
            <li>
              <a
                href="#"
                class="edit_group icon-edit"
                aria-label="{{#t}}Edit Assignment Group{{/t}}"
                data-focus-returns-to="ag_{{id}}_manage_link"
              >{{#t}}Edit{{/t}}</a>
            </li>
            {{#unless hasFrozenAssignments}}
              <li>
                <a
                  href="#"
                  class="delete_group icon-trash"
                  aria-label='{{#t}}Delete Assignment Group{{/t}}'
                  data-focus-returns-to="ag_{{id}}_manage_link"
                >{{#t}}Delete{{/t}}</a>
              </li>
            {{/unless}}
            {{#if canMove}}
            <li>
              <a
                href="#"
                class="move_group icon-updown"
                aria-label='{{#t}}Move Assignment Group{{/t}}'
                data-focus-returns-to="ag_{{id}}_manage_link"
              >{{#t}}Move To…{{/t}}</a>
            </li>
            {{/if}}
          </ul>
        </div>
{'fraction_non_alphanumeric': 0.1857178279196628, 'fraction_numerical': 0.001983635011157947, 'mean_word_length': 1.7598357851522408, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, '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': '7148772', 'n_tokens_mistral': 2530, 'n_tokens_neox': 2383, 'n_words': 425}