abtestresult-mcp 1.3.0 → 1.3.1
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34853,7 +34853,7 @@ function trackToolUsage(toolName) {
|
|
|
34853
34853
|
}
|
|
34854
34854
|
var server = new McpServer({
|
|
34855
34855
|
name: "ABTestResult",
|
|
34856
|
-
version: "1.3.
|
|
34856
|
+
version: "1.3.1",
|
|
34857
34857
|
description: "Statistical tools for A/B testing \u2014 significance testing, sample size calculation, Bayesian analysis, and more. Powered by abtestresult.com"
|
|
34858
34858
|
});
|
|
34859
34859
|
var SITE_URL = (process.env.ABTESTRESULT_BASE_URL || "https://abtestresult.com").replace(/\/+$/, "");
|
|
@@ -35559,11 +35559,11 @@ function invitationEstimate(sampleSize, population, responseRatePercent) {
|
|
|
35559
35559
|
}
|
|
35560
35560
|
function formatPValue(p) {
|
|
35561
35561
|
if (!isFinite(p)) return "n/a";
|
|
35562
|
-
return p < 1e-4 ? "
|
|
35562
|
+
return p < 1e-4 ? "\u2248 0" : String(round(p, 4));
|
|
35563
35563
|
}
|
|
35564
35564
|
function formatPValueEq(p) {
|
|
35565
35565
|
const display = formatPValue(p);
|
|
35566
|
-
return display.startsWith("
|
|
35566
|
+
return display.startsWith("\u2248") ? `p ${display}` : `p = ${display}`;
|
|
35567
35567
|
}
|
|
35568
35568
|
function roundPValue(p) {
|
|
35569
35569
|
if (!isFinite(p)) return 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abtestresult-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "MCP server for A/B test statistical analysis — significance testing, sample size calculation, Bayesian analysis, and more",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|