<commit_before>---
cli:
  bootstrap: vendor/autoload.php
schema:
  auto_id: true
  base_model: \Maghead\Runtime\BaseModel
  base_collection: \Maghead\Runtime\BaseCollection
  paths:
  - tests
instance:
  local:
    dsn: 'mysql:host=localhost'
    user: root
sharding:
  mappings:
    M_store_id:
      tables:
      - orders
      key: store_id
      shards:
      - s1
      - s2
      chunks:
        c1:
          shard: s1
        c2:
          shard: s2
      hash:
        target1: c1
        target2: c2
  shards:
    s1:
      write:
        node1:
          weight: 0.100000
      read:
        node1:
          weight: 0.100000
    s2:
      write:
        node2:
          weight: 0.100000
      read:
        node2:
          weight: 0.100000
data_source:
  master: node_master
  nodes:
    node_master:
      dsn: sqlite:node_master.sqlite
      query_options:
        quote_table: true
      driver: sqlite
      connection_options: []
      user: ~
      password: ~
    node1:
      dsn: sqlite:node1.sqlite
      query_options:
        quote_table: true
      driver: sqlite
      connection_options: []
      user: ~
      password: ~
    node2:
      dsn: sqlite:node2.sqlite
      query_options:
        quote_table: true
      driver: sqlite
      connection_options: []
      user: ~
      password: ~
<commit_msg>Update instance config<commit_after>---
cli:
  bootstrap: vendor/autoload.php
schema:
  auto_id: true
  base_model: \Maghead\Runtime\BaseModel
  base_collection: \Maghead\Runtime\BaseCollection
  paths:
  - tests
instance:
  local:
    dsn: 'mysql:host=localhost'
    driver: mysql
    host: localhost
    user: root
sharding:
  mappings:
    M_store_id:
      tables:
      - orders
      key: store_id
      shards:
      - s1
      - s2
      chunks:
        c1:
          shard: s1
        c2:
          shard: s2
      hash:
        target1: c1
        target2: c2
  shards:
    s1:
      write:
        node1:
          weight: 0.100000
      read:
        node1:
          weight: 0.100000
    s2:
      write:
        node2:
          weight: 0.100000
      read:
        node2:
          weight: 0.100000
data_source:
  master: node_master
  nodes:
    node_master:
      dsn: sqlite:node_master.sqlite
      query_options:
        quote_table: true
      driver: sqlite
      connection_options: []
      user: ~
      password: ~
    node1:
      dsn: sqlite:node1.sqlite
      query_options:
        quote_table: true
      driver: sqlite
      connection_options: []
      user: ~
      password: ~
    node2:
      dsn: sqlite:node2.sqlite
      query_options:
        quote_table: true
      driver: sqlite
      connection_options: []
      user: ~
      password: ~

{'fraction_non_alphanumeric': 0.08238322912835601, 'fraction_numerical': 0.035307098197866864, 'mean_word_length': 1.6078619367209972, 'pattern_counts': {'":': 0, '<': 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': '6122614', 'n_tokens_mistral': 956, 'n_tokens_neox': 894, 'n_words': 200}