<commit_before>import 'package:swassistant/profiles/utils/JsonSavable.dart';

class Skill implements JsonSavable{
  String name;
  int value;
  int base;
  bool career;

  Skill({this.name = "", this.value = 0, this.base = 0, this.career = false});

  Skill.fromJson(Map<String,dynamic> json) :
      name = json["name"],
      value = json["value"],
      base = json["base"],
      career = json["career"];

  Skill.from(Skill skill) :
      name = skill.name,
      value = skill.value,
      base = skill.base,
      career = skill.career;

  Map<String, dynamic> toJson() => {
    "name" : name,
    "value" : value,
    "base" : base,
    "career" : career
  };

  String toString(){
    return name + " " + value.toString() + " based on: " + base.toString() + " is career: " + career.toString();
  }


  static Map<String, String> skillsList = {
    "Astrogation" : "Intellect",
    "Athletics" : "Brawn",
    "Brawl" : "Brawn",
    "Charm" : "Presence",
    "Coercion" : "Willpower",
    "Computers" : "Intellect",
    "Cool" : "Presence",
    "Coordination" : "Agility",
    "Deception" : "Cunning",
    "Discipline" : "Willpower",
    "Gunnery" : "Agility",
    "Leadership" : "Presence",
    "Lightsaber" : "Brawn",
    "Mechanics" : "Intellect",
    "Medicine" : "Intellect",
    "Melee" : "Brawn",
    "Negotiation" : "Presence",
    "Perception" : "Cunning",
    "Piloting (Planetary)" : "Agility",
    "Piloting (Space)" : "Agility",
    "Ranged (Heavy)" : "Agility",
    "Ranged (Light)" : "Agility",
    "Resilience" : "Brawn",
    "Skulduggery" : "Cunning",
    "Stealth" : "Agility",
    "Streetwise" : "Cunning",
    "Survival" : "Cunning",
    "Vigilance" : "Willpower",
    "Knowledge (Core Worlds)" : "Intellect",
    "Knowledge (Education)" : "Intellect",
    "Knowledge (Lore)" : "Intellect",
    "Knowledge (Outer Rim)" : "Intellect",
    "Knowledge (Underworld)" : "Intellect",
    "Knowledge (Xenology)" : "intellect",
  };
}<commit_msg>Updated Skill list to use proper values<commit_after>import 'package:swassistant/profiles/utils/JsonSavable.dart';

class Skill implements JsonSavable{
  String name;
  int value;
  int base;
  bool career;

  Skill({this.name = "", this.value = 0, this.base = 0, this.career = false});

  Skill.fromJson(Map<String,dynamic> json) :
      name = json["name"],
      value = json["value"],
      base = json["base"],
      career = json["career"];

  Skill.from(Skill skill) :
      name = skill.name,
      value = skill.value,
      base = skill.base,
      career = skill.career;

  Map<String, dynamic> toJson() => {
    "name" : name,
    "value" : value,
    "base" : base,
    "career" : career
  };

  String toString(){
    return name + " " + value.toString() + " based on: " + base.toString() + " is career: " + career.toString();
  }

  //0-Brawn,1-Agility,2-Intellect,3-Cunning,4-Willpower,5-Presence
  static Map<String, int> skillsList = {
    "Astrogation" : 2,
    "Athletics" : 0,
    "Brawl" : 0,
    "Charm" : 5,
    "Coercion" : 4,
    "Computers" : 2,
    "Cool" : 5,
    "Coordination" : 1,
    "Deception" : 3,
    "Discipline" : 4,
    "Gunnery" : 1,
    "Leadership" : 5,
    "Lightsaber" : 0,
    "Mechanics" : 2,
    "Medicine" : 2,
    "Melee" : 0,
    "Negotiation" : 5,
    "Perception" : 3,
    "Piloting (Planetary)" : 1,
    "Piloting (Space)" : 1,
    "Ranged (Heavy)" : 1,
    "Ranged (Light)" : 1,
    "Resilience" : 0,
    "Skulduggery" : 3,
    "Stealth" : 1,
    "Streetwise" : 3,
    "Survival" : 3,
    "Vigilance" : 4,
    "Knowledge (Core Worlds)" : 2,
    "Knowledge (Education)" : 2,
    "Knowledge (Lore)" : 2,
    "Knowledge (Outer Rim)" : 2,
    "Knowledge (Underworld)" : 2,
    "Knowledge (Xenology)" : 2,
  };
}
{'fraction_non_alphanumeric': 0.18164743761738664, 'fraction_numerical': 0.011805741883552455, 'mean_word_length': 2.8632124352331605, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '6498333', 'n_tokens_mistral': 1493, 'n_tokens_neox': 1402, 'n_words': 301}