<commit_before><template>
    <div class="response-viewer">
        <div class="card is-fullwidth" v-if="response">
            <div class="card-content">
                <vm-navigation-tabs class="is-boxed"
                                    :pages="['data', 'headers', 'preview', 'redirects']"
                                    :mode="mode"
                                    @changed="setMode($arguments[0])"
                ></vm-navigation-tabs>
                <iframe :class="{'is-visible': iframeVisible}"
                        :srcdoc="response.data"
                ></iframe>
                <vm-json-viewer
                        v-show="mode === 'preview' && response.isJson"
                        :json="response.data"
                ></vm-json-viewer>
                <div v-show="mode === 'data'">
                    <pre v-if="! response.isJson"><code>{{ response.data }}</code></pre>
                    <pre v-if="response.isJson">{{ response.data | json}}</pre>
                </div>
                <div  v-show="mode === 'headers'" class="content">
                    <pre><code>Status: {{response.status}} {{response.statusText}}</code></pre>
                    <pre><code>{{response.headers}}</code></pre>
                </div>
                <div  v-show="mode === 'redirects'" class="content">
                    <table class="table" v-if="response.redirects !== undefined && response.redirects.length !== 0">
                        <tbody>
                        <tr>
                            <th>#</th>
                            <th>Status</th>
                            <th>Location</th>
                        </tr>
                        <tr v-for="redirect in response.redirects">
                            <td>{{$index+1}}.</td>
                            <td v-text="redirect.status"></td>
                            <td v-text="redirect.location"></td>
                        </tr>
                        </tbody>
                    </table>
                    <div class="notification"
                         v-if="response.redirects !== undefined && response.redirects.length === 0"
                    >
                        No redirects
                    </div>
                </div><commit_msg>Hotfix overflow-x on json response.<commit_after><template>
    <div class="response-viewer">
        <div class="card is-fullwidth" v-if="response">
            <div class="card-content">
                <vm-navigation-tabs class="is-boxed"
                                    :pages="['data', 'headers', 'preview', 'redirects']"
                                    :mode="mode"
                                    @changed="setMode($arguments[0])"
                ></vm-navigation-tabs>
                <iframe :class="{'is-visible': iframeVisible}"
                        :srcdoc="response.data"
                ></iframe>
                <vm-json-viewer
                        v-show="mode === 'preview' && response.isJson"
                        :json="response.data"
                ></vm-json-viewer>
                <div v-show="mode === 'data'">
                    <pre style="overflow-x: auto;" v-if="! response.isJson"><code>{{ response.data }}</code></pre>
                    <pre style="overflow-x: auto;" v-if="response.isJson">{{ response.data | json}}</pre>
                </div>
                <div  v-show="mode === 'headers'" class="content">
                    <pre><code>Status: {{response.status}} {{response.statusText}}</code></pre>
                    <pre><code>{{response.headers}}</code></pre>
                </div>
                <div  v-show="mode === 'redirects'" class="content">
                    <table class="table" v-if="response.redirects !== undefined && response.redirects.length !== 0">
                        <tbody>
                        <tr>
                            <th>#</th>
                            <th>Status</th>
                            <th>Location</th>
                        </tr>
                        <tr v-for="redirect in response.redirects">
                            <td>{{$index+1}}.</td>
                            <td v-text="redirect.status"></td>
                            <td v-text="redirect.location"></td>
                        </tr>
                        </tbody>
                    </table>
                    <div class="notification"
                         v-if="response.redirects !== undefined && response.redirects.length === 0"
                    >
                        No redirects
                    </div>
                </div>
{'fraction_non_alphanumeric': 0.15464362850971922, 'fraction_numerical': 0.0017278617710583153, 'mean_word_length': 1.0757507844016136, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3112494', 'n_tokens_mistral': 1187, 'n_tokens_neox': 1088, 'n_words': 185}