omega-cognitive-kernel 1.3.0

Online strategy-patch runtime: training-free RuleEffect adaptation with audit and rollback
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
//! Data types, report structs, and constants for bandit and L2 benchmark tasks.

use alloc::collections::BTreeMap;
use serde::{Serialize, Serializer};

fn serialize_score_breakdown<S>(
    values: &BTreeMap<String, f64>,
    serializer: S,
) -> core::result::Result<S::Ok, S::Error>
where
    S: Serializer,
{
    let mut entries: Vec<_> = values.iter().collect();
    entries.sort_unstable_by_key(|(key, _)| *key);
    serializer.collect_map(entries)
}

#[derive(Debug, Clone, Default, Serialize)]
/// Data structure representing L2 expert metrics.
pub struct L2ExpertMetrics {
    /// Committed for this value.
    pub committed: u64,
    /// Applied for this value.
    pub applied: u64,
    /// Not applied for this value.
    pub not_applied: u64,
    /// Reward sum for this value.
    pub reward_sum: f64,
}

#[derive(Debug, Clone, Default, Serialize)]
/// Data structure representing L2 pipeline diagnostics.
pub struct L2PipelineDiagnostics {
    /// Observations for this value.
    pub observations: u64,
    /// Spectral active for this value.
    pub spectral_active: u64,
    /// Proposals for this value.
    pub proposals: u64,
    /// Dry runs for this value.
    pub dry_runs: u64,
    /// Candidate arm changed relative to KEEP_L0 on the same pre-action snapshot.
    pub candidate_changes: u64,
    /// Selected arm changed relative to KEEP_L0 on that same snapshot.
    pub selected_changes: u64,
    /// Counterfactual changed candidate but L0 safety/hysteresis held the arm.
    pub candidate_changes_not_selected: u64,
    /// History discounts for this value.
    pub history_discounts: u64,
    /// Spectral rejections for this value.
    pub spectral_rejections: u64,
    /// Lyapunov rejections for this value.
    pub lyapunov_rejections: u64,
    /// Cooldown rejections for this value.
    pub cooldown_rejections: u64,
    /// Confidence rejections for this value.
    pub confidence_rejections: u64,
}

#[derive(Debug, Clone, PartialEq, Serialize)]
/// Data structure representing L2 diagnostic sample.
pub struct L2DiagnosticSample {
    /// Step for this value.
    pub step: u64,
    /// Selected arm for this value.
    pub selected_arm: usize,
    /// Optimal arm for this value.
    pub optimal_arm: usize,
    /// Reward for this value.
    pub reward: f64,
    /// Spectral bias for this value.
    pub spectral_bias: f64,
    /// Normalized energy for this value.
    pub normalized_energy: f64,
    /// Spectral dc drift for this value.
    pub spectral_dc_drift: f64,
    /// Convergence residual for this value.
    pub convergence_residual: f64,
    /// Controller residual for this value.
    pub controller_residual: f64,
    /// Alpha for this value.
    pub alpha: f64,
    /// Beta for this value.
    pub beta: f64,
    /// Confidence for this value.
    pub confidence: f64,
    /// Optional proposed expert.
    pub proposed_expert: Option<usize>,
    /// Whether applied is enabled or active.
    pub applied: bool,
    /// Optional dry run baseline arm.
    pub dry_run_baseline_arm: Option<usize>,
    /// Optional dry run treatment arm.
    pub dry_run_treatment_arm: Option<usize>,
    /// Optional dry run baseline candidate.
    pub dry_run_baseline_candidate: Option<usize>,
    /// Optional dry run treatment candidate.
    pub dry_run_treatment_candidate: Option<usize>,
    /// Optional rejection reason.
    pub rejection_reason: Option<String>,
}

#[derive(Debug, Clone, Copy, Default, Serialize)]
/// Data structure representing correlation diagnostic.
pub struct CorrelationDiagnostic {
    /// Samples for this value.
    pub samples: usize,
    /// Optional pearson.
    pub pearson: Option<f64>,
    /// Optional spearman.
    pub spearman: Option<f64>,
    #[serde(skip_serializing_if = "Option::is_none")]
    /// Optional spearman bootstrap ci95.
    pub spearman_bootstrap_ci95: Option<[f64; 2]>,
}

#[derive(Debug, Clone, Default, Serialize)]
/// Data structure representing L2 signal diagnostics.
pub struct L2SignalDiagnostics {
    /// Bias to next reward for this value.
    pub bias_to_next_reward: CorrelationDiagnostic,
    /// Residual to next error for this value.
    pub residual_to_next_error: CorrelationDiagnostic,
    /// Bias to regime change for this value.
    pub bias_to_regime_change: CorrelationDiagnostic,
    /// Bias to next optimal arm for this value.
    pub bias_to_next_optimal_arm: CorrelationDiagnostic,
}

#[derive(Debug, Clone, Default, Serialize)]
/// Data structure representing L2 experiment settings.
pub struct L2ExperimentSettings {
    /// Whether spectral control is enabled or active.
    pub spectral_control: bool,
    /// Whether purity prior is enabled or active.
    pub purity_prior: bool,
    /// Whether reverse brake is enabled or active.
    pub reverse_brake: bool,
    /// Whether history discount is enabled or active.
    pub history_discount: bool,
}

#[derive(Debug, Clone, Serialize)]
/// Report of bandit.
pub struct BanditReport {
    /// Scenario for this value.
    pub scenario: String,
    /// Episodes for this value.
    pub episodes: u32,
    /// Steps per episode for this value.
    pub steps_per_episode: u32,
    /// Mean reward for this value.
    pub mean_reward: f64,
    /// Mean external reward after UCB's error, rollback, and switching costs.
    /// This is a learning diagnostic, not a substitute for external reward.
    pub mean_adjusted_reward: f64,
    /// Best arm rate for this value.
    pub best_arm_rate: f64,
    /// Prediction-error damping factor at the end of the run.
    pub final_damping: f64,
    /// Final explore bonus for this value.
    pub final_explore_bonus: f64,
    /// Final risk tolerance for this value.
    pub final_risk_tolerance: f64,
    /// Whether average prediction error fell during the run.
    pub error_decreased: bool,
    /// Number of patches accepted during the run.
    pub patches_accepted: u64,
    /// Seed for this value.
    pub seed: u64,
    // Strategy-decay observability
    /// Number of stored strategies.
    pub strategy_count: usize,
    /// Number of idle strategy.
    pub idle_strategy_count: usize,
    /// Mean strategy weight for this value.
    pub mean_strategy_weight: f64,
    /// Number of mean idle.
    pub mean_idle_steps: f64,
    /// Maximum idle steps.
    pub max_idle_steps: u32,
    /// Mean idle weight for this value.
    pub mean_idle_weight: f64,
    /// Mean active weight for this value.
    pub mean_active_weight: f64,
    /// Initial average error for this value.
    pub initial_avg_error: f64,
    /// Final average error for this value.
    pub final_avg_error: f64,
    /// Fixed point enters for this value.
    pub fixed_point_enters: usize,
    /// Fixed point exits for this value.
    pub fixed_point_exits: usize,
    /// Maximum fixed point dwell.
    pub max_fixed_point_dwell: u64,
    /// L2 nudges for this value.
    pub l2_nudges: usize,
    /// L2 proposals for this value.
    pub l2_proposals: usize,
    /// L2 commits for this value.
    pub l2_commits: usize,
    /// Action switches for this value.
    pub action_switches: usize,
    /// Post commit action changes for this value.
    pub post_commit_action_changes: usize,
    /// Post commit arm changes for this value.
    pub post_commit_arm_changes: usize,
    /// Distinct actions for this value.
    pub distinct_actions: usize,
    /// Mean l2 consequence score for this value.
    pub mean_l2_consequence_score: f64,
    #[serde(serialize_with = "serialize_score_breakdown")]
    /// Mapping of final score breakdown.
    pub final_score_breakdown: BTreeMap<String, f64>,
    /// Final alignment score for this value.
    pub final_alignment_score: f64,
    /// Number of recovery.
    pub recovery_steps: Option<u32>,
    /// Number of L1 rollback.
    pub l1_rollback_count: u64,
    /// Number of L1 blocked by L2.
    pub l1_blocked_by_l2_count: u64,
    /// Number of L2 rollback.
    pub l2_rollback_count: u64,
    /// Whether dayan converged is enabled or active.
    pub dayan_converged: bool,
    /// Final dayan residual for this value.
    pub final_dayan_residual: f64,
    /// Number of dwell hold.
    pub dwell_hold_count: u64,
    /// Number of margin hold.
    pub margin_hold_count: u64,
    /// Number of active.
    pub active_steps: u64,
    /// Committed policies applied for this value.
    pub committed_policies_applied: u64,
    /// Expert metrics for this value.
    pub expert_metrics: [L2ExpertMetrics; 4],
    /// Lyapunov vetoes for this value.
    pub lyapunov_vetoes: u64,
    /// Meta cache hits for this value.
    pub meta_cache_hits: u64,
    /// Collection of recovery latencies.
    pub recovery_latencies: Vec<u32>,
    /// Collection of warm recovery latencies.
    pub warm_recovery_latencies: Vec<u32>,
    /// Mean residual improvement for this value.
    pub mean_residual_improvement: f64,
    #[serde(skip_serializing_if = "Option::is_none")]
    /// Optional pipeline.
    pub pipeline: Option<L2PipelineDiagnostics>,
    #[serde(skip_serializing_if = "Option::is_none")]
    /// Optional diagnostics.
    pub diagnostics: Option<Vec<L2DiagnosticSample>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    /// Optional signals.
    pub signals: Option<L2SignalDiagnostics>,
    #[serde(skip_serializing_if = "Option::is_none")]
    /// Optional experiment.
    pub experiment: Option<L2ExperimentSettings>,
}

#[derive(Debug, Clone, Serialize)]
/// Data structure representing L2 benchmark aggregate.
pub struct L2BenchmarkAggregate {
    /// Runs for this value.
    pub runs: u32,
    /// Mean reward for this value.
    pub mean_reward: f64,
    /// Mean adjusted reward for this value.
    pub mean_adjusted_reward: f64,
    /// Best arm rate for this value.
    pub best_arm_rate: f64,
    /// Error decrease rate for this value.
    pub error_decrease_rate: f64,
    /// Mean initial error for this value.
    pub mean_initial_error: f64,
    /// Mean final error for this value.
    pub mean_final_error: f64,
    /// Mean error delta for this value.
    pub mean_error_delta: f64,
    /// Mean patches accepted for this value.
    pub mean_patches_accepted: f64,
    /// Mean fixed point enters for this value.
    pub mean_fixed_point_enters: f64,
    /// Mean fixed point exits for this value.
    pub mean_fixed_point_exits: f64,
    /// Mean maximum fixed point dwell for this value.
    pub mean_max_fixed_point_dwell: f64,
    /// Mean l2 nudges for this value.
    pub mean_l2_nudges: f64,
    /// Mean l2 proposals for this value.
    pub mean_l2_proposals: f64,
    /// Mean l2 commits for this value.
    pub mean_l2_commits: f64,
    /// Mean action switches for this value.
    pub mean_action_switches: f64,
    /// Mean post commit action changes for this value.
    pub mean_post_commit_action_changes: f64,
    /// Mean post commit arm changes for this value.
    pub mean_post_commit_arm_changes: f64,
    /// Mean distinct actions for this value.
    pub mean_distinct_actions: f64,
    /// Mean l2 consequence score for this value.
    pub mean_l2_consequence_score: f64,
    #[serde(serialize_with = "serialize_score_breakdown")]
    /// Mapping of mean final score breakdown.
    pub mean_final_score_breakdown: BTreeMap<String, f64>,
    /// Mean final alignment score for this value.
    pub mean_final_alignment_score: f64,
    /// Number of mean recovery.
    pub mean_recovery_steps: Option<f64>,
    /// Recovery rate for this value.
    pub recovery_rate: f64,
    /// Number of mean L1 rollback.
    pub mean_l1_rollback_count: f64,
    /// Number of mean L1 blocked by L2.
    pub mean_l1_blocked_by_l2_count: f64,
    /// Number of mean L2 rollback.
    pub mean_l2_rollback_count: f64,
    /// Dayan convergence rate for this value.
    pub dayan_convergence_rate: f64,
    /// Mean final dayan residual for this value.
    pub mean_final_dayan_residual: f64,
    /// Number of mean dwell hold.
    pub mean_dwell_hold_count: f64,
    /// Number of mean margin hold.
    pub mean_margin_hold_count: f64,
    /// Number of mean active.
    pub mean_active_steps: f64,
    /// Mean committed policies applied for this value.
    pub mean_committed_policies_applied: f64,
    /// Mean expert committed for this value.
    pub mean_expert_committed: [f64; 4],
    /// Mean expert applied for this value.
    pub mean_expert_applied: [f64; 4],
    /// Mean expert not applied for this value.
    pub mean_expert_not_applied: [f64; 4],
    /// Optional mean expert reward.
    pub mean_expert_reward: [Option<f64>; 4],
    /// Mean lyapunov vetoes for this value.
    pub mean_lyapunov_vetoes: f64,
    /// Mean meta cache hits for this value.
    pub mean_meta_cache_hits: f64,
    /// Recovery event rate for this value.
    pub recovery_event_rate: f64,
    /// Number of mean warm recovery.
    pub mean_warm_recovery_steps: Option<f64>,
    /// Mean residual improvement for this value.
    pub mean_residual_improvement: f64,
}

#[derive(Debug, Clone, Default, PartialEq, Serialize)]
/// Data structure representing paired mean difference.
pub struct PairedMeanDifference {
    /// Mean for this value.
    pub mean: f64,
    /// Optional ci95 low.
    pub ci95_low: Option<f64>,
    /// Optional ci95 high.
    pub ci95_high: Option<f64>,
}

#[derive(Debug, Clone, Serialize)]
/// Data structure representing L2 paired run.
pub struct L2PairedRun {
    /// Seed for this value.
    pub seed: u64,
    /// Baseline for this value.
    pub baseline: BanditReport,
    /// Treatment for this value.
    pub treatment: BanditReport,
    /// Delta mean reward for this value.
    pub delta_mean_reward: f64,
    /// Delta best arm rate for this value.
    pub delta_best_arm_rate: f64,
    /// Delta error delta for this value.
    pub delta_error_delta: f64,
    /// Whether treatment influenced L0 is enabled or active.
    pub treatment_influenced_l0: bool,
}

#[derive(Debug, Clone, Serialize)]
/// Report of L2 benchmark.
pub struct L2BenchmarkReport {
    /// Scenario for this value.
    pub scenario: String,
    /// Episodes for this value.
    pub episodes: u32,
    /// Steps per episode for this value.
    pub steps_per_episode: u32,
    /// Runs for this value.
    pub runs: u32,
    /// Seed for this value.
    pub seed: u64,
    /// Baseline l2 disabled for this value.
    pub baseline_l2_disabled: L2BenchmarkAggregate,
    /// Whether treatment L2 enabled.
    pub treatment_l2_enabled: L2BenchmarkAggregate,
    /// Delta mean reward for this value.
    pub delta_mean_reward: f64,
    /// Delta best arm rate for this value.
    pub delta_best_arm_rate: f64,
    /// Delta error decrease rate for this value.
    pub delta_error_decrease_rate: f64,
    /// Paired reward difference for this value.
    pub paired_reward_difference: PairedMeanDifference,
    /// Paired best arm difference for this value.
    pub paired_best_arm_difference: PairedMeanDifference,
    /// Paired reward bootstrap for this value.
    pub paired_reward_bootstrap: PairedMeanDifference,
    /// Paired best arm bootstrap for this value.
    pub paired_best_arm_bootstrap: PairedMeanDifference,
    /// L0 influenced runs for this value.
    pub l0_influenced_runs: u32,
    /// Per-seed evidence for diagnosing differences that occur without a commit.
    pub paired_runs: Vec<L2PairedRun>,
}

#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize)]
#[serde(rename_all = "snake_case")]
/// Identifies a supported factorial arm.
pub enum FactorialArm {
    /// Variant representing L0.
    L0,
    /// Variant representing L1.
    L1,
    /// Variant representing L2.
    L2,
    /// Variant representing L1 L2.
    L1L2,
}

impl FactorialArm {
    /// Constant defining all.
    pub const ALL: [Self; 4] = [Self::L0, Self::L1, Self::L2, Self::L1L2];

    pub(super) fn index(self) -> usize {
        match self {
            Self::L0 => 0,
            Self::L1 => 1,
            Self::L2 => 2,
            Self::L1L2 => 3,
        }
    }

    /// Performs label for this type.
    pub fn label(self) -> &'static str {
        match self {
            Self::L0 => "L0",
            Self::L1 => "L1",
            Self::L2 => "L2",
            Self::L1L2 => "L1+L2",
        }
    }

    pub(super) fn l1_enabled(self) -> bool {
        matches!(self, Self::L1 | Self::L1L2)
    }

    pub(super) fn l2_enabled(self) -> bool {
        matches!(self, Self::L2 | Self::L1L2)
    }
}

#[derive(Debug, Clone, Default, PartialEq, Serialize)]
/// Data structure representing factorial effect.
pub struct FactorialEffect {
    /// Reward for this value.
    pub reward: PairedMeanDifference,
    /// Reward bootstrap for this value.
    pub reward_bootstrap: PairedMeanDifference,
    /// Best arm rate for this value.
    pub best_arm_rate: PairedMeanDifference,
    /// Adjusted reward for this value.
    pub adjusted_reward: PairedMeanDifference,
}

#[derive(Debug, Clone, Serialize)]
/// Data structure representing factorial run.
pub struct FactorialRun {
    /// Seed for this value.
    pub seed: u64,
    /// Arms for this value.
    pub arms: [BanditReport; 4],
    /// L1 reward delta for this value.
    pub l1_reward_delta: f64,
    /// L2 reward delta for this value.
    pub l2_reward_delta: f64,
    /// Joint reward delta for this value.
    pub joint_reward_delta: f64,
    /// Interaction reward delta for this value.
    pub interaction_reward_delta: f64,
}

#[derive(Debug, Clone, Serialize)]
/// Report of factorial benchmark.
pub struct FactorialBenchmarkReport {
    /// Scenario for this value.
    pub scenario: String,
    /// Episodes for this value.
    pub episodes: u32,
    /// Steps per episode for this value.
    pub steps_per_episode: u32,
    /// Runs for this value.
    pub runs: u32,
    /// Seed for this value.
    pub seed: u64,
    /// Arm order for this value.
    pub arm_order: [FactorialArm; 4],
    /// Aggregates for this value.
    pub aggregates: [L2BenchmarkAggregate; 4],
    /// L1 effect for this value.
    pub l1_effect: FactorialEffect,
    /// L2 effect for this value.
    pub l2_effect: FactorialEffect,
    /// Joint effect for this value.
    pub joint_effect: FactorialEffect,
    /// Interaction effect for this value.
    pub interaction_effect: FactorialEffect,
    /// Collection of paired runs.
    pub paired_runs: Vec<FactorialRun>,
}

/// Constant defining L2 gain scenarios.
pub const L2_GAIN_SCENARIOS: [&str; 4] =
    ["stable", "nonstationary", "regime_shift", "cyclic_shift"];
/// Constant defining L2 gain discovery seed.
pub const L2_GAIN_DISCOVERY_SEED: u64 = 20261115;
/// Constant defining L2 gain validation seed.
pub const L2_GAIN_VALIDATION_SEED: u64 = 20270001;
/// Constant defining L2 gain default runs.
pub const L2_GAIN_DEFAULT_RUNS: u32 = 30;
/// Constant defining L2 gain default episodes.
pub const L2_GAIN_DEFAULT_EPISODES: u32 = 12;
/// Constant defining L2 gain default steps.
pub const L2_GAIN_DEFAULT_STEPS: u32 = 12;

#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize)]
#[serde(rename_all = "snake_case")]
/// Identifies a supported L2 gain seed set.
pub enum L2GainSeedSet {
    /// Variant representing discovery.
    Discovery,
    /// Variant representing validation.
    Validation,
}

#[derive(Debug, Clone, Serialize)]
/// Data structure representing L2 gain scenario assessment.
pub struct L2GainScenarioAssessment {
    /// Whether reward ci95 lower positive is enabled or active.
    pub reward_ci95_lower_positive: bool,
    /// Whether stable loss within tolerance is enabled or active.
    pub stable_loss_within_tolerance: bool,
    /// Executed interventions for this value.
    pub executed_interventions: u64,
}

#[derive(Debug, Clone, Serialize)]
/// Data structure representing L2 gain assessment.
pub struct L2GainAssessment {
    /// Primary scenario for this value.
    pub primary_scenario: String,
    /// Safety scenario for this value.
    pub safety_scenario: String,
    /// Stable loss tolerance for this value.
    pub stable_loss_tolerance: f64,
    /// Whether mechanism precondition met is enabled or active.
    pub mechanism_precondition_met: bool,
    /// Whether discovery primary passed is enabled or active.
    pub discovery_primary_passed: bool,
    /// Whether validation reproduced is enabled or active.
    pub validation_reproduced: bool,
    /// Whether discovery safety passed is enabled or active.
    pub discovery_safety_passed: bool,
    /// Whether validation safety passed is enabled or active.
    pub validation_safety_passed: bool,
    /// Whether reproducible gain is enabled or active.
    pub reproducible_gain: bool,
    /// Conclusion for this value.
    pub conclusion: String,
    /// Discovery for this value.
    pub discovery: L2GainScenarioAssessment,
    /// Validation for this value.
    pub validation: L2GainScenarioAssessment,
}

#[derive(Debug, Clone, Serialize)]
/// Report of L2 gain matrix.
pub struct L2GainMatrixReport {
    /// Version of the serialized kernel-state schema.
    pub schema_version: u32,
    /// Design for this value.
    pub design: String,
    /// Runs per scenario for this value.
    pub runs_per_scenario: u32,
    /// Episodes for this value.
    pub episodes: u32,
    /// Steps per episode for this value.
    pub steps_per_episode: u32,
    /// Scenarios for this value.
    pub scenarios: [&'static str; 4],
    /// Discovery seed for this value.
    pub discovery_seed: u64,
    /// Validation seed for this value.
    pub validation_seed: u64,
    /// Kernel runs for this value.
    pub kernel_runs: u64,
    /// Number of decision.
    pub decision_steps: u64,
    /// Collection of reports.
    pub reports: Vec<FactorialBenchmarkReport>,
    /// Assessment for this value.
    pub assessment: L2GainAssessment,
}