<commit_before><div class="modal-header">
    <h3 class="modal-title">Add Document</h3>
</div>
<div class="modal-body">
    <uib-alert ng-if="errorMsg !== null" type="danger">{{errorMsg}}</uib-alert>
    <dl class="dl-horizontal">
        <dt>Document Link:</dt>
        <dd>
            <select ng-model="formSaveDocument.documentType" class="form-control">
                <option value="Link">Link</option>
                <option value="Markdown">Markdown</option>
                <option value="Text">Text</option>
            </select>
        </dd>
        <dt>Title:</dt>
        <dd><input ng-model="formSaveDocument.title" type="text" maxlength="50" class="form-control"></dd>
        <dt>Link:</dt>
        <dd><input ng-model="formSaveDocument.link" type="text" maxlength="300" class="form-control"></dd>
    </dl>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="save()">Add Document</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">Cancel</button>
</div><commit_msg>Improve wording on the Add Document dialog<commit_after><div class="modal-header">
    <h3 class="modal-title">Add Document</h3>
</div>
<div class="modal-body">
    <uib-alert ng-if="errorMsg !== null" type="danger">{{errorMsg}}</uib-alert>
    <dl class="dl-horizontal">
        <dt>Document Type:</dt>
        <dd>
            <select ng-model="formSaveDocument.documentType" class="form-control">
                <option value="Link">Link</option>
                <option value="Markdown">Markdown</option>
                <option value="Text">Text</option>
            </select>
        </dd>
        <dt>Title:</dt>
        <dd><input ng-model="formSaveDocument.title" type="text" maxlength="50" class="form-control"></dd>
        <dt>URL:</dt>
        <dd><input ng-model="formSaveDocument.link" type="text" maxlength="300" class="form-control"></dd>
    </dl>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="save()">Add Document</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">Cancel</button>
</div>
{'fraction_non_alphanumeric': 0.19644527595884004, 'fraction_numerical': 0.006548175865294668, 'mean_word_length': 3.269461077844311, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '7386196', 'n_tokens_mistral': 679, 'n_tokens_neox': 656, 'n_words': 117}