<commit_before>/**
 * Created by austin on 9/24/14.
 */

var streams = function (client) {
  this.client = client;
};

var _qsAllowedProps = [
        'resolution'
        , 'series_type'
    ];

//===== streams endpoint =====
streams.prototype.activity = function(args,done) {

    var endpoint = 'activities';
    this._typeHelper(endpoint,args,done);
};

streams.prototype.effort = function(args,done) {

    var endpoint = 'segment_efforts';
    this._typeHelper(endpoint,args,done);
};

streams.prototype.segment = function(args,done) {

    var endpoint = 'segments';
    this._typeHelper(endpoint,args,done);
};

streams.prototype.route = function(args,done) {

    var endpoint = 'routes';
    this._typeHelper(endpoint,args,done);
};
//===== streams endpoint =====
<commit_msg>Return value for client.stream.* calls<commit_after>/**
 * Created by austin on 9/24/14.
 */

var streams = function (client) {
  this.client = client;
};

var _qsAllowedProps = [
        'resolution'
        , 'series_type'
    ];

//===== streams endpoint =====
streams.prototype.activity = function(args,done) {

    var endpoint = 'activities';
    return this._typeHelper(endpoint,args,done);
};

streams.prototype.effort = function(args,done) {

    var endpoint = 'segment_efforts';
    return this._typeHelper(endpoint,args,done);
};

streams.prototype.segment = function(args,done) {

    var endpoint = 'segments';
    return this._typeHelper(endpoint,args,done);
};

streams.prototype.route = function(args,done) {

    var endpoint = 'routes';
    return this._typeHelper(endpoint,args,done);
};
//===== streams endpoint =====

{'fraction_non_alphanumeric': 0.16184615384615383, 'fraction_numerical': 0.006153846153846154, 'mean_word_length': 3.8537313432835822, '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': '7007344', 'n_tokens_mistral': 526, 'n_tokens_neox': 507, 'n_words': 96}