<commit_before>$(document).ready(function () {
  var timeData = [],
    xAxisData = [],
    yAxisData = [],
    zAxisData = [];
  var data = {
    labels: timeData,
    datasets: [
      {
        fill: false,
        label: 'X-Axis',
        yAxisID: 'xAxis',
        borderColor: "rgba(255, 204, 0, 1)",
        pointBoarderColor: "rgba(255, 204, 0, 1)",
        backgroundColor: "rgba(255, 204, 0, 0.4)",
        pointHoverBackgroundColor: "rgba(255, 204, 0, 1)",
        pointHoverBorderColor: "rgba(255, 204, 0, 1)",
        data: xAxisData
      },
            {
        fill: false,
        label: 'Y-Axis',
        yAxisID: 'yAxis',
        borderColor: "rgba(219, 50, 54, 1)",
        pointBoarderColor: "rgba(219, 50, 54, 1)",
        backgroundColor: "rgba(219, 50, 54, 0.4)",
        pointHoverBackgroundColor: "rgba(219, 50, 54, 1)",
        pointHoverBorderColor: "rgba(219, 50, 54, 1)",
        data: yAxisData
      },
      {
        fill: false,
        label: 'Z-Axis',
        yAxisID: 'zAxis',
        borderColor: "rgba(24, 120, 240, 1)",
        pointBoarderColor: "rgba(24, 120, 240, 1)",
        backgroundColor: "rgba(24, 120, 240, 0.4)",
        pointHoverBackgroundColor: "rgba(24, 120, 240, 1)",
        pointHoverBorderColor: "rgba(24, 120, 240, 1)",
        data: zAxisData
      }
    ]
  }

  var basicOption = {
    title: {
      display: true,
      text: 'Fab Lab Accelerometer',
      fontSize: 36
    },
    scales: {
      yAxes: [{
        id: 'xAxis',
        type: 'linear',
        scaleLabel: {
          labelString: 'g',
          display: true
        },
        position: 'left',
      }, {
        id: 'yAxis',
        type: 'linear',
        scaleLabel: {
          labelString: 'g',
          display: true
        },
        position: 'left',
      }, {
        id: 'zAxis',
        type: 'linear',
        scaleLabel: {
          labelString: 'g',
          display: true
        },
        position: 'right'
      }]
    }
  }

  //Get the context of the canvas element we want to select
  var ctx = document.getElementById("myChart").getContext("2d");
  var optionsNoAnimation = { animation: false }
  var myLineChart = new Chart(ctx, {
    type: 'line',
    data: data,
    options: basicOption
  });

  var ws = new WebSocket('wss://' + location.host);
  ws.onopen = function () {<commit_msg>Testing<commit_after>$(document).ready(function () {
  var timeData = [],
    xAxisData = [],
    yAxisData = [],
    zAxisData = [];
  var data = {
    labels: timeData,
    datasets: [
      {
        fill: false,
        label: 'X-Axis',
        yAxisID: 'yAxis',
        borderColor: "rgba(255, 204, 0, 1)",
        pointBoarderColor: "rgba(255, 204, 0, 1)",
        backgroundColor: "rgba(255, 204, 0, 0.4)",
        pointHoverBackgroundColor: "rgba(255, 204, 0, 1)",
        pointHoverBorderColor: "rgba(255, 204, 0, 1)",
        data: xAxisData
      },
            {
        fill: false,
        label: 'Y-Axis',
        yAxisID: 'yAxis',
        borderColor: "rgba(219, 50, 54, 1)",
        pointBoarderColor: "rgba(219, 50, 54, 1)",
        backgroundColor: "rgba(219, 50, 54, 0.4)",
        pointHoverBackgroundColor: "rgba(219, 50, 54, 1)",
        pointHoverBorderColor: "rgba(219, 50, 54, 1)",
        data: yAxisData
      },
      {
        fill: false,
        label: 'Z-Axis',
        yAxisID: 'yAxis',
        borderColor: "rgba(24, 120, 240, 1)",
        pointBoarderColor: "rgba(24, 120, 240, 1)",
        backgroundColor: "rgba(24, 120, 240, 0.4)",
        pointHoverBackgroundColor: "rgba(24, 120, 240, 1)",
        pointHoverBorderColor: "rgba(24, 120, 240, 1)",
        data: zAxisData
      }
    ]
  }

  var basicOption = {
    title: {
      display: true,
      text: 'Fab Lab Accelerometer',
      fontSize: 36
    },
    scales: {
      yAxes: [{
        id: 'yAxis',
        type: 'linear',
        scaleLabel: {
          labelString: 'g',
          display: true
        },
        position: 'left',
      }]
    }
  }

  //Get the context of the canvas element we want to select
  var ctx = document.getElementById("myChart").getContext("2d");
  var optionsNoAnimation = { animation: false }
  var myLineChart = new Chart(ctx, {
    type: 'line',
    data: data,
    options: basicOption
  });

  var ws = new WebSocket('wss://' + location.host);
  ws.onopen = function () {
{'fraction_non_alphanumeric': 0.15206422018348623, 'fraction_numerical': 0.06009174311926606, 'mean_word_length': 1.964649898028552, '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': '2332240', 'n_tokens_mistral': 1689, 'n_tokens_neox': 1452, 'n_words': 360}