<commit_before>export default (md, level = 1) => {
  const originalHeadingOpen = md.renderer.rules.heading_open

  md.renderer.rules.heading_open = function (...args) {
    const [ tokens, idx, _, env, self ] = args

    if (level < 1 || tokens[idx].tag === `h${level}`) {
      env.title = tokens[idx + 1].children
        .reduce((acc, t) => acc + t.content, '')<commit_msg>Fix destructuring<commit_after>export default (md, level = 1) => {
  const originalHeadingOpen = md.renderer.rules.heading_open

  md.renderer.rules.heading_open = function (...args) {
    const [ tokens, idx, , env, self ] = args

    if (level < 1 || tokens[idx].tag === `h${level}`) {
      env.title = tokens[idx + 1].children
        .reduce((acc, t) => acc + t.content, '')
{'fraction_non_alphanumeric': 0.17748344370860927, 'fraction_numerical': 0.007947019867549669, 'mean_word_length': 3.2, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6146163', 'n_tokens_mistral': 253, 'n_tokens_neox': 246, 'n_words': 59}