<commit_before>function Environment() {
  this.summary = '';
  this.forwardHost = null;
  this.basePath = '';
  this.protocols = [];
  this.version = '';
  this.produces;
  this.consumes;
  this.middlewareBefore = '';
  this.middlewareAfter = '';
  this.proxy = {};
  this.securitySchemes = {};
  this.resourcesOrder = {
    utilFuncs: [],
    docs: [],
    savedEntries: []
  };
}

Environment.prototype = {
  set Host(host) {
    this.forwardHost = host;
  },
  get Host() {
    return this.forwardHost;
  },
  set BasePath(basePath) {
    this.basePath = basePath;
  },
  get BasePath() {
    return this.basePath || '';
  },
  set Consumes(consumes) {
    this.consumes = consumes;
  },
  get Consumes() {
    return this.consumes;
  },
  set Produces(produces) {<commit_msg>- if environment host is null, return an empty string.<commit_after>function Environment() {
  this.summary = '';
  this.forwardHost = null;
  this.basePath = '';
  this.protocols = [];
  this.version = '';
  this.produces;
  this.consumes;
  this.middlewareBefore = '';
  this.middlewareAfter = '';
  this.proxy = {};
  this.securitySchemes = {};
  this.resourcesOrder = {
    utilFuncs: [],
    docs: [],
    savedEntries: []
  };
}

Environment.prototype = {
  set Host(host) {
    this.forwardHost = host;
  },
  get Host() {
    return this.forwardHost || '';
  },
  set BasePath(basePath) {
    this.basePath = basePath;
  },
  get BasePath() {
    return this.basePath || '';
  },
  set Consumes(consumes) {
    this.consumes = consumes;
  },
  get Consumes() {
    return this.consumes;
  },
  set Produces(produces) {
{'fraction_non_alphanumeric': 0.1601246105919003, 'fraction_numerical': 0.0, 'mean_word_length': 2.9362745098039214, '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': '6408939', 'n_tokens_mistral': 548, 'n_tokens_neox': 544, 'n_words': 99}