<commit_before>const webshot = require('webshot');
const fs = require('fs');
const path = require('path');

const width = 500;
const height = 250;

const config = {
    errorIfJSException: true,
    screenSize: {
        width: width,
        height: height
    },<commit_msg>chore: better errors when phantom doesn't work<commit_after>const webshot = require('webshot');
const fs = require('fs');
const path = require('path');

const width = 500;
const height = 250;

const config = {
    errorIfJSException: true,
    errorIfStatusIsNot200: true,
    screenSize: {
        width: width,
        height: height
    },
{'fraction_non_alphanumeric': 0.12297734627831715, 'fraction_numerical': 0.024271844660194174, 'mean_word_length': 3.5182481751824817, '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': '5822692', 'n_tokens_mistral': 200, 'n_tokens_neox': 182, 'n_words': 56}