<commit_before><?php
function _pArray($src, $indent = '')
{
    $ret = '';
    if (is_array($src)) {
        foreach ($src as $k=>$i) {
            $ret .= $indent."$k =>\n";
            $ret .= _pArray($i, $indent . '  ');
        }
    } else {
        if (is_object($src) && method_exists($src, 'toDebug')) {
            $src = $src->toDebug();
            $src = str_replace('<pre>', '', $src);
            $src = str_replace('</pre>', '', $src);
        } else if (is_object($src) && method_exists($src, '__toString')) {<commit_msg>debug ausgabe von leeren arrays verbessert<commit_after><?php
function _pArray($src, $indent = '')
{
    $ret = '';
    if (is_array($src)) {
        foreach ($src as $k=>$i) {
            $ret .= $indent."$k =>\n";
            $ret .= _pArray($i, $indent . '  ');
        }
        if (!$src) {
            $ret .= $indent."(empty array)\n";
        }
    } else {
        if (is_object($src) && method_exists($src, 'toDebug')) {
            $src = $src->toDebug();
            $src = str_replace('<pre>', '', $src);
            $src = str_replace('</pre>', '', $src);
        } else if (is_object($src) && method_exists($src, '__toString')) {
{'fraction_non_alphanumeric': 0.2277730736663844, 'fraction_numerical': 0.0, 'mean_word_length': 2.054263565891473, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '7607212', 'n_tokens_mistral': 397, 'n_tokens_neox': 401, 'n_words': 80}