<commit_before>import DS from 'ember-data';

export default DS.Model.extend({
  name: DS.attr('string'),
  type: DS.attr('string'),
  value: DS.attr('string'),
  interface: DS.belongsTo('interface'),
  plugin: DS.belongsTo('plugin', {inverse: 'prefs'}),
  group: DS.attr('string'),
  isPassword: function(){
    return this.get('type') === 'password';
  }.property('type'),
  isText: function(){
    return this.get('type') === 'text';
  }.property('type'),
  isBoolean: function(){
    return this.get('type') === 'boolean';<commit_msg>Added inverse for interface on prefs model<commit_after>import DS from 'ember-data';

export default DS.Model.extend({
  name: DS.attr('string'),
  type: DS.attr('string'),
  value: DS.attr('string'),
  interface: DS.belongsTo('interface', {inverse: 'prefs'}),
  plugin: DS.belongsTo('plugin', {inverse: 'prefs'}),
  group: DS.attr('string'),
  isPassword: function(){
    return this.get('type') === 'password';
  }.property('type'),
  isText: function(){
    return this.get('type') === 'text';
  }.property('type'),
  isBoolean: function(){
    return this.get('type') === 'boolean';
{'fraction_non_alphanumeric': 0.21549421193232413, 'fraction_numerical': 0.0, 'mean_word_length': 5.010695187165775, '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': '4003935', 'n_tokens_mistral': 367, 'n_tokens_neox': 359, 'n_words': 83}