<commit_before><?php

// Polyfill core framework functions
if (!defined('app_path')) {
    function app_path($path) {
        return __DIR__.'/../src/'.$path;
    }
}

if (!defined('public_path')) {
    function public_path($path) {
        return app_path($path);
    }
}<commit_msg>Facultative argument in polyfills<commit_after><?php

// Polyfill core framework functions
if (!defined('app_path')) {
    function app_path($path = null) {
        return __DIR__.'/../src/'.$path;
    }
}

if (!defined('public_path')) {
    function public_path($path = null) {
        return app_path($path);
    }
}
{'fraction_non_alphanumeric': 0.16943521594684385, 'fraction_numerical': 0.0, 'mean_word_length': 3.1875, 'pattern_counts': {'":': 0, '<': 5, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7614143', 'n_tokens_mistral': 194, 'n_tokens_neox': 195, 'n_words': 39}