<commit_before>port: 9090
adapter:
  - id: goagentx
    type: HTTP
    host: 127.0.0.1
    port: 8016
  - id: speed
    type: SPEED
    adapter:
      - goagentx
      - direct
rule:
  - type: country
    country: CN
    match: true
    adapter: direct
  - type: all
    adapter: speed<commit_msg>Update demo config for list rule<commit_after>port: 9090
adapter:
  - id: goagentx
    type: HTTP
    host: 127.0.0.1
    port: 8016
  - id: speed
    type: SPEED
    adapter:
      - goagentx
      - direct
rule:
  - type: country
    country: CN
    match: true
    adapter: direct
  - type: list
    file: ~/.NEKitDemo/direct
    adapter: direct
  - type: all
    adapter: speed
{'fraction_non_alphanumeric': 0.0943952802359882, 'fraction_numerical': 0.04129793510324484, 'mean_word_length': 1.965065502183406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2202728', 'n_tokens_mistral': 261, 'n_tokens_neox': 239, 'n_words': 72}