<commit_before>import { stringifyJSONForWeb } from "client/lib/utils/json"

export function RelatedArticleQuery(ids) {
  return `
    {
      articles(ids: ${stringifyJSONForWeb(ids)}) {
        description
        id
        media {
          duration
          published
          release_date
        }
        thumbnail_title
        thumbnail_image
        title
        slug
      }
    }
  `
}
<commit_msg>add authors to relatedArticles query<commit_after>import { stringifyJSONForWeb } from "client/lib/utils/json"

export function RelatedArticleQuery(ids) {
  return `
    {
      articles(ids: ${stringifyJSONForWeb(ids)}) {
        authors {
          name
          id
        }
        description
        id
        media {
          duration
          published
          release_date
        }
        thumbnail_title
        thumbnail_image
        title
        slug
      }
    }
  `
}

{'fraction_non_alphanumeric': 0.06850828729281767, 'fraction_numerical': 0.0, 'mean_word_length': 1.5593220338983051, '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': '1772652', 'n_tokens_mistral': 252, 'n_tokens_neox': 247, 'n_words': 47}