<commit_before><div class="passage">
  <div ng-class="{'word':true, 'error-tooltip-item': !isBr(word.responseText)}" ng-repeat="word in passage">
    <p ng-bind-html="word.responseText | trustedHtml" ng-show="isBr(word.responseText)"></p>
    <input
      ng-show="!isBr(word.responseText)"
      type="text"
      ng-class="{focused: word.isFocused, incorrectError: hasIncorrectError(word), notNecessaryError: hasNotNecessaryError(word), changed: word.text !== word.responseText, correct: hasCorrect(word), underlined: needsUnderlining(word)}"
      ng-readonly="submitted"
      ng-focus="word.isFocused = true"
      ng-change="onInputChange(word)"
      ng-blur="word.isFocused = false"
      ng-size="{{word.responseText.length}}"
      ng-model="word.responseText">
    </input>
    <div class="error-tooltip" ng-show="!isBr(word.responseText) && hasErrorToShow(word)"
      ng-style="word.tooltip.style">
      <div ng-class="{incorrectError: hasIncorrectError(word), notNecessaryError: hasNotNecessaryError(word), correct: hasCorrect(word)}">
        <div class="top-panel">
          <img ng-src="/assets/images/{{answerImageName(word.type)}}_icon.png" alt="{{word.type}}"></img>
          <p>{{word.type}}</p>
          <p class="counter">{{errorCounter(word)}}</p>
          <button ng-click="word.nextAction.fn()">{{word.nextAction.title}}</button>
        </div>
      </div>
    </div>
  </div>
</div><commit_msg>Add 1 to the input length by default<commit_after><div class="passage">
  <div ng-class="{'word':true, 'error-tooltip-item': !isBr(word.responseText)}" ng-repeat="word in passage">
    <p ng-bind-html="word.responseText | trustedHtml" ng-show="isBr(word.responseText)"></p>
    <input
      ng-show="!isBr(word.responseText)"
      type="text"
      ng-class="{focused: word.isFocused, incorrectError: hasIncorrectError(word), notNecessaryError: hasNotNecessaryError(word), changed: word.text !== word.responseText, correct: hasCorrect(word), underlined: needsUnderlining(word)}"
      ng-readonly="submitted"
      ng-focus="word.isFocused = true"
      ng-change="onInputChange(word)"
      ng-blur="word.isFocused = false"
      ng-size="{{word.responseText.length + 1}}"
      ng-model="word.responseText">
    </input>
    <div class="error-tooltip" ng-show="!isBr(word.responseText) && hasErrorToShow(word)"
      ng-style="word.tooltip.style">
      <div ng-class="{incorrectError: hasIncorrectError(word), notNecessaryError: hasNotNecessaryError(word), correct: hasCorrect(word)}">
        <div class="top-panel">
          <img ng-src="/assets/images/{{answerImageName(word.type)}}_icon.png" alt="{{word.type}}"></img>
          <p>{{word.type}}</p>
          <p class="counter">{{errorCounter(word)}}</p>
          <button ng-click="word.nextAction.fn()">{{word.nextAction.title}}</button>
        </div>
      </div>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.1884762235334953, 'fraction_numerical': 0.0006942034015966678, 'mean_word_length': 4.056140350877193, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '6263882', 'n_tokens_mistral': 971, 'n_tokens_neox': 936, 'n_words': 137}