<commit_before>var totals = {
  'gwh-total': 50000 // Start with higher than expected value, leaving room
  '
};

document.addEventListener("DOMContentLoaded", function(event) {
  updateCharts('car', 0);
  columnGraph("#investment-chart", [
    1, 5, 10, 15, 45, 50
  ]);
});

// Each slider's value, to pass to calculator
function getRangeValues () {
  return {
    'carNumber': document.getElementById('carNumber').value,
    'solarNumber': document.getElementById('solarNumber').value,
    'homeNumber': document.getElementById('homeNumber').value,
    'windfarmNumber': document.getElementById('windfarmNumber').value,
    'bicycleNumber': document.getElementById('bicycleNumber').value
  };
}

function updateCharts (prefix, value) {
  document.getElementById(prefix + 'Number').value = value;<commit_msg>Remove typo<commit_after>var totals = {
  'gwh-total': 50000 // Start with higher than expected value, leaving room
};

document.addEventListener("DOMContentLoaded", function(event) {
  updateCharts('car', 0);
  columnGraph("#investment-chart", [
    1, 5, 10, 15, 45, 50
  ]);
});

// Each slider's value, to pass to calculator
function getRangeValues () {
  return {
    'carNumber': document.getElementById('carNumber').value,
    'solarNumber': document.getElementById('solarNumber').value,
    'homeNumber': document.getElementById('homeNumber').value,
    'windfarmNumber': document.getElementById('windfarmNumber').value,
    'bicycleNumber': document.getElementById('bicycleNumber').value
  };
}

function updateCharts (prefix, value) {
  document.getElementById(prefix + 'Number').value = value;
{'fraction_non_alphanumeric': 0.14807930607187111, 'fraction_numerical': 0.01982651796778191, 'mean_word_length': 5.284046692607004, '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': '6999628', 'n_tokens_mistral': 498, 'n_tokens_neox': 458, 'n_words': 100}