<commit_before>// _id          ID
// editor       user ID
// name         String
// description  String (HTML)
// region       region ID
// loc          GeoJSON coordinates
// address      String
// route        String

// Additional information
// short            String
// maxPeople        Int
// maxWorkplaces    Int
// facilities       [String]
// otherFacilities  String
// website          URL

/** Venue objects represent locations where events take place.
  */
Venue = function() {
	this.facilities = {};
};


/** Check whether a user may edit the venue.
  *
  * @param {Object} venue
  * @return {Boolean}
  */
Venue.prototype.editableBy = function(user) {
	if (!user) return false;
	var isNew = !this._id;<commit_msg>correct documentation of venues collections<commit_after>// _id          ID
// editor       user ID
// name         String
// description  String (HTML)
// region       region ID
// loc          GeoJSON coordinates
// address      String
// route        String

// Additional information
// short            String
// maxPeople        Int
// maxWorkplaces    Int
// facilities       {facility-key: Boolean}
// otherFacilities  String
// website          URL

/** Venue objects represent locations where events take place.
  */
Venue = function() {
	this.facilities = {};
};


/** Check whether a user may edit the venue.
  *
  * @param {Object} venue
  * @return {Boolean}
  */
Venue.prototype.editableBy = function(user) {
	if (!user) return false;
	var isNew = !this._id;
{'fraction_non_alphanumeric': 0.11192538307794804, 'fraction_numerical': 0.0, 'mean_word_length': 2.0715746421267895, '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': '7421681', 'n_tokens_mistral': 417, 'n_tokens_neox': 410, 'n_words': 140}