<commit_before>var AnalysisController = (function () {
  var initialize = function (boardId, boardStates, startingList, endingList, token) {
    setupConfigurationModal(boardId, boardStates, startingList, endingList, token);
    loadCharts(boardId, token);
  };

  var getCurrentList = function (id) {
    return $($("#" + id)[0].selectedOptions).val();
  }

  var getCurrentStartingList = function () {
    return getCurrentList("starting-list");
  };

  var getCurrentEndingList = function () {
    return getCurrentList("ending-list");
  };

  var loadCharts = function (boardId, token) {
    var startOfWork = getCurrentStartingList(),
        endOfWork = getCurrentEndingList();

    WipChartBuilder.build(boardId, token);
    StatsBuilder.build(boardId, token);
    LabelCountChartBuilder.build(boardId, token);
    ProgressChartBuilder.build(boardId, token, startOfWork, endOfWork);
    ListChangesChartBuilder.build(boardId, token, startOfWork, endOfWork);
  };

  var updateListRange = function (boardId, token) {
    var startOfWork = getCurrentStartingList(),
        endOfWork = getCurrentEndingList();

    $("#configure-board-modal").modal('hide');

    $.ajax({
      url: "/boards/" + boardId,
      type: "put",
      data: {<commit_msg>fix issue where webkit would not pick up changing the start / end lists<commit_after>var AnalysisController = (function () {
  var initialize = function (boardId, boardStates, startingList, endingList, token) {
    setupConfigurationModal(boardId, boardStates, startingList, endingList, token);
    loadCharts(boardId, token);
  };

  var getCurrentList = function (id) {
    return $("#" + id).val();
  }

  var getCurrentStartingList = function () {
    return getCurrentList("starting-list");
  };

  var getCurrentEndingList = function () {
    return getCurrentList("ending-list");
  };

  var loadCharts = function (boardId, token) {
    var startOfWork = getCurrentStartingList(),
        endOfWork = getCurrentEndingList();

    WipChartBuilder.build(boardId, token);
    StatsBuilder.build(boardId, token);
    LabelCountChartBuilder.build(boardId, token);
    ProgressChartBuilder.build(boardId, token, startOfWork, endOfWork);
    ListChangesChartBuilder.build(boardId, token, startOfWork, endOfWork);
  };

  var updateListRange = function (boardId, token) {
    var startOfWork = getCurrentStartingList(),
        endOfWork = getCurrentEndingList();

    $("#configure-board-modal").modal('hide');

    $.ajax({
      url: "/boards/" + boardId,
      type: "put",
      data: {
{'fraction_non_alphanumeric': 0.12617924528301888, 'fraction_numerical': 0.00039308176100628933, 'mean_word_length': 4.151821862348178, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5194753', 'n_tokens_mistral': 754, 'n_tokens_neox': 729, 'n_words': 164}