@meridianlabs/log-viewer 0.3.251 → 0.3.253
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/lib/index.js +62409 -58575
- package/lib/index.js.map +1 -1
- package/lib/src/app/App.d.ts.map +1 -1
- package/lib/src/app/flow/hooks.d.ts +5 -3
- package/lib/src/app/flow/hooks.d.ts.map +1 -1
- package/lib/src/app/log-view/LogView.d.ts.map +1 -1
- package/lib/src/app/log-view/LogViewLayout.d.ts.map +1 -1
- package/lib/src/app/log-view/tabs/ConfigCard.d.ts +14 -0
- package/lib/src/app/log-view/tabs/ConfigCard.d.ts.map +1 -0
- package/lib/src/app/log-view/tabs/ModelsTab.d.ts +21 -2
- package/lib/src/app/log-view/tabs/ModelsTab.d.ts.map +1 -1
- package/lib/src/app/log-view/tabs/SamplesTab.d.ts.map +1 -1
- package/lib/src/app/log-view/tabs/TaskTab.d.ts +21 -2
- package/lib/src/app/log-view/tabs/TaskTab.d.ts.map +1 -1
- package/lib/src/app/log-view/tabs/timeline/HistoryList.d.ts +24 -0
- package/lib/src/app/log-view/tabs/timeline/HistoryList.d.ts.map +1 -0
- package/lib/src/app/log-view/tabs/timeline/TimelineChart.d.ts +32 -0
- package/lib/src/app/log-view/tabs/timeline/TimelineChart.d.ts.map +1 -0
- package/lib/src/app/log-view/tabs/timeline/TimelineTab.d.ts +572 -0
- package/lib/src/app/log-view/tabs/timeline/TimelineTab.d.ts.map +1 -0
- package/lib/src/app/log-view/tabs/timeline/timelineData.d.ts +158 -0
- package/lib/src/app/log-view/tabs/timeline/timelineData.d.ts.map +1 -0
- package/lib/src/app/log-view/title-view/CollapsedTitleBar.d.ts.map +1 -1
- package/lib/src/app/log-view/title-view/EditMetadataDialog.d.ts.map +1 -1
- package/lib/src/app/log-view/title-view/EditTagsDialog.d.ts.map +1 -1
- package/lib/src/app/log-view/title-view/PrimaryBar.d.ts.map +1 -1
- package/lib/src/app/log-view/title-view/SecondaryBar.d.ts.map +1 -1
- package/lib/src/app/log-view/useShowTimeline.d.ts +24 -0
- package/lib/src/app/log-view/useShowTimeline.d.ts.map +1 -0
- package/lib/src/app/routing/AppRouter.d.ts +1 -1
- package/lib/src/app/routing/AppRouter.d.ts.map +1 -1
- package/lib/src/app/routing/loaders/LoaderHost.d.ts +2 -2
- package/lib/src/app/samples/SampleDisplay.d.ts.map +1 -1
- package/lib/src/app/samples/sample-tools/SelectScorer.d.ts.map +1 -1
- package/lib/src/app/samples/transcript/TranscriptFilter.d.ts.map +1 -1
- package/lib/src/app/samples/transcript/chunked/ChunkedTranscriptPanel.d.ts.map +1 -1
- package/lib/src/app/server/useEvalSet.d.ts +8 -5
- package/lib/src/app/server/useEvalSet.d.ts.map +1 -1
- package/lib/src/app/shared/ColumnSelectorPopover.d.ts.map +1 -1
- package/lib/src/app/shared/data-grid/DataGrid.d.ts.map +1 -1
- package/lib/src/app_config/appConfig.d.ts +27 -17
- package/lib/src/app_config/appConfig.d.ts.map +1 -1
- package/lib/src/app_config/hooks.d.ts +3 -1
- package/lib/src/app_config/hooks.d.ts.map +1 -1
- package/lib/src/app_config/index.d.ts +2 -1
- package/lib/src/app_config/index.d.ts.map +1 -1
- package/lib/src/app_config/resolveBackend.d.ts +52 -0
- package/lib/src/app_config/resolveBackend.d.ts.map +1 -0
- package/lib/src/app_config/singleFileMode.d.ts +4 -4
- package/lib/src/app_config/singleFileMode.d.ts.map +1 -1
- package/lib/src/client/api/client-api.d.ts +5 -5
- package/lib/src/client/api/client-api.d.ts.map +1 -1
- package/lib/src/client/api/static-http/api-static-http.d.ts +8 -2
- package/lib/src/client/api/static-http/api-static-http.d.ts.map +1 -1
- package/lib/src/client/api/types.d.ts +24 -6
- package/lib/src/client/api/types.d.ts.map +1 -1
- package/lib/src/client/api/view-server/api-view-server.d.ts +23 -6
- package/lib/src/client/api/view-server/api-view-server.d.ts.map +1 -1
- package/lib/src/client/api/vscode/api-vscode.d.ts +20 -2
- package/lib/src/client/api/vscode/api-vscode.d.ts.map +1 -1
- package/lib/src/client/remote/remoteLogFile.d.ts +18 -2
- package/lib/src/client/remote/remoteLogFile.d.ts.map +1 -1
- package/lib/src/constants.d.ts +1 -0
- package/lib/src/constants.d.ts.map +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/log_data/FetchEngineController.d.ts +12 -0
- package/lib/src/log_data/FetchEngineController.d.ts.map +1 -0
- package/lib/src/log_data/chunked/log.d.ts +1 -0
- package/lib/src/log_data/chunked/log.d.ts.map +1 -1
- package/lib/src/log_data/chunkedAttachments.d.ts +0 -7
- package/lib/src/log_data/chunkedAttachments.d.ts.map +1 -1
- package/lib/src/log_data/chunkedSampleQuery.d.ts +1 -1
- package/lib/src/log_data/chunkedSampleQuery.d.ts.map +1 -1
- package/lib/src/log_data/conversation.d.ts +39 -0
- package/lib/src/log_data/conversation.d.ts.map +1 -0
- package/lib/src/log_data/fetchEngine.d.ts.map +1 -1
- package/lib/src/log_data/index.d.ts +4 -1
- package/lib/src/log_data/index.d.ts.map +1 -1
- package/lib/src/log_data/messageRows.d.ts +54 -0
- package/lib/src/log_data/messageRows.d.ts.map +1 -0
- package/lib/src/log_data/messageRowsQuery.d.ts +21 -0
- package/lib/src/log_data/messageRowsQuery.d.ts.map +1 -0
- package/lib/src/log_data/messageRowsWindowed.d.ts +12 -0
- package/lib/src/log_data/messageRowsWindowed.d.ts.map +1 -0
- package/lib/src/log_data/messagesExport.d.ts +13 -0
- package/lib/src/log_data/messagesExport.d.ts.map +1 -0
- package/lib/src/log_data/messagesFromEvents.d.ts.map +1 -0
- package/lib/src/log_data/replicationControl.d.ts +23 -12
- package/lib/src/log_data/replicationControl.d.ts.map +1 -1
- package/lib/src/log_data/sampleData.d.ts +1 -1
- package/lib/src/log_data/sampleData.d.ts.map +1 -1
- package/lib/src/log_data/sampleMessages.d.ts +21 -0
- package/lib/src/log_data/sampleMessages.d.ts.map +1 -0
- package/lib/src/log_data/sampleMessagesSource.d.ts +10 -0
- package/lib/src/log_data/sampleMessagesSource.d.ts.map +1 -0
- package/lib/src/log_data/sampleQuery.d.ts +4 -4
- package/lib/src/log_data/sampleQuery.d.ts.map +1 -1
- package/lib/src/log_data/testFixtures.d.ts +27 -0
- package/lib/src/log_data/testFixtures.d.ts.map +1 -0
- package/lib/src/state/hooks.d.ts +9 -1
- package/lib/src/state/hooks.d.ts.map +1 -1
- package/lib/styles/index.css +7226 -5750
- package/package.json +19 -19
- package/lib/src/app/samples/messagesFromEvents.d.ts.map +0 -1
- package/lib/src/app_config/resolveApi.d.ts +0 -10
- package/lib/src/app_config/resolveApi.d.ts.map +0 -1
- package/lib/src/client/api/vscode/api-vscode-http.d.ts +0 -9
- package/lib/src/client/api/vscode/api-vscode-http.d.ts.map +0 -1
- package/lib/src/client/api/vscode/jsonrpc.d.ts +0 -17
- package/lib/src/client/api/vscode/jsonrpc.d.ts.map +0 -1
- package/lib/src/log_data/chunkedMessages.d.ts +0 -28
- package/lib/src/log_data/chunkedMessages.d.ts.map +0 -1
- /package/lib/src/{app/samples → log_data}/messagesFromEvents.d.ts +0 -0
|
@@ -0,0 +1,572 @@
|
|
|
1
|
+
import { FC, RefObject } from 'react';
|
|
2
|
+
import { ConfigUpdate, EarlyStoppingSummary, EvalSpec, EvalStats, LogUpdate } from '@tsmono/inspect-common/types';
|
|
3
|
+
import { EvalLogStatus } from '../../../../@types/extraInspect';
|
|
4
|
+
export declare const useTimelineTab: (evalSpec: EvalSpec | undefined, evalStats: EvalStats | undefined, evalStatus?: EvalLogStatus, configUpdates?: ConfigUpdate[] | null, logUpdates?: LogUpdate[] | null, earlyStopping?: EarlyStoppingSummary | null) => {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
scrollable: boolean;
|
|
8
|
+
scrollRef: RefObject<HTMLDivElement | null>;
|
|
9
|
+
component: FC<TimelineTabProps>;
|
|
10
|
+
componentProps: {
|
|
11
|
+
evalSpec: {
|
|
12
|
+
config: {
|
|
13
|
+
acp_server?: boolean | number | string | null;
|
|
14
|
+
approval?: {
|
|
15
|
+
approvers: ({
|
|
16
|
+
name: string;
|
|
17
|
+
params: {
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
tools: string | string[];
|
|
21
|
+
} & {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
})[];
|
|
24
|
+
} | null;
|
|
25
|
+
continue_on_fail?: boolean | null;
|
|
26
|
+
cost_limit?: number | null;
|
|
27
|
+
epochs?: number | null;
|
|
28
|
+
epochs_reducer?: string[] | null;
|
|
29
|
+
fail_on_error?: boolean | number | null;
|
|
30
|
+
limit?: number | [number, number] | null;
|
|
31
|
+
log_buffer?: number | null;
|
|
32
|
+
log_images?: boolean | null;
|
|
33
|
+
log_model_api?: boolean | null;
|
|
34
|
+
log_realtime?: boolean | null;
|
|
35
|
+
log_samples?: boolean | null;
|
|
36
|
+
log_shared?: number | null;
|
|
37
|
+
max_dataset_memory?: number | null;
|
|
38
|
+
max_samples?: number | null;
|
|
39
|
+
max_sandboxes?: number | null;
|
|
40
|
+
max_subprocesses?: number | null;
|
|
41
|
+
max_tasks?: number | null;
|
|
42
|
+
message_limit?: number | null;
|
|
43
|
+
notification?: boolean | string | null;
|
|
44
|
+
retry_on_error?: number | null;
|
|
45
|
+
sample_id?: string | number | string[] | number[] | (string | number)[] | null;
|
|
46
|
+
sample_shuffle?: boolean | number | null;
|
|
47
|
+
sandbox_cleanup?: boolean | null;
|
|
48
|
+
score_display?: boolean | null;
|
|
49
|
+
score_on_error?: boolean | null;
|
|
50
|
+
time_limit?: number | null;
|
|
51
|
+
token_limit?: number | null;
|
|
52
|
+
token_limit_type?: string | null;
|
|
53
|
+
turn_limit?: number | null;
|
|
54
|
+
working_limit?: number | null;
|
|
55
|
+
};
|
|
56
|
+
created: string;
|
|
57
|
+
dataset: {
|
|
58
|
+
location?: string | null;
|
|
59
|
+
name?: string | null;
|
|
60
|
+
sample_ids?: string[] | number[] | (string | number)[] | null;
|
|
61
|
+
samples?: number | null;
|
|
62
|
+
shuffled?: boolean | null;
|
|
63
|
+
};
|
|
64
|
+
eval_id: string;
|
|
65
|
+
eval_set_id?: string | null;
|
|
66
|
+
metadata?: {
|
|
67
|
+
[key: string]: unknown;
|
|
68
|
+
} | null;
|
|
69
|
+
metrics?: ({
|
|
70
|
+
name: string;
|
|
71
|
+
options?: {
|
|
72
|
+
[key: string]: unknown;
|
|
73
|
+
} | null;
|
|
74
|
+
} | {
|
|
75
|
+
[key: string]: {
|
|
76
|
+
name: string;
|
|
77
|
+
options?: {
|
|
78
|
+
[key: string]: unknown;
|
|
79
|
+
} | null;
|
|
80
|
+
}[];
|
|
81
|
+
})[] | {
|
|
82
|
+
[key: string]: {
|
|
83
|
+
name: string;
|
|
84
|
+
options?: {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
} | null;
|
|
87
|
+
}[];
|
|
88
|
+
} | null;
|
|
89
|
+
model: string;
|
|
90
|
+
model_args: {
|
|
91
|
+
[key: string]: unknown;
|
|
92
|
+
};
|
|
93
|
+
model_base_url?: string | null;
|
|
94
|
+
model_generate_config: {
|
|
95
|
+
adaptive_connections?: boolean | number | {
|
|
96
|
+
cooldown_seconds: number;
|
|
97
|
+
decrease_factor: number;
|
|
98
|
+
max: number;
|
|
99
|
+
min: number;
|
|
100
|
+
scale_up_percent: number;
|
|
101
|
+
start: number;
|
|
102
|
+
} | null;
|
|
103
|
+
attempt_timeout?: number | null;
|
|
104
|
+
batch?: boolean | number | {
|
|
105
|
+
max_batches?: number | null;
|
|
106
|
+
max_consecutive_check_failures?: number | null;
|
|
107
|
+
max_size?: number | null;
|
|
108
|
+
send_delay?: number | null;
|
|
109
|
+
size?: number | null;
|
|
110
|
+
tick?: number | null;
|
|
111
|
+
} | null;
|
|
112
|
+
best_of?: number | null;
|
|
113
|
+
cache?: boolean | {
|
|
114
|
+
expiry?: string | null;
|
|
115
|
+
per_epoch: boolean;
|
|
116
|
+
scopes: {
|
|
117
|
+
[key: string]: string;
|
|
118
|
+
};
|
|
119
|
+
} | null;
|
|
120
|
+
cache_prompt?: "auto" | boolean | null;
|
|
121
|
+
effort?: ("low" | "medium" | "high" | "xhigh" | "max") | null;
|
|
122
|
+
extra_body?: {
|
|
123
|
+
[key: string]: unknown;
|
|
124
|
+
} | null;
|
|
125
|
+
extra_headers?: {
|
|
126
|
+
[key: string]: string;
|
|
127
|
+
} | null;
|
|
128
|
+
fallback_models?: string[] | null;
|
|
129
|
+
frequency_penalty?: number | null;
|
|
130
|
+
internal_tools?: boolean | null;
|
|
131
|
+
logit_bias?: {
|
|
132
|
+
[key: string]: number;
|
|
133
|
+
} | null;
|
|
134
|
+
logprobs?: boolean | null;
|
|
135
|
+
max_connections?: number | null;
|
|
136
|
+
max_retries?: number | null;
|
|
137
|
+
max_tokens?: number | null;
|
|
138
|
+
max_tool_output?: number | null;
|
|
139
|
+
modalities?: ("image" | {
|
|
140
|
+
options?: {
|
|
141
|
+
[key: string]: {
|
|
142
|
+
[key: string]: unknown;
|
|
143
|
+
};
|
|
144
|
+
} | null;
|
|
145
|
+
})[] | null;
|
|
146
|
+
num_choices?: number | null;
|
|
147
|
+
parallel_tool_calls?: boolean | null;
|
|
148
|
+
presence_penalty?: number | null;
|
|
149
|
+
prompt_logprobs?: number | null;
|
|
150
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max") | null;
|
|
151
|
+
reasoning_history?: ("none" | "all" | "last" | "auto") | null;
|
|
152
|
+
reasoning_mode?: ("standard" | "pro") | null;
|
|
153
|
+
reasoning_summary?: ("none" | "concise" | "detailed" | "auto") | null;
|
|
154
|
+
reasoning_tokens?: number | null;
|
|
155
|
+
response_schema?: {
|
|
156
|
+
description?: string | null;
|
|
157
|
+
json_schema: {
|
|
158
|
+
additionalProperties?: /*elided*/ any | boolean | null;
|
|
159
|
+
anyOf?: /*elided*/ any[] | null;
|
|
160
|
+
default: unknown;
|
|
161
|
+
description?: string | null;
|
|
162
|
+
enum?: unknown[] | null;
|
|
163
|
+
examples?: unknown[] | null;
|
|
164
|
+
format?: string | null;
|
|
165
|
+
items?: /*elided*/ any | null;
|
|
166
|
+
maxLength?: number | null;
|
|
167
|
+
maximum?: number | null;
|
|
168
|
+
minLength?: number | null;
|
|
169
|
+
minimum?: number | null;
|
|
170
|
+
pattern?: string | null;
|
|
171
|
+
properties?: {
|
|
172
|
+
[key: string]: /*elided*/ any;
|
|
173
|
+
} | null;
|
|
174
|
+
required?: string[] | null;
|
|
175
|
+
type?: ("string" | "integer" | "number" | "boolean" | "array" | "object" | "null") | ("string" | "integer" | "number" | "boolean" | "array" | "object" | "null")[] | null;
|
|
176
|
+
};
|
|
177
|
+
name: string;
|
|
178
|
+
strict?: boolean | null;
|
|
179
|
+
} | null;
|
|
180
|
+
seed?: number | null;
|
|
181
|
+
stop_seqs?: string[] | null;
|
|
182
|
+
system_message?: string | null;
|
|
183
|
+
temperature?: number | null;
|
|
184
|
+
timeout?: number | null;
|
|
185
|
+
top_k?: number | null;
|
|
186
|
+
top_logprobs?: number | null;
|
|
187
|
+
top_p?: number | null;
|
|
188
|
+
verbosity?: ("low" | "medium" | "high") | null;
|
|
189
|
+
};
|
|
190
|
+
model_roles?: {
|
|
191
|
+
[key: string]: {
|
|
192
|
+
args: {
|
|
193
|
+
[key: string]: unknown;
|
|
194
|
+
};
|
|
195
|
+
base_url?: string | null;
|
|
196
|
+
config: {
|
|
197
|
+
adaptive_connections?: boolean | number | {
|
|
198
|
+
cooldown_seconds: number;
|
|
199
|
+
decrease_factor: number;
|
|
200
|
+
max: number;
|
|
201
|
+
min: number;
|
|
202
|
+
scale_up_percent: number;
|
|
203
|
+
start: number;
|
|
204
|
+
} | null;
|
|
205
|
+
attempt_timeout?: number | null;
|
|
206
|
+
batch?: boolean | number | {
|
|
207
|
+
max_batches?: number | null;
|
|
208
|
+
max_consecutive_check_failures?: number | null;
|
|
209
|
+
max_size?: number | null;
|
|
210
|
+
send_delay?: number | null;
|
|
211
|
+
size?: number | null;
|
|
212
|
+
tick?: number | null;
|
|
213
|
+
} | null;
|
|
214
|
+
best_of?: number | null;
|
|
215
|
+
cache?: boolean | {
|
|
216
|
+
expiry?: string | null;
|
|
217
|
+
per_epoch: boolean;
|
|
218
|
+
scopes: {
|
|
219
|
+
[key: string]: string;
|
|
220
|
+
};
|
|
221
|
+
} | null;
|
|
222
|
+
cache_prompt?: "auto" | boolean | null;
|
|
223
|
+
effort?: ("low" | "medium" | "high" | "xhigh" | "max") | null;
|
|
224
|
+
extra_body?: {
|
|
225
|
+
[key: string]: unknown;
|
|
226
|
+
} | null;
|
|
227
|
+
extra_headers?: {
|
|
228
|
+
[key: string]: string;
|
|
229
|
+
} | null;
|
|
230
|
+
fallback_models?: string[] | null;
|
|
231
|
+
frequency_penalty?: number | null;
|
|
232
|
+
internal_tools?: boolean | null;
|
|
233
|
+
logit_bias?: {
|
|
234
|
+
[key: string]: number;
|
|
235
|
+
} | null;
|
|
236
|
+
logprobs?: boolean | null;
|
|
237
|
+
max_connections?: number | null;
|
|
238
|
+
max_retries?: number | null;
|
|
239
|
+
max_tokens?: number | null;
|
|
240
|
+
max_tool_output?: number | null;
|
|
241
|
+
modalities?: ("image" | {
|
|
242
|
+
options?: {
|
|
243
|
+
[key: string]: {
|
|
244
|
+
[key: string]: unknown;
|
|
245
|
+
};
|
|
246
|
+
} | null;
|
|
247
|
+
})[] | null;
|
|
248
|
+
num_choices?: number | null;
|
|
249
|
+
parallel_tool_calls?: boolean | null;
|
|
250
|
+
presence_penalty?: number | null;
|
|
251
|
+
prompt_logprobs?: number | null;
|
|
252
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max") | null;
|
|
253
|
+
reasoning_history?: ("none" | "all" | "last" | "auto") | null;
|
|
254
|
+
reasoning_mode?: ("standard" | "pro") | null;
|
|
255
|
+
reasoning_summary?: ("none" | "concise" | "detailed" | "auto") | null;
|
|
256
|
+
reasoning_tokens?: number | null;
|
|
257
|
+
response_schema?: {
|
|
258
|
+
description?: string | null;
|
|
259
|
+
json_schema: {
|
|
260
|
+
additionalProperties?: /*elided*/ any | boolean | null;
|
|
261
|
+
anyOf?: /*elided*/ any[] | null;
|
|
262
|
+
default: unknown;
|
|
263
|
+
description?: string | null;
|
|
264
|
+
enum?: unknown[] | null;
|
|
265
|
+
examples?: unknown[] | null;
|
|
266
|
+
format?: string | null;
|
|
267
|
+
items?: /*elided*/ any | null;
|
|
268
|
+
maxLength?: number | null;
|
|
269
|
+
maximum?: number | null;
|
|
270
|
+
minLength?: number | null;
|
|
271
|
+
minimum?: number | null;
|
|
272
|
+
pattern?: string | null;
|
|
273
|
+
properties?: {
|
|
274
|
+
[key: string]: /*elided*/ any;
|
|
275
|
+
} | null;
|
|
276
|
+
required?: string[] | null;
|
|
277
|
+
type?: ("string" | "integer" | "number" | "boolean" | "array" | "object" | "null") | ("string" | "integer" | "number" | "boolean" | "array" | "object" | "null")[] | null;
|
|
278
|
+
};
|
|
279
|
+
name: string;
|
|
280
|
+
strict?: boolean | null;
|
|
281
|
+
} | null;
|
|
282
|
+
seed?: number | null;
|
|
283
|
+
stop_seqs?: string[] | null;
|
|
284
|
+
system_message?: string | null;
|
|
285
|
+
temperature?: number | null;
|
|
286
|
+
timeout?: number | null;
|
|
287
|
+
top_k?: number | null;
|
|
288
|
+
top_logprobs?: number | null;
|
|
289
|
+
top_p?: number | null;
|
|
290
|
+
verbosity?: ("low" | "medium" | "high") | null;
|
|
291
|
+
};
|
|
292
|
+
model: string;
|
|
293
|
+
};
|
|
294
|
+
} | null;
|
|
295
|
+
packages: {
|
|
296
|
+
[key: string]: string;
|
|
297
|
+
};
|
|
298
|
+
revision?: {
|
|
299
|
+
commit: string;
|
|
300
|
+
dirty?: boolean | null;
|
|
301
|
+
origin: string;
|
|
302
|
+
type: "git";
|
|
303
|
+
} | null;
|
|
304
|
+
run_id: string;
|
|
305
|
+
sandbox?: {
|
|
306
|
+
config: unknown;
|
|
307
|
+
type: string;
|
|
308
|
+
} | null;
|
|
309
|
+
scorers?: {
|
|
310
|
+
metadata?: {
|
|
311
|
+
[key: string]: unknown;
|
|
312
|
+
} | null;
|
|
313
|
+
metrics?: ({
|
|
314
|
+
name: string;
|
|
315
|
+
options?: {
|
|
316
|
+
[key: string]: unknown;
|
|
317
|
+
} | null;
|
|
318
|
+
} | {
|
|
319
|
+
[key: string]: {
|
|
320
|
+
name: string;
|
|
321
|
+
options?: {
|
|
322
|
+
[key: string]: unknown;
|
|
323
|
+
} | null;
|
|
324
|
+
}[];
|
|
325
|
+
})[] | {
|
|
326
|
+
[key: string]: {
|
|
327
|
+
name: string;
|
|
328
|
+
options?: {
|
|
329
|
+
[key: string]: unknown;
|
|
330
|
+
} | null;
|
|
331
|
+
}[];
|
|
332
|
+
} | null;
|
|
333
|
+
name: string;
|
|
334
|
+
options?: {
|
|
335
|
+
[key: string]: unknown;
|
|
336
|
+
} | null;
|
|
337
|
+
}[] | null;
|
|
338
|
+
solver?: string | null;
|
|
339
|
+
solver_args?: {
|
|
340
|
+
[key: string]: unknown;
|
|
341
|
+
} | null;
|
|
342
|
+
solver_args_passed?: {
|
|
343
|
+
[key: string]: unknown;
|
|
344
|
+
} | null;
|
|
345
|
+
tags?: string[] | null;
|
|
346
|
+
task: string;
|
|
347
|
+
task_args: {
|
|
348
|
+
[key: string]: unknown;
|
|
349
|
+
};
|
|
350
|
+
task_args_passed: {
|
|
351
|
+
[key: string]: unknown;
|
|
352
|
+
};
|
|
353
|
+
task_attribs: {
|
|
354
|
+
[key: string]: unknown;
|
|
355
|
+
};
|
|
356
|
+
task_display_name?: string | null;
|
|
357
|
+
task_file?: string | null;
|
|
358
|
+
task_id: string;
|
|
359
|
+
task_registry_name?: string | null;
|
|
360
|
+
task_version: number | string;
|
|
361
|
+
viewer?: {
|
|
362
|
+
sample_score_view?: {
|
|
363
|
+
default?: ("chips" | "grid") | null;
|
|
364
|
+
sort?: {
|
|
365
|
+
column?: ("name" | "value") | null;
|
|
366
|
+
dir: "asc" | "desc";
|
|
367
|
+
} | null;
|
|
368
|
+
} | null;
|
|
369
|
+
scanner_result_view: {
|
|
370
|
+
exclude_fields: ({
|
|
371
|
+
collapsed: boolean;
|
|
372
|
+
kind: "builtin";
|
|
373
|
+
label?: string | null;
|
|
374
|
+
name: "explanation" | "label" | "value" | "validation" | "answer" | "metadata";
|
|
375
|
+
} | {
|
|
376
|
+
collapsed: boolean;
|
|
377
|
+
key: string;
|
|
378
|
+
kind: "metadata";
|
|
379
|
+
label?: string | null;
|
|
380
|
+
} | string)[];
|
|
381
|
+
fields?: ({
|
|
382
|
+
collapsed: boolean;
|
|
383
|
+
kind: "builtin";
|
|
384
|
+
label?: string | null;
|
|
385
|
+
name: "explanation" | "label" | "value" | "validation" | "answer" | "metadata";
|
|
386
|
+
} | {
|
|
387
|
+
collapsed: boolean;
|
|
388
|
+
key: string;
|
|
389
|
+
kind: "metadata";
|
|
390
|
+
label?: string | null;
|
|
391
|
+
} | string)[] | null;
|
|
392
|
+
} | {
|
|
393
|
+
[key: string]: {
|
|
394
|
+
exclude_fields: ({
|
|
395
|
+
collapsed: boolean;
|
|
396
|
+
kind: "builtin";
|
|
397
|
+
label?: string | null;
|
|
398
|
+
name: "explanation" | "label" | "value" | "validation" | "answer" | "metadata";
|
|
399
|
+
} | {
|
|
400
|
+
collapsed: boolean;
|
|
401
|
+
key: string;
|
|
402
|
+
kind: "metadata";
|
|
403
|
+
label?: string | null;
|
|
404
|
+
} | string)[];
|
|
405
|
+
fields?: ({
|
|
406
|
+
collapsed: boolean;
|
|
407
|
+
kind: "builtin";
|
|
408
|
+
label?: string | null;
|
|
409
|
+
name: "explanation" | "label" | "value" | "validation" | "answer" | "metadata";
|
|
410
|
+
} | {
|
|
411
|
+
collapsed: boolean;
|
|
412
|
+
key: string;
|
|
413
|
+
kind: "metadata";
|
|
414
|
+
label?: string | null;
|
|
415
|
+
} | string)[] | null;
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
task_samples_view?: {
|
|
419
|
+
color_scales_enabled?: boolean | null;
|
|
420
|
+
columns?: {
|
|
421
|
+
id: ("sampleStatus" | "sampleId" | "sampleUuid" | "epoch" | "input" | "target" | "answer" | "tokens" | "duration" | "retries" | "error" | "limit") | string;
|
|
422
|
+
visible: boolean;
|
|
423
|
+
}[] | null;
|
|
424
|
+
compact_scores?: boolean | null;
|
|
425
|
+
multiline?: boolean | null;
|
|
426
|
+
name: string;
|
|
427
|
+
score_color_scales?: {
|
|
428
|
+
[key: string]: ("good-high" | "good-low" | "neutral" | "diverging") | {
|
|
429
|
+
max?: number | null;
|
|
430
|
+
min?: number | null;
|
|
431
|
+
palette: "good-high" | "good-low" | "neutral" | "diverging";
|
|
432
|
+
} | {
|
|
433
|
+
[key: string]: "good" | "bad" | "warn" | "info" | "muted";
|
|
434
|
+
};
|
|
435
|
+
} | null;
|
|
436
|
+
score_labels?: {
|
|
437
|
+
[key: string]: string;
|
|
438
|
+
} | null;
|
|
439
|
+
sort?: {
|
|
440
|
+
column: ("sampleStatus" | "sampleId" | "sampleUuid" | "epoch" | "input" | "target" | "answer" | "tokens" | "duration" | "retries" | "error" | "limit") | string;
|
|
441
|
+
dir: "asc" | "desc";
|
|
442
|
+
}[] | null;
|
|
443
|
+
} | {
|
|
444
|
+
color_scales_enabled?: boolean | null;
|
|
445
|
+
columns?: {
|
|
446
|
+
id: ("sampleStatus" | "sampleId" | "sampleUuid" | "epoch" | "input" | "target" | "answer" | "tokens" | "duration" | "retries" | "error" | "limit") | string;
|
|
447
|
+
visible: boolean;
|
|
448
|
+
}[] | null;
|
|
449
|
+
compact_scores?: boolean | null;
|
|
450
|
+
multiline?: boolean | null;
|
|
451
|
+
name: string;
|
|
452
|
+
score_color_scales?: {
|
|
453
|
+
[key: string]: ("good-high" | "good-low" | "neutral" | "diverging") | {
|
|
454
|
+
max?: number | null;
|
|
455
|
+
min?: number | null;
|
|
456
|
+
palette: "good-high" | "good-low" | "neutral" | "diverging";
|
|
457
|
+
} | {
|
|
458
|
+
[key: string]: "good" | "bad" | "warn" | "info" | "muted";
|
|
459
|
+
};
|
|
460
|
+
} | null;
|
|
461
|
+
score_labels?: {
|
|
462
|
+
[key: string]: string;
|
|
463
|
+
} | null;
|
|
464
|
+
sort?: {
|
|
465
|
+
column: ("sampleStatus" | "sampleId" | "sampleUuid" | "epoch" | "input" | "target" | "answer" | "tokens" | "duration" | "retries" | "error" | "limit") | string;
|
|
466
|
+
dir: "asc" | "desc";
|
|
467
|
+
}[] | null;
|
|
468
|
+
}[] | null;
|
|
469
|
+
} | null;
|
|
470
|
+
} | undefined;
|
|
471
|
+
evalStats: {
|
|
472
|
+
completed_at: string | "";
|
|
473
|
+
connection_limit_history: {
|
|
474
|
+
model: string;
|
|
475
|
+
new_limit: number;
|
|
476
|
+
old_limit: number;
|
|
477
|
+
reason: ("slow_start" | "steady_state_up" | "rate_limit") | "manual";
|
|
478
|
+
timestamp: number;
|
|
479
|
+
}[];
|
|
480
|
+
model_usage: {
|
|
481
|
+
[key: string]: {
|
|
482
|
+
input_tokens: number;
|
|
483
|
+
input_tokens_cache_read?: number | null;
|
|
484
|
+
input_tokens_cache_write?: number | null;
|
|
485
|
+
output_tokens: number;
|
|
486
|
+
reasoning_tokens?: number | null;
|
|
487
|
+
total_cost?: number | null;
|
|
488
|
+
total_tokens: number;
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
role_usage: {
|
|
492
|
+
[key: string]: {
|
|
493
|
+
input_tokens: number;
|
|
494
|
+
input_tokens_cache_read?: number | null;
|
|
495
|
+
input_tokens_cache_write?: number | null;
|
|
496
|
+
output_tokens: number;
|
|
497
|
+
reasoning_tokens?: number | null;
|
|
498
|
+
total_cost?: number | null;
|
|
499
|
+
total_tokens: number;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
started_at: string | "";
|
|
503
|
+
} | undefined;
|
|
504
|
+
evalStatus: "error" | "success" | "cancelled" | "started" | undefined;
|
|
505
|
+
configUpdates: {
|
|
506
|
+
changes: {
|
|
507
|
+
cleared: boolean;
|
|
508
|
+
config: "eval" | "generate" | "concurrency";
|
|
509
|
+
name: string;
|
|
510
|
+
previous: import('@tsmono/util').JsonValue;
|
|
511
|
+
value: import('@tsmono/util').JsonValue;
|
|
512
|
+
}[];
|
|
513
|
+
provenance: {
|
|
514
|
+
author: string;
|
|
515
|
+
metadata: {
|
|
516
|
+
[key: string]: unknown;
|
|
517
|
+
};
|
|
518
|
+
reason?: string | null;
|
|
519
|
+
timestamp: string;
|
|
520
|
+
};
|
|
521
|
+
scope: "task" | "process";
|
|
522
|
+
}[] | null | undefined;
|
|
523
|
+
logUpdates: {
|
|
524
|
+
edits: ({
|
|
525
|
+
tags_add: string[];
|
|
526
|
+
tags_remove: string[];
|
|
527
|
+
type: "tags";
|
|
528
|
+
} | {
|
|
529
|
+
metadata_remove: string[];
|
|
530
|
+
metadata_set: {
|
|
531
|
+
[key: string]: unknown;
|
|
532
|
+
};
|
|
533
|
+
type: "metadata";
|
|
534
|
+
})[];
|
|
535
|
+
provenance: {
|
|
536
|
+
author: string;
|
|
537
|
+
metadata: {
|
|
538
|
+
[key: string]: unknown;
|
|
539
|
+
};
|
|
540
|
+
reason?: string | null;
|
|
541
|
+
timestamp: string;
|
|
542
|
+
};
|
|
543
|
+
}[] | null | undefined;
|
|
544
|
+
earlyStopping: {
|
|
545
|
+
early_stops: {
|
|
546
|
+
epoch: number;
|
|
547
|
+
id: string | number;
|
|
548
|
+
metadata?: {
|
|
549
|
+
[key: string]: import('@tsmono/util').JsonValue;
|
|
550
|
+
} | null;
|
|
551
|
+
reason?: string | null;
|
|
552
|
+
}[];
|
|
553
|
+
manager: string;
|
|
554
|
+
metadata: {
|
|
555
|
+
[key: string]: import('@tsmono/util').JsonValue;
|
|
556
|
+
};
|
|
557
|
+
} | null | undefined;
|
|
558
|
+
scrollRef: RefObject<HTMLDivElement | null>;
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
interface TimelineTabProps {
|
|
562
|
+
evalSpec?: EvalSpec;
|
|
563
|
+
evalStats?: EvalStats;
|
|
564
|
+
evalStatus?: EvalLogStatus;
|
|
565
|
+
configUpdates?: ConfigUpdate[] | null;
|
|
566
|
+
logUpdates?: LogUpdate[] | null;
|
|
567
|
+
earlyStopping?: EarlyStoppingSummary | null;
|
|
568
|
+
scrollRef: RefObject<HTMLDivElement | null>;
|
|
569
|
+
}
|
|
570
|
+
export declare const TimelineTab: FC<TimelineTabProps>;
|
|
571
|
+
export {};
|
|
572
|
+
//# sourceMappingURL=TimelineTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimelineTab.d.ts","sourceRoot":"","sources":["../../../../../../src/app/log-view/tabs/timeline/TimelineTab.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,EAAE,EAEF,SAAS,EAMV,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,SAAS,EACV,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAoChE,eAAO,MAAM,cAAc,GACzB,UAAU,QAAQ,GAAG,SAAS,EAC9B,WAAW,SAAS,GAAG,SAAS,EAChC,aAAa,aAAa,EAC1B,gBAAgB,YAAY,EAAE,GAAG,IAAI,EACrC,aAAa,SAAS,EAAE,GAAG,IAAI,EAC/B,gBAAgB,oBAAoB,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B5C,CAAC;AAEF,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,aAAa,CAAC,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IAChC,aAAa,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC5C,SAAS,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAC7C;AAqBD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAG5C,CAAC"}
|