<commit_before>


<div class="inputgroup">

  <label *ngIf="haslabel" role="number"  id="numberDes"  [style.font-style]="fontstyle" [style.font-family]="fontfamily" [style.font-size]="fontsize">
      {{fieldlabel}}
  </label>

  <input type="number" 


        role="number"
        tabindex="0"
       
        aria-describedby="numberDes"
        attr.aria-labelledby="{{componentId}}"
        [attr.aria-required]="!allowblank"
        [attr.aria-invalid]="!isValid "
        (keyup.home)="onKeyUpHome($event)"
        (keyup.end)="onKeyUpEnd($event)"



         class="input-control"
         [ngClass]="model.touched ? allowblank ? '' : (isValid && model.touched) ? 'input-control-success' : 'input-control-error' :''"
         [(ngModel)]="value"
         (blur)="onBlurEvent()" 
         (focus)="onFocus()" 
         (input)="onInput()" 
         (change)="onChangeEv()"
         [name]="name" 
         [pattern]="regEx"
         [attr.placeholder]="placeholder" 
         [attr.max]="maxvalue" 
         [attr.min]="minvalue" 
         [attr.disabled]="disabled ? true: null"
         [required]="!allowblank" />


  <ng-container *ngIf="iconfeedback">
      <span class="input-control-feedback">
          <span *ngIf="!isValid && model.touched"><em class="fa fa-times"></em></span>
          <span *ngIf="isValid && model.touched"><em class="fa fa-check"></em></span>
      </span>
  </ng-container>

  <input-help *ngIf="showToolTip && enablepopover"

  id="{{componentId}}"
  role="tooltip"

  [error-msg]="errormsg" 
  [max-error-msg]="maxerrormsg"
  [min-error-msg]="minerrormsg"
  [min-value]="minvalue"
  [max-value]="maxvalue"
  [min-msg]="minmsg" 
  [max-msg]="maxmsg"
  [is-number]="true"
  >
  </input-help>
  
  <span class="inputfieldbar"></span>
</div><commit_msg>number: id added to label.<commit_after>


<div class="inputgroup">

  <label *ngIf="haslabel" role="number"  id="{{componentId}}"  [style.font-style]="fontstyle" [style.font-family]="fontfamily" [style.font-size]="fontsize">
      {{fieldlabel}}
  </label>

  <input type="number" 


        role="number"
        tabindex="0"
       
        aria-describedby="numberDes"
        attr.aria-labelledby="{{componentId}}"
        [attr.aria-required]="!allowblank"
        [attr.aria-invalid]="!isValid "
        (keyup.home)="onKeyUpHome($event)"
        (keyup.end)="onKeyUpEnd($event)"



         class="input-control"
         [ngClass]="model.touched ? allowblank ? '' : (isValid && model.touched) ? 'input-control-success' : 'input-control-error' :''"
         [(ngModel)]="value"
         (blur)="onBlurEvent()" 
         (focus)="onFocus()" 
         (input)="onInput()" 
         (change)="onChangeEv()"
         [name]="name" 
         [pattern]="regEx"
         [attr.placeholder]="placeholder" 
         [attr.max]="maxvalue" 
         [attr.min]="minvalue" 
         [attr.disabled]="disabled ? true: null"
         [required]="!allowblank" />


  <ng-container *ngIf="iconfeedback">
      <span class="input-control-feedback">
          <span *ngIf="!isValid && model.touched"><em class="fa fa-times"></em></span>
          <span *ngIf="isValid && model.touched"><em class="fa fa-check"></em></span>
      </span>
  </ng-container>

  <input-help *ngIf="showToolTip && enablepopover"

  id="numberDes"
  role="tooltip"

  [error-msg]="errormsg" 
  [max-error-msg]="maxerrormsg"
  [min-error-msg]="minerrormsg"
  [min-value]="minvalue"
  [max-value]="maxvalue"
  [min-msg]="minmsg" 
  [max-msg]="maxmsg"
  [is-number]="true"
  >
  </input-help>
  
  <span class="inputfieldbar"></span>
</div>
{'fraction_non_alphanumeric': 0.20361613351877608, 'fraction_numerical': 0.0005563282336578582, 'mean_word_length': 2.9690949227373067, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '3830729', 'n_tokens_mistral': 1299, 'n_tokens_neox': 1234, 'n_words': 155}