clew-code 0.2.11 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +2596 -2527
- package/docs/architecture.html +148 -148
- package/docs/architecture.th.html +79 -79
- package/docs/clew-code-architecture.html +6 -6
- package/docs/commands.html +225 -224
- package/docs/commands.th.html +132 -131
- package/docs/configuration.html +147 -147
- package/docs/configuration.th.html +108 -108
- package/docs/daemon.html +129 -129
- package/docs/daemon.th.html +73 -73
- package/docs/features/bridge-mode.html +99 -99
- package/docs/features/bridge-mode.th.html +90 -90
- package/docs/features/evals.html +182 -182
- package/docs/features/evals.th.html +90 -90
- package/docs/features/peer.html +178 -178
- package/docs/features/searxng-search.html +151 -151
- package/docs/features/searxng-search.th.html +95 -95
- package/docs/features/sentry-setup.html +157 -157
- package/docs/features/sentry-setup.th.html +97 -97
- package/docs/index.html +298 -299
- package/docs/index.th.html +292 -292
- package/docs/installation.html +105 -105
- package/docs/installation.th.html +105 -105
- package/docs/internals/growthbook-ab-testing.html +113 -113
- package/docs/internals/growthbook-ab-testing.th.html +81 -81
- package/docs/internals/hidden-features.html +175 -149
- package/docs/internals/hidden-features.th.html +135 -109
- package/docs/loop.html +181 -181
- package/docs/loop.th.html +227 -227
- package/docs/mcp.html +247 -247
- package/docs/mcp.th.html +207 -207
- package/docs/models.html +110 -111
- package/docs/models.th.html +61 -61
- package/docs/peer.html +236 -236
- package/docs/peer.th.html +280 -280
- package/docs/permission-model.html +102 -102
- package/docs/permission-model.th.html +67 -67
- package/docs/plugins.html +102 -102
- package/docs/plugins.th.html +79 -79
- package/docs/providers.html +126 -126
- package/docs/providers.th.html +80 -80
- package/docs/quick-start.html +93 -93
- package/docs/quick-start.th.html +1 -1
- package/docs/research-memory.html +82 -82
- package/docs/research-memory.th.html +72 -72
- package/docs/skills.html +117 -117
- package/docs/skills.th.html +90 -90
- package/docs/tools.html +170 -170
- package/docs/tools.th.html +84 -84
- package/docs/troubleshooting.html +106 -106
- package/docs/troubleshooting.th.html +85 -85
- package/package.json +162 -164
|
@@ -1,113 +1,113 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>GrowthBook A/B Testing — Clew</title>
|
|
7
|
-
<meta name="description" content="GrowthBook A/B testing system for feature flags, experiments, and gradual rollouts in Clew.">
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
-
<link rel="stylesheet" href="../css/styles.css">
|
|
12
|
-
<link rel="icon" type="image/svg+xml" href="../assets/clew.svg">
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<header class="header"><div class="header-inner"><a href="../index.html" class="logo">
|
|
16
|
-
<span>Clew Code</span>
|
|
17
|
-
</a><nav class="header-nav"><a href="../index.html">Home</a><a href="../index.html#features">Features</a><a href="../index.html#commands">Commands</a><a href="../quick-start.html" class="active">Docs</a><a href="https://github.com/ClewCode/ClewCode" target="_blank">GitHub</a>
|
|
18
|
-
<div class="lang-wrap">
|
|
19
|
-
<button class="lang-btn">ðŸŒ</button>
|
|
20
|
-
<div class="lang-menu">
|
|
21
|
-
<a href="../../readme/README.zh.md">䏿–‡</a>
|
|
22
|
-
<a href="../../readme/README.th.md">ไทย</a>
|
|
23
|
-
<a href="../../readme/README.ja.md">日本語</a>
|
|
24
|
-
<a href="../../readme/README.ko.md">한êµì–´</a>
|
|
25
|
-
<a href="../../readme/README.es.md">Español</a>
|
|
26
|
-
<a href="../../readme/README.fr.md">Français</a>
|
|
27
|
-
<a href="../../readme/README.de.md">Deutsch</a>
|
|
28
|
-
<a href="../../readme/README.pt.md">Português</a>
|
|
29
|
-
<a href="../../readme/README.vi.md">Tiếng Việt</a>
|
|
30
|
-
<a href="../../readme/README.id.md">Bahasa Indonesia</a>
|
|
31
|
-
<a href="../../readme/README.ru.md">РуÑÑкий</a>
|
|
32
|
-
<a href="../../readme/README.hi.md">हिनà¥à¤¦à¥€</a>
|
|
33
|
-
<a href="../../README.md">English</a>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</nav><button class="menu-btn" id="menuToggle" aria-label="Toggle navigation"><span></span><span></span><span></span></button></div></header>
|
|
37
|
-
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
38
|
-
<div class="content-wrap"><main class="content">
|
|
39
|
-
<div class="breadcrumbs"><a href="../index.html">Home</a><span class="sep">/</span><a href="../index.html#features">Internals</a><span class="sep">/</span><span>A/B Testing</span></div>
|
|
40
|
-
<h1>GrowthBook A/B Testing</h1>
|
|
41
|
-
<p class="section-subtitle">Feature flagging and experiment management using GrowthBook for gradual rollouts, A/B tests, and targeted feature releases.</p>
|
|
42
|
-
|
|
43
|
-
<div class="callout callout-warn">
|
|
44
|
-
<strong>Internal Infrastructure</strong>
|
|
45
|
-
GrowthBook integration is used for Clew's own product development telemetry and experiment tracking. It is not a user-facing feature — this documentation is for contributors and integrators.
|
|
46
|
-
</div>
|
|
47
|
-
|
|
48
|
-
<h2>Overview</h2>
|
|
49
|
-
<p>GrowthBook provides feature flagging and A/B testing within Clew. It enables controlled rollouts of new features, experiment tracking, and targeted feature releases based on user segments. The SDK is initialized at startup and evaluates flags locally with caching for minimal latency.</p>
|
|
50
|
-
|
|
51
|
-
<h2>Architecture</h2>
|
|
52
|
-
<ul>
|
|
53
|
-
<li><strong>Feature Flags</strong> — Boolean, string, number, and JSON flag types evaluated locally</li>
|
|
54
|
-
<li><strong>Experiments</strong> — Multi-variant A/B tests with statistical tracking and automatic analysis</li>
|
|
55
|
-
<li><strong>Forced Variations</strong> — Override flag values for testing and debugging</li>
|
|
56
|
-
<li><strong>Sticky Bucketing</strong> — Consistent user experience across sessions based on stable identifiers</li>
|
|
57
|
-
<li><strong>Local Caching</strong> — Feature definitions cached after initial fetch for offline resilience</li>
|
|
58
|
-
</ul>
|
|
59
|
-
|
|
60
|
-
<h2>Usage in Code</h2>
|
|
61
|
-
<pre><code>// Check if a feature is enabled (cached evaluation)
|
|
62
|
-
const isEnabled = getFeatureValue_CACHED_MAY_BE_STALE(
|
|
63
|
-
'tengu_plum_vx3', // Feature key
|
|
64
|
-
false // Default value
|
|
65
|
-
);
|
|
66
|
-
// Use the feature value
|
|
67
|
-
if (isEnabled) {
|
|
68
|
-
// New behavior path
|
|
69
|
-
} else {
|
|
70
|
-
// Control behavior path
|
|
71
|
-
}</code></pre>
|
|
72
|
-
|
|
73
|
-
<h2>Configuration</h2>
|
|
74
|
-
<table>
|
|
75
|
-
<tr><th>Variable</th><th>Purpose</th></tr>
|
|
76
|
-
<tr><td><code>GROWTHBOOK_API_HOST</code></td><td>GrowthBook API endpoint (self-hosted or cloud)</td></tr>
|
|
77
|
-
<tr><td><code>GROWTHBOOK_CLIENT_KEY</code></td><td>Client-side SDK key for feature flag access</td></tr>
|
|
78
|
-
<tr><td><code>GROWTHBOOK_FORCE_VARIATION</code></td><td>Force a specific variation for testing</td></tr>
|
|
79
|
-
</table>
|
|
80
|
-
|
|
81
|
-
<h2>How It Works</h2>
|
|
82
|
-
<ol>
|
|
83
|
-
<li>On startup, Clew initializes the GrowthBook SDK with the configured API host and client key</li>
|
|
84
|
-
<li>Feature definitions are fetched from the GrowthBook server and cached locally</li>
|
|
85
|
-
<li>Throughout the session, code checks feature flags using the cached evaluation function</li>
|
|
86
|
-
<li>Flag values are re-evaluated periodically or on explicit refresh</li>
|
|
87
|
-
<li>Experiment results are tracked and sent back to GrowthBook for statistical analysis</li>
|
|
88
|
-
<li>Forced variations can override normal bucket assignment for testing</li>
|
|
89
|
-
</ol>
|
|
90
|
-
|
|
91
|
-
<h2>Best Practices</h2>
|
|
92
|
-
<ul>
|
|
93
|
-
<li>Always provide a sensible default value (usually <code>false</code> for features not yet released)</li>
|
|
94
|
-
<li>Use descriptive, unique feature keys</li>
|
|
95
|
-
<li>Cache-aware design: do not rely on flag values being real-time; they are evaluated at session start</li>
|
|
96
|
-
<li>Clean up stale flags after experiments conclude</li>
|
|
97
|
-
</ul>
|
|
98
|
-
|
|
99
|
-
<footer class="footer">
|
|
100
|
-
<span>Clew Code
|
|
101
|
-
<div class="footer-links">
|
|
102
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
103
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
104
|
-
</div>
|
|
105
|
-
</footer>
|
|
106
|
-
</main>
|
|
107
|
-
<nav class="toc-sidebar"></nav>
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
<script src="../js/main.js"></script>
|
|
111
|
-
</body>
|
|
112
|
-
</html>
|
|
113
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>GrowthBook A/B Testing — Clew</title>
|
|
7
|
+
<meta name="description" content="GrowthBook A/B testing system for feature flags, experiments, and gradual rollouts in Clew.">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
+
<link rel="stylesheet" href="../css/styles.css">
|
|
12
|
+
<link rel="icon" type="image/svg+xml" href="../assets/clew.svg">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<header class="header"><div class="header-inner"><a href="../index.html" class="logo">
|
|
16
|
+
<span>Clew Code</span>
|
|
17
|
+
</a><nav class="header-nav"><a href="../index.html">Home</a><a href="../index.html#features">Features</a><a href="../index.html#commands">Commands</a><a href="../quick-start.html" class="active">Docs</a><a href="https://github.com/ClewCode/ClewCode" target="_blank">GitHub</a>
|
|
18
|
+
<div class="lang-wrap">
|
|
19
|
+
<button class="lang-btn">ðŸŒ</button>
|
|
20
|
+
<div class="lang-menu">
|
|
21
|
+
<a href="../../readme/README.zh.md">䏿–‡</a>
|
|
22
|
+
<a href="../../readme/README.th.md">ไทย</a>
|
|
23
|
+
<a href="../../readme/README.ja.md">日本語</a>
|
|
24
|
+
<a href="../../readme/README.ko.md">한êµì–´</a>
|
|
25
|
+
<a href="../../readme/README.es.md">Español</a>
|
|
26
|
+
<a href="../../readme/README.fr.md">Français</a>
|
|
27
|
+
<a href="../../readme/README.de.md">Deutsch</a>
|
|
28
|
+
<a href="../../readme/README.pt.md">Português</a>
|
|
29
|
+
<a href="../../readme/README.vi.md">Tiếng Việt</a>
|
|
30
|
+
<a href="../../readme/README.id.md">Bahasa Indonesia</a>
|
|
31
|
+
<a href="../../readme/README.ru.md">РуÑÑкий</a>
|
|
32
|
+
<a href="../../readme/README.hi.md">हिनà¥à¤¦à¥€</a>
|
|
33
|
+
<a href="../../README.md">English</a>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</nav><button class="menu-btn" id="menuToggle" aria-label="Toggle navigation"><span></span><span></span><span></span></button></div></header>
|
|
37
|
+
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
38
|
+
<div class="content-wrap"><main class="content">
|
|
39
|
+
<div class="breadcrumbs"><a href="../index.html">Home</a><span class="sep">/</span><a href="../index.html#features">Internals</a><span class="sep">/</span><span>A/B Testing</span></div>
|
|
40
|
+
<h1>GrowthBook A/B Testing</h1>
|
|
41
|
+
<p class="section-subtitle">Feature flagging and experiment management using GrowthBook for gradual rollouts, A/B tests, and targeted feature releases.</p>
|
|
42
|
+
|
|
43
|
+
<div class="callout callout-warn">
|
|
44
|
+
<strong>Internal Infrastructure</strong>
|
|
45
|
+
GrowthBook integration is used for Clew's own product development telemetry and experiment tracking. It is not a user-facing feature — this documentation is for contributors and integrators.
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<h2>Overview</h2>
|
|
49
|
+
<p>GrowthBook provides feature flagging and A/B testing within Clew. It enables controlled rollouts of new features, experiment tracking, and targeted feature releases based on user segments. The SDK is initialized at startup and evaluates flags locally with caching for minimal latency.</p>
|
|
50
|
+
|
|
51
|
+
<h2>Architecture</h2>
|
|
52
|
+
<ul>
|
|
53
|
+
<li><strong>Feature Flags</strong> — Boolean, string, number, and JSON flag types evaluated locally</li>
|
|
54
|
+
<li><strong>Experiments</strong> — Multi-variant A/B tests with statistical tracking and automatic analysis</li>
|
|
55
|
+
<li><strong>Forced Variations</strong> — Override flag values for testing and debugging</li>
|
|
56
|
+
<li><strong>Sticky Bucketing</strong> — Consistent user experience across sessions based on stable identifiers</li>
|
|
57
|
+
<li><strong>Local Caching</strong> — Feature definitions cached after initial fetch for offline resilience</li>
|
|
58
|
+
</ul>
|
|
59
|
+
|
|
60
|
+
<h2>Usage in Code</h2>
|
|
61
|
+
<pre><code>// Check if a feature is enabled (cached evaluation)
|
|
62
|
+
const isEnabled = getFeatureValue_CACHED_MAY_BE_STALE(
|
|
63
|
+
'tengu_plum_vx3', // Feature key
|
|
64
|
+
false // Default value
|
|
65
|
+
);
|
|
66
|
+
// Use the feature value
|
|
67
|
+
if (isEnabled) {
|
|
68
|
+
// New behavior path
|
|
69
|
+
} else {
|
|
70
|
+
// Control behavior path
|
|
71
|
+
}</code></pre>
|
|
72
|
+
|
|
73
|
+
<h2>Configuration</h2>
|
|
74
|
+
<table>
|
|
75
|
+
<tr><th>Variable</th><th>Purpose</th></tr>
|
|
76
|
+
<tr><td><code>GROWTHBOOK_API_HOST</code></td><td>GrowthBook API endpoint (self-hosted or cloud)</td></tr>
|
|
77
|
+
<tr><td><code>GROWTHBOOK_CLIENT_KEY</code></td><td>Client-side SDK key for feature flag access</td></tr>
|
|
78
|
+
<tr><td><code>GROWTHBOOK_FORCE_VARIATION</code></td><td>Force a specific variation for testing</td></tr>
|
|
79
|
+
</table>
|
|
80
|
+
|
|
81
|
+
<h2>How It Works</h2>
|
|
82
|
+
<ol>
|
|
83
|
+
<li>On startup, Clew initializes the GrowthBook SDK with the configured API host and client key</li>
|
|
84
|
+
<li>Feature definitions are fetched from the GrowthBook server and cached locally</li>
|
|
85
|
+
<li>Throughout the session, code checks feature flags using the cached evaluation function</li>
|
|
86
|
+
<li>Flag values are re-evaluated periodically or on explicit refresh</li>
|
|
87
|
+
<li>Experiment results are tracked and sent back to GrowthBook for statistical analysis</li>
|
|
88
|
+
<li>Forced variations can override normal bucket assignment for testing</li>
|
|
89
|
+
</ol>
|
|
90
|
+
|
|
91
|
+
<h2>Best Practices</h2>
|
|
92
|
+
<ul>
|
|
93
|
+
<li>Always provide a sensible default value (usually <code>false</code> for features not yet released)</li>
|
|
94
|
+
<li>Use descriptive, unique feature keys</li>
|
|
95
|
+
<li>Cache-aware design: do not rely on flag values being real-time; they are evaluated at session start</li>
|
|
96
|
+
<li>Clean up stale flags after experiments conclude</li>
|
|
97
|
+
</ul>
|
|
98
|
+
|
|
99
|
+
<footer class="footer">
|
|
100
|
+
<span>Clew Code 0.2.13 — Open Source</span>
|
|
101
|
+
<div class="footer-links">
|
|
102
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
103
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
104
|
+
</div>
|
|
105
|
+
</footer>
|
|
106
|
+
</main>
|
|
107
|
+
<nav class="toc-sidebar"></nav>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
<script src="../js/main.js"></script>
|
|
111
|
+
</body>
|
|
112
|
+
</html>
|
|
113
|
+
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="th">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>GrowthBook A/B Testing — Clew</title>
|
|
7
|
-
<meta name="description" content="ระบบ A/B testing ขà¸à¸‡ GrowthBook สำหรับ feature flags, à¸à¸²à¸£à¸—ดลà¸à¸‡, à¹à¸¥à¸°à¸à¸²à¸£à¹€à¸›à¸´à¸”ตัวà¹à¸šà¸šà¸„่à¸à¸¢à¹€à¸›à¹‡à¸™à¸„่à¸à¸¢à¹„ปใน Clew">
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
-
<link rel="stylesheet" href="../css/styles.css">
|
|
12
|
-
<link rel="icon" type="image/svg+xml" href="../assets/clew.svg">
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<header class="header"><div class="header-inner"><a href="../index.th.html" class="logo">
|
|
16
|
-
<span>Clew Code</span>
|
|
17
|
-
</a><nav class="header-nav"><a href="../index.th.html">หน้าà¹à¸£à¸</a><a href="../index.th.html#features">ฟีเจà¸à¸£à¹Œ</a><a href="../index.th.html#commands">คำสั่ง</a><a href="../quick-start.th.html" class="active">เà¸à¸à¸ªà¸²à¸£</a><a href="https://github.com/ClewCode/ClewCode" target="_blank">GitHub</a>
|
|
18
|
-
<div class="lang-wrap">
|
|
19
|
-
<button class="lang-btn">ðŸŒ</button>
|
|
20
|
-
<div class="lang-menu">
|
|
21
|
-
<a href="../../readme/README.zh.md">䏿–‡</a>
|
|
22
|
-
<a href="../../readme/README.th.md">ไทย</a>
|
|
23
|
-
<a href="../../readme/README.ja.md">日本語</a>
|
|
24
|
-
<a href="../../readme/README.ko.md">한êµì–´</a>
|
|
25
|
-
<a href="../../readme/README.es.md">Español</a>
|
|
26
|
-
<a href="../../readme/README.fr.md">Français</a>
|
|
27
|
-
<a href="../../readme/README.de.md">Deutsch</a>
|
|
28
|
-
<a href="../../readme/README.pt.md">Português</a>
|
|
29
|
-
<a href="../../readme/README.vi.md">Tiếng Việt</a>
|
|
30
|
-
<a href="../../readme/README.id.md">Bahasa Indonesia</a>
|
|
31
|
-
<a href="../../readme/README.ru.md">РуÑÑкий</a>
|
|
32
|
-
<a href="../../readme/README.hi.md">हिनà¥à¤¦à¥€</a>
|
|
33
|
-
<a href="growthbook-ab-testing.html">English</a>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</nav><button class="menu-btn" id="menuToggle" aria-label="เปิด/ปิดเมนู"><span></span><span></span><span></span></button></div></header>
|
|
37
|
-
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
38
|
-
<div class="content-wrap"><main class="content">
|
|
39
|
-
<div class="breadcrumbs"><a href="../index.th.html">หน้าà¹à¸£à¸</a><span class="sep">/</span><a href="../index.th.html#features">ภายใน</a><span class="sep">/</span><span>A/B Testing</span></div>
|
|
40
|
-
<h1>GrowthBook A/B Testing</h1>
|
|
41
|
-
<p class="section-subtitle">à¸à¸²à¸£à¸ˆà¸±à¸”à¸à¸²à¸£ feature flag à¹à¸¥à¸°à¸à¸²à¸£à¸—ดลà¸à¸‡à¸”้วย GrowthBook สำหรับà¸à¸²à¸£à¹€à¸›à¸´à¸”ตัวà¹à¸šà¸šà¸„่à¸à¸¢à¹€à¸›à¹‡à¸™à¸„่à¸à¸¢à¹„ป, à¸à¸²à¸£à¸—ดสà¸à¸š A/B, à¹à¸¥à¸°à¸à¸²à¸£à¸›à¸¥à¹ˆà¸à¸¢à¸Ÿà¸µà¹€à¸ˆà¸à¸£à¹Œà¹à¸šà¸šà¸à¸³à¸«à¸™à¸”เป้าหมาย</p>
|
|
42
|
-
|
|
43
|
-
<div class="callout callout-warn">
|
|
44
|
-
<strong>โครงสร้างพื้นà¸à¸²à¸™à¸ ายใน</strong>
|
|
45
|
-
à¸à¸²à¸£à¸£à¸§à¸¡ GrowthBook ใช้สำหรับ telemetry à¸à¸²à¸£à¸žà¸±à¸’นาผลิตภัณฑ์à¹à¸¥à¸°à¸à¸²à¸£à¸•ิดตามà¸à¸²à¸£à¸—ดลà¸à¸‡à¸‚à¸à¸‡ Clew เà¸à¸‡ ไม่ใช่ฟีเจà¸à¸£à¹Œà¸ªà¸³à¸«à¸£à¸±à¸šà¸œà¸¹à¹‰à¹ƒà¸Šà¹‰
|
|
46
|
-
</div>
|
|
47
|
-
|
|
48
|
-
<h2>ภาพรวม</h2>
|
|
49
|
-
<p>GrowthBook ให้บริà¸à¸²à¸£ feature flagging à¹à¸¥à¸° A/B testing ภายใน Clew รà¸à¸‡à¸£à¸±à¸šà¸à¸²à¸£à¹€à¸›à¸´à¸”ตัวฟีเจà¸à¸£à¹Œà¹ƒà¸«à¸¡à¹ˆà¹à¸šà¸šà¸„วบคุม, à¸à¸²à¸£à¸•ิดตามà¸à¸²à¸£à¸—ดลà¸à¸‡, à¹à¸¥à¸°à¸à¸²à¸£à¸›à¸¥à¹ˆà¸à¸¢à¸Ÿà¸µà¹€à¸ˆà¸à¸£à¹Œà¹à¸šà¸šà¸à¸³à¸«à¸™à¸”เป้าหมายตามà¸à¸¥à¸¸à¹ˆà¸¡à¸œà¸¹à¹‰à¹ƒà¸Šà¹‰</p>
|
|
50
|
-
|
|
51
|
-
<h2>สถาปัตยà¸à¸£à¸£à¸¡</h2>
|
|
52
|
-
<ul>
|
|
53
|
-
<li><strong>Feature Flags</strong> — ประเภท Boolean, string, number, à¹à¸¥à¸° JSON ที่ประเมินในเครื่à¸à¸‡</li>
|
|
54
|
-
<li><strong>à¸à¸²à¸£à¸—ดลà¸à¸‡</strong> — à¸à¸²à¸£à¸—ดสà¸à¸š A/B หลายรูปà¹à¸šà¸šà¸žà¸£à¹‰à¸à¸¡à¸à¸²à¸£à¸•ิดตามทางสถิติ</li>
|
|
55
|
-
<li><strong>Forced Variations</strong> — à¹à¸—นที่ค่า flag สำหรับà¸à¸²à¸£à¸—ดสà¸à¸šà¹à¸¥à¸°à¸”ีบัà¸</li>
|
|
56
|
-
<li><strong>Sticky Bucketing</strong> — ประสบà¸à¸²à¸£à¸“์ผู้ใช้ที่สà¸à¸”คล้à¸à¸‡à¸‚้ามเซสชัน</li>
|
|
57
|
-
<li><strong>Local Caching</strong> — คำจำà¸à¸±à¸”ความขà¸à¸‡à¸Ÿà¸µà¹€à¸ˆà¸à¸£à¹Œà¸–ูà¸à¹à¸„ชหลังจาà¸à¸à¸²à¸£à¸”ึงครั้งà¹à¸£à¸</li>
|
|
58
|
-
</ul>
|
|
59
|
-
|
|
60
|
-
<h2>à¸à¸²à¸£à¸•ั้งค่า</h2>
|
|
61
|
-
<table>
|
|
62
|
-
<tr><th>ตัวà¹à¸›à¸£</th><th>วัตถุประสงค์</th></tr>
|
|
63
|
-
<tr><td><code>GROWTHBOOK_API_HOST</code></td><td>GrowthBook API endpoint</td></tr>
|
|
64
|
-
<tr><td><code>GROWTHBOOK_CLIENT_KEY</code></td><td>คีย์ SDK à¸à¸±à¹ˆà¸‡à¹„คลเà¸à¸™à¸•์</td></tr>
|
|
65
|
-
</table>
|
|
66
|
-
|
|
67
|
-
<footer class="footer">
|
|
68
|
-
<span>Clew Code
|
|
69
|
-
<div class="footer-links">
|
|
70
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
71
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
72
|
-
</div>
|
|
73
|
-
</footer>
|
|
74
|
-
</main>
|
|
75
|
-
<nav class="toc-sidebar"></nav>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
<script src="../js/main.js"></script>
|
|
79
|
-
</body>
|
|
80
|
-
</html>
|
|
81
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="th">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>GrowthBook A/B Testing — Clew</title>
|
|
7
|
+
<meta name="description" content="ระบบ A/B testing ขà¸à¸‡ GrowthBook สำหรับ feature flags, à¸à¸²à¸£à¸—ดลà¸à¸‡, à¹à¸¥à¸°à¸à¸²à¸£à¹€à¸›à¸´à¸”ตัวà¹à¸šà¸šà¸„่à¸à¸¢à¹€à¸›à¹‡à¸™à¸„่à¸à¸¢à¹„ปใน Clew">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
+
<link rel="stylesheet" href="../css/styles.css">
|
|
12
|
+
<link rel="icon" type="image/svg+xml" href="../assets/clew.svg">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<header class="header"><div class="header-inner"><a href="../index.th.html" class="logo">
|
|
16
|
+
<span>Clew Code</span>
|
|
17
|
+
</a><nav class="header-nav"><a href="../index.th.html">หน้าà¹à¸£à¸</a><a href="../index.th.html#features">ฟีเจà¸à¸£à¹Œ</a><a href="../index.th.html#commands">คำสั่ง</a><a href="../quick-start.th.html" class="active">เà¸à¸à¸ªà¸²à¸£</a><a href="https://github.com/ClewCode/ClewCode" target="_blank">GitHub</a>
|
|
18
|
+
<div class="lang-wrap">
|
|
19
|
+
<button class="lang-btn">ðŸŒ</button>
|
|
20
|
+
<div class="lang-menu">
|
|
21
|
+
<a href="../../readme/README.zh.md">䏿–‡</a>
|
|
22
|
+
<a href="../../readme/README.th.md">ไทย</a>
|
|
23
|
+
<a href="../../readme/README.ja.md">日本語</a>
|
|
24
|
+
<a href="../../readme/README.ko.md">한êµì–´</a>
|
|
25
|
+
<a href="../../readme/README.es.md">Español</a>
|
|
26
|
+
<a href="../../readme/README.fr.md">Français</a>
|
|
27
|
+
<a href="../../readme/README.de.md">Deutsch</a>
|
|
28
|
+
<a href="../../readme/README.pt.md">Português</a>
|
|
29
|
+
<a href="../../readme/README.vi.md">Tiếng Việt</a>
|
|
30
|
+
<a href="../../readme/README.id.md">Bahasa Indonesia</a>
|
|
31
|
+
<a href="../../readme/README.ru.md">РуÑÑкий</a>
|
|
32
|
+
<a href="../../readme/README.hi.md">हिनà¥à¤¦à¥€</a>
|
|
33
|
+
<a href="growthbook-ab-testing.html">English</a>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</nav><button class="menu-btn" id="menuToggle" aria-label="เปิด/ปิดเมนู"><span></span><span></span><span></span></button></div></header>
|
|
37
|
+
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
38
|
+
<div class="content-wrap"><main class="content">
|
|
39
|
+
<div class="breadcrumbs"><a href="../index.th.html">หน้าà¹à¸£à¸</a><span class="sep">/</span><a href="../index.th.html#features">ภายใน</a><span class="sep">/</span><span>A/B Testing</span></div>
|
|
40
|
+
<h1>GrowthBook A/B Testing</h1>
|
|
41
|
+
<p class="section-subtitle">à¸à¸²à¸£à¸ˆà¸±à¸”à¸à¸²à¸£ feature flag à¹à¸¥à¸°à¸à¸²à¸£à¸—ดลà¸à¸‡à¸”้วย GrowthBook สำหรับà¸à¸²à¸£à¹€à¸›à¸´à¸”ตัวà¹à¸šà¸šà¸„่à¸à¸¢à¹€à¸›à¹‡à¸™à¸„่à¸à¸¢à¹„ป, à¸à¸²à¸£à¸—ดสà¸à¸š A/B, à¹à¸¥à¸°à¸à¸²à¸£à¸›à¸¥à¹ˆà¸à¸¢à¸Ÿà¸µà¹€à¸ˆà¸à¸£à¹Œà¹à¸šà¸šà¸à¸³à¸«à¸™à¸”เป้าหมาย</p>
|
|
42
|
+
|
|
43
|
+
<div class="callout callout-warn">
|
|
44
|
+
<strong>โครงสร้างพื้นà¸à¸²à¸™à¸ ายใน</strong>
|
|
45
|
+
à¸à¸²à¸£à¸£à¸§à¸¡ GrowthBook ใช้สำหรับ telemetry à¸à¸²à¸£à¸žà¸±à¸’นาผลิตภัณฑ์à¹à¸¥à¸°à¸à¸²à¸£à¸•ิดตามà¸à¸²à¸£à¸—ดลà¸à¸‡à¸‚à¸à¸‡ Clew เà¸à¸‡ ไม่ใช่ฟีเจà¸à¸£à¹Œà¸ªà¸³à¸«à¸£à¸±à¸šà¸œà¸¹à¹‰à¹ƒà¸Šà¹‰
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<h2>ภาพรวม</h2>
|
|
49
|
+
<p>GrowthBook ให้บริà¸à¸²à¸£ feature flagging à¹à¸¥à¸° A/B testing ภายใน Clew รà¸à¸‡à¸£à¸±à¸šà¸à¸²à¸£à¹€à¸›à¸´à¸”ตัวฟีเจà¸à¸£à¹Œà¹ƒà¸«à¸¡à¹ˆà¹à¸šà¸šà¸„วบคุม, à¸à¸²à¸£à¸•ิดตามà¸à¸²à¸£à¸—ดลà¸à¸‡, à¹à¸¥à¸°à¸à¸²à¸£à¸›à¸¥à¹ˆà¸à¸¢à¸Ÿà¸µà¹€à¸ˆà¸à¸£à¹Œà¹à¸šà¸šà¸à¸³à¸«à¸™à¸”เป้าหมายตามà¸à¸¥à¸¸à¹ˆà¸¡à¸œà¸¹à¹‰à¹ƒà¸Šà¹‰</p>
|
|
50
|
+
|
|
51
|
+
<h2>สถาปัตยà¸à¸£à¸£à¸¡</h2>
|
|
52
|
+
<ul>
|
|
53
|
+
<li><strong>Feature Flags</strong> — ประเภท Boolean, string, number, à¹à¸¥à¸° JSON ที่ประเมินในเครื่à¸à¸‡</li>
|
|
54
|
+
<li><strong>à¸à¸²à¸£à¸—ดลà¸à¸‡</strong> — à¸à¸²à¸£à¸—ดสà¸à¸š A/B หลายรูปà¹à¸šà¸šà¸žà¸£à¹‰à¸à¸¡à¸à¸²à¸£à¸•ิดตามทางสถิติ</li>
|
|
55
|
+
<li><strong>Forced Variations</strong> — à¹à¸—นที่ค่า flag สำหรับà¸à¸²à¸£à¸—ดสà¸à¸šà¹à¸¥à¸°à¸”ีบัà¸</li>
|
|
56
|
+
<li><strong>Sticky Bucketing</strong> — ประสบà¸à¸²à¸£à¸“์ผู้ใช้ที่สà¸à¸”คล้à¸à¸‡à¸‚้ามเซสชัน</li>
|
|
57
|
+
<li><strong>Local Caching</strong> — คำจำà¸à¸±à¸”ความขà¸à¸‡à¸Ÿà¸µà¹€à¸ˆà¸à¸£à¹Œà¸–ูà¸à¹à¸„ชหลังจาà¸à¸à¸²à¸£à¸”ึงครั้งà¹à¸£à¸</li>
|
|
58
|
+
</ul>
|
|
59
|
+
|
|
60
|
+
<h2>à¸à¸²à¸£à¸•ั้งค่า</h2>
|
|
61
|
+
<table>
|
|
62
|
+
<tr><th>ตัวà¹à¸›à¸£</th><th>วัตถุประสงค์</th></tr>
|
|
63
|
+
<tr><td><code>GROWTHBOOK_API_HOST</code></td><td>GrowthBook API endpoint</td></tr>
|
|
64
|
+
<tr><td><code>GROWTHBOOK_CLIENT_KEY</code></td><td>คีย์ SDK à¸à¸±à¹ˆà¸‡à¹„คลเà¸à¸™à¸•์</td></tr>
|
|
65
|
+
</table>
|
|
66
|
+
|
|
67
|
+
<footer class="footer">
|
|
68
|
+
<span>Clew Code 0.2.13 — โà¸à¹€à¸žà¸™à¸‹à¸à¸£à¹Œà¸ª</span>
|
|
69
|
+
<div class="footer-links">
|
|
70
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
71
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
72
|
+
</div>
|
|
73
|
+
</footer>
|
|
74
|
+
</main>
|
|
75
|
+
<nav class="toc-sidebar"></nav>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
<script src="../js/main.js"></script>
|
|
79
|
+
</body>
|
|
80
|
+
</html>
|
|
81
|
+
|