<commit_before>/* eslint-disable prefer-arrow-callback, func-names, class-methods-use-this */
import loader from 'graphql-tag/loader';

export default class GraphQLCompiler {
  processFilesForTarget(files) {
    // Fake webpack context
    // @see https://github.com/apollographql/graphql-tag/blob/master/loader.js#L43
    const context = {
      cacheable() {},
    };

    files
    .forEach(file => {
      const path = `${file.getPathInPackage()}.js`;<commit_msg>Make link to webpack context explanation permanent<commit_after>/* eslint-disable prefer-arrow-callback, func-names, class-methods-use-this */
import loader from 'graphql-tag/loader';

export default class GraphQLCompiler {
  processFilesForTarget(files) {
    // Fake webpack context
    // @see https://github.com/apollographql/graphql-tag/blob/57a258713acecde5ebef0c5771a975d6446703c7/loader.js#L43
    const context = {
      cacheable() {},
    };

    files
    .forEach(file => {
      const path = `${file.getPathInPackage()}.js`;
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.028855721393034824, 'mean_word_length': 3.593607305936073, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1005839', 'n_tokens_mistral': 334, 'n_tokens_neox': 319, 'n_words': 59}