Skip to content

toolmark-monorepo / @toolmark/judge-typesafe / TypesafeJudgeOptions

Interface: TypesafeJudgeOptions ​

Defined in: packages/judge-typesafe/src/index.ts:24

Options for typesafeJudge.

Properties ​

apiKey? ​

optional apiKey?: string

Defined in: packages/judge-typesafe/src/index.ts:26

TypeSafe API key. Falls back to process.env.TYPESAFE_API_KEY.


fetch? ​

optional fetch?: (input, init?) => Promise<Response>

Defined in: packages/judge-typesafe/src/index.ts:45

Custom fetch, forwarded to TypeSafeClient (tests; alternate transports).

Parameters ​

input ​

string

init? ​

RequestInit

Returns ​

Promise<Response>


hintThreshold? ​

optional hintThreshold?: number

Defined in: packages/judge-typesafe/src/index.ts:30

noul probability floor above which a non-hinted tool gets judge/consequential-hint. Default 0.85.


maxPairs? ​

optional maxPairs?: number

Defined in: packages/judge-typesafe/src/index.ts:34

Maximum overlap pairs checked per page; the rest are reported as judge/overlap-truncated. Default 200.


model? ​

optional model?: string

Defined in: packages/judge-typesafe/src/index.ts:38

Model override forwarded to systemOne. Default: the SDK's own default model.


overlapThreshold? ​

optional overlapThreshold?: number

Defined in: packages/judge-typesafe/src/index.ts:32

noul probability floor above which a tool pair gets judge/overlap. Default 0.8.


pageTimeoutMs? ​

optional pageTimeoutMs?: number

Defined in: packages/judge-typesafe/src/index.ts:43

Overall time bound for one page's requests (all chunks and retries), in milliseconds. When it elapses the page gets one judge/timeout warning instead of findings. Default 120000.


qualityThreshold? ​

optional qualityThreshold?: number

Defined in: packages/judge-typesafe/src/index.ts:28

Expected-score floor (0-indexed rubric) below which a description gets judge/description-quality. Default 1.5.


strictHints? ​

optional strictHints?: boolean

Defined in: packages/judge-typesafe/src/index.ts:36

When true, judge/consequential-hint findings are error instead of warn. Default false.