<commit_before>function beerController () {
	var Beer = require('../models/beerSchema');
	

	// POST

	this.createBeer = function (req, res, next) {
	var name				=	req.params.name;
	var brewery			= req.params.brewery;
	var style				= req.params.style;
	var abv					= req.params.abv;
  var ibu         = req.params.ibu;
  var description = req.params.description;
  var availability= req.params.availability;
  var icon        = req.params.icon;
  var image       = req.params.image;
		
		Beer.create({name:name,brewery:brewery,style:style,abv:abv}, function(err, result) {
			if (err) {<commit_msg>cleaned<commit_after>function beerController () {
	var Beer = require('../models/beerSchema');
	

	// POST

	this.createBeer = function (req, res, next) {
	var name				=	req.params.name;
	var brewery			= req.params.brewery;
	var style				= req.params.style;
	var abv					= req.params.abv;
  var ibu         = req.params.ibu;
  var description = req.params.description;
  var availability= req.params.availability;
  var icon        = req.params.icon;
  var image       = req.params.image;
		
		Beer.create({name:name,brewery:brewery,style:style,abv:abv, ibu:ibu, description:description, availability:availability, icon:icon, image:image}, function(err, result) {
			if (err) {
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.0, 'mean_word_length': 3.2818791946308723, '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': '7032153', 'n_tokens_mistral': 479, 'n_tokens_neox': 435, 'n_words': 91}