<commit_before>var http = require('http');
var path = require('path');
var url = require('url');

var Proxy = module.exports = function(serviceRegistryClient, routerClient, versionClient) {
  var self = this;
  this._serviceRegistryClient = serviceRegistryClient;
  this._routerClient = routerClient;
  this._versionClient = versionClient;
  this._currentVersion = null;
  this._index = 0;
  this._server = http.createServer();
  this._router = {};
  this._cache = {};
  this._subscriptions = {};
  this._servers = null;
  this._hasLoadedServers = false;

  this._versionClient.on('change', function(versionObject) {<commit_msg>Initializing servers as array<commit_after>var http = require('http');
var path = require('path');
var url = require('url');

var Proxy = module.exports = function(serviceRegistryClient, routerClient, versionClient) {
  var self = this;
  this._serviceRegistryClient = serviceRegistryClient;
  this._routerClient = routerClient;
  this._versionClient = versionClient;
  this._currentVersion = null;
  this._index = 0;
  this._server = http.createServer();
  this._router = {};
  this._cache = {};
  this._subscriptions = {};
  this._servers = [];
  this._hasLoadedServers = false;

  this._versionClient.on('change', function(versionObject) {
{'fraction_non_alphanumeric': 0.13070866141732285, 'fraction_numerical': 0.0015748031496062992, 'mean_word_length': 5.052380952380952, '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': '1473712', 'n_tokens_mistral': 366, 'n_tokens_neox': 363, 'n_words': 80}