<commit_before>// ==========================================================================
// Project:   xTuple Postbooks - Business Management System Framework        
// Copyright: ©2012 OpenMFG LLC, d/b/a xTuple                             
// ==========================================================================

/*globals XM */

sc_require('xbos/__generated__/_priority');

/**
  @class

  @extends XM._Priority
*/
XM.Priority = XM._Priority.extend(
  /** @scope XM.Priority.prototype */ {

  // .................................................
  // CALCULATED PROPERTIES
  //

  //..................................................
  // METHODS
  //

  //..................................................
  // OBSERVERS
  //

});

<commit_msg>first pass on priority subclass<commit_after>// ==========================================================================
// Project:   xTuple Postbooks - Business Management System Framework        
// Copyright: ©2012 OpenMFG LLC, d/b/a xTuple                             
// ==========================================================================

/*globals XM */

sc_require('xbos/__generated__/_priority');
sc_require('mixins/document');

/**
  @class

  @extends XM._Priority
  @extends XM.Document

*/
XM.Priority = XM._Priority.extend(XM.Document,
  /** @scope XM.Priority.prototype */ {

  // .................................................
  // CALCULATED PROPERTIES
  //

  // see document mixin for object behavior(s)
  documentKey = 'name';

  //..................................................
  // METHODS
  //

  //..................................................
  // OBSERVERS
  //

});

XM.Priority.mixin( /** @scope XM.Priority */ {

// Incident Priority values
/**
  Very High
  
  @static
  @constant
  @type Number
  @default 1
*/
  VERY_HIGH: 1,

/**
  High
  
  @static
  @constant
  @type Number
  @default 2
*/
  HIGH: '2',

/**
  Normal
  
  @static
  @constant
  @type Number
  @default 3
*/
  NORMAL: 3,

/**
  Low
  
  @static
  @constant
  @type Number
  @default 4
*/
  LOW: 4,

/**
  Very Low
  
  @static
  @constant
  @type Number
  @default 5
*/
  VERY_LOW: 5

});

{'fraction_non_alphanumeric': 0.3813910640257946, 'fraction_numerical': 0.008291110087517274, 'mean_word_length': 1.6200241254523522, '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': '6440395', 'n_tokens_mistral': 645, 'n_tokens_neox': 582, 'n_words': 124}