<commit_before>$.get("/api/follower_count", function(data){
    let count = data.data.count;
    $("#followerCount b").text(count);
    $("#followerCount").append(' Followers')
});

$.get("/api/auto_like", function(data){
    if (data.data.status === true) {
        $("#autolike").prop('checked', true)
            .removeAttr('disabled');<commit_msg>render unfollows and new followers on dashboard<commit_after>$.get("/api/follower_count", function(data){
    let count = data.data.count;
    $("#followerCount b").text(count);
    $("#followerCount").append(' Followers')
});

$.get("/api/new_followers", function(data) {
    $('body').append('<div class="_mtxs newfollows" container>');
    $(".newfollows").append("<h4>New Followers</h4>")
    $('.newfollows').append("<ul>");
    data.data.users.forEach(function(item, index) {
        $('.newfollows ul').append(`
            <li>
                <img src="${item.profile_image_url_https}">
                <a href="https://www.twitter.com/${item.screen_name}">
                    <span>
                        <b> ${item.name} </b>
                    </span>
                    <span>@${item.screen_name}</span>
                </a>
            </li>
        `)
    });
});

$.get("/api/unfollowers", function(data) {
    $('body').append('<div class="_mtxs unfollows" container>');
    $(".unfollows").append("<h4>Unfollowers</h4>")
    $('.unfollows').append("<ul>");
    data.data.users.forEach(function(item, index) {
        $('.unfollows ul').append(`
            <li>
                <img src="${item.profile_image_url_https}">
                <a href="https://www.twitter.com/${item.screen_name}">
                    <span>
                        <b> ${item.name} </b>
                    </span>
                    <span>@${item.screen_name}</span>
                </a>
            </li>
        `)
    });
});

$.get("/api/auto_like", function(data){
    if (data.data.status === true) {
        $("#autolike").prop('checked', true)
            .removeAttr('disabled');
{'fraction_non_alphanumeric': 0.21232876712328766, 'fraction_numerical': 0.0019569471624266144, 'mean_word_length': 2.1365030674846626, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3715456', 'n_tokens_mistral': 639, 'n_tokens_neox': 627, 'n_words': 90}