<commit_before># Main configuration file for your project. This file should contain settings
# such as the path to the root directory, the mode to use for Ramaze (dev, live,
# etc) and various cache related settings.
#
# Because this file is loaded using require() like any other file you're free to
# add statements and custom code in this configuration file.

# The root directory of your application. This directory will be used for
# various settings by Zen and is therefor required.
Zen.root = __DIR__('../')

# The application mode to use. Based on different modes your application might
# behave differently. For example, when set to :dev assets will not be minified.
Ramaze.options.mode  = :dev

# The name of your application. Its very important that this name is unique,
# especially when a cache is shared among different Ramaze applications. If
# these applications were to use the same name they might end up retrieving the
# wrong data.
Ramaze.options.app.name = :<%= PROJECT_SETTINGS[:name] %>

# The session identifier to use for cookies.
Ramaze.options.session.key = '<%= PROJECT_SETTINGS[:name] %>.sid'

# Whether or not views should be cached after they've been read or pre-compiled.
# It is recommended to turn this off when developing your application. By
# default these settings are automatically set based on the mode specified in
# Ramaze.options.mode.
Ramaze::View.options.cache      = Ramaze.options.mode == :live
Ramaze::View.options.read_cache = Ramaze.options.mode == :live

# The cache driver to use for sessions. If you're running your application using
# multiple processes (e.g. 3 Unicorn workers) you should use an external cache
# such as Ramaze::Cache::MemCache. Not doing this will result in synchronization
# problems between these processes.
Ramaze::Cache.options.session  = Ramaze::Cache::LRU

# The cache driver to use for storing settings. Similar to
# Ramaze::Cache.options.session you should use an external cache in case you're
# running a multi-process based setup.
Ramaze::Cache.options.settings = Ramaze::Cache::LRU<commit_msg>Translations cache for proto apps.<commit_after># Main configuration file for your project. This file should contain settings
# such as the path to the root directory, the mode to use for Ramaze (dev, live,
# etc) and various cache related settings.
#
# Because this file is loaded using require() like any other file you're free to
# add statements and custom code in this configuration file.

# The root directory of your application. This directory will be used for
# various settings by Zen and is therefor required.
Zen.root = __DIR__('../')

# The application mode to use. Based on different modes your application might
# behave differently. For example, when set to :dev assets will not be minified.
Ramaze.options.mode  = :dev

# The name of your application. Its very important that this name is unique,
# especially when a cache is shared among different Ramaze applications. If
# these applications were to use the same name they might end up retrieving the
# wrong data.
Ramaze.options.app.name = :<%= PROJECT_SETTINGS[:name] %>

# The session identifier to use for cookies.
Ramaze.options.session.key = '<%= PROJECT_SETTINGS[:name] %>.sid'

# Whether or not views should be cached after they've been read or pre-compiled.
# It is recommended to turn this off when developing your application. By
# default these settings are automatically set based on the mode specified in
# Ramaze.options.mode.
Ramaze::View.options.cache      = Ramaze.options.mode == :live
Ramaze::View.options.read_cache = Ramaze.options.mode == :live

# The cache driver to use for sessions. If you're running your application using
# multiple processes (e.g. 3 Unicorn workers) you should use an external cache
# such as Ramaze::Cache::MemCache. Not doing this will result in synchronization
# problems between these processes.
Ramaze::Cache.options.session  = Ramaze::Cache::LRU

# The cache driver to use for storing settings. Similar to
# Ramaze::Cache.options.session you should use an external cache in case you're
# running a multi-process based setup.
Ramaze::Cache.options.settings = Ramaze::Cache::LRU

# The cache driver to use for storing translations. If no value is specified in
# your application Ramaze::Cache::LRU is used.
#
# For this setting it is highly recommended to use an external cache such as
# Redis or Memcached as it can greatly reduce the amount of used memory.
Ramaze::Cache.options.translations = Ramaze::Cache::LRU
{'fraction_non_alphanumeric': 0.07496118873364382, 'fraction_numerical': 0.00044355732978487467, 'mean_word_length': 4.54054054054054, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4894352', 'n_tokens_mistral': 1194, 'n_tokens_neox': 1148, 'n_words': 591}