<commit_before><?php if (!$this->kavaDashboardUrl) {echo $this->translate('Missing setting to generate kava dashboard url'); return;} ?>
<style type="text/css">
        #sub-header { padding: 5px 20px 0px; }
        #wrapper { padding: 0 0 0 0; width: 100%; }

</style>
<iframe width="100%" height="100%" src="<?php echo($this->kavaDashboardUrl)?>" frameborder="0" class="auto-height"></iframe>
<commit_msg>kava dashboard - support copy url<commit_after><?php if (!$this->kavaDashboardUrl) {echo $this->translate('Missing setting to generate kava dashboard url'); return;} ?>
<style type="text/css">
        #sub-header { padding: 5px 20px 0px; }
        #wrapper { padding: 0 0 0 0; width: 100%; }

</style>
<iframe id="kavaIframe" width="100%" height="100%" src="about:blank" frameborder="0" class="auto-height"></iframe>
<script type="text/javascript">
    var url = window.location;
    var urlBase = url.origin + url.pathname;
    document.getElementById('kavaIframe').src = '<?php echo($this->kavaDashboardUrl)?>&baseUrl=' + encodeURIComponent(urlBase) + window.location.hash;
</script>

{'fraction_non_alphanumeric': 0.18115279048490393, 'fraction_numerical': 0.03293687099725526, 'mean_word_length': 5.111731843575419, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 23, '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': '2879826', 'n_tokens_mistral': 379, 'n_tokens_neox': 348, 'n_words': 89}