<commit_before>{
  "cluster.node_info": {
    "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-info/",
    "methods": ["GET"],
    "url": {
      "path": "/_nodes",
      "paths": ["/_nodes", "/_nodes/{node_id}", "/_nodes/settings", "/_nodes/{node_id}/settings", "/_nodes/os", "/_nodes/{node_id}/os", "/_nodes/process", "/_nodes/{node_id}/process", "/_nodes/jvm", "/_nodes/{node_id}/jvm", "/_nodes/thread_pool", "/_nodes/{node_id}/thread_pool", "/_nodes/network", "/_nodes/{node_id}/network", "/_nodes/transport", "/_nodes/{node_id}/transport", "/_nodes/http", "/_nodes/{node_id}/http", "/_nodes/plugin", "/_nodes/{node_id}/plugin"],
      "parts": {
        "node_id": {
          "type": "list",
          "description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
        },
        "params": {
          "flat_settings": {
            "type": "boolean",
            "description": "Return settings in flat format (default: false)"
          }
        }
      }
    },
    "body": null
  }
}<commit_msg>[SPEC] refactor cluster.node_info json spec to reflect clients' apis<commit_after>{
  "cluster.node_info": {
    "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-info/",
    "methods": ["GET"],
    "url": {
      "path": "/_nodes",
      "paths": ["/_nodes", "/_nodes/{node_id}", "/_nodes/{metric}", "/_nodes/{node_id}/{metric}"],
      "parts": {
        "node_id": {
          "type": "list",
          "description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
        },
        "metric": {
          "type": "list",
          "options": ["settings", "os", "process", "jvm", "thread_pool", "network", "transport", "http", "plugin"],
          "description": "A comma-separated list of metrics you wish returned. Leave empty to return all."
        }
      },
      "params": {
        "flat_settings": {
          "type": "boolean",
          "description": "Return settings in flat format (default: false)"
        }
      }
    },
    "body": null
  }
}
{'fraction_non_alphanumeric': 0.1845365228534814, 'fraction_numerical': 0.0, 'mean_word_length': 2.7896440129449838, 'pattern_counts': {'":': 34, '<': 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': '7137169', 'n_tokens_mistral': 712, 'n_tokens_neox': 696, 'n_words': 181}