<commit_before>module.exports = {

  attributes: {

    name: {
      type: 'string',
      required: true
    },

    ip_addr: {
      type: 'string',
      regex: /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/
    },

    owner: {
      model: 'user'
    }

  }

};

<commit_msg>adding more properties to device model<commit_after>module.exports = {

  attributes: {

    name: {
      type: 'string',
      required: true
    },

    hostname: {
      type: 'string'
    },

    status: {
      type: 'boolean'
    },

    ip_addr: {
      type: 'string',
      regex: /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/
    },

    owner: {
      model: 'user'
    }

  }

};


{'fraction_non_alphanumeric': 0.20481927710843373, 'fraction_numerical': 0.024096385542168676, 'mean_word_length': 1.5775193798449612, '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': '7419883', 'n_tokens_mistral': 279, 'n_tokens_neox': 263, 'n_words': 41}