<commit_before>/**
 * converts raw data to temperature in SHT1x motes
 * see chapter 4.3 in https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/2_Humidity_Sensors/Sensirion_Humidity_Sensors_SHT1x_Datasheet_V5.pdf
 * 
 */
// prettier-ignore
module.exports = value => {
  const d1 = -39.6
  const d2 = 0.01

  return (value * d2 ) + d1 
}<commit_msg>add commetn<commit_after>/**
 * converts raw data to temperature in SHT1x motes
 * see chapter 4.3 in https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/2_Humidity_Sensors/Sensirion_Humidity_Sensors_SHT1x_Datasheet_V5.pdf
 */
// prettier-ignore
module.exports = value => {
  // d1 and d2 assumes that
  // VDD = 3V and SOt = 12bit
  // if SOt is 14bit then d2 should be 0.04
  const d1 = -39.6
  const d2 = 0.01

  return (value * d2 ) + d1 
}
{'fraction_non_alphanumeric': 0.11137440758293839, 'fraction_numerical': 0.0509478672985782, 'mean_word_length': 3.543010752688172, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '500679', 'n_tokens_mistral': 361, 'n_tokens_neox': 331, 'n_words': 74}