@elaraai/e3-ui 1.0.19 → 1.0.20

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/experiment/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EACH,QAAQ,EACR,WAAW,EACX,SAAS,EACT,UAAU,EACV,WAAW,EACX,UAAU,EAKV,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAU,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEhE,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EACH,oBAAoB,EACpB,oBAAoB,EAEpB,WAAW,EAEX,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACvB,MAAM,YAAY,CAAC;AAIpB,OAAO,EACH,MAAM,EACN,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,cAAc,EACd,cAAc,GACjB,MAAM,YAAY,CAAC;AAOpB;;;;;GAKG;AACH,MAAM,MAAM,cAAc,CAAC,GAAG,SAAS,UAAU,IAC7C,SAAS,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAK5E,MAAM,MAAM,oBAAoB,CAAC,GAAG,SAAS,UAAU,IACnD,SAAS,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,oBAAoB,EAAE,oBAAoB,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAEhF,4CAA4C;;;;;;QAE5C,kCAAkC;;;;;;;;CAGhC,CAAC"}
@@ -34,10 +34,10 @@ import { NullType, BooleanType, ArrayType, StructType, VariantType, OptionType,
34
34
  import { EastUI } from '@elaraai/east-ui';
35
35
  import { DiffBindingType } from '../bind/data.js';
36
36
  import { FuncBindingType } from '../bind/func.js';
37
- import { ExperimentConfigType, ExperimentResultType, DoseResponseType, JournalType, ColumnMetaType, PopulationType, DesignConfigType, ExperimentDesignType, } from './types.js';
37
+ import { ExperimentConfigType, ExperimentResultType, DoseResponseType, JournalType, ColumnMetaType, PopulationType, PresetType, DesignConfigType, ExperimentDesignType, EstimatorType, TargetUnitsType, BootstrapConfigType, RefuteSpecType, SignType, CiType, BalanceRowType, OverlapDiagnosticType, RefutationType, SensitivityCurveType, AdjustedEffectType, ExperimentVerdictType, } from './types.js';
38
38
  // Re-export the contract types so consumers can reach them from the component
39
39
  // module too (the canonical home is `./types`).
40
- export { CiType, WeightingSchemeType, EstimatorType, TargetUnitsType, BootstrapConfigType, RefuteSpecType, ExperimentConfigType, BalanceRowType, OverlapDiagnosticType, RefutationType, DoseResponseType, ExperimentVerdictType, ExperimentResultType, JournalRowType, JournalType, ColumnMetaType, PopulationType, } from './types.js';
40
+ export { CiType, WeightingSchemeType, EstimatorType, TargetUnitsType, BootstrapConfigType, RefuteSpecType, ExperimentConfigType, BalanceRowType, OverlapDiagnosticType, RefutationType, DoseResponseType, ExperimentVerdictType, ExperimentResultType, JournalRowType, JournalType, ColumnMetaType, PopulationType, PresetType, } from './types.js';
41
41
  // ============================================================================
42
42
  // Component payload — descriptors only (binding handles + options).
43
43
  // ============================================================================
@@ -69,6 +69,9 @@ export const ExperimentPayloadType = StructType({
69
69
  columnMeta: OptionType(ColumnMetaType),
70
70
  readonly: OptionType(BooleanType),
71
71
  defaultTab: OptionType(ExperimentTabType),
72
+ /** Optional developer-authored {@link PresetType} list — named vetted questions
73
+ * rendered as a card grid; selecting one snaps the staged spec + scope. */
74
+ presets: OptionType(ArrayType(PresetType)),
72
75
  });
73
76
  /**
74
77
  * Internal {@link EastUI.component} carrier. The React renderer registers
@@ -95,6 +98,34 @@ function createExperiment(options) {
95
98
  unit: c?.unit !== undefined ? some(c.unit) : none,
96
99
  higherIsBetter: c?.higherIsBetter !== undefined ? some(c.higherIsBetter) : none,
97
100
  }])), ColumnMetaType));
101
+ // Each preset's friendly partial config is completed to a full ExperimentConfig
102
+ // here — the author writes only the fields a question pins; the rest default to
103
+ // `none` (the library default). The author never hand-rolls a some/none wrapper.
104
+ const presets = options.presets === undefined
105
+ ? none
106
+ : some(East.value(options.presets.map(p => ({
107
+ id: p.id,
108
+ label: p.label,
109
+ config: {
110
+ treatment: p.config.treatment,
111
+ outcome: p.config.outcome,
112
+ common_causes: p.config.common_causes,
113
+ categorical: p.config.categorical !== undefined ? some(p.config.categorical) : none,
114
+ method: p.config.method !== undefined ? some(p.config.method) : none,
115
+ estimand: p.config.estimand !== undefined ? some(p.config.estimand) : none,
116
+ refute: p.config.refute !== undefined ? some(p.config.refute) : none,
117
+ dose_feature: p.config.dose_feature !== undefined ? some(p.config.dose_feature) : none,
118
+ min_overlap: p.config.min_overlap !== undefined ? some(p.config.min_overlap) : none,
119
+ min_treatment_variation: p.config.min_treatment_variation !== undefined ? some(p.config.min_treatment_variation) : none,
120
+ bootstrap: p.config.bootstrap !== undefined ? some(p.config.bootstrap) : none,
121
+ random_state: p.config.random_state !== undefined ? some(p.config.random_state) : none,
122
+ strong_overlap: p.config.strong_overlap !== undefined ? some(p.config.strong_overlap) : none,
123
+ evalue_floor: p.config.evalue_floor !== undefined ? some(p.config.evalue_floor) : none,
124
+ expected_sign: p.config.expected_sign !== undefined ? some(p.config.expected_sign) : none,
125
+ },
126
+ population: p.population !== undefined ? some(p.population) : none,
127
+ group: p.group !== undefined ? some(p.group) : none,
128
+ })), ArrayType(PresetType)));
98
129
  return ExperimentComponent.Root({
99
130
  data: options.data.binding,
100
131
  config: options.config.binding,
@@ -105,6 +136,7 @@ function createExperiment(options) {
105
136
  columnMeta,
106
137
  readonly: options.readonly ?? none,
107
138
  defaultTab,
139
+ presets,
108
140
  });
109
141
  }
110
142
  /**
@@ -128,6 +160,20 @@ export const Experiment = {
128
160
  Config: ExperimentConfigType,
129
161
  /** The result value type (numbers + verdict). */
130
162
  Result: ExperimentResultType,
163
+ /** A confidence interval. */
164
+ Ci: CiType,
165
+ /** The adjusted (like-for-like) effect + CI. */
166
+ Adjusted: AdjustedEffectType,
167
+ /** One confounder's before-adjustment imbalance (a balance row). */
168
+ Balance: BalanceRowType,
169
+ /** The propensity-overlap diagnostic. */
170
+ Overlap: OverlapDiagnosticType,
171
+ /** The robustness summary. */
172
+ Refutation: RefutationType,
173
+ /** The unobserved-confounder sensitivity (tipping) curve. */
174
+ Sensitivity: SensitivityCurveType,
175
+ /** The honesty verdict tag. */
176
+ Verdict: ExperimentVerdictType,
131
177
  /** The ALE dose-response curve value type (the "How much?" tab). */
132
178
  DoseResponse: DoseResponseType,
133
179
  /** The committed-experiment journal value type. */
@@ -138,6 +184,8 @@ export const Experiment = {
138
184
  DesignConfig: DesignConfigType,
139
185
  /** The UI-side Step-4 population filter value type (Array of Slice predicates). */
140
186
  Population: PopulationType,
187
+ /** The developer-authored preset value type (named vetted question + scope). */
188
+ Preset: PresetType,
141
189
  /** Optional per-column display metadata. */
142
190
  ColumnMeta: ColumnMetaType,
143
191
  /** Initial result tab variant. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/experiment/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EACH,QAAQ,EACR,WAAW,EACX,SAAS,EACT,UAAU,EACV,WAAW,EACX,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,IAAI,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AC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/experiment/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EACH,QAAQ,EACR,WAAW,EACX,SAAS,EACT,UAAU,EACV,WAAW,EACX,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,OAAO,GAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAwB,MAAM,kBAAkB,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAmB,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAkB,MAAM,iBAAiB,CAAC;AAClE,OAAO,EACH,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,MAAM,EACN,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,GACxB,MAAM,YAAY,CAAC;AAEpB,8EAA8E;AAC9E,gDAAgD;AAChD,OAAO,EACH,MAAM,EACN,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,cAAc,EACd,cAAc,EACd,UAAU,GACb,MAAM,YAAY,CAAC;AAsBpB,+EAA+E;AAC/E,oEAAoE;AACpE,+EAA+E;AAE/E,uFAAuF;AACvF,MAAM,CAAC,MAAM,iBAAiB,GAAG,WAAW,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE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AAU;QACV,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,IAAI;QAClC,UAAU;QACV,OAAO;KACV,CAAC,CAAC;AACP,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,IAAI,EAAE,gBAAgB;IACtB,gFAAgF;IAChF,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE;QACH,oDAAoD;QACpD,OAAO,EAAE,qBAAqB;QAC9B,iEAAiE;QACjE,MAAM,EAAE,oBAAoB;QAC5B,iDAAiD;QACjD,MAAM,EAAE,oBAAoB;QAC5B,6BAA6B;QAC7B,EAAE,EAAE,MAAM;QACV,gDAAgD;QAChD,QAAQ,EAAE,kBAAkB;QAC5B,oEAAoE;QACpE,OAAO,EAAE,cAAc;QACvB,yCAAyC;QACzC,OAAO,EAAE,qBAAqB;QAC9B,8BAA8B;QAC9B,UAAU,EAAE,cAAc;QAC1B,6DAA6D;QAC7D,WAAW,EAAE,oBAAoB;QACjC,+BAA+B;QAC/B,OAAO,EAAE,qBAAqB;QAC9B,oEAAoE;QACpE,YAAY,EAAE,gBAAgB;QAC9B,mDAAmD;QACnD,OAAO,EAAE,WAAW;QACpB,mEAAmE;QACnE,MAAM,EAAE,oBAAoB;QAC5B,4CAA4C;QAC5C,YAAY,EAAE,gBAAgB;QAC9B,mFAAmF;QACnF,UAAU,EAAE,cAAc;QAC1B,gFAAgF;QAChF,MAAM,EAAE,UAAU;QAClB,4CAA4C;QAC5C,UAAU,EAAE,cAAc;QAC1B,kCAAkC;QAClC,GAAG,EAAE,iBAAiB;KACzB;CACK,CAAC"}
@@ -57,6 +57,17 @@ export declare const TargetUnitsType: VariantType<{
57
57
  }>;
58
58
  /** Type alias for {@link TargetUnitsType}. */
59
59
  export type TargetUnitsType = typeof TargetUnitsType;
60
+ /**
61
+ * A directional prior on the effect — the sign a domain expert expects. Drives the
62
+ * `expected_sign` guard.
63
+ * twin: east-py-datascience causal.ts `CausalSignType`
64
+ */
65
+ export declare const SignType: VariantType<{
66
+ readonly positive: NullType;
67
+ readonly negative: NullType;
68
+ }>;
69
+ /** Type alias for {@link SignType}. */
70
+ export type SignType = typeof SignType;
60
71
  /** Bootstrap confidence-interval configuration. */
61
72
  export declare const BootstrapConfigType: StructType<{
62
73
  readonly reps: IntegerType;
@@ -127,6 +138,18 @@ export declare const ExperimentConfigType: StructType<{
127
138
  readonly confidence_level: OptionType<FloatType>;
128
139
  }>>;
129
140
  readonly random_state: OptionType<IntegerType>;
141
+ /** Graded-overlap threshold — common support below this keeps `causal` from the
142
+ * top tier (verdict `modest`, `overlap.support_strength = thin`); default 0.55. */
143
+ readonly strong_overlap: OptionType<FloatType>;
144
+ /** Robustness floor — a `causal` verdict whose E-value is below this is downgraded to
145
+ * `modest`. Off by default. (E-value is a monotone transform of the standardized effect.) */
146
+ readonly evalue_floor: OptionType<FloatType>;
147
+ /** Directional prior — a material, CI-clear effect of the opposite sign is flagged
148
+ * (`expected_sign_ok = some(false)`, verdict `adjustment_insufficient`). Off by default. */
149
+ readonly expected_sign: OptionType<VariantType<{
150
+ readonly positive: NullType;
151
+ readonly negative: NullType;
152
+ }>>;
130
153
  }>;
131
154
  /** Type alias for {@link ExperimentConfigType}. */
132
155
  export type ExperimentConfigType = typeof ExperimentConfigType;
@@ -142,15 +165,44 @@ export declare const BalanceRowType: StructType<{
142
165
  }>;
143
166
  /** Type alias for {@link BalanceRowType}. */
144
167
  export type BalanceRowType = typeof BalanceRowType;
168
+ /**
169
+ * Graded common-support tier — `refused` (below `min_overlap`), `thin` (clears the
170
+ * refuse gate but below `strong_overlap`), `strong` (≥ `strong_overlap`). Vacuously
171
+ * `strong` with no confounders.
172
+ * twin: east-py-datascience causal.ts `SupportStrengthType`
173
+ */
174
+ export declare const SupportStrengthType: VariantType<{
175
+ readonly refused: NullType;
176
+ readonly thin: NullType;
177
+ readonly strong: NullType;
178
+ }>;
179
+ /** Type alias for {@link SupportStrengthType}. */
180
+ export type SupportStrengthType = typeof SupportStrengthType;
145
181
  /** Positivity / common-support diagnostic (binary treatment). */
146
182
  export declare const OverlapDiagnosticType: StructType<{
147
183
  readonly treated_propensity: VectorType<FloatType>;
148
184
  readonly control_propensity: VectorType<FloatType>;
149
185
  readonly common_support_frac: FloatType;
186
+ /** Clears the **refuse** gate `min_overlap` — NOT a quality signal (true at the
187
+ * default 0.10 gate still means barely-overlapping). Read `support_strength`. */
150
188
  readonly positivity_ok: BooleanType;
189
+ /** Graded common-support tier (`refused` / `thin` / `strong`).
190
+ * twin: datascience OverlapDiagnosticType.support_strength */
191
+ readonly support_strength: VariantType<{
192
+ readonly refused: NullType;
193
+ readonly thin: NullType;
194
+ readonly strong: NullType;
195
+ }>;
151
196
  }>;
152
197
  /** Type alias for {@link OverlapDiagnosticType}. */
153
198
  export type OverlapDiagnosticType = typeof OverlapDiagnosticType;
199
+ /** The unobserved-confounder sensitivity (tipping) curve — effect at each simulated strength. */
200
+ export declare const SensitivityCurveType: StructType<{
201
+ readonly strengths: VectorType<FloatType>;
202
+ readonly effects: VectorType<FloatType>;
203
+ }>;
204
+ /** Type alias for {@link SensitivityCurveType}. */
205
+ export type SensitivityCurveType = typeof SensitivityCurveType;
154
206
  /** The robustness summary the verdict + trust tab consume. */
155
207
  export declare const RefutationType: StructType<{
156
208
  /** Effect under a permuted (placebo) treatment — should be ≈ 0. */
@@ -163,13 +215,19 @@ export declare const RefutationType: StructType<{
163
215
  readonly data_subset_effect: OptionType<FloatType>;
164
216
  /** Std of the effect across data subsamples. */
165
217
  readonly data_subset_std: OptionType<FloatType>;
166
- /** Closed-form E-value — confounder strength needed to explain the effect away. */
218
+ /** Closed-form E-value (risk-ratio scale) — confounder strength needed to explain the
219
+ * effect away. A monotone transform of the standardized effect (not independent of it). */
167
220
  readonly robustness_value: OptionType<FloatType>;
168
221
  /** Unobserved-confounder sensitivity (tipping) curve: effect at each simulated strength. */
169
222
  readonly sensitivity: OptionType<StructType<{
170
223
  readonly strengths: VectorType<FloatType>;
171
224
  readonly effects: VectorType<FloatType>;
172
225
  }>>;
226
+ /** Sign-prior check (when `config.expected_sign` is set): `some(true)` if a material
227
+ * effect matches the expected direction, `some(false)` if it points the other way,
228
+ * `none` when no prior or the effect is near-zero.
229
+ * twin: datascience RefutationType.expected_sign_ok */
230
+ readonly expected_sign_ok: OptionType<BooleanType>;
173
231
  }>;
174
232
  /** Type alias for {@link RefutationType}. */
175
233
  export type RefutationType = typeof RefutationType;
@@ -198,6 +256,16 @@ export declare const ExperimentVerdictType: VariantType<{
198
256
  }>;
199
257
  /** Type alias for {@link ExperimentVerdictType}. */
200
258
  export type ExperimentVerdictType = typeof ExperimentVerdictType;
259
+ /** The adjusted (like-for-like) effect + its CI — `none` on the result when the engine refuses. */
260
+ export declare const AdjustedEffectType: StructType<{
261
+ readonly effect: FloatType;
262
+ readonly ci: OptionType<StructType<{
263
+ readonly lower: FloatType;
264
+ readonly upper: FloatType;
265
+ }>>;
266
+ }>;
267
+ /** Type alias for {@link AdjustedEffectType}. */
268
+ export type AdjustedEffectType = typeof AdjustedEffectType;
201
269
  /**
202
270
  * The complete, honest result. `adjusted` is `none` when the engine refuses
203
271
  * (positivity / no-variation); the `verdict` tag carries the headline; every
@@ -233,7 +301,16 @@ export declare const ExperimentResultType: StructType<{
233
301
  readonly treated_propensity: VectorType<FloatType>;
234
302
  readonly control_propensity: VectorType<FloatType>;
235
303
  readonly common_support_frac: FloatType;
304
+ /** Clears the **refuse** gate `min_overlap` — NOT a quality signal (true at the
305
+ * default 0.10 gate still means barely-overlapping). Read `support_strength`. */
236
306
  readonly positivity_ok: BooleanType;
307
+ /** Graded common-support tier (`refused` / `thin` / `strong`).
308
+ * twin: datascience OverlapDiagnosticType.support_strength */
309
+ readonly support_strength: VariantType<{
310
+ readonly refused: NullType;
311
+ readonly thin: NullType;
312
+ readonly strong: NullType;
313
+ }>;
237
314
  }>;
238
315
  readonly refutation: OptionType<StructType<{
239
316
  /** Effect under a permuted (placebo) treatment — should be ≈ 0. */
@@ -246,13 +323,19 @@ export declare const ExperimentResultType: StructType<{
246
323
  readonly data_subset_effect: OptionType<FloatType>;
247
324
  /** Std of the effect across data subsamples. */
248
325
  readonly data_subset_std: OptionType<FloatType>;
249
- /** Closed-form E-value — confounder strength needed to explain the effect away. */
326
+ /** Closed-form E-value (risk-ratio scale) — confounder strength needed to explain the
327
+ * effect away. A monotone transform of the standardized effect (not independent of it). */
250
328
  readonly robustness_value: OptionType<FloatType>;
251
329
  /** Unobserved-confounder sensitivity (tipping) curve: effect at each simulated strength. */
252
330
  readonly sensitivity: OptionType<StructType<{
253
331
  readonly strengths: VectorType<FloatType>;
254
332
  readonly effects: VectorType<FloatType>;
255
333
  }>>;
334
+ /** Sign-prior check (when `config.expected_sign` is set): `some(true)` if a material
335
+ * effect matches the expected direction, `some(false)` if it points the other way,
336
+ * `none` when no prior or the effect is near-zero.
337
+ * twin: datascience RefutationType.expected_sign_ok */
338
+ readonly expected_sign_ok: OptionType<BooleanType>;
256
339
  }>>;
257
340
  /** ALE dose-response of `dose_feature` (present when `config.dose_feature` is set). */
258
341
  readonly dose_response: OptionType<StructType<{
@@ -442,6 +525,135 @@ export declare const PopulationType: ArrayType<VariantType<{
442
525
  }>>;
443
526
  /** Type alias for {@link PopulationType}. */
444
527
  export type PopulationType = typeof PopulationType;
528
+ /**
529
+ * One developer-authored, vetted experiment — a named question that snaps the
530
+ * staged spec (and the population scope) to a pre-baked configuration. The surface
531
+ * renders presets as the spec's `Input.Presets` card grid; selecting one writes its
532
+ * `config` + `population` into the **staged** spec (still editable before Run), and
533
+ * a committed result records the originating preset by `id`.
534
+ *
535
+ * A preset bundles the **vetted backdoor set + scope** so a non-expert can pick a
536
+ * correct causal question from a menu rather than assemble one. `config` is a full
537
+ * {@link ExperimentConfigType} (column names are plain strings); `population` is the
538
+ * optional Step-4 scope (`none` ⇒ no scope). `group` sections the grid.
539
+ */
540
+ export declare const PresetType: StructType<{
541
+ /** Stable key — the journal records THIS (not `label`), and it drives selection
542
+ * identity, so a renamed `label` never orphans a committed row. */
543
+ readonly id: StringType;
544
+ /** Display title shown on the card. */
545
+ readonly label: StringType;
546
+ /** The vetted, pre-baked experiment config the card loads into the staged spec. */
547
+ readonly config: StructType<{
548
+ readonly treatment: StringType;
549
+ readonly outcome: StringType;
550
+ readonly common_causes: ArrayType<StringType>;
551
+ readonly categorical: OptionType<ArrayType<StringType>>;
552
+ readonly method: OptionType<VariantType<{
553
+ readonly linear_regression: NullType;
554
+ readonly propensity_score_weighting: StructType<{
555
+ readonly weighting_scheme: OptionType<VariantType<{
556
+ readonly ips_weight: NullType;
557
+ readonly ips_stabilized_weight: NullType;
558
+ readonly ips_normalized_weight: NullType;
559
+ }>>;
560
+ }>;
561
+ }>>;
562
+ readonly estimand: OptionType<VariantType<{
563
+ readonly ate: NullType;
564
+ readonly att: NullType;
565
+ readonly atc: NullType;
566
+ }>>;
567
+ readonly refute: OptionType<StructType<{
568
+ /** Permuted-treatment negative control — a real effect should vanish. */
569
+ readonly placebo: BooleanType;
570
+ /** Inject an independent random common cause — the effect should hold. */
571
+ readonly random_common_cause: BooleanType;
572
+ /** Re-estimate on random subsamples — the effect should be stable. */
573
+ readonly data_subset: BooleanType;
574
+ /** Unobserved-confounder strengths to simulate → the sensitivity / tipping curve. */
575
+ readonly sensitivity: OptionType<ArrayType<FloatType>>;
576
+ }>>;
577
+ /** Continuous column for the ALE dose-response curve (the "How much?" view). */
578
+ readonly dose_feature: OptionType<StringType>;
579
+ readonly min_overlap: OptionType<FloatType>;
580
+ readonly min_treatment_variation: OptionType<FloatType>;
581
+ readonly bootstrap: OptionType<StructType<{
582
+ readonly reps: IntegerType;
583
+ readonly cluster_column: OptionType<StringType>;
584
+ readonly confidence_level: OptionType<FloatType>;
585
+ }>>;
586
+ readonly random_state: OptionType<IntegerType>;
587
+ /** Graded-overlap threshold — common support below this keeps `causal` from the
588
+ * top tier (verdict `modest`, `overlap.support_strength = thin`); default 0.55. */
589
+ readonly strong_overlap: OptionType<FloatType>;
590
+ /** Robustness floor — a `causal` verdict whose E-value is below this is downgraded to
591
+ * `modest`. Off by default. (E-value is a monotone transform of the standardized effect.) */
592
+ readonly evalue_floor: OptionType<FloatType>;
593
+ /** Directional prior — a material, CI-clear effect of the opposite sign is flagged
594
+ * (`expected_sign_ok = some(false)`, verdict `adjustment_insufficient`). Off by default. */
595
+ readonly expected_sign: OptionType<VariantType<{
596
+ readonly positive: NullType;
597
+ readonly negative: NullType;
598
+ }>>;
599
+ }>;
600
+ /** Optional population scope to apply on select; `none` ⇒ clear the scope. */
601
+ readonly population: OptionType<ArrayType<VariantType<{
602
+ readonly string: import("@elaraai/east").StructType<{
603
+ readonly fieldId: import("@elaraai/east").StringType;
604
+ readonly op: import("@elaraai/east").VariantType<{
605
+ readonly eq: import("@elaraai/east").StringType;
606
+ readonly neq: import("@elaraai/east").StringType;
607
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").StringType>;
608
+ readonly notIn: import("@elaraai/east").SetType<import("@elaraai/east").StringType>;
609
+ readonly contains: import("@elaraai/east").StringType;
610
+ readonly matches: import("@elaraai/east").StringType;
611
+ }>;
612
+ }>;
613
+ readonly integer: import("@elaraai/east").StructType<{
614
+ readonly fieldId: import("@elaraai/east").StringType;
615
+ readonly op: import("@elaraai/east").VariantType<{
616
+ readonly eq: import("@elaraai/east").IntegerType;
617
+ readonly neq: import("@elaraai/east").IntegerType;
618
+ readonly lt: import("@elaraai/east").IntegerType;
619
+ readonly lte: import("@elaraai/east").IntegerType;
620
+ readonly gt: import("@elaraai/east").IntegerType;
621
+ readonly gte: import("@elaraai/east").IntegerType;
622
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
623
+ }>;
624
+ }>;
625
+ readonly float: import("@elaraai/east").StructType<{
626
+ readonly fieldId: import("@elaraai/east").StringType;
627
+ readonly op: import("@elaraai/east").VariantType<{
628
+ readonly lt: import("@elaraai/east").FloatType;
629
+ readonly lte: import("@elaraai/east").FloatType;
630
+ readonly gt: import("@elaraai/east").FloatType;
631
+ readonly gte: import("@elaraai/east").FloatType;
632
+ }>;
633
+ }>;
634
+ readonly datetime: import("@elaraai/east").StructType<{
635
+ readonly fieldId: import("@elaraai/east").StringType;
636
+ readonly op: import("@elaraai/east").VariantType<{
637
+ readonly before: import("@elaraai/east").DateTimeType;
638
+ readonly after: import("@elaraai/east").DateTimeType;
639
+ readonly between: import("@elaraai/east").StructType<{
640
+ readonly from: import("@elaraai/east").DateTimeType;
641
+ readonly to: import("@elaraai/east").DateTimeType;
642
+ }>;
643
+ }>;
644
+ }>;
645
+ readonly boolean: import("@elaraai/east").StructType<{
646
+ readonly fieldId: import("@elaraai/east").StringType;
647
+ readonly op: import("@elaraai/east").VariantType<{
648
+ readonly is: import("@elaraai/east").BooleanType;
649
+ }>;
650
+ }>;
651
+ }>>>;
652
+ /** Optional section header — cards sharing a `group` are bucketed together. */
653
+ readonly group: OptionType<StringType>;
654
+ }>;
655
+ /** Type alias for {@link PresetType}. */
656
+ export type PresetType = typeof PresetType;
445
657
  /**
446
658
  * Optional per-column display metadata the developer supplies once. Keyed by
447
659
  * column name. Lets the derived prose read "worse" instead of "lower" and show
@@ -500,6 +712,18 @@ export declare const JournalRowType: StructType<{
500
712
  readonly confidence_level: OptionType<FloatType>;
501
713
  }>>;
502
714
  readonly random_state: OptionType<IntegerType>;
715
+ /** Graded-overlap threshold — common support below this keeps `causal` from the
716
+ * top tier (verdict `modest`, `overlap.support_strength = thin`); default 0.55. */
717
+ readonly strong_overlap: OptionType<FloatType>;
718
+ /** Robustness floor — a `causal` verdict whose E-value is below this is downgraded to
719
+ * `modest`. Off by default. (E-value is a monotone transform of the standardized effect.) */
720
+ readonly evalue_floor: OptionType<FloatType>;
721
+ /** Directional prior — a material, CI-clear effect of the opposite sign is flagged
722
+ * (`expected_sign_ok = some(false)`, verdict `adjustment_insufficient`). Off by default. */
723
+ readonly expected_sign: OptionType<VariantType<{
724
+ readonly positive: NullType;
725
+ readonly negative: NullType;
726
+ }>>;
503
727
  }>;
504
728
  readonly verdict: VariantType<{
505
729
  readonly causal: NullType;
@@ -512,6 +736,9 @@ export declare const JournalRowType: StructType<{
512
736
  readonly adjusted: OptionType<FloatType>;
513
737
  readonly committed_at: DateTimeType;
514
738
  readonly committed_by: StringType;
739
+ /** The `id` of the preset this experiment was framed from (`none` for a
740
+ * free-form / pre-presets row); the surface renders it as a "from {label}" chip. */
741
+ readonly preset: OptionType<StringType>;
515
742
  }>;
516
743
  /** Type alias for {@link JournalRowType}. */
517
744
  export type JournalRowType = typeof JournalRowType;
@@ -557,6 +784,18 @@ export declare const JournalType: ArrayType<StructType<{
557
784
  readonly confidence_level: OptionType<FloatType>;
558
785
  }>>;
559
786
  readonly random_state: OptionType<IntegerType>;
787
+ /** Graded-overlap threshold — common support below this keeps `causal` from the
788
+ * top tier (verdict `modest`, `overlap.support_strength = thin`); default 0.55. */
789
+ readonly strong_overlap: OptionType<FloatType>;
790
+ /** Robustness floor — a `causal` verdict whose E-value is below this is downgraded to
791
+ * `modest`. Off by default. (E-value is a monotone transform of the standardized effect.) */
792
+ readonly evalue_floor: OptionType<FloatType>;
793
+ /** Directional prior — a material, CI-clear effect of the opposite sign is flagged
794
+ * (`expected_sign_ok = some(false)`, verdict `adjustment_insufficient`). Off by default. */
795
+ readonly expected_sign: OptionType<VariantType<{
796
+ readonly positive: NullType;
797
+ readonly negative: NullType;
798
+ }>>;
560
799
  }>;
561
800
  readonly verdict: VariantType<{
562
801
  readonly causal: NullType;
@@ -569,6 +808,9 @@ export declare const JournalType: ArrayType<StructType<{
569
808
  readonly adjusted: OptionType<FloatType>;
570
809
  readonly committed_at: DateTimeType;
571
810
  readonly committed_by: StringType;
811
+ /** The `id` of the preset this experiment was framed from (`none` for a
812
+ * free-form / pre-presets row); the surface renders it as a "from {label}" chip. */
813
+ readonly preset: OptionType<StringType>;
572
814
  }>>;
573
815
  /** Type alias for {@link JournalType}. */
574
816
  export type JournalType = typeof JournalType;
@@ -1 +1 @@
1
-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