<commit_before><div class="profile-hooks profile-switch">
  {{hook-switch hook=hook onToggleError="handleToggleError" onToggle="resetErrors"}}
  {{#if hook.isSaving}}
    {{loading-indicator}}
  {{else}}
    {{#link-to "settings" hook.ownerName hook.name class="profile-settings" title="Repository settings"}}<span class="icon icon--cog"></span>{{/link-to}}
  {{/if}}
</div>
<a href={{hook.urlGithub}} rel="nofollow" class="profile-repo">
  {{hook.slug}}
  <span>{{hook.description}}</span></a>

{{#if showError}}
  <div class="hooks-error">
    <p>
      An error happened when we tried to alter settings on GitHub.
      {{#if githubOrgsOauthAccessSettingsUrl}}
        It may be caused by API restrictions, please
        <a href={{githubOrgsOauthAccessSettingsUrl}}
          title="Orgs Oauth Access Settings on GitHub">
          review and add
        </a> your authorized Orgs.
      {{/if}}
      <a class="close" {{action "close" target=view}}></a>
    </p>
  </div>
{{/if}}
<commit_msg>inline loading indicator on profile hooks<commit_after><div class="profile-hooks profile-switch">
  {{hook-switch hook=hook onToggleError="handleToggleError" onToggle="resetErrors"}}
  {{#if hook.isSaving}}
    {{loading-indicator inline=true}}
  {{else}}
    {{#link-to "settings" hook.ownerName hook.name class="profile-settings" title="Repository settings"}}<span class="icon icon--cog"></span>{{/link-to}}
  {{/if}}
</div>
<a href={{hook.urlGithub}} rel="nofollow" class="profile-repo">
  {{hook.slug}}
  <span>{{hook.description}}</span></a>

{{#if showError}}
  <div class="hooks-error">
    <p>
      An error happened when we tried to alter settings on GitHub.
      {{#if githubOrgsOauthAccessSettingsUrl}}
        It may be caused by API restrictions, please
        <a href={{githubOrgsOauthAccessSettingsUrl}}
          title="Orgs Oauth Access Settings on GitHub">
          review and add
        </a> your authorized Orgs.
      {{/if}}
      <a class="close" {{action "close" target=view}}></a>
    </p>
  </div>
{{/if}}

{'fraction_non_alphanumeric': 0.1735496558505408, 'fraction_numerical': 0.0, 'mean_word_length': 3.765807962529274, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '4322577', 'n_tokens_mistral': 645, 'n_tokens_neox': 642, 'n_words': 162}