<commit_before>/*
 * Lineair regression curve
 */
var log = require('../../core/log');

var Indicator = function(settings) {
  this.depth = settings;
  this.result = false;
  this.age = 0;
  this.history = [];
  this.x = new [];
  /*
   * Do not use array(depth) as it might not be implemented
   */
  for (var i = 0; i < this.depth; i++) {
      this.history.push(0.0);
      this.x.push(i);
  }

  // log.debug("Created LRC indicator with h: ", this.depth);
}

Indicator.prototype.update = function(price) {
  <commit_msg>remove new keyword in LRC indicator<commit_after>/*
 * Lineair regression curve
 */
var log = require('../../core/log');

var Indicator = function(settings) {
  this.depth = settings;
  this.result = false;
  this.age = 0;
  this.history = [];
  this.x = [];
  /*
   * Do not use array(depth) as it might not be implemented
   */
  for (var i = 0; i < this.depth; i++) {
      this.history.push(0.0);
      this.x.push(i);
  }

  // log.debug("Created LRC indicator with h: ", this.depth);
}

Indicator.prototype.update = function(price) {
  
{'fraction_non_alphanumeric': 0.17073170731707318, 'fraction_numerical': 0.0075046904315197, 'mean_word_length': 2.7177700348432055, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4118893', 'n_tokens_mistral': 372, 'n_tokens_neox': 365, 'n_words': 96}