tpmjs/packages/tools/official/permutation-test/package.json
Ajax Davis 5926373be6 chore: update ai package to 6.0.49 across all packages
- Updated all packages from ai@6.0.23 to ai@6.0.49
- Added pnpm override to ensure consistent version
- Created changeset for publishing affected packages
2026-01-25 11:33:03 +10:00

82 lines
1.9 KiB
JSON

{
"name": "@tpmjs/tools-permutation-test",
"version": "0.2.0",
"description": "Perform permutation test for difference in means between two groups",
"type": "module",
"keywords": [
"tpmjs",
"statistics",
"ai",
"permutation-test",
"hypothesis-testing"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist .turbo"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/anthropics/tpmjs.git",
"directory": "packages/tools/official/permutation-test"
},
"homepage": "https://tpmjs.com",
"license": "MIT",
"tpmjs": {
"category": "statistics",
"frameworks": [
"vercel-ai"
],
"tools": [
{
"name": "permutationTestTool",
"description": "Perform permutation test for difference in means between two groups",
"parameters": [
{
"name": "group1",
"type": "number[]",
"description": "First group of numeric values",
"required": true
},
{
"name": "group2",
"type": "number[]",
"description": "Second group of numeric values",
"required": true
},
{
"name": "iterations",
"type": "number",
"description": "Number of permutations (default: 10000)",
"required": false
}
],
"returns": {
"type": "PermutationTestResult",
"description": "Object with pValue, observedDiff, significant status, and metadata"
}
}
]
},
"dependencies": {
"ai": "6.0.49"
}
}