<commit_before>(function() {
    "use strict";

    var Module = require("./di/module.js");
    var Container = require("./di/container.js");
    var ObjectUtils = require("./utils/object.js");
    var Proto = require("./utils/proto.js");
    var assert = require("./utils/assert.js");

    var modules = [];

    var recurve = window.recurve = {
        module: function(name) {
            var knownModule = null;

            ObjectUtils.forEach(modules, function(module) {
               if (module.name === name) {
                   knownModule = module;
                   return true;
               }
            });

            assert(knownModule, "module {0} does not exist", name);
            return knownModule;
        },<commit_msg>updated to use objectutils.find<commit_after>(function() {
    "use strict";

    var Module = require("./di/module.js");
    var Container = require("./di/container.js");
    var ObjectUtils = require("./utils/object.js");
    var Proto = require("./utils/proto.js");
    var assert = require("./utils/assert.js");

    var modules = [];

    var recurve = window.recurve = {
        module: function(name) {
            var knownModule = ObjectUtils.find(modules, "name", name);
            assert(knownModule, "module {0} does not exist", name);

            return knownModule;
        },
{'fraction_non_alphanumeric': 0.14914243102162567, 'fraction_numerical': 0.0014914243102162564, 'mean_word_length': 2.0779816513761467, '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': '567994', 'n_tokens_mistral': 375, 'n_tokens_neox': 361, 'n_words': 88}