<commit_before>var http = require('http'),
  async = require('async'),
  express = require('express');

var app = express(),
  argv = require('minimist')(process.argv.slice(2));

// port : { key: value pairs }
var services = {
  5000: {
    service: 'Process Order'
  },

  5005: {
    service: 'Fetch Customer'
  },

  5010: {
    service: 'Fetch Products'
  },

  5011: {
    service: 'Get Payment Information'
  },

  5020: {
    service: 'Get Payment Information'
  },

  5021: {
    service: 'Validate Credit Card'
  },

  5022: {
    service: 'Verify Credit Card'
  },

  5031: {
    service: 'Approve Payment'
  },

  5051: {
    service: 'Update Inventory'
  },

  5052: {
    service: 'Update Order Status'
  },

  5053: {
    service: 'Send Order Email'
  },

  5054: {
    service: 'Update Order Shipping Status'
  }

};

app.get('/', function (req, res) {

  var rpcCalls = [];

  if (argv.call) {
    if (Array.isArray(argv.call)) {
      rpcCalls = argv.call.slice();<commit_msg>all rpc services would run on the same port<commit_after>var http = require('http'),
  async = require('async'),
  express = require('express');

var app = express(),
  argv = require('minimist')(process.argv.slice(2));

app.get('/', function (req, res) {

  var rpcCalls = [];

  if (argv.call) {
    if (Array.isArray(argv.call)) {
      rpcCalls = argv.call.slice();
{'fraction_non_alphanumeric': 0.16813509544787078, 'fraction_numerical': 0.03671071953010279, 'mean_word_length': 2.9279538904899134, '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': '5351677', 'n_tokens_mistral': 513, 'n_tokens_neox': 472, 'n_words': 117}