ClarusC64 commited on
Commit
02ed3b7
·
verified ·
1 Parent(s): 4fa1caf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +287 -3
README.md CHANGED
@@ -1,3 +1,287 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ task_categories:
6
+ - text-classification
7
+ tags:
8
+ - clinical-trials
9
+ - clarus
10
+ - five-node-cascade
11
+ - trajectory-aware
12
+ - intervention-pathway
13
+ - shock
14
+ - boundary
15
+ size_categories:
16
+ - 1K<n<10K
17
+ pretty_name: Clarus v0.6 Clinical Five-Node Shock Cascade Intervention Pathway Dataset
18
+ ---
19
+
20
+ # What this repo does
21
+
22
+ This repository contains a Clarus v0.6 intervention pathway dataset focused on shock cascade boundary dynamics.
23
+
24
+ The dataset evaluates whether a model can determine if a proposed intervention meaningfully stabilizes a deteriorating shock system represented as a five-node cascade.
25
+
26
+ The task requires reasoning from:
27
+
28
+ - multi-node system state
29
+ - trajectory toward instability
30
+ - boundary geometry
31
+ - recovery geometry
32
+ - intervention vector
33
+ - projected trajectory consequence
34
+
35
+ The model cannot read the answer directly.
36
+
37
+ It must infer stabilization from the structure of the case.
38
+
39
+ This shifts the benchmark from simple shock cascade boundary detection to intervention reasoning across a coupled five-node system.
40
+
41
+ # Core five-node cascade
42
+
43
+ The shock cascade boundary system is represented using five normalized variables.
44
+
45
+ - shock_pressure
46
+ - physiological_buffer
47
+ - intervention_lag
48
+ - organ_coupling
49
+ - hemodynamic_instability
50
+
51
+ These variables capture the main structural drivers of shock escalation and collapse propagation.
52
+
53
+ # Clinical variable mapping
54
+
55
+ The normalized cascade variables correspond to measurable clinical signals.
56
+
57
+ | Cascade Variable | Clinical Measurements | Typical Indicators |
58
+ |------------------|----------------------|-------------------|
59
+ | shock_pressure | Lactate trend<br>Perfusion deficit burden<br>Shock index rise<br>Progressive tissue hypoperfusion | Lactate rising<br>Shock index elevated<br>Poor capillary refill |
60
+ | physiological_buffer | Albumin status<br>Cardiopulmonary reserve<br>Renal reserve<br>Frailty-adjusted resilience | Low reserve<br>Comorbidity burden<br>Poor compensatory tolerance |
61
+ | intervention_lag | Delay to fluids<br>Delay to vasopressors<br>Delay to hemorrhage or source control<br>Delay to organ-support escalation | Late fluids<br>Slow pressor escalation<br>Delayed control |
62
+ | organ_coupling | Cardiovascular-renal interaction<br>Respiratory-circulatory coupling<br>Inflammatory cross-organ spread<br>SOFA-linked propagation | Oliguria with hypotension<br>Respiratory stress plus shock |
63
+ | hemodynamic_instability | MAP decline<br>Vasopressor burden<br>Pulse pressure collapse<br>Perfusion failure burden | MAP < 65<br>Escalating pressors<br>Cold peripheries |
64
+
65
+ These measurements illustrate how normalized values in the dataset map to real shock cascade physiology.
66
+
67
+ # Prediction target
68
+
69
+ The target column is:
70
+
71
+ `label_shock_stabilization`
72
+
73
+ This label indicates whether the intervention pathway produces genuine stabilization.
74
+
75
+ # Label logic
76
+
77
+ ## Default benchmark rule
78
+
79
+ A row is labeled positive only when both conditions hold:
80
+
81
+ `stabilization_success = 1`
82
+
83
+ and
84
+
85
+ `trajectory_shift < -0.10`
86
+
87
+ This rule filters out marginal corrections and ensures that positive examples represent meaningful stabilization.
88
+
89
+ ## Optional relaxed rule
90
+
91
+ Positive labels may trigger when:
92
+
93
+ `stabilization_success = 1`
94
+
95
+ This relaxed rule may be used for exploratory builds but is not the default benchmark configuration.
96
+
97
+ # Row structure
98
+
99
+ Each row contains:
100
+
101
+ - five-node shock state
102
+ - trajectory geometry
103
+ - perturbation geometry
104
+ - recovery geometry
105
+ - intervention vector
106
+ - projected trajectory consequence
107
+
108
+ Train rows include:
109
+
110
+ - `stabilization_success`
111
+ - `label_shock_stabilization`
112
+
113
+ Tester rows exclude these fields.
114
+
115
+ # Why tester rows exclude stabilization_success
116
+
117
+ The tester file withholds:
118
+
119
+ - `stabilization_success`
120
+ - `label_shock_stabilization`
121
+
122
+ This prevents answer leakage.
123
+
124
+ The model must infer stabilization using:
125
+
126
+ - the starting five-node shock state
127
+ - drift toward the failure boundary
128
+ - recovery basin geometry
129
+ - the intervention vector
130
+ - the predicted trajectory consequence
131
+
132
+ This structure forces real intervention reasoning.
133
+
134
+ # Minimal intervention path
135
+
136
+ `minimal_intervention_path` encodes the shortest viable stabilization pathway.
137
+
138
+ Example interpretation:
139
+
140
+ - `0` = no viable rescue path
141
+ - `1` = direct stabilization pathway
142
+ - `2` = multi-step stabilization sequence
143
+ - `3` = complex high-risk rescue pathway
144
+
145
+ The field remains visible because the benchmark evaluates whether the model can combine intervention structure with trajectory consequence to determine stabilization.
146
+
147
+ # Files
148
+
149
+ - `data/train.csv` — labeled training dataset
150
+ - `data/tester.csv` — unlabeled benchmark dataset with withheld stabilization signal
151
+ - `scorer.py` — evaluation metrics and confusion matrix computation
152
+ - `cli.py` — command-line evaluation wrapper used for benchmark scoring
153
+ - `README.md` — dataset card and schema documentation
154
+
155
+ # Evaluation
156
+
157
+ The scorer reports:
158
+
159
+ - `accuracy`
160
+ - `precision`
161
+ - `recall_successful_stabilization`
162
+ - `failed_rescue_rate`
163
+ - `f1`
164
+ - `confusion_matrix`
165
+
166
+ Primary metric:
167
+
168
+ `recall_successful_stabilization`
169
+
170
+ Secondary metric:
171
+
172
+ `failed_rescue_rate`
173
+
174
+ Interpretation:
175
+
176
+ `recall_successful_stabilization` measures how reliably the model detects interventions that genuinely stabilize the shock five-node cascade.
177
+
178
+ `failed_rescue_rate` measures how often the model fails to recognize a viable stabilization pathway.
179
+
180
+ These metrics prioritize intervention reasoning rather than generic classification accuracy.
181
+
182
+ # Schema
183
+
184
+ ## train.csv columns
185
+
186
+ - `scenario_id`
187
+ - `shock_pressure`
188
+ - `physiological_buffer`
189
+ - `intervention_lag`
190
+ - `organ_coupling`
191
+ - `hemodynamic_instability`
192
+ - `drift_gradient`
193
+ - `drift_velocity`
194
+ - `drift_acceleration`
195
+ - `boundary_distance`
196
+ - `perturbation_radius`
197
+ - `collapse_trigger`
198
+ - `recovery_distance`
199
+ - `recovery_gradient`
200
+ - `return_feasibility`
201
+ - `delta_shock_pressure`
202
+ - `delta_physiological_buffer`
203
+ - `delta_intervention_lag`
204
+ - `delta_organ_coupling`
205
+ - `delta_hemodynamic_instability`
206
+ - `trajectory_shift`
207
+ - `minimal_intervention_path`
208
+ - `stabilization_success`
209
+ - `label_shock_stabilization`
210
+
211
+ ## tester.csv columns
212
+
213
+ - `scenario_id`
214
+ - `shock_pressure`
215
+ - `physiological_buffer`
216
+ - `intervention_lag`
217
+ - `organ_coupling`
218
+ - `hemodynamic_instability`
219
+ - `drift_gradient`
220
+ - `drift_velocity`
221
+ - `drift_acceleration`
222
+ - `boundary_distance`
223
+ - `perturbation_radius`
224
+ - `collapse_trigger`
225
+ - `recovery_distance`
226
+ - `recovery_gradient`
227
+ - `return_feasibility`
228
+ - `delta_shock_pressure`
229
+ - `delta_physiological_buffer`
230
+ - `delta_intervention_lag`
231
+ - `delta_organ_coupling`
232
+ - `delta_hemodynamic_instability`
233
+ - `trajectory_shift`
234
+ - `minimal_intervention_path`
235
+
236
+ # Structural note
237
+
238
+ The Clarus dataset series evolves through progressively richer representations of cascade dynamics.
239
+
240
+ Version progression:
241
+
242
+ - v0.1 — cascade state detection
243
+ - v0.2 — trajectory-aware detection
244
+ - v0.3 — dynamic cascade forecasting
245
+ - v0.4 — boundary discovery
246
+ - v0.5 — recovery geometry
247
+ - v0.6 — intervention pathway reasoning
248
+
249
+ The five-node cascade format extends this stack from quad structure to higher-order coupled instability modeling.
250
+
251
+ Version 0.6 evaluates whether a proposed intervention meaningfully alters the trajectory of a five-node shock system approaching collapse.
252
+
253
+ This marks the transition from cascade monitoring to coupled control reasoning.
254
+
255
+ # Production deployment
256
+
257
+ This dataset structure can support clinical decision environments where shock cascade boundary breach must be detected and corrected before irreversible collapse occurs.
258
+
259
+ Example settings include:
260
+
261
+ - emergency shock triage
262
+ - ICU shock escalation review
263
+ - hemorrhagic or distributive shock monitoring
264
+ - vasopressor and fluids step-up surveillance
265
+ - multi-organ collapse prevention
266
+
267
+ # Enterprise and research collaboration
268
+
269
+ This dataset class supports benchmarking for:
270
+
271
+ - intervention-aware clinical AI
272
+ - five-node shock cascade modeling
273
+ - recovery feasibility prediction
274
+ - false-stability detection
275
+ - boundary-sensitive decision support systems
276
+
277
+ # Contact
278
+
279
+ For dataset expansion, custom coherence scorers, or deployment architecture:
280
+
281
+ team@clarusinvariant.com
282
+
283
+ Instability is detectable. Governance determines whether it propagates.
284
+
285
+ # License
286
+
287
+ MIT