<commit_before>{% extends "base.html" %}
{% block body %}

    <div class="vertical-center">
    <div class="container">
        <div class="panel panel-success">
            <div class="panel-body">
                <div class="input-group input-group-lg">
                    <a href="#" class="input-group-addon btn btn-success disabled">
                        <i class="fa fa-check"></i>
                    </a>
                    <input class="form-control" type="text" autofocus="true"
                           onClick="this.setSelectionRange(0, this.value.length)"
                           value="{{ request.META.HTTP_HOST }}/url/{{ url.pk }}">
                    <span class="input-group-addon">
                        for <a href="#" class="alert-link">{{ url.url }}</a>.
                    </span>
                </div>
            </div>
        </div>
    </div>
    </div>


{% endblock %}<commit_msg>shortener: truncate long urls<commit_after>{% extends "base.html" %}
{% block body %}

    <div class="vertical-center">
    <div class="container">
        <div class="panel panel-success">
            <div class="panel-body">
                <div class="input-group input-group-lg">
                    <a href="#" class="input-group-addon btn btn-success disabled">
                        <i class="fa fa-check"></i>
                    </a>
                    <input class="form-control" type="text" autofocus="true"
                           onClick="this.setSelectionRange(0, this.value.length)"
                           value="{{ request.META.HTTP_HOST }}/url/{{ url.pk }}">
                    <span class="input-group-addon">
                        for <a href="#" class="alert-link">{{ url.url | truncatechars:32 }}</a>
                    </span>
                </div>
            </div>
        </div>
    </div>
    </div>


{% endblock %}
{'fraction_non_alphanumeric': 0.16454352441613587, 'fraction_numerical': 0.0021231422505307855, 'mean_word_length': 1.4385510996119018, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '2262878', 'n_tokens_mistral': 541, 'n_tokens_neox': 509, 'n_words': 108}