<commit_before><h2 class="screenreader-outcome-title screenreader-only" tabindex="0" aria-alert="true">
  {{title}}
</h2>
<h2 class="title" role="presentation">
  <i class="icon-note-light"></i>
  {{#unless isLargeRoster}}
    <a href='{{html_url}}'>{{title}}</a>
  {{else}}
    {{title}}
  {{/unless}}
</h2>
<div class="description">
  {{{description}}}
</div>
<table class="criterion">
  <tr>
    {{#each ratings}}
    <td class="rating">
      <h5>{{description}}</h5>
      {{#t "points.rating"}}{{points}} Points{{/t}}
    </td>
    {{/each}}
    <td class="total">
      <h5 class="total">{{#t "total_points"}}Total Points{{/t}}</h5>
      {{#t "points.total"}}{{points_possible}} Points{{/t}}
    </td>
  </tr>
</table>

{{#if setQuizMastery}}
  <label for="outcome_mastery_at">
    {{#t "mastery_at_label"}}Set mastery for any score at or above:{{/t}}
    <input type="text" name="mastery_at" id="outcome_mastery_at" value="60" />
    %
  </label>
{{else}}
  {{#if useForScoring}}
    <label for="outcome_use_for_scoring">
      <input type="checkbox" id="outcome_use_for_scoring" class="criterion_for_scoring" checked />
      {{#t "use_for_scoring"}}Use this criterion for scoring{{/t}}
    </label>
  {{else}}
    <p>{{#t "point_mastery"}}Mastery: {{mastery_points}} Points{{/t}}</p>
  {{/if}}
{{/if}}

<div id="calculation_method" data-calculation-method="{{calculation_method}}">
  {{#t}}Calculation Method{{/t}}: {{ friendlyCalculationMethod }}
</div>

<div class="content-box">
  <div class="grid-row">
    <div class="col-xs-2"></div>
    <!-- Hook for OutcomeCalculationMethodFormView -->
    <div class="col-xs-10 outcome-calculation-method-form"></div>
  </div>
</div>

{{#if assessedInContext}}
  <div id="assessed_info_banner" class="alert alert-info">
    <span>
      {{#t}}This outcome has been used to assess a student and cannot be edited or deleted{{/t}}
    </span>
  </div>
{{/if}}

{{#if can_move}}
  <a href="#" style="float:right" class="move_button ui-button ui-widget ui-state-default ui-corner-all" role="button">
    {{#t}}Move Outcome{{/t}}
  </a>

  {{#if can_edit}}
    <a href="#" style="float:right" class="edit_button ui-button ui-widget ui-state-default ui-corner-all" role="button"
      {{#if assessedInContext}} disabled tabindex="-1" aria-hidden="true" {{/if}}>
      {{#t "links.edit_outcome"}}Edit Outcome{{/t}}
    </a>
  {{/if}}

  {{#if can_remove}}
    <a href="#" style="float:right" class="delete_button ui-button ui-widget ui-state-default ui-corner-all" role="button"
      {{#if assessedInContext}} disabled tabindex="-1" aria-hidden="true" {{/if}}>
      {{#t "links.delete_outcome"}}Delete Outcome{{/t}}
    </a>
  {{/if}}
{{/if}}<commit_msg>fix tab order of outcomes buttons<commit_after><h2 class="screenreader-outcome-title screenreader-only" tabindex="0" aria-alert="true">
  {{title}}
</h2>
<h2 class="title" role="presentation">
  <i class="icon-note-light"></i>
  {{#unless isLargeRoster}}
    <a href='{{html_url}}'>{{title}}</a>
  {{else}}
    {{title}}
  {{/unless}}
</h2>
<div class="description">
  {{{description}}}
</div>
<table class="criterion">
  <tr>
    {{#each ratings}}
    <td class="rating">
      <h5>{{description}}</h5>
      {{#t "points.rating"}}{{points}} Points{{/t}}
    </td>
    {{/each}}
    <td class="total">
      <h5 class="total">{{#t "total_points"}}Total Points{{/t}}</h5>
      {{#t "points.total"}}{{points_possible}} Points{{/t}}
    </td>
  </tr>
</table>

{{#if setQuizMastery}}
  <label for="outcome_mastery_at">
    {{#t "mastery_at_label"}}Set mastery for any score at or above:{{/t}}
    <input type="text" name="mastery_at" id="outcome_mastery_at" value="60" />
    %
  </label>
{{else}}
  {{#if useForScoring}}
    <label for="outcome_use_for_scoring">
      <input type="checkbox" id="outcome_use_for_scoring" class="criterion_for_scoring" checked />
      {{#t "use_for_scoring"}}Use this criterion for scoring{{/t}}
    </label>
  {{else}}
    <p>{{#t "point_mastery"}}Mastery: {{mastery_points}} Points{{/t}}</p>
  {{/if}}
{{/if}}

<div id="calculation_method" data-calculation-method="{{calculation_method}}">
  {{#t}}Calculation Method{{/t}}: {{ friendlyCalculationMethod }}
</div>

<div class="content-box">
  <div class="grid-row">
    <div class="col-xs-2"></div>
    <!-- Hook for OutcomeCalculationMethodFormView -->
    <div class="col-xs-10 outcome-calculation-method-form"></div>
  </div>
</div>

{{#if assessedInContext}}
  <div id="assessed_info_banner" class="alert alert-info">
    <span>
      {{#t}}This outcome has been used to assess a student and cannot be edited or deleted{{/t}}
    </span>
  </div>
{{/if}}

{{#if can_move}}
  <div class="pull-right">
    {{#if can_remove}}
      <button class="delete_button ui-button ui-widget ui-state-default ui-corner-all"
        {{#if assessedInContext}} disabled {{/if}}>
        {{#t "links.delete_outcome"}}Delete Outcome{{/t}}
      </button>
    {{/if}}
    {{#if can_edit}}
      <button class="edit_button ui-button ui-widget ui-state-default ui-corner-all"
        {{#if assessedInContext}} disabled {{/if}}>
        {{#t "links.edit_outcome"}}Edit Outcome{{/t}}
      </button>
    {{/if}}
    <button class="move_button ui-button ui-widget ui-state-default ui-corner-all">
      {{#t}}Move Outcome{{/t}}
    </button>
  </div>
{{/if}}
{'fraction_non_alphanumeric': 0.2213037760661281, 'fraction_numerical': 0.005635919594213789, 'mean_word_length': 4.041666666666667, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '964045', 'n_tokens_mistral': 1986, 'n_tokens_neox': 1929, 'n_words': 390}