<commit_before><div class="comment write active"><i class="icon-info-sign"></i>
    <div class="authored-box">
        <div class="author-box"><img src="images/avatar.png"></div>
        <div class="info-box">
            <div class="info-line"><span class="username">Your comment</span></div>
            <form name="newCommentForm">
                <div class="comment-body" ng-hide="previewModeOn">
                        <textarea ng-hide="previewModeOn" ng-model="content" required class="comment-text" placeholder="Type your comment here"></textarea>
                </div>
                <div ng-show="previewModeOn" ng-bind-html-unsafe="preview"></div>
            </form>
        </div>
    </div>
    <ul class="comment-action-btns button-group">
        <li><a class="button secondary" ng-disabled="newCommentForm.$invalid" ng-click="togglePreviewMode()">{{ previewModeOn && 'Edit' || 'Preview' }}</a></li>
        <li><a class="button" ng-disabled="newCommentForm.$invalid" ng-click="_submitComment(content)">Send</a></li>
        <li ng-show="isCloseable()"><a class="button link" ng-click="closeForm()">Cancel</a></li>
    </ul>
</div><commit_msg>[ux] improved new comment message<commit_after><div class="comment write active"><i class="icon-info-sign"></i>
    <div class="authored-box">
        <div class="author-box"><img src="images/avatar.png"></div>
        <div class="info-box">
            <div class="info-line"><span class="username">Your comment</span></div>
            <form name="newCommentForm">
                <div class="comment-body" ng-hide="previewModeOn">
                        <textarea ng-hide="previewModeOn" ng-model="content" required class="comment-text" placeholder="Write a comment..."></textarea>
                </div>
                <div ng-show="previewModeOn" ng-bind-html-unsafe="preview"></div>
            </form>
        </div>
    </div>
    <ul class="comment-action-btns button-group">
        <li><a class="button secondary" ng-disabled="newCommentForm.$invalid" ng-click="togglePreviewMode()">{{ previewModeOn && 'Edit' || 'Preview' }}</a></li>
        <li><a class="button" ng-disabled="newCommentForm.$invalid" ng-click="_submitComment(content)">Send</a></li>
        <li ng-show="isCloseable()"><a class="button link" ng-click="closeForm()">Cancel</a></li>
    </ul>
</div>
{'fraction_non_alphanumeric': 0.19513236549957302, 'fraction_numerical': 0.0, 'mean_word_length': 3.1469026548672567, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '4663458', 'n_tokens_mistral': 698, 'n_tokens_neox': 676, 'n_words': 122}