<commit_before>/*********************************************************************
 * Main SnakePlan Application                                        *
 *********************************************************************/
(function() {

var URLS = {
    project: "/api/project",
    projectStories: "/api/project/{0}/stories"
};

window.simpleTemplate = simpleTemplate;

$(document).ready(function()
{
    $.getJSON(URLS.project, loadProjectSelector);

    $("#project-select").change(function()
    {
        $.getJSON(URLS.projectStories.replace("{0}", getCurrentProjectId()), loadTaskList);
    });
});


function getCurrentProjectId()
{
    return $("#project-select").val();
}


function loadProjectSelector(json)
{
    $.each(json, function(i, item)
    {
        $("#project-select").append(new Option(item.name, item.id));
    });
}


function loadTaskList(json)
{
    var taskList = $("#task-table");
    taskList.empty();<commit_msg>Forgot to remove an experiment.<commit_after>/*********************************************************************
 * Main SnakePlan Application                                        *
 *********************************************************************/
(function() {

var URLS = {
    project: "/api/project",
    projectStories: "/api/project/{0}/stories"
};

$(document).ready(function()
{
    $.getJSON(URLS.project, loadProjectSelector);

    $("#project-select").change(function()
    {
        $.getJSON(URLS.projectStories.replace("{0}", getCurrentProjectId()), loadTaskList);
    });
});


function getCurrentProjectId()
{
    return $("#project-select").val();
}


function loadProjectSelector(json)
{
    $.each(json, function(i, item)
    {
        $("#project-select").append(new Option(item.name, item.id));
    });
}


function loadTaskList(json)
{
    var taskList = $("#task-table");
    taskList.empty();
{'fraction_non_alphanumeric': 0.3004794885455514, 'fraction_numerical': 0.002131060202450719, 'mean_word_length': 3.730478589420655, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2547906', 'n_tokens_mistral': 513, 'n_tokens_neox': 493, 'n_words': 77}