<commit_before>import React from 'react';
import Instatype from 'instatype';
import Grid from 'react-simple-grid';
import Unsplash from 'unsplash-js';
import { throttle } from 'lodash';

const unsplash = new Unsplash({ applicationId: '<KEY>' });

class App extends React.Component {

  constructor(props){
    super(props);

    this.state = {<commit_msg>Just import throttle from lodash (apparently destructuring imports the full library)<commit_after>import React from 'react';
import Instatype from 'instatype';
import Grid from 'react-simple-grid';
import Unsplash from 'unsplash-js';
import throttle from 'lodash/throttle';

const unsplash = new Unsplash({ applicationId: '<KEY>' });

class App extends React.Component {

  constructor(props){
    super(props);

    this.state = {
{'fraction_non_alphanumeric': 0.11577608142493638, 'fraction_numerical': 0.0, 'mean_word_length': 5.246031746031746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6932019', 'n_tokens_mistral': 238, 'n_tokens_neox': 224, 'n_words': 76}