<commit_before><style>
    #pad {
        width: 50%;
        height: 50%;
    }
</style>
<textarea id='pad' autofocus>Connecting...</textarea>
<script src="js/text.js"></script>
<script src="js/share.uncompressed.js"></script>
<script>
    var pad = document.getElementById('pad');

    var ws = new WebSocket('ws://' + window.location.host);

    var sjs = new window.sharejs.Connection(ws);

    var doc = sjs.get('users', 'seph');
    console.log(doc);
    doc.subscribe();

    doc.whenReady(function () {
        if (!doc.type) doc.create('text');
        if (doc.type && doc.type.name === 'text')
            doc.attachTextarea(pad);
    });
</script><commit_msg>fixed index.html<commit_after><!DOCTYPE html>
<html>

<head>
    <title>Collab</title>
    <style>
        #pad {
            width: 40em;
            height: 6em;
        }
    </style>
</head>

<body>
    <textarea id="pad" autofocus="">Connecting...</textarea>
    <script src="js/text.js"></script>
    <script src="js/share.uncompressed.js"></script>
    <script>
        var pad = document.getElementById('pad');

        var ws = new WebSocket('ws://' + window.location.host);

        var sjs = new window.sharejs.Connection(ws);

        var doc = sjs.get('users', 'seph');
        console.log(doc);
        doc.subscribe();

        doc.whenReady(function () {
            if (!doc.type) doc.create('text');
            if (doc.type && doc.type.name === 'text')
                doc.attachTextarea(pad);
        });
    </script>
</body>

</html>
{'fraction_non_alphanumeric': 0.1881967213114754, 'fraction_numerical': 0.0045901639344262295, 'mean_word_length': 2.353846153846154, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, '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': '1256742', 'n_tokens_mistral': 516, 'n_tokens_neox': 492, 'n_words': 95}