accuracy-claim-kit 0.0.0-stage → 0.1.0

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/package.json CHANGED
@@ -1,6 +1,78 @@
1
1
  {
2
2
  "name": "accuracy-claim-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Does this accuracy or error-rate number have the evidence to carry it? Wilson intervals, inter-rater agreement (percent agreement, Cohen's kappa, Gwet's AC1) and a refuse-or-judge verdict on a claimed figure, computed from caller-supplied counts. Zero-dependency, offline TypeScript.",
5
+ "keywords": [
6
+ "accuracy",
7
+ "error-rate",
8
+ "wilson-interval",
9
+ "confidence-interval",
10
+ "inter-rater-agreement",
11
+ "cohens-kappa",
12
+ "gwet-ac1",
13
+ "claim-verification",
14
+ "honesty",
15
+ "ci",
16
+ "substantiation",
17
+ "ai-evaluation",
18
+ "benchmark",
19
+ "error-bars",
20
+ "statistics",
21
+ "typescript",
22
+ "honesty-kits"
23
+ ],
24
+ "author": "Lucas Kopietz",
25
+ "license": "MIT",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/lkopietz3-byte/accuracy-claim-kit.git"
29
+ },
30
+ "homepage": "https://github.com/lkopietz3-byte/accuracy-claim-kit#readme",
31
+ "bugs": {
32
+ "url": "https://github.com/lkopietz3-byte/accuracy-claim-kit/issues"
33
+ },
34
+ "type": "module",
35
+ "main": "./dist/index.js",
36
+ "types": "./dist/index.d.ts",
37
+ "exports": {
38
+ ".": {
39
+ "types": "./dist/index.d.ts",
40
+ "import": "./dist/index.js",
41
+ "default": "./dist/index.js"
42
+ }
43
+ },
44
+ "sideEffects": false,
45
+ "files": [
46
+ "dist",
47
+ "README.md",
48
+ "METHOD.md",
49
+ "LICENSE",
50
+ "CHANGELOG.md"
51
+ ],
52
+ "engines": {
53
+ "node": ">=20"
54
+ },
55
+ "scripts": {
56
+ "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
57
+ "typecheck": "tsc --noEmit",
58
+ "test": "vitest run",
59
+ "prepare": "npm run build",
60
+ "lint": "eslint . --max-warnings=0",
61
+ "audit:dependencies": "npm audit --package-lock-only --include=dev --ignore-scripts --audit-level=low",
62
+ "verify:package": "node scripts/verify-package.mjs",
63
+ "attw": "attw --pack . --ignore-rules cjs-resolves-to-esm",
64
+ "bench": "npm run build && python3 -I bench/fda/build.py && node bench/run.mjs && node bench/heuristics.mjs && python3 -I bench/holdout/hand_labels.py --check && node bench/holdout/run.mjs",
65
+ "verify": "npm run lint && npm run typecheck && npm test && npm run build && npm run verify:package",
66
+ "prepublishOnly": "npm run verify"
67
+ },
68
+ "devDependencies": {
69
+ "@arethetypeswrong/cli": "0.18.5",
70
+ "@eslint/js": "10.0.1",
71
+ "eslint": "10.15.0",
72
+ "globals": "17.12.0",
73
+ "typescript": "^5.6.0",
74
+ "typescript-eslint": "8.73.0",
75
+ "vite": "7.3.8",
76
+ "vitest": "4.1.12"
77
+ }
78
+ }