<commit_before><div tabindex="0" (keyup)="keyUp($event)" (blur)="onTouched()" class="dropdown open show" [off-click]="clickedOutside">

    <!-- Control display -->
    <div [class.disabled]="disabled">
      <span tabindex="-1" class="btn btn-default btn-secondary form-control" [class.selected-container-text]="!multiple" [class.selected-container-item]="multiple"
        (click)="toggle($event)">
        <span *ngIf="selection.length <= 0"
              class="ui-select-placeholder text-muted">{{placeholder}}</span>
      <span *ngFor="let itm of selection; let idx=index">
          <span *ngIf="moreLoaded || maxVisibleItemCount == 0 || idx<maxVisibleItemCount"
                class="pull-left"
                [class.selected-item-text]="!multiple"
                [class.selected-item-item]="multiple"
                [class.btn]="multiple"
                [class.btn-default]="multiple"
                [class.btn-xs]="multiple">
            {{itm.text}}
            <a *ngIf="multiple && !disabled" class="close" (click)="removeItem($event, itm)">x</a>
          </span>
      </span>

      </span>

    </div>
    <div class="enabled">
      <span class="pull-right more-items-icon" (click)="loadMore($event)" *ngIf="showMoreLink">(...)</span>
      <i class="caret pull-right"></i>
    </div>

    <!-- options template -->
    <ul *ngIf="!disabled && isOpen && internalItems && internalItems.length > 0" class="dropdown-menu" role="menu">
      <input name="filterText" *ngIf="allowFilter" type="text" [(ngModel)]="filter" (click)="setInputFocus()" (blur)="setInputFocusOut()"
        class="form-control" placeholder="{{filterPlaceholder}}" [ngModelOptions]="{standalone: true}" />
      <li *ngFor="let o of internalItems | itemPipe:filter" role="menuitem">
        <tree-select-item [item]="o" [onTouchedCallBack]="onTouchedCallback"></tree-select-item>
      </li>
    </ul>
  </div>
<commit_msg>fix: Disable autocomplete on filter <commit_after><div tabindex="0" (keyup)="keyUp($event)" (blur)="onTouched()" class="dropdown open show" [off-click]="clickedOutside">

    <!-- Control display -->
    <div [class.disabled]="disabled">
      <span tabindex="-1" class="btn btn-default btn-secondary form-control" [class.selected-container-text]="!multiple" [class.selected-container-item]="multiple"
        (click)="toggle($event)">
        <span *ngIf="selection.length <= 0"
              class="ui-select-placeholder text-muted">{{placeholder}}</span>
      <span *ngFor="let itm of selection; let idx=index">
          <span *ngIf="moreLoaded || maxVisibleItemCount == 0 || idx<maxVisibleItemCount"
                class="pull-left"
                [class.selected-item-text]="!multiple"
                [class.selected-item-item]="multiple"
                [class.btn]="multiple"
                [class.btn-default]="multiple"
                [class.btn-xs]="multiple">
            {{itm.text}}
            <a *ngIf="multiple && !disabled" class="close" (click)="removeItem($event, itm)">x</a>
          </span>
      </span>

      </span>

    </div>
    <div class="enabled">
      <span class="pull-right more-items-icon" (click)="loadMore($event)" *ngIf="showMoreLink">(...)</span>
      <i class="caret pull-right"></i>
    </div>

    <!-- options template -->
    <ul *ngIf="!disabled && isOpen && internalItems && internalItems.length > 0" class="dropdown-menu" role="menu">
      <input name="filterText" *ngIf="allowFilter" type="text" [(ngModel)]="filter" (click)="setInputFocus()" (blur)="setInputFocusOut()"
        class="form-control" placeholder="{{filterPlaceholder}}" [ngModelOptions]="{standalone: true}" autocomplete="off" />
      <li *ngFor="let o of internalItems | itemPipe:filter" role="menuitem">
        <tree-select-item [item]="o" [onTouchedCallBack]="onTouchedCallback"></tree-select-item>
      </li>
    </ul>
  </div>

{'fraction_non_alphanumeric': 0.19443011861784426, 'fraction_numerical': 0.0025786487880350697, 'mean_word_length': 3.202600216684724, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 63, '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': '6344649', 'n_tokens_mistral': 1231, 'n_tokens_neox': 1176, 'n_words': 206}