<commit_before><ion-header>
  <ion-navbar color="primary">
    <ion-title>Productos</ion-title>
    <button menuToggle ion-button>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-buttons end>
      <button ion-button icon-only (click)="addProduct()">
        <ion-icon name="add"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>
<ion-content>
  <ion-list>
    <ion-item *ngFor="let product of products; let i = index" (click)="showActionSheet(product, i)" >
      <ion-thumbnail item-left>
        <img [src]="product.photo">
      </ion-thumbnail>
      <h2>{{ product.name }}</h2>
      <h3>Categoria: {{ product.category.name }}</h3>
      <h3>Marca: {{ product.mark }}</h3>
      <h3>Precio: {{ product.price }} bs.</h3>
      <ion-badge item-right>{{ product.cant }}</ion-badge>
    </ion-item>
  </ion-list>
  <ion-infinite-scroll *ngIf="shownInfinite" (ionInfinite)="doInfinite($event)">
    <ion-infinite-scroll-content></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content><commit_msg>Fix error in list products<commit_after><ion-header>
  <ion-navbar color="primary">
    <ion-title>Productos</ion-title>
    <button menuToggle ion-button>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-buttons end>
      <button ion-button icon-only (click)="addProduct()">
        <ion-icon name="add"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>
<ion-content>
  <ion-list>
    <ion-item *ngFor="let product of products; let i = index" (click)="showActionSheet(product, i)" >
      <ion-thumbnail item-left>
        <img [src]="product.photo">
      </ion-thumbnail>
      <h2>{{ product.name }}</h2>
      <h3 *ngIf="product.category">Categoria: {{ product.category.name }}</h3>
      <h3 *ngIf="product.mark">Marca: {{ product.mark.name }}</h3>
      <h3>Precio: {{ product.price }} bs.</h3>
      <ion-badge item-right>{{ product.cant }}</ion-badge>
    </ion-item>
  </ion-list>
  <ion-infinite-scroll *ngIf="shownInfinite" (ionInfinite)="doInfinite($event)">
    <ion-infinite-scroll-content></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
{'fraction_non_alphanumeric': 0.2032258064516129, 'fraction_numerical': 0.007373271889400922, 'mean_word_length': 3.2237354085603114, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '5395317', 'n_tokens_mistral': 798, 'n_tokens_neox': 779, 'n_words': 131}