<commit_before>Lita.configure do |config|
  config.robot.name = <%= typecast(node['lita']['name']) %>
  config.robot.mention_name = <%= typecast(node['lita']['mention_name']) %>
  config.robot.locale = <%= typecast(node['lita']['locale']) %>
  config.robot.log_level = <%= typecast(node['lita']['log_level']) %>
  config.robot.admins = <%= typecast(node['lita']['admin']) %>
<% node['lita']['adapters'].each do |adapter| -%>
  config.robot.adapter = <%= typecast(adapter) %>
<% end -%>
<% if node['lita']['version'].split('.')[0].to_i >= 4 -%>
<% node['lita']['adapter_config'].each do |adapter,config| -%>
<% node['lita']['adapter_config'][adapter].each do |k,v| -%>
  config.adapters.<%= adapter %>.<%= k %> = <%= typecast(v) %>
<% end -%>
<% else -%>
<% node['lita']['adapter_config'].each do |k,v| -%><commit_msg>fixed loop erro - missing end<commit_after>Lita.configure do |config|
  config.robot.name = <%= typecast(node['lita']['name']) %>
  config.robot.mention_name = <%= typecast(node['lita']['mention_name']) %>
  config.robot.locale = <%= typecast(node['lita']['locale']) %>
  config.robot.log_level = <%= typecast(node['lita']['log_level']) %>
  config.robot.admins = <%= typecast(node['lita']['admin']) %>
<% node['lita']['adapters'].each do |adapter| -%>
  config.robot.adapter = <%= typecast(adapter) %>
<% end -%>
<% if node['lita']['version'].split('.')[0].to_i >= 4 -%>
<% node['lita']['adapter_config'].each do |adapter,config| -%>
<% node['lita']['adapter_config'][adapter].each do |k,v| -%>
  config.adapters.<%= adapter %>.<%= k %> = <%= typecast(v) %>
<% end -%>
<% end -%>
<% else -%>
<% node['lita']['adapter_config'].each do |k,v| -%>
{'fraction_non_alphanumeric': 0.2865743527995184, 'fraction_numerical': 0.002408187838651415, 'mean_word_length': 5.569169960474309, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 40, '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': '5091504', 'n_tokens_mistral': 677, 'n_tokens_neox': 605, 'n_words': 79}