<commit_before>$SYMBOLVALUES = Array ();
$SYMBOLFUNCTIONS = Array ();

class __symbol {
    var $n;
    var $p;

	public function __construct ($name, $pkg)
	{
		$this->n = $name;
		$this->p = $pkg;
        $pn = $this->pn ();
        if (!isset ($GLOBALS['SYMBOLVALUES'][$pn])) {
            $GLOBALS['SYMBOLVALUES'][$pn] = Array ($name => $this);
            $GLOBALS['SYMBOLFUNCTIONS'][$pn] = Array ();
        }
        return $this;
	}

    public function pn ()
    {
        return $this->p ? $this->p->n : "NIL";
    }

    public function v ()
    {
        return $GLOBALS['SYMBOLVALUES'][$this->pn ()][$this->n];
    }

    public function f ()
    {
        return $GLOBALS['SYMBOLFUNCTIONS'][$this->pn ()][$this->n];
    }

    public function sv ($v)
    {
        return $GLOBALS['SYMBOLVALUES'][$this->pn ()][$this->n] = $v;
    }

    public function sf ($v)
    {
        return $GLOBALS['SYMBOLFUNCTIONS'][$this->pn ()][$this->n] = $v;
    }

    public function __toString ()
    {
        return (($this->pn ()) ? ":" : "") . $this->n;
    }
}

$KEYWORDPACKAGE = new __symbol ("", NULL);
<commit_msg>__toString(): Fixed printing package names.<commit_after>$SYMBOLVALUES = Array ();
$SYMBOLFUNCTIONS = Array ();

class __symbol {
    var $n;
    var $p;

	public function __construct ($name, $pkg)
	{
		$this->n = $name;
		$this->p = $pkg;
        $pn = $this->pn ();
        if (!isset ($GLOBALS['SYMBOLVALUES'][$pn])) {
            $GLOBALS['SYMBOLVALUES'][$pn] = Array ($name => $this);
            $GLOBALS['SYMBOLFUNCTIONS'][$pn] = Array ();
        }
        return $this;
	}

    public function pn ()
    {
        return $this->p ? $this->p->n : "NIL";
    }

    public function v ()
    {
        return $GLOBALS['SYMBOLVALUES'][$this->pn ()][$this->n];
    }

    public function f ()
    {
        return $GLOBALS['SYMBOLFUNCTIONS'][$this->pn ()][$this->n];
    }

    public function sv ($v)
    {
        return $GLOBALS['SYMBOLVALUES'][$this->pn ()][$this->n] = $v;
    }

    public function sf ($v)
    {
        return $GLOBALS['SYMBOLFUNCTIONS'][$this->pn ()][$this->n] = $v;
    }

    public function __toString ()
    {
        $pn = $this->pn ();
        return ($pn != "NIL" ? "$pn:" : "") . $this->n;
    }
}

$KEYWORDPACKAGE = new __symbol ("", NULL);

{'fraction_non_alphanumeric': 0.2092214006089604, 'fraction_numerical': 0.0, 'mean_word_length': 2.290414878397711, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 37, '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': '3629753', 'n_tokens_mistral': 805, 'n_tokens_neox': 783, 'n_words': 162}