ClarusC64 commited on
Commit
c361f69
·
verified ·
1 Parent(s): 178a56e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +272 -3
README.md CHANGED
@@ -1,3 +1,272 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: mit
4
+ task_categories:
5
+ - text-classification
6
+ tags:
7
+ - clinical-trials
8
+ - trajectory-aware
9
+ - clarus
10
+ - diagnostic-logic
11
+ - fragility
12
+ - atlas
13
+ size_categories:
14
+ - n<1K
15
+ pretty_name: Clinical Diagnostic Logic Fragility Atlas v0.2
16
+ ---
17
+
18
+ # Clinical Diagnostic Logic Fragility Atlas v0.2
19
+
20
+ ## What this is
21
+
22
+ A small dataset that tests one question:
23
+
24
+ Can you detect when diagnostic logic is moving toward fragility, not just carrying ambiguity?
25
+
26
+ This repo focuses on diagnostic logic breakdown under clinical reasoning pressure.
27
+
28
+ It models a system where:
29
+
30
+ - diagnostic signal consistency may weaken
31
+ - hypothesis conflict may rise
32
+ - evidence may fragment
33
+ - inference stability may erode before overt decision failure appears
34
+
35
+ ## Run this first
36
+
37
+ Generate baseline predictions:
38
+
39
+ ```bash
40
+ python baseline_heuristic.py data/tester.csv predictions.csv
41
+
42
+ Score them:
43
+
44
+ python scorer.py data/tester.csv predictions.csv
45
+
46
+ That is enough to see the full evaluation loop.
47
+
48
+ You will get:
49
+
50
+ standard metrics
51
+
52
+ trajectory detection performance
53
+
54
+ diagnostic fragility detection errors
55
+
56
+ What to try next
57
+
58
+ Replace the baseline.
59
+
60
+ Build your own model.
61
+
62
+ Output a file like:
63
+
64
+ id,prediction_score
65
+ 0,0.12
66
+ 1,0.81
67
+ 2,0.67
68
+
69
+ Then run:
70
+
71
+ python scorer.py data/tester.csv your_predictions.csv
72
+ What matters
73
+
74
+ Not just accuracy.
75
+
76
+ The key signals are:
77
+
78
+ recall_trajectory_deterioration_detection
79
+
80
+ false_stable_trajectory_rate
81
+
82
+ These tell you:
83
+
84
+ are you catching systems that are getting worse
85
+
86
+ are you missing hidden diagnostic collapse
87
+
88
+ Data
89
+
90
+ Each row represents a diagnostic reasoning state.
91
+
92
+ Core variables:
93
+
94
+ diagnostic_signal_consistency
95
+
96
+ hypothesis_conflict_index
97
+
98
+ evidence_fragmentation_score
99
+
100
+ inference_stability_score
101
+
102
+ drift_gradient
103
+
104
+ logic_gap_pressure
105
+
106
+ context_loss_index
107
+
108
+ decision_coherence_score
109
+
110
+ Target:
111
+
112
+ label_diagnostic_logic_fragility
113
+
114
+ Important distinction
115
+
116
+ There are two different components in this repo.
117
+
118
+ scorer.py
119
+
120
+ evaluates predictions
121
+
122
+ domain-agnostic
123
+
124
+ works across all v0.2 datasets
125
+
126
+ does not generate predictions
127
+
128
+ baseline_heuristic.py
129
+
130
+ generates predictions
131
+
132
+ domain-specific
133
+
134
+ uses the variables in this dataset
135
+
136
+ Do not reuse the heuristic across datasets.
137
+
138
+ It is only a local reference.
139
+
140
+ What changed from v0.1
141
+
142
+ v0.1:
143
+
144
+ static diagnostic fragility classification
145
+
146
+ v0.2:
147
+
148
+ adds direction via drift_gradient
149
+
150
+ This allows you to separate:
151
+
152
+ strained but stabilizing reasoning systems
153
+
154
+ strained and deteriorating reasoning systems
155
+
156
+ Why this exists
157
+
158
+ Most models answer:
159
+
160
+ what is happening now
161
+
162
+ This tests:
163
+
164
+ where the reasoning structure is going
165
+
166
+ That difference is where fragility appears early.
167
+
168
+ Files
169
+
170
+ data/train.csv — training data
171
+
172
+ data/tester.csv — evaluation data
173
+
174
+ scorer.py — canonical evaluation script
175
+
176
+ baseline_heuristic.py — dataset-specific reference model
177
+
178
+ README.md — dataset card
179
+
180
+ Evaluation
181
+
182
+ Primary metric:
183
+
184
+ recall_trajectory_deterioration_detection
185
+
186
+ Secondary metric:
187
+
188
+ false_stable_trajectory_rate
189
+
190
+ Standard metrics are also reported:
191
+
192
+ accuracy
193
+
194
+ precision
195
+
196
+ recall
197
+
198
+ f1
199
+
200
+ The scorer supports binary predictions or score-based predictions.
201
+
202
+ License
203
+
204
+ MIT
205
+
206
+ Structural Note
207
+
208
+ Clarus datasets are structural instruments.
209
+
210
+ They are designed to expose instability geometry, not just predict isolated outcomes.
211
+
212
+ This v0.2 repo adds directional state movement so the dataset can separate static diagnostic strain from active deterioration in reasoning coherence.
213
+
214
+ Production Deployment
215
+
216
+ This dataset can be used in:
217
+
218
+ diagnostic reasoning research
219
+
220
+ differential conflict monitoring
221
+
222
+ clinical synthesis benchmarking
223
+
224
+ decision support stress testing
225
+
226
+ model benchmarking for trajectory-aware diagnostic logic reasoning
227
+
228
+ It is suitable for research and prototyping.
229
+
230
+ It is not a substitute for live clinical judgment.
231
+
232
+ Enterprise & Research Collaboration
233
+
234
+ Clarus builds datasets for:
235
+
236
+ instability detection
237
+
238
+ trajectory tracking
239
+
240
+ intervention reasoning
241
+
242
+ These structures are not domain-bound.
243
+
244
+ They apply wherever systems move toward or away from failure.
245
+
246
+ Applicable domains include:
247
+
248
+ healthcare systems
249
+
250
+ financial markets
251
+
252
+ energy infrastructure
253
+
254
+ logistics networks
255
+
256
+ artificial intelligence systems
257
+
258
+ manufacturing systems
259
+
260
+ supply chains
261
+
262
+ climate systems
263
+
264
+ Any environment where:
265
+
266
+ capacity and demand interact
267
+
268
+ delays and coupling exist
269
+
270
+ trajectory determines outcome
271
+
272
+ This dataset is one instance of a general stability framework.