<commit_before>function runTest()
{
    FBTest.openNewTab(basePath + "lib/search/textSearch.htm", function(win)
    {
        var root = win.document.getElementById("content");
        FBTest.progress("Document ready state: " + win.document.readyState);

        var documentElement = win.document.documentElement;
        var innerHTML = documentElement ? documentElement.innerHTML :
            "document element not available";

        FBTest.progress("Document innerHTML: " + innerHTML);

        if (!FBTest.ok(root, "The 'content' element must exist."))
        {
            FBTest.testDone();
            return;
        }

        var child = win.document.getElementById("child");

        function compareFind(node, offset, result)
        {
            result = FW.FBL.unwrapObject(result);
            node = FW.FBL.unwrapObject(node);

            FBTest.ok(node === result, "Node matches");
            if (node)
            {
                FBTest.compare(offset, search.range && search.range.startOffset,
                    "Range Start " + offset);
            }<commit_msg>Another tracing for faling test (lib/search/textSearch)<commit_after>function runTest()
{
    FBTest.openNewTab(basePath + "lib/search/textSearch.htm", function(win)
    {
        var root = win.document.getElementById("content");
        FBTest.progress("Document ready state: " + win.document.readyState);
        FBTest.progress("Location: " + win.location);

        var documentElement = win.document.documentElement;
        var innerHTML = documentElement ? documentElement.innerHTML :
            "document element not available";

        FBTest.progress("Document innerHTML: " + innerHTML);

        if (!FBTest.ok(root, "The 'content' element must exist."))
        {
            FBTest.testDone();
            return;
        }

        var child = win.document.getElementById("child");

        function compareFind(node, offset, result)
        {
            result = FW.FBL.unwrapObject(result);
            node = FW.FBL.unwrapObject(node);

            FBTest.ok(node === result, "Node matches");
            if (node)
            {
                FBTest.compare(offset, search.range && search.range.startOffset,
                    "Range Start " + offset);
            }
{'fraction_non_alphanumeric': 0.11690017513134851, 'fraction_numerical': 0.0, 'mean_word_length': 2.1301369863013697, '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': '6068646', 'n_tokens_mistral': 621, 'n_tokens_neox': 586, 'n_words': 123}