<commit_before>/**
 * @file This file currently works on mock data, just to make sure that the
 * chart works.
 */
// @ts-check
// eslint-disable-next-line max-len
/** @typedef {import('./analysis/gdpr.js').CollatedGDPRRecords} CollatedGDPRRecords */

import {getStreamingData, collateStreamingData} from './analysis/gdpr.js';

const {google, zip} = window;

zip.workerScriptsPath = '/js/zip/';

google.charts.load('current', {'packages': ['line']});

/**
 * Populates `chart` with historical track data derived from `collatedRecords`.
 *<commit_msg>Fix import<commit_after>/**
 * @file This file currently works on mock data, just to make sure that the
 * chart works.
 */
// @ts-check
// eslint-disable-next-line max-len
/** @typedef {import('./analysis/gdpr.js').CollatedGDPRRecords} CollatedGDPRRecords */

import {getStreamingData, collateStreamingData} from './analysis/gdpr.js';
import {createChart} from './chart/index.js';

const {zip} = window;
zip.workerScriptsPath = '/js/zip/';

/**
 * Populates `chart` with historical track data derived from `collatedRecords`.
 *
{'fraction_non_alphanumeric': 0.15862708719851576, 'fraction_numerical': 0.0, 'mean_word_length': 4.44949494949495, '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': '4118338', 'n_tokens_mistral': 339, 'n_tokens_neox': 333, 'n_words': 93}