<commit_before>/*
/$$$$$$                                                          /$$$$$$$              /$$
/$$__  $$                                                        | $$__  $$            | $$
| $$  \__/  /$$$$$$  /$$$$$$$   /$$$$$$$  /$$$$$$   /$$$$$$       | $$  \ $$  /$$$$$$  /$$$$$$    /$$$$$$
|  $$$$$$  /$$__  $$| $$__  $$ /$$_____/ /$$__  $$ /$$__  $$      | $$  | $$ |____  $$|_  $$_/   |____  $$
\____  $$| $$$$$$$$| $$  \ $$|  $$$$$$ | $$  \ $$| $$  \__/      | $$  | $$  /$$$$$$$  | $$      /$$$$$$$
/$$  \ $$| $$_____/| $$  | $$ \____  $$| $$  | $$| $$            | $$  | $$ /$$__  $$  | $$ /$$ /$$__  $$
|  $$$$$$/|  $$$$$$$| $$  | $$ /$$$$$$$/|  $$$$$$/| $$            | $$$$$$$/|  $$$$$$$  |  $$$$/|  $$$$$$$
\______/  \_______/|__/  |__/|_______/  \______/ |__/            |_______/  \_______/   \___/   \_______/

*/

var mongoose = require('mongoose')
, Schema = mongoose.Schema
, ObjectId = Schema.ObjectId


var SensorDataSchema = new Schema ({
    "title" : String,
    "description" : String,
    "nodeId" : Number,
    "sensorType": [String],
    "data": {
        "measurement": [{"key":"value"}]
    }<commit_msg>set measurements to : String:String for key:value pairs<commit_after>/*
/$$$$$$                                                          /$$$$$$$              /$$
/$$__  $$                                                        | $$__  $$            | $$
| $$  \__/  /$$$$$$  /$$$$$$$   /$$$$$$$  /$$$$$$   /$$$$$$       | $$  \ $$  /$$$$$$  /$$$$$$    /$$$$$$
|  $$$$$$  /$$__  $$| $$__  $$ /$$_____/ /$$__  $$ /$$__  $$      | $$  | $$ |____  $$|_  $$_/   |____  $$
\____  $$| $$$$$$$$| $$  \ $$|  $$$$$$ | $$  \ $$| $$  \__/      | $$  | $$  /$$$$$$$  | $$      /$$$$$$$
/$$  \ $$| $$_____/| $$  | $$ \____  $$| $$  | $$| $$            | $$  | $$ /$$__  $$  | $$ /$$ /$$__  $$
|  $$$$$$/|  $$$$$$$| $$  | $$ /$$$$$$$/|  $$$$$$/| $$            | $$$$$$$/|  $$$$$$$  |  $$$$/|  $$$$$$$
\______/  \_______/|__/  |__/|_______/  \______/ |__/            |_______/  \_______/   \___/   \_______/

*/

var mongoose = require('mongoose')
, Schema = mongoose.Schema
, ObjectId = Schema.ObjectId


var SensorDataSchema = new Schema ({
    "title" : String,
    "description" : String,
    "nodeId" : Number,
    "sensorType": [String],
    "data": {
        "measurement": [{String:String}]
    }
{'fraction_non_alphanumeric': 0.3497431506849315, 'fraction_numerical': 0.0, 'mean_word_length': 1.3323353293413174, 'pattern_counts': {'":': 7, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 10, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1417233', 'n_tokens_mistral': 906, 'n_tokens_neox': 898, 'n_words': 52}