@almadar/std 16.144.0 → 16.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/lolo/ml/atoms/std-ml-classify.lolo +121 -0
- package/behaviors/lolo/ml/atoms/std-ml-exact-check.lolo +90 -0
- package/behaviors/lolo/ml/atoms/std-ml-infer.lolo +141 -0
- package/behaviors/lolo/ml/atoms/std-ml-label-capture.lolo +75 -0
- package/behaviors/lolo/ml/atoms/std-ml-lookup.lolo +83 -0
- package/behaviors/lolo/ml/atoms/std-ml-posterior.lolo +104 -0
- package/behaviors/lolo/ml/atoms/std-ml-similarity.lolo +166 -0
- package/behaviors/lolo/ml/molecules/std-escalating-decision.lolo +271 -0
- package/behaviors/lolo/ml/molecules/std-knowledge-tracing.lolo +115 -0
- package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +14 -0
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +20 -6
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +23 -6
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +80 -2
- package/behaviors/lolo/ui/core/atoms/std-stats.lolo +1 -1
- package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +3 -3
- package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +18 -0
- package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +2 -0
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +3 -2
- package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +20 -0
- package/behaviors/lolo/ui/core/molecules/ui-search-input.lolo +7 -2
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +3 -2
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +2 -0
- package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +2 -0
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +2 -0
- package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +2 -0
- package/behaviors/lolo/ui/game/atoms/std-dungeon-combat.lolo +2 -2
- package/behaviors/lolo/ui/game/molecules/std-worldmap-board-2d.lolo +1 -1
- package/behaviors/lolo/ui/game/organisms/ui-boardgame-board.lolo +2 -2
- package/behaviors/lolo/ui/game/organisms/ui-builder-board.lolo +2 -2
- package/behaviors/lolo/ui/game/organisms/ui-debugger-board.lolo +3 -3
- package/behaviors/lolo/ui/game/organisms/ui-physics-sandbox-board.lolo +3 -3
- package/behaviors/lolo/ui/game/organisms/ui-roguelike-board.lolo +1 -1
- package/behaviors/lolo/ui/game/organisms/ui-sequencer-board.lolo +1 -1
- package/behaviors/lolo/ui/learning/atoms/std-algo-heapsort.lolo +2 -2
- package/behaviors/lolo/ui/learning/atoms/std-algo-mst.lolo +3 -3
- package/behaviors/registry/factory-signatures.json +5018 -824
- package/behaviors/registry/ml/atoms/std-ml-classify.orb +622 -0
- package/behaviors/registry/ml/atoms/std-ml-exact-check.orb +505 -0
- package/behaviors/registry/ml/atoms/std-ml-infer.orb +770 -0
- package/behaviors/registry/ml/atoms/std-ml-label-capture.orb +367 -0
- package/behaviors/registry/ml/atoms/std-ml-lookup.orb +473 -0
- package/behaviors/registry/ml/atoms/std-ml-posterior.orb +669 -0
- package/behaviors/registry/ml/atoms/std-ml-similarity.orb +917 -0
- package/behaviors/registry/ml/molecules/std-escalating-decision.orb +1553 -0
- package/behaviors/registry/ml/molecules/std-knowledge-tracing.orb +577 -0
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +33 -1
- package/behaviors/registry/ui/core/atoms/std-board.orb +64 -20
- package/behaviors/registry/ui/core/atoms/std-browse.orb +83 -48
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +213 -3
- package/behaviors/registry/ui/core/atoms/ui-typography.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +27 -0
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +25 -12
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +26 -13
- package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +86 -0
- package/behaviors/registry/ui/core/molecules/ui-search-input.orb +37 -1
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +25 -12
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +13 -0
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +21 -8
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +13 -0
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +13 -0
- package/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +4 -4
- package/behaviors/registry/ui/game/molecules/std-worldmap-board-2d.orb +6 -9
- package/behaviors/registry/ui/game/organisms/ui-boardgame-board.orb +4 -4
- package/behaviors/registry/ui/game/organisms/ui-builder-board.orb +4 -4
- package/behaviors/registry/ui/game/organisms/ui-debugger-board.orb +12 -12
- package/behaviors/registry/ui/game/organisms/ui-physics-sandbox-board.orb +19 -19
- package/behaviors/registry/ui/game/organisms/ui-roguelike-board.orb +1 -1
- package/behaviors/registry/ui/game/organisms/ui-sequencer-board.orb +2 -2
- package/behaviors/registry/ui/learning/atoms/std-algo-heapsort.orb +8 -8
- package/canonical-operators.json +30 -6
- package/dist/behaviors/behaviors-embeddings.json +267 -267
- package/dist/behaviors/exports-reader.js +2462 -2080
- package/dist/behaviors/functions/index.d.ts +725 -1
- package/dist/behaviors/functions/index.js +2437 -2081
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +2463 -2081
- package/dist/behaviors/knob-embeddings.json +1 -1
- package/dist/behaviors/query.js +2462 -2080
- package/dist/behaviors/registry/factory-signatures.json +5018 -824
- package/dist/behaviors/registry/ml/atoms/std-ml-classify.orb +622 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-exact-check.orb +505 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-infer.orb +770 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-label-capture.orb +367 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-lookup.orb +473 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-posterior.orb +669 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-similarity.orb +917 -0
- package/dist/behaviors/registry/ml/molecules/std-escalating-decision.orb +1553 -0
- package/dist/behaviors/registry/ml/molecules/std-knowledge-tracing.orb +577 -0
- package/dist/behaviors/registry/ui/core/atoms/std-app-layout.orb +33 -1
- package/dist/behaviors/registry/ui/core/atoms/std-board.orb +64 -20
- package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +83 -48
- package/dist/behaviors/registry/ui/core/atoms/std-calendar.orb +213 -3
- package/dist/behaviors/registry/ui/core/atoms/ui-typography.orb +1 -1
- package/dist/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +27 -0
- package/dist/behaviors/registry/ui/core/molecules/ui-data-grid.orb +25 -12
- package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +26 -13
- package/dist/behaviors/registry/ui/core/molecules/ui-filter-group.orb +86 -0
- package/dist/behaviors/registry/ui/core/molecules/ui-search-input.orb +37 -1
- package/dist/behaviors/registry/ui/core/molecules/ui-table-view.orb +25 -12
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +13 -0
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-list.orb +21 -8
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-table.orb +13 -0
- package/dist/behaviors/registry/ui/core/organisms/ui-timeline.orb +13 -0
- package/dist/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +4 -4
- package/dist/behaviors/registry/ui/game/molecules/std-worldmap-board-2d.orb +6 -9
- package/dist/behaviors/registry/ui/game/organisms/ui-boardgame-board.orb +4 -4
- package/dist/behaviors/registry/ui/game/organisms/ui-builder-board.orb +4 -4
- package/dist/behaviors/registry/ui/game/organisms/ui-debugger-board.orb +12 -12
- package/dist/behaviors/registry/ui/game/organisms/ui-physics-sandbox-board.orb +19 -19
- package/dist/behaviors/registry/ui/game/organisms/ui-roguelike-board.orb +1 -1
- package/dist/behaviors/registry/ui/game/organisms/ui-sequencer-board.orb +2 -2
- package/dist/behaviors/registry/ui/learning/atoms/std-algo-heapsort.orb +8 -8
- package/dist/behaviors-embeddings.json +267 -267
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2498 -2088
- package/dist/knob-embeddings.json +1 -1
- package/dist/modules/array.js +28 -0
- package/dist/modules/contract.js +4 -4
- package/dist/modules/data.js +3 -3
- package/dist/modules/index.js +35 -7
- package/dist/registry/factory-signatures.json +5018 -824
- package/dist/registry.js +35 -7
- package/package.json +3 -3
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "std-ml-label-capture — records a labeled example (input, verdict, source rung, observed outcome) so that expensive top-rung answers become training data for a cheaper rung later. Generic: it knows nothing about grading or students. sampleRate gates what fraction of examples are kept (1 = capture all); sink tags which named destination the example is attributed to.",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01KYBM8SK7FG0R2GXW69YPGA2M": {
|
|
6
|
+
"bakedName": "LabeledExample",
|
|
7
|
+
"curName": "LabeledExample",
|
|
8
|
+
"id": "ent_01KYBM8SK7FG0R2GXW69YPGA2M",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01KYBM8SK86WYGVMBYJKQ9J3AG": {
|
|
14
|
+
"bakedName": "LABEL_CAPTURED",
|
|
15
|
+
"curName": "LABEL_CAPTURED",
|
|
16
|
+
"id": "evt_01KYBM8SK86WYGVMBYJKQ9J3AG",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01KYBM8SK85P7TQJB7PYMA4M7F",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"evt_01KYBM8SK8J7G5ZWPYH8WGW6TM": {
|
|
23
|
+
"bakedName": "INIT",
|
|
24
|
+
"curName": "INIT",
|
|
25
|
+
"id": "evt_01KYBM8SK8J7G5ZWPYH8WGW6TM",
|
|
26
|
+
"kind": "event",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"parent": "trt_01KYBM8SK85P7TQJB7PYMA4M7F",
|
|
29
|
+
"renames": []
|
|
30
|
+
},
|
|
31
|
+
"evt_01KYBM8SK8NT8HZ2CR5Y8SAE19": {
|
|
32
|
+
"bakedName": "CAPTURE",
|
|
33
|
+
"curName": "CAPTURE",
|
|
34
|
+
"id": "evt_01KYBM8SK8NT8HZ2CR5Y8SAE19",
|
|
35
|
+
"kind": "event",
|
|
36
|
+
"owner": "workspace",
|
|
37
|
+
"parent": "trt_01KYBM8SK85P7TQJB7PYMA4M7F",
|
|
38
|
+
"renames": []
|
|
39
|
+
},
|
|
40
|
+
"orb_01KYBM8SK73XT1SZTRNEF8YTQ5": {
|
|
41
|
+
"bakedName": "MlLabelCaptureOrbital",
|
|
42
|
+
"curName": "MlLabelCaptureOrbital",
|
|
43
|
+
"id": "orb_01KYBM8SK73XT1SZTRNEF8YTQ5",
|
|
44
|
+
"kind": "orbital",
|
|
45
|
+
"owner": "workspace",
|
|
46
|
+
"renames": []
|
|
47
|
+
},
|
|
48
|
+
"pag_01KYBM8SK8KGFQFKA4WST4DAFM": {
|
|
49
|
+
"bakedName": "MlLabelCapturePage",
|
|
50
|
+
"curName": "MlLabelCapturePage",
|
|
51
|
+
"id": "pag_01KYBM8SK8KGFQFKA4WST4DAFM",
|
|
52
|
+
"kind": "page",
|
|
53
|
+
"owner": "workspace",
|
|
54
|
+
"renames": []
|
|
55
|
+
},
|
|
56
|
+
"trt_01KYBM8SK85P7TQJB7PYMA4M7F": {
|
|
57
|
+
"bakedName": "LabelCaptureListener",
|
|
58
|
+
"curName": "LabelCaptureListener",
|
|
59
|
+
"id": "trt_01KYBM8SK85P7TQJB7PYMA4M7F",
|
|
60
|
+
"kind": "trait",
|
|
61
|
+
"owner": "workspace",
|
|
62
|
+
"renames": []
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"schemaVersion": 1
|
|
66
|
+
},
|
|
67
|
+
"name": "std-ml-label-capture",
|
|
68
|
+
"orbitals": [
|
|
69
|
+
{
|
|
70
|
+
"entity": {
|
|
71
|
+
"collection": "ml_labels",
|
|
72
|
+
"fields": [
|
|
73
|
+
{
|
|
74
|
+
"name": "id",
|
|
75
|
+
"primaryKey": true,
|
|
76
|
+
"required": true,
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"description": "The input that was judged.",
|
|
81
|
+
"name": "input",
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"description": "The verdict/output produced by the rung.",
|
|
86
|
+
"name": "verdict",
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"default": "",
|
|
91
|
+
"description": "Which rung produced the verdict.",
|
|
92
|
+
"name": "source",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"description": "The observed ground-truth outcome, once known.",
|
|
97
|
+
"name": "outcome",
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"default": "",
|
|
102
|
+
"description": "Named destination this example is attributed to.",
|
|
103
|
+
"name": "sink",
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"default": 0.0,
|
|
108
|
+
"name": "recordedAt",
|
|
109
|
+
"type": "number"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"id": "ent_01KYBM8SK7FG0R2GXW69YPGA2M",
|
|
113
|
+
"name": "LabeledExample",
|
|
114
|
+
"persistence": "persistent"
|
|
115
|
+
},
|
|
116
|
+
"id": "orb_01KYBM8SK73XT1SZTRNEF8YTQ5",
|
|
117
|
+
"name": "MlLabelCaptureOrbital",
|
|
118
|
+
"pages": [
|
|
119
|
+
{
|
|
120
|
+
"id": "pag_01KYBM8SK8KGFQFKA4WST4DAFM",
|
|
121
|
+
"name": "MlLabelCapturePage",
|
|
122
|
+
"path": "/ml-label-capture",
|
|
123
|
+
"traits": [
|
|
124
|
+
{
|
|
125
|
+
"ref": "LabelCaptureListener",
|
|
126
|
+
"refId": "trt_01KYBM8SK85P7TQJB7PYMA4M7F"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"traits": [
|
|
132
|
+
{
|
|
133
|
+
"category": "lifecycle",
|
|
134
|
+
"config": {
|
|
135
|
+
"sampleRate": {
|
|
136
|
+
"default": 1.0,
|
|
137
|
+
"description": "Fraction of examples to keep (1 = capture all). A prob/flip trial per observation.",
|
|
138
|
+
"label": "Sample rate",
|
|
139
|
+
"tier": "policy",
|
|
140
|
+
"type": "float"
|
|
141
|
+
},
|
|
142
|
+
"sink": {
|
|
143
|
+
"default": "",
|
|
144
|
+
"description": "Named destination this batch of examples is attributed to; interpreted downstream (the physical label store is not yet decided).",
|
|
145
|
+
"label": "Label sink",
|
|
146
|
+
"tier": "infra",
|
|
147
|
+
"type": "string"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"emits": [
|
|
151
|
+
{
|
|
152
|
+
"description": "Fired after a labeled example is persisted.",
|
|
153
|
+
"event": "LABEL_CAPTURED",
|
|
154
|
+
"eventId": "evt_01KYBM8SK86WYGVMBYJKQ9J3AG",
|
|
155
|
+
"payloadSchema": [
|
|
156
|
+
{
|
|
157
|
+
"name": "source",
|
|
158
|
+
"required": true,
|
|
159
|
+
"type": "string"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "sink",
|
|
163
|
+
"required": true,
|
|
164
|
+
"type": "string"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"scope": "external",
|
|
168
|
+
"tier": "primary"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"entityContract": {
|
|
172
|
+
"provides": [
|
|
173
|
+
"input",
|
|
174
|
+
"outcome",
|
|
175
|
+
"recordedAt",
|
|
176
|
+
"sink",
|
|
177
|
+
"source",
|
|
178
|
+
"verdict"
|
|
179
|
+
],
|
|
180
|
+
"requires": []
|
|
181
|
+
},
|
|
182
|
+
"entityRebindable": true,
|
|
183
|
+
"entityRefIds": {
|
|
184
|
+
"LabeledExample": "ent_01KYBM8SK7FG0R2GXW69YPGA2M"
|
|
185
|
+
},
|
|
186
|
+
"id": "trt_01KYBM8SK85P7TQJB7PYMA4M7F",
|
|
187
|
+
"linkedEntity": "LabeledExample",
|
|
188
|
+
"linkedEntityId": "ent_01KYBM8SK7FG0R2GXW69YPGA2M",
|
|
189
|
+
"name": "LabelCaptureListener",
|
|
190
|
+
"scope": "instance",
|
|
191
|
+
"stateMachine": {
|
|
192
|
+
"events": [
|
|
193
|
+
{
|
|
194
|
+
"id": "evt_01KYBM8SK8J7G5ZWPYH8WGW6TM",
|
|
195
|
+
"key": "INIT",
|
|
196
|
+
"name": "Initialize"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "evt_01KYBM8SK8NT8HZ2CR5Y8SAE19",
|
|
200
|
+
"key": "CAPTURE",
|
|
201
|
+
"name": "Capture",
|
|
202
|
+
"payloadSchema": [
|
|
203
|
+
{
|
|
204
|
+
"name": "input",
|
|
205
|
+
"required": true,
|
|
206
|
+
"type": "json"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "verdict",
|
|
210
|
+
"required": true,
|
|
211
|
+
"type": "json"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "source",
|
|
215
|
+
"required": true,
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "outcome",
|
|
220
|
+
"type": "json"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"description": "Fired after a labeled example is persisted.",
|
|
226
|
+
"id": "evt_01KYBM8SK86WYGVMBYJKQ9J3AG",
|
|
227
|
+
"key": "LABEL_CAPTURED",
|
|
228
|
+
"name": "Label Captured",
|
|
229
|
+
"payloadSchema": [
|
|
230
|
+
{
|
|
231
|
+
"name": "source",
|
|
232
|
+
"required": true,
|
|
233
|
+
"type": "string"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "sink",
|
|
237
|
+
"required": true,
|
|
238
|
+
"type": "string"
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"tier": "primary"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"states": [
|
|
245
|
+
{
|
|
246
|
+
"isInitial": true,
|
|
247
|
+
"name": "idle"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"transitions": [
|
|
251
|
+
{
|
|
252
|
+
"effects": [
|
|
253
|
+
[
|
|
254
|
+
"set",
|
|
255
|
+
"@entity.input",
|
|
256
|
+
null
|
|
257
|
+
],
|
|
258
|
+
[
|
|
259
|
+
"set",
|
|
260
|
+
"@entity.verdict",
|
|
261
|
+
null
|
|
262
|
+
],
|
|
263
|
+
[
|
|
264
|
+
"set",
|
|
265
|
+
"@entity.source",
|
|
266
|
+
""
|
|
267
|
+
],
|
|
268
|
+
[
|
|
269
|
+
"set",
|
|
270
|
+
"@entity.outcome",
|
|
271
|
+
null
|
|
272
|
+
],
|
|
273
|
+
[
|
|
274
|
+
"set",
|
|
275
|
+
"@entity.sink",
|
|
276
|
+
""
|
|
277
|
+
],
|
|
278
|
+
[
|
|
279
|
+
"set",
|
|
280
|
+
"@entity.recordedAt",
|
|
281
|
+
0.0
|
|
282
|
+
]
|
|
283
|
+
],
|
|
284
|
+
"event": "INIT",
|
|
285
|
+
"eventId": "evt_01KYBM8SK8J7G5ZWPYH8WGW6TM",
|
|
286
|
+
"from": "idle",
|
|
287
|
+
"to": "idle"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"effects": [
|
|
291
|
+
[
|
|
292
|
+
"set",
|
|
293
|
+
"@entity.input",
|
|
294
|
+
"@payload.input"
|
|
295
|
+
],
|
|
296
|
+
[
|
|
297
|
+
"set",
|
|
298
|
+
"@entity.verdict",
|
|
299
|
+
"@payload.verdict"
|
|
300
|
+
],
|
|
301
|
+
[
|
|
302
|
+
"set",
|
|
303
|
+
"@entity.source",
|
|
304
|
+
"@payload.source"
|
|
305
|
+
],
|
|
306
|
+
[
|
|
307
|
+
"set",
|
|
308
|
+
"@entity.outcome",
|
|
309
|
+
"@payload.outcome"
|
|
310
|
+
],
|
|
311
|
+
[
|
|
312
|
+
"set",
|
|
313
|
+
"@entity.sink",
|
|
314
|
+
"@config.sink"
|
|
315
|
+
],
|
|
316
|
+
[
|
|
317
|
+
"set",
|
|
318
|
+
"@entity.recordedAt",
|
|
319
|
+
"@now"
|
|
320
|
+
],
|
|
321
|
+
[
|
|
322
|
+
"if",
|
|
323
|
+
[
|
|
324
|
+
"prob/flip",
|
|
325
|
+
"@config.sampleRate"
|
|
326
|
+
],
|
|
327
|
+
[
|
|
328
|
+
"do",
|
|
329
|
+
[
|
|
330
|
+
"persist",
|
|
331
|
+
"create",
|
|
332
|
+
"LabeledExample",
|
|
333
|
+
{
|
|
334
|
+
"input": "@entity.input",
|
|
335
|
+
"outcome": "@entity.outcome",
|
|
336
|
+
"recordedAt": "@entity.recordedAt",
|
|
337
|
+
"sink": "@entity.sink",
|
|
338
|
+
"source": "@entity.source",
|
|
339
|
+
"verdict": "@entity.verdict"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
[
|
|
343
|
+
"emit",
|
|
344
|
+
"LABEL_CAPTURED",
|
|
345
|
+
{
|
|
346
|
+
"sink": "@entity.sink",
|
|
347
|
+
"source": "@entity.source"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
],
|
|
351
|
+
null
|
|
352
|
+
]
|
|
353
|
+
],
|
|
354
|
+
"event": "CAPTURE",
|
|
355
|
+
"eventId": "evt_01KYBM8SK8NT8HZ2CR5Y8SAE19",
|
|
356
|
+
"from": "idle",
|
|
357
|
+
"to": "idle"
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"schemaVersion": 1,
|
|
366
|
+
"version": "1.0.0"
|
|
367
|
+
}
|