Download stats/observables_specification.json from AI4SDE/DATASET: direct link, hf CLI and curl.
- Browser
- Download file 44.9 kB
-
https://huggingface.co/datasets/AI4SDE/DATASET/resolve/main/stats/observables_specification.json
- Command line
-
hf download hf://datasets/AI4SDE/DATASET/stats/observables_specification.json
-
curl -L -o observables_specification.json https://huggingface.co/datasets/AI4SDE/DATASET/resolve/main/stats/observables_specification.json
44.9 kB
{
"version": "obs-v1.2",
"changes": [
{
"version": "obs-v1",
"date": "2026-11-26",
"change": "frozen definitions, grids G129 / G257, thresholds confirmed"
},
{
"version": "obs-v1.1",
"date": "2026-11-27",
"change": "adds ku_sync_entry_first_time and ku_initial_sync_exit_time; obs-v1 definitions and values unchanged; texts clarified (detection times instead of interval censoring, per-observable role of t = 0, log units of the Heston drawdown, Kuramoto boundary cases and grid persistence)"
},
{
"version": "obs-v1.2",
"date": "2026-11-29",
"change": "adds tail observables (path extremes and threshold rungs) for double_well, cox_ingersoll_ross, stochastic_lorenz, stochastic_fitzhugh_nagumo, noisy_kuramoto_d8*, heston and the observables of the extension blocks stochastic_lorenz96, stochastic_allen_cahn_64, damped_stochastic_heat_64; every obs-v1.1 definition and value is unchanged (ai4sde/observables.py is not modified)"
}
],
"grids": {
"G129": {
"stride": 2,
"n_times": 129,
"role": "primary: the 129-time common observation (training/evaluation) grid, archive indices 0, 2, ..., 256"
},
"G257": {
"stride": 1,
"n_times": 257,
"role": "secondary: the 257-time archive grid, archive indices 0, 1, ..., 256"
}
},
"kinds": {
"indicator": "0/1 per path (binary event); reported as integer count k of paths with the event, n, k/n and a 95 % Clopper-Pearson interval",
"count": "non-negative integer per path (number of events); reported as total count, mean, variance; no binomial interval",
"time": "grid detection time per path, NaN if the event is not detected on the grid by T; reported as number of paths with a detection and the mean / median time among them",
"real": "real value per path; reported as mean, variance, quantiles"
},
"conventions": "Every observable is a function of the path values at the times of ONE declared grid:\n G129 archive indices 0, 2, ..., 256 t_k = kT/128, k = 0..128 primary (common observation grid)\n G257 archive indices 0, 1, ..., 256 t_k = kT/256, k = 0..256 secondary (archive resolution)\nThe grid id is part of every reported value. t_0 = 0 is the pinned initial state, and events are\ncounted only at grid times t_k with k >= 1. The initial state enters as stated per observable: it\nsets the starting status of the hysteresis rules (double_well basins, stochastic_lorenz lobes, Kuramoto synchronization)\nand of the FHN armed state, it is the reference level of the Heston down-crossing and part of the\nrunning maximum of the Heston maximum drawdown, and it is reported on its own as an initial-state\nsummary (lg_H0, fhn_armed_at_start, ku_r0, ku_started_sync). Event times are detection times: the\nfirst grid time t_k at which the event is seen on the declared grid. The continuous path may have\nmet the event earlier, between two earlier grid times, and left it again, so a detection time is\nnot a continuous-time first-passage time and does not bound it to (t_{k-1}, t_k]. A path without\na detection by T has NaN: the event was not observed on that grid, which does not show that the\ncontinuous path never met it. Grid events therefore depend on the grid. Time integrals use the\ntrapezoid rule on the declared grid.",
"observables": [
{
"name": "dw_switches",
"blocks": [
"double_well"
],
"kind": "count",
"label": "basin switches",
"definition": "Number of basin switches of X on the grid. Basins: right if X > theta, left if X < -theta, theta = 0.5 sqrt(alpha/beta). The label starts as the region of the initial value (none if the initial value is inside the band [-theta, theta]). At each grid time t_k, k >= 1, a value beyond +theta (or below -theta) sets the label to right (left); values inside the band keep the current label. Every change of the label between left and right is one transition, at the grid time where the opposite region is first observed. Recrossings of 0 inside the band are not transitions; the first region entered from the band is not a transition; an excursion into the opposite region and back counts as two transitions; no dwell time is required.",
"params": {
"theta": "0.5*sqrt(alpha/beta)"
},
"version": "obs-v1",
"pseudocode": "label = +1 if x_0 > theta else (-1 if x_0 < -theta else 0); count = 0; first = none\nfor k = 1..K:\n b = +1 if x_k > theta else (-1 if x_k < -theta else 0)\n if b != 0 and label != 0 and b != label: count += 1; first = first or t_k\n if b != 0: label = b\n# x = X, theta = 0.5 sqrt(alpha/beta)"
},
{
"name": "dw_switch_any",
"blocks": [
"double_well"
],
"kind": "indicator",
"label": "P(>=1 basin switch)",
"definition": "dw_switches >= 1.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "dw_first_switch_time",
"blocks": [
"double_well"
],
"kind": "time",
"label": "first switch time",
"definition": "Grid time of the first basin switch (NaN if none).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "dw_right_occupation",
"blocks": [
"double_well"
],
"kind": "real",
"label": "time share X > 0",
"definition": "Fraction of grid times t_k, k >= 1, with X > 0.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "dw_right_T",
"blocks": [
"double_well"
],
"kind": "indicator",
"label": "P(X(T) > 0)",
"definition": "X(T) > 0.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "lg_H0",
"blocks": [
"underdamped_quartic_langevin"
],
"kind": "real",
"label": "H(0)",
"definition": "H = P^2/2 + alpha Q^2/2 + beta Q^4/4 at t = 0 (initial-state summary).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "lg_HT",
"blocks": [
"underdamped_quartic_langevin"
],
"kind": "real",
"label": "H(T)",
"definition": "H at t = T.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "lg_kin_T",
"blocks": [
"underdamped_quartic_langevin"
],
"kind": "real",
"label": "P(T)^2/tau",
"definition": "Kinetic temperature ratio P(T)^2 / tau (1 = equipartition).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "lz_sign_changes_X",
"blocks": [
"stochastic_lorenz"
],
"kind": "count",
"label": "grid sign changes of X",
"definition": "Number of grid times t_k, k >= 1, with sgn X(t_k) != sgn X(t_{k-1}), sgn(x) = +1 for x >= 0 and -1 otherwise. This is not a lobe-transition count: it includes recrossings near X = 0 and the transient from X(0).",
"params": {},
"version": "obs-v1",
"pseudocode": "count = #{k = 1..K : (X_k >= 0) != (X_{k-1} >= 0)}"
},
{
"name": "lz_lobe_transitions",
"blocks": [
"stochastic_lorenz"
],
"kind": "count",
"label": "lobe transitions (hysteresis-defined)",
"definition": "Number of hysteresis-defined lobe transitions of X on the grid. Lobes: right if X > theta_L, left if X < -theta_L, theta_L = 0.5 sqrt(b(rho - 1)), half the |X| of the deterministic nonzero equilibria C+- = (+-sqrt(b(rho - 1)), +-sqrt(b(rho - 1)), rho - 1). The label starts as the region of the initial value (none if the initial value is inside the band [-theta, theta]). At each grid time t_k, k >= 1, a value beyond +theta (or below -theta) sets the label to right (left); values inside the band keep the current label. Every change of the label between left and right is one transition, at the grid time where the opposite region is first observed. Recrossings of 0 inside the band are not transitions; the first region entered from the band is not a transition; an excursion into the opposite region and back counts as two transitions; no dwell time is required.",
"params": {
"theta_L": "0.5*sqrt(b*(rho-1))",
"b": "8/3"
},
"version": "obs-v1",
"pseudocode": "label = +1 if x_0 > theta else (-1 if x_0 < -theta else 0); count = 0; first = none\nfor k = 1..K:\n b = +1 if x_k > theta else (-1 if x_k < -theta else 0)\n if b != 0 and label != 0 and b != label: count += 1; first = first or t_k\n if b != 0: label = b\n# x = X, theta = 0.5 sqrt(b (rho - 1))"
},
{
"name": "lz_lobe_transition_any",
"blocks": [
"stochastic_lorenz"
],
"kind": "indicator",
"label": "P(>=1 lobe transition)",
"definition": "lz_lobe_transitions >= 1.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "lz_first_lobe_transition_time",
"blocks": [
"stochastic_lorenz"
],
"kind": "time",
"label": "first lobe transition time",
"definition": "Grid time of the first lobe transition (NaN if none).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "lz_right_occupation",
"blocks": [
"stochastic_lorenz"
],
"kind": "real",
"label": "time share X > 0 (lobe occupation)",
"definition": "Fraction of grid times t_k, k >= 1, with X > 0.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "fhn_spikes",
"blocks": [
"stochastic_fitzhugh_nagumo"
],
"kind": "count",
"label": "spikes",
"definition": "Number of spikes on the grid. A spike is an upcrossing of V = 1 between consecutive grid times (V(t_{k-1}) < 1 <= V(t_k)) while the path is armed and at least 0.5 time units after the previous counted spike. The path is armed at t_0 iff V(0) <= 0; a counted spike disarms it, and it is re-armed at the first later grid time with V <= 0. A path that starts with V(0) > 0 must first be observed at V <= 0, so an initial excursion is not counted. An upcrossing blocked by the 0.5 refractory period leaves the path armed. Spike time = t_k, a detection time: V(t_{k-1}) < 1 <= V(t_k) guarantees a continuous upcrossing in (t_{k-1}, t_k], but not that it is the path's first continuous upcrossing.",
"params": {
"threshold": 1.0,
"reset": 0.0,
"refractory": 0.5
},
"version": "obs-v1",
"pseudocode": "armed = (V_0 <= 0); last = -inf; count = 0; first = none\nfor k = 1..K:\n up = armed and V_{k-1} < 1 <= V_k and t_k - last >= 0.5\n if up: count += 1; first = first or t_k; last = t_k\n armed = (armed and not up) or V_k <= 0"
},
{
"name": "fhn_spike_any",
"blocks": [
"stochastic_fitzhugh_nagumo"
],
"kind": "indicator",
"label": "P(>=1 spike)",
"definition": "fhn_spikes >= 1.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "fhn_first_spike_time",
"blocks": [
"stochastic_fitzhugh_nagumo"
],
"kind": "time",
"label": "first spike time",
"definition": "Grid detection time of the first counted spike (NaN if none).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "fhn_armed_at_start",
"blocks": [
"stochastic_fitzhugh_nagumo"
],
"kind": "indicator",
"label": "P(V(0) <= 0)",
"definition": "Initial-state summary: V(0) <= 0, i.e. the path is armed at t = 0.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ku_r0",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "real",
"label": "r(0)",
"definition": "Order parameter r(t) = |mean_j exp(i phi_j(t))| at t = 0 (initial-state summary).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ku_rT",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "real",
"label": "r(T)",
"definition": "r at t = T.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ku_r_mean",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "real",
"label": "time-mean r",
"definition": "Mean of r(t_k) over grid times k >= 1.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ku_r08_reach",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "indicator",
"label": "P(r >= 0.8 at some t > 0)",
"definition": "Some grid time t_k with k >= 1 has r >= 0.8 (t = 0 excluded). For a path that starts synchronized (r(0) >= 0.8) this holds as soon as r(t_1) >= 0.8: it is a level statement, not an entry (entries: ku_sync_entries, ku_sync_entry_first_time).",
"params": {},
"version": "obs-v1",
"pseudocode": "reach = any(r_k >= 0.8 for k = 1..K); first time = min{t_k : k >= 1, r_k >= 0.8}"
},
{
"name": "ku_r08_first_time",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "time",
"label": "first grid time with r >= 0.8 (t > 0)",
"definition": "First grid time t_k, k >= 1, with r >= 0.8 (NaN if none). For a path that starts synchronized and still has r >= 0.8 at t_1 it equals t_1: a detection time of the level, not an entry time (see ku_sync_entry_first_time).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ku_r08_upcross_raw",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "count",
"label": "raw upcrossings of r = 0.8",
"definition": "Number of grid times t_k, k >= 1, with r(t_{k-1}) < 0.8 <= r(t_k), without hysteresis (the crossing count named in the proposal). Strongly dependent on the grid and on noise-driven chatter around 0.8; reported for reference only.",
"params": {},
"version": "obs-v1",
"pseudocode": "count = #{k = 1..K : r_{k-1} < 0.8 <= r_k}"
},
{
"name": "ku_started_sync",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "indicator",
"label": "P(r(0) >= 0.8)",
"definition": "Initial-state summary: r(0) >= 0.8.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ku_sync_entries",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "count",
"label": "synchronization entries (hysteresis)",
"definition": "Hysteresis state: synchronized once r >= 0.8, desynchronized once r < 0.6, otherwise unchanged; synchronized at t_0 iff r(0) >= 0.8, so a path with r(0) in [0.6, 0.8) starts desynchronized. Boundaries: r = 0.8 counts as synchronized; r = 0.6 keeps the current state (the state is left only at r < 0.6). Number of entries into the synchronized state at grid times k >= 1; a path that starts synchronized enters only after it has left.",
"params": {
"enter": 0.8,
"leave": 0.6
},
"version": "obs-v1",
"pseudocode": "sync = (r_0 >= 0.8); entries = exits = 0\nfor k = 1..K:\n new = True if r_k >= 0.8 else (False if r_k < 0.6 else sync)\n entries += (new and not sync); exits += (sync and not new); sync = new"
},
{
"name": "ku_sync_entry_first_time",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "time",
"label": "first synchronization entry time (hysteresis)",
"definition": "Grid time of the first entry counted by ku_sync_entries (NaN if none by T). A path that starts synchronized has its first entry only after it has desynchronized (r < 0.6) and again reached r >= 0.8.",
"params": {
"enter": 0.8,
"leave": 0.6
},
"version": "obs-v1.1",
"pseudocode": "sync = (r_0 >= 0.8); first = none\nfor k = 1..K:\n new = True if r_k >= 0.8 else (False if r_k < 0.6 else sync)\n if new and not sync and first is none: first = t_k\n sync = new"
},
{
"name": "ku_desync_events",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "count",
"label": "desynchronization events (hysteresis)",
"definition": "Number of exits from the synchronized state (r < 0.6 after being synchronized) at grid times k >= 1, including the end of an initial synchronization.",
"params": {
"enter": 0.8,
"leave": 0.6
},
"version": "obs-v1",
"pseudocode": "sync = (r_0 >= 0.8); entries = exits = 0\nfor k = 1..K:\n new = True if r_k >= 0.8 else (False if r_k < 0.6 else sync)\n entries += (new and not sync); exits += (sync and not new); sync = new"
},
{
"name": "ku_desync_any",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "indicator",
"label": "P(>=1 desynchronization)",
"definition": "ku_desync_events >= 1.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ku_initial_sync_exit_time",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "time",
"label": "end of the initial synchronization",
"definition": "For a path that starts synchronized (r(0) >= 0.8): the first grid time t_k, k >= 1, with r < 0.6, i.e. the grid holding time of the initial synchronized state. NaN if the path does not start synchronized or is still synchronized at T; in the per-condition rows k / n is P(starts synchronized and leaves by T).",
"params": {
"enter": 0.8,
"leave": 0.6
},
"version": "obs-v1.1",
"pseudocode": "if r_0 < 0.8: NaN\nelse: first t_k (k = 1..K) with r_k < 0.6, NaN if none # the synchronized state lasts until r < 0.6"
},
{
"name": "ku_sync_fraction",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "real",
"label": "time share r >= 0.8",
"definition": "Fraction of grid times k >= 1 with r >= 0.8.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ku_sync_persistent",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "indicator",
"label": "P(persistent sync on the grid)",
"definition": "Some run of consecutive grid times t_i..t_j (i >= 1) has r >= 0.8 at every time and t_j - t_i >= 1.0. The duration is the time span of the run, not its number of points times the step: for T = 10 a run needs at least 14 consecutive points on G129 and 27 on G257 (span 1.015625). A run starts at t_1 at the earliest; values between grid times are not seen.",
"params": {
"threshold": 0.8,
"duration": 1.0
},
"version": "obs-v1",
"pseudocode": "persistent = False; start = none\nfor k = 1..K:\n if r_k >= 0.8: start = t_k if (k == 1 or r_{k-1} < 0.8) else start; persistent |= (t_k - start >= 1.0)\n else: start = none"
},
{
"name": "hs_downcross",
"blocks": [
"heston"
],
"kind": "indicator",
"label": "P(R < R(0) - 0.2 at some t > 0)",
"definition": "Down-crossing of R(0) - 0.2 relative to the initial log price: some grid time t_k, k >= 1, has R(t_k) < R(0) - 0.2. R is the log price, so 0.2 is in log units (a price fall of 1 - exp(-0.2) = 18.13 % below the initial price). Called 'drawdown' in the proposal; it is not the maximum drawdown.",
"params": {
"drop": 0.2
},
"version": "obs-v1",
"pseudocode": "event = any(R_k < R_0 - 0.2 for k = 1..K); first time = min{t_k : k >= 1, R_k < R_0 - 0.2}"
},
{
"name": "hs_downcross_first_time",
"blocks": [
"heston"
],
"kind": "time",
"label": "first down-crossing time",
"definition": "First grid time with R < R(0) - 0.2 (NaN if none).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "hs_max_drawdown",
"blocks": [
"heston"
],
"kind": "real",
"label": "maximum log drawdown of R",
"definition": "max over k of (max_{j <= k} R(t_j) - R(t_k)), j, k >= 0: the largest peak-to-trough fall of the log price on the grid; the running maximum includes R(0). Log units: a log drawdown D is a price fall of 1 - exp(-D) from the running peak.",
"params": {},
"version": "obs-v1",
"pseudocode": "mdd = max_{k = 0..K} (max_{j <= k} R_j - R_k)"
},
{
"name": "hs_max_drawdown_gt",
"blocks": [
"heston"
],
"kind": "indicator",
"label": "P(max log drawdown > 0.2)",
"definition": "hs_max_drawdown > 0.2, i.e. a fall of more than 1 - exp(-0.2) = 18.13 % of the price from its running peak (a 20 % price fall would be the log threshold -log(0.8) = 0.2231).",
"params": {
"drop": 0.2
},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "hs_int_var",
"blocks": [
"heston"
],
"kind": "real",
"label": "integrated variance",
"definition": "Trapezoid rule for int_0^T V dt on the grid.",
"params": {},
"version": "obs-v1",
"pseudocode": "sum_{k = 1..K} (V_{k-1} + V_k) / 2 * (T / K)"
},
{
"name": "ctrl_circ12",
"blocks": [
"rotational_ou_control"
],
"kind": "real",
"label": "circulation (1, 2)",
"definition": "X1(t) X2(t+h) - X2(t) X1(t+h) at t = T/2, h = T/8 (grid points on both grids).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "ctrl_circ34",
"blocks": [
"rotational_ou_control"
],
"kind": "real",
"label": "circulation (3, 4)",
"definition": "X3(t) X4(t+h) - X4(t) X3(t+h) at t = T/2, h = T/8.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "state_P_T",
"blocks": [
"underdamped_quartic_langevin"
],
"kind": "real",
"label": "P(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_P_half",
"blocks": [
"underdamped_quartic_langevin"
],
"kind": "real",
"label": "P(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_Q_T",
"blocks": [
"underdamped_quartic_langevin"
],
"kind": "real",
"label": "Q(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_Q_half",
"blocks": [
"underdamped_quartic_langevin"
],
"kind": "real",
"label": "Q(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_R_T",
"blocks": [
"stochastic_fitzhugh_nagumo",
"heston"
],
"kind": "real",
"label": "R(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_R_half",
"blocks": [
"stochastic_fitzhugh_nagumo",
"heston"
],
"kind": "real",
"label": "R(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_S_T",
"blocks": [
"geometric_brownian_motion"
],
"kind": "real",
"label": "S(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_S_half",
"blocks": [
"geometric_brownian_motion"
],
"kind": "real",
"label": "S(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_V_T",
"blocks": [
"stochastic_fitzhugh_nagumo",
"heston"
],
"kind": "real",
"label": "V(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_V_half",
"blocks": [
"stochastic_fitzhugh_nagumo",
"heston"
],
"kind": "real",
"label": "V(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X1_T",
"blocks": [
"coupled_ornstein_uhlenbeck",
"rotational_ou_control"
],
"kind": "real",
"label": "X1(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X1_half",
"blocks": [
"coupled_ornstein_uhlenbeck",
"rotational_ou_control"
],
"kind": "real",
"label": "X1(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X2_T",
"blocks": [
"coupled_ornstein_uhlenbeck",
"rotational_ou_control"
],
"kind": "real",
"label": "X2(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X2_half",
"blocks": [
"coupled_ornstein_uhlenbeck",
"rotational_ou_control"
],
"kind": "real",
"label": "X2(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X3_T",
"blocks": [
"coupled_ornstein_uhlenbeck",
"rotational_ou_control"
],
"kind": "real",
"label": "X3(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X3_half",
"blocks": [
"coupled_ornstein_uhlenbeck",
"rotational_ou_control"
],
"kind": "real",
"label": "X3(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X4_T",
"blocks": [
"coupled_ornstein_uhlenbeck",
"rotational_ou_control"
],
"kind": "real",
"label": "X4(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X4_half",
"blocks": [
"coupled_ornstein_uhlenbeck",
"rotational_ou_control"
],
"kind": "real",
"label": "X4(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X_T",
"blocks": [
"scalar_ornstein_uhlenbeck",
"double_well",
"cox_ingersoll_ross",
"stochastic_lorenz"
],
"kind": "real",
"label": "X(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_X_half",
"blocks": [
"scalar_ornstein_uhlenbeck",
"double_well",
"cox_ingersoll_ross",
"stochastic_lorenz"
],
"kind": "real",
"label": "X(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_Y_T",
"blocks": [
"stochastic_lorenz"
],
"kind": "real",
"label": "Y(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_Y_half",
"blocks": [
"stochastic_lorenz"
],
"kind": "real",
"label": "Y(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_Z_T",
"blocks": [
"stochastic_lorenz"
],
"kind": "real",
"label": "Z(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_Z_half",
"blocks": [
"stochastic_lorenz"
],
"kind": "real",
"label": "Z(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_dphi0_T",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d128",
"noisy_kuramoto_d32"
],
"kind": "real",
"label": "dphi0(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_dphi0_half",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d128",
"noisy_kuramoto_d32"
],
"kind": "real",
"label": "dphi0(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_r_T",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d128",
"noisy_kuramoto_d32"
],
"kind": "real",
"label": "r(T)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "state_r_half",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d128",
"noisy_kuramoto_d32"
],
"kind": "real",
"label": "r(T/2)",
"definition": "Value at t = T/2 (archive index 128) or t = T (index 256); on both grids. For Kuramoto, r is the order parameter and dphi0 = phi_1(t) - phi_1(0) (unwrapped).",
"params": {},
"version": "obs-v1"
},
{
"name": "dw_absmax",
"blocks": [
"double_well"
],
"kind": "real",
"label": "max |X| / sqrt(alpha/beta)",
"definition": "max over grid times k >= 1 of |X(t_k)|, in units of the well position sqrt(alpha/beta).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "dw_absmax_ge_1p5",
"blocks": [
"double_well"
],
"kind": "indicator",
"label": "P(max |X| >= 1.5 sqrt(alpha/beta))",
"definition": "dw_absmax >= 1.5.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "dw_absmax_ge_1p75",
"blocks": [
"double_well"
],
"kind": "indicator",
"label": "P(max |X| >= 1.75 sqrt(alpha/beta))",
"definition": "dw_absmax >= 1.75.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "dw_absmax_ge_2p0",
"blocks": [
"double_well"
],
"kind": "indicator",
"label": "P(max |X| >= 2 sqrt(alpha/beta))",
"definition": "dw_absmax >= 2.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "dw_switches_ge2",
"blocks": [
"double_well"
],
"kind": "indicator",
"label": "P(>= 2 basin switches)",
"definition": "dw_switches >= 2 (obs-v1.1 count).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "cir_min",
"blocks": [
"cox_ingersoll_ross"
],
"kind": "real",
"label": "min X / vbar",
"definition": "min over grid times k >= 1 of X(t_k) / vbar.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "cir_max",
"blocks": [
"cox_ingersoll_ross"
],
"kind": "real",
"label": "max X / vbar",
"definition": "max over grid times k >= 1 of X(t_k) / vbar.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "cir_min_le_0p2",
"blocks": [
"cox_ingersoll_ross"
],
"kind": "indicator",
"label": "P(min X <= 0.2 vbar)",
"definition": "cir_min <= 0.2.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "cir_min_le_0p1",
"blocks": [
"cox_ingersoll_ross"
],
"kind": "indicator",
"label": "P(min X <= 0.1 vbar)",
"definition": "cir_min <= 0.1.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "cir_min_le_0p05",
"blocks": [
"cox_ingersoll_ross"
],
"kind": "indicator",
"label": "P(min X <= 0.05 vbar)",
"definition": "cir_min <= 0.05.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "cir_max_ge_2p5",
"blocks": [
"cox_ingersoll_ross"
],
"kind": "indicator",
"label": "P(max X >= 2.5 vbar)",
"definition": "cir_max >= 2.5.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "cir_max_ge_3p0",
"blocks": [
"cox_ingersoll_ross"
],
"kind": "indicator",
"label": "P(max X >= 3 vbar)",
"definition": "cir_max >= 3.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "lz_absmax",
"blocks": [
"stochastic_lorenz"
],
"kind": "real",
"label": "max |X| / sqrt(b(rho-1))",
"definition": "max over grid times k >= 1 of |X(t_k)|, in units of the |X| of the nonzero equilibria sqrt(b(rho - 1)).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "lz_zmax",
"blocks": [
"stochastic_lorenz"
],
"kind": "real",
"label": "max Z / (rho-1)",
"definition": "max over grid times k >= 1 of Z(t_k) / (rho - 1).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "lz_absmax_ge_2p25",
"blocks": [
"stochastic_lorenz"
],
"kind": "indicator",
"label": "P(max |X| >= 2.25 sqrt(b(rho-1)))",
"definition": "lz_absmax >= 2.25.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "lz_absmax_ge_2p5",
"blocks": [
"stochastic_lorenz"
],
"kind": "indicator",
"label": "P(max |X| >= 2.5 sqrt(b(rho-1)))",
"definition": "lz_absmax >= 2.5.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "lz_lobe_transitions_ge3",
"blocks": [
"stochastic_lorenz"
],
"kind": "indicator",
"label": "P(>= 3 lobe transitions)",
"definition": "lz_lobe_transitions >= 3 (obs-v1.1 count).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "lz_lobe_transitions_ge4",
"blocks": [
"stochastic_lorenz"
],
"kind": "indicator",
"label": "P(>= 4 lobe transitions)",
"definition": "lz_lobe_transitions >= 4 (obs-v1.1 count).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "fhn_vmax",
"blocks": [
"stochastic_fitzhugh_nagumo"
],
"kind": "real",
"label": "max V",
"definition": "max over grid times k >= 1 of V(t_k).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "fhn_spikes_ge2",
"blocks": [
"stochastic_fitzhugh_nagumo"
],
"kind": "indicator",
"label": "P(>= 2 spikes)",
"definition": "fhn_spikes >= 2 (obs-v1.1 count).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ku_rmax",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "real",
"label": "max r",
"definition": "max over grid times k >= 1 of the order parameter r(t_k).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ku_rmin",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "real",
"label": "min r",
"definition": "min over grid times k >= 1 of r(t_k).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ku_r09_reach",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "indicator",
"label": "P(r >= 0.9 at some t > 0)",
"definition": "ku_rmax >= 0.9.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ku_r095_reach",
"blocks": [
"noisy_kuramoto_d8",
"noisy_kuramoto_d32",
"noisy_kuramoto_d128"
],
"kind": "indicator",
"label": "P(r >= 0.95 at some t > 0)",
"definition": "ku_rmax >= 0.95.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "hs_min_logret",
"blocks": [
"heston"
],
"kind": "real",
"label": "min (R - R(0))",
"definition": "min over grid times k >= 1 of R(t_k) - R(0) (log units).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "hs_max_logret",
"blocks": [
"heston"
],
"kind": "real",
"label": "max (R - R(0))",
"definition": "max over grid times k >= 1 of R(t_k) - R(0) (log units).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "hs_vmax",
"blocks": [
"heston"
],
"kind": "real",
"label": "max V / vbar",
"definition": "max over grid times k >= 1 of V(t_k) / vbar.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "hs_downcross_0p3",
"blocks": [
"heston"
],
"kind": "indicator",
"label": "P(R < R(0) - 0.3 at some t > 0)",
"definition": "hs_min_logret < -0.3 (strict, as hs_downcross).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "hs_downcross_0p4",
"blocks": [
"heston"
],
"kind": "indicator",
"label": "P(R < R(0) - 0.4 at some t > 0)",
"definition": "hs_min_logret < -0.4.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "hs_downcross_0p5",
"blocks": [
"heston"
],
"kind": "indicator",
"label": "P(R < R(0) - 0.5 at some t > 0)",
"definition": "hs_min_logret < -0.5.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "l96_energy_max",
"blocks": [
"stochastic_lorenz96"
],
"kind": "real",
"label": "max energy per site",
"definition": "max over grid times k >= 1 of E(t_k), E = mean_i X_i^2 / 2.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "l96_xmax",
"blocks": [
"stochastic_lorenz96"
],
"kind": "real",
"label": "max X_i / F",
"definition": "max over grid times k >= 1 and sites i of X_i(t_k), in units of F.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "l96_xmin",
"blocks": [
"stochastic_lorenz96"
],
"kind": "real",
"label": "min X_i / F",
"definition": "min over grid times k >= 1 and sites i of X_i(t_k), in units of F.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "l96_xmax_ge_1p5F",
"blocks": [
"stochastic_lorenz96"
],
"kind": "indicator",
"label": "P(max X_i >= 1.5 F)",
"definition": "l96_xmax >= 1.5.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "l96_xmax_ge_1p75F",
"blocks": [
"stochastic_lorenz96"
],
"kind": "indicator",
"label": "P(max X_i >= 1.75 F)",
"definition": "l96_xmax >= 1.75.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "l96_xmax_ge_2p0F",
"blocks": [
"stochastic_lorenz96"
],
"kind": "indicator",
"label": "P(max X_i >= 2 F)",
"definition": "l96_xmax >= 2.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ac_kinks_0",
"blocks": [
"stochastic_allen_cahn_64"
],
"kind": "count",
"label": "kinks at t = 0",
"definition": "Number of phase boundaries around the ring at t = 0. Phase of a site: + if u > 0.5, - if u < -0.5; a site inside the band [-0.5, 0.5] takes the phase of the nearest phased site on its left (cyclically). A kink is a change of phase between cyclically adjacent sites; a field with no site outside the band has 0 kinks. The count is even.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ac_kinks_T",
"blocks": [
"stochastic_allen_cahn_64"
],
"kind": "count",
"label": "kinks at T",
"definition": "Kink count (rule of ac_kinks_0) at t = T.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ac_kinks_max",
"blocks": [
"stochastic_allen_cahn_64"
],
"kind": "count",
"label": "max kinks",
"definition": "max over grid times k >= 1 of the kink count.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ac_kink_creation_any",
"blocks": [
"stochastic_allen_cahn_64"
],
"kind": "indicator",
"label": "P(kink count increases at some grid time)",
"definition": "Some grid time t_k, k >= 1, has a larger kink count than t_{k-1} (nucleation of a domain, seen on the grid).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ac_uniform_T",
"blocks": [
"stochastic_allen_cahn_64"
],
"kind": "indicator",
"label": "P(no kink at T)",
"definition": "ac_kinks_T = 0.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ac_absmean_T",
"blocks": [
"stochastic_allen_cahn_64"
],
"kind": "real",
"label": "|spatial mean| at T",
"definition": "|mean_j u_j(T)|.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ac_mean_flips",
"blocks": [
"stochastic_allen_cahn_64"
],
"kind": "count",
"label": "sign flips of the spatial mean (hysteresis)",
"definition": "Number of transitions of the spatial mean m(t) = mean_j u_j(t) between m > 0.5 and m < -0.5 on the grid (the band rule of dw_switches with theta = 0.5).",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
},
{
"name": "ac_mean_flip_any",
"blocks": [
"stochastic_allen_cahn_64"
],
"kind": "indicator",
"label": "P(>= 1 flip of the spatial mean)",
"definition": "ac_mean_flips >= 1.",
"params": {},
"version": "obs-v1.2",
"pseudocode": ""
}
],
"implementation": "ai4sde/obs2.py (compute_all) on top of ai4sde/observables.py (obs-v1.1, unchanged)",
"extension_state_summaries": {
"stochastic_lorenz96": {
"state_site0_half / state_site0_T": "u_0 or X_0: the value at site 0",
"state_mean_half / state_mean_T": "spatial mean over the sites",
"state_energy_half / state_energy_T": "mean_i X_i^2 / 2"
},
"stochastic_allen_cahn_64": {
"state_site0_half / state_site0_T": "u_0 or X_0: the value at site 0",
"state_mean_half / state_mean_T": "spatial mean over the sites",
"state_ms_half / state_ms_T": "mean_j u_j^2"
},
"damped_stochastic_heat_64": {
"state_site0_half / state_site0_T": "u_0 or X_0: the value at site 0",
"state_mean_half / state_mean_T": "spatial mean over the sites",
"state_ms_half / state_ms_T": "mean_j u_j^2"
}
},
"plan_events_supp2_D": {
"double_well": "dw_switches_ge2@G129",
"cox_ingersoll_ross": "cir_min_le_0p1@G129",
"stochastic_lorenz": "lz_lobe_transitions_ge3@G129",
"stochastic_fitzhugh_nagumo": "fhn_spike_any@G129",
"noisy_kuramoto_d8": "ku_r09_reach@G129",
"heston": "hs_downcross_0p4@G129"
}
}
{
"version": "obs-v1.2",
"changes": [
{
"version": "obs-v1",
"date": "2026-11-26",
"change": "frozen definitions, grids G129 / G257, thresholds confirmed"
},
{
"version": "obs-v1.1",
"date": "2026-11-27",
"change": "adds ku_sync_entry_first_time and ku_initial_sync_exit_time; obs-v1 definitions and values unchanged; texts clarified (detection times instead of interval censoring, per-observable role of t = 0, log units of the Heston drawdown, Kuramoto boundary cases and grid persistence)"
},
{
"version": "obs-v1.2",
"date": "2026-11-29",
"change": "adds tail observables (path extremes and threshold rungs) for double_well, cox_ingersoll_ross, stochastic_lorenz, stochastic_fitzhugh_nagumo, noisy_kuramoto_d8*, heston and the observables of the extension blocks stochastic_lorenz96, stochastic_allen_cahn_64, damped_stochastic_heat_64; every obs-v1.1 definition and value is unchanged (ai4sde/observables.py is not modified)"
}
],
"grids": {
"G129": {
"stride": 2,
"n_times": 129,
"role": "primary: the 129-time common observation (training/evaluation) grid, archive indices 0, 2, ..., 256"
},
"G257": {
"stride": 1,
"n_times": 257,
"role": "secondary: the 257-time archive grid, archive indices 0, 1, ..., 256"
}
},
"kinds": {
"indicator": "0/1 per path (binary event); reported as integer count k of paths with the event, n, k/n and a 95 % Clopper-Pearson interval",
"count": "non-negative integer per path (number of events); reported as total count, mean, variance; no binomial interval",
"time": "grid detection time per path, NaN if the event is not detected on the grid by T; reported as number of paths with a detection and the mean / median time among them",
"real": "real value per path; reported as mean, variance, quantiles"
},
"conventions": "Every observable is a function of the path values at the times of ONE declared grid:\n G129 archive indices 0, 2, ..., 256 t_k = kT/128, k = 0..128 primary (common observation grid)\n G257 archive indices 0, 1, ..., 256 t_k = kT/256, k = 0..256 secondary (archive resolution)\nThe grid id is part of every reported value. t_0 = 0 is the pinned initial state, and events are\ncounted only at grid times t_k with k >= 1. The initial state enters as stated per observable: it\nsets the starting status of the hysteresis rules (double_well basins, stochastic_lorenz lobes, Kuramoto synchronization)\nand of the FHN armed state, it is the reference level of the Heston down-crossing and part of the\nrunning maximum of the Heston maximum drawdown, and it is reported on its own as an initial-state\nsummary (lg_H0, fhn_armed_at_start, ku_r0, ku_started_sync). Event times are detection times: the\nfirst grid time t_k at which the event is seen on the declared grid. The continuous path may have\nmet the event earlier, between two earlier grid times, and left it again, so a detection time is\nnot a continuous-time first-passage time and does not bound it to (t_{k-1}, t_k]. A path without\na detection by T has NaN: the event was not observed on that grid, which does not show that the\ncontinuous path never met it. Grid events therefore depend on the grid. Time integrals use the\ntrapezoid rule on the declared grid.",
"observables": [
{
"name": "dw_switches",
"blocks": [
"double_well"
],
"kind": "count",
"label": "basin switches",
"definition": "Number of basin switches of X on the grid. Basins: right if X > theta, left if X < -theta, theta = 0.5 sqrt(alpha/beta). The label starts as the region of the initial value (none if the initial value is inside the band [-theta, theta]). At each grid time t_k, k >= 1, a value beyond +theta (or below -theta) sets the label to right (left); values inside the band keep the current label. Every change of the label between left and right is one transition, at the grid time where the opposite region is first observed. Recrossings of 0 inside the band are not transitions; the first region entered from the band is not a transition; an excursion into the opposite region and back counts as two transitions; no dwell time is required.",
"params": {
"theta": "0.5*sqrt(alpha/beta)"
},
"version": "obs-v1",
"pseudocode": "label = +1 if x_0 > theta else (-1 if x_0 < -theta else 0); count = 0; first = none\nfor k = 1..K:\n b = +1 if x_k > theta else (-1 if x_k < -theta else 0)\n if b != 0 and label != 0 and b != label: count += 1; first = first or t_k\n if b != 0: label = b\n# x = X, theta = 0.5 sqrt(alpha/beta)"
},
{
"name": "dw_switch_any",
"blocks": [
"double_well"
],
"kind": "indicator",
"label": "P(>=1 basin switch)",
"definition": "dw_switches >= 1.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "dw_first_switch_time",
"blocks": [
"double_well"
],
"kind": "time",
"label": "first switch time",
"definition": "Grid time of the first basin switch (NaN if none).",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "dw_right_occupation",
"blocks": [
"double_well"
],
"kind": "real",
"label": "time share X > 0",
"definition": "Fraction of grid times t_k, k >= 1, with X > 0.",
"params": {},
"version": "obs-v1",
"pseudocode": ""
},
{
"name": "dw_right_T",
"blocks": [
"double_well"
],
"kind": "indicator",
"label": "P(X(T) > 0)",
"definition": "X(T) > 0.",
"params": {},
"version": "obs-v1",
"pseudocode": ""