<commit_before>/*
 * Moisture simulator
 *
 */
module.exports =  function(sensor_id){
    
    var simulator = {};

    simulator.id = sensor_id;
    simulator.type = 'humidity';
    simulator.unit = 'humidity.%perL';
    
    simulator.getValue = function(){
            return Math.round((60 + 5 * Math.random())*100)/100;
    };
    <commit_msg>Update simulator.type for moisture simulator<commit_after>/*
 * Moisture simulator
 *
 */
module.exports =  function(sensor_id){
    
    var simulator = {};

    simulator.id = sensor_id;
    simulator.type = 'moisture';
    simulator.unit = 'humidity.%perL';
    
    simulator.getValue = function(){
            return Math.round((60 + 5 * Math.random())*100)/100;
    };
    
{'fraction_non_alphanumeric': 0.14718019257221457, 'fraction_numerical': 0.024759284731774415, 'mean_word_length': 2.603960396039604, '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': '3376097', 'n_tokens_mistral': 252, 'n_tokens_neox': 229, 'n_words': 42}