<commit_before>[metadata:main]
identification_title=${title}
identification_abstract=${abstract}
identification_keywords=PyWPS,WPS,OGC,processing,Birdhouse,${name}
identification_keywords_type=theme
identification_fees=NONE
identification_accessconstraints=NONE
provider_name=${provider_name}
provider_url=${provider_url}
contact_name=Lastname, Firstname
contact_position=Position Title
contact_address=Mailing Address
contact_city=${city}
contact_stateorprovince=Administrative Area
contact_postalcode=Zip or Postal Code
contact_country=${country}
contact_phone=+xx-xxx-xxx-xxxx
contact_fax=+xx-xxx-xxx-xxxx
contact_email=Email Address
contact_url=Contact URL
contact_hours=0:00-24:00
contact_instructions=During hours of service. Off on weekends.
contact_role=pointOfContact

[server]
% if enable_https == 'true':
url=https://${hostname}:${https_port}/wps
outputurl=https://${hostname}:${https_output_port}/wpsoutputs/${name}/
% else:
url=http://${hostname}:${http_port}/wps
outputurl=http://${hostname}:${http_output_port}/wpsoutputs/${name}/
% endif
outputpath=${lib_directory}/outputs/${name}
workdir=${lib_directory}/tmp/${name}
maxsingleinputsize=${maxsingleinputsize}
maxrequestsize=${maxrequestsize}
maxprocesses=${maxprocesses}
parallelprocesses=${parallelprocesses}
sethomedir=${sethomedir}
setworkdir=${setworkdir}

[logging]
level=${loglevel}
file=${log_directory}/${name}.log
database=sqlite:///:memory:

[cache]
cache_path = ${lib_directory}/cache/${name}

[extra]
% for opt, value in extra_options.iteritems():
${opt} = ${value}
% endfor
<commit_msg>add extra-options section only if options are available<commit_after>[metadata:main]
identification_title=${title}
identification_abstract=${abstract}
identification_keywords=PyWPS,WPS,OGC,processing,Birdhouse,${name}
identification_keywords_type=theme
identification_fees=NONE
identification_accessconstraints=NONE
provider_name=${provider_name}
provider_url=${provider_url}
contact_name=Lastname, Firstname
contact_position=Position Title
contact_address=Mailing Address
contact_city=${city}
contact_stateorprovince=Administrative Area
contact_postalcode=Zip or Postal Code
contact_country=${country}
contact_phone=+xx-xxx-xxx-xxxx
contact_fax=+xx-xxx-xxx-xxxx
contact_email=Email Address
contact_url=Contact URL
contact_hours=0:00-24:00
contact_instructions=During hours of service. Off on weekends.
contact_role=pointOfContact

[server]
% if enable_https == 'true':
url=https://${hostname}:${https_port}/wps
outputurl=https://${hostname}:${https_output_port}/wpsoutputs/${name}/
% else:
url=http://${hostname}:${http_port}/wps
outputurl=http://${hostname}:${http_output_port}/wpsoutputs/${name}/
% endif
outputpath=${lib_directory}/outputs/${name}
workdir=${lib_directory}/tmp/${name}
maxsingleinputsize=${maxsingleinputsize}
maxrequestsize=${maxrequestsize}
maxprocesses=${maxprocesses}
parallelprocesses=${parallelprocesses}
sethomedir=${sethomedir}
setworkdir=${setworkdir}

[logging]
level=${loglevel}
file=${log_directory}/${name}.log
database=sqlite:///:memory:

[cache]
cache_path = ${lib_directory}/cache/${name}

% if extra_options:
[extra]
% for opt, value in extra_options.iteritems():
${opt} = ${value}
% endfor
% endif

{'fraction_non_alphanumeric': 0.14366021236727045, 'fraction_numerical': 0.004372267332916927, 'mean_word_length': 11.51171875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3298206', 'n_tokens_mistral': 1039, 'n_tokens_neox': 1025, 'n_words': 154}