<commit_before>#include "geographic-settings.hh"

// ----------------------------------------------------------------------

static const char* const SETTINGS_DEFAULT = R"({ "_":"-*- js-indent-level: 2 -*-",
  "coloring": "clade",
  "coloring?": ["continent", "clade", "lineage", "lineage-deletion-mutants"],
  "color_override?": {"B": {"?": "B/Vic deletion mutants", "?B/DOMINICAN REPUBLIC/9932/2016": "#00FFFF"}},
  "start_date": "2017-01-01",
  "end_date": "",
  "point_size_in_pixels": 4.0,
  "point_density": 0.8,
  "continent_outline_color": "grey63",
  "continent_outline_width": 0.5,
  "output_image_width": 800,

  "title_text": "",
  "title": {"offset": [0, 0], "text_size": 20, "background": "transparent", "border_color": "black", "border_width": 0, "text_color": "black", "padding": 10.0},

  "continent_color": {
    "EUROPE":            {"fill": "green",       "outline": "black", "outline_width": 0},
    "CENTRAL-AMERICA":   {"fill": "#AAF9FF",     "outline": "black", "outline_width": 0},
    "MIDDLE-EAST":       {"fill": "#8000FF",     "outline": "black", "outline_width": 0},
    "NORTH-AMERICA":     {"fill": "blue4",       "outline": "black", "outline_width": 0},
    "AFRICA":            {"fill": "darkorange1", "outline": "black", "outline_width": 0},
    "ASIA":              {"fill": "red",         "outline": "black", "outline_width": 0},
    "RUSSIA":            {"fill": "maroon",      "outline": "black", "outline_width": 0},
    "AUSTRALIA-OCEANIA": {"fill": "hotpink",     "outline": "black", "outline_width": 0},
    "SOUTH-AMERICA":     {"fill": "turquoise",   "outline": "black", "outline_width": 0},
    "ANTARCTICA":        {"fill": "grey50",      "outline": "black", "outline_width": 0},
    "UNKNOWN":           {"fill": "grey50",      "outline": "black", "outline_width": 0},
    "":                  {"fill": "grey50",      "outline": "black", "outline_width": 0}
  },

  "clade_color": {
    "?": "========== sequenced but not in any clade",
    "":              {"fill": "grey50",          "outline": "black", "outline_width": 0},

    "?": "========== H3",
    "3C3":           {"fill": "cornflowerblue",  "outline": "black", "outline_width": 0},
    "3C2a":          {"fill": "red",             "outline": "black", "outline_width": 0},
    "3C2a1":         {"fill": "darkred",         "outline": "black", "outline_width": 0},
    "3C3a":          {"fill": "green",           "outline": "black", "outline_width": 0},
    "3C3b":          {"fill": "blue",            "outline": "black", "outline_width": 0},

    "?": "========== H1pdm",<commit_msg>H3 clade names are uppercase<commit_after>#include "geographic-settings.hh"

// ----------------------------------------------------------------------

static const char* const SETTINGS_DEFAULT = R"({ "_":"-*- js-indent-level: 2 -*-",
  "coloring": "clade",
  "coloring?": ["continent", "clade", "lineage", "lineage-deletion-mutants"],
  "color_override?": {"B": {"?": "B/Vic deletion mutants", "?B/DOMINICAN REPUBLIC/9932/2016": "#00FFFF"}},
  "start_date": "2017-01-01",
  "end_date": "",
  "point_size_in_pixels": 4.0,
  "point_density": 0.8,
  "continent_outline_color": "grey63",
  "continent_outline_width": 0.5,
  "output_image_width": 800,

  "title_text": "",
  "title": {"offset": [0, 0], "text_size": 20, "background": "transparent", "border_color": "black", "border_width": 0, "text_color": "black", "padding": 10.0},

  "continent_color": {
    "EUROPE":            {"fill": "green",       "outline": "black", "outline_width": 0},
    "CENTRAL-AMERICA":   {"fill": "#AAF9FF",     "outline": "black", "outline_width": 0},
    "MIDDLE-EAST":       {"fill": "#8000FF",     "outline": "black", "outline_width": 0},
    "NORTH-AMERICA":     {"fill": "blue4",       "outline": "black", "outline_width": 0},
    "AFRICA":            {"fill": "darkorange1", "outline": "black", "outline_width": 0},
    "ASIA":              {"fill": "red",         "outline": "black", "outline_width": 0},
    "RUSSIA":            {"fill": "maroon",      "outline": "black", "outline_width": 0},
    "AUSTRALIA-OCEANIA": {"fill": "hotpink",     "outline": "black", "outline_width": 0},
    "SOUTH-AMERICA":     {"fill": "turquoise",   "outline": "black", "outline_width": 0},
    "ANTARCTICA":        {"fill": "grey50",      "outline": "black", "outline_width": 0},
    "UNKNOWN":           {"fill": "grey50",      "outline": "black", "outline_width": 0},
    "":                  {"fill": "grey50",      "outline": "black", "outline_width": 0}
  },

  "clade_color": {
    "?": "========== sequenced but not in any clade",
    "":              {"fill": "grey50",          "outline": "black", "outline_width": 0},

    "?": "========== H3",
    "3C3":           {"fill": "cornflowerblue",  "outline": "black", "outline_width": 0},
    "3C2A":          {"fill": "red",             "outline": "black", "outline_width": 0},
    "3C2A1":         {"fill": "darkred",         "outline": "black", "outline_width": 0},
    "3C3A":          {"fill": "green",           "outline": "black", "outline_width": 0},
    "3C3B":          {"fill": "blue",            "outline": "black", "outline_width": 0},

    "?": "========== H1pdm",
{'fraction_non_alphanumeric': 0.26494904825995, 'fraction_numerical': 0.032493751201691984, 'mean_word_length': 2.7887836853605243, 'pattern_counts': {'":': 200, '<': 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': '4118318', 'n_tokens_mistral': 2016, 'n_tokens_neox': 1842, 'n_words': 381}