@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,505 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Rung R0 of the intelligence ladder — normalizes and compares a candidate value against a key value; abstains on no match.",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01KYBMJJSHFQ07RC3QD9PPE4FA": {
|
|
6
|
+
"bakedName": "ExactCheck",
|
|
7
|
+
"curName": "ExactCheck",
|
|
8
|
+
"id": "ent_01KYBMJJSHFQ07RC3QD9PPE4FA",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01KYBMJJSHH58ZTAD1840K8MF3": {
|
|
14
|
+
"bakedName": "EXACT_MATCHED",
|
|
15
|
+
"curName": "EXACT_MATCHED",
|
|
16
|
+
"id": "evt_01KYBMJJSHH58ZTAD1840K8MF3",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01KYBMJJSH06PN6D6P8SDH0KGV",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"evt_01KYBMJJSHKW715FJCC936QY73": {
|
|
23
|
+
"bakedName": "INIT",
|
|
24
|
+
"curName": "INIT",
|
|
25
|
+
"id": "evt_01KYBMJJSHKW715FJCC936QY73",
|
|
26
|
+
"kind": "event",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"parent": "trt_01KYBMJJSH06PN6D6P8SDH0KGV",
|
|
29
|
+
"renames": []
|
|
30
|
+
},
|
|
31
|
+
"evt_01KYBMJJSHSQAHVFCTNVPA6SSM": {
|
|
32
|
+
"bakedName": "CHECK",
|
|
33
|
+
"curName": "CHECK",
|
|
34
|
+
"id": "evt_01KYBMJJSHSQAHVFCTNVPA6SSM",
|
|
35
|
+
"kind": "event",
|
|
36
|
+
"owner": "workspace",
|
|
37
|
+
"parent": "trt_01KYBMJJSH06PN6D6P8SDH0KGV",
|
|
38
|
+
"renames": []
|
|
39
|
+
},
|
|
40
|
+
"evt_01KYBMJJSHV4Y0D297RBXF38B0": {
|
|
41
|
+
"bakedName": "EXACT_UNMATCHED",
|
|
42
|
+
"curName": "EXACT_UNMATCHED",
|
|
43
|
+
"id": "evt_01KYBMJJSHV4Y0D297RBXF38B0",
|
|
44
|
+
"kind": "event",
|
|
45
|
+
"owner": "workspace",
|
|
46
|
+
"parent": "trt_01KYBMJJSH06PN6D6P8SDH0KGV",
|
|
47
|
+
"renames": []
|
|
48
|
+
},
|
|
49
|
+
"evt_01KYC09GZH6X5DG0P939RP885A": {
|
|
50
|
+
"bakedName": "RESET",
|
|
51
|
+
"curName": "RESET",
|
|
52
|
+
"id": "evt_01KYC09GZH6X5DG0P939RP885A",
|
|
53
|
+
"kind": "event",
|
|
54
|
+
"owner": "workspace",
|
|
55
|
+
"parent": "trt_01KYBMJJSH06PN6D6P8SDH0KGV",
|
|
56
|
+
"renames": []
|
|
57
|
+
},
|
|
58
|
+
"orb_01KYBMJJSHMGQM7KAPFDVTD0XD": {
|
|
59
|
+
"bakedName": "MlExactCheckOrbital",
|
|
60
|
+
"curName": "MlExactCheckOrbital",
|
|
61
|
+
"id": "orb_01KYBMJJSHMGQM7KAPFDVTD0XD",
|
|
62
|
+
"kind": "orbital",
|
|
63
|
+
"owner": "workspace",
|
|
64
|
+
"renames": []
|
|
65
|
+
},
|
|
66
|
+
"pag_01KYBMJJSHHG85R1R2DXSPBK1B": {
|
|
67
|
+
"bakedName": "MlExactCheckPage",
|
|
68
|
+
"curName": "MlExactCheckPage",
|
|
69
|
+
"id": "pag_01KYBMJJSHHG85R1R2DXSPBK1B",
|
|
70
|
+
"kind": "page",
|
|
71
|
+
"owner": "workspace",
|
|
72
|
+
"renames": []
|
|
73
|
+
},
|
|
74
|
+
"trt_01KYBMJJSH06PN6D6P8SDH0KGV": {
|
|
75
|
+
"bakedName": "ExactCheckRun",
|
|
76
|
+
"curName": "ExactCheckRun",
|
|
77
|
+
"id": "trt_01KYBMJJSH06PN6D6P8SDH0KGV",
|
|
78
|
+
"kind": "trait",
|
|
79
|
+
"owner": "workspace",
|
|
80
|
+
"renames": []
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"schemaVersion": 1
|
|
84
|
+
},
|
|
85
|
+
"name": "std-ml-exact-check",
|
|
86
|
+
"orbitals": [
|
|
87
|
+
{
|
|
88
|
+
"entity": {
|
|
89
|
+
"fields": [
|
|
90
|
+
{
|
|
91
|
+
"default": false,
|
|
92
|
+
"name": "matched",
|
|
93
|
+
"type": "boolean"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"default": "idle",
|
|
97
|
+
"name": "status",
|
|
98
|
+
"type": "string",
|
|
99
|
+
"values": [
|
|
100
|
+
"idle",
|
|
101
|
+
"checked"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"id": "ent_01KYBMJJSHFQ07RC3QD9PPE4FA",
|
|
106
|
+
"name": "ExactCheck",
|
|
107
|
+
"persistence": "runtime"
|
|
108
|
+
},
|
|
109
|
+
"id": "orb_01KYBMJJSHMGQM7KAPFDVTD0XD",
|
|
110
|
+
"name": "MlExactCheckOrbital",
|
|
111
|
+
"pages": [
|
|
112
|
+
{
|
|
113
|
+
"id": "pag_01KYBMJJSHHG85R1R2DXSPBK1B",
|
|
114
|
+
"name": "MlExactCheckPage",
|
|
115
|
+
"path": "/ml-exact-check",
|
|
116
|
+
"traits": [
|
|
117
|
+
{
|
|
118
|
+
"ref": "ExactCheckRun",
|
|
119
|
+
"refId": "trt_01KYBMJJSH06PN6D6P8SDH0KGV"
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"traits": [
|
|
125
|
+
{
|
|
126
|
+
"category": "lifecycle",
|
|
127
|
+
"config": {
|
|
128
|
+
"caseSensitive": {
|
|
129
|
+
"default": false,
|
|
130
|
+
"description": "Compare candidate and key with case sensitivity; off lowercases both sides before comparing",
|
|
131
|
+
"label": "Case sensitive",
|
|
132
|
+
"tier": "policy",
|
|
133
|
+
"type": "boolean"
|
|
134
|
+
},
|
|
135
|
+
"numericTolerance": {
|
|
136
|
+
"default": 0.0,
|
|
137
|
+
"description": "Absolute tolerance applied when both candidate and key are numbers; 0 requires an exact numeric match",
|
|
138
|
+
"label": "Numeric tolerance",
|
|
139
|
+
"tier": "policy",
|
|
140
|
+
"type": "float"
|
|
141
|
+
},
|
|
142
|
+
"trimWhitespace": {
|
|
143
|
+
"default": true,
|
|
144
|
+
"description": "Strip leading and trailing whitespace from both sides before comparing",
|
|
145
|
+
"label": "Trim whitespace",
|
|
146
|
+
"tier": "policy",
|
|
147
|
+
"type": "boolean"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"emits": [
|
|
151
|
+
{
|
|
152
|
+
"description": "Fired when the candidate exactly equals the key under the configured normalization",
|
|
153
|
+
"event": "EXACT_MATCHED",
|
|
154
|
+
"eventId": "evt_01KYBMJJSHH58ZTAD1840K8MF3",
|
|
155
|
+
"payloadSchema": [
|
|
156
|
+
{
|
|
157
|
+
"name": "candidate",
|
|
158
|
+
"required": true,
|
|
159
|
+
"type": "any"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "key",
|
|
163
|
+
"required": true,
|
|
164
|
+
"type": "any"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"scope": "external",
|
|
168
|
+
"tier": "primary"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"description": "Abstain — candidate does not equal the key; the next rung should take over. request echoes the originating request untouched so the next rung can project its own inputs out of it",
|
|
172
|
+
"event": "EXACT_UNMATCHED",
|
|
173
|
+
"eventId": "evt_01KYBMJJSHV4Y0D297RBXF38B0",
|
|
174
|
+
"payloadSchema": [
|
|
175
|
+
{
|
|
176
|
+
"name": "candidate",
|
|
177
|
+
"required": true,
|
|
178
|
+
"type": "any"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "key",
|
|
182
|
+
"required": true,
|
|
183
|
+
"type": "any"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "request",
|
|
187
|
+
"type": "object"
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"scope": "external",
|
|
191
|
+
"tier": "primary"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"entityRefIds": {
|
|
195
|
+
"ExactCheck": "ent_01KYBMJJSHFQ07RC3QD9PPE4FA"
|
|
196
|
+
},
|
|
197
|
+
"id": "trt_01KYBMJJSH06PN6D6P8SDH0KGV",
|
|
198
|
+
"linkedEntity": "ExactCheck",
|
|
199
|
+
"linkedEntityId": "ent_01KYBMJJSHFQ07RC3QD9PPE4FA",
|
|
200
|
+
"name": "ExactCheckRun",
|
|
201
|
+
"scope": "instance",
|
|
202
|
+
"stateMachine": {
|
|
203
|
+
"events": [
|
|
204
|
+
{
|
|
205
|
+
"id": "evt_01KYBMJJSHKW715FJCC936QY73",
|
|
206
|
+
"key": "INIT",
|
|
207
|
+
"name": "Initialize"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "evt_01KYBMJJSHSQAHVFCTNVPA6SSM",
|
|
211
|
+
"key": "CHECK",
|
|
212
|
+
"name": "Check",
|
|
213
|
+
"payloadSchema": [
|
|
214
|
+
{
|
|
215
|
+
"name": "candidate",
|
|
216
|
+
"required": true,
|
|
217
|
+
"type": "any"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "key",
|
|
221
|
+
"required": true,
|
|
222
|
+
"type": "any"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "request",
|
|
226
|
+
"type": "object"
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "evt_01KYC09GZH6X5DG0P939RP885A",
|
|
232
|
+
"key": "RESET",
|
|
233
|
+
"name": "Reset"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"description": "Fired when the candidate exactly equals the key under the configured normalization",
|
|
237
|
+
"id": "evt_01KYBMJJSHH58ZTAD1840K8MF3",
|
|
238
|
+
"key": "EXACT_MATCHED",
|
|
239
|
+
"name": "Exact Matched",
|
|
240
|
+
"payloadSchema": [
|
|
241
|
+
{
|
|
242
|
+
"name": "candidate",
|
|
243
|
+
"required": true,
|
|
244
|
+
"type": "any"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "key",
|
|
248
|
+
"required": true,
|
|
249
|
+
"type": "any"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"tier": "primary"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"description": "Abstain — candidate does not equal the key; the next rung should take over. request echoes the originating request untouched so the next rung can project its own inputs out of it",
|
|
256
|
+
"id": "evt_01KYBMJJSHV4Y0D297RBXF38B0",
|
|
257
|
+
"key": "EXACT_UNMATCHED",
|
|
258
|
+
"name": "Exact Unmatched",
|
|
259
|
+
"payloadSchema": [
|
|
260
|
+
{
|
|
261
|
+
"name": "candidate",
|
|
262
|
+
"required": true,
|
|
263
|
+
"type": "any"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "key",
|
|
267
|
+
"required": true,
|
|
268
|
+
"type": "any"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "request",
|
|
272
|
+
"type": "object"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"tier": "primary"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"states": [
|
|
279
|
+
{
|
|
280
|
+
"isInitial": true,
|
|
281
|
+
"name": "idle"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "checked"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"transitions": [
|
|
288
|
+
{
|
|
289
|
+
"effects": [
|
|
290
|
+
[
|
|
291
|
+
"set",
|
|
292
|
+
"@entity.matched",
|
|
293
|
+
false
|
|
294
|
+
],
|
|
295
|
+
[
|
|
296
|
+
"set",
|
|
297
|
+
"@entity.status",
|
|
298
|
+
"idle"
|
|
299
|
+
]
|
|
300
|
+
],
|
|
301
|
+
"event": "INIT",
|
|
302
|
+
"eventId": "evt_01KYBMJJSHKW715FJCC936QY73",
|
|
303
|
+
"from": "idle",
|
|
304
|
+
"to": "idle"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"effects": [
|
|
308
|
+
[
|
|
309
|
+
"let",
|
|
310
|
+
[
|
|
311
|
+
[
|
|
312
|
+
"bothNumeric",
|
|
313
|
+
[
|
|
314
|
+
"and",
|
|
315
|
+
[
|
|
316
|
+
"validate/number",
|
|
317
|
+
"@payload.candidate"
|
|
318
|
+
],
|
|
319
|
+
[
|
|
320
|
+
"validate/number",
|
|
321
|
+
"@payload.key"
|
|
322
|
+
]
|
|
323
|
+
]
|
|
324
|
+
],
|
|
325
|
+
[
|
|
326
|
+
"candStr",
|
|
327
|
+
[
|
|
328
|
+
"str/concat",
|
|
329
|
+
"@payload.candidate"
|
|
330
|
+
]
|
|
331
|
+
],
|
|
332
|
+
[
|
|
333
|
+
"keyStr",
|
|
334
|
+
[
|
|
335
|
+
"str/concat",
|
|
336
|
+
"@payload.key"
|
|
337
|
+
]
|
|
338
|
+
],
|
|
339
|
+
[
|
|
340
|
+
"candTrim",
|
|
341
|
+
[
|
|
342
|
+
"if",
|
|
343
|
+
"@config.trimWhitespace",
|
|
344
|
+
[
|
|
345
|
+
"str/trim",
|
|
346
|
+
"@candStr"
|
|
347
|
+
],
|
|
348
|
+
"@candStr"
|
|
349
|
+
]
|
|
350
|
+
],
|
|
351
|
+
[
|
|
352
|
+
"keyTrim",
|
|
353
|
+
[
|
|
354
|
+
"if",
|
|
355
|
+
"@config.trimWhitespace",
|
|
356
|
+
[
|
|
357
|
+
"str/trim",
|
|
358
|
+
"@keyStr"
|
|
359
|
+
],
|
|
360
|
+
"@keyStr"
|
|
361
|
+
]
|
|
362
|
+
],
|
|
363
|
+
[
|
|
364
|
+
"candNorm",
|
|
365
|
+
[
|
|
366
|
+
"if",
|
|
367
|
+
"@config.caseSensitive",
|
|
368
|
+
"@candTrim",
|
|
369
|
+
[
|
|
370
|
+
"str/lower",
|
|
371
|
+
"@candTrim"
|
|
372
|
+
]
|
|
373
|
+
]
|
|
374
|
+
],
|
|
375
|
+
[
|
|
376
|
+
"keyNorm",
|
|
377
|
+
[
|
|
378
|
+
"if",
|
|
379
|
+
"@config.caseSensitive",
|
|
380
|
+
"@keyTrim",
|
|
381
|
+
[
|
|
382
|
+
"str/lower",
|
|
383
|
+
"@keyTrim"
|
|
384
|
+
]
|
|
385
|
+
]
|
|
386
|
+
],
|
|
387
|
+
[
|
|
388
|
+
"isMatch",
|
|
389
|
+
[
|
|
390
|
+
"if",
|
|
391
|
+
"@bothNumeric",
|
|
392
|
+
[
|
|
393
|
+
"<=",
|
|
394
|
+
[
|
|
395
|
+
"math/abs",
|
|
396
|
+
[
|
|
397
|
+
"-",
|
|
398
|
+
"@payload.candidate",
|
|
399
|
+
"@payload.key"
|
|
400
|
+
]
|
|
401
|
+
],
|
|
402
|
+
"@config.numericTolerance"
|
|
403
|
+
],
|
|
404
|
+
[
|
|
405
|
+
"==",
|
|
406
|
+
"@candNorm",
|
|
407
|
+
"@keyNorm"
|
|
408
|
+
]
|
|
409
|
+
]
|
|
410
|
+
]
|
|
411
|
+
],
|
|
412
|
+
[
|
|
413
|
+
"if",
|
|
414
|
+
"@isMatch",
|
|
415
|
+
[
|
|
416
|
+
"do",
|
|
417
|
+
[
|
|
418
|
+
"set",
|
|
419
|
+
"@entity.matched",
|
|
420
|
+
true
|
|
421
|
+
],
|
|
422
|
+
[
|
|
423
|
+
"set",
|
|
424
|
+
"@entity.status",
|
|
425
|
+
"checked"
|
|
426
|
+
],
|
|
427
|
+
[
|
|
428
|
+
"emit",
|
|
429
|
+
"EXACT_MATCHED",
|
|
430
|
+
{
|
|
431
|
+
"candidate": "@payload.candidate",
|
|
432
|
+
"key": "@payload.key"
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
],
|
|
436
|
+
[
|
|
437
|
+
"do",
|
|
438
|
+
[
|
|
439
|
+
"set",
|
|
440
|
+
"@entity.matched",
|
|
441
|
+
false
|
|
442
|
+
],
|
|
443
|
+
[
|
|
444
|
+
"set",
|
|
445
|
+
"@entity.status",
|
|
446
|
+
"checked"
|
|
447
|
+
],
|
|
448
|
+
[
|
|
449
|
+
"emit",
|
|
450
|
+
"EXACT_UNMATCHED",
|
|
451
|
+
{
|
|
452
|
+
"candidate": "@payload.candidate",
|
|
453
|
+
"key": "@payload.key",
|
|
454
|
+
"request": "@payload.request"
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
]
|
|
458
|
+
]
|
|
459
|
+
]
|
|
460
|
+
],
|
|
461
|
+
"event": "CHECK",
|
|
462
|
+
"eventId": "evt_01KYBMJJSHSQAHVFCTNVPA6SSM",
|
|
463
|
+
"from": "idle",
|
|
464
|
+
"to": "checked"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"effects": [
|
|
468
|
+
[
|
|
469
|
+
"set",
|
|
470
|
+
"@entity.status",
|
|
471
|
+
"checked"
|
|
472
|
+
]
|
|
473
|
+
],
|
|
474
|
+
"event": "INIT",
|
|
475
|
+
"eventId": "evt_01KYBMJJSHKW715FJCC936QY73",
|
|
476
|
+
"from": "checked",
|
|
477
|
+
"to": "checked"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"effects": [
|
|
481
|
+
[
|
|
482
|
+
"set",
|
|
483
|
+
"@entity.matched",
|
|
484
|
+
false
|
|
485
|
+
],
|
|
486
|
+
[
|
|
487
|
+
"set",
|
|
488
|
+
"@entity.status",
|
|
489
|
+
"idle"
|
|
490
|
+
]
|
|
491
|
+
],
|
|
492
|
+
"event": "RESET",
|
|
493
|
+
"eventId": "evt_01KYC09GZH6X5DG0P939RP885A",
|
|
494
|
+
"from": "checked",
|
|
495
|
+
"to": "idle"
|
|
496
|
+
}
|
|
497
|
+
]
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"schemaVersion": 1,
|
|
504
|
+
"version": "1.0.0"
|
|
505
|
+
}
|