<commit_before>var _ = require('_'),

    _cache = require('../../cache'),

    _queryCache = _cache(),
    _isCache    = _cache(),

    Selector = require('./constructs/Selector'),
    Query = require('./constructs/Query'),
    Is = require('./constructs/Is'),

    _parse = require('./selector/selector-parse'),
    _normalize = require('./selector/selector-normalize');

var _toSelectors = function(str) {
    var selector = _normalize(str),
        selectors = _parse.subqueries(selector);
    return _.map(selectors, function(selector) {<commit_msg>Updates to toSelectors method<commit_after>var _ = require('_'),

    _cache = require('../../cache'),

    _queryCache = _cache(),
    _isCache    = _cache(),

    Selector = require('./constructs/Selector'),
    Query = require('./constructs/Query'),
    Is = require('./constructs/Is'),

    _parse = require('./selector/selector-parse'),
    _normalize = require('./selector/selector-normalize');

var _toSelectors = function(str) {
    // Selectors will return null if the query was invalid.
    // Not returning early or doing extra checks as this will
    // noop on the Query and Is level and is the exception
    // instead of the rule
    var selectors = _parse.subqueries(str) || [];
    
    // Normalize each of the selectors...
    selectors = _.map(selectors, _normalize);

    // ...and map them to Selector objects
    return _.fastmap(selectors, function(selector) {
{'fraction_non_alphanumeric': 0.14951321279554938, 'fraction_numerical': 0.0, 'mean_word_length': 3.0880681818181817, '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': '2734582', 'n_tokens_mistral': 413, 'n_tokens_neox': 401, 'n_words': 107}