@elaraai/e3-ui 1.0.21 → 1.0.23
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/src/experiment/index.d.ts +134 -544
- package/dist/src/experiment/index.d.ts.map +1 -1
- package/dist/src/experiment/index.js +21 -50
- package/dist/src/experiment/index.js.map +1 -1
- package/dist/src/experiment/types.d.ts +155 -16
- package/dist/src/experiment/types.d.ts.map +1 -1
- package/dist/src/experiment/types.js +22 -14
- package/dist/src/experiment/types.js.map +1 -1
- package/dist/test/experiment/experiment.examples.d.ts +609 -106
- package/dist/test/experiment/experiment.examples.d.ts.map +1 -1
- package/dist/test/experiment/experiment.examples.js +240 -120
- package/dist/test/experiment/experiment.examples.js.map +1 -1
- package/package.json +7 -7
|
@@ -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,
|
|
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,UA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;;;;;QAE3F,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,
|
|
37
|
+
import { ExperimentConfigType, ExperimentResultType, DoseResponseType, JournalType, ColumnMetaType, PopulationType, ConfigurationType, DesignConfigType, ExperimentDesignType, 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,
|
|
40
|
+
export { CiType, WeightingSchemeType, EstimatorType, TargetUnitsType, BootstrapConfigType, RefuteSpecType, ExperimentConfigType, BalanceRowType, OverlapDiagnosticType, RefutationType, DoseResponseType, ExperimentVerdictType, ExperimentResultType, JournalRowType, JournalType, ColumnMetaType, PopulationType, ConfigurationType, } from './types.js';
|
|
41
41
|
// ============================================================================
|
|
42
42
|
// Component payload — descriptors only (binding handles + options).
|
|
43
43
|
// ============================================================================
|
|
@@ -49,29 +49,27 @@ export const ExperimentTabType = VariantType({ answer: NullType, trust: NullType
|
|
|
49
49
|
*
|
|
50
50
|
* @property data - {@link DiffBindingType} for the input dataset — the renderer
|
|
51
51
|
* introspects its row struct for the pickers and passes it to the function.
|
|
52
|
-
* @property
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
52
|
+
* @property configs - {@link DiffBindingType} for the list of {@link ConfigurationType}
|
|
53
|
+
* questions (each carrying its config + optional precomputed result/design). The
|
|
54
|
+
* only config source; selecting one seeds the working config.
|
|
55
|
+
* @property experiment - Optional {@link FuncBindingType} for the universal estimator
|
|
56
|
+
* function; omitted when every shown question carries a precomputed result.
|
|
56
57
|
* @property journal - Optional {@link DiffBindingType} for the committed-experiment journal.
|
|
58
|
+
* @property design - Optional {@link FuncBindingType} for the universal `design` function
|
|
59
|
+
* (the "Validate" tab); applies to any question.
|
|
57
60
|
* @property columnMeta - Optional per-column display metadata.
|
|
58
61
|
* @property readonly - Render without the Apply / Commit / edit affordances.
|
|
59
62
|
* @property defaultTab - Initial result tab ({@link ExperimentTabType}).
|
|
60
63
|
*/
|
|
61
64
|
export const ExperimentPayloadType = StructType({
|
|
62
65
|
data: DiffBindingType,
|
|
63
|
-
|
|
64
|
-
experiment: FuncBindingType,
|
|
65
|
-
population: OptionType(DiffBindingType),
|
|
66
|
+
configs: DiffBindingType,
|
|
67
|
+
experiment: OptionType(FuncBindingType),
|
|
66
68
|
journal: OptionType(DiffBindingType),
|
|
67
|
-
/** Optional `design` function → the validation-trial recipe ("Validate" tab). */
|
|
68
69
|
design: OptionType(FuncBindingType),
|
|
69
70
|
columnMeta: OptionType(ColumnMetaType),
|
|
70
71
|
readonly: OptionType(BooleanType),
|
|
71
72
|
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)),
|
|
75
73
|
});
|
|
76
74
|
/**
|
|
77
75
|
* Internal {@link EastUI.component} carrier. The React renderer registers
|
|
@@ -83,8 +81,8 @@ export const ExperimentComponent = EastUI.component('Experiment', ExperimentPayl
|
|
|
83
81
|
* function.
|
|
84
82
|
*
|
|
85
83
|
* @typeParam Row - The input dataset's row struct, inferred from `data`.
|
|
86
|
-
* @param options - {@link ExperimentOptions}. `data
|
|
87
|
-
*
|
|
84
|
+
* @param options - {@link ExperimentOptions}. `data` and `configs` are required;
|
|
85
|
+
* the rest are optional.
|
|
88
86
|
* @returns An East expression of {@link UIComponentType}.
|
|
89
87
|
*/
|
|
90
88
|
function createExperiment(options) {
|
|
@@ -98,45 +96,18 @@ function createExperiment(options) {
|
|
|
98
96
|
unit: c?.unit !== undefined ? some(c.unit) : none,
|
|
99
97
|
higherIsBetter: c?.higherIsBetter !== undefined ? some(c.higherIsBetter) : none,
|
|
100
98
|
}])), ColumnMetaType));
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
//
|
|
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)));
|
|
99
|
+
// `configs` is a binding to a full Array<Configuration> (each entry's `spec` is a
|
|
100
|
+
// complete ExperimentConfigType + optional precomputed result/design) — no
|
|
101
|
+
// friendly-partial completion here; the bound dataset carries full values.
|
|
129
102
|
return ExperimentComponent.Root({
|
|
130
103
|
data: options.data.binding,
|
|
131
|
-
|
|
132
|
-
experiment: options.experiment.binding,
|
|
133
|
-
population: options.population !== undefined ? some(options.population.binding) : none,
|
|
104
|
+
configs: options.configs.binding,
|
|
105
|
+
experiment: options.experiment !== undefined ? some(options.experiment.binding) : none,
|
|
134
106
|
journal: options.journal !== undefined ? some(options.journal.binding) : none,
|
|
135
107
|
design: options.design !== undefined ? some(options.design.binding) : none,
|
|
136
108
|
columnMeta,
|
|
137
|
-
readonly: options.readonly
|
|
109
|
+
readonly: options.readonly === undefined ? none : some(options.readonly),
|
|
138
110
|
defaultTab,
|
|
139
|
-
presets,
|
|
140
111
|
});
|
|
141
112
|
}
|
|
142
113
|
/**
|
|
@@ -184,8 +155,8 @@ export const Experiment = {
|
|
|
184
155
|
DesignConfig: DesignConfigType,
|
|
185
156
|
/** The UI-side Step-4 population filter value type (Array of Slice predicates). */
|
|
186
157
|
Population: PopulationType,
|
|
187
|
-
/**
|
|
188
|
-
|
|
158
|
+
/** A configuration value type — a named question + scope + optional precomputed answer. */
|
|
159
|
+
Configuration: ConfigurationType,
|
|
189
160
|
/** Optional per-column display metadata. */
|
|
190
161
|
ColumnMeta: ColumnMetaType,
|
|
191
162
|
/** 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,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,
|
|
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,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,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,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-526,25 +526,27 @@ export declare const PopulationType: ArrayType<VariantType<{
|
|
|
526
526
|
/** Type alias for {@link PopulationType}. */
|
|
527
527
|
export type PopulationType = typeof PopulationType;
|
|
528
528
|
/**
|
|
529
|
-
* One developer-authored, vetted experiment — a named question
|
|
530
|
-
*
|
|
531
|
-
*
|
|
532
|
-
*
|
|
533
|
-
* a committed result records the originating preset by `id`.
|
|
529
|
+
* One developer-authored, vetted experiment configuration — a named question whose
|
|
530
|
+
* `spec` is loaded into the working config (and whose optional `population` sets the
|
|
531
|
+
* scope) when it is selected from the surface's question selector. A committed result
|
|
532
|
+
* records the originating configuration by `id`.
|
|
534
533
|
*
|
|
535
|
-
* A
|
|
536
|
-
* correct causal question from a menu rather than assemble one. `
|
|
534
|
+
* A configuration bundles the **vetted backdoor set + scope** so a non-expert can pick a
|
|
535
|
+
* correct causal question from a menu rather than assemble one. `spec` is a full
|
|
537
536
|
* {@link ExperimentConfigType} (column names are plain strings); `population` is the
|
|
538
|
-
* optional Step-4 scope (`none` ⇒ no scope)
|
|
537
|
+
* optional Step-4 scope (`none` ⇒ no scope); `group` sections the selector. An entry may
|
|
538
|
+
* also carry a precomputed `result`/`design` so the surface paints an answer with no live
|
|
539
|
+
* call.
|
|
539
540
|
*/
|
|
540
|
-
export declare const
|
|
541
|
+
export declare const ConfigurationType: StructType<{
|
|
541
542
|
/** Stable key — the journal records THIS (not `label`), and it drives selection
|
|
542
543
|
* identity, so a renamed `label` never orphans a committed row. */
|
|
543
544
|
readonly id: StringType;
|
|
544
|
-
/** Display title shown
|
|
545
|
+
/** Display title shown in the question selector. */
|
|
545
546
|
readonly label: StringType;
|
|
546
|
-
/** The vetted, pre-baked
|
|
547
|
-
|
|
547
|
+
/** The causal question — the vetted, pre-baked {@link ExperimentConfigType} this
|
|
548
|
+
* entry frames (loaded into the working config when selected). */
|
|
549
|
+
readonly spec: StructType<{
|
|
548
550
|
readonly treatment: StringType;
|
|
549
551
|
readonly outcome: StringType;
|
|
550
552
|
readonly common_causes: ArrayType<StringType>;
|
|
@@ -597,7 +599,7 @@ export declare const PresetType: StructType<{
|
|
|
597
599
|
readonly negative: NullType;
|
|
598
600
|
}>>;
|
|
599
601
|
}>;
|
|
600
|
-
/** Optional population scope to apply on select; `none` ⇒
|
|
602
|
+
/** Optional population scope to apply on select; `none` ⇒ no scope. */
|
|
601
603
|
readonly population: OptionType<ArrayType<VariantType<{
|
|
602
604
|
readonly string: import("@elaraai/east").StructType<{
|
|
603
605
|
readonly fieldId: import("@elaraai/east").StringType;
|
|
@@ -649,11 +651,148 @@ export declare const PresetType: StructType<{
|
|
|
649
651
|
}>;
|
|
650
652
|
}>;
|
|
651
653
|
}>>>;
|
|
652
|
-
/** Optional section header —
|
|
654
|
+
/** Optional section header — entries sharing a `group` are bucketed together. */
|
|
653
655
|
readonly group: OptionType<StringType>;
|
|
656
|
+
/** Optional precomputed answer for this question (e.g. a dataflow task ran
|
|
657
|
+
* `Causal.experiment` once). `none` ⇒ compute live via the `experiment` function. */
|
|
658
|
+
readonly result: OptionType<StructType<{
|
|
659
|
+
readonly naive: FloatType;
|
|
660
|
+
readonly naive_ci: OptionType<StructType<{
|
|
661
|
+
readonly lower: FloatType;
|
|
662
|
+
readonly upper: FloatType;
|
|
663
|
+
}>>;
|
|
664
|
+
readonly adjusted: OptionType<StructType<{
|
|
665
|
+
readonly effect: FloatType;
|
|
666
|
+
readonly ci: OptionType<StructType<{
|
|
667
|
+
readonly lower: FloatType;
|
|
668
|
+
readonly upper: FloatType;
|
|
669
|
+
}>>;
|
|
670
|
+
}>>;
|
|
671
|
+
readonly n_total: IntegerType;
|
|
672
|
+
readonly n_treated: IntegerType;
|
|
673
|
+
readonly n_control: IntegerType;
|
|
674
|
+
readonly n_dropped: IntegerType;
|
|
675
|
+
readonly balance: ArrayType<StructType<{
|
|
676
|
+
readonly column: StringType;
|
|
677
|
+
/** The original confounder this row belongs to — equals `column` for a numeric
|
|
678
|
+
* confounder; the base confounder for a one-hot categorical level. */
|
|
679
|
+
readonly base_column: StringType;
|
|
680
|
+
readonly treated_mean: FloatType;
|
|
681
|
+
readonly control_mean: FloatType;
|
|
682
|
+
readonly std_diff: FloatType;
|
|
683
|
+
}>>;
|
|
684
|
+
readonly overlap: StructType<{
|
|
685
|
+
readonly treated_propensity: VectorType<FloatType>;
|
|
686
|
+
readonly control_propensity: VectorType<FloatType>;
|
|
687
|
+
readonly common_support_frac: FloatType;
|
|
688
|
+
/** Clears the **refuse** gate `min_overlap` — NOT a quality signal (true at the
|
|
689
|
+
* default 0.10 gate still means barely-overlapping). Read `support_strength`. */
|
|
690
|
+
readonly positivity_ok: BooleanType;
|
|
691
|
+
/** Graded common-support tier (`refused` / `thin` / `strong`).
|
|
692
|
+
* twin: datascience OverlapDiagnosticType.support_strength */
|
|
693
|
+
readonly support_strength: VariantType<{
|
|
694
|
+
readonly refused: NullType;
|
|
695
|
+
readonly thin: NullType;
|
|
696
|
+
readonly strong: NullType;
|
|
697
|
+
}>;
|
|
698
|
+
}>;
|
|
699
|
+
readonly refutation: OptionType<StructType<{
|
|
700
|
+
/** Effect under a permuted (placebo) treatment — should be ≈ 0. */
|
|
701
|
+
readonly placebo_effect: OptionType<FloatType>;
|
|
702
|
+
/** Whether the placebo effect vanished. */
|
|
703
|
+
readonly placebo_passes: OptionType<BooleanType>;
|
|
704
|
+
/** Whether a decoy random common cause left the estimate inside its CI. */
|
|
705
|
+
readonly random_cc_within_ci: OptionType<BooleanType>;
|
|
706
|
+
/** Mean effect across data subsamples (stability). */
|
|
707
|
+
readonly data_subset_effect: OptionType<FloatType>;
|
|
708
|
+
/** Std of the effect across data subsamples. */
|
|
709
|
+
readonly data_subset_std: OptionType<FloatType>;
|
|
710
|
+
/** Closed-form E-value (risk-ratio scale) — confounder strength needed to explain the
|
|
711
|
+
* effect away. A monotone transform of the standardized effect (not independent of it). */
|
|
712
|
+
readonly robustness_value: OptionType<FloatType>;
|
|
713
|
+
/** Unobserved-confounder sensitivity (tipping) curve: effect at each simulated strength. */
|
|
714
|
+
readonly sensitivity: OptionType<StructType<{
|
|
715
|
+
readonly strengths: VectorType<FloatType>;
|
|
716
|
+
readonly effects: VectorType<FloatType>;
|
|
717
|
+
}>>;
|
|
718
|
+
/** Sign-prior check (when `config.expected_sign` is set): `some(true)` if a material
|
|
719
|
+
* effect matches the expected direction, `some(false)` if it points the other way,
|
|
720
|
+
* `none` when no prior or the effect is near-zero.
|
|
721
|
+
* twin: datascience RefutationType.expected_sign_ok */
|
|
722
|
+
readonly expected_sign_ok: OptionType<BooleanType>;
|
|
723
|
+
}>>;
|
|
724
|
+
/** ALE dose-response of `dose_feature` (present when `config.dose_feature` is set). */
|
|
725
|
+
readonly dose_response: OptionType<StructType<{
|
|
726
|
+
readonly feature: StringType;
|
|
727
|
+
readonly grid: VectorType<FloatType>;
|
|
728
|
+
readonly effect: VectorType<FloatType>;
|
|
729
|
+
readonly lower: OptionType<VectorType<FloatType>>;
|
|
730
|
+
readonly upper: OptionType<VectorType<FloatType>>;
|
|
731
|
+
/** Rows per dose bin — drives the surface's "you are here" (busiest bin) marker. */
|
|
732
|
+
readonly size: VectorType<IntegerType>;
|
|
733
|
+
}>>;
|
|
734
|
+
readonly verdict: VariantType<{
|
|
735
|
+
readonly causal: NullType;
|
|
736
|
+
readonly modest: NullType;
|
|
737
|
+
readonly adjustment_insufficient: NullType;
|
|
738
|
+
readonly non_identifiable_positivity: NullType;
|
|
739
|
+
readonly not_estimable: StringType;
|
|
740
|
+
}>;
|
|
741
|
+
}>>;
|
|
742
|
+
/** Optional precomputed "Validate" recipe ({@link ExperimentDesignType}) for this
|
|
743
|
+
* question; `none` ⇒ compute live via the `design` function (if bound). */
|
|
744
|
+
readonly design: OptionType<StructType<{
|
|
745
|
+
/** The verdict that drove the recommendation (echoed for framing). */
|
|
746
|
+
readonly verdict: VariantType<{
|
|
747
|
+
readonly causal: NullType;
|
|
748
|
+
readonly modest: NullType;
|
|
749
|
+
readonly adjustment_insufficient: NullType;
|
|
750
|
+
readonly non_identifiable_positivity: NullType;
|
|
751
|
+
readonly not_estimable: StringType;
|
|
752
|
+
}>;
|
|
753
|
+
readonly basis: VariantType<{
|
|
754
|
+
/** Clear effect → power the trial to detect the *observed* effect. */
|
|
755
|
+
readonly detect_observed: NullType;
|
|
756
|
+
/** Fuzzy / maybe-nothing → power to the smallest effect worth acting on. */
|
|
757
|
+
readonly resolve_vs_null: NullType;
|
|
758
|
+
/** A trust check failed → randomise to remove the bias adjustment couldn't. */
|
|
759
|
+
readonly de_bias: NullType;
|
|
760
|
+
/** No overlap → randomise within the comparable range. */
|
|
761
|
+
readonly restrict_to_overlap: NullType;
|
|
762
|
+
/** No control group exists → hold back a random sample next time. */
|
|
763
|
+
readonly create_control: NullType;
|
|
764
|
+
}>;
|
|
765
|
+
/** The effect size the trial is powered to detect (observed, or materiality). */
|
|
766
|
+
readonly target_effect: FloatType;
|
|
767
|
+
/** Outcome spread (pooled SD) used to size it. */
|
|
768
|
+
readonly outcome_sd: FloatType;
|
|
769
|
+
readonly target_power: FloatType;
|
|
770
|
+
readonly alpha: FloatType;
|
|
771
|
+
/** Chance the CURRENT sample would already detect `target_effect` (the "you're here" marker); `none` when there's no comparison group. */
|
|
772
|
+
readonly current_power: OptionType<FloatType>;
|
|
773
|
+
/** Categories both groups must be matched on (the most-imbalanced confounders). */
|
|
774
|
+
readonly match_on: ArrayType<StringType>;
|
|
775
|
+
/** Ranked split options (even split first; cost-saving alternates). */
|
|
776
|
+
readonly options: ArrayType<StructType<{
|
|
777
|
+
/** Plain label, e.g. "Even split" / "Treat fewer". */
|
|
778
|
+
readonly label: StringType;
|
|
779
|
+
/** Fraction assigned to the treatment (0..1; 0.5 = even). */
|
|
780
|
+
readonly treated_share: FloatType;
|
|
781
|
+
readonly n_treated: IntegerType;
|
|
782
|
+
readonly n_control: IntegerType;
|
|
783
|
+
readonly n_total: IntegerType;
|
|
784
|
+
}>>;
|
|
785
|
+
/** The detect-chance curve for the chart. */
|
|
786
|
+
readonly power_curve: StructType<{
|
|
787
|
+
readonly n: VectorType<IntegerType>;
|
|
788
|
+
readonly power: VectorType<FloatType>;
|
|
789
|
+
}>;
|
|
790
|
+
/** One generated, plain-language sentence framing the recipe. */
|
|
791
|
+
readonly rationale: StringType;
|
|
792
|
+
}>>;
|
|
654
793
|
}>;
|
|
655
|
-
/** Type alias for {@link
|
|
656
|
-
export type
|
|
794
|
+
/** Type alias for {@link ConfigurationType}. */
|
|
795
|
+
export type ConfigurationType = typeof ConfigurationType;
|
|
657
796
|
/**
|
|
658
797
|
* Optional per-column display metadata the developer supplies once. Keyed by
|
|
659
798
|
* column name. Lets the derived prose read "worse" instead of "lower" and show
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/experiment/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EACH,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,QAAQ,EACR,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,UAAU,EACb,MAAM,eAAe,CAAC;AAOvB,6BAA6B;AAC7B,eAAO,MAAM,MAAM;;;EAAqD,CAAC;AACzE,qCAAqC;AACrC,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC;AAEnC,2CAA2C;AAC3C,eAAO,MAAM,mBAAmB;;;;EAI9B,CAAC;AACH,kDAAkD;AAClD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC;AAE7D,0CAA0C;AAC1C,eAAO,MAAM,aAAa;;;;;;;;;EAKxB,CAAC;AACH,4CAA4C;AAC5C,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC;AAEjD,6CAA6C;AAC7C,eAAO,MAAM,eAAe;;;;EAI1B,CAAC;AACH,8CAA8C;AAC9C,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;AAErD;;;;GAIG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311
|
/**
|
|
312
|
-
* One developer-authored, vetted experiment — a named question
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
* a committed result records the originating preset by `id`.
|
|
312
|
+
* One developer-authored, vetted experiment configuration — a named question whose
|
|
313
|
+
* `spec` is loaded into the working config (and whose optional `population` sets the
|
|
314
|
+
* scope) when it is selected from the surface's question selector. A committed result
|
|
315
|
+
* records the originating configuration by `id`.
|
|
317
316
|
*
|
|
318
|
-
* A
|
|
319
|
-
* correct causal question from a menu rather than assemble one. `
|
|
317
|
+
* A configuration bundles the **vetted backdoor set + scope** so a non-expert can pick a
|
|
318
|
+
* correct causal question from a menu rather than assemble one. `spec` is a full
|
|
320
319
|
* {@link ExperimentConfigType} (column names are plain strings); `population` is the
|
|
321
|
-
* optional Step-4 scope (`none` ⇒ no scope)
|
|
320
|
+
* optional Step-4 scope (`none` ⇒ no scope); `group` sections the selector. An entry may
|
|
321
|
+
* also carry a precomputed `result`/`design` so the surface paints an answer with no live
|
|
322
|
+
* call.
|
|
322
323
|
*/
|
|
323
|
-
export const
|
|
324
|
+
export const ConfigurationType = StructType({
|
|
324
325
|
/** Stable key — the journal records THIS (not `label`), and it drives selection
|
|
325
326
|
* identity, so a renamed `label` never orphans a committed row. */
|
|
326
327
|
id: StringType,
|
|
327
|
-
/** Display title shown
|
|
328
|
+
/** Display title shown in the question selector. */
|
|
328
329
|
label: StringType,
|
|
329
|
-
/** The vetted, pre-baked
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
/** The causal question — the vetted, pre-baked {@link ExperimentConfigType} this
|
|
331
|
+
* entry frames (loaded into the working config when selected). */
|
|
332
|
+
spec: ExperimentConfigType,
|
|
333
|
+
/** Optional population scope to apply on select; `none` ⇒ no scope. */
|
|
332
334
|
population: OptionType(PopulationType),
|
|
333
|
-
/** Optional section header —
|
|
335
|
+
/** Optional section header — entries sharing a `group` are bucketed together. */
|
|
334
336
|
group: OptionType(StringType),
|
|
337
|
+
/** Optional precomputed answer for this question (e.g. a dataflow task ran
|
|
338
|
+
* `Causal.experiment` once). `none` ⇒ compute live via the `experiment` function. */
|
|
339
|
+
result: OptionType(ExperimentResultType),
|
|
340
|
+
/** Optional precomputed "Validate" recipe ({@link ExperimentDesignType}) for this
|
|
341
|
+
* question; `none` ⇒ compute live via the `design` function (if bound). */
|
|
342
|
+
design: OptionType(ExperimentDesignType),
|
|
335
343
|
});
|
|
336
344
|
/**
|
|
337
345
|
* Optional per-column display metadata the developer supplies once. Keyed by
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/experiment/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EACH,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,QAAQ,EACR,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,+EAA+E;AAC/E,uCAAuC;AACvC,+EAA+E;AAE/E,6BAA6B;AAC7B,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;AAIzE,2CAA2C;AAC3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,WAAW,CAAC;IAC3C,UAAU,EAAE,QAAQ;IACpB,qBAAqB,EAAE,QAAQ;IAC/B,qBAAqB,EAAE,QAAQ;CAClC,CAAC,CAAC;AAIH,0CAA0C;AAC1C,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC;IACrC,iBAAiB,EAAE,QAAQ;IAC3B,0BAA0B,EAAE,UAAU,CAAC;QACnC,gBAAgB,EAAE,UAAU,CAAC,mBAAmB,CAAC;KACpD,CAAC;CACL,CAAC,CAAC;AAIH,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