<commit_before><section class='detail-block'>
  <div class='detail-title'>
    {{t 'learnerGroups.subgroups'}} ({{learnerGroups.length}})
  </div>
  <div class='detail-actions'>
    <button {{action 'addLearnerGroup'}}>{{t 'general.addNew'}}</button>
  </div>
  <div class='detail-content'>
    <section class='resultslist'>
      {{#if newLearnerGroups.length}}
        <section class='resultslist-new'>
          {{#each newLearnerGroups as |learnerGroup|}}
            {{new-learnergroup learnerGroup=learnerGroup save='saveNewLearnerGroup' cancel='removeNewLearnerGroup'}}
          {{/each}}
        </section>
      {{/if}}
      <div class='resultslist-list'>
        <table>
          <thead>
            <tr>
              <th class='text-left' colspan=2>{{t 'general.title'}}</th>
              <th class='text-center' >{{t 'general.members'}}</th>
              <th class='text-center' >{{t 'general.actions'}}</th>
            </tr>
          </thead>
          <tbody>
            {{#each proxiedLearnerGroups as |learnerGroup|}}
              <tr class="{{if learnerGroup.showRemoveConfirmation 'confirm-removal'}}">
                <td class='text-left' colspan=2>
                  {{#link-to 'learnerGroup' learnerGroup}}
                    {{fa-icon 'external-link-square'}} {{learnerGroup.title}}
                  {{/link-to}}
                </td>
                <td class='text-center'>{{learnerGroup.usersCount}}</td>
                <td class='text-center'>
                  <span class='clickable' {{action 'confirmRemove' learnerGroup}}>{{fa-icon 'trash'}}</span>
                </td>
              </tr>
              {{#if learnerGroup.showRemoveConfirmation}}
                <tr class='confirm-removal'><td colspan=4>
                  <div class='confirm-message'>
                    {{t 'learnerGroups.confirmRemove' learnerCount=learnerGroup.usersCount subgroupCount=learnerGroup.children.length}} <br />
                   <div class="confirm-buttons">
                    <button {{action 'removeLearnerGroup' learnerGroup}} class='remove text'>{{t 'general.yes'}}</button>
                    <button {{action 'cancelRemove' learnerGroup}} class='done text'>{{t 'general.cancel'}}</button>
                  </div>
                  </div>
                </td></tr>
              {{/if}}<commit_msg>Fix editing subgroup visited by a link<commit_after><section class='detail-block'>
  <div class='detail-title'>
    {{t 'learnerGroups.subgroups'}} ({{learnerGroups.length}})
  </div>
  <div class='detail-actions'>
    <button {{action 'addLearnerGroup'}}>{{t 'general.addNew'}}</button>
  </div>
  <div class='detail-content'>
    <section class='resultslist'>
      {{#if newLearnerGroups.length}}
        <section class='resultslist-new'>
          {{#each newLearnerGroups as |learnerGroup|}}
            {{new-learnergroup learnerGroup=learnerGroup save='saveNewLearnerGroup' cancel='removeNewLearnerGroup'}}
          {{/each}}
        </section>
      {{/if}}
      <div class='resultslist-list'>
        <table>
          <thead>
            <tr>
              <th class='text-left' colspan=2>{{t 'general.title'}}</th>
              <th class='text-center' >{{t 'general.members'}}</th>
              <th class='text-center' >{{t 'general.actions'}}</th>
            </tr>
          </thead>
          <tbody>
            {{#each proxiedLearnerGroups as |learnerGroupProxy|}}
              <tr class="{{if learnerGroup.showRemoveConfirmation 'confirm-removal'}}">
                <td class='text-left' colspan=2>
                  {{#link-to 'learnerGroup' learnerGroupProxy.content}}
                    {{fa-icon 'external-link-square'}} {{learnerGroupProxy.title}}
                  {{/link-to}}
                </td>
                <td class='text-center'>{{learnerGroupProxy.usersCount}}</td>
                <td class='text-center'>
                  <span class='clickable' {{action 'confirmRemove' learnerGroupProxy}}>{{fa-icon 'trash'}}</span>
                </td>
              </tr>
              {{#if learnerGroupProxy.showRemoveConfirmation}}
                <tr class='confirm-removal'><td colspan=4>
                  <div class='confirm-message'>
                    {{t 'learnerGroups.confirmRemove' learnerCount=learnerGroupProxy.usersCount subgroupCount=learnerGroupProxy.children.length}} <br />
                   <div class="confirm-buttons">
                    <button {{action 'removeLearnerGroup' learnerGroupProxy}} class='remove text'>{{t 'general.yes'}}</button>
                    <button {{action 'cancelRemove' learnerGroupProxy}} class='done text'>{{t 'general.cancel'}}</button>
                  </div>
                  </div>
                </td></tr>
              {{/if}}
{'fraction_non_alphanumeric': 0.16348373557187829, 'fraction_numerical': 0.0012591815320041973, 'mean_word_length': 2.115032679738562, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '4149765', 'n_tokens_mistral': 1400, 'n_tokens_neox': 1318, 'n_words': 239}