<commit_before>#!/usr/bin/env python

import re
import glob
import shutil
import requests
import os


def pull_content(uri):
    uri = uri \
        .replace('github.com', 'raw.githubusercontent.com') \
        .replace('/blob/', '/')

    print('Fetching ' + uri)
    response = requests.get(uri)
    if response.status_code > 299:
        raise Exception('Server responded with ' + str(response.status_code))
    return '```\nkotlin\n' + response.text + '```'
<commit_msg>Fix language definition in markdown<commit_after>#!/usr/bin/env python

import re
import glob
import shutil
import requests
import os


def pull_content(uri):
    uri = uri \
        .replace('github.com', 'raw.githubusercontent.com') \
        .replace('/blob/', '/')

    print('Fetching ' + uri)
    response = requests.get(uri)
    if response.status_code > 299:
        raise Exception('Server responded with ' + str(response.status_code))
    return '```kotlin\n' + response.text + '```'

{'fraction_non_alphanumeric': 0.14566115702479338, 'fraction_numerical': 0.006198347107438017, 'mean_word_length': 3.1767241379310347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '726061', 'n_tokens_mistral': 316, 'n_tokens_neox': 299, 'n_words': 72}