ClarusC64 commited on
Commit
f09199a
·
verified ·
1 Parent(s): bc895d6

Create dataset_schema_.json

Browse files
Files changed (1) hide show
  1. dataset_schema_.json +214 -0
dataset_schema_.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.3",
3
+ "benchmark_name": "CASSES",
4
+ "description": "Clarus Adversarial State-Space Evaluation Standard v0.3",
5
+
6
+ "splits": [
7
+ "train",
8
+ "in_domain_test",
9
+ "boundary_trap",
10
+ "distribution_shift",
11
+ "counterfactual_intervention"
12
+ ],
13
+
14
+ "trap_types": [
15
+ "false_stability",
16
+ "boundary_masking",
17
+ "trajectory_aliasing",
18
+ "temporal_alias",
19
+ "intervention_decoy"
20
+ ],
21
+
22
+ "difficulty_levels": [
23
+ "easy",
24
+ "medium",
25
+ "hard"
26
+ ],
27
+
28
+ "pair_roles": [
29
+ "safe_pair",
30
+ "unstable_pair"
31
+ ],
32
+
33
+ "thresholds": {
34
+ "low_boundary_distance": 0.10,
35
+ "high_drift_gradient": 0.05
36
+ },
37
+
38
+ "required_prediction_fields": [
39
+ "scenario_id",
40
+ "prediction"
41
+ ],
42
+
43
+ "optional_prediction_fields": [
44
+ "intervention_effect_direction"
45
+ ],
46
+
47
+ "required_truth_fields": [
48
+ "scenario_id",
49
+ "split_type",
50
+ "pair_id",
51
+ "pair_role",
52
+ "difficulty_level",
53
+ "pressure_obs_t0",
54
+ "pressure_obs_t1",
55
+ "pressure_obs_t2",
56
+ "buffer_obs_t0",
57
+ "buffer_obs_t1",
58
+ "buffer_obs_t2",
59
+ "true_label",
60
+ "trap_type",
61
+ "trap_active",
62
+ "boundary_distance",
63
+ "drift_gradient",
64
+ "drift_acceleration",
65
+ "recovery_feasibility",
66
+ "regime_competition_ratio",
67
+ "intervention_action",
68
+ "intervention_magnitude",
69
+ "boundary_distance_before",
70
+ "boundary_distance_after",
71
+ "intervention_effect_direction"
72
+ ],
73
+
74
+ "metrics": {
75
+ "basic": [
76
+ "accuracy",
77
+ "precision",
78
+ "recall",
79
+ "f1",
80
+ "rows_evaluated"
81
+ ],
82
+ "split_metrics": [
83
+ "train_accuracy",
84
+ "in_domain_test_accuracy",
85
+ "boundary_trap_accuracy",
86
+ "distribution_shift_accuracy",
87
+ "counterfactual_intervention_accuracy"
88
+ ],
89
+ "trap_metrics": [
90
+ "trap_accuracy",
91
+ "false_stability_accuracy",
92
+ "boundary_masking_accuracy",
93
+ "trajectory_aliasing_accuracy",
94
+ "temporal_alias_accuracy",
95
+ "intervention_decoy_accuracy"
96
+ ],
97
+ "difficulty_metrics": [
98
+ "easy_accuracy",
99
+ "medium_accuracy",
100
+ "hard_accuracy"
101
+ ],
102
+ "geometry_metrics": [
103
+ "low_boundary_distance_miss_rate",
104
+ "high_drift_gradient_miss_rate"
105
+ ],
106
+ "counterfactual_metrics": [
107
+ "counterfactual_intervention_accuracy",
108
+ "intervention_effect_direction_accuracy"
109
+ ],
110
+ "pair_metrics": [
111
+ "trajectory_pair_discrimination_accuracy"
112
+ ],
113
+ "support_metrics": [
114
+ "train_support",
115
+ "in_domain_test_support",
116
+ "boundary_trap_support",
117
+ "distribution_shift_support",
118
+ "counterfactual_intervention_support",
119
+ "trap_support"
120
+ ],
121
+ "composite_metrics": [
122
+ "manifold_generalization_gap",
123
+ "casses_score"
124
+ ]
125
+ },
126
+
127
+ "composite_score": {
128
+ "name": "casses_score",
129
+ "weights": {
130
+ "in_domain_test_accuracy": 0.18,
131
+ "boundary_trap_accuracy": 0.20,
132
+ "distribution_shift_accuracy": 0.17,
133
+ "trap_accuracy": 0.15,
134
+ "counterfactual_intervention_accuracy": 0.15,
135
+ "trajectory_pair_discrimination_accuracy": 0.15
136
+ },
137
+ "renormalize_if_missing": true
138
+ },
139
+
140
+ "manifold_generalization_gap": {
141
+ "formula": "in_domain_test_accuracy - distribution_shift_accuracy"
142
+ },
143
+
144
+ "pair_discrimination_rule": {
145
+ "description": "For each pair_id, one row must have pair_role=safe_pair and one row must have pair_role=unstable_pair. A pair is correct only if the unstable row is predicted 1 and the safe row is predicted 0."
146
+ },
147
+
148
+ "counterfactual_rule": {
149
+ "description": "Rows in counterfactual_intervention evaluate whether the model correctly predicts the outcome label and, when provided, the intervention effect direction."
150
+ },
151
+
152
+ "validation_rules": {
153
+ "prediction_binary_values": [0, 1],
154
+ "truth_binary_values": {
155
+ "true_label": [0, 1],
156
+ "trap_active": [0, 1]
157
+ },
158
+ "intervention_effect_direction_values": [-1, 0, 1],
159
+ "require_exact_scenario_id_match": true,
160
+ "require_unique_scenario_id": true,
161
+ "allow_null_trap_type": true,
162
+ "allow_null_pair_id": true,
163
+ "allow_null_pair_role": true
164
+ },
165
+
166
+ "interpretation": {
167
+ "accuracy": "Overall classification correctness",
168
+ "trap_accuracy": "Performance on trap-active rows only",
169
+ "boundary_trap_accuracy": "Performance on boundary deception rows",
170
+ "distribution_shift_accuracy": "Performance when observable manifold shifts",
171
+ "counterfactual_intervention_accuracy": "Performance on intervention outcome rows",
172
+ "trajectory_pair_discrimination_accuracy": "Ability to distinguish paired safe vs unstable trajectories",
173
+ "low_boundary_distance_miss_rate": "Fraction of unstable near-boundary rows predicted stable",
174
+ "high_drift_gradient_miss_rate": "Fraction of unstable high-drift rows predicted stable",
175
+ "casses_score": "Composite state-space reasoning benchmark score"
176
+ },
177
+
178
+ "output_format": {
179
+ "type": "json",
180
+ "required_output_keys": [
181
+ "accuracy",
182
+ "precision",
183
+ "recall",
184
+ "f1",
185
+ "rows_evaluated",
186
+ "train_accuracy",
187
+ "in_domain_test_accuracy",
188
+ "boundary_trap_accuracy",
189
+ "distribution_shift_accuracy",
190
+ "trap_accuracy",
191
+ "false_stability_accuracy",
192
+ "boundary_masking_accuracy",
193
+ "trajectory_aliasing_accuracy",
194
+ "temporal_alias_accuracy",
195
+ "intervention_decoy_accuracy",
196
+ "easy_accuracy",
197
+ "medium_accuracy",
198
+ "hard_accuracy",
199
+ "manifold_generalization_gap",
200
+ "low_boundary_distance_miss_rate",
201
+ "high_drift_gradient_miss_rate",
202
+ "counterfactual_intervention_accuracy",
203
+ "intervention_effect_direction_accuracy",
204
+ "trajectory_pair_discrimination_accuracy",
205
+ "train_support",
206
+ "in_domain_test_support",
207
+ "boundary_trap_support",
208
+ "distribution_shift_support",
209
+ "counterfactual_intervention_support",
210
+ "trap_support",
211
+ "casses_score"
212
+ ]
213
+ }
214
+ }