runbios-sdk 0.3.0-dev.324 → 0.3.0-dev.327
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +27 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
|
|
|
36
36
|
* SDK version. Sent as part of the User-Agent header.
|
|
37
37
|
* Must match package.json "version" -- enforced by a contract test.
|
|
38
38
|
*/
|
|
39
|
-
export declare const VERSION = "0.3.0-dev.
|
|
39
|
+
export declare const VERSION = "0.3.0-dev.327";
|
|
40
40
|
export declare class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
readonly models: Models;
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
|
|
|
36
36
|
* SDK version. Sent as part of the User-Agent header.
|
|
37
37
|
* Must match package.json "version" -- enforced by a contract test.
|
|
38
38
|
*/
|
|
39
|
-
export const VERSION = '0.3.0-dev.
|
|
39
|
+
export const VERSION = '0.3.0-dev.327';
|
|
40
40
|
export class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
models;
|
package/dist/types.d.ts
CHANGED
|
@@ -3316,6 +3316,15 @@ export interface TrainingRun {
|
|
|
3316
3316
|
* cap when no placement price was reported).
|
|
3317
3317
|
*/
|
|
3318
3318
|
billed_candidate_up_to: boolean;
|
|
3319
|
+
/**
|
|
3320
|
+
* What was taken off for comparison machines that never started (never
|
|
3321
|
+
* reached running): the platform charged nothing for them, so neither does
|
|
3322
|
+
* the attempt -- say "Comparison machine: not charged (it never started)",
|
|
3323
|
+
* or, while a comparison machine that ran is still charged beside it, that
|
|
3324
|
+
* the one that never started was not charged. 0 when none; the cost figures
|
|
3325
|
+
* beside it are already net of it.
|
|
3326
|
+
*/
|
|
3327
|
+
comparison_returned_cents: number;
|
|
3319
3328
|
spent_eval_cents: number;
|
|
3320
3329
|
train_rows: number | null;
|
|
3321
3330
|
holdout_rows: number | null;
|
|
@@ -3437,6 +3446,8 @@ export interface TrainingRunSummary {
|
|
|
3437
3446
|
billed_candidate_cents: number;
|
|
3438
3447
|
/** See {@link TrainingRun.billed_candidate_up_to}. */
|
|
3439
3448
|
billed_candidate_up_to: boolean;
|
|
3449
|
+
/** See {@link TrainingRun.comparison_returned_cents}. */
|
|
3450
|
+
comparison_returned_cents: number;
|
|
3440
3451
|
spent_eval_cents: number;
|
|
3441
3452
|
/** The fourth money column. A row that leaves it out adds up short. */
|
|
3442
3453
|
benchmark_spent_cents: number;
|
|
@@ -4180,8 +4191,11 @@ export interface TrainingRuleMonthlyLimitRefusal {
|
|
|
4180
4191
|
/**
|
|
4181
4192
|
* The first instant of the next UTC month, when the month's count starts
|
|
4182
4193
|
* again from nothing. When one attempt alone can cost more than the whole
|
|
4183
|
-
* limit, no month will ever fit
|
|
4184
|
-
*
|
|
4194
|
+
* limit, no month will ever fit, and this is not a day the pipeline trains
|
|
4195
|
+
* again: saving the pipeline sets the limit again from its model's prices,
|
|
4196
|
+
* or -- when its next attempt is planned to need more training time than
|
|
4197
|
+
* the whole limit allows -- a smaller model does, and a save plans the
|
|
4198
|
+
* attempt again; `message` says which.
|
|
4185
4199
|
*/
|
|
4186
4200
|
resumes_at: string;
|
|
4187
4201
|
}
|
|
@@ -4224,6 +4238,8 @@ export interface PipelineActiveRun {
|
|
|
4224
4238
|
* the most it can have cost, so show it as "up to".
|
|
4225
4239
|
*/
|
|
4226
4240
|
cost_up_to: boolean;
|
|
4241
|
+
/** See {@link TrainingRun.comparison_returned_cents}. */
|
|
4242
|
+
comparison_returned_cents: number;
|
|
4227
4243
|
/** The version number it will take if it is put live. */
|
|
4228
4244
|
will_be_version: number;
|
|
4229
4245
|
/** Always null: nothing in flight is a version yet. */
|
|
@@ -4371,6 +4387,8 @@ export interface PipelineAttempt {
|
|
|
4371
4387
|
cost_cents: number;
|
|
4372
4388
|
/** See {@link PipelineVersion.cost_up_to}. */
|
|
4373
4389
|
cost_up_to: boolean;
|
|
4390
|
+
/** See {@link TrainingRun.comparison_returned_cents}. */
|
|
4391
|
+
comparison_returned_cents: number;
|
|
4374
4392
|
verdict: TrainingVerdict | null;
|
|
4375
4393
|
win_rate: number | null;
|
|
4376
4394
|
/**
|
|
@@ -4787,6 +4805,13 @@ export interface TrainingRunCost {
|
|
|
4787
4805
|
benchmark_cents: number;
|
|
4788
4806
|
total_cents: number;
|
|
4789
4807
|
up_to: boolean;
|
|
4808
|
+
/**
|
|
4809
|
+
* What was taken off `comparison_cents` for comparison machines that never
|
|
4810
|
+
* started: "Comparison machine: not charged (it never started)" (with
|
|
4811
|
+
* `comparison_cents` above 0, only the one that never started). 0 when
|
|
4812
|
+
* none.
|
|
4813
|
+
*/
|
|
4814
|
+
comparison_returned_cents: number;
|
|
4790
4815
|
}
|
|
4791
4816
|
export interface TrainingRunActionResponse {
|
|
4792
4817
|
run: TrainingRun;
|