<commit_before>apps.forEach(function(entry) {
    $("#drag-area").append(entry);
});

$(function() {
    $(".app").draggable({ containment: "#drag-area" });
    $(".window").draggable({ containment: "#drag-area", handle: ".window-handle" });
    $(".window-contents").resizable();
});

//window position init
$(".window").each(function() {
    var max_h = parseInt($("#desktop").css("height"), 10);
    var offset = parseInt($(this).css("height"), 10)+10;
    var top = parseInt(parseInt($("#desktop").css("height"), 10)/2-300);
    var left = parseInt(parseInt($("#desktop").css("width"), 10)/2-400);
    $(".window").each(function() {
        $(this).css("top", top);
        $(this).css("left", left);
        top += 20+Math.floor((Math.random() * 10) + 1);<commit_msg>fixed resize so that it doesn't go beyond the container<commit_after>apps.forEach(function(entry) {
    $("#drag-area").append(entry);
});

$(function() {
    $(".app").draggable({ containment: "#drag-area" });
    $(".window").draggable({ containment: "#drag-area", handle: ".window-handle" });
    $(".window-contents").resizable({ containment: "#drag-area"});
});

//window position init
$(".window").each(function() {
    var max_h = parseInt($("#desktop").css("height"), 10);
    var offset = parseInt($(this).css("height"), 10)+10;
    var top = parseInt(parseInt($("#desktop").css("height"), 10)/2-300);
    var left = parseInt(parseInt($("#desktop").css("width"), 10)/2-400);
    $(".window").each(function() {
        $(this).css("top", top);
        $(this).css("left", left);
        top += 20+Math.floor((Math.random() * 10) + 1);
{'fraction_non_alphanumeric': 0.26394052044609667, 'fraction_numerical': 0.028500619578686492, 'mean_word_length': 4.192926045016077, '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': '5850545', 'n_tokens_mistral': 550, 'n_tokens_neox': 513, 'n_words': 92}