<commit_before><div class="gridster">
  <ul>
    <li class="sleep" data-row="1" data-col="1" data-sizex="2" data-sizey="2">
      <span class="css-animation"><%= @quality_sleep %></span>
      <canvas id="sleep" height="300" width="300" data-light="<%= @light_sleep %>" data-deep="<%= @deep_sleep %>" />
    </li>
    <li data-row="2" data-col="1" data-sizex="1" data-sizey="1"></li>
    <li data-row="3" data-col="1" data-sizex="1" data-sizey="1"></li>

    <li class="steps-calories" data-row="1" data-col="2" data-sizex="4" data-sizey="3">
      <canvas id="steps-calories" height="450" width="600" />
    </li>
    <li data-row="2" data-col="2" data-sizex="2" data-sizey="2"></li>

    <li data-row="1" data-col="4" data-sizex="1" data-sizey="1"></li>
    <li data-row="2" data-col="4" data-sizex="2" data-sizey="1"></li>
    <li data-row="3" data-col="4" data-sizex="1" data-sizey="1"></li>

    <li data-row="1" data-col="5" data-sizex="1" data-sizey="1"></li>
    <li data-row="3" data-col="5" data-sizex="1" data-sizey="1"></li>

    <li data-row="1" data-col="6" data-sizex="1" data-sizey="1"></li>
    <li data-row="2" data-col="6" data-sizex="1" data-sizey="2"></li>
  </ul>
</div>

<script>
  $(function() {

    $(".gridster ul").gridster({
        widget_margins: [10, 10],
        widget_base_dimensions: [140, 140]
    });

    var doughnutData = [
      {
        value: $('canvas').data('light'),
        color:"#949FB1"
      },
      {
        value : $('canvas').data('deep'),
        color : "#46BFBD"
      }
    ];
    var myDoughnut = new Chart(document.getElementById("sleep").getContext("2d")).Doughnut(doughnutData, { percentageInnerCutout : 50 });

    var barChartData = {
      labels : ["M","T","W","T","F","S","S"],
      datasets : [
        {
          fillColor : "rgba(220,220,220,0.5)",
          strokeColor : "rgba(220,220,220,1)",
          data : [6500,5900,9000,8100,5600,5500,4000]
        },
        {
          fillColor : "rgba(151,187,205,0.5)",
          strokeColor : "rgba(151,187,205,1)",
          data : [2800,4800,4000,1900,9600,2700,10000]
        }
      ]
    }
    var myLine = new Chart(document.getElementById("steps-calories").getContext("2d")).Bar(barChartData);
  });
</script><commit_msg>comment out hard coded bar chart for now<commit_after><div class="gridster">
  <ul>
    <li class="sleep" data-row="1" data-col="1" data-sizex="2" data-sizey="2">
      <span class="css-animation"><%= @quality_sleep %></span>
      <canvas id="sleep" height="300" width="300" data-light="<%= @light_sleep %>" data-deep="<%= @deep_sleep %>" />
    </li>
    <li data-row="2" data-col="1" data-sizex="1" data-sizey="1"></li>
    <li data-row="3" data-col="1" data-sizex="1" data-sizey="1"></li>

    <li class="steps-calories" data-row="1" data-col="2" data-sizex="4" data-sizey="3">
<!--       <canvas id="steps-calories" height="450" width="600" /> -->
    </li>
    <li data-row="2" data-col="2" data-sizex="2" data-sizey="2"></li>

    <li data-row="1" data-col="4" data-sizex="1" data-sizey="1"></li>
    <li data-row="2" data-col="4" data-sizex="2" data-sizey="1"></li>
    <li data-row="3" data-col="4" data-sizex="1" data-sizey="1"></li>

    <li data-row="1" data-col="5" data-sizex="1" data-sizey="1"></li>
    <li data-row="3" data-col="5" data-sizex="1" data-sizey="1"></li>

    <li data-row="1" data-col="6" data-sizex="1" data-sizey="1"></li>
    <li data-row="2" data-col="6" data-sizex="1" data-sizey="2"></li>
  </ul>
</div>

<script>
  $(function() {

    $(".gridster ul").gridster({
        widget_margins: [10, 10],
        widget_base_dimensions: [140, 140]
    });

    var doughnutData = [
      {
        value: $('canvas').data('light'),
        color:"#949FB1"
      },
      {
        value : $('canvas').data('deep'),
        color : "#46BFBD"
      }
    ];
    var myDoughnut = new Chart(document.getElementById("sleep").getContext("2d")).Doughnut(doughnutData, { percentageInnerCutout : 50 });

    // var barChartData = {
    //   labels : ["M","T","W","T","F","S","S"],
    //   datasets : [
    //     {
    //       fillColor : "rgba(220,220,220,0.5)",
    //       strokeColor : "rgba(220,220,220,1)",
    //       data : [6500,5900,9000,8100,5600,5500,4000]
    //     },
    //     {
    //       fillColor : "rgba(151,187,205,0.5)",
    //       strokeColor : "rgba(151,187,205,1)",
    //       data : [2800,4800,4000,1900,9600,2700,10000]
    //     }
    //   ]
    // }
    // var myLine = new Chart(document.getElementById("steps-calories").getContext("2d")).Bar(barChartData);
  });
</script>
{'fraction_non_alphanumeric': 0.2437908496732026, 'fraction_numerical': 0.07799564270152505, 'mean_word_length': 2.9039115646258504, 'pattern_counts': {'":': 0, '<': 78, '<?xml version=': 0, '>': 78, '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': '953364', 'n_tokens_mistral': 1961, 'n_tokens_neox': 1785, 'n_words': 270}