<commit_before>//modules and configs
//===============================================
var express = require('express'),
    router  = express.Router(),
    app     = express(),
    mongoose = require('mongoose');

var port = process.env.port || 3000; //port set to 3000

var uristring = process.env.MONGODB_URI || 'mongodb://localhost/step';

mongoose.connect(uristring, function (err, res) {
  if (err) {
    console.log('Error connecting to db');
  } else {
    console.log('Succeeded in connecting to db');
  }
});

var campSchema = new mongoose.Schema({
  title: { type: String },
  location: { type: String },
  date: { type: String },
  organizer: { type: String },
  contact: { type: String },
  id: { type: Number },
  done: { type: Boolean }
});
var Camp = mongoose.model('camps', campSchema);


//app specific configurations
//==================================================<commit_msg>fixed typo<commit_after>//modules and configs
//===============================================
var express = require('express'),
    router  = express.Router(),
    app     = express(),
    mongoose = require('mongoose');

var port = process.env.PORT || 3000; //port set to 3000

var uristring = process.env.MONGODB_URI || 'mongodb://localhost/step';

mongoose.connect(uristring, function (err, res) {
  if (err) {
    console.log('Error connecting to db');
  } else {
    console.log('Succeeded in connecting to db');
  }
});

var campSchema = new mongoose.Schema({
  title: { type: String },
  location: { type: String },
  date: { type: String },
  organizer: { type: String },
  contact: { type: String },
  id: { type: Number },
  done: { type: Boolean }
});
var Camp = mongoose.model('camps', campSchema);


//app specific configurations
//==================================================
{'fraction_non_alphanumeric': 0.25153032832498606, 'fraction_numerical': 0.008903728436282694, 'mean_word_length': 4.022346368715084, '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': '3331058', 'n_tokens_mistral': 549, 'n_tokens_neox': 528, 'n_words': 145}