<commit_before>'use strict';

import 'babel-polyfill';
import imageResizer from './lib/imageResizer';

export const handle = (event, context, callback) => {
  console.log('eventObject: %s', JSON.stringify(event, null, 2));

  imageResizer(event)
    .then(data => callback(null, data))
    .catch(err => callback(err));
};<commit_msg>Remove duplicate import.<commit_after>'use strict';

import imageResizer from './lib/imageResizer';

export const handle = (event, context, callback) => {
  console.log('eventObject: %s', JSON.stringify(event, null, 2));

  imageResizer(event)
    .then(data => callback(null, data))
    .catch(err => callback(err));
};
{'fraction_non_alphanumeric': 0.172782874617737, 'fraction_numerical': 0.0030581039755351682, 'mean_word_length': 5.121495327102804, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '840311', 'n_tokens_mistral': 208, 'n_tokens_neox': 202, 'n_words': 50}