runbios-sdk 0.3.0-dev.324 → 0.3.0-dev.326
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 +22 -0
- 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.326";
|
|
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.326';
|
|
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;
|
|
@@ -4224,6 +4235,8 @@ export interface PipelineActiveRun {
|
|
|
4224
4235
|
* the most it can have cost, so show it as "up to".
|
|
4225
4236
|
*/
|
|
4226
4237
|
cost_up_to: boolean;
|
|
4238
|
+
/** See {@link TrainingRun.comparison_returned_cents}. */
|
|
4239
|
+
comparison_returned_cents: number;
|
|
4227
4240
|
/** The version number it will take if it is put live. */
|
|
4228
4241
|
will_be_version: number;
|
|
4229
4242
|
/** Always null: nothing in flight is a version yet. */
|
|
@@ -4371,6 +4384,8 @@ export interface PipelineAttempt {
|
|
|
4371
4384
|
cost_cents: number;
|
|
4372
4385
|
/** See {@link PipelineVersion.cost_up_to}. */
|
|
4373
4386
|
cost_up_to: boolean;
|
|
4387
|
+
/** See {@link TrainingRun.comparison_returned_cents}. */
|
|
4388
|
+
comparison_returned_cents: number;
|
|
4374
4389
|
verdict: TrainingVerdict | null;
|
|
4375
4390
|
win_rate: number | null;
|
|
4376
4391
|
/**
|
|
@@ -4787,6 +4802,13 @@ export interface TrainingRunCost {
|
|
|
4787
4802
|
benchmark_cents: number;
|
|
4788
4803
|
total_cents: number;
|
|
4789
4804
|
up_to: boolean;
|
|
4805
|
+
/**
|
|
4806
|
+
* What was taken off `comparison_cents` for comparison machines that never
|
|
4807
|
+
* started: "Comparison machine: not charged (it never started)" (with
|
|
4808
|
+
* `comparison_cents` above 0, only the one that never started). 0 when
|
|
4809
|
+
* none.
|
|
4810
|
+
*/
|
|
4811
|
+
comparison_returned_cents: number;
|
|
4790
4812
|
}
|
|
4791
4813
|
export interface TrainingRunActionResponse {
|
|
4792
4814
|
run: TrainingRun;
|