Skip to content

@genetic-assembly/sdk / Interface: PreparedStudy ​

Properties ​

created_at? ​

ts
optional created_at?: string;

id ​

ts
id: string;

runtime ​

ts
runtime: Runtime;

spec ​

ts
spec: object;

constraints ​

ts
constraints: Record<string, {
  bound: number;
  label?: string;
  metric: string;
  operator: "<=" | ">=";
}>;

decisions ​

ts
decisions: Record<string, 
  | {
  baseline: number;
  kind: "real";
  lower: number;
  upper: number;
}
  | {
  baseline: number;
  kind: "integer";
  lower: number;
  step: number;
  upper: number;
}
  | {
  baseline: boolean;
  kind: "boolean";
}
  | {
  baseline: string;
  choices: string[];
  kind: "categorical";
}>;

inputs ​

ts
inputs: JSONType;

name ​

ts
name: string;

objectives ​

ts
objectives: Record<string, {
  direction: "minimize" | "maximize";
  label?: string;
  metric: string;
  unit: string;
}>;

schemaVersion ​

ts
schemaVersion: 3;

searchSeeds ​

ts
searchSeeds: number[];

validationSeeds ​

ts
validationSeeds: number[];

version ​

ts
version: string;

Genetic Assembly · Deterministic NSGA-II optimization