@things-factory/figure-service 10.1.278 → 10.1.279

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.
Files changed (149) hide show
  1. package/package.json +23 -8
  2. package/coverage/clover.xml +0 -6
  3. package/coverage/coverage-final.json +0 -1
  4. package/coverage/lcov-report/base.css +0 -224
  5. package/coverage/lcov-report/block-navigation.js +0 -87
  6. package/coverage/lcov-report/favicon.png +0 -0
  7. package/coverage/lcov-report/index.html +0 -101
  8. package/coverage/lcov-report/prettify.css +0 -1
  9. package/coverage/lcov-report/prettify.js +0 -2
  10. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  11. package/coverage/lcov-report/sorter.js +0 -210
  12. package/coverage/lcov.info +0 -0
  13. package/dist-server/index.js.map +0 -1
  14. package/dist-server/migrations/index.js.map +0 -1
  15. package/dist-server/routers/figure-mesh-router.js.map +0 -1
  16. package/dist-server/routers/figure-package-router.js.map +0 -1
  17. package/dist-server/routers/figure-thumbnail-router.js.map +0 -1
  18. package/dist-server/routes.js.map +0 -1
  19. package/dist-server/service/figure/event-subscriber.js.map +0 -1
  20. package/dist-server/service/figure/figure-ai-scenarios-run.js.map +0 -1
  21. package/dist-server/service/figure/figure-ai-scenarios.js.map +0 -1
  22. package/dist-server/service/figure/figure-categories.js.map +0 -1
  23. package/dist-server/service/figure/figure-context.js.map +0 -1
  24. package/dist-server/service/figure/figure-format.js.map +0 -1
  25. package/dist-server/service/figure/figure-glb.js.map +0 -1
  26. package/dist-server/service/figure/figure-history.js.map +0 -1
  27. package/dist-server/service/figure/figure-llm-provider.js.map +0 -1
  28. package/dist-server/service/figure/figure-mesh-store.js.map +0 -1
  29. package/dist-server/service/figure/figure-mutation.js.map +0 -1
  30. package/dist-server/service/figure/figure-namespace-entity.js.map +0 -1
  31. package/dist-server/service/figure/figure-namespace-resolver.js.map +0 -1
  32. package/dist-server/service/figure/figure-namespace.js.map +0 -1
  33. package/dist-server/service/figure/figure-package-export.js.map +0 -1
  34. package/dist-server/service/figure/figure-proposal-record.js.map +0 -1
  35. package/dist-server/service/figure/figure-proposal.js.map +0 -1
  36. package/dist-server/service/figure/figure-propose-steps.js.map +0 -1
  37. package/dist-server/service/figure/figure-propose-type.js.map +0 -1
  38. package/dist-server/service/figure/figure-public.js.map +0 -1
  39. package/dist-server/service/figure/figure-query.js.map +0 -1
  40. package/dist-server/service/figure/figure-rename.js.map +0 -1
  41. package/dist-server/service/figure/figure-replaced-draft.js.map +0 -1
  42. package/dist-server/service/figure/figure-revert.js.map +0 -1
  43. package/dist-server/service/figure/figure-subject.js.map +0 -1
  44. package/dist-server/service/figure/figure-thumbnail-reader.js.map +0 -1
  45. package/dist-server/service/figure/figure-thumbnail-store.js.map +0 -1
  46. package/dist-server/service/figure/figure-thumbnail-upgrade.js.map +0 -1
  47. package/dist-server/service/figure/figure-tools.js.map +0 -1
  48. package/dist-server/service/figure/figure-type.js.map +0 -1
  49. package/dist-server/service/figure/figure-write.js.map +0 -1
  50. package/dist-server/service/figure/figure.js.map +0 -1
  51. package/dist-server/service/figure/index.js.map +0 -1
  52. package/dist-server/service/figure-recipe/figure-recipe-resolver.js.map +0 -1
  53. package/dist-server/service/figure-recipe/figure-recipe-templates.js.map +0 -1
  54. package/dist-server/service/figure-recipe/figure-recipe-type.js.map +0 -1
  55. package/dist-server/service/figure-recipe/index.js.map +0 -1
  56. package/dist-server/service/index.js.map +0 -1
  57. package/dist-server/tsconfig.tsbuildinfo +0 -1
  58. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +0 -15
  59. package/logs/application-2026-09-14-23.log +0 -0
  60. package/logs/figure-ai-scenarios/2026-11-03T09-31-35-151Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +0 -1167
  61. package/logs/figure-ai-scenarios/2026-11-03T09-39-05-265Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +0 -904
  62. package/logs/figure-ai-scenarios/2026-11-03T09-41-49-107Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +0 -1629
  63. package/logs/figure-ai-scenarios/2026-11-03T09-58-26-681Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +0 -4412
  64. package/logs/figure-ai-scenarios/2026-11-03T10-16-46-212Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +0 -4513
  65. package/logs/figure-ai-scenarios/2026-11-03T10-21-07-872Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +0 -4202
  66. package/logs/figure-ai-scenarios/2026-11-03T10-25-21-721Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +0 -1665
  67. package/logs/figure-ai-scenarios/2026-11-09T01-28-51-664Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +0 -4484
  68. package/scripts/build-templates.mts +0 -64
  69. package/scripts/figure-ai-scenarios-agent.cjs +0 -98
  70. package/scripts/rename-figures-to-full-names.mjs +0 -211
  71. package/scripts/templates.test.mts +0 -112
  72. package/server/index.ts +0 -46
  73. package/server/migrations/index.ts +0 -9
  74. package/server/routers/figure-mesh-router.ts +0 -63
  75. package/server/routers/figure-package-router.ts +0 -53
  76. package/server/routers/figure-thumbnail-router.ts +0 -159
  77. package/server/routes.ts +0 -30
  78. package/server/service/figure/catalog-db.test.ts +0 -162
  79. package/server/service/figure/event-subscriber.ts +0 -66
  80. package/server/service/figure/figure-ai-scenarios-run.ts +0 -127
  81. package/server/service/figure/figure-ai-scenarios.live.test.ts +0 -59
  82. package/server/service/figure/figure-ai-scenarios.test.ts +0 -109
  83. package/server/service/figure/figure-ai-scenarios.ts +0 -798
  84. package/server/service/figure/figure-blueprint-query.test.ts +0 -536
  85. package/server/service/figure/figure-catalog-seen-db.test.ts +0 -153
  86. package/server/service/figure/figure-categories.ts +0 -50
  87. package/server/service/figure/figure-category-db.test.ts +0 -127
  88. package/server/service/figure/figure-context.test.ts +0 -402
  89. package/server/service/figure/figure-context.ts +0 -510
  90. package/server/service/figure/figure-deprecation-db.test.ts +0 -218
  91. package/server/service/figure/figure-format.test.ts +0 -423
  92. package/server/service/figure/figure-format.ts +0 -783
  93. package/server/service/figure/figure-glb.test.ts +0 -112
  94. package/server/service/figure/figure-glb.ts +0 -251
  95. package/server/service/figure/figure-history.ts +0 -192
  96. package/server/service/figure/figure-inspect-db.test.ts +0 -131
  97. package/server/service/figure/figure-llm-provider.ts +0 -20
  98. package/server/service/figure/figure-llm-smoke.test.ts +0 -95
  99. package/server/service/figure/figure-mesh-db.test.ts +0 -246
  100. package/server/service/figure/figure-mesh-store.ts +0 -91
  101. package/server/service/figure/figure-mutation.ts +0 -656
  102. package/server/service/figure/figure-namespace-db.test.ts +0 -315
  103. package/server/service/figure/figure-namespace-entity.ts +0 -67
  104. package/server/service/figure/figure-namespace-resolver.ts +0 -54
  105. package/server/service/figure/figure-namespace.ts +0 -156
  106. package/server/service/figure/figure-package-export.ts +0 -136
  107. package/server/service/figure/figure-proposal-db.test.ts +0 -117
  108. package/server/service/figure/figure-proposal-record.ts +0 -38
  109. package/server/service/figure/figure-proposal.ts +0 -41
  110. package/server/service/figure/figure-propose-clips.test.ts +0 -69
  111. package/server/service/figure/figure-propose-steps.test.ts +0 -324
  112. package/server/service/figure/figure-propose-steps.ts +0 -354
  113. package/server/service/figure/figure-propose-type.ts +0 -46
  114. package/server/service/figure/figure-public-db.test.ts +0 -288
  115. package/server/service/figure/figure-public.ts +0 -60
  116. package/server/service/figure/figure-query.ts +0 -511
  117. package/server/service/figure/figure-release-check.test.ts +0 -63
  118. package/server/service/figure/figure-release-record-db.test.ts +0 -153
  119. package/server/service/figure/figure-release-size-db.test.ts +0 -156
  120. package/server/service/figure/figure-rename-db.test.ts +0 -237
  121. package/server/service/figure/figure-rename.test.ts +0 -117
  122. package/server/service/figure/figure-rename.ts +0 -143
  123. package/server/service/figure/figure-replaced-draft.ts +0 -99
  124. package/server/service/figure/figure-revert-db.test.ts +0 -163
  125. package/server/service/figure/figure-revert-race.pg.test.ts +0 -168
  126. package/server/service/figure/figure-revert.ts +0 -186
  127. package/server/service/figure/figure-subject.test.ts +0 -41
  128. package/server/service/figure/figure-subject.ts +0 -21
  129. package/server/service/figure/figure-thumbnail-db.test.ts +0 -279
  130. package/server/service/figure/figure-thumbnail-reader.ts +0 -20
  131. package/server/service/figure/figure-thumbnail-store.ts +0 -111
  132. package/server/service/figure/figure-thumbnail-upgrade.pg.test.ts +0 -93
  133. package/server/service/figure/figure-thumbnail-upgrade.ts +0 -70
  134. package/server/service/figure/figure-tool-doors.test.ts +0 -127
  135. package/server/service/figure/figure-tools-door-db.test.ts +0 -227
  136. package/server/service/figure/figure-tools.test.ts +0 -817
  137. package/server/service/figure/figure-tools.ts +0 -611
  138. package/server/service/figure/figure-type.ts +0 -241
  139. package/server/service/figure/figure-write.test.ts +0 -15
  140. package/server/service/figure/figure-write.ts +0 -131
  141. package/server/service/figure/figure.ts +0 -241
  142. package/server/service/figure/index.ts +0 -13
  143. package/server/service/figure-recipe/figure-recipe-resolver.ts +0 -38
  144. package/server/service/figure-recipe/figure-recipe-templates.test.ts +0 -47
  145. package/server/service/figure-recipe/figure-recipe-templates.ts +0 -70
  146. package/server/service/figure-recipe/figure-recipe-type.ts +0 -31
  147. package/server/service/figure-recipe/index.ts +0 -3
  148. package/server/service/index.ts +0 -34
  149. package/tsconfig.json +0 -14
@@ -1,1629 +0,0 @@
1
- {
2
- "at": "2026-11-03T09:41:49.107Z",
3
- "by": "agent:hatiolab/ChatGPT",
4
- "model": "openai-gpt-5.4-mini",
5
- "rounds": 1,
6
- "passed": 14,
7
- "total": 22,
8
- "comparedWith": "2026-11-03T09-39-05-265Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json",
9
- "worse": [
10
- "cabinet-door",
11
- "open-tote",
12
- "status-lamp"
13
- ],
14
- "better": [
15
- "roll-press",
16
- "elbow-flange",
17
- "tapering-bent-bar",
18
- "table-follows-width"
19
- ],
20
- "runs": [
21
- {
22
- "id": "roll-press",
23
- "title": "새 피규어: 프레임 안 두 롤러, 서로 다른 색",
24
- "round": 1,
25
- "passed": true,
26
- "misses": [],
27
- "attempts": 2,
28
- "steps": 11,
29
- "seconds": 4.355,
30
- "answer": [
31
- {
32
- "kind": "rename",
33
- "name": "Roll press"
34
- },
35
- {
36
- "kind": "set-detail-level",
37
- "level": "M"
38
- },
39
- {
40
- "kind": "add-part",
41
- "part": {
42
- "id": "frame",
43
- "kind": "box",
44
- "dimensions": {
45
- "width": 800,
46
- "height": 900,
47
- "depth": 500
48
- }
49
- }
50
- },
51
- {
52
- "kind": "attach",
53
- "part": "frame",
54
- "to": {
55
- "plane": "mounting-plane"
56
- }
57
- },
58
- {
59
- "kind": "add-part",
60
- "part": {
61
- "id": "roller",
62
- "kind": "cylinder",
63
- "dimensions": {
64
- "radius": 70,
65
- "length": 420
66
- }
67
- }
68
- },
69
- {
70
- "kind": "set-material",
71
- "target": "roller",
72
- "material": {
73
- "token": "roller.one"
74
- },
75
- "palette": {
76
- "roller.one": "#c63d3d"
77
- }
78
- },
79
- {
80
- "kind": "attach",
81
- "part": "roller",
82
- "to": {
83
- "part": "frame",
84
- "face": "top"
85
- },
86
- "gap": 220,
87
- "align": {
88
- "x": "centre",
89
- "z": "centre"
90
- }
91
- },
92
- {
93
- "kind": "add-part",
94
- "part": {
95
- "id": "roller-2",
96
- "kind": "cylinder",
97
- "dimensions": {
98
- "radius": 70,
99
- "length": 420
100
- }
101
- }
102
- },
103
- {
104
- "kind": "set-material",
105
- "target": "roller-2",
106
- "material": {
107
- "token": "roller.two"
108
- },
109
- "palette": {
110
- "roller.two": "#3d63c6"
111
- }
112
- },
113
- {
114
- "kind": "attach",
115
- "part": "roller-2",
116
- "to": {
117
- "part": "frame",
118
- "face": "top"
119
- },
120
- "gap": 220,
121
- "align": {
122
- "x": "centre",
123
- "z": "centre",
124
- "y": "max"
125
- }
126
- },
127
- {
128
- "kind": "set-material",
129
- "target": "frame",
130
- "material": {
131
- "token": "frame.steel"
132
- },
133
- "palette": {
134
- "frame.steel": "#7f8a94"
135
- }
136
- }
137
- ]
138
- },
139
- {
140
- "id": "lift-table",
141
- "title": "새 피규어: 받침 · 기둥 · 상판을 쌓기",
142
- "round": 1,
143
- "passed": true,
144
- "misses": [],
145
- "attempts": 1,
146
- "steps": 7,
147
- "seconds": 1.521,
148
- "answer": [
149
- {
150
- "kind": "rename",
151
- "name": "Lift table"
152
- },
153
- {
154
- "kind": "add-part",
155
- "part": {
156
- "id": "base",
157
- "kind": "box",
158
- "dimensions": {
159
- "width": 1200,
160
- "height": 60,
161
- "depth": 800
162
- }
163
- }
164
- },
165
- {
166
- "kind": "attach",
167
- "part": "base",
168
- "to": {
169
- "plane": "mounting-plane"
170
- }
171
- },
172
- {
173
- "kind": "add-part",
174
- "part": {
175
- "id": "column",
176
- "kind": "cylinder",
177
- "dimensions": {
178
- "radius": 120,
179
- "length": 700
180
- }
181
- }
182
- },
183
- {
184
- "kind": "attach",
185
- "part": "column",
186
- "to": {
187
- "part": "base",
188
- "face": "top"
189
- },
190
- "align": {
191
- "x": "centre",
192
- "z": "centre"
193
- }
194
- },
195
- {
196
- "kind": "add-part",
197
- "part": {
198
- "id": "top",
199
- "kind": "box",
200
- "dimensions": {
201
- "width": 1200,
202
- "height": 40,
203
- "depth": 800
204
- }
205
- }
206
- },
207
- {
208
- "kind": "attach",
209
- "part": "top",
210
- "to": {
211
- "part": "column",
212
- "face": "top"
213
- },
214
- "align": {
215
- "x": "centre",
216
- "z": "centre"
217
- }
218
- }
219
- ]
220
- },
221
- {
222
- "id": "elbow-flange",
223
- "title": "새 피규어: 엘보 배관과 끝의 플랜지 (ADR-0100 §16.2)",
224
- "round": 1,
225
- "passed": true,
226
- "misses": [],
227
- "attempts": 2,
228
- "steps": 6,
229
- "seconds": 3.143,
230
- "answer": [
231
- {
232
- "kind": "rename",
233
- "name": "Elbow"
234
- },
235
- {
236
- "kind": "set-detail-level",
237
- "level": "M"
238
- },
239
- {
240
- "kind": "add-part",
241
- "part": {
242
- "id": "pipe",
243
- "kind": "pipe",
244
- "dimensions": {
245
- "radius": 40,
246
- "wall": 5
247
- },
248
- "path": [
249
- {
250
- "line": 100
251
- },
252
- {
253
- "bend": {
254
- "radius": 50,
255
- "angle": 90,
256
- "turn": "+Z"
257
- }
258
- },
259
- {
260
- "line": 200
261
- }
262
- ]
263
- }
264
- },
265
- {
266
- "kind": "attach",
267
- "part": "pipe",
268
- "to": {
269
- "plane": "mounting-plane"
270
- }
271
- },
272
- {
273
- "kind": "add-part",
274
- "part": {
275
- "id": "flange",
276
- "kind": "cylinder",
277
- "dimensions": {
278
- "radius": 50,
279
- "length": 10
280
- }
281
- }
282
- },
283
- {
284
- "kind": "attach",
285
- "part": "flange",
286
- "to": {
287
- "part": "pipe",
288
- "face": "front"
289
- },
290
- "replace": true
291
- }
292
- ]
293
- },
294
- {
295
- "id": "conveyor",
296
- "title": "새 피규어: 프레임 위 롤러를 반복으로",
297
- "round": 1,
298
- "passed": true,
299
- "misses": [],
300
- "attempts": 1,
301
- "steps": 6,
302
- "seconds": 1.381,
303
- "answer": [
304
- {
305
- "kind": "rename",
306
- "name": "Conveyor"
307
- },
308
- {
309
- "kind": "add-part",
310
- "part": {
311
- "id": "frame",
312
- "kind": "box",
313
- "dimensions": {
314
- "width": 2000,
315
- "height": 80,
316
- "depth": 500
317
- }
318
- }
319
- },
320
- {
321
- "kind": "attach",
322
- "part": "frame",
323
- "to": {
324
- "plane": "mounting-plane"
325
- }
326
- },
327
- {
328
- "kind": "add-part",
329
- "part": {
330
- "id": "roller",
331
- "kind": "cylinder",
332
- "dimensions": {
333
- "radius": 25,
334
- "length": 500
335
- }
336
- }
337
- },
338
- {
339
- "kind": "attach",
340
- "part": "roller",
341
- "to": {
342
- "part": "frame",
343
- "face": "top"
344
- }
345
- },
346
- {
347
- "kind": "make-repeat",
348
- "part": "roller",
349
- "axis": "x",
350
- "pitch": 150
351
- }
352
- ]
353
- },
354
- {
355
- "id": "two-joint-arm",
356
- "title": "새 피규어: 두 관절로 도는 팔",
357
- "round": 1,
358
- "passed": true,
359
- "misses": [],
360
- "attempts": 1,
361
- "steps": 8,
362
- "seconds": 1.997,
363
- "answer": [
364
- {
365
- "kind": "rename",
366
- "name": "Arm"
367
- },
368
- {
369
- "kind": "set-detail-level",
370
- "level": "M"
371
- },
372
- {
373
- "kind": "add-part",
374
- "part": {
375
- "id": "base",
376
- "kind": "box",
377
- "dimensions": {
378
- "width": 120,
379
- "height": 20,
380
- "depth": 120
381
- }
382
- }
383
- },
384
- {
385
- "kind": "attach",
386
- "part": "base",
387
- "to": {
388
- "plane": "mounting-plane"
389
- }
390
- },
391
- {
392
- "kind": "add-part",
393
- "part": {
394
- "id": "lower-arm",
395
- "kind": "box",
396
- "dimensions": {
397
- "width": 40,
398
- "height": 180,
399
- "depth": 40
400
- }
401
- }
402
- },
403
- {
404
- "kind": "set-joint",
405
- "joint": {
406
- "id": "base-elbow",
407
- "body0": {
408
- "part": "base",
409
- "face": "top"
410
- },
411
- "body1": {
412
- "part": "lower-arm"
413
- },
414
- "origin": {
415
- "pivot": "child-face"
416
- },
417
- "motion": [
418
- {
419
- "id": "base-elbow",
420
- "type": "revolute",
421
- "axis": "Z"
422
- }
423
- ]
424
- }
425
- },
426
- {
427
- "kind": "add-part",
428
- "part": {
429
- "id": "upper-arm",
430
- "kind": "box",
431
- "dimensions": {
432
- "width": 32,
433
- "height": 160,
434
- "depth": 32
435
- }
436
- }
437
- },
438
- {
439
- "kind": "set-joint",
440
- "joint": {
441
- "id": "elbow-joint",
442
- "body0": {
443
- "part": "lower-arm",
444
- "face": "top"
445
- },
446
- "body1": {
447
- "part": "upper-arm"
448
- },
449
- "origin": {
450
- "pivot": "child-face"
451
- },
452
- "motion": [
453
- {
454
- "id": "elbow-joint",
455
- "type": "revolute",
456
- "axis": "Z"
457
- }
458
- ]
459
- }
460
- }
461
- ]
462
- },
463
- {
464
- "id": "cabinet-door",
465
- "title": "새 피규어: 경첩 문 0~90°와 여는 클립",
466
- "round": 1,
467
- "passed": false,
468
- "misses": [
469
- "not made: The figure could not be made. / TARGET_ABSENT: steps[6]: set-clip: open-door: no clip by this name. The parts at steps[6] are: cabinet-body, door."
470
- ],
471
- "seconds": 5.779,
472
- "answer": [
473
- {
474
- "kind": "rename",
475
- "name": "Cabinet"
476
- },
477
- {
478
- "kind": "set-detail-level",
479
- "level": "M"
480
- },
481
- {
482
- "kind": "add-part",
483
- "part": {
484
- "id": "cabinet-body",
485
- "kind": "box",
486
- "dimensions": {
487
- "width": 800,
488
- "height": 1200,
489
- "depth": 450
490
- }
491
- }
492
- },
493
- {
494
- "kind": "attach",
495
- "part": "cabinet-body",
496
- "to": {
497
- "plane": "mounting-plane"
498
- }
499
- },
500
- {
501
- "kind": "add-part",
502
- "part": {
503
- "id": "door",
504
- "kind": "box",
505
- "dimensions": {
506
- "width": 780,
507
- "height": 1180,
508
- "depth": 20
509
- }
510
- }
511
- },
512
- {
513
- "kind": "set-joint",
514
- "joint": {
515
- "id": "door-hinge",
516
- "body0": {
517
- "part": "cabinet-body",
518
- "face": "front"
519
- },
520
- "body1": {
521
- "part": "door"
522
- },
523
- "origin": {
524
- "pivot": "seat",
525
- "align": {
526
- "x": "min",
527
- "y": "min"
528
- },
529
- "offset": {
530
- "x": 10,
531
- "y": 10,
532
- "z": 0
533
- }
534
- },
535
- "motion": [
536
- {
537
- "id": "open",
538
- "type": "revolute",
539
- "axis": "Y",
540
- "lowerLimit": 0,
541
- "upperLimit": 90,
542
- "state": {
543
- "id": "open",
544
- "label": "Open"
545
- }
546
- }
547
- ]
548
- }
549
- },
550
- {
551
- "kind": "set-clip",
552
- "clip": "open-door",
553
- "name": "Open Door",
554
- "duration": 2
555
- },
556
- {
557
- "kind": "set-driver",
558
- "state": "open",
559
- "clip": "open-door",
560
- "duration": 2,
561
- "keys": [
562
- {
563
- "seconds": 0,
564
- "value": 0
565
- },
566
- {
567
- "seconds": 2,
568
- "value": 90
569
- }
570
- ],
571
- "interpolation": "linear",
572
- "loop": "hold"
573
- }
574
- ]
575
- },
576
- {
577
- "id": "hopper",
578
- "title": "새 피규어: 윗면이 넓은 사각 호퍼 (ADR-0100 §16.1)",
579
- "round": 1,
580
- "passed": true,
581
- "misses": [],
582
- "attempts": 1,
583
- "steps": 5,
584
- "seconds": 1.1,
585
- "answer": [
586
- {
587
- "kind": "rename",
588
- "name": "Hopper"
589
- },
590
- {
591
- "kind": "set-detail-level",
592
- "level": "M"
593
- },
594
- {
595
- "kind": "add-part",
596
- "part": {
597
- "id": "hopper",
598
- "kind": "tapered-box",
599
- "dimensions": {
600
- "width": 300,
601
- "depth": 300,
602
- "height": 600,
603
- "topWidth": 800,
604
- "topDepth": 800,
605
- "round": 0,
606
- "topRound": 0
607
- }
608
- }
609
- },
610
- {
611
- "kind": "set-section-corner",
612
- "part": "hopper",
613
- "corner": 30
614
- },
615
- {
616
- "kind": "attach",
617
- "part": "hopper",
618
- "to": {
619
- "plane": "mounting-plane"
620
- }
621
- }
622
- ]
623
- },
624
- {
625
- "id": "quadruped-legs",
626
- "title": "새 피규어: 몸통과 좌우 대칭인 다리 넷, 다리마다 무릎",
627
- "round": 1,
628
- "passed": false,
629
- "misses": [
630
- "not made: The figure could not be made. / JOINT_TREE: steps[15]: set-joint: joints.fl-hip: fl-thigh already hangs from body by fl-thigh; a part has one joint above it. The parts at steps[15] are: body, fl-thigh, fr-thigh, fl-knee, fr-knee, bl-thigh, br-thigh, bl-knee, br-knee."
631
- ],
632
- "seconds": 15.252,
633
- "answer": [
634
- {
635
- "kind": "rename",
636
- "name": "Quadruped"
637
- },
638
- {
639
- "kind": "set-detail-level",
640
- "level": "L"
641
- },
642
- {
643
- "kind": "declare-instance-size",
644
- "range": {
645
- "x": {
646
- "min": 200,
647
- "max": 1200
648
- },
649
- "y": {
650
- "min": 150,
651
- "max": 900
652
- },
653
- "z": {
654
- "min": 200,
655
- "max": 1200
656
- }
657
- },
658
- "at": {
659
- "x": 400,
660
- "y": 240,
661
- "z": 220
662
- }
663
- },
664
- {
665
- "kind": "add-part",
666
- "part": {
667
- "id": "body",
668
- "kind": "box",
669
- "dimensions": {
670
- "width": 400,
671
- "height": 120,
672
- "depth": 220
673
- }
674
- }
675
- },
676
- {
677
- "kind": "attach",
678
- "part": "body",
679
- "to": {
680
- "plane": "mounting-plane"
681
- },
682
- "gap": 120
683
- },
684
- {
685
- "kind": "add-part",
686
- "part": {
687
- "id": "fl-thigh",
688
- "kind": "box",
689
- "dimensions": {
690
- "width": 40,
691
- "height": 140,
692
- "depth": 40
693
- }
694
- }
695
- },
696
- {
697
- "kind": "attach",
698
- "part": "fl-thigh",
699
- "to": {
700
- "part": "body",
701
- "face": "bottom"
702
- },
703
- "align": {
704
- "x": "min",
705
- "z": "min"
706
- }
707
- },
708
- {
709
- "kind": "add-part",
710
- "part": {
711
- "id": "fl-knee",
712
- "kind": "box",
713
- "dimensions": {
714
- "width": 36,
715
- "height": 120,
716
- "depth": 36
717
- }
718
- }
719
- },
720
- {
721
- "kind": "attach",
722
- "part": "fl-knee",
723
- "to": {
724
- "part": "fl-thigh",
725
- "face": "bottom"
726
- }
727
- },
728
- {
729
- "kind": "add-part",
730
- "part": {
731
- "id": "bl-thigh",
732
- "kind": "box",
733
- "dimensions": {
734
- "width": 40,
735
- "height": 140,
736
- "depth": 40
737
- }
738
- }
739
- },
740
- {
741
- "kind": "attach",
742
- "part": "bl-thigh",
743
- "to": {
744
- "part": "body",
745
- "face": "bottom"
746
- },
747
- "align": {
748
- "x": "min",
749
- "z": "max"
750
- }
751
- },
752
- {
753
- "kind": "add-part",
754
- "part": {
755
- "id": "bl-knee",
756
- "kind": "box",
757
- "dimensions": {
758
- "width": 36,
759
- "height": 120,
760
- "depth": 36
761
- }
762
- }
763
- },
764
- {
765
- "kind": "attach",
766
- "part": "bl-knee",
767
- "to": {
768
- "part": "bl-thigh",
769
- "face": "bottom"
770
- }
771
- },
772
- {
773
- "kind": "mirror-part",
774
- "target": "fl-thigh",
775
- "axis": "x",
776
- "chain": true,
777
- "prefix": {
778
- "from": "fl-",
779
- "to": "fr-"
780
- }
781
- },
782
- {
783
- "kind": "mirror-part",
784
- "target": "bl-thigh",
785
- "axis": "x",
786
- "chain": true,
787
- "prefix": {
788
- "from": "bl-",
789
- "to": "br-"
790
- }
791
- },
792
- {
793
- "kind": "set-joint",
794
- "joint": {
795
- "id": "fl-hip",
796
- "body0": {
797
- "part": "body",
798
- "face": "bottom"
799
- },
800
- "body1": {
801
- "part": "fl-thigh"
802
- },
803
- "motion": [
804
- {
805
- "id": "hip",
806
- "type": "revolute",
807
- "axis": "X",
808
- "lowerLimit": -45,
809
- "upperLimit": 45
810
- }
811
- ]
812
- }
813
- },
814
- {
815
- "kind": "set-joint",
816
- "joint": {
817
- "id": "fl-knee-joint",
818
- "body0": {
819
- "part": "fl-thigh",
820
- "face": "bottom"
821
- },
822
- "body1": {
823
- "part": "fl-knee"
824
- },
825
- "motion": [
826
- {
827
- "id": "knee",
828
- "type": "revolute",
829
- "axis": "X",
830
- "lowerLimit": 0,
831
- "upperLimit": 90
832
- }
833
- ]
834
- }
835
- },
836
- {
837
- "kind": "set-joint",
838
- "joint": {
839
- "id": "fr-hip",
840
- "body0": {
841
- "part": "body",
842
- "face": "bottom"
843
- },
844
- "body1": {
845
- "part": "fr-thigh"
846
- },
847
- "motion": [
848
- {
849
- "id": "hip",
850
- "type": "revolute",
851
- "axis": "X",
852
- "lowerLimit": -45,
853
- "upperLimit": 45
854
- }
855
- ]
856
- }
857
- },
858
- {
859
- "kind": "set-joint",
860
- "joint": {
861
- "id": "fr-knee-joint",
862
- "body0": {
863
- "part": "fr-thigh",
864
- "face": "bottom"
865
- },
866
- "body1": {
867
- "part": "fr-knee"
868
- },
869
- "motion": [
870
- {
871
- "id": "knee",
872
- "type": "revolute",
873
- "axis": "X",
874
- "lowerLimit": 0,
875
- "upperLimit": 90
876
- }
877
- ]
878
- }
879
- },
880
- {
881
- "kind": "set-joint",
882
- "joint": {
883
- "id": "bl-hip",
884
- "body0": {
885
- "part": "body",
886
- "face": "bottom"
887
- },
888
- "body1": {
889
- "part": "bl-thigh"
890
- },
891
- "motion": [
892
- {
893
- "id": "hip",
894
- "type": "revolute",
895
- "axis": "X",
896
- "lowerLimit": -45,
897
- "upperLimit": 45
898
- }
899
- ]
900
- }
901
- },
902
- {
903
- "kind": "set-joint",
904
- "joint": {
905
- "id": "bl-knee-joint",
906
- "body0": {
907
- "part": "bl-thigh",
908
- "face": "bottom"
909
- },
910
- "body1": {
911
- "part": "bl-knee"
912
- },
913
- "motion": [
914
- {
915
- "id": "knee",
916
- "type": "revolute",
917
- "axis": "X",
918
- "lowerLimit": 0,
919
- "upperLimit": 90
920
- }
921
- ]
922
- }
923
- },
924
- {
925
- "kind": "set-joint",
926
- "joint": {
927
- "id": "br-hip",
928
- "body0": {
929
- "part": "body",
930
- "face": "bottom"
931
- },
932
- "body1": {
933
- "part": "br-thigh"
934
- },
935
- "motion": [
936
- {
937
- "id": "hip",
938
- "type": "revolute",
939
- "axis": "X",
940
- "lowerLimit": -45,
941
- "upperLimit": 45
942
- }
943
- ]
944
- }
945
- },
946
- {
947
- "kind": "set-joint",
948
- "joint": {
949
- "id": "br-knee-joint",
950
- "body0": {
951
- "part": "br-thigh",
952
- "face": "bottom"
953
- },
954
- "body1": {
955
- "part": "br-knee"
956
- },
957
- "motion": [
958
- {
959
- "id": "knee",
960
- "type": "revolute",
961
- "axis": "X",
962
- "lowerLimit": 0,
963
- "upperLimit": 90
964
- }
965
- ]
966
- }
967
- }
968
- ]
969
- },
970
- {
971
- "id": "pipeline-run",
972
- "title": "새 피규어: 굽힘 셋 이상인 곡선 배관과 끝 플랜지 (ADR-0100 §16.2)",
973
- "round": 1,
974
- "passed": false,
975
- "misses": [
976
- "no flange on the end of a pipe"
977
- ],
978
- "attempts": 2,
979
- "steps": 6,
980
- "seconds": 3.484,
981
- "answer": [
982
- {
983
- "kind": "rename",
984
- "name": "Pipeline"
985
- },
986
- {
987
- "kind": "set-detail-level",
988
- "level": "M"
989
- },
990
- {
991
- "kind": "add-part",
992
- "part": {
993
- "id": "pipe",
994
- "kind": "pipe",
995
- "dimensions": {
996
- "radius": 50
997
- },
998
- "path": [
999
- {
1000
- "line": 1000
1001
- },
1002
- {
1003
- "bend": {
1004
- "radius": 75,
1005
- "angle": 90,
1006
- "turn": "+X"
1007
- }
1008
- },
1009
- {
1010
- "line": 500
1011
- },
1012
- {
1013
- "bend": {
1014
- "radius": 75,
1015
- "angle": 90,
1016
- "turn": "+Z"
1017
- }
1018
- },
1019
- {
1020
- "line": 500
1021
- },
1022
- {
1023
- "bend": {
1024
- "radius": 75,
1025
- "angle": 90,
1026
- "turn": "-X"
1027
- }
1028
- },
1029
- {
1030
- "line": 200
1031
- }
1032
- ]
1033
- }
1034
- },
1035
- {
1036
- "kind": "attach",
1037
- "part": "pipe",
1038
- "to": {
1039
- "plane": "mounting-plane"
1040
- }
1041
- },
1042
- {
1043
- "kind": "add-part",
1044
- "part": {
1045
- "id": "flange",
1046
- "kind": "cylinder",
1047
- "dimensions": {
1048
- "radius": 75,
1049
- "length": 20
1050
- }
1051
- }
1052
- },
1053
- {
1054
- "kind": "attach",
1055
- "part": "flange",
1056
- "to": {
1057
- "part": "pipe",
1058
- "face": "bottom"
1059
- },
1060
- "facing": "meet"
1061
- }
1062
- ]
1063
- },
1064
- {
1065
- "id": "pipe-rack",
1066
- "title": "새 피규어: 나란히 가는 곡선 배관 두 줄",
1067
- "round": 1,
1068
- "passed": false,
1069
- "misses": [
1070
- "not made: The figure could not be made. / JOINT_SCHEMA: steps[5]: attach: joints.pipe-copy.origin.align.x: sum is a field this kernel does not know. The parts at steps[5] are: pipe, pipe-copy."
1071
- ],
1072
- "seconds": 5.01,
1073
- "answer": [
1074
- {
1075
- "kind": "rename",
1076
- "name": "Pipe rack"
1077
- },
1078
- {
1079
- "kind": "set-detail-level",
1080
- "level": "M"
1081
- },
1082
- {
1083
- "kind": "add-part",
1084
- "part": {
1085
- "id": "pipe",
1086
- "kind": "pipe",
1087
- "dimensions": {
1088
- "radius": 25,
1089
- "wall": 0
1090
- },
1091
- "path": [
1092
- {
1093
- "line": 800
1094
- },
1095
- {
1096
- "bend": {
1097
- "radius": 50,
1098
- "angle": 90,
1099
- "turn": "+X"
1100
- }
1101
- },
1102
- {
1103
- "line": 1000
1104
- }
1105
- ]
1106
- }
1107
- },
1108
- {
1109
- "kind": "attach",
1110
- "part": "pipe",
1111
- "to": {
1112
- "plane": "mounting-plane"
1113
- }
1114
- },
1115
- {
1116
- "kind": "duplicate-part",
1117
- "target": "pipe"
1118
- },
1119
- {
1120
- "kind": "attach",
1121
- "part": "pipe-copy",
1122
- "to": {
1123
- "plane": "mounting-plane"
1124
- },
1125
- "align": {
1126
- "x": {
1127
- "sum": [
1128
- {
1129
- "from": {
1130
- "of": "part",
1131
- "part": "pipe",
1132
- "axis": "x"
1133
- },
1134
- "times": 1
1135
- },
1136
- {
1137
- "from": {
1138
- "of": "instance",
1139
- "axis": "x"
1140
- },
1141
- "times": 1
1142
- }
1143
- ]
1144
- }
1145
- },
1146
- "replace": true
1147
- }
1148
- ]
1149
- },
1150
- {
1151
- "id": "tapering-bent-bar",
1152
- "title": "새 피규어: 아래는 굵고 위로 갈수록 가는 휜 막대 (ADR-0100 §16.2.9)",
1153
- "round": 1,
1154
- "passed": true,
1155
- "misses": [],
1156
- "attempts": 2,
1157
- "steps": 4,
1158
- "seconds": 2.882,
1159
- "answer": [
1160
- {
1161
- "kind": "rename",
1162
- "name": "Bent bar"
1163
- },
1164
- {
1165
- "kind": "set-detail-level",
1166
- "level": "M"
1167
- },
1168
- {
1169
- "kind": "add-part",
1170
- "part": {
1171
- "id": "bar",
1172
- "kind": "pipe",
1173
- "dimensions": {
1174
- "radius": 40,
1175
- "wall": 0,
1176
- "endRadius": 20
1177
- },
1178
- "path": [
1179
- {
1180
- "line": 300
1181
- },
1182
- {
1183
- "bend": {
1184
- "radius": 120,
1185
- "angle": 90,
1186
- "turn": "+X"
1187
- }
1188
- },
1189
- {
1190
- "line": 200
1191
- }
1192
- ]
1193
- }
1194
- },
1195
- {
1196
- "kind": "attach",
1197
- "part": "bar",
1198
- "to": {
1199
- "plane": "mounting-plane"
1200
- },
1201
- "gap": 0
1202
- }
1203
- ]
1204
- },
1205
- {
1206
- "id": "pipe-down-into-tank",
1207
- "title": "새 피규어: 아래로 꺾여 내려가는 배관 끝에 플랜지 (ADR-0100 §16.2.7)",
1208
- "round": 1,
1209
- "passed": true,
1210
- "misses": [],
1211
- "attempts": 1,
1212
- "steps": 6,
1213
- "seconds": 1.754,
1214
- "answer": [
1215
- {
1216
- "kind": "rename",
1217
- "name": "Drop pipe"
1218
- },
1219
- {
1220
- "kind": "set-detail-level",
1221
- "level": "M"
1222
- },
1223
- {
1224
- "kind": "add-part",
1225
- "part": {
1226
- "id": "pipe",
1227
- "kind": "pipe",
1228
- "dimensions": {
1229
- "radius": 40,
1230
- "wall": 5
1231
- },
1232
- "path": [
1233
- {
1234
- "line": 1000
1235
- },
1236
- {
1237
- "bend": {
1238
- "radius": 80,
1239
- "angle": 90,
1240
- "turn": "+Z"
1241
- }
1242
- },
1243
- {
1244
- "line": 800
1245
- },
1246
- {
1247
- "bend": {
1248
- "radius": 80,
1249
- "angle": 90,
1250
- "turn": "-Y"
1251
- }
1252
- },
1253
- {
1254
- "line": 500
1255
- }
1256
- ]
1257
- }
1258
- },
1259
- {
1260
- "kind": "attach",
1261
- "part": "pipe",
1262
- "to": {
1263
- "plane": "mounting-plane"
1264
- }
1265
- },
1266
- {
1267
- "kind": "add-part",
1268
- "part": {
1269
- "id": "flange",
1270
- "kind": "cylinder",
1271
- "dimensions": {
1272
- "radius": 70,
1273
- "length": 20
1274
- }
1275
- }
1276
- },
1277
- {
1278
- "kind": "attach",
1279
- "part": "flange",
1280
- "to": {
1281
- "part": "pipe",
1282
- "face": "bottom"
1283
- },
1284
- "facing": "flush"
1285
- }
1286
- ]
1287
- },
1288
- {
1289
- "id": "mixer-port",
1290
- "title": "고치기: 포트 폭 두 배와 새 색, 몸통은 그대로",
1291
- "round": 1,
1292
- "passed": true,
1293
- "misses": [],
1294
- "attempts": 2,
1295
- "steps": 2,
1296
- "seconds": 2.238,
1297
- "answer": [
1298
- {
1299
- "kind": "link-dimension",
1300
- "part": "port",
1301
- "axis": "x",
1302
- "source": {
1303
- "of": "input",
1304
- "input": "port.dimension.width"
1305
- },
1306
- "times": 2
1307
- },
1308
- {
1309
- "kind": "set-material",
1310
- "target": "port",
1311
- "material": {
1312
- "token": "palette.accent"
1313
- },
1314
- "palette": {
1315
- "palette.accent": "#c96d2d"
1316
- }
1317
- }
1318
- ]
1319
- },
1320
- {
1321
- "id": "open-tote",
1322
- "title": "고치기: 상자를 위가 열린 통으로, 벽 10mm",
1323
- "round": 1,
1324
- "passed": false,
1325
- "misses": [
1326
- "its top is not open",
1327
- "its bottom is open too"
1328
- ],
1329
- "attempts": 2,
1330
- "steps": 1,
1331
- "seconds": 1.84,
1332
- "answer": [
1333
- {
1334
- "kind": "set-cavity",
1335
- "part": "bin",
1336
- "cavity": {
1337
- "wall": {
1338
- "x-": 10,
1339
- "x+": 10,
1340
- "z-": 10,
1341
- "z+": 10
1342
- },
1343
- "start": "open",
1344
- "end": {
1345
- "closed": 15
1346
- }
1347
- }
1348
- }
1349
- ]
1350
- },
1351
- {
1352
- "id": "pipe-extend",
1353
- "title": "고치기: 관 끝에 아래로 꺾이는 굽힘과 직선 더하기 (ADR-0100 §16.2)",
1354
- "round": 1,
1355
- "passed": false,
1356
- "misses": [
1357
- "the pipe as it was is changed"
1358
- ],
1359
- "attempts": 2,
1360
- "steps": 2,
1361
- "seconds": 2.547,
1362
- "answer": [
1363
- {
1364
- "kind": "set-state-defaults",
1365
- "values": {}
1366
- },
1367
- {
1368
- "kind": "set-pipe",
1369
- "part": "pipe",
1370
- "path": [
1371
- {
1372
- "line": 500
1373
- },
1374
- {
1375
- "bend": {
1376
- "radius": 120,
1377
- "angle": 90,
1378
- "turn": "-X"
1379
- }
1380
- },
1381
- {
1382
- "line": 400
1383
- },
1384
- {
1385
- "bend": {
1386
- "radius": 120,
1387
- "angle": 90,
1388
- "turn": "-Y"
1389
- }
1390
- },
1391
- {
1392
- "line": 300
1393
- }
1394
- ]
1395
- }
1396
- ]
1397
- },
1398
- {
1399
- "id": "pipe-to-duct",
1400
- "title": "고치기: 원형 관을 사각 덕트로, 경로는 그대로",
1401
- "round": 1,
1402
- "passed": false,
1403
- "misses": [
1404
- "its path changed"
1405
- ],
1406
- "attempts": 2,
1407
- "steps": 4,
1408
- "seconds": 2.734,
1409
- "answer": [
1410
- {
1411
- "kind": "remove-part",
1412
- "target": "pipe"
1413
- },
1414
- {
1415
- "kind": "add-part",
1416
- "part": {
1417
- "id": "pipe",
1418
- "kind": "duct",
1419
- "dimensions": {
1420
- "width": 120,
1421
- "depth": 80,
1422
- "round": 0
1423
- },
1424
- "path": [
1425
- {
1426
- "line": 500
1427
- },
1428
- {
1429
- "line": 120
1430
- },
1431
- {
1432
- "line": 400
1433
- }
1434
- ]
1435
- }
1436
- },
1437
- {
1438
- "kind": "attach",
1439
- "part": "pipe",
1440
- "to": {
1441
- "plane": "mounting-plane"
1442
- }
1443
- },
1444
- {
1445
- "kind": "set-material",
1446
- "target": "pipe",
1447
- "material": {
1448
- "token": "palette.primary"
1449
- }
1450
- }
1451
- ]
1452
- },
1453
- {
1454
- "id": "pipe-to-solid-bar",
1455
- "title": "고치기: 관을 굵은 속찬 막대로, 경로는 그대로",
1456
- "round": 1,
1457
- "passed": true,
1458
- "misses": [],
1459
- "attempts": 2,
1460
- "steps": 1,
1461
- "seconds": 2.094,
1462
- "answer": [
1463
- {
1464
- "kind": "set-pipe",
1465
- "part": "pipe",
1466
- "radius": 30,
1467
- "wall": 0
1468
- }
1469
- ]
1470
- },
1471
- {
1472
- "id": "pipe-narrow",
1473
- "title": "고치기: 관이 끝으로 갈수록 가늘어지게 (ADR-0100 §16.2.9)",
1474
- "round": 1,
1475
- "passed": true,
1476
- "misses": [],
1477
- "attempts": 1,
1478
- "steps": 1,
1479
- "seconds": 1.051,
1480
- "answer": [
1481
- {
1482
- "kind": "set-pipe",
1483
- "part": "pipe",
1484
- "endRadius": 20
1485
- }
1486
- ]
1487
- },
1488
- {
1489
- "id": "pipe-turn-other-way",
1490
- "title": "고치기: 관이 반대쪽(-X)으로 꺾이게",
1491
- "round": 1,
1492
- "passed": true,
1493
- "misses": [],
1494
- "attempts": 1,
1495
- "steps": 1,
1496
- "seconds": 1.127,
1497
- "answer": [
1498
- {
1499
- "kind": "set-pipe",
1500
- "part": "pipe",
1501
- "path": [
1502
- {
1503
- "line": 500
1504
- },
1505
- {
1506
- "bend": {
1507
- "radius": 120,
1508
- "angle": 90,
1509
- "turn": "-X"
1510
- }
1511
- },
1512
- {
1513
- "line": 400
1514
- }
1515
- ]
1516
- }
1517
- ]
1518
- },
1519
- {
1520
- "id": "box-tapered-top",
1521
- "title": "고치기: 상자 윗면을 절반 크기로 (ADR-0100 §16.1)",
1522
- "round": 1,
1523
- "passed": true,
1524
- "misses": [],
1525
- "attempts": 1,
1526
- "steps": 1,
1527
- "seconds": 0.838,
1528
- "answer": [
1529
- {
1530
- "kind": "set-section",
1531
- "part": "bin",
1532
- "top": {
1533
- "across": {
1534
- "x": 300,
1535
- "z": 200
1536
- }
1537
- }
1538
- }
1539
- ]
1540
- },
1541
- {
1542
- "id": "table-follows-width",
1543
- "title": "고치기: 보드에서 폭을 바꾸면 상판이 따라가게",
1544
- "round": 1,
1545
- "passed": true,
1546
- "misses": [],
1547
- "attempts": 3,
1548
- "steps": 2,
1549
- "seconds": 3.164,
1550
- "answer": [
1551
- {
1552
- "kind": "declare-instance-size",
1553
- "range": {
1554
- "x": {
1555
- "min": 1
1556
- }
1557
- }
1558
- },
1559
- {
1560
- "kind": "link-dimension",
1561
- "part": "top",
1562
- "axis": "x",
1563
- "source": {
1564
- "of": "instance",
1565
- "axis": "x"
1566
- }
1567
- }
1568
- ]
1569
- },
1570
- {
1571
- "id": "status-lamp",
1572
- "title": "고치기: 상태 값으로 램프 색 (데이터 바인딩)",
1573
- "round": 1,
1574
- "passed": false,
1575
- "misses": [
1576
- "not made: The figure could not be made. / TARGET_ABSENT: steps[0]: set-state-input: status: not a state input of this asset"
1577
- ],
1578
- "seconds": 4.173,
1579
- "answer": [
1580
- {
1581
- "kind": "set-state-input",
1582
- "input": "status",
1583
- "label": "Status",
1584
- "values": [
1585
- "ALARM",
1586
- "NORMAL"
1587
- ]
1588
- },
1589
- {
1590
- "kind": "set-state-defaults",
1591
- "values": {
1592
- "status": 1
1593
- }
1594
- },
1595
- {
1596
- "kind": "set-data-binding",
1597
- "binding": {
1598
- "id": "lamp-status",
1599
- "accessor": "status",
1600
- "behavior": {
1601
- "kind": "state",
1602
- "input": "status",
1603
- "sourceMode": "observed"
1604
- },
1605
- "rule": "table",
1606
- "lookup": "code",
1607
- "targets": {
1608
- "parts": [
1609
- "lamp"
1610
- ]
1611
- },
1612
- "table": {
1613
- "ALARM": {
1614
- "color": "#ff0000",
1615
- "effect": {
1616
- "kind": "blink",
1617
- "hz": 2
1618
- }
1619
- },
1620
- "NORMAL": {
1621
- "color": "#00ff00"
1622
- }
1623
- }
1624
- }
1625
- }
1626
- ]
1627
- }
1628
- ]
1629
- }