<commit_before>var fs = require('file');

exports.Tech = function (name) {
    this.name = name;

    var tech = {};
    try { tech = require('./tech/' + name) } catch (e) {}
    try { tech = require(fs.absolute(name)) } catch (e) {}
    for (var name in tech)
        if (Object.prototype.hasOwnProperty.call(tech, name))
            this[name] = tech[name];

};

exports.Tech.prototype.filterExists = function (prefixes) {<commit_msg>Пытаемся искать модуль технологии по абсолютному пути, только если не удалось найти по имени<commit_after>var fs = require('file');

exports.Tech = function (name) {
    this.name = name;

    var tech = {};
    try { tech = require('./tech/' + name) } catch (e) {
        try { tech = require(fs.absolute(name)) } catch (e) {}
    }
    for (var name in tech)
        if (Object.prototype.hasOwnProperty.call(tech, name))
            this[name] = tech[name];

};

exports.Tech.prototype.filterExists = function (prefixes) {
{'fraction_non_alphanumeric': 0.153125, 'fraction_numerical': 0.0, 'mean_word_length': 3.0209205020920504, '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': '604107', 'n_tokens_mistral': 317, 'n_tokens_neox': 323, 'n_words': 81}