<commit_before>var Request = require("ringo/webapp/request").Request;
var Response = require("ringo/webapp/response").Response;

exports.app = function(env) {
    var request = new Request(env);
    var parts = request.path.split("/");
    parts.pop();
    parts.push("composer");
    print(request.scheme + "://" + request.host + ":" + request.port + parts.join("/"));
    return {
        status: 302,
        headers: {"Location": request.scheme + "://" + request.host + ":" + request.port + parts.join("/")},
        body: []
    };
}<commit_msg>Remove debug print.<commit_after>var Request = require("ringo/webapp/request").Request;
var Response = require("ringo/webapp/response").Response;

exports.app = function(env) {
    var request = new Request(env);
    var parts = request.path.split("/");
    parts.pop();
    parts.push("composer");
    return {
        status: 302,
        headers: {"Location": request.scheme + "://" + request.host + ":" + request.port + parts.join("/")},
        body: []
    };
}
{'fraction_non_alphanumeric': 0.19665683382497542, 'fraction_numerical': 0.0058997050147492625, 'mean_word_length': 3.1048387096774195, 'pattern_counts': {'":': 8, '<': 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': '4692851', 'n_tokens_mistral': 315, 'n_tokens_neox': 307, 'n_words': 60}