<commit_before><% if node['margarine']['tinge'] -%>
# TODO Update this with new sections when necessary.
[api]
endpoint = <%= node['margarine']['urls']['blend'] %>

<% end -%>
<% if node['margarine']['service']['provider'] == :flask -%>
[flask]
<% if node['margarine']['flask']['debug'] -%>
debug = true
<% end -%>
# TODO Add hostname and port to configuration.

<% end -%>
<% if node['margarine']['blend'] || node['margarine']['spread'] -%>
[queue]
url = <%= uri(node['margarine']['queue']) %>

[datastore]
url = <%= uri(node['margarine']['datastore']) %>

[keystore]
url = <%= uri(node['margarine']['token_store']) %>

# TODO Update this with new sections when necessary.
[server]
<% if node['margarine']['blend'] -%>
domain = <%= node['margarine']['urls']['tinge'] %>
<% end -%>
<% if node['margarine']['spread'] -%>
name = <%= node['margarine']['urls']['blend'] %>
<% end -%>

<% end -%>
<% if node['margarine']['spread'] -%>
[email]
url = <%= uri(node['margarine']['email']) %>
<% end -%><commit_msg>Add hostname and port parameters to margarine.ini.<commit_after><% if node['margarine']['tinge'] -%>
# TODO Update this with new sections when necessary.
[api]
endpoint = <%= node['margarine']['urls']['blend'] %>

<% end -%>
<% if node['margarine']['service']['provider'] == 'flask' -%>
[flask]
<% if node['margarine']['flask']['debug'] -%>
debug = true
<% end -%>
host = <%= node['margarine']['service']['hostname'] %>
port = <%= node['margarine']['service']['port'] %>

<% end -%>
<% if node['margarine']['blend'] || node['margarine']['spread'] -%>
[queue]
url = <%= uri(node['margarine']['queue']) %>

[datastore]
url = <%= uri(node['margarine']['datastore']) %>

[keystore]
url = <%= uri(node['margarine']['token_store']) %>

# TODO Update this with new sections when necessary.
[server]
<% if node['margarine']['blend'] -%>
domain = <%= node['margarine']['urls']['tinge'] %>
<% end -%>
<% if node['margarine']['spread'] -%>
name = <%= node['margarine']['urls']['blend'] %>
<% end -%>

<% end -%>
<% if node['margarine']['spread'] -%>
[email]
url = <%= uri(node['margarine']['email']) %>
<% end -%>
{'fraction_non_alphanumeric': 0.2918841955386806, 'fraction_numerical': 0.0, 'mean_word_length': 5.9801324503311255, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '3101304', 'n_tokens_mistral': 855, 'n_tokens_neox': 746, 'n_words': 143}