<commit_before><div
  id="assignment_{{id}}"
  class="ig-row {{#ifAll canManage published}}ig-published{{/ifAll}} {{#if is_master_course_master_content}}is-master{{/if}}"
  data-item-id="{{labelId}}"
>
  {{#if isDuplicating}}
    <div class="ig-row__layout">
      {{>spinner}} {{#t}}Making a copy of "{{originalAssignmentName}}"{{/t}}
    </div>
  {{else}} {{#if failedToDuplicate}}
    <span aria-live="polite" role="alert" aria-atomic="true">{{#t}}Oops! Something went wrong with making a copy of "{{originalAssignmentName}}"{{/t}}</span>
    <div class="duplicate-failed-actions">
      <button class="duplicate-failed-retry btn btn-primary">
        <span class="screenreader-only">{{#t}}Retry duplicating "{{originalAssignmentName}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Retry{{/t}}</span>
      </button>
      <button class="duplicate-failed-cancel btn">
        <span class="screenreader-only">{{#t}}Cancel duplicating "{{originalAssignmentName}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Cancel{{/t}}</span>
      </button>
    </div>
  {{else}} {{#if isMigrating}}
    <div class="ig-row__layout">
      {{>spinner}} {{#t}}Migrating "{{name}}"{{/t}}
    </div>
  {{else}} {{#if failedToMigrate}}
    <span aria-live="polite" role="alert" aria-atomic="true">{{#t}}Oops! Something went wrong with migrating "{{name}}"{{/t}}</span>
    <div class="migrate-failed-actions">
      <button class="migrate-failed-retry btn btn-primary">
        <span class="screenreader-only">{{#t}}Retry migrating "{{name}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Retry{{/t}}</span>
      </button>
      <button class="duplicate-failed-cancel btn">
        <span class="screenreader-only">{{#t}}Cancel migrating "{{name}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Cancel{{/t}}</span>
      </button>
    </div>
  {{else}} {{#if isImporting}}
    <div class="ig-row__layout">
      {{>spinner}} {{#t}}Importing "{{name}}"{{/t}}
    </div>
  {{else}} {{#if failedToImport}}
    <span aria-live="polite" role="alert" aria-atomic="true">{{#t}}Oops! Something went wrong importing "{{name}}"{{/t}}</span>
    <div class="import-failed-actions">
      <button class="import-failed-cancel btn">
        <span class="screenreader-only">{{#t}}Cancel importing "{{name}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Cancel{{/t}}</span>
      </button>
    </div>
  {{else}}
    <div class="ig-row__layout">
    {{#if canManage}}
    <div aria-hidden='true' class="ig-handle">
      <span class="draggable-handle{{#unless canMove}} disabled{{/unless}}">
        <i class="icon-drag-handle"></i>
      </span>
    </div>
    {{/if}}
    <div class="ig-type-icon">
      <i aria-hidden="true" class='icon-{{iconType}}'></i>
      <span class="screenreader-only">{{objectTypeDisplayName}}</span>
    </div>
    <div class="ig-info">
      <a href="{{htmlUrl}}" class="ig-title" aria-live="polite">
        {{name}}
      </a>
      <div class="ig-details">
        {{#if canManage}}
          {{#if has_modules}}
            <div class="ig-details__item ig-details__item--wrap-text modules">
              {{#ifEqual module_count 1}}
                {{module_name}} {{#t}}Module{{/t}}
              {{else}}
                <a
                  title='{{joined_names}}'
                  class="tooltip_link"
                  data-tooltip-selector="#module_tooltip_{{labelId}}"
                >{{#t}}Multiple Modules{{/t}}</a>
              {{/ifEqual}}
              <div id="module_tooltip_{{labelId}}" style="display:none;">
                {{#each modules}}
                  <span>{{this}}</span>
                {{/each}}
              </div>
            </div>
          {{/if}}
        {{/if}}
        {{#if showAvailability}}
        <div class="ig-details__item assignment-date-available" data-view="date-available">
        </div>
        {{/if}}
        {{#if showDueDate}}
          <div class="ig-details__item assignment-date-due" data-view="date-due">
          </div>
        {{/if}}
        {{#if pointsPossible}}
          <div class="ig-details__item js-score">
            <span class="screenreader-only">
              {{#t}}{{n pointsPossible}} Points Possible{{/t}}
            </span>
            <span class="non-screenreader" aria-hidden="true">
              {{#t}}{{n pointsPossible}} pts{{/t}}
            </span>
          </div>
        {{else}}
          <span class="js-score screenreader-only">
            {{#t}}No Points Possible{{/t}}
          </span>
        {{/if}}
      </div>
    </div>
    {{#if canManage}}
      <div class="ig-admin">
        {{#if cyoe.isTrigger}}
        <a href="{{htmlEditUrl}}?return_to={{return_to}}#mastery-paths-editor" title="{{#t}}Edit Mastery Paths for {{name}}{{/t}}">{{#t}}Mastery Paths{{/t}}</a>
        {{/if}}
        {{#if cyoe.isReleased}}
        <span class="pill mastery-path-icon" aria-hidden="true" data-tooltip title="{{#t}}Released by Mastery Path: {{cyoe.releasedLabel}}{{/t}}">
          <i class="icon-mastery-path"></i>{{cyoe.releasedLabel}}
        </span>
        <span class="screenreader-only">{{#t}}Released by Mastery Path: {{cyoe.releasedLabel}}{{/t}}</span>
        {{/if}}
        <span class="sis-button" data-view="sis-button"></span>
        <span class="lock-icon" data-view="lock-icon"></span>
        <span class="publish-icon" data-view="publish-icon"></span>
        <div class="inline-block">
          <a
            class="al-trigger al-trigger-gray"
            id="assign_{{id}}_manage_link"
            role="button"
            tabindex="0"
          >
            <i class="icon-more" aria-hidden="true"></i>
            <span class="screenreader-only">{{#t}}Settings for Assignment {{name}}{{/t}}</span>
          </a>

          <ul
            id="assignment_{{id}}_settings_list"
            class="al-options"
          >
            {{#if canEdit}}
              <li>
                <a
                  class="edit_assignment icon-edit"
                  id="assignment_{{id}}_settings_edit_item"
                  aria-label="{{#t}}Edit Assignment {{name}}{{/t}}"
                  data-focus-returns-to="assign_{{id}}_manage_link"
                >{{#t}}Edit{{/t}}</a>
              </li>
            {{else}}
              <li>
                <a
                  class="edit_assignment icon-edit disabled"
                  id="assignment_{{id}}_settings_edit_item"
                  aria-label="{{#t}}Edit Assignment {{name}}{{/t}}"
                  aria-disabled="true"
                >{{#t}}Edit{{/t}}</a>
                <span class="screenreader-only">{{#t}}You do not have permissions to edit this moderated assignment{{/t}}</span>
              </li>
            {{/if}}
            {{#if canDuplicate}}
            <li>
              <a
                class="duplicate_assignment icon-copy-course"
                id="assignment_{{id}}_settings_duplicate_item"
                aria-label="{{#t}}Duplicate Assignment {{name}}{{/t}}"
                data-focus-returns-to"assign_{{id}}_manage_link"
              >{{#t}}Duplicate{{/t}}</a>
            </li>
            {{/if}}
            {{#if canMove}}
            <li>
              <a
                class="move_assignment icon-updown"
                id="assignment_{{id}}_settings_move_item"
                aria-label='{{#t}}Move Assignment {{name}}{{/t}}'
                data-focus-returns-to="assign_{{id}}_manage_link"
              >{{#t}}Move To…{{/t}}</a>
            </li>
            {{else}}
            <li>
              <a
                class="move_assignment icon-updown disabled"
                id="assignment_{{id}}_settings_move_item"
                aria-label='{{#t}}Move Assignment {{name}}{{/t}}'
                aria-disabled=true
              >{{#t}}Move To…{{/t}}</a>
            </li>
            {{/if}}
            {{#if cyoe.isCyoeAble}}
            <li>
              <a
                href="{{htmlEditUrl}}?return_to={{return_to}}#mastery-paths-editor"
                class="edit_mastery_paths icon-mastery-path"
                id="assignment_{{id}}_settings_edit_item_mastery_paths"
                aria-label="{{#t}}Edit Assignment {{name}} Mastery Paths{{/t}}"
                data-focus-returns-to="assign_{{id}}_manage_link"
                title="{{#t}}Edit Mastery Paths for {{name}}{{/t}}"
              >{{#t}}Mastery Paths{{/t}}</a>
            </li>
            {{/if}}
            {{#unless is_locked}}
              <li>
                {{#if canDelete}}
                  <a
                    class="delete_assignment icon-trash"
                    id="assignment_{{id}}_settings_delete_item"
                    aria-label="{{#t}}Delete Assignment {{name}}{{/t}}"
                    data-focus-returns-to="assign_{{id}}_manage_link"
                  >{{#t "delete"}}Delete{{/t}}</a>
                {{else}}
                  <a
                    class="delete_assignment icon-trash disabled"
                    id="assignment_{{id}}_settings_delete_item"
                    aria-label="{{#t}}Delete Assignment {{name}}{{/t}}"
                    aria-disabled=true
                  >{{#t "delete"}}Delete{{/t}}</a>
                {{/if}}
              </li>
            {{/unless}}
            {{#if DIRECT_SHARE_ENABLED}}
              <li>
                <a
                    class="send_assignment_to icon-user"
                    id="assignment_{{id}}_settings_share_user"
                    aria-label="{{#t}}Send Assignment {{name}} to another user{{/t}}"
                >{{#t}}Send To...{{/t}}</a>
              </li>
                <li>
                  <a
                    class="copy_assignment_to icon-duplicate"
                    id="assignment_{{id}}_settings_copy_to"
                    aria-label="{{#t}}Copy Assignment {{name}} to another course{{/t}}"
                  >{{#t}}Copy To...{{/t}}</a>
                </li>
                </ul>
              </li>
            {{/if}}
            {{>ExternalTools/external_tools_menu menu_tools}}
          </ul>
        </div>
      </div>
    </div><commit_msg>remove spurious </ul> after direct share menu items<commit_after><div
  id="assignment_{{id}}"
  class="ig-row {{#ifAll canManage published}}ig-published{{/ifAll}} {{#if is_master_course_master_content}}is-master{{/if}}"
  data-item-id="{{labelId}}"
>
  {{#if isDuplicating}}
    <div class="ig-row__layout">
      {{>spinner}} {{#t}}Making a copy of "{{originalAssignmentName}}"{{/t}}
    </div>
  {{else}} {{#if failedToDuplicate}}
    <span aria-live="polite" role="alert" aria-atomic="true">{{#t}}Oops! Something went wrong with making a copy of "{{originalAssignmentName}}"{{/t}}</span>
    <div class="duplicate-failed-actions">
      <button class="duplicate-failed-retry btn btn-primary">
        <span class="screenreader-only">{{#t}}Retry duplicating "{{originalAssignmentName}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Retry{{/t}}</span>
      </button>
      <button class="duplicate-failed-cancel btn">
        <span class="screenreader-only">{{#t}}Cancel duplicating "{{originalAssignmentName}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Cancel{{/t}}</span>
      </button>
    </div>
  {{else}} {{#if isMigrating}}
    <div class="ig-row__layout">
      {{>spinner}} {{#t}}Migrating "{{name}}"{{/t}}
    </div>
  {{else}} {{#if failedToMigrate}}
    <span aria-live="polite" role="alert" aria-atomic="true">{{#t}}Oops! Something went wrong with migrating "{{name}}"{{/t}}</span>
    <div class="migrate-failed-actions">
      <button class="migrate-failed-retry btn btn-primary">
        <span class="screenreader-only">{{#t}}Retry migrating "{{name}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Retry{{/t}}</span>
      </button>
      <button class="duplicate-failed-cancel btn">
        <span class="screenreader-only">{{#t}}Cancel migrating "{{name}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Cancel{{/t}}</span>
      </button>
    </div>
  {{else}} {{#if isImporting}}
    <div class="ig-row__layout">
      {{>spinner}} {{#t}}Importing "{{name}}"{{/t}}
    </div>
  {{else}} {{#if failedToImport}}
    <span aria-live="polite" role="alert" aria-atomic="true">{{#t}}Oops! Something went wrong importing "{{name}}"{{/t}}</span>
    <div class="import-failed-actions">
      <button class="import-failed-cancel btn">
        <span class="screenreader-only">{{#t}}Cancel importing "{{name}}"{{/t}}</span>
        <span aria-hidden="true">{{#t}}Cancel{{/t}}</span>
      </button>
    </div>
  {{else}}
    <div class="ig-row__layout">
    {{#if canManage}}
    <div aria-hidden='true' class="ig-handle">
      <span class="draggable-handle{{#unless canMove}} disabled{{/unless}}">
        <i class="icon-drag-handle"></i>
      </span>
    </div>
    {{/if}}
    <div class="ig-type-icon">
      <i aria-hidden="true" class='icon-{{iconType}}'></i>
      <span class="screenreader-only">{{objectTypeDisplayName}}</span>
    </div>
    <div class="ig-info">
      <a href="{{htmlUrl}}" class="ig-title" aria-live="polite">
        {{name}}
      </a>
      <div class="ig-details">
        {{#if canManage}}
          {{#if has_modules}}
            <div class="ig-details__item ig-details__item--wrap-text modules">
              {{#ifEqual module_count 1}}
                {{module_name}} {{#t}}Module{{/t}}
              {{else}}
                <a
                  title='{{joined_names}}'
                  class="tooltip_link"
                  data-tooltip-selector="#module_tooltip_{{labelId}}"
                >{{#t}}Multiple Modules{{/t}}</a>
              {{/ifEqual}}
              <div id="module_tooltip_{{labelId}}" style="display:none;">
                {{#each modules}}
                  <span>{{this}}</span>
                {{/each}}
              </div>
            </div>
          {{/if}}
        {{/if}}
        {{#if showAvailability}}
        <div class="ig-details__item assignment-date-available" data-view="date-available">
        </div>
        {{/if}}
        {{#if showDueDate}}
          <div class="ig-details__item assignment-date-due" data-view="date-due">
          </div>
        {{/if}}
        {{#if pointsPossible}}
          <div class="ig-details__item js-score">
            <span class="screenreader-only">
              {{#t}}{{n pointsPossible}} Points Possible{{/t}}
            </span>
            <span class="non-screenreader" aria-hidden="true">
              {{#t}}{{n pointsPossible}} pts{{/t}}
            </span>
          </div>
        {{else}}
          <span class="js-score screenreader-only">
            {{#t}}No Points Possible{{/t}}
          </span>
        {{/if}}
      </div>
    </div>
    {{#if canManage}}
      <div class="ig-admin">
        {{#if cyoe.isTrigger}}
        <a href="{{htmlEditUrl}}?return_to={{return_to}}#mastery-paths-editor" title="{{#t}}Edit Mastery Paths for {{name}}{{/t}}">{{#t}}Mastery Paths{{/t}}</a>
        {{/if}}
        {{#if cyoe.isReleased}}
        <span class="pill mastery-path-icon" aria-hidden="true" data-tooltip title="{{#t}}Released by Mastery Path: {{cyoe.releasedLabel}}{{/t}}">
          <i class="icon-mastery-path"></i>{{cyoe.releasedLabel}}
        </span>
        <span class="screenreader-only">{{#t}}Released by Mastery Path: {{cyoe.releasedLabel}}{{/t}}</span>
        {{/if}}
        <span class="sis-button" data-view="sis-button"></span>
        <span class="lock-icon" data-view="lock-icon"></span>
        <span class="publish-icon" data-view="publish-icon"></span>
        <div class="inline-block">
          <a
            class="al-trigger al-trigger-gray"
            id="assign_{{id}}_manage_link"
            role="button"
            tabindex="0"
          >
            <i class="icon-more" aria-hidden="true"></i>
            <span class="screenreader-only">{{#t}}Settings for Assignment {{name}}{{/t}}</span>
          </a>

          <ul
            id="assignment_{{id}}_settings_list"
            class="al-options"
          >
            {{#if canEdit}}
              <li>
                <a
                  class="edit_assignment icon-edit"
                  id="assignment_{{id}}_settings_edit_item"
                  aria-label="{{#t}}Edit Assignment {{name}}{{/t}}"
                  data-focus-returns-to="assign_{{id}}_manage_link"
                >{{#t}}Edit{{/t}}</a>
              </li>
            {{else}}
              <li>
                <a
                  class="edit_assignment icon-edit disabled"
                  id="assignment_{{id}}_settings_edit_item"
                  aria-label="{{#t}}Edit Assignment {{name}}{{/t}}"
                  aria-disabled="true"
                >{{#t}}Edit{{/t}}</a>
                <span class="screenreader-only">{{#t}}You do not have permissions to edit this moderated assignment{{/t}}</span>
              </li>
            {{/if}}
            {{#if canDuplicate}}
            <li>
              <a
                class="duplicate_assignment icon-copy-course"
                id="assignment_{{id}}_settings_duplicate_item"
                aria-label="{{#t}}Duplicate Assignment {{name}}{{/t}}"
                data-focus-returns-to"assign_{{id}}_manage_link"
              >{{#t}}Duplicate{{/t}}</a>
            </li>
            {{/if}}
            {{#if canMove}}
            <li>
              <a
                class="move_assignment icon-updown"
                id="assignment_{{id}}_settings_move_item"
                aria-label='{{#t}}Move Assignment {{name}}{{/t}}'
                data-focus-returns-to="assign_{{id}}_manage_link"
              >{{#t}}Move To…{{/t}}</a>
            </li>
            {{else}}
            <li>
              <a
                class="move_assignment icon-updown disabled"
                id="assignment_{{id}}_settings_move_item"
                aria-label='{{#t}}Move Assignment {{name}}{{/t}}'
                aria-disabled=true
              >{{#t}}Move To…{{/t}}</a>
            </li>
            {{/if}}
            {{#if cyoe.isCyoeAble}}
            <li>
              <a
                href="{{htmlEditUrl}}?return_to={{return_to}}#mastery-paths-editor"
                class="edit_mastery_paths icon-mastery-path"
                id="assignment_{{id}}_settings_edit_item_mastery_paths"
                aria-label="{{#t}}Edit Assignment {{name}} Mastery Paths{{/t}}"
                data-focus-returns-to="assign_{{id}}_manage_link"
                title="{{#t}}Edit Mastery Paths for {{name}}{{/t}}"
              >{{#t}}Mastery Paths{{/t}}</a>
            </li>
            {{/if}}
            {{#unless is_locked}}
              <li>
                {{#if canDelete}}
                  <a
                    class="delete_assignment icon-trash"
                    id="assignment_{{id}}_settings_delete_item"
                    aria-label="{{#t}}Delete Assignment {{name}}{{/t}}"
                    data-focus-returns-to="assign_{{id}}_manage_link"
                  >{{#t "delete"}}Delete{{/t}}</a>
                {{else}}
                  <a
                    class="delete_assignment icon-trash disabled"
                    id="assignment_{{id}}_settings_delete_item"
                    aria-label="{{#t}}Delete Assignment {{name}}{{/t}}"
                    aria-disabled=true
                  >{{#t "delete"}}Delete{{/t}}</a>
                {{/if}}
              </li>
            {{/unless}}
            {{#if DIRECT_SHARE_ENABLED}}
              <li>
                <a
                    class="send_assignment_to icon-user"
                    id="assignment_{{id}}_settings_share_user"
                    aria-label="{{#t}}Send Assignment {{name}} to another user{{/t}}"
                >{{#t}}Send To...{{/t}}</a>
              </li>
              <li>
                <a
                  class="copy_assignment_to icon-duplicate"
                  id="assignment_{{id}}_settings_copy_to"
                  aria-label="{{#t}}Copy Assignment {{name}} to another course{{/t}}"
                >{{#t}}Copy To...{{/t}}</a>
              </li>
            {{/if}}
            {{>ExternalTools/external_tools_menu menu_tools}}
          </ul>
        </div>
      </div>
    </div>
{'fraction_non_alphanumeric': 0.19736452472608823, 'fraction_numerical': 0.00019741387819563716, 'mean_word_length': 1.9286023991906345, 'pattern_counts': {'":': 0, '<': 316, '<?xml version=': 0, '>': 324, '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': '4260328', 'n_tokens_mistral': 6379, 'n_tokens_neox': 6074, 'n_words': 990}