dsh-model-think-level 2.0.0 → 2.0.2
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/LICENSE +13 -0
- package/assets/NOTICE.md +15 -0
- package/assets/unified_bank.json +32910 -0
- package/lib/client/EffortEditor.d.ts +22 -15
- package/lib/client/FingerprintPane.d.ts +36 -0
- package/lib/client/capacity.d.ts +30 -0
- package/lib/client/fingerprint-client.d.ts +81 -0
- package/lib/client/fingerprint-runner.d.ts +61 -0
- package/lib/client/index.d.ts +6 -0
- package/lib/client/injection/create-key-seat.d.ts +4 -5
- package/lib/client/injection/editor-tab-bar.d.ts +2 -1
- package/lib/client/injection/editor-tabs.d.ts +11 -1
- package/lib/client/injection/key-reveal.d.ts +12 -0
- package/lib/client/injection/models-page-editor.d.ts +82 -1
- package/lib/client/injection/provider-card-slot.d.ts +3 -1
- package/lib/client/locales.d.ts +32 -0
- package/lib/client/ops.d.ts +4 -0
- package/lib/client/refresh-scheduler.d.ts +29 -0
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/types.d.ts +9 -0
- package/lib/client.js +674 -182
- package/lib/client.js.map +4 -4
- package/lib/constants.d.ts +11 -0
- package/lib/fingerprint/bank.d.ts +24 -0
- package/lib/fingerprint/challenges.d.ts +14 -0
- package/lib/fingerprint/core.d.ts +85 -0
- package/lib/fingerprint/eligibility.d.ts +8 -0
- package/lib/fingerprint/random.d.ts +4 -0
- package/lib/fingerprint/run.d.ts +110 -0
- package/lib/fingerprint/store.d.ts +31 -0
- package/lib/fingerprint/verdict.d.ts +64 -0
- package/lib/index.js +1012 -50
- package/lib/index.js.map +4 -4
- package/package.json +13 -5
package/lib/constants.d.ts
CHANGED
|
@@ -57,6 +57,17 @@ export declare const AUTOFILL_CONFIG_PATH = "/dsh-model-think-level/autofill-con
|
|
|
57
57
|
* cannot observe it on its own.
|
|
58
58
|
*/
|
|
59
59
|
export declare const HEADERS_CONFIG_PATH = "/dsh-model-think-level/headers-config";
|
|
60
|
+
/**
|
|
61
|
+
* Same-origin host route owning model fingerprint attribution (ModelTrace).
|
|
62
|
+
*
|
|
63
|
+
* Three verbs on one path: `GET` returns the stored records for one provider
|
|
64
|
+
* plus the bank summary the page needs to label families; `POST` runs one
|
|
65
|
+
* model's three challenges and stores the verdict; `DELETE` forgets one model.
|
|
66
|
+
* The attribution itself is `src/fingerprint/`, a pure port of ModelTrace's
|
|
67
|
+
* `fingerprint-core.js` over a vendored bank -- so this route only does the
|
|
68
|
+
* plumbing: run challenges through the llm service, parse, store.
|
|
69
|
+
*/
|
|
70
|
+
export declare const FINGERPRINT_PATH = "/dsh-model-think-level/fingerprint";
|
|
60
71
|
/** The settings namespace this plugin edits: pi-ai custom provider routes. */
|
|
61
72
|
export declare const PI_AI_NS = "llm-pi-ai";
|
|
62
73
|
/**
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type Bank } from './core.js';
|
|
2
|
+
export interface BankModelSummary {
|
|
3
|
+
id: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
family: string;
|
|
6
|
+
familyName: string;
|
|
7
|
+
}
|
|
8
|
+
export interface BankSummary {
|
|
9
|
+
builtAt: string;
|
|
10
|
+
schema: string;
|
|
11
|
+
models: BankModelSummary[];
|
|
12
|
+
families: Array<{
|
|
13
|
+
family: string;
|
|
14
|
+
name: string;
|
|
15
|
+
models: number;
|
|
16
|
+
}>;
|
|
17
|
+
recommendedQueries: number;
|
|
18
|
+
}
|
|
19
|
+
/** 只做形状校验并收窄成 `Bank`;不改任何数值。 */
|
|
20
|
+
export declare function parseBank(raw: unknown): Bank;
|
|
21
|
+
/** 同步读包内的指纹库。结果只解析一次。 */
|
|
22
|
+
export declare function loadBankSync(): Bank;
|
|
23
|
+
export declare function summarizeBank(bank: Bank): BankSummary;
|
|
24
|
+
export declare function bankBuiltAt(bank: Bank): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface Challenge {
|
|
2
|
+
id: string;
|
|
3
|
+
expected_count: number;
|
|
4
|
+
prompt: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function generateChallenges(count?: number): Challenge[];
|
|
7
|
+
/** 三题应答的最小有效数字个数:`max(80, ceil(expected * 0.55))`。 */
|
|
8
|
+
export declare function minimumNumbers(expectedCount: number): number;
|
|
9
|
+
export declare const CHALLENGE_TEXT: {
|
|
10
|
+
readonly openings: string[];
|
|
11
|
+
readonly actions: string[];
|
|
12
|
+
readonly endings: string[];
|
|
13
|
+
readonly separatorHints: string[];
|
|
14
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export declare const VALUE_MIN = 1;
|
|
2
|
+
export declare const VALUE_MAX = 355;
|
|
3
|
+
export declare const DIMENSION: number;
|
|
4
|
+
export declare const ALPHA = 0.5;
|
|
5
|
+
export declare const ORDERED_BLOCK_WEIGHT = 0.25;
|
|
6
|
+
/** 银行里的一位候选模型。`counts` 与 `DIMENSION` 等长。 */
|
|
7
|
+
export interface BankModel {
|
|
8
|
+
id: string;
|
|
9
|
+
display_name: string;
|
|
10
|
+
family: string;
|
|
11
|
+
family_name?: string;
|
|
12
|
+
counts: number[];
|
|
13
|
+
}
|
|
14
|
+
export interface BankArtifact {
|
|
15
|
+
feature_mean: number[];
|
|
16
|
+
feature_scale: number[];
|
|
17
|
+
nuisance_basis: number[][];
|
|
18
|
+
centroids: number[][];
|
|
19
|
+
weight?: number;
|
|
20
|
+
environment_centroids?: number[][][];
|
|
21
|
+
}
|
|
22
|
+
export interface Bank {
|
|
23
|
+
schema?: string;
|
|
24
|
+
built_at?: string;
|
|
25
|
+
method?: string;
|
|
26
|
+
recommended_queries?: number;
|
|
27
|
+
minimum_valid_numbers?: number;
|
|
28
|
+
models: BankModel[];
|
|
29
|
+
robust: {
|
|
30
|
+
model_order?: string[];
|
|
31
|
+
hellinger: BankArtifact;
|
|
32
|
+
ordered_blocks: BankArtifact;
|
|
33
|
+
};
|
|
34
|
+
calibration: Record<string, {
|
|
35
|
+
beta: number;
|
|
36
|
+
cv_accuracy: number;
|
|
37
|
+
}>;
|
|
38
|
+
}
|
|
39
|
+
export interface Output {
|
|
40
|
+
text: string;
|
|
41
|
+
expected_count: number;
|
|
42
|
+
}
|
|
43
|
+
export interface ResultRow {
|
|
44
|
+
model: string;
|
|
45
|
+
display_name: string;
|
|
46
|
+
probability: number;
|
|
47
|
+
profile_similarity: number;
|
|
48
|
+
score: number;
|
|
49
|
+
family: string;
|
|
50
|
+
family_name: string;
|
|
51
|
+
conditional_probability: number;
|
|
52
|
+
}
|
|
53
|
+
export interface Diagnostic {
|
|
54
|
+
index: number;
|
|
55
|
+
parsed_numbers: number;
|
|
56
|
+
minimum_numbers: number;
|
|
57
|
+
accepted: boolean;
|
|
58
|
+
}
|
|
59
|
+
export interface AttributionResult {
|
|
60
|
+
prediction: string;
|
|
61
|
+
prediction_name: string;
|
|
62
|
+
probability: number;
|
|
63
|
+
used_outputs: number;
|
|
64
|
+
results: ResultRow[];
|
|
65
|
+
diagnostics: Diagnostic[];
|
|
66
|
+
calibration: {
|
|
67
|
+
queries: number;
|
|
68
|
+
beta: number;
|
|
69
|
+
cv_accuracy: number;
|
|
70
|
+
};
|
|
71
|
+
family_prediction: string;
|
|
72
|
+
family_prediction_name: string;
|
|
73
|
+
family_probability: number;
|
|
74
|
+
family_probabilities: Array<{
|
|
75
|
+
family: string;
|
|
76
|
+
display_name: string;
|
|
77
|
+
probability: number;
|
|
78
|
+
}>;
|
|
79
|
+
method: string;
|
|
80
|
+
}
|
|
81
|
+
/** 三题全废时抛出,文案照抄上游,别改写。 */
|
|
82
|
+
export declare const NO_USABLE_OUTPUT = "\u6CA1\u6709\u53EF\u7528\u56DE\u7B54\uFF1A\u8BF7\u7C98\u8D34\u5B8C\u6574\u6570\u5B57\u5E8F\u5217\uFF1B\u62D2\u7B54\u6216\u4E25\u91CD\u622A\u65AD\u7684\u56DE\u7B54\u4E0D\u4F1A\u8BA1\u5165\u3002";
|
|
83
|
+
export declare function parseNumbers(text: string): number[];
|
|
84
|
+
export declare function countNumbers(numbers: number[]): number[];
|
|
85
|
+
export declare function analyzeGlobalOutputs(outputs: Output[], bank: Bank): AttributionResult;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** 取模型 id 里最后一个 `/` 之后的部分,兼容 `anthropic/claude-…` 这类带前缀的写法。 */
|
|
2
|
+
export declare function bareModelId(modelId: string): string;
|
|
3
|
+
/** 该模型是否能被当前指纹库判定。 */
|
|
4
|
+
export declare function isEligibleModel(modelId: string): boolean;
|
|
5
|
+
/** 从一串模型 id 里挑出可检测的那几个,保持原顺序。 */
|
|
6
|
+
export declare function eligibleModels<T extends string>(modelIds: readonly T[]): T[];
|
|
7
|
+
/** 面向用户的家族名,用于文案(「GPT 系列」/「Claude 系列」)。 */
|
|
8
|
+
export declare function familyLabelOf(modelId: string): string;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One fingerprint probe: ask one model one challenge, keep its visible answer.
|
|
3
|
+
*
|
|
4
|
+
* This is the only module that touches the harness `llm` service. Everything
|
|
5
|
+
* else in `src/fingerprint/` is pure or filesystem-only, so the whole
|
|
6
|
+
* attribution math stays testable without a live provider.
|
|
7
|
+
*
|
|
8
|
+
* The request shape is deliberately ModelTrace's: one bare user message, no
|
|
9
|
+
* system prompt, no tools. Two deviations are worth naming.
|
|
10
|
+
*
|
|
11
|
+
* - `reasoningEffort` is LEFT UNSET on purpose. ModelTrace calls a plain chat
|
|
12
|
+
* completion, so the measured behaviour is the model under its own default.
|
|
13
|
+
* Setting an explicit effort would ask a *different* model behaviour than the
|
|
14
|
+
* one the fingerprint bank was built from, and the wire vocabulary for "off"
|
|
15
|
+
* differs per provider (`none`, `minimal`, `null`, or a 400). The plugin's
|
|
16
|
+
* own default-guard may still materialize one, exactly as it would for a
|
|
17
|
+
* normal user message -- so the probe measures the model under the plugin's
|
|
18
|
+
* normal conditions.
|
|
19
|
+
* - Only `text-delta` chunks are collected. `reasoning-delta` is thinking, not
|
|
20
|
+
* the answer the challenge asks for, and feeding it to {@link parseNumbers}
|
|
21
|
+
* would pollute the distribution with whatever the model happened to reason
|
|
22
|
+
* about.
|
|
23
|
+
*
|
|
24
|
+
* @module dsh-model-think-level/fingerprint/run
|
|
25
|
+
*/
|
|
26
|
+
import type { Output } from './core.js';
|
|
27
|
+
/** The llm surface this probe drives: prepare, then dispatch once. */
|
|
28
|
+
export interface ProbeDispatch {
|
|
29
|
+
prepareCall(config: Record<string, unknown>, signal?: unknown): Promise<unknown>;
|
|
30
|
+
/**
|
|
31
|
+
* Runtime-level dispatch, used only when a prepared call carries no dispatch
|
|
32
|
+
* of its own. The harness's `PreparedLlmCall` owns `.stream`, which is the
|
|
33
|
+
* preferred half because it is the one that already holds the prepared call's
|
|
34
|
+
* auth and routing.
|
|
35
|
+
*/
|
|
36
|
+
stream?(options: Record<string, unknown>): AsyncIterable<unknown>;
|
|
37
|
+
}
|
|
38
|
+
/** What one challenge produced, accepted or not. */
|
|
39
|
+
export interface ProbeOutcome {
|
|
40
|
+
/** Zero-based challenge index, matching `generateChallenges` order. */
|
|
41
|
+
index: number;
|
|
42
|
+
/** Challenge id, e.g. `probe-1-9f2c41a7b03d12`. */
|
|
43
|
+
challengeId: string;
|
|
44
|
+
/** How many integers the challenge asked for. */
|
|
45
|
+
expectedCount: number;
|
|
46
|
+
/** Whether a model call completed and produced any visible text. */
|
|
47
|
+
ok: boolean;
|
|
48
|
+
/** Visible answer text; empty when `ok` is false. */
|
|
49
|
+
text: string;
|
|
50
|
+
/** Failure description, present only when `ok` is false. */
|
|
51
|
+
error?: string;
|
|
52
|
+
/** Why the stream stopped, when one was reported. */
|
|
53
|
+
finish?: string;
|
|
54
|
+
}
|
|
55
|
+
/** Everything one model's fingerprint run learned, ready for the bank. */
|
|
56
|
+
export interface ProbeRunResult {
|
|
57
|
+
/** Per challenge, in order. */
|
|
58
|
+
outcomes: ProbeOutcome[];
|
|
59
|
+
/** The accepted subset, ready for `analyzeGlobalOutputs`. */
|
|
60
|
+
outputs: Output[];
|
|
61
|
+
}
|
|
62
|
+
/** One challenge to put to the model. */
|
|
63
|
+
export interface ProbeChallenge {
|
|
64
|
+
id: string;
|
|
65
|
+
expected_count: number;
|
|
66
|
+
prompt: string;
|
|
67
|
+
}
|
|
68
|
+
/** Options for {@link runProbe}. */
|
|
69
|
+
export interface RunProbeOptions {
|
|
70
|
+
/** Registered provider route selecting the adapter. */
|
|
71
|
+
provider: string;
|
|
72
|
+
/** Exact model id. */
|
|
73
|
+
model: string;
|
|
74
|
+
/** Challenges to run, in order. */
|
|
75
|
+
challenges: readonly ProbeChallenge[];
|
|
76
|
+
/** The harness llm service. */
|
|
77
|
+
llm: ProbeDispatch;
|
|
78
|
+
/** Caller cancellation; combined with the per-probe timeout. */
|
|
79
|
+
signal?: AbortSignal;
|
|
80
|
+
/** Per-challenge timeout in milliseconds. Defaults to 120000. */
|
|
81
|
+
timeoutMs?: number;
|
|
82
|
+
/** Sampling cap for one answer. Defaults to 4000. */
|
|
83
|
+
maxTokens?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Called as each challenge settles, so a caller can stream progress. Fire
|
|
86
|
+
* order is completion order, which for parallel runs is not `index` order.
|
|
87
|
+
*/
|
|
88
|
+
onOutcome?: (outcome: ProbeOutcome) => void;
|
|
89
|
+
}
|
|
90
|
+
/** Default per-challenge timeout: two minutes is generous for 300 integers. */
|
|
91
|
+
export declare const DEFAULT_PROBE_TIMEOUT_MS = 120000;
|
|
92
|
+
/**
|
|
93
|
+
* Enough room for 292-332 integers plus whatever preamble the model refuses to
|
|
94
|
+
* drop. Parsed-count tolerance (55% of expected) means a truncated answer can
|
|
95
|
+
* still score, but a full run is strictly better.
|
|
96
|
+
*/
|
|
97
|
+
export declare const DEFAULT_PROBE_MAX_TOKENS = 4000;
|
|
98
|
+
/**
|
|
99
|
+
* Ask one model one challenge and keep its visible answer.
|
|
100
|
+
*
|
|
101
|
+
* Never throws for a provider-side failure: a rejected or empty answer comes
|
|
102
|
+
* back as an outcome with `ok: false`, because one dead challenge must not
|
|
103
|
+
* discard the two that worked. Throws only for programmer errors (no
|
|
104
|
+
* challenges) and for an `AbortSignal` that the *caller* cancelled -- an abort
|
|
105
|
+
* is a decision, not a result.
|
|
106
|
+
*
|
|
107
|
+
* @param options - the run.
|
|
108
|
+
* @returns every outcome in order, plus the accepted subset.
|
|
109
|
+
*/
|
|
110
|
+
export declare function runProbe(options: RunProbeOptions): Promise<ProbeRunResult>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type FingerprintRecord, type FingerprintStatus, type FingerprintTopEntry } from './verdict.js';
|
|
2
|
+
export { type FingerprintRecord, type FingerprintStatus, type FingerprintTopEntry };
|
|
3
|
+
export interface FingerprintDocument {
|
|
4
|
+
version: 1;
|
|
5
|
+
/** 银行的 built_at;换银行就整体失效。 */
|
|
6
|
+
bankBuiltAt: string;
|
|
7
|
+
records: Record<string, FingerprintRecord>;
|
|
8
|
+
}
|
|
9
|
+
export declare function emptyFingerprintStore(bankBuiltAt?: string): FingerprintDocument;
|
|
10
|
+
/** 记录键。`\u0000` 在模型 id 与供应商 id 里都不可能出现。 */
|
|
11
|
+
export declare function recordKeyOf(provider: string, model: string): string;
|
|
12
|
+
export declare function fingerprintFilePath(home?: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* 解析已解码的文档。永远不抛错:银行换了、文件被手改坏、条目形状不对,
|
|
15
|
+
* 代价最多是那一条被丢掉,不会让用户丢掉全部历史。
|
|
16
|
+
* @param raw - 解码后的 JSON 值。
|
|
17
|
+
* @param bankBuiltAt - 当前指纹库的 built_at;对不上就整体视为无历史。
|
|
18
|
+
*/
|
|
19
|
+
export declare function parseFingerprintStore(raw: unknown, bankBuiltAt?: string): FingerprintDocument;
|
|
20
|
+
/** 读结果库;只有文件不存在才返回空库。 */
|
|
21
|
+
export declare function readFingerprintStore(bankBuiltAt?: string, file?: string): FingerprintDocument;
|
|
22
|
+
/** 原子写库。 */
|
|
23
|
+
export declare function writeFingerprintStore(document: FingerprintDocument, file?: string): void;
|
|
24
|
+
/** 一次读-改-写。返回的就是落盘后的文档。 */
|
|
25
|
+
export declare function updateFingerprintStore(mutate: (document: FingerprintDocument) => FingerprintDocument, bankBuiltAt?: string, file?: string): FingerprintDocument;
|
|
26
|
+
/** 覆盖或新增一条记录。 */
|
|
27
|
+
export declare function withRecord(document: FingerprintDocument, record: FingerprintRecord): FingerprintDocument;
|
|
28
|
+
/** 删掉一条记录(供应商或模型被删掉时用)。 */
|
|
29
|
+
export declare function withoutRecord(document: FingerprintDocument, provider: string, model: string): FingerprintDocument;
|
|
30
|
+
/** 一个供应商下的全部记录。 */
|
|
31
|
+
export declare function providerRecords(document: FingerprintDocument, provider: string): FingerprintRecord[];
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { AttributionResult, ResultRow } from './core.js';
|
|
2
|
+
/** 落盘的三种状态。`running` 不落盘,只活在客户端 runner 里。 */
|
|
3
|
+
export type FingerprintStatus = 'identified' | 'doubtful' | 'failed';
|
|
4
|
+
/** 结果卡「前三候选」里的一条。 */
|
|
5
|
+
export interface FingerprintTopEntry {
|
|
6
|
+
model: string;
|
|
7
|
+
probability: number;
|
|
8
|
+
similarity: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 一个模型的一次检测结论,也是落盘的那一行。
|
|
12
|
+
*
|
|
13
|
+
* 这个形状放在这里而不是 store 里,是因为**前端画徽章要用它**:store 是
|
|
14
|
+
* Node-only(`node:fs`),浏览器只能从纯模块取形状。判据、结果条目、结果行
|
|
15
|
+
* 三者属于同一件事的三个面,拆开会各长各的。
|
|
16
|
+
*/
|
|
17
|
+
export interface FingerprintRecord {
|
|
18
|
+
provider: string;
|
|
19
|
+
model: string;
|
|
20
|
+
status: FingerprintStatus;
|
|
21
|
+
checkedAt: number;
|
|
22
|
+
usedOutputs: number;
|
|
23
|
+
/** 仅 identified / doubtful 有值。 */
|
|
24
|
+
prediction?: string;
|
|
25
|
+
predictionName?: string;
|
|
26
|
+
probability?: number;
|
|
27
|
+
familyPrediction?: string;
|
|
28
|
+
familyProbability?: number;
|
|
29
|
+
top?: FingerprintTopEntry[];
|
|
30
|
+
calibration?: {
|
|
31
|
+
queries: number;
|
|
32
|
+
cvAccuracy: number;
|
|
33
|
+
};
|
|
34
|
+
/** 仅 failed 有值,面向用户的失败原因。 */
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* `identified` 的概率下界。
|
|
39
|
+
*
|
|
40
|
+
* 库里 18 个候选的均匀先验是 5.6%,0.6 已经是压倒性的;低于它就说明几个候选
|
|
41
|
+
* 咬得很近,说「像」不负责任。
|
|
42
|
+
*/
|
|
43
|
+
export declare const IDENTIFIED_THRESHOLD = 0.6;
|
|
44
|
+
/** 出一个确定结论需要的完整题数。 */
|
|
45
|
+
export declare const FULL_RUN_QUERIES = 3;
|
|
46
|
+
/**
|
|
47
|
+
* 取概率最高的前几名候选,供结果卡画条形。
|
|
48
|
+
* @param rows - 已按概率降序排好的候选。
|
|
49
|
+
* @param limit - 取几名,默认 3。
|
|
50
|
+
* @returns 前 `limit` 条的模型 id、概率、相似度。
|
|
51
|
+
*/
|
|
52
|
+
export declare function topEntriesOf(rows: readonly ResultRow[], limit?: number): FingerprintTopEntry[];
|
|
53
|
+
/**
|
|
54
|
+
* 把一次归属结论定级。
|
|
55
|
+
*
|
|
56
|
+
* 两道闸:概率必须够高,而且三题必须都有效。1 题的交叉验证准确率只有
|
|
57
|
+
* 96.3%,不够撑一个确定结论 —— 所以有效题数不足一律降级为 `doubtful`,
|
|
58
|
+
* 哪怕那一题的概率是 0.99。
|
|
59
|
+
*
|
|
60
|
+
* @param attribution - `analyzeGlobalOutputs` 的结果;失败时传 null。
|
|
61
|
+
* @param usedOutputs - 有效题数。
|
|
62
|
+
* @returns 落盘与画徽章共用的状态。
|
|
63
|
+
*/
|
|
64
|
+
export declare function statusOf(attribution: AttributionResult | null, usedOutputs: number): FingerprintStatus;
|