<commit_before>(function () {
    /**
     * FIX ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     */
    var validate = require('../validate'),
        xhn = require('../xhn'),
        assert = require('assert'),
        metadata = xhn.metadata(),
        input = xhn.inputControl();

    assert.strictEqual(xhn.isLinkRelation('search'), true, 'Default link relations are wrong.');
    assert.strictEqual(xhn.isLinkRelation('prev'), true, 'Default link relations are wrong.');
    assert.strictEqual(xhn.isLinkRelation('test'), false, 'Default link relations are wrong.');

    xhn.setLinkRelation('test');

    assert.strictEqual(xhn.isLinkRelation('search'), true, 'Link relations are wrong.');
    assert.strictEqual(xhn.isLinkRelation('prev'), true, 'Link relations are wrong.');
    assert.strictEqual(xhn.isLinkRelation('test'), true, 'Link relations are wrong.');
<commit_msg>Changed the required xhn file to the old version of the file so the unit tests still work for the time being.<commit_after>(function () {
    var validate = require('../validate'),
        xhn = require('../xhn/old-index.js'),
        assert = require('assert'),
        metadata = xhn.metadata(),
        input = xhn.inputControl();

    assert.strictEqual(xhn.isLinkRelation('search'), true, 'Default link relations are wrong.');
    assert.strictEqual(xhn.isLinkRelation('prev'), true, 'Default link relations are wrong.');
    assert.strictEqual(xhn.isLinkRelation('test'), false, 'Default link relations are wrong.');

    xhn.setLinkRelation('test');

    assert.strictEqual(xhn.isLinkRelation('search'), true, 'Link relations are wrong.');
    assert.strictEqual(xhn.isLinkRelation('prev'), true, 'Link relations are wrong.');
    assert.strictEqual(xhn.isLinkRelation('test'), true, 'Link relations are wrong.');

{'fraction_non_alphanumeric': 0.175787728026534, 'fraction_numerical': 0.0, 'mean_word_length': 4.127478753541077, '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': '4583181', 'n_tokens_mistral': 508, 'n_tokens_neox': 508, 'n_words': 127}