<commit_before><card [verticalMode]="hasChild" [title]="'Described Object'" (reset)="onReset()" (close)="close()"
      (closeChild)="closeChild()" [(showAll)]="isShowAll">
    <!--TODO: Begin: Move to another component-->
    <div class="form-group">
        <label for="position">Position</label>
        <sml-position (openAsChild)="openChild($event)" [(model)]="model.position"
                      [config]="config.getConfigFor('position')"></sml-position>
    </div>
    <!--TODO: End: Move to another component-->
    <gml-abstract-feature [model]="model" [config]="config" [isShowAll]="isShowAll"></gml-abstract-feature>
    <div class="form-group" *ngIf="isShowAll || config.isFieldMandatory('language')">
        <label for="language">Language</label>
        <input type="text" class="form-control" [(ngModel)]="model.language">
    </div>
    <div class="form-group" *ngIf="isShowAll || config.isFieldMandatory('keywords')">
        <label for="keywords">Keywords</label>
        <list [list]="model.keywords" [itemTitle]="'Keyword List'" (select)="openNewKeywordListItem($event)"
              (remove)="onRemoveKeywordList($event)" (add)="onAddKeywordList()"></list>
    </div>
    <div class="form-group" *ngIf="isShowAll || config.isFieldMandatory('identification')">
        <label for="identification">Identification</label>
        <list [list]="model.identification" [itemTitle]="'Identifier List'" (select)="openNewIdentifierListItem($event)"<commit_msg>Pass only first position to position component<commit_after><card [verticalMode]="hasChild" [title]="'Described Object'" (reset)="onReset()" (close)="close()"
      (closeChild)="closeChild()" [(showAll)]="isShowAll">
    <!--TODO: Begin: Move to another component-->
    <div class="form-group">
        <label for="position">Position</label>
        <sml-position (openAsChild)="openChild($event)" [(model)]="model.position[0]"
                      [config]="config.getConfigFor('position')"></sml-position>
    </div>
    <!--TODO: End: Move to another component-->
    <gml-abstract-feature [model]="model" [config]="config" [isShowAll]="isShowAll"></gml-abstract-feature>
    <div class="form-group" *ngIf="isShowAll || config.isFieldMandatory('language')">
        <label for="language">Language</label>
        <input type="text" class="form-control" [(ngModel)]="model.language">
    </div>
    <div class="form-group" *ngIf="isShowAll || config.isFieldMandatory('keywords')">
        <label for="keywords">Keywords</label>
        <list [list]="model.keywords" [itemTitle]="'Keyword List'" (select)="openNewKeywordListItem($event)"
              (remove)="onRemoveKeywordList($event)" (add)="onAddKeywordList()"></list>
    </div>
    <div class="form-group" *ngIf="isShowAll || config.isFieldMandatory('identification')">
        <label for="identification">Identification</label>
        <list [list]="model.identification" [itemTitle]="'Identifier List'" (select)="openNewIdentifierListItem($event)"
{'fraction_non_alphanumeric': 0.2001338688085676, 'fraction_numerical': 0.00033467202141900936, 'mean_word_length': 4.803883495145631, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 53, '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': '7318895', 'n_tokens_mistral': 924, 'n_tokens_neox': 904, 'n_words': 143}