<commit_before><div class="sheet" ng-if="vm.auth.status === 'signed-in' ||
    (vm.auth.status === 'signed-out' &&
    (languages.getLanguageList() != undefined
    && languages.getLanguageList().length != 0))">
  <div class="form-vertical">
    <ul class="nav nav-tabs">
      <li class="active"><a href="">Translation Options
      </a></li>
       <ol ng-if="vm.auth.status === 'signed-in'" class="sidebar-tutorial__list">
          <p ng-if="vm.auth.status === 'signed-in'">
            Click to change mode:
            <a href="#" ng-if="mode === 'view'" ng-click="setMode('edit')"> view </a>
            <a href="#" ng-if="mode === 'edit'" ng-click="setMode('view')"> edit </a>
          </p>
      </ol>
      <ol ng-if="vm.auth.status === 'signed-out'" class="sidebar-tutorial__list">
        <li class="sidebar-tutorial__list-item">
          <p class="sidebar-tutorial__list-item-content">
            To view available public translations select a language above and an author from the list of authors (if any) below.
          </p>
        </li>
        <li class="sidebar-tutorial__list-item">
          <p class="sidebar-tutorial__list-item-content">
            When viewing a translation, hover over text to see the original version.
        </li>
      </ol>
    </ul>
    <div class="tab-content">
      <div ng-if="languages.getLanguageList().length == 0 || languages.getLanguageList() == undefined">
        <p>Before you can create or view a translation, you must select or add a language above.</p>
      </div>
      <div ng-if="languages.getLanguageList().length > 0">
        <p>
          <span ng-if="vm.auth.status === 'signed-out'">
            Sign in to write your own translation.
          </span>
        </p>
        <form ng-if="mode === 'edit'" ng-if="vm.auth.status === 'signed-in'" action="">
           <label><input type="radio" name="editmode" id="addchange" ng-click="setUserForEdit()"/> Add or change your translations.</label>
          <label><input type="radio" name="editmode" id="sentenceselection" ng-click="toggleSentence()"/>Add translations sentence-by-sentence.</label>
        </form>
        <p ng-if="mode=='view' && $root.list_of_users.length == 0">
            There are no available translations.
        </p>
        <p ng-if="mode=='view' && $root.list_of_users.length > 0">
        <p ng-if="mode=='view' && $root.list_of_users.length > 0">
          <a href="#" ng-click="setUserForReset()">
            View the original document
          </a>.
        </p>
        <div ng-if="$root.list_of_users.length > 0 && mode=='view'">
          <hr/>
          <p><b>Select a user below to view a translation of this page:</b></p>
          <p ng-if="$root.direction == 1">
            Sort by score: <a ng-click="reverseUserList(0)" href="#">descending</a>
          </p>
          <p ng-if="$root.direction == 0 || $root.direction == undefined">
            Sort by score: <a ng-click="reverseUserList(1)" href="#">ascending</a>
          </p>
          <ul class="user-list">
            <li class="user-item" ng-repeat="user in $root.list_of_users">
            <span ng-if="$root.currentUser != 'acct:' + user.author.username + '@' + user.author.provider">
              <a href="#" ng-click="setUser(user.author)">{{user.author.username}}</a>
              <a href="#" ng-click="vote(user.author)" ng-init="showVote(user.author, user.score)">
                <stars starscore="user.score"></stars>
              </a>
            </span>
              <div ng-if="author == user.author && vm.auth.status === 'signed-in'" class="votelist">
                Rate {{user.author.username}}'s translation by clicking on a star:
               <ul class="vote-list">
                <li class="vote-item" ng-repeat="score in [5,4,3,2,1] | filter:voteAuthor(user.author)">
                  <a href="#" ng-click="addVote(user.author, score)">
                    <stars starscore="score"></stars>
                  </a>
                </li>
               </ul>
                Or: <a href="#" ng-click="addReport(user.author)">report this translation as abusive</a>.
              </div>
              </span>
            <span ng-if="$root.currentUser == 'acct:' + user.author.username + '@' + user.author.provider">
              <a href="#" ng-click="setUser('self')">
                {{user.author.username}}
              </a>
              [your own translation</a>]
              <stars starscore="user.score"></stars>
            </span>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>
<commit_msg>Add inline-block styling to ensure alignment<commit_after><div class="sheet" ng-if="vm.auth.status === 'signed-in' ||
    (vm.auth.status === 'signed-out' &&
    (languages.getLanguageList() != undefined
    && languages.getLanguageList().length != 0))">
  <div class="form-vertical">
    <ul class="nav nav-tabs">
      <li class="active"><a href="">Translation Options
      </a></li>
       <ol ng-if="vm.auth.status === 'signed-in'" class="sidebar-tutorial__list">
          <p ng-if="vm.auth.status === 'signed-in'">
            Click to change mode:
            <a href="#" ng-if="mode === 'view'" ng-click="setMode('edit')"> view </a>
            <a href="#" ng-if="mode === 'edit'" ng-click="setMode('view')"> edit </a>
          </p>
      </ol>
      <ol ng-if="vm.auth.status === 'signed-out'" class="sidebar-tutorial__list">
        <li class="sidebar-tutorial__list-item">
          <p class="sidebar-tutorial__list-item-content">
            To view available public translations select a language above and an author from the list of authors (if any) below.
          </p>
        </li>
        <li class="sidebar-tutorial__list-item">
          <p class="sidebar-tutorial__list-item-content">
            When viewing a translation, hover over text to see the original version.
        </li>
      </ol>
    </ul>
    <div class="tab-content">
      <div ng-if="languages.getLanguageList().length == 0 || languages.getLanguageList() == undefined">
        <p>Before you can create or view a translation, you must select or add a language above.</p>
      </div>
      <div ng-if="languages.getLanguageList().length > 0">
        <p>
          <span ng-if="vm.auth.status === 'signed-out'">
            Sign in to write your own translation.
          </span>
        </p>
        <form ng-if="mode === 'edit'" ng-if="vm.auth.status === 'signed-in'" action="">
           <p><label><input type="radio" name="editmode" id="addchange" style="display:inline-block" ng-click="setUserForEdit()"/> Add or change your translations.</label></p>
           <p><label><input type="radio" name="editmode" id="sentenceselection" style="display:inline-block" ng-click="toggleSentence()"/> Add translations sentence-by-sentence.</label></p>
        </form>
        <p ng-if="mode=='view' && $root.list_of_users.length == 0">
            There are no available translations.
        </p>
        <p ng-if="mode=='view' && $root.list_of_users.length > 0">
        <p ng-if="mode=='view' && $root.list_of_users.length > 0">
          <a href="#" ng-click="setUserForReset()">
            View the original document
          </a>.
        </p>
        <div ng-if="$root.list_of_users.length > 0 && mode=='view'">
          <hr/>
          <p><b>Select a user below to view a translation of this page:</b></p>
          <p ng-if="$root.direction == 1">
            Sort by score: <a ng-click="reverseUserList(0)" href="#">descending</a>
          </p>
          <p ng-if="$root.direction == 0 || $root.direction == undefined">
            Sort by score: <a ng-click="reverseUserList(1)" href="#">ascending</a>
          </p>
          <ul class="user-list">
            <li class="user-item" ng-repeat="user in $root.list_of_users">
            <span ng-if="$root.currentUser != 'acct:' + user.author.username + '@' + user.author.provider">
              <a href="#" ng-click="setUser(user.author)">{{user.author.username}}</a>
              <a href="#" ng-click="vote(user.author)" ng-init="showVote(user.author, user.score)">
                <stars starscore="user.score"></stars>
              </a>
            </span>
              <div ng-if="author == user.author && vm.auth.status === 'signed-in'" class="votelist">
                Rate {{user.author.username}}'s translation by clicking on a star:
               <ul class="vote-list">
                <li class="vote-item" ng-repeat="score in [5,4,3,2,1] | filter:voteAuthor(user.author)">
                  <a href="#" ng-click="addVote(user.author, score)">
                    <stars starscore="score"></stars>
                  </a>
                </li>
               </ul>
                Or: <a href="#" ng-click="addReport(user.author)">report this translation as abusive</a>.
              </div>
              </span>
            <span ng-if="$root.currentUser == 'acct:' + user.author.username + '@' + user.author.provider">
              <a href="#" ng-click="setUser('self')">
                {{user.author.username}}
              </a>
              [your own translation</a>]
              <stars starscore="user.score"></stars>
            </span>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>

{'fraction_non_alphanumeric': 0.18389694041867954, 'fraction_numerical': 0.0034353193773483627, 'mean_word_length': 2.1504903618532296, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 217, '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': '1774477', 'n_tokens_mistral': 2877, 'n_tokens_neox': 2761, 'n_words': 634}