<commit_before>/***
 * This is a "wrapper" of sorts, for the Khan Academy API.
 * Anything relating to the Khan Academy API should be placed in this file.
***/
window.KA_API = (function() {
    /* Function wrapper to create KA_API */
    //jQuery is required for [most] all of these. So if it's object is not found, exit the function.
    if (!window.jQuery) {
        console.log("Needs jQuery");
        return;
    }

    //Everything from this namespace will be placed in the object that is returned.
    return {
        //Khan Academy API Urls
        urls: {
            //For getting contests:
            spotlight: "https://www.khanacademy.org/api/internal/scratchpads/top?casing=camel&topic_id=xffde7c31&sort=4&limit=40000&page=0&lang=en&_=1436581332879",
            //For getting contest entries where contest has ID of programID
            spinoffs: function(programID) {
                return "https://www.khanacademy.org/api/internal/scratchpads/{PROGRAM}/top-forks?casing=camel&sort=2&limit=300000&page=0&lang=en".replace("{PROGRAM}", programID);
            }<commit_msg>More work on fixing comments<commit_after>/***
 * This is a "wrapper" of sorts, for the Khan Academy API.
 * Anything relating to the Khan Academy API should be placed in this file.
***/
window.KA_API = (function() {
    /* Function wrapper to create KA_API */
    /* jQuery is required for [most] all of these. So if it's object is not found, exit the function. */
    if (!window.jQuery) {
        console.log("Needs jQuery");
        return;
    }

    /* Everything from this namespace will be placed in the object that is returned. */
    return {
        /* Khan Academy API Urls */
        urls: {
            /* For getting contests: */
            spotlight: "https://www.khanacademy.org/api/internal/scratchpads/top?casing=camel&topic_id=xffde7c31&sort=4&limit=40000&page=0&lang=en&_=1436581332879",
            /* For getting contest entries where contest has ID of programID */
            spinoffs: function(programID) {
                return "https://www.khanacademy.org/api/internal/scratchpads/{PROGRAM}/top-forks?casing=camel&sort=2&limit=300000&page=0&lang=en".replace("{PROGRAM}", programID);
            }
{'fraction_non_alphanumeric': 0.11998195760036084, 'fraction_numerical': 0.02796571944068561, 'mean_word_length': 2.830742659758204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '717921', 'n_tokens_mistral': 716, 'n_tokens_neox': 669, 'n_words': 192}