<commit_before>(function() {

    var Service = function() {};

    Service.prototype = new iris.Settable();

    Service.prototype.ajax = function(p_method, p_path, p_params, f_success, f_error) {
        iris.ajax({
            "url": this.setting("path") + p_path,
            "type": p_method,
            "data": p_params,
            "cache": false,
            "dataType": this.setting("type"),
            "async": true,
            "success": f_success,
            "error": function (p_request, p_textStatus, p_errorThrown) {

                iris.notify(iris.SERVICE_ERROR, {req: p_request, status: p_textStatus, error: p_errorThrown});
<commit_msg>Renamed iris.SERVICE_ERROR<commit_after>(function() {

    var Service = function() {};

    Service.prototype = new iris.Settable();

    Service.prototype.ajax = function(p_method, p_path, p_params, f_success, f_error) {
        iris.ajax({
            "url": this.setting("path") + p_path,
            "type": p_method,
            "data": p_params,
            "cache": false,
            "dataType": this.setting("type"),
            "async": true,
            "success": f_success,
            "error": function (p_request, p_textStatus, p_errorThrown) {

                iris.notify(iris.SERVICE_ERROR, {request: p_request, status: p_textStatus, error: p_errorThrown});

{'fraction_non_alphanumeric': 0.13836948391922213, 'fraction_numerical': 0.0, 'mean_word_length': 2.421994884910486, 'pattern_counts': {'":': 16, '<': 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': '1494069', 'n_tokens_mistral': 417, 'n_tokens_neox': 408, 'n_words': 83}