<commit_before><form name="dynamicForm">
    <div class="form-group required" ng-class='{"has-error": (dynamicForm.targetName | showError)}'>
        <label class="control-label" for="dataSourceName">Name</label>
        <input type="string" class="form-control" name="targetName" ng-model="target.name" autofocus required>
        <error-messages input="dynamicForm.targetName" form="dynamicForm"></error-messages>
    </div>
    <hr>
    <div class="form-group" ng-class='{"has-error": (inner.input | showError), "required": field.property.required}' ng-form="inner" ng-repeat="field in fields">
        <label ng-if="field.property.type !== 'checkbox'" class="control-label">{{field.property.title || field.name | capitalize}}</label>
        <input name="input" type="{{field.property.type}}" class="form-control" ng-model="target.options[field.name]" ng-required="field.property.required"
               ng-if="field.property.type !== 'file' && field.property.type !== 'checkbox'" accesskey="tab" placeholder="{{field.property.default}}">

        <label ng-if="field.property.type=='checkbox'">
            <input name="input" type="{{field.property.type}}" ng-model="target.options[field.name]" ng-required="field.property.required"
                   ng-if="field.property.type !== 'file'" accesskey="tab" placeholder="{{field.property.default}}">
            {{field.property.title || field.name | capitalize}}
        </label>

        <input name="input" type="file" class="form-control" ng-model="files[field.name]" ng-required="field.property.required && !target.options[field.name]"
               base-sixty-four-input
               ng-if="field.property.type === 'file'">

        <error-messages input="inner.input" form="inner"></error-messages>
    </div>

    <button class="btn btn-block btn-primary m-b-10" ng-disabled="!dynamicForm.$valid" ng-click="saveChanges()">Save</button>
    <span ng-repeat="action in actions">
        <button class="btn"
                ng-class="action.class"
                ng-if="target.id"
                ng-disabled="(action.disableWhenDirty && dynamicForm.$dirty) || inProgressActions[action.name]"<commit_msg>Change: show friendly names in dynamic forms labels.<commit_after><form name="dynamicForm">
    <div class="form-group required" ng-class='{"has-error": (dynamicForm.targetName | showError)}'>
        <label class="control-label" for="dataSourceName">Name</label>
        <input type="string" class="form-control" name="targetName" ng-model="target.name" autofocus required>
        <error-messages input="dynamicForm.targetName" form="dynamicForm"></error-messages>
    </div>
    <hr>
    <div class="form-group" ng-class='{"has-error": (inner.input | showError), "required": field.property.required}' ng-form="inner" ng-repeat="field in fields">
        <label ng-if="field.property.type !== 'checkbox'" class="control-label">{{field.property.title || field.name | toHuman}}</label>
        <input name="input" type="{{field.property.type}}" class="form-control" ng-model="target.options[field.name]" ng-required="field.property.required"
               ng-if="field.property.type !== 'file' && field.property.type !== 'checkbox'" accesskey="tab" placeholder="{{field.property.default}}">

        <label ng-if="field.property.type=='checkbox'">
            <input name="input" type="{{field.property.type}}" ng-model="target.options[field.name]" ng-required="field.property.required"
                   ng-if="field.property.type !== 'file'" accesskey="tab" placeholder="{{field.property.default}}">
            {{field.property.title || field.name | toHuman}}
        </label>

        <input name="input" type="file" class="form-control" ng-model="files[field.name]" ng-required="field.property.required && !target.options[field.name]"
               base-sixty-four-input
               ng-if="field.property.type === 'file'">

        <error-messages input="inner.input" form="inner"></error-messages>
    </div>

    <button class="btn btn-block btn-primary m-b-10" ng-disabled="!dynamicForm.$valid" ng-click="saveChanges()">Save</button>
    <span ng-repeat="action in actions">
        <button class="btn"
                ng-class="action.class"
                ng-if="target.id"
                ng-disabled="(action.disableWhenDirty && dynamicForm.$dirty) || inProgressActions[action.name]"
{'fraction_non_alphanumeric': 0.18531228551818807, 'fraction_numerical': 0.0009151223976206818, 'mean_word_length': 3.675935828877005, 'pattern_counts': {'":': 6, '<': 51, '<?xml version=': 0, '>': 49, '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': '3385274', 'n_tokens_mistral': 1277, 'n_tokens_neox': 1234, 'n_words': 204}