<commit_before><div  *ngFor="let field of fieldsForObjectType; let i=index" id="edit-form-element-{{i}}">
    <div *ngIf="field" class="form-group card">
        <div class="card-header">
            <span *ngIf="field.label">{{field.label}}</span>
            <span *ngIf="!field.label">{{field.name}}</span>
        </div>

        <div class="card-block">

            <dai-input *ngIf="field.inputType == 'input' || (field.inputType == undefined && field.inner == undefined)" [(resource)]="document['resource']" [fieldName]="field.name"></dai-input>

            <dai-inputs *ngIf="field.inputType == 'inputs'" [(resource)]="document['resource']" [fieldName]="field.name"></dai-inputs>

            <dai-inputs-localized *ngIf="field.inputType == 'inputs_localized'" [(resource)]="document['resource']" [field]="field" ></dai-inputs-localized>

            <dai-text *ngIf="field.inputType == 'text'" [(resource)]="document['resource']" [fieldName]="field.name"></dai-text>

            <dai-dropdown *ngIf="field.inputType == 'dropdown'" [(resource)]="document['resource']" [field]="field"></dai-dropdown>

            <dai-radio *ngIf="field.inputType == 'radio'" [(resource)]="document['resource']" [field]="field"></dai-radio>

            <dai-checkboxes *ngIf="field.inputType == 'checkboxes'" [(resource)]="document['resource']" [field]="field"></dai-checkboxes>

            <dai-multiselect *ngIf="field.inputType == 'multiselect'" [(resource)]="document['resource']" [field]="field"></dai-multiselect>

        </div>
    </div>
</div>
<textarea cols="100" rows="30">{{ document['resource'] | json }}</textarea>


<commit_msg>removes json view of resource for debugging<commit_after><div  *ngFor="let field of fieldsForObjectType; let i=index" id="edit-form-element-{{i}}">
    <div *ngIf="field" class="form-group card">
        <div class="card-header">
            <span *ngIf="field.label">{{field.label}}</span>
            <span *ngIf="!field.label">{{field.name}}</span>
        </div>

        <div class="card-block">

            <dai-input *ngIf="field.inputType == 'input' || (field.inputType == undefined && field.inner == undefined)" [(resource)]="document['resource']" [fieldName]="field.name"></dai-input>

            <dai-inputs *ngIf="field.inputType == 'inputs'" [(resource)]="document['resource']" [fieldName]="field.name"></dai-inputs>

            <dai-inputs-localized *ngIf="field.inputType == 'inputs_localized'" [(resource)]="document['resource']" [field]="field" ></dai-inputs-localized>

            <dai-text *ngIf="field.inputType == 'text'" [(resource)]="document['resource']" [fieldName]="field.name"></dai-text>

            <dai-dropdown *ngIf="field.inputType == 'dropdown'" [(resource)]="document['resource']" [field]="field"></dai-dropdown>

            <dai-radio *ngIf="field.inputType == 'radio'" [(resource)]="document['resource']" [field]="field"></dai-radio>

            <dai-checkboxes *ngIf="field.inputType == 'checkboxes'" [(resource)]="document['resource']" [field]="field"></dai-checkboxes>

            <dai-multiselect *ngIf="field.inputType == 'multiselect'" [(resource)]="document['resource']" [field]="field"></dai-multiselect>

        </div>
    </div>
</div>


{'fraction_non_alphanumeric': 0.22827095576863593, 'fraction_numerical': 0.001546551190844417, 'mean_word_length': 4.117088607594937, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '1181524', 'n_tokens_mistral': 1030, 'n_tokens_neox': 1013, 'n_words': 150}