<commit_before>import PropTypes from "prop-types";

const TextNode = PropTypes.shape({ text: PropTypes.string });

const nodeShape = {
  name: PropTypes.string.isRequired,
  attributes: PropTypes.object.isRequired
};

nodeShape.children = PropTypes.arrayOf(
  PropTypes.oneOfType([PropTypes.shape(nodeShape), TextNode])
).isRequired;

const Node = PropTypes.shape(nodeShape);

export default Node;<commit_msg>chore: removed textnode proptype<commit_after>import PropTypes from "prop-types";

const nodeShape = {
  name: PropTypes.string.isRequired,
  attributes: PropTypes.object.isRequired
};

nodeShape.children = PropTypes.arrayOf(PropTypes.shape(nodeShape)).isRequired;

const Node = PropTypes.shape(nodeShape);

export default Node;
{'fraction_non_alphanumeric': 0.11397557666214382, 'fraction_numerical': 0.0, 'mean_word_length': 6.38, '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': '1188854', 'n_tokens_mistral': 212, 'n_tokens_neox': 223, 'n_words': 46}