<commit_before>## Database: <%= @name %>
#

database <%= @name %>

<% if @rootpw -%>
rootpw <%= @rootpw %>
<% end %>
<%if @suffix%>
suffix <%= @suffix %>
<% end-%>
<%if @rootdn%>
rootdn <%= @rootdn %>
<% end-%>
<%if @directory%>
directory <%= @directory %>
<% end-%>
<%if @mode%>
mode <%= @mode %>
<% end-%>
<%if @monitoring%>
monitoring <%= @monitoring %>
<% end-%>
<%if @add_content_acl%>
add_content_acl <%= @add_content_acl %>
<% end-%>
<%if @dbnosync%>
dbnosync
<% end-%>
<%if @checkpoint%>
checkpoint <%= @checkpoint %>
<% end-%>
<%if @maxsize%>
maxsize <%= @maxsize %>
<% end-%>


<% unless @indexes.empty? -%># Indexes <% end %>
<% @indexes.each do |i| -%>
index <%= i %>
<% end -%>

<% unless @overlays.empty? -%>
# Overlays

<% @overlays.each do |o,methods| -%>
overlay <%= o %>
<% methods.each do |m| -%>
<%= m %>
<%
end
end
end
-%>


<% unless @syncrepl.empty? -%>
syncrepl rid=<%= @syncrepl['rid'] %>

<%
[
  'provider',
  'type',
  'interval',
  'retry',
  'searchbase',
  'filter',
  'scope',
  'attrs',
  'attrsonly',
  'sizelimit',
  'timelimit',
  'schemachecking',
  'bindmethod',
  'binddn',
  'saslmech',
  'authcid',
  'authzid',
  'credentials',
  'realm',
  'secprops',
  'starttls',
  'tls_cert',
  'tls_key',
  'tls_cacert',
  'tls_cacertdir',
  'tls_reqcert',
  'tls_ciphersuite',
  'tls_crlcheck',
  'logbase',
  'logfilter',
  'syncdata',
].each do |d|
if @syncrepl[d] -%>
  <%= d %>=<%= @syncrepl[d] %>
<%
end
end-%>
<%if @maxsize%>
mirrormode <%= @mirrormode %>
<% 
end
end
-%><commit_msg>Fixed condition<commit_after>## Database: <%= @name %>
#

database <%= @name %>

<% if @rootpw -%>
rootpw <%= @rootpw %>
<% end %>
<%if @suffix%>
suffix <%= @suffix %>
<% end-%>
<%if @rootdn%>
rootdn <%= @rootdn %>
<% end-%>
<%if @directory%>
directory <%= @directory %>
<% end-%>
<%if @mode%>
mode <%= @mode %>
<% end-%>
<%if @monitoring%>
monitoring <%= @monitoring %>
<% end-%>
<%if @add_content_acl%>
add_content_acl <%= @add_content_acl %>
<% end-%>
<%if @dbnosync%>
dbnosync
<% end-%>
<%if @checkpoint%>
checkpoint <%= @checkpoint %>
<% end-%>
<%if @maxsize%>
maxsize <%= @maxsize %>
<% end-%>


<% unless @indexes.empty? -%># Indexes <% end %>
<% @indexes.each do |i| -%>
index <%= i %>
<% end -%>

<% unless @overlays.empty? -%>
# Overlays

<% @overlays.each do |o,methods| -%>
overlay <%= o %>
<% methods.each do |m| -%>
<%= m %>
<%
end
end
end
-%>


<% unless @syncrepl.empty? -%>
syncrepl rid=<%= @syncrepl['rid'] %>

<%
[
  'provider',
  'type',
  'interval',
  'retry',
  'searchbase',
  'filter',
  'scope',
  'attrs',
  'attrsonly',
  'sizelimit',
  'timelimit',
  'schemachecking',
  'bindmethod',
  'binddn',
  'saslmech',
  'authcid',
  'authzid',
  'credentials',
  'realm',
  'secprops',
  'starttls',
  'tls_cert',
  'tls_key',
  'tls_cacert',
  'tls_cacertdir',
  'tls_reqcert',
  'tls_ciphersuite',
  'tls_crlcheck',
  'logbase',
  'logfilter',
  'syncdata',
].each do |d|
if @syncrepl[d] -%>
  <%= d %>=<%= @syncrepl[d] %>
<%
end
end-%>
<%if @mirrormode%>
mirrormode <%= @mirrormode %>
<% 
end
end
-%>
{'fraction_non_alphanumeric': 0.26732348111658455, 'fraction_numerical': 0.0, 'mean_word_length': 3.9934426229508198, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, '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': '2608395', 'n_tokens_mistral': 1509, 'n_tokens_neox': 1328, 'n_words': 261}