<commit_before>var Registry = module.exports = require('./lib');


// Regsiter your `person` module
Registry.registerModule('person', {
    name: function() {
        return '<NAME>';
    }
});
// Regsiter your `greeter` module that requires the `person` module
Registry.registerModule('greeter', {
    requires: ['person'],
    sayHi: function() {
        var name = this.person.name();
        this.response.end('Hello, ' + name);
    }
}, {
    scope: 'request'
});

// register the Express HTTP Listener with the default port of 8000
var Server = Registry.createServer(function(req) {
    var greeter = Registry.get('greeter');
    greeter.sayHi();
});
// Start the server
Server.start(function() {
    console.info('Server running on Port: %d', Server.port);
});<commit_msg>remove testing<commit_after>module.exports = require('./lib');
{'fraction_non_alphanumeric': 0.1629013079667063, 'fraction_numerical': 0.0047562425683709865, 'mean_word_length': 3.7039106145251397, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4162286', 'n_tokens_mistral': 251, 'n_tokens_neox': 242, 'n_words': 65}