<commit_before>/*
 A very basic mime type detection implementation
 */
import path from 'path'

// mime type mapping
const MIME_TYPES = {
    'html': 'text/html',
    'text': 'text/plain',
    'jpeg': 'image/jpeg',
    'jpg': 'image/jpeg',
    'gif': 'image/gif',
    'png': 'image/png',
    'ico': 'image/x-icon',
    'js': 'text/javascript',
    'json': 'application/json',
    'css': 'text/css',
    'mp3': 'audio/mpeg',
    'mp4': 'video/mpeg',<commit_msg>Small improvements<commit_after>/*
 A very basic mime type detection implementation
 */
import path from 'path'

// mime type mapping
const MIME_TYPES = {
    'html': 'text/html',
    'text': 'text/plain',
    'jpeg': 'image/jpeg',
    'jpg': 'image/jpeg',
    'gif': 'image/gif',
    'png': 'image/png',
    'ico': 'image/x-icon',
    'js': 'text/javascript',
    'json': 'application/json',
    'css': 'text/css',
    'mp3': 'audio/mp3',
    'mp4': 'video/mp4',
{'fraction_non_alphanumeric': 0.2123510292524377, 'fraction_numerical': 0.0065005417118093175, 'mean_word_length': 3.088495575221239, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4686786', 'n_tokens_mistral': 346, 'n_tokens_neox': 341, 'n_words': 82}