<commit_before><?xml version="1.0" encoding="utf-8"?>
<addon addon_id="sv_rediscache" title="Redis - Zend Cache" version_string="1.1.13" version_id="1011300" url="https://xenforo.com/community/resources/zend-redis-cache.3965/" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="">
  <admin_navigation/>
  <admin_permissions/>
  <admin_style_properties/>
  <admin_templates>
    <template title="SV_Redis_info"><![CDATA[<div class="section" id="RedisInfo">
    <div class="secondaryContent statsList">
        <h3 class="textHeading">{xen:phrase redis_info}</h3>
        <div class="pairsJustified">
            <xen:if is="!{$redis}">
            <dl>
                <span class="label">{xen:phrase redis_disabled}</span>
            </dl>
            <xen:else/>
            <dl>
                <span class="label"><dt>{xen:phrase redis_version}:</dt></span>
                <dd>{$redis.redis_version}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_phpredis}:</dt></span>
                <dd>{xen:if $redis.phpredis, {$redis.phpredis}, {xen:phrase n_a}}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_lua}:</dt></span>
                <dd>{xen:if $redis.lua, {xen:phrase yes}, {xen:phrase no}}</dd>
            </dl>
            <xen:if is="{$redis.loading}">
            <dl>
                <span class="label">{xen:phrase redis_loading}</span>
            </dl>
            <xen:else/>
            <dl>
                <span class="label"><dt>{xen:phrase redis_input_kbps}:</dt></span>
                <dd>{$redis.instantaneous_input_kbps}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_output_kbps}:</dt></span>
                <dd>{$redis.instantaneous_output_kbps}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_ops}:</dt></span>
                <dd>{$redis.instantaneous_ops_per_sec}</dd>
            </dl>
            <xen:if is="{$redis.db.{$redis.db_default}}">
            <dl>
                <span class="label"><dt>{xen:phrase redis_db_x_keys, 'database={$redis.db_default}'}:</dt></span>
                <dd>{$redis.db.{$redis.db_default}.keys}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_db_x_avg_ttl, 'database={$redis.db_default}'}:</dt></span>
                <dd>{$redis.db.{$redis.db_default}.avg_ttl}</dd>
            </dl>
            </xen:if>
            </xen:if>
            </xen:if>
        </div>
    </div>
</div>]]></template>
  </admin_templates>
  <admin_template_modifications>
    <modification template="home" modification_key="SV_RedisCache_home1" description="Add RedisInfo" execution_order="3965" enabled="1" action="preg_replace">
      <find><![CDATA[#(<div class="sidebar">.*<!-- slot: pre_add_ons -->.*?)(\s*<xen:if is="{\$canManageAddOns}">)#si]]></find>
      <replace><![CDATA[$1
<xen:include template="SV_Redis_info"/>
$2]]></replace>
    </modification>
  </admin_template_modifications>
  <code_events/>
  <code_event_listeners>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="SV_SVGTemplate_SvgOutput" description="SV_SVGTemplate_SvgOutput"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_CssOutput" description="XenForo_CssOutput"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_Model_Style" description="XenForo_Model_Style"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_Model_DataRegistry" description="XenForo_Model_DataRegistry"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_Model_Thread" description="XenForo_Model_Thread"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_ControllerAdmin_Home" description="XenForo_ControllerAdmin_Home"/>
  </code_event_listeners>
  <cron/>
  <email_templates/>
  <email_template_modifications/>
  <optiongroups>
    <option option_id="sv_threadcount_caching" edit_format="onoff" data_type="boolean" can_backup="1">
      <default_value>1</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10000"/>
    </option>
    <option option_id="sv_threadcount_short" edit_format="spinbox" data_type="positive_integer" can_backup="1">
      <default_value>6</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10010"/>
    </option>
    <option option_id="sv_threadcount_sv_threadcount_moderated" edit_format="onoff" data_type="boolean" can_backup="1">
      <default_value>1</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10005"/>
    </option>
    <option option_id="sv_threadcountcache_long" edit_format="spinbox" data_type="positive_integer" can_backup="1">
      <default_value>3600</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10030"/>
    </option>
    <option option_id="sv_threadcountcache_short" edit_format="spinbox" data_type="positive_integer" can_backup="1">
      <default_value>60</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10020"/>
    </option>
  </optiongroups>
  <permissions>
    <permission_groups/>
    <permissions/>
    <interface_groups/>
  </permissions>
  <phrases>
    <phrase title="option_sv_threadcountcache_long" version_id="101000" version_string="1.1.0"><![CDATA[Thread Count Expiry time]]></phrase>
    <phrase title="option_sv_threadcountcache_long_explain" version_id="101000" version_string="1.1.0"><![CDATA[The default time in seconds to cache the thread counts per forum.]]></phrase>
    <phrase title="option_sv_threadcountcache_short" version_id="101000" version_string="1.1.0"><![CDATA[Short Thread Count Expiry time]]></phrase>
    <phrase title="option_sv_threadcountcache_short_explain" version_id="101000" version_string="1.1.0"><![CDATA[The time in seconds to cache the thread counts per forum for a forum a small number of pages.]]></phrase>
    <phrase title="option_sv_threadcount_caching" version_id="101000" version_string="1.1.0"><![CDATA[Thread Count Caching]]></phrase>
    <phrase title="option_sv_threadcount_caching_explain" version_id="101000" version_string="1.1.0"><![CDATA[Caches per forum thread counts to reduce forum view page times.]]></phrase>
    <phrase title="option_sv_threadcount_short" version_id="101000" version_string="1.1.0"><![CDATA[Small forum threshold]]></phrase>
    <phrase title="option_sv_threadcount_short_explain" version_id="101000" version_string="1.1.0"><![CDATA[The number of pages for a forum to be consider a small forum.]]></phrase>
    <phrase title="option_sv_threadcount_sv_threadcount_moderated" version_id="101010" version_string="1.1.1"><![CDATA[Count Moderated Threads]]></phrase>
    <phrase title="option_sv_threadcount_sv_threadcount_moderated_explain" version_id="101010" version_string="1.1.1"><![CDATA[If the user can see all other threads, do not count moderated threads. Disabling this option will cause per-user caching of forum counts rather than being shared.]]></phrase>
    <phrase title="redis_db_x_avg_ttl" version_id="1010900" version_string="1.1.9"><![CDATA[DB {database} Average TTL]]></phrase>
    <phrase title="redis_db_x_keys" version_id="1010900" version_string="1.1.9"><![CDATA[DB {database} Keys]]></phrase>
    <phrase title="redis_disabled" version_id="101030" version_string="1.1.3"><![CDATA[Redis is disabled.]]></phrase>
    <phrase title="redis_info" version_id="101031" version_string="1.1.3a"><![CDATA[Redis Information]]></phrase>
    <phrase title="redis_input_kbps" version_id="101030" version_string="1.1.3"><![CDATA[To Redis (kbps)]]></phrase>
    <phrase title="redis_loading" version_id="101030" version_string="1.1.3"><![CDATA[Redis is still loading.]]></phrase>
    <phrase title="redis_lua" version_id="1011300" version_string="1.1.13"><![CDATA[Using Lua]]></phrase>
    <phrase title="redis_ops" version_id="101030" version_string="1.1.3"><![CDATA[Operations per second]]></phrase>
    <phrase title="redis_output_kbps" version_id="101030" version_string="1.1.3"><![CDATA[From Redis (kbps)]]></phrase>
    <phrase title="redis_version" version_id="101030" version_string="1.1.3"><![CDATA[Version]]></phrase>
  </phrases>
  <route_prefixes/>
  <style_properties/>
  <templates/>
  <public_template_modifications/>
  <bb_code_media_sites/>
  <bb_codes/>
</addon><commit_msg>Missing phrase<commit_after><?xml version="1.0" encoding="utf-8"?>
<addon addon_id="sv_rediscache" title="Redis - Zend Cache" version_string="1.1.13a" version_id="1011301" url="https://xenforo.com/community/resources/zend-redis-cache.3965/" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="">
  <admin_navigation/>
  <admin_permissions/>
  <admin_style_properties/>
  <admin_templates>
    <template title="SV_Redis_info"><![CDATA[<div class="section" id="RedisInfo">
    <div class="secondaryContent statsList">
        <h3 class="textHeading">{xen:phrase redis_info}</h3>
        <div class="pairsJustified">
            <xen:if is="!{$redis}">
            <dl>
                <span class="label">{xen:phrase redis_disabled}</span>
            </dl>
            <xen:else/>
            <dl>
                <span class="label"><dt>{xen:phrase redis_version}:</dt></span>
                <dd>{$redis.redis_version}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_phpredis}:</dt></span>
                <dd>{xen:if $redis.phpredis, {$redis.phpredis}, {xen:phrase n_a}}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_lua}:</dt></span>
                <dd>{xen:if $redis.lua, {xen:phrase yes}, {xen:phrase no}}</dd>
            </dl>
            <xen:if is="{$redis.loading}">
            <dl>
                <span class="label">{xen:phrase redis_loading}</span>
            </dl>
            <xen:else/>
            <dl>
                <span class="label"><dt>{xen:phrase redis_input_kbps}:</dt></span>
                <dd>{$redis.instantaneous_input_kbps}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_output_kbps}:</dt></span>
                <dd>{$redis.instantaneous_output_kbps}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_ops}:</dt></span>
                <dd>{$redis.instantaneous_ops_per_sec}</dd>
            </dl>
            <xen:if is="{$redis.db.{$redis.db_default}}">
            <dl>
                <span class="label"><dt>{xen:phrase redis_db_x_keys, 'database={$redis.db_default}'}:</dt></span>
                <dd>{$redis.db.{$redis.db_default}.keys}</dd>
            </dl>
            <dl>
                <span class="label"><dt>{xen:phrase redis_db_x_avg_ttl, 'database={$redis.db_default}'}:</dt></span>
                <dd>{$redis.db.{$redis.db_default}.avg_ttl}</dd>
            </dl>
            </xen:if>
            </xen:if>
            </xen:if>
        </div>
    </div>
</div>]]></template>
  </admin_templates>
  <admin_template_modifications>
    <modification template="home" modification_key="SV_RedisCache_home1" description="Add RedisInfo" execution_order="3965" enabled="1" action="preg_replace">
      <find><![CDATA[#(<div class="sidebar">.*<!-- slot: pre_add_ons -->.*?)(\s*<xen:if is="{\$canManageAddOns}">)#si]]></find>
      <replace><![CDATA[$1
<xen:include template="SV_Redis_info"/>
$2]]></replace>
    </modification>
  </admin_template_modifications>
  <code_events/>
  <code_event_listeners>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="SV_SVGTemplate_SvgOutput" description="SV_SVGTemplate_SvgOutput"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_CssOutput" description="XenForo_CssOutput"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_Model_Style" description="XenForo_Model_Style"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_Model_DataRegistry" description="XenForo_Model_DataRegistry"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_Model_Thread" description="XenForo_Model_Thread"/>
    <listener event_id="load_class" execute_order="3965" callback_class="SV_RedisCache_Listener" callback_method="load_class" active="1" hint="XenForo_ControllerAdmin_Home" description="XenForo_ControllerAdmin_Home"/>
  </code_event_listeners>
  <cron/>
  <email_templates/>
  <email_template_modifications/>
  <optiongroups>
    <option option_id="sv_threadcount_caching" edit_format="onoff" data_type="boolean" can_backup="1">
      <default_value>1</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10000"/>
    </option>
    <option option_id="sv_threadcount_short" edit_format="spinbox" data_type="positive_integer" can_backup="1">
      <default_value>6</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10010"/>
    </option>
    <option option_id="sv_threadcount_sv_threadcount_moderated" edit_format="onoff" data_type="boolean" can_backup="1">
      <default_value>1</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10005"/>
    </option>
    <option option_id="sv_threadcountcache_long" edit_format="spinbox" data_type="positive_integer" can_backup="1">
      <default_value>3600</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10030"/>
    </option>
    <option option_id="sv_threadcountcache_short" edit_format="spinbox" data_type="positive_integer" can_backup="1">
      <default_value>60</default_value>
      <edit_format_params></edit_format_params>
      <sub_options></sub_options>
      <relation group_id="performance" display_order="10020"/>
    </option>
  </optiongroups>
  <permissions>
    <permission_groups/>
    <permissions/>
    <interface_groups/>
  </permissions>
  <phrases>
    <phrase title="option_sv_threadcountcache_long" version_id="101000" version_string="1.1.0"><![CDATA[Thread Count Expiry time]]></phrase>
    <phrase title="option_sv_threadcountcache_long_explain" version_id="101000" version_string="1.1.0"><![CDATA[The default time in seconds to cache the thread counts per forum.]]></phrase>
    <phrase title="option_sv_threadcountcache_short" version_id="101000" version_string="1.1.0"><![CDATA[Short Thread Count Expiry time]]></phrase>
    <phrase title="option_sv_threadcountcache_short_explain" version_id="101000" version_string="1.1.0"><![CDATA[The time in seconds to cache the thread counts per forum for a forum a small number of pages.]]></phrase>
    <phrase title="option_sv_threadcount_caching" version_id="101000" version_string="1.1.0"><![CDATA[Thread Count Caching]]></phrase>
    <phrase title="option_sv_threadcount_caching_explain" version_id="101000" version_string="1.1.0"><![CDATA[Caches per forum thread counts to reduce forum view page times.]]></phrase>
    <phrase title="option_sv_threadcount_short" version_id="101000" version_string="1.1.0"><![CDATA[Small forum threshold]]></phrase>
    <phrase title="option_sv_threadcount_short_explain" version_id="101000" version_string="1.1.0"><![CDATA[The number of pages for a forum to be consider a small forum.]]></phrase>
    <phrase title="option_sv_threadcount_sv_threadcount_moderated" version_id="101010" version_string="1.1.1"><![CDATA[Count Moderated Threads]]></phrase>
    <phrase title="option_sv_threadcount_sv_threadcount_moderated_explain" version_id="101010" version_string="1.1.1"><![CDATA[If the user can see all other threads, do not count moderated threads. Disabling this option will cause per-user caching of forum counts rather than being shared.]]></phrase>
    <phrase title="redis_db_x_avg_ttl" version_id="1010900" version_string="1.1.9"><![CDATA[DB {database} Average TTL]]></phrase>
    <phrase title="redis_db_x_keys" version_id="1010900" version_string="1.1.9"><![CDATA[DB {database} Keys]]></phrase>
    <phrase title="redis_disabled" version_id="101030" version_string="1.1.3"><![CDATA[Redis is disabled.]]></phrase>
    <phrase title="redis_info" version_id="101031" version_string="1.1.3a"><![CDATA[Redis Information]]></phrase>
    <phrase title="redis_input_kbps" version_id="101030" version_string="1.1.3"><![CDATA[To Redis (kbps)]]></phrase>
    <phrase title="redis_loading" version_id="101030" version_string="1.1.3"><![CDATA[Redis is still loading.]]></phrase>
    <phrase title="redis_lua" version_id="1011300" version_string="1.1.13"><![CDATA[Using Lua]]></phrase>
    <phrase title="redis_ops" version_id="101030" version_string="1.1.3"><![CDATA[Operations per second]]></phrase>
    <phrase title="redis_output_kbps" version_id="101030" version_string="1.1.3"><![CDATA[From Redis (kbps)]]></phrase>
    <phrase title="redis_phpredis" version_id="1011300" version_string="1.1.13"><![CDATA[phpredis version]]></phrase>
    <phrase title="redis_version" version_id="101030" version_string="1.1.3"><![CDATA[Version]]></phrase>
  </phrases>
  <route_prefixes/>
  <style_properties/>
  <templates/>
  <public_template_modifications/>
  <bb_code_media_sites/>
  <bb_codes/>
</addon>
{'fraction_non_alphanumeric': 0.15966252785737026, 'fraction_numerical': 0.03040432983126393, 'mean_word_length': 4.595902612826603, 'pattern_counts': {'":': 0, '<': 496, '<?xml version=': 2, '>': 496, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1302753', 'n_tokens_mistral': 6560, 'n_tokens_neox': 6188, 'n_words': 913}