<commit_before>var global_comp = [];

function setup() {
    //P5 Init
    noCanvas();
    frameRate(30);
    /*
    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
        noLoop()
    }
    */
    resetSketch()
    /*
        button = createButton('reset')
    button.mousePressed(resetSketch)
    */
}

function resetSketch() {
    d3.select('svg').remove();
    var svg_width = 700;
    var svg_height = 700;
    var centerx = svg_width / 2;
    var centery = svg_height / 2;

    //D3 Init
    var body = d3.select('body');
    var svg = body.append('svg')
        .attr('width', svg_width)
        .attr('height', svg_height)
        .attr('id', 'main-svg');
    var blur_filter = svg.append('filter')
        .attr('id', 'blur');<commit_msg>Revert "Update main.js"<commit_after>var global_comp = [];

function setup() {
    //P5 Init
    noCanvas();
    frameRate(30);
    /*
    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
        noLoop()
    }
    */
    button = createButton('reset')
    button.mousePressed(resetSketch)
    resetSketch()
}

function resetSketch() {
    d3.select('svg').remove();
    var svg_width = 700;
    var svg_height = 700;
    var centerx = svg_width / 2;
    var centery = svg_height / 2;

    //D3 Init
    var body = d3.select('body');
    var svg = body.append('svg')
        .attr('width', svg_width)
        .attr('height', svg_height)
        .attr('id', 'main-svg');
    var blur_filter = svg.append('filter')
        .attr('id', 'blur');
{'fraction_non_alphanumeric': 0.16309823677581864, 'fraction_numerical': 0.017632241813602016, 'mean_word_length': 2.578828828828829, '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': '1291072', 'n_tokens_mistral': 591, 'n_tokens_neox': 564, 'n_words': 105}