<commit_before>define(['js/core/Base'], function(Base) {

    return Base.inherit('srv.core.Filter', {

        beginRequest: function(context, callback) {
            callback();
        },

        endRequest: function(context, callback) {
            callback();
        }

    });
});<commit_msg>added start and stop to filter<commit_after>define(['js/core/Component'], function (Base) {

    return Base.inherit('srv.core.Filter', {

        start: function(server, callback) {
            this.$server = server;
            callback();
        },

        stop: function(callback) {
            callback();
        },

        beginRequest: function (context, callback) {
            callback();
        },

        beforeHeadersSend: function (context, callback) {
            callback();
        },

        endRequest: function (context, callback) {
            callback();
        }

    });
});
{'fraction_non_alphanumeric': 0.14033149171270717, 'fraction_numerical': 0.0, 'mean_word_length': 1.8853503184713376, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3782749', 'n_tokens_mistral': 237, 'n_tokens_neox': 225, 'n_words': 46}