<commit_before><?php
require_once('dbconn.php');

abstract class apiHandler {

    public $db = null;

    public function __construct(){
        $db = connect();
    }

    abstract public function get($get);
    abstract public function post($post);
}<commit_msg>fixed handler db connection<commit_after><?php
require_once('dbconn.php');

abstract class apiHandler {

    public $db = null;

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

    abstract public function get($get);
    abstract public function post($post);
}
{'fraction_non_alphanumeric': 0.12363636363636364, 'fraction_numerical': 0.0, 'mean_word_length': 3.553719008264463, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '91898', 'n_tokens_mistral': 154, 'n_tokens_neox': 148, 'n_words': 45}