<commit_before>[
  {
    "ename": "Phonetic",
    "cname": "注音",
    "options": {
      "AUTO_COMPOSE": false,
      "KEYGROUPS": {
        "1": "1qaz2wxsedcrfv5tgbyhn",
        "2": "ujm",
        "3": "89kilop-,;/.0"
      }
    },
    "detect": { "A": "ㄇ" }
  },
  {
    "ename": "ChangJei",
    "cname": "倉頡",
    "options": {},
    "detect": { "WIRM": "國" }
  },
  {
    "ename": "SimpleX",
    "cname": "簡易倉頡",
    "options": {
      "max_keystroke": 2,
      "AUTO_FULLUP": true
    },
    "detect": { "AB": "晴" }
  },
  {
    "ename": "Boshiamy",
    "cname": "嘸蝦米",
    "options": {
      "SELKEY_SHIFT": true,
      "SPACE_AUTOUP": true,
      "SPACE_RESET": true
    },
    "detect": { "A": "對" }
  },
  {
    "ename": "Dayi",
    "cname": "大易",
    "options": {
      "SELKEY_SHIFT": true
    },
    "detect": { "A": "人" }
  },
  {
    "ename": "Array30",
    "cname": "行列30",
    "options": {
      "DISABLE_SEL_LIST": "w",
      "KEYSTROKE_REMAP": {
        "T": "的"
      }
    },
    "detect_comment": "AR 40 has / as 貝 instead , AR 26 does not have",
    "detect": { "A": "一", "/": "虫" }
  },
  {
    "ename": "From Table",
    "cname": "由表格指定",
    "from_table": true,
    "options": {}
  },
  {
    "ename": "Auto detect",
    "cname": "自動偵測",
    "default": true,
    "auto_detect": true,
    "options": {}
  }
]<commit_msg>Fix built-in option detection rules.<commit_after>[
  {
    "ename": "Phonetic",
    "cname": "注音",
    "options": {
      "AUTO_COMPOSE": false,
      "KEYGROUPS": {
        "1": "1qaz2wxsedcrfv5tgbyhn",
        "2": "ujm",
        "3": "89kilop-,;/.0"
      }
    },
    "detect": { "a": "ㄇ" }
  },
  {
    "ename": "ChangJei",
    "cname": "倉頡",
    "options": {},
    "detect": { "wirm": "國" }
  },
  {
    "ename": "SimpleX",
    "cname": "簡易倉頡",
    "options": {
      "max_keystroke": 2,
      "AUTO_FULLUP": true
    },
    "detect": { "ab": "晴" }
  },
  {
    "ename": "Boshiamy",
    "cname": "嘸蝦米",
    "options": {
      "SELKEY_SHIFT": true,
      "SPACE_AUTOUP": true,
      "SPACE_RESET": true
    },
    "detect": { "a": "對" }
  },
  {
    "ename": "Dayi",
    "cname": "大易",
    "options": {
      "SELKEY_SHIFT": true
    },
    "detect": { "a": "人" }
  },
  {
    "ename": "Array30",
    "cname": "行列30",
    "options": {
      "DISABLE_SEL_LIST": "w",
      "KEYSTROKE_REMAP": {
        "T": "的"
      }
    },
    "detect_comment": "AR 40 has / as 貝 instead , AR 26 does not have",
    "detect": { "a": "一", "/": "虫" }
  },
  {
    "ename": "From Table",
    "cname": "由表格指定",
    "from_table": true,
    "options": {}
  },
  {
    "ename": "Auto detect",
    "cname": "自動偵測",
    "default": true,
    "auto_detect": true,
    "options": {}
  }
]
{'fraction_non_alphanumeric': 0.24050165990409442, 'fraction_numerical': 0.013279232755440797, 'mean_word_length': 1.9834983498349834, 'pattern_counts': {'":': 110, '<': 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': '1872199', 'n_tokens_mistral': 1225, 'n_tokens_neox': 1210, 'n_words': 216}