<commit_before><?php
class NpView {
	private $template;
	private $data=array();

	public function __construct($template) {
		$this->template=$template;
	}

	public function assign($name,$value) {
		$this->data[$name]=$value;
	}

	public function fetch() {
		ob_start();
		include($this->template);
		return ob_get_clean();
	}

	public function display() {
		include($this->template);
	}
}
?><commit_msg>Add base code<commit_after><?php
class NpView {
	private $template;
	private $base;
	private $data=array();

	public function __construct($template) {
		$this->base=NP_BASEURL;
		$this->template=$template;
	}

	public function assign($name,$value) {
		$this->data[$name]=$value;
	}

	public function fetch() {
		ob_start();
		include($this->template);
		return ob_get_clean();
	}

	public function display() {
		include($this->template);
	}
}
?>
{'fraction_non_alphanumeric': 0.16821345707656613, 'fraction_numerical': 0.0, 'mean_word_length': 4.532051282051282, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '1643961', 'n_tokens_mistral': 310, 'n_tokens_neox': 290, 'n_words': 57}