<commit_before>/*global require*/

var pine = require('./pine');

var processRequest = function(params) {
  var res = params.res,
      req = params.req;

  res.send({
    url: req.url,
    args: params.args
  });
};

var routes = [
  // GET http://localhost:3000/customers
  // GET http://localhost:3000/customers?name="Test"
  {
    url: '/customers',
    argMap: {
      customerid: 'query.name'
    }
  },
  // GET http://localhost:3000/customers/10
  {
    url: '/customers/:customerid',
    argMap: {
      customerid: 'params.customerid'
    }
  },
  // POST http://localhost:3000/customers/10/properties?name=Test    w body   { "value": "myval" }
  {
    url: 'customers/:customerid/properties',<commit_msg>fixed url mistypo<commit_after>/*global require*/

var pine = require('./pine');

var processRequest = function(params) {
  var res = params.res,
      req = params.req;

  res.send({
    url: req.url,
    args: params.args
  });
};

var routes = [
  // GET http://localhost:3000/customers
  // GET http://localhost:3000/customers?name="Test"
  {
    url: '/customers',
    argMap: {
      customerid: 'query.name'
    }
  },
  // GET http://localhost:3000/customers/10
  {
    url: '/customers/:customerid',
    argMap: {
      customerid: 'params.customerid'
    }
  },
  // POST http://localhost:3000/customers/10/properties?name=Test    w body   { "value": "myval" }
  {
    url: '/customers/:customerid/properties',
{'fraction_non_alphanumeric': 0.1735191637630662, 'fraction_numerical': 0.027874564459930314, 'mean_word_length': 2.682051282051282, 'pattern_counts': {'":': 2, '<': 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': '5174226', 'n_tokens_mistral': 525, 'n_tokens_neox': 494, 'n_words': 89}