<commit_before><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <title>MonsterId.js</title>
    <link rel="stylesheet" href="css/style.css" type="text/css">
    <script type="text/javascript" src="build/monsterid.min.js"></script>
</head>
<body>
    <a href="https://github.com/kevingaudin/monsterid.js" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>
    This page demonstrate's an implementation of the MonsterID concept only with browser compatible JavaScript.
    <hr/>
    <p>Generate your own monster. Summon him by name:</p>
    <img id="yourMonster"  class="avatar"/>
    <br/>
    <input placeholder="Enter your monster's name" type="text" id="monstername" onkeyup="MonsterId.getAvatar(this.value, document.getElementById('yourMonster'));"/>
    <hr/>
    <p>Here come the monsters : <button onclick="addMonsters()">Moar !</button></p>
    <script type="text/javascript">
        var monstercount = 0;
        var addMonsters = function() {
            var nbMonsters = monstercount + 100;
            for(var i = monstercount; i < nbMonsters; i++) {
                var avatar = document.createElement('img');
                avatar.className = "avatar";
                document.body.appendChild(avatar);
                MonsterId.getAvatar("monster" + i, avatar);
                monstercount++;
            }<commit_msg>Shorter placeholder string.<commit_after><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <title>MonsterId.js</title>
    <link rel="stylesheet" href="css/style.css" type="text/css">
    <script type="text/javascript" src="build/monsterid.min.js"></script>
</head>
<body>
    <a href="https://github.com/kevingaudin/monsterid.js" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>
    This page demonstrate's an implementation of the MonsterID concept only with browser compatible JavaScript.
    <hr/>
    <p>Generate your own monster. Summon him by name:</p>
    <img id="yourMonster"  class="avatar"/>
    <br/>
    <input placeholder="Your monster's name" type="text" id="monstername" onkeyup="MonsterId.getAvatar(this.value, document.getElementById('yourMonster'));"/>
    <hr/>
    <p>Here come the monsters : <button onclick="addMonsters()">Moar !</button></p>
    <script type="text/javascript">
        var monstercount = 0;
        var addMonsters = function() {
            var nbMonsters = monstercount + 100;
            for(var i = monstercount; i < nbMonsters; i++) {
                var avatar = document.createElement('img');
                avatar.className = "avatar";
                document.body.appendChild(avatar);
                MonsterId.getAvatar("monster" + i, avatar);
                monstercount++;
            }
{'fraction_non_alphanumeric': 0.1545942320590208, 'fraction_numerical': 0.011401743796109993, 'mean_word_length': 3.2312056737588652, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 53, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '7334752', 'n_tokens_mistral': 958, 'n_tokens_neox': 912, 'n_words': 207}