<commit_before>//Modules to include
var http = require("http");

//We are passing a function as an argument of createServer function
http.createServer(
    //Anonymous function
    function(request, response) 
    {
          response.writeHead(200, {"Content-Type": "text/plain"});
          response.write("Hello World");
          response.end();
    }
).listen(8888);<commit_msg>Assign function to a var<commit_after>var http = require("http");

var onRequest = function(request, response) {
          response.writeHead(200, {"Content-Type": "text/plain"});
          response.write("Hello World");
          response.end();
}

http.createServer(onRequest).listen(8888);
{'fraction_non_alphanumeric': 0.1437037037037037, 'fraction_numerical': 0.02074074074074074, 'mean_word_length': 3.418300653594771, 'pattern_counts': {'":': 2, '<': 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': '1509347', 'n_tokens_mistral': 197, 'n_tokens_neox': 185, 'n_words': 46}