<commit_before>var _ = require('underscore');

var poems = [
  { id: 1, name: '<NAME>' },
  { id: 2, name: '<NAME>' },
  { id: 3, name: '<NAME>' }
];

exports.list = function(req, res) {
  res.render('poem/list', { poems: poems });
}

exports.edit = function(req, res) {
  console.log('poems', poems);
  var poem = _.find(poems, function(p) { return p.id == req.params.id; });
  res.render('poem/edit', { poem: poem });
}

exports.createform = function(req, res) {
  res.render('poem/new');
}

exports.create = function(req, res) {
  var poem = { id: poems.length + 1, name: req.body.name };
  poems.push(poem);
  res.redirect('/poem/' + poem.id);
}<commit_msg>One more test of web.hook deployer<commit_after>var _ = require('underscore');

var poems = [
  { id: 1, name: '<NAME>' },
  { id: 2, name: '<NAME>' },
  { id: 3, name: '<NAME>' },
  { id: 4, name: '<NAME>'}
];

exports.list = function(req, res) {
  res.render('poem/list', { poems: poems });
}

exports.edit = function(req, res) {
  console.log('poems', poems);
  var poem = _.find(poems, function(p) { return p.id == req.params.id; });
  res.render('poem/edit', { poem: poem });
}

exports.createform = function(req, res) {
  res.render('poem/new');
}

exports.create = function(req, res) {
  var poem = { id: poems.length + 1, name: req.body.name };
  poems.push(poem);
  res.redirect('/poem/' + poem.id);
}
{'fraction_non_alphanumeric': 0.2224653537563822, 'fraction_numerical': 0.006564551422319475, 'mean_word_length': 3.6986301369863015, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '3774699', 'n_tokens_mistral': 535, 'n_tokens_neox': 524, 'n_words': 117}