<commit_before>/*!
 * flow.js v0.0.13
 * https://github.com/minodisk/flow-js
 * Author: <NAME>
 * Licensed under the MIT license.
 * https://github.com/minodisk/flow-js/raw/master/LICENSE
 */
(function () {
  function Flow(type, actors) {
    switch (type) {
      case 'serial':
        this._serial(actors);
        break;
      case 'parallel':
        this._parallel(actors);
        break;
      case 'repeat':
        this._repeat(actors[0], actors[1]);
        break;
      default:
        throw new Error(type + 'is not implemented.');
        break;
    }
  }


  Flow.serial = function (/*...actors*/) {
    return Flow.serialActors(Array.prototype.slice.call(arguments));
  };

  Flow.serialActors = function (actors) {
    return new Flow('serial', actors);<commit_msg>* bug fix - repeat() factory * bug fix - stop() of deep nested flow * bug fix - reset() of deep nested flow<commit_after>/*!
 * flow.js v0.0.14
 * https://github.com/minodisk/flow-js
 * Author: <NAME>
 * Licensed under the MIT license.
 * https://github.com/minodisk/flow-js/raw/master/LICENSE
 */
(function () {
  function Flow(type, actors) {
    switch (type) {
      case 'serial':
        this._serial(actors);
        break;
      case 'parallel':
        this._parallel(actors);
        break;
      case 'repeat':
        this._repeat(actors[0], actors[1]);
        break;
      default:
        throw new Error(type + 'is not implemented.');
        break;
    }
  }


  Flow.serial = function (/*...actors*/) {
    return Flow.serialActors(Array.prototype.slice.call(arguments));
  };

  Flow.serialActors = function (actors) {
    return new Flow('serial', actors);
{'fraction_non_alphanumeric': 0.15440289505428226, 'fraction_numerical': 0.007237635705669481, 'mean_word_length': 2.449064449064449, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '7406425', 'n_tokens_mistral': 527, 'n_tokens_neox': 510, 'n_words': 119}