<commit_before>const si = require('systeminformation');

const CPUTemperatureSensor = (callback) => {
  const update = () => si.cpuTemperature(value => {
    console.log(value);
    console.log(value / 1000);
    callback(value / 1000)
  });

  update();
  setInterval(() => update(), 60 * 1000);
};

module.exports = CPUTemperatureSensor;<commit_msg>Fix cpu thermometer<commit_after>const si = require('systeminformation');

const CPUTemperatureSensor = (callback) => {
  const update = () => {
    si.cpuTemperature(result => {
      callback(result.main);
    });
  };

  update();
  setInterval(() => update(), 60 * 1000);
};

module.exports = CPUTemperatureSensor;
{'fraction_non_alphanumeric': 0.16890881913303438, 'fraction_numerical': 0.029895366218236172, 'mean_word_length': 4.234375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '7299295', 'n_tokens_mistral': 220, 'n_tokens_neox': 204, 'n_words': 39}