<commit_before># -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
  # The most common configuration options are documented and commented below.
  # For a complete reference, please see the online documentation at
  # https://docs.vagrantup.com.

  <% _.forEach(config.vm, function(value, key) { %>
  config.vm.<%=key%> = "<%=value%>"
  <% }); %>

  <% if(typeof config.network !== 'undefined') { %>
  config.vm.network "<%= config.network.type %>"<% _.forEach(config.network.detail, function(value, key) { %>, <%= key %>: <% if(typeof value === 'string') { %>"<%=value%>"<% } else { %><%=value%><% } %><% }); %>
  <% } %>

  <% if(typeof config.providers !== 'undefined') { %>
  <% _.forEach(config.providers, function(settings, provider) { %>
  config.vm.provider "<%= provider %>" do |<%= provider %>|
    <% _.forEach(settings, function(value, name) { %>
    <%= provider %>.<%= name %> = <%= value %>
    <% }); %>
  end
  <% }); %>
  <% }; %>

  <% _.forEach(config.provisioners, function(provisioner) { %>
  config.vm.provision "<%= provisioner.type %>" do |<%= provisioner.name %>| <% _.forEach(provisioner.templateLines, function(line) { %>
    <%= line %><% }) %>
  end
  <% }) %>
end
<commit_msg>Add ssh configuration to Vagrantfile template<commit_after># -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
  # The most common configuration options are documented and commented below.
  # For a complete reference, please see the online documentation at
  # https://docs.vagrantup.com.

  <% _.forEach(config.ssh, function(value, key) { %>
  config.ssh.<%=key%> = "<%=value%>"
  <% }); %>

  <% _.forEach(config.vm, function(value, key) { %>
  config.vm.<%=key%> = "<%=value%>"
  <% }); %>

  <% if(typeof config.network !== 'undefined') { %>
  config.vm.network "<%= config.network.type %>"<% _.forEach(config.network.detail, function(value, key) { %>, <%= key %>: <% if(typeof value === 'string') { %>"<%=value%>"<% } else { %><%=value%><% } %><% }); %>
  <% } %>

  <% if(typeof config.providers !== 'undefined') { %>
  <% _.forEach(config.providers, function(settings, provider) { %>
  config.vm.provider "<%= provider %>" do |<%= provider %>|
    <% _.forEach(settings, function(value, name) { %>
    <%= provider %>.<%= name %> = <%= value %>
    <% }); %>
  end
  <% }); %>
  <% }; %>

  <% _.forEach(config.provisioners, function(provisioner) { %>
  config.vm.provision "<%= provisioner.type %>" do |<%= provisioner.name %>| <% _.forEach(provisioner.templateLines, function(line) { %>
    <%= line %><% }) %>
  end
  <% }) %>
end

{'fraction_non_alphanumeric': 0.2182890855457227, 'fraction_numerical': 0.0013110455588331695, 'mean_word_length': 3.9146537842190017, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 2, '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': '2715585', 'n_tokens_mistral': 1080, 'n_tokens_neox': 955, 'n_words': 228}