<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki.iccup.org/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AFeatureFlag%2FConfig%2Fdoc</id>
	<title>Модуль:FeatureFlag/Config/doc - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.iccup.org/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AFeatureFlag%2FConfig%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.iccup.org/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:FeatureFlag/Config/doc&amp;action=history"/>
	<updated>2026-05-31T09:42:37Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.iccup.org/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:FeatureFlag/Config/doc&amp;diff=131&amp;oldid=prev</id>
		<title>DarkMuse: Новая страница: «&lt;!-- Documentation for FeatureFlag/Config --&gt;  =FeatureFlag/Config Documentation=  The `FeatureFlag/Config` module is used to define the default values of feature flags used throughout the iCCup platform. Feature flags are used to control the availability of certain features or functionalities, often for testing or phased rollouts. By setting default values here, developers can easily manage which features are enabled or disabled by default.  ==How to Use==...»</title>
		<link rel="alternate" type="text/html" href="https://wiki.iccup.org/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:FeatureFlag/Config/doc&amp;diff=131&amp;oldid=prev"/>
		<updated>2024-08-31T15:15:19Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «&amp;lt;!-- Documentation for FeatureFlag/Config --&amp;gt;  =FeatureFlag/Config Documentation=  The `FeatureFlag/Config` module is used to define the default values of feature flags used throughout the iCCup platform. Feature flags are used to control the availability of certain features or functionalities, often for testing or phased rollouts. By setting default values here, developers can easily manage which features are enabled or disabled by default.  ==How to Use==...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Documentation for FeatureFlag/Config --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=FeatureFlag/Config Documentation=&lt;br /&gt;
&lt;br /&gt;
The `FeatureFlag/Config` module is used to define the default values of feature flags used throughout the iCCup platform. Feature flags are used to control the availability of certain features or functionalities, often for testing or phased rollouts. By setting default values here, developers can easily manage which features are enabled or disabled by default.&lt;br /&gt;
&lt;br /&gt;
==How to Use==&lt;br /&gt;
&lt;br /&gt;
Each feature flag is defined in this module with a default value. This value determines the initial state of the feature (enabled or disabled) before any changes are made programmatically or via configuration elsewhere. This module should be modified when new feature flags need to be added or when default behavior changes.&lt;br /&gt;
&lt;br /&gt;
==Example Configuration==&lt;br /&gt;
&lt;br /&gt;
Each feature flag is represented as a key-value pair, where the key is the name of the feature flag, and the value is a table containing its default settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
return {&lt;br /&gt;
	award_table = { defaultValue = false },        -- Controls whether award tables are enabled&lt;br /&gt;
	debug_import = { defaultValue = false },       -- Enables debugging for imports&lt;br /&gt;
	debug_match_history = { defaultValue = false }, -- Enables debugging for match history&lt;br /&gt;
	debug_placement = { defaultValue = false },    -- Enables debugging for placements&lt;br /&gt;
	debug_query = { defaultValue = false },        -- Enables debugging for queries&lt;br /&gt;
	dev = { defaultValue = false },                -- Enables development mode features&lt;br /&gt;
	force_type_check = { defaultValue = false },   -- Forces type checking (may be useful for development)&lt;br /&gt;
	next = { defaultValue = false },               -- Placeholder for future features&lt;br /&gt;
	perf = { defaultValue = false },               -- Enables performance monitoring&lt;br /&gt;
	perf_rich_reporter = { defaultValue = true },  -- Enables rich reporting for performance (enabled by default)&lt;br /&gt;
	random_errors = { defaultValue = false },      -- Introduces random errors for testing (disabled by default)&lt;br /&gt;
	team_list = { defaultValue = false },          -- Enables team list features&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Description of Feature Flags==&lt;br /&gt;
&lt;br /&gt;
* **award_table**: Controls the availability of award tables. Default is disabled.&lt;br /&gt;
* **debug_import**: Enables import debugging, useful for developers. Default is disabled.&lt;br /&gt;
* **debug_match_history**: Allows debugging of match history data. Default is disabled.&lt;br /&gt;
* **debug_placement**: Enables debugging for placement operations or visualizations. Default is disabled.&lt;br /&gt;
* **debug_query**: Used to debug queries. Default is disabled.&lt;br /&gt;
* **dev**: Activates development mode features, allowing access to experimental or under-development features. Default is disabled.&lt;br /&gt;
* **force_type_check**: Forces type checking during runtime, useful for ensuring type integrity in development. Default is disabled.&lt;br /&gt;
* **next**: A placeholder flag for future feature development. Default is disabled.&lt;br /&gt;
* **perf**: Enables performance monitoring across different modules and functions. Default is disabled.&lt;br /&gt;
* **perf_rich_reporter**: When enabled, provides detailed performance reports. Default is enabled to gather more insights.&lt;br /&gt;
* **random_errors**: Used to introduce random errors for testing error handling mechanisms. Default is disabled.&lt;br /&gt;
* **team_list**: Enables functionality related to listing teams. Default is disabled.&lt;br /&gt;
&lt;br /&gt;
==Adding New Feature Flags==&lt;br /&gt;
&lt;br /&gt;
To add a new feature flag:&lt;br /&gt;
1. Open `Module:FeatureFlag/Config`.&lt;br /&gt;
2. Add a new entry in the format:&lt;br /&gt;
   &amp;lt;code lang=&amp;quot;lua&amp;quot;&amp;gt;flag_name = { defaultValue = false },&amp;lt;/code&amp;gt;&lt;br /&gt;
   Replace `flag_name` with the desired name of the flag and set the appropriate default value.&lt;br /&gt;
&lt;br /&gt;
==Related Modules==&lt;br /&gt;
&lt;br /&gt;
* [[Module:FeatureFlag]] - Main module for reading and setting feature flags.&lt;br /&gt;
* [[Module:FeatureFlag/Config]] - This configuration module for default feature flag settings.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Module:Logic]] - Utility functions for logic operations.&lt;br /&gt;
* [[Module:Table]] - Utility functions for table operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Feature management modules]]&lt;br /&gt;
[[Category:Configuration modules]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>DarkMuse</name></author>
	</entry>
</feed>