<commit_before>export const Constance = {
  // TODO store these on server?
  KILL_CHAIN_PHASES: [
    'persistence',
    'privilege-escalation',
    'defense-evasion',
    'credential-access',
    'discovery',
    'lateral-movement',
    'execution',
    'collection',
    'exfiltration',
    'command-and-control'
  ],

  DATE_FORMATE: 'MMM-DD-YYYY',
  REPORTS_URL: 'api/reports',
  REPORTS_TYPE: 'report',
  REPORTS_ICON: 'assets/icon/stix-icons/svg/report-b.svg',

  CAMPAIGN_URL: 'api/campaigns',
  CAMPAIGN_TYPE: 'campaign',
  CAMPAIGN_ICON: 'assets/icon/stix-icons/svg/campaign-b.svg',

  COURSE_OF_ACTION_URL: 'api/course-of-actions',
  COURSE_OF_ACTION_TYPE: 'course-of-action',
  COURSE_OF_ACTION_ICON: 'assets/icon/stix-icons/svg/course-of-action-b.svg',

  RELATIONSHIPS_URL: 'api/relationships',
  RELATIONSHIPS_ICON: 'assets/icon/stix-icons/svg/relationship-b.svg',
  RELATIONSHIPS_TYPE: 'Relationships',
  RELATIONSHIPS_TYPES: {
    MITIGATES: 'mitigates',
    INDICATES: 'indicates'
  },

  IDENTITIES_URL: 'api/identities',

  INDICATOR_URL: 'api/indicators',
  INDICATOR_TYPE: 'indicator',
  INDICATOR_ICON: 'assets/icon/stix-icons/svg/indicator-b.svg',

  ATTACK_PATTERN_URL: 'api/attack-patterns',
  ATTACK_PATTERN_TYPE: 'attack-pattern',
  ATTACK_PATTERN_ICON: 'assets/icon/stix-icons/svg/attack-pattern-b.svg',

  THREAT_ACTORS_URL: 'api/threat-actors',
  THREAT_ACTORS_TYPE: 'threat-actor',
  THREAT_ACTORS_ICON: 'assets/icon/stix-icons/svg/attack-pattern-b.svg',

  IDENTITY_URL: 'api/identities',
  IDENTITY_TYPE: 'identity',
  IDENTITY_ICON: 'assets/icon/stix-icons/svg/attack-pattern-b.svg',

  INTRUSION_SET_URL: 'api/intrusion-sets',
  INTRUSION_SET_TYPE: 'intrusion-set',
  INTRUSION_SET_ICON: 'assets/icon/stix-icons/svg/threat-actor-b.svg',

  SIGHTING_URL: 'api/sightings',
  SIGHTING_TYPE: 'sighting',
  SIGHTING_ICON: 'assets/icon/stix-icons/svg/campaign-b.svg',

  MALWARE_URL: 'api/malwares',
  MALWARE_TYPE: 'malware',
  MALWARE_ICON: 'assets/icon/stix-icons/svg/malware-b.svg',

  MULTIPLES_URL: 'api/multiples',

  OBSERVED_DATA_URL: 'api/observed-data',
  OBSERVED_DATA_TYPE: 'observed-data',
  OBSERVED_DATA_ICON: 'assets/icon/stix-icons/svg/malware-b.svg',
  TOOL_URL: 'api/tools',
  TOOL_TYPE: 'tool',
  TOOL_ICON: 'assets/icon/stix-icons/svg/tool-b.svg',

  X_UNFETTER_SENSOR_URL: 'api/x-unfetter-sensors',
  X_UNFETTER_SENSOR_TYPE: 'x-unfetter-sensor',
  // TODO change icon
  X_UNFETTER_SENSOR_ICON: 'assets/icon/stix-icons/svg/tool-b.svg',

  X_UNFETTER_ASSESSMENT_URL: 'api/x-unfetter-assessments',
  X_UNFETTER_ASSESSMENT_TYPE: 'x-unfetter-assessment',
  // TODO change icon
  X_UNFETTER_ASSESSMENT_ICON: 'assets/icon/stix-icons/svg/report-b.svg',

  // API_HOST: process.env.HOST ? `https://${process.env.HOST}:${process.env.PORT}/` : '',
  API_HOST: '',

  COLORS: {
    green: '#4CAF50',
    darkGreen: '#2E7D32',
    red: '#F44336',
    darkRed: '#C62828',
    yellow: '#FFEB3B',
    darkYellow: '#F9A825',
    greenHsl: {
      h: 122,
      s: 39,
      l: 49
    },
    redHsl: {
      h: 4,
      s: 90,
      l: 58
    },
    yellowHsl: {
      h: 54,
      s: 100,
      l: 62
    }
  },

  MAT_GRAPH_COLORS: [
    'blue',
    'orange',
    'lightgreen',
    'pink',
    'deeppurple',
    'brown',
    'indigo',
    'bluegrey',
    'lime',
    'lightblue'
  ],

  MAT_COLORS: {
    red: {
      50: '#ffebee',
      100: '#ffcdd2',
      200: '#ef9a9a',
      300: '#e57373',
      400: '#ef5350',
      500: '#f44336',
      600: '#e53935',
      700: '#d32f2f',
      800: '#c62828',
      900: '#b71c1c',
      a100: '#ff8a80',
      a200: '#ff5252',<commit_msg>fixed graph color scheme<commit_after>export const Constance = {
  // TODO store these on server?
  KILL_CHAIN_PHASES: [
    'persistence',
    'privilege-escalation',
    'defense-evasion',
    'credential-access',
    'discovery',
    'lateral-movement',
    'execution',
    'collection',
    'exfiltration',
    'command-and-control'
  ],

  DATE_FORMATE: 'MMM-DD-YYYY',
  REPORTS_URL: 'api/reports',
  REPORTS_TYPE: 'report',
  REPORTS_ICON: 'assets/icon/stix-icons/svg/report-b.svg',

  CAMPAIGN_URL: 'api/campaigns',
  CAMPAIGN_TYPE: 'campaign',
  CAMPAIGN_ICON: 'assets/icon/stix-icons/svg/campaign-b.svg',

  COURSE_OF_ACTION_URL: 'api/course-of-actions',
  COURSE_OF_ACTION_TYPE: 'course-of-action',
  COURSE_OF_ACTION_ICON: 'assets/icon/stix-icons/svg/course-of-action-b.svg',

  RELATIONSHIPS_URL: 'api/relationships',
  RELATIONSHIPS_ICON: 'assets/icon/stix-icons/svg/relationship-b.svg',
  RELATIONSHIPS_TYPE: 'Relationships',
  RELATIONSHIPS_TYPES: {
    MITIGATES: 'mitigates',
    INDICATES: 'indicates'
  },

  IDENTITIES_URL: 'api/identities',

  INDICATOR_URL: 'api/indicators',
  INDICATOR_TYPE: 'indicator',
  INDICATOR_ICON: 'assets/icon/stix-icons/svg/indicator-b.svg',

  ATTACK_PATTERN_URL: 'api/attack-patterns',
  ATTACK_PATTERN_TYPE: 'attack-pattern',
  ATTACK_PATTERN_ICON: 'assets/icon/stix-icons/svg/attack-pattern-b.svg',

  THREAT_ACTORS_URL: 'api/threat-actors',
  THREAT_ACTORS_TYPE: 'threat-actor',
  THREAT_ACTORS_ICON: 'assets/icon/stix-icons/svg/attack-pattern-b.svg',

  IDENTITY_URL: 'api/identities',
  IDENTITY_TYPE: 'identity',
  IDENTITY_ICON: 'assets/icon/stix-icons/svg/attack-pattern-b.svg',

  INTRUSION_SET_URL: 'api/intrusion-sets',
  INTRUSION_SET_TYPE: 'intrusion-set',
  INTRUSION_SET_ICON: 'assets/icon/stix-icons/svg/threat-actor-b.svg',

  SIGHTING_URL: 'api/sightings',
  SIGHTING_TYPE: 'sighting',
  SIGHTING_ICON: 'assets/icon/stix-icons/svg/campaign-b.svg',

  MALWARE_URL: 'api/malwares',
  MALWARE_TYPE: 'malware',
  MALWARE_ICON: 'assets/icon/stix-icons/svg/malware-b.svg',

  MULTIPLES_URL: 'api/multiples',

  OBSERVED_DATA_URL: 'api/observed-data',
  OBSERVED_DATA_TYPE: 'observed-data',
  OBSERVED_DATA_ICON: 'assets/icon/stix-icons/svg/malware-b.svg',
  TOOL_URL: 'api/tools',
  TOOL_TYPE: 'tool',
  TOOL_ICON: 'assets/icon/stix-icons/svg/tool-b.svg',

  X_UNFETTER_SENSOR_URL: 'api/x-unfetter-sensors',
  X_UNFETTER_SENSOR_TYPE: 'x-unfetter-sensor',
  // TODO change icon
  X_UNFETTER_SENSOR_ICON: 'assets/icon/stix-icons/svg/tool-b.svg',

  X_UNFETTER_ASSESSMENT_URL: 'api/x-unfetter-assessments',
  X_UNFETTER_ASSESSMENT_TYPE: 'x-unfetter-assessment',
  // TODO change icon
  X_UNFETTER_ASSESSMENT_ICON: 'assets/icon/stix-icons/svg/report-b.svg',

  // API_HOST: process.env.HOST ? `https://${process.env.HOST}:${process.env.PORT}/` : '',
  API_HOST: '',

  COLORS: {
    green: '#4CAF50',
    darkGreen: '#2E7D32',
    red: '#F44336',
    darkRed: '#C62828',
    yellow: '#FFEB3B',
    darkYellow: '#F9A825',
    greenHsl: {
      h: 122,
      s: 39,
      l: 49
    },
    redHsl: {
      h: 4,
      s: 90,
      l: 58
    },
    yellowHsl: {
      h: 54,
      s: 100,
      l: 62
    }
  },

  MAT_GRAPH_COLORS: [
    'blue',
    'orange',
    'pink',
    'deeppurple',
    'brown',
    'indigo',
    'bluegrey',
    'lime',
    'lightblue',
    'lightgreen',
  ],

  MAT_COLORS: {
    red: {
      50: '#ffebee',
      100: '#ffcdd2',
      200: '#ef9a9a',
      300: '#e57373',
      400: '#ef5350',
      500: '#f44336',
      600: '#e53935',
      700: '#d32f2f',
      800: '#c62828',
      900: '#b71c1c',
      a100: '#ff8a80',
      a200: '#ff5252',
{'fraction_non_alphanumeric': 0.16322314049586778, 'fraction_numerical': 0.031955922865013774, 'mean_word_length': 3.4765721331689274, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3071410', 'n_tokens_mistral': 3374, 'n_tokens_neox': 3041, 'n_words': 404}