scenario_id int64 | surgical_stress float64 | physiological_buffer float64 | intervention_lag float64 | systemic_coupling float64 | drift_gradient float64 | drift_velocity float64 | drift_acceleration float64 | boundary_distance float64 | perturbation_radius float64 | collapse_trigger int64 | recovery_distance float64 | recovery_gradient float64 | return_feasibility int64 | delta_surgical_stress float64 | delta_physiological_buffer float64 | delta_intervention_lag float64 | delta_systemic_coupling float64 | trajectory_shift float64 | minimal_intervention_path int64 | stabilization_success int64 | label_postop_stabilization int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0.82 | 0.29 | 0.6 | 0.73 | 0.58 | 0.49 | 0.2 | 0.08 | 0.07 | 1 | 0.45 | -0.19 | 1 | -0.3 | 0.16 | -0.33 | -0.11 | -0.25 | 1 | 1 | 1 |
2 | 0.77 | 0.33 | 0.56 | 0.68 | 0.52 | 0.42 | 0.17 | 0.11 | 0.05 | 1 | 0.4 | -0.14 | 1 | -0.18 | 0.09 | -0.19 | -0.07 | -0.08 | 1 | 1 | 0 |
3 | 0.69 | 0.38 | 0.48 | 0.6 | 0.43 | 0.35 | 0.13 | 0.16 | 0.04 | 0 | 0.33 | -0.1 | 1 | -0.1 | 0.06 | -0.11 | -0.04 | -0.04 | 0 | 1 | 0 |
4 | 0.89 | 0.22 | 0.67 | 0.8 | 0.64 | 0.55 | 0.23 | 0.05 | 0.08 | 1 | 0.53 | -0.22 | 0 | -0.14 | 0.07 | -0.15 | -0.05 | -0.02 | 0 | 0 | 0 |
5 | 0.74 | 0.36 | 0.53 | 0.64 | 0.48 | 0.39 | 0.15 | 0.13 | 0.05 | 0 | 0.35 | -0.17 | 1 | -0.27 | 0.15 | -0.28 | -0.1 | -0.22 | 1 | 1 | 1 |
6 | 0.85 | 0.26 | 0.63 | 0.75 | 0.59 | 0.5 | 0.21 | 0.06 | 0.07 | 1 | 0.48 | -0.17 | 1 | -0.21 | 0.11 | -0.23 | -0.08 | -0.09 | 1 | 1 | 0 |
7 | 0.66 | 0.42 | 0.45 | 0.57 | 0.38 | 0.3 | 0.11 | 0.19 | 0.03 | 0 | 0.28 | -0.08 | 1 | -0.08 | 0.04 | -0.08 | -0.03 | -0.03 | 0 | 1 | 0 |
8 | 0.81 | 0.3 | 0.58 | 0.71 | 0.55 | 0.46 | 0.19 | 0.09 | 0.06 | 1 | 0.43 | -0.2 | 1 | -0.32 | 0.18 | -0.35 | -0.12 | -0.28 | 1 | 1 | 1 |
9 | 0.72 | 0.34 | 0.54 | 0.63 | 0.46 | 0.37 | 0.14 | 0.14 | 0.04 | 0 | 0.36 | -0.12 | 1 | -0.16 | 0.08 | -0.17 | -0.06 | -0.07 | 1 | 1 | 0 |
10 | 0.87 | 0.24 | 0.66 | 0.79 | 0.62 | 0.54 | 0.22 | 0.05 | 0.08 | 1 | 0.51 | -0.21 | 0 | -0.17 | 0.08 | -0.18 | -0.05 | -0.01 | 0 | 0 | 0 |
What this repo does
This repository contains a Clarus v0.6 intervention pathway dataset focused on postoperative collapse dynamics.
The dataset evaluates whether a model can determine if a proposed intervention meaningfully stabilizes a deteriorating postoperative system.
The task requires reasoning from:
- system state
- trajectory toward instability
- boundary geometry
- recovery geometry
- intervention vector
- projected trajectory consequence
The model cannot read the answer directly.
It must infer stabilization from the structure of the case.
This shifts the benchmark from simple postoperative deterioration detection to intervention reasoning.
Core quad
The postoperative collapse system is represented using four normalized variables.
- surgical_stress
- physiological_buffer
- intervention_lag
- systemic_coupling
These variables capture the core structural drivers of postoperative cascade progression.
Clinical variable mapping
The normalized quad variables correspond to measurable clinical signals.
| Quad Variable | Clinical Measurements | Typical Indicators |
|---|---|---|
| surgical_stress | Operative burden Blood loss load Pain and inflammatory burden Early hemodynamic strain |
Major surgery Rising lactate Ongoing blood loss |
| physiological_buffer | Cardiopulmonary reserve Renal reserve Hemoglobin status Frailty-adjusted resilience |
Low Hb Reduced reserve High frailty burden |
| intervention_lag | Delay to review Delay to fluids or blood Delay to imaging Delay to return to theatre |
Slow escalation Late transfusion Delayed source control |
| systemic_coupling | Hemodynamic-respiratory interaction Bleeding-coagulopathy coupling Inflammatory propagation Multi-organ stress linkage |
Hypotension with hypoxia Bleeding plus coagulopathy |
These measurements illustrate how normalized values in the dataset map to real postoperative physiology.
Prediction target
The target column is:
label_postop_stabilization
This label indicates whether the intervention pathway produces genuine stabilization.
Label logic
Default benchmark rule
A row is labeled positive only when both conditions hold:
stabilization_success = 1
and
trajectory_shift < -0.10
This rule filters out marginal corrections and ensures that positive examples represent meaningful stabilization.
Optional relaxed rule
Positive labels may trigger when:
stabilization_success = 1
This relaxed rule may be used for exploratory builds but is not the default benchmark configuration.
Row structure
Each row contains:
- core postoperative state
- trajectory geometry
- perturbation geometry
- recovery geometry
- intervention vector
- projected trajectory consequence
Train rows include:
stabilization_successlabel_postop_stabilization
Tester rows exclude these fields.
Why tester rows exclude stabilization_success
The tester file withholds:
stabilization_successlabel_postop_stabilization
This prevents answer leakage.
The model must infer stabilization using:
- the starting postoperative state
- drift toward the failure boundary
- recovery basin geometry
- the intervention vector
- the predicted trajectory consequence
This structure forces real intervention reasoning.
Minimal intervention path
minimal_intervention_path encodes the shortest viable stabilization pathway.
Example interpretation:
0= no viable rescue path1= direct stabilization pathway2= multi-step stabilization sequence3= complex high-risk rescue pathway
The field remains visible because the benchmark evaluates whether the model can combine intervention structure with trajectory consequence to determine stabilization.
Files
data/train.csv— labeled training datasetdata/tester.csv— unlabeled benchmark dataset with withheld stabilization signalscorer.py— evaluation metrics and confusion matrix computationcli.py— command-line evaluation wrapper used for benchmark scoringREADME.md— dataset card and schema documentation
Evaluation
The scorer reports:
accuracyprecisionrecall_successful_stabilizationfailed_rescue_ratef1confusion_matrix
Primary metric:
recall_successful_stabilization
Secondary metric:
failed_rescue_rate
Interpretation:
recall_successful_stabilization measures how reliably the model detects interventions that genuinely stabilize the postoperative system.
failed_rescue_rate measures how often the model fails to recognize a viable stabilization pathway.
These metrics prioritize intervention reasoning rather than generic classification accuracy.
Schema
train.csv columns
scenario_idsurgical_stressphysiological_bufferintervention_lagsystemic_couplingdrift_gradientdrift_velocitydrift_accelerationboundary_distanceperturbation_radiuscollapse_triggerrecovery_distancerecovery_gradientreturn_feasibilitydelta_surgical_stressdelta_physiological_bufferdelta_intervention_lagdelta_systemic_couplingtrajectory_shiftminimal_intervention_pathstabilization_successlabel_postop_stabilization
tester.csv columns
scenario_idsurgical_stressphysiological_bufferintervention_lagsystemic_couplingdrift_gradientdrift_velocitydrift_accelerationboundary_distanceperturbation_radiuscollapse_triggerrecovery_distancerecovery_gradientreturn_feasibilitydelta_surgical_stressdelta_physiological_bufferdelta_intervention_lagdelta_systemic_couplingtrajectory_shiftminimal_intervention_path
Structural note
The Clarus dataset series evolves through progressively richer representations of cascade dynamics.
Version progression:
- v0.1 — cascade state detection
- v0.2 — trajectory-aware detection
- v0.3 — dynamic cascade forecasting
- v0.4 — boundary discovery
- v0.5 — recovery geometry
- v0.6 — intervention pathway reasoning
Earlier versions identify when instability is developing.
Version 0.6 evaluates whether a proposed intervention meaningfully alters the trajectory of a system approaching collapse.
This marks the transition from monitoring cascade dynamics to evaluating control pathways.
Production deployment
This dataset structure can support clinical decision environments where postoperative collapse must be detected and corrected before irreversible transition occurs.
Example settings include:
- recovery ward surveillance
- post-op escalation review
- hemorrhage and sepsis monitoring after surgery
- return-to-theatre decision support
- ICU step-up postoperative monitoring
Enterprise and research collaboration
This dataset class supports benchmarking for:
- intervention-aware clinical AI
- postoperative cascade modeling
- recovery feasibility prediction
- false-stability detection
- boundary-sensitive decision support systems
Contact
For dataset expansion, custom coherence scorers, or deployment architecture:
Instability is detectable. Governance determines whether it propagates.
License
MIT
- Downloads last month
- 15