toolmark-monorepo / @toolmark/judge-typesafe / TypesafeJudgeOptions
Interface: TypesafeJudgeOptions
Defined in: packages/judge-typesafe/src/index.ts:24
Options for typesafeJudge.
Properties
apiKey?
optionalapiKey?:string
Defined in: packages/judge-typesafe/src/index.ts:26
TypeSafe API key. Falls back to process.env.TYPESAFE_API_KEY.
fetch?
optionalfetch?: (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?
optionalhintThreshold?: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?
optionalmaxPairs?: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?
optionalmodel?:string
Defined in: packages/judge-typesafe/src/index.ts:38
Model override forwarded to systemOne. Default: the SDK's own default model.
overlapThreshold?
optionaloverlapThreshold?: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?
optionalpageTimeoutMs?: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?
optionalqualityThreshold?: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?
optionalstrictHints?:boolean
Defined in: packages/judge-typesafe/src/index.ts:36
When true, judge/consequential-hint findings are error instead of warn. Default false.