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

export const CONTAINER_CENTS_PER_HOUR = 8;
export const DISK_CENTS_PER_HOUR = .0507;
export const DOMAIN_CENTS_PER_HOUR = 5;
export const PLAN_RATES = {
  development: 0,
  platform: 499,
  pilot: 999,
  production: 3499
};

export const CONTAINER_ALLOWANCES = {
  development: 0,
  platform: 6,
  pilot: 6,
  production: 6
};

export const DISK_ALLOWANCES = {
  development: 0,
  platform: 1000,
  pilot: 1000,
  production: 1000
};

export const DOMAIN_ALLOWANCES = {
  development: 0,
  platform: 4,
  pilot: 4,
  production: 4
};

export default DS.Model.extend({
  plan: DS.attr('string'),
  paymentMethodName: DS.attr('string'),
  paymentMethodDisplay: DS.attr('string'),
  nextInvoiceDate: DS.attr('iso-8601-timestamp'),<commit_msg>Sets plan rate constants in cents for consistency<commit_after>import DS from 'ember-data';
import Ember from 'ember';

export const CONTAINER_CENTS_PER_HOUR = 8;
export const DISK_CENTS_PER_HOUR = .0507;
export const DOMAIN_CENTS_PER_HOUR = 5;

// All monetary calculations are done in cents
export const PLAN_RATES = {
  development: 0,
  platform: 49900,
  pilot: 99900,
  production: 349900
};

export const CONTAINER_ALLOWANCES = {
  development: 0,
  platform: 6,
  pilot: 6,
  production: 6
};

export const DISK_ALLOWANCES = {
  development: 0,
  platform: 1000,
  pilot: 1000,
  production: 1000
};

export const DOMAIN_ALLOWANCES = {
  development: 0,
  platform: 4,
  pilot: 4,
  production: 4
};

export default DS.Model.extend({
  plan: DS.attr('string'),
  paymentMethodName: DS.attr('string'),
  paymentMethodDisplay: DS.attr('string'),
  nextInvoiceDate: DS.attr('iso-8601-timestamp'),
{'fraction_non_alphanumeric': 0.11214953271028037, 'fraction_numerical': 0.052570093457943924, 'mean_word_length': 4.579804560260587, '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': '4123327', 'n_tokens_mistral': 695, 'n_tokens_neox': 606, 'n_words': 163}