<commit_before>var tStart = 0 // Start transition from top
  , tEnd = 3277   // End at 500px
  , cStart = [204, 0, 0]// [255, 99, 71]  // Gold
  , cEnd = [0, 0, 0]// [66, 66, 132]   // Lime
  , cDiff = [cEnd[0] - cStart[0], cEnd[1] - cStart[1], cEnd[1] - cStart[0]];

$(document).ready(function() {
    $(this).scrollTop(0);
    /*$(document).scroll(function() {
        var p = ($(this).scrollTop() - tStart) / (tEnd - tStart); // % of transition
        p = Math.min(1, Math.max(0, p)); // Clamp to [0, 1]
        var cBg = [Math.round(cStart[0] + cDiff[0] * p), Math.round(cStart[1] + cDiff[1] * p), Math.round(cStart[2] + cDiff[2] * p)];
        $("body").css('background-color', 'rgb(' + cBg.join(',') +')');
    });*/
	
    $("#txt-name").change(function() {
        $("#ig-name").removeClass("has-error");
    });

    $("#txt-mobile").change(function() {
        $("#ig-mobile").removeClass("has-error");
    });

    $("#txt-email").change(function() {
        $("#ig-email").removeClass("has-error");
    });
});

function sendInviteRequest(details) {
    $.ajax({
        url: "https://test.quikwallet.com/api/edenred/sendbcmail",
        method: "POST",
        data: details,
        contentType: "application/json",
        success: function(res) { console.log("Success Response",res); },
        error: function(res) { console.log("Failed Response",res); }
	});
    console.log("Hook it up");
}

function validateInputs() {
    isValid = true;
    var name, email, mobile, gender;
    $(".err-mark").hide();<commit_msg>Comment out scroll to change bg color function<commit_after>

$(document).ready(function() {
    $(this).scrollTop(0);
    /*var tStart = 0 // Start transition from top
    , tEnd = 2000   // End at 500px
    , cStart = [255, 0, 100]// [255, 99, 71]  // Gold
    , cEnd = [0, 0, 255]// [66, 66, 132]   // Lime
    , cDiff = [cEnd[0] - cStart[0], cEnd[1] - cStart[1], cEnd[1] - cStart[0]];

    $(document).scroll(function() {
        var p = ($(this).scrollTop() - tStart) / (tEnd - tStart); // % of transition
        p = Math.min(1, Math.max(0, p)); // Clamp to [0, 1]
        var cBg = [Math.round(cStart[0] + cDiff[0] * p), Math.round(cStart[1] + cDiff[1] * p), Math.round(cStart[2] + cDiff[2] * p)];
        $("body").css('background-color', 'rgb(' + cBg.join(',') +')');
    });*/
	
	
    $("#txt-name").change(function() {
        $("#ig-name").removeClass("has-error");
    });

    $("#txt-mobile").change(function() {
        $("#ig-mobile").removeClass("has-error");
    });

    $("#txt-email").change(function() {
        $("#ig-email").removeClass("has-error");
    });
});

function sendInviteRequest(details) {
    $.ajax({
        url: "https://test.quikwallet.com/api/edenred/sendbcmail",
        method: "POST",
        data: details,
        contentType: "application/json",
        success: function(res) { console.log("Success Response",res); },
        error: function(res) { console.log("Failed Response",res); }
	});
    console.log("Hook it up");
}

function validateInputs() {
    isValid = true;
    var name, email, mobile, gender;
    $(".err-mark").hide();
{'fraction_non_alphanumeric': 0.22941364947132328, 'fraction_numerical': 0.03140019224607497, 'mean_word_length': 2.7524038461538463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2593278', 'n_tokens_mistral': 1157, 'n_tokens_neox': 1103, 'n_words': 219}