<commit_before>var prevData = {};
var contentHeaderOnly = '';
var updateInterval;
var inTransit = false;
var googleSheetId = "1fPbwpJ3NqfxVjWQKSDyk9cfqep2wXjdMMO446_OMFSw";
var loginRequired = true;
var scriptUrl = "https://script.google.com/macros/s/AKfycbzrrLk8qaJuuLsW5qMB1x0FpXb9oz2Lgf9w77a-7p2aYLHi-CI/exec";
scriptUrl += "?";


$(document).ready(function(){
    var url = scriptUrl;

    url += "&row="+"-2";
    url += "&sheetId="+googleSheetId;

    //JSONP contains it's own function call
    $.ajax({
        type: 'GET',
        url: url,
        async: true,
        contentType: "application/json",
        dataType: 'jsonp'
    });

    contentHeaderOnly = $('.todoTable').html();
    getData();
    updateInterval = setInterval(function(){getData();}, 10000);
    setTimeout(function(){
        if(loginRequired){
            $(".loginCard").show();
        }
    }, 2000);
});

function loginNeeded(isNeeded){<commit_msg>Fixing up readme, restoring user provided fields<commit_after>var prevData = {};
var contentHeaderOnly = '';
var updateInterval;
var inTransit = false;
var googleSheetId = "Paste Sheet Url ID Here";
var loginRequired = true;
var scriptUrl = "Paste Web App Script URL here";
scriptUrl += "?";


$(document).ready(function(){
    var url = scriptUrl;

    url += "&row="+"-2";
    url += "&sheetId="+googleSheetId;

    //JSONP contains it's own function call
    $.ajax({
        type: 'GET',
        url: url,
        async: true,
        contentType: "application/json",
        dataType: 'jsonp'
    });

    contentHeaderOnly = $('.todoTable').html();
    getData();
    updateInterval = setInterval(function(){getData();}, 10000);
    setTimeout(function(){
        if(loginRequired){
            $(".loginCard").show();
        }
    }, 2000);
});

function loginNeeded(isNeeded){
{'fraction_non_alphanumeric': 0.15916575192096596, 'fraction_numerical': 0.020856201975850714, 'mean_word_length': 3.23953488372093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '7263331', 'n_tokens_mistral': 624, 'n_tokens_neox': 591, 'n_words': 126}