@eyeoverthink/sva-gate 1.0.0 → 2.0.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/README.md +143 -132
- package/bin/sva-gate.js +172 -153
- package/package.json +78 -63
- package/src/index.d.ts +136 -96
- package/src/index.js +47 -46
- package/src/lib/binder-induction.d.ts +14 -0
- package/src/lib/judge-verify.d.ts +15 -0
- package/src/mcp-server.d.ts +7 -0
- package/src/mcp-server.js +268 -264
- package/src/membrane.d.ts +14 -0
- package/src/receipt.d.ts +20 -0
- package/src/receipt.js +412 -341
package/package.json
CHANGED
|
@@ -1,63 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@eyeoverthink/sva-gate",
|
|
3
|
-
"version": "
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "Zero-dependency 3-layer verification SDK, CLI, and stdio MCP server for AI agents: SVA-ER/1 & IETF AER-1 receipts, OPEG/1 execution gates, StreamSealGuard split-token privacy membrane, SVA-JEV/1 calibrated epistemic judge, and zero-LLM skill crystallization.",
|
|
6
|
-
"license": "Apache-2.0",
|
|
7
|
-
"main": "./src/index.js",
|
|
8
|
-
"types": "./src/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./src/index.d.ts",
|
|
12
|
-
"import": "./src/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./receipt":
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"./
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"mcp"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
],
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
}
|
|
63
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@eyeoverthink/sva-gate",
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Zero-dependency 3-layer verification SDK, CLI, and stdio MCP server for AI agents: SVA-ER/1 & IETF AER-1 receipts, OPEG/1 execution gates, StreamSealGuard split-token privacy membrane, SVA-JEV/1 calibrated epistemic judge, and zero-LLM skill crystallization.",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"main": "./src/index.js",
|
|
8
|
+
"types": "./src/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./src/index.d.ts",
|
|
12
|
+
"import": "./src/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./receipt": {
|
|
15
|
+
"types": "./src/receipt.d.ts",
|
|
16
|
+
"import": "./src/receipt.js"
|
|
17
|
+
},
|
|
18
|
+
"./judge": {
|
|
19
|
+
"types": "./src/lib/judge-verify.d.ts",
|
|
20
|
+
"import": "./src/lib/judge-verify.js"
|
|
21
|
+
},
|
|
22
|
+
"./membrane": {
|
|
23
|
+
"types": "./src/membrane.d.ts",
|
|
24
|
+
"import": "./src/membrane.js"
|
|
25
|
+
},
|
|
26
|
+
"./skill": {
|
|
27
|
+
"types": "./src/lib/binder-induction.d.ts",
|
|
28
|
+
"import": "./src/lib/binder-induction.js"
|
|
29
|
+
},
|
|
30
|
+
"./mcp": {
|
|
31
|
+
"types": "./src/mcp-server.d.ts",
|
|
32
|
+
"import": "./src/mcp-server.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"bin": {
|
|
36
|
+
"sva-gate": "bin/sva-gate.js"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"bin/",
|
|
40
|
+
"src/",
|
|
41
|
+
"README.md",
|
|
42
|
+
"LICENSE"
|
|
43
|
+
],
|
|
44
|
+
"keywords": [
|
|
45
|
+
"mcp",
|
|
46
|
+
"mcp-server",
|
|
47
|
+
"ai-agents",
|
|
48
|
+
"sva-standard",
|
|
49
|
+
"sva-er-1",
|
|
50
|
+
"aer-1",
|
|
51
|
+
"opeg-1",
|
|
52
|
+
"sva-jev-1",
|
|
53
|
+
"ed25519",
|
|
54
|
+
"merkle",
|
|
55
|
+
"privacy-membrane",
|
|
56
|
+
"llm-judge",
|
|
57
|
+
"zero-dependency"
|
|
58
|
+
],
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/eyeoverthink/sva-gate.git"
|
|
62
|
+
},
|
|
63
|
+
"homepage": "https://eyeoverthink.github.io/sva-standard/",
|
|
64
|
+
"bugs": {
|
|
65
|
+
"url": "https://github.com/eyeoverthink/sva-gate/issues"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"test": "node --test \"test/*.test.js\"",
|
|
69
|
+
"mcp": "node ./bin/sva-gate.js mcp",
|
|
70
|
+
"self-test": "node ./bin/sva-gate.js self-test"
|
|
71
|
+
},
|
|
72
|
+
"publishConfig": {
|
|
73
|
+
"access": "public"
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=22.0.0"
|
|
77
|
+
}
|
|
78
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,96 +1,136 @@
|
|
|
1
|
-
export function canonical(value: unknown): string;
|
|
2
|
-
export function sha256Hex(data: string | Uint8Array): string;
|
|
3
|
-
export function isValidRfc3339(s: string): boolean;
|
|
4
|
-
|
|
5
|
-
export interface Ed25519Keypair {
|
|
6
|
-
publicKeyHex: string;
|
|
7
|
-
seedHex: string;
|
|
8
|
-
fxId: string;
|
|
9
|
-
privateKey: unknown;
|
|
10
|
-
publicKey: unknown;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function generateEd25519Keypair(): Ed25519Keypair;
|
|
14
|
-
export function keypairFromSeedHex(seedHex: string): Ed25519Keypair;
|
|
15
|
-
|
|
16
|
-
export interface MintOptions {
|
|
17
|
-
agencyName?: string;
|
|
18
|
-
missionId?: string;
|
|
19
|
-
rSan: Record<string, unknown>;
|
|
20
|
-
events?: Array<{ kind?: string; actor?: string; ts?: string; data?: Record<string, unknown> }>;
|
|
21
|
-
clockStatus?: 'attested' | 'drift' | 'unattested';
|
|
22
|
-
issuedAt?: string;
|
|
23
|
-
keypair?: Ed25519Keypair | null;
|
|
24
|
-
seedHex?: string | null;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface MintResult {
|
|
28
|
-
receipt: Record<string, unknown>;
|
|
29
|
-
deliverable: string;
|
|
30
|
-
opegEnvelope: Record<string, unknown>;
|
|
31
|
-
publicKeyHex: string;
|
|
32
|
-
fxId: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function mintSvaEr1(opts: MintOptions): MintResult;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export
|
|
46
|
-
ok: boolean;
|
|
47
|
-
outcome: 'verified' | 'verification_failed';
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export function
|
|
69
|
-
export
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
export function
|
|
80
|
-
|
|
81
|
-
export function
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
1
|
+
export function canonical(value: unknown): string;
|
|
2
|
+
export function sha256Hex(data: string | Uint8Array): string;
|
|
3
|
+
export function isValidRfc3339(s: string): boolean;
|
|
4
|
+
|
|
5
|
+
export interface Ed25519Keypair {
|
|
6
|
+
publicKeyHex: string;
|
|
7
|
+
seedHex: string;
|
|
8
|
+
fxId: string;
|
|
9
|
+
privateKey: unknown;
|
|
10
|
+
publicKey: unknown;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function generateEd25519Keypair(): Ed25519Keypair;
|
|
14
|
+
export function keypairFromSeedHex(seedHex: string): Ed25519Keypair;
|
|
15
|
+
|
|
16
|
+
export interface MintOptions {
|
|
17
|
+
agencyName?: string;
|
|
18
|
+
missionId?: string;
|
|
19
|
+
rSan: Record<string, unknown>;
|
|
20
|
+
events?: Array<{ kind?: string; actor?: string; ts?: string; data?: Record<string, unknown> }>;
|
|
21
|
+
clockStatus?: 'attested' | 'drift' | 'unattested';
|
|
22
|
+
issuedAt?: string;
|
|
23
|
+
keypair?: Ed25519Keypair | null;
|
|
24
|
+
seedHex?: string | null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface MintResult {
|
|
28
|
+
receipt: Record<string, unknown>;
|
|
29
|
+
deliverable: string;
|
|
30
|
+
opegEnvelope: Record<string, unknown>;
|
|
31
|
+
publicKeyHex: string;
|
|
32
|
+
fxId: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function mintSvaEr1(opts: MintOptions): MintResult;
|
|
36
|
+
|
|
37
|
+
/** Whose signature counts. Without expectedPublicKeys an intact receipt is 'integrity_only' (ok: false). */
|
|
38
|
+
export interface TrustOptions {
|
|
39
|
+
/** Hex Ed25519 public key(s) allowed to have signed. */
|
|
40
|
+
expectedPublicKeys?: string | string[] | null;
|
|
41
|
+
/** Accept any signer (1.x behaviour). Demos and migration only. */
|
|
42
|
+
allowUnpinned?: boolean;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface SvaEr1Outcome {
|
|
46
|
+
ok: boolean;
|
|
47
|
+
outcome: 'verified' | 'verification_failed' | 'rejected_malformed' | 'integrity_only' | 'untrusted_signer';
|
|
48
|
+
deliverable: 'verified' | 'not_checked' | 'verification_failed';
|
|
49
|
+
clock: 'attested' | 'drift' | 'unattested' | 'verification_failed';
|
|
50
|
+
signer?: string;
|
|
51
|
+
trust?: 'pinned' | 'unpinned' | 'rejected';
|
|
52
|
+
merkleEncoding?: 'rfc6962' | 'legacy-hex-text';
|
|
53
|
+
reason?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** True for the small-order Ed25519 public keys, which verify any message without a private key. */
|
|
57
|
+
export function isSmallOrderKey(publicKeyHex: string): boolean;
|
|
58
|
+
export function evaluateSvaEr1(input: { receipt: Record<string, unknown>; deliverable?: string | Record<string, unknown> | null } & TrustOptions): SvaEr1Outcome;
|
|
59
|
+
export function evaluateAer1V04(receipt: Record<string, unknown>, opts?: { allowUnpinned?: boolean }): {
|
|
60
|
+
ok: boolean;
|
|
61
|
+
outcome: 'verified' | 'verification_failed' | 'integrity_only';
|
|
62
|
+
clockAttestation: 'absent';
|
|
63
|
+
issuerKeyBinding: 'absent';
|
|
64
|
+
trust?: 'unsigned' | 'unpinned';
|
|
65
|
+
reason?: string;
|
|
66
|
+
payload?: Record<string, unknown>;
|
|
67
|
+
};
|
|
68
|
+
export function verifyAnyReceipt(receipt: Record<string, unknown>, opts?: { deliverable?: string | Record<string, unknown> | null } & TrustOptions): Record<string, unknown>;
|
|
69
|
+
export function evaluateOpeg1(doc: Record<string, unknown>, opts?: TrustOptions): {
|
|
70
|
+
ok: boolean;
|
|
71
|
+
gate: 'pass' | 'blocked' | 'integrity_only';
|
|
72
|
+
receiptFormat: string;
|
|
73
|
+
reason?: string;
|
|
74
|
+
receiptOutcome: Record<string, unknown> | null;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export const JEV_SEMANTICS: 'stability-signal-not-correctness';
|
|
78
|
+
export const JEV_CHOICES: Set<'decide' | 'noise' | 'settled'>;
|
|
79
|
+
export function wilsonLower95(right: number, total: number, z?: number): number;
|
|
80
|
+
export function flatText(text: string): string;
|
|
81
|
+
export function extractFactualTerms(text: string): Set<string>;
|
|
82
|
+
export function evaluateSvaJev1(doc: Record<string, unknown>): { ok: boolean; mode: string; reason?: string; [k: string]: unknown };
|
|
83
|
+
|
|
84
|
+
export function detect(text: string, opts?: { terms?: string[] }): Array<{ type: string; value: string; start: number; end: number }>;
|
|
85
|
+
export class SealSession {
|
|
86
|
+
readonly size: number;
|
|
87
|
+
placeholder(type: string, value: string): string;
|
|
88
|
+
apply(text: string, findings: unknown[]): string;
|
|
89
|
+
values(): Array<{ type: string; value: string }>;
|
|
90
|
+
unseal(text: string, opts?: { json?: boolean }): string;
|
|
91
|
+
audit(outbound: string): { clean: boolean; leaks: string[] };
|
|
92
|
+
}
|
|
93
|
+
export class MembraneLeak extends Error {
|
|
94
|
+
leaks: string[];
|
|
95
|
+
constructor(leaks: string[], message?: string | null);
|
|
96
|
+
}
|
|
97
|
+
export const MEMBRANE_NOTE: string;
|
|
98
|
+
export const SECRET_PREFIXES: string[];
|
|
99
|
+
export function tailHoldLength(text: string): number;
|
|
100
|
+
export class StreamSealGuard {
|
|
101
|
+
session: SealSession;
|
|
102
|
+
constructor(opts?: { session?: SealSession | null; mode?: 'seal' | 'redact'; maxBuffer?: number });
|
|
103
|
+
push(chunk: string): string;
|
|
104
|
+
flush(): string;
|
|
105
|
+
}
|
|
106
|
+
export function scanInjection(text: string): { score: number; flags: string[]; suspicious: boolean };
|
|
107
|
+
export function stripHidden(text: string): string;
|
|
108
|
+
export function redactSecrets(text: string): string;
|
|
109
|
+
export function wrapUntrusted(
|
|
110
|
+
source: string,
|
|
111
|
+
content: string,
|
|
112
|
+
evidence?: { sha256: string; bytes: number } | null,
|
|
113
|
+
): { text: string; scan: { score: number; flags: string[]; suspicious: boolean } };
|
|
114
|
+
export function screenGoal(goal: string): {
|
|
115
|
+
ok: boolean;
|
|
116
|
+
reason?: string;
|
|
117
|
+
notes?: string[];
|
|
118
|
+
scan?: { score: number; flags: string[]; suspicious: boolean };
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export function induce(
|
|
122
|
+
pos: Array<{ task: string; input: Record<string, unknown> }>,
|
|
123
|
+
neg: Array<{ task: string }>,
|
|
124
|
+
skill: { params?: { properties?: Record<string, unknown> } },
|
|
125
|
+
): { spec?: Record<string, unknown>; error?: string };
|
|
126
|
+
export function leaveOneOut(
|
|
127
|
+
pos: Array<{ task: string; input: Record<string, unknown> }>,
|
|
128
|
+
neg: Array<{ task: string }>,
|
|
129
|
+
skill: { params?: { properties?: Record<string, unknown> } },
|
|
130
|
+
): Array<{ ok: boolean; [k: string]: unknown }>;
|
|
131
|
+
export function applySpec(spec: Record<string, unknown>, task: string): Record<string, unknown> | null;
|
|
132
|
+
export function novelWording(pos: Array<{ task: string }>, task: string): string[];
|
|
133
|
+
|
|
134
|
+
export const MCP_TOOLS: Array<{ name: string; description: string; inputSchema: Record<string, unknown> }>;
|
|
135
|
+
export function createMcpHandler(): (req: Record<string, unknown>) => Record<string, unknown> | null;
|
|
136
|
+
export function startStdioMcpServer(): void;
|
package/src/index.js
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
// @eyeoverthink/sva-gate — Zero-dependency 3-layer verification SDK for AI agents.
|
|
2
|
-
export {
|
|
3
|
-
canonical,
|
|
4
|
-
sha256Hex,
|
|
5
|
-
isValidRfc3339,
|
|
6
|
-
generateEd25519Keypair,
|
|
7
|
-
keypairFromSeedHex,
|
|
8
|
-
mintSvaEr1,
|
|
9
|
-
evaluateSvaEr1,
|
|
10
|
-
evaluateAer1V04,
|
|
11
|
-
verifyAnyReceipt,
|
|
12
|
-
evaluateOpeg1,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
// @eyeoverthink/sva-gate — Zero-dependency 3-layer verification SDK for AI agents.
|
|
2
|
+
export {
|
|
3
|
+
canonical,
|
|
4
|
+
sha256Hex,
|
|
5
|
+
isValidRfc3339,
|
|
6
|
+
generateEd25519Keypair,
|
|
7
|
+
keypairFromSeedHex,
|
|
8
|
+
mintSvaEr1,
|
|
9
|
+
evaluateSvaEr1,
|
|
10
|
+
evaluateAer1V04,
|
|
11
|
+
verifyAnyReceipt,
|
|
12
|
+
evaluateOpeg1,
|
|
13
|
+
isSmallOrderKey,
|
|
14
|
+
} from './receipt.js';
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
detect,
|
|
18
|
+
SealSession,
|
|
19
|
+
MembraneLeak,
|
|
20
|
+
MEMBRANE_NOTE,
|
|
21
|
+
scanInjection,
|
|
22
|
+
stripHidden,
|
|
23
|
+
redactSecrets,
|
|
24
|
+
wrapUntrusted,
|
|
25
|
+
screenGoal,
|
|
26
|
+
StreamSealGuard,
|
|
27
|
+
tailHoldLength,
|
|
28
|
+
SECRET_PREFIXES,
|
|
29
|
+
} from './membrane.js';
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
JEV_SEMANTICS,
|
|
33
|
+
JEV_CHOICES,
|
|
34
|
+
wilsonLower95,
|
|
35
|
+
flatText,
|
|
36
|
+
extractFactualTerms,
|
|
37
|
+
evaluateSvaJev1,
|
|
38
|
+
} from './lib/judge-verify.js';
|
|
39
|
+
|
|
40
|
+
export {
|
|
41
|
+
induce,
|
|
42
|
+
leaveOneOut,
|
|
43
|
+
applySpec,
|
|
44
|
+
novelWording,
|
|
45
|
+
} from './lib/binder-induction.js';
|
|
46
|
+
|
|
47
|
+
export { createMcpHandler, MCP_TOOLS, startStdioMcpServer } from './mcp-server.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export {
|
|
2
|
+
induce,
|
|
3
|
+
leaveOneOut,
|
|
4
|
+
applySpec,
|
|
5
|
+
novelWording,
|
|
6
|
+
} from '../index.js';
|
|
7
|
+
|
|
8
|
+
export function numberTokens(task: string): Array<Record<string, unknown>>;
|
|
9
|
+
export const shapeOf: (toks: Array<{ kind: string }>) => string;
|
|
10
|
+
export function questionWords(task: string): string[];
|
|
11
|
+
export function learnBlocks(pos: Array<{ task: string }>, neg: Array<{ task: string }>): unknown[];
|
|
12
|
+
export function contested(pos: Array<{ task: string }>, task: string): boolean;
|
|
13
|
+
export function wordingOf(task: string, kinds: string[]): string;
|
|
14
|
+
export function compileSpec(spec: Record<string, unknown>): (task: string) => Record<string, unknown> | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export {
|
|
2
|
+
JEV_SEMANTICS,
|
|
3
|
+
JEV_CHOICES,
|
|
4
|
+
wilsonLower95,
|
|
5
|
+
flatText,
|
|
6
|
+
extractFactualTerms,
|
|
7
|
+
evaluateSvaJev1,
|
|
8
|
+
} from '../index.js';
|
|
9
|
+
|
|
10
|
+
export const MIN_CALIBRATION_SAMPLES: number;
|
|
11
|
+
export const CALIBRATION_BASELINE: number;
|
|
12
|
+
export const MIN_RECALL: number;
|
|
13
|
+
export const VOTE_THRESHOLD: number;
|
|
14
|
+
export const MIN_INDEPENDENT_VOTERS: number;
|
|
15
|
+
export const MIN_QUOTE_CHARS: number;
|