<commit_before>import Rx from 'rx';

const boardId = 'LydFpONf';

function trelloSinkDriver ( input$ ) {
  return Rx.Observable.create( ( observer ) => {
    input$.subscribe( () => {
      Trello.get(
        '/boards/' + boardId + '/actions',
        {
          filter: 'createCard,deleteCard,updateCard',
          fields: 'data,date,type'
        },
        observer.onNext.bind( observer ),
        ( err ) => {
          console.log( 'Error when trying to retrieve board actions', err );
        }
      );
    } );
  } );
}

function makeTrelloDriver () {
  Trello.authorize( {
    type: 'popup',
    name: '<NAME>',
    scope: { read: true },
    persist: true,
    expiration: 'never',
    success: () => console.log( 'Connected to Trello.' ),
    error: () => console.log( 'Error on Trello connexion.' )
  } );

  return trelloSinkDriver;
}

export {makeTrelloDriver};<commit_msg>Set higher limit than default one (= 50)<commit_after>import Rx from 'rx';

const boardId = 'LydFpONf';

function trelloSinkDriver ( input$ ) {
  return Rx.Observable.create( ( observer ) => {
    input$.subscribe( () => {
      Trello.get(
        '/boards/' + boardId + '/actions',
        {
          filter: 'createCard,deleteCard,updateCard',
          fields: 'data,date,type',
          limit: 300
        },
        observer.onNext.bind( observer ),
        ( err ) => {
          console.log( 'Error when trying to retrieve board actions', err );
        }
      );
    } );
  } );
}

function makeTrelloDriver () {
  Trello.authorize( {
    type: 'popup',
    name: '<NAME>',
    scope: { read: true },
    persist: true,
    expiration: 'never',
    success: () => console.log( 'Connected to Trello.' ),
    error: () => console.log( 'Error on Trello connexion.' )
  } );

  return trelloSinkDriver;
}

export {makeTrelloDriver};
{'fraction_non_alphanumeric': 0.1567449481157837, 'fraction_numerical': 0.002730748225013654, 'mean_word_length': 2.3925925925925924, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '6137948', 'n_tokens_mistral': 606, 'n_tokens_neox': 590, 'n_words': 133}