@things-factory/figure-service 10.1.277 → 10.1.278

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 (24) hide show
  1. package/coverage/clover.xml +6 -0
  2. package/coverage/coverage-final.json +1 -0
  3. package/coverage/lcov-report/base.css +224 -0
  4. package/coverage/lcov-report/block-navigation.js +87 -0
  5. package/coverage/lcov-report/favicon.png +0 -0
  6. package/coverage/lcov-report/index.html +101 -0
  7. package/coverage/lcov-report/prettify.css +1 -0
  8. package/coverage/lcov-report/prettify.js +2 -0
  9. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  10. package/coverage/lcov-report/sorter.js +210 -0
  11. package/coverage/lcov.info +0 -0
  12. package/dist-server/tsconfig.tsbuildinfo +1 -1
  13. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +15 -0
  14. package/logs/application-2026-09-14-23.log +0 -0
  15. package/logs/figure-ai-scenarios/2026-11-03T09-31-35-151Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +1167 -0
  16. package/logs/figure-ai-scenarios/2026-11-03T09-39-05-265Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +904 -0
  17. package/logs/figure-ai-scenarios/2026-11-03T09-41-49-107Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +1629 -0
  18. package/logs/figure-ai-scenarios/2026-11-03T09-58-26-681Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +4412 -0
  19. package/logs/figure-ai-scenarios/2026-11-03T10-16-46-212Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +4513 -0
  20. package/logs/figure-ai-scenarios/2026-11-03T10-21-07-872Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +4202 -0
  21. package/logs/figure-ai-scenarios/2026-11-03T10-25-21-721Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +1665 -0
  22. package/logs/figure-ai-scenarios/2026-11-09T01-28-51-664Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json +4484 -0
  23. package/package.json +7 -7
  24. package/server/service/figure/figure-format.test.ts +1 -1
@@ -0,0 +1,904 @@
1
+ {
2
+ "at": "2026-11-03T09:39:05.265Z",
3
+ "by": "agent:hatiolab/ChatGPT",
4
+ "model": "openai-gpt-5.4-mini",
5
+ "rounds": 1,
6
+ "passed": 13,
7
+ "total": 22,
8
+ "comparedWith": "2026-11-03T09-31-35-151Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json",
9
+ "worse": [
10
+ "elbow-flange",
11
+ "pipeline-run",
12
+ "tapering-bent-bar",
13
+ "table-follows-width"
14
+ ],
15
+ "better": [
16
+ "two-joint-arm",
17
+ "cabinet-door",
18
+ "pipe-down-into-tank",
19
+ "mixer-port",
20
+ "open-tote",
21
+ "pipe-turn-other-way"
22
+ ],
23
+ "runs": [
24
+ {
25
+ "id": "roll-press",
26
+ "title": "새 피규어: 프레임 안 두 롤러, 서로 다른 색",
27
+ "round": 1,
28
+ "passed": false,
29
+ "misses": [
30
+ "not made: The figure could not be made. / ATTACH_FACE: steps[9]: attach: joints.roller-band.body0.surface: roller is a cylinder: a point on its side is { around, along }. The parts at steps[9] are: frame, roller, roller-band."
31
+ ],
32
+ "seconds": 6.455
33
+ },
34
+ {
35
+ "id": "lift-table",
36
+ "title": "새 피규어: 받침 · 기둥 · 상판을 쌓기",
37
+ "round": 1,
38
+ "passed": true,
39
+ "misses": [],
40
+ "attempts": 1,
41
+ "steps": 8,
42
+ "seconds": 1.691,
43
+ "answer": [
44
+ {
45
+ "kind": "rename",
46
+ "name": "Lift table"
47
+ },
48
+ {
49
+ "kind": "set-detail-level",
50
+ "level": "M"
51
+ },
52
+ {
53
+ "kind": "add-part",
54
+ "part": {
55
+ "id": "base",
56
+ "kind": "box",
57
+ "dimensions": {
58
+ "width": 900,
59
+ "height": 60,
60
+ "depth": 600
61
+ }
62
+ }
63
+ },
64
+ {
65
+ "kind": "attach",
66
+ "part": "base",
67
+ "to": {
68
+ "plane": "mounting-plane"
69
+ }
70
+ },
71
+ {
72
+ "kind": "add-part",
73
+ "part": {
74
+ "id": "column",
75
+ "kind": "cylinder",
76
+ "dimensions": {
77
+ "radius": 80,
78
+ "length": 700
79
+ }
80
+ }
81
+ },
82
+ {
83
+ "kind": "attach",
84
+ "part": "column",
85
+ "to": {
86
+ "part": "base",
87
+ "face": "top"
88
+ },
89
+ "align": {
90
+ "x": "centre",
91
+ "z": "centre"
92
+ }
93
+ },
94
+ {
95
+ "kind": "add-part",
96
+ "part": {
97
+ "id": "top",
98
+ "kind": "box",
99
+ "dimensions": {
100
+ "width": 900,
101
+ "height": 40,
102
+ "depth": 600
103
+ }
104
+ }
105
+ },
106
+ {
107
+ "kind": "attach",
108
+ "part": "top",
109
+ "to": {
110
+ "part": "column",
111
+ "face": "top"
112
+ },
113
+ "align": {
114
+ "x": "centre",
115
+ "z": "centre"
116
+ }
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ "id": "elbow-flange",
122
+ "title": "새 피규어: 엘보 배관과 끝의 플랜지 (ADR-0100 §16.2)",
123
+ "round": 1,
124
+ "passed": false,
125
+ "misses": [
126
+ "not made: The figure could not be made. / SCHEMA: steps[2]: add-part: pipe: a pipe's dimensions are radius, wall, and its end's endRadius when it narrows. The parts at steps[2] are: none."
127
+ ],
128
+ "seconds": 4.32
129
+ },
130
+ {
131
+ "id": "conveyor",
132
+ "title": "새 피규어: 프레임 위 롤러를 반복으로",
133
+ "round": 1,
134
+ "passed": true,
135
+ "misses": [],
136
+ "attempts": 1,
137
+ "steps": 7,
138
+ "seconds": 1.573,
139
+ "answer": [
140
+ {
141
+ "kind": "rename",
142
+ "name": "Conveyor"
143
+ },
144
+ {
145
+ "kind": "set-detail-level",
146
+ "level": "S"
147
+ },
148
+ {
149
+ "kind": "add-part",
150
+ "part": {
151
+ "id": "frame",
152
+ "kind": "box",
153
+ "dimensions": {
154
+ "width": 2000,
155
+ "height": 80,
156
+ "depth": 500
157
+ }
158
+ }
159
+ },
160
+ {
161
+ "kind": "attach",
162
+ "part": "frame",
163
+ "to": {
164
+ "plane": "mounting-plane"
165
+ }
166
+ },
167
+ {
168
+ "kind": "add-part",
169
+ "part": {
170
+ "id": "roller",
171
+ "kind": "cylinder",
172
+ "dimensions": {
173
+ "radius": 25,
174
+ "length": 500
175
+ }
176
+ }
177
+ },
178
+ {
179
+ "kind": "attach",
180
+ "part": "roller",
181
+ "to": {
182
+ "part": "frame",
183
+ "face": "top"
184
+ },
185
+ "facing": "centre"
186
+ },
187
+ {
188
+ "kind": "make-repeat",
189
+ "part": "roller",
190
+ "axis": "x",
191
+ "pitch": 150
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "id": "two-joint-arm",
197
+ "title": "새 피규어: 두 관절로 도는 팔",
198
+ "round": 1,
199
+ "passed": true,
200
+ "misses": [],
201
+ "attempts": 3,
202
+ "steps": 8,
203
+ "seconds": 6.396,
204
+ "answer": [
205
+ {
206
+ "kind": "rename",
207
+ "name": "Arm"
208
+ },
209
+ {
210
+ "kind": "set-detail-level",
211
+ "level": "M"
212
+ },
213
+ {
214
+ "kind": "add-part",
215
+ "part": {
216
+ "id": "base",
217
+ "kind": "cylinder",
218
+ "dimensions": {
219
+ "radius": 80,
220
+ "length": 40
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "kind": "attach",
226
+ "part": "base",
227
+ "to": {
228
+ "plane": "mounting-plane"
229
+ }
230
+ },
231
+ {
232
+ "kind": "add-part",
233
+ "part": {
234
+ "id": "lower-arm",
235
+ "kind": "box",
236
+ "dimensions": {
237
+ "width": 60,
238
+ "height": 220,
239
+ "depth": 60
240
+ }
241
+ }
242
+ },
243
+ {
244
+ "kind": "set-joint",
245
+ "joint": {
246
+ "id": "base-shoulder",
247
+ "body0": {
248
+ "part": "base",
249
+ "face": "top"
250
+ },
251
+ "body1": {
252
+ "part": "lower-arm"
253
+ },
254
+ "origin": {
255
+ "pivot": "child-face"
256
+ },
257
+ "motion": [
258
+ {
259
+ "id": "base-shoulder",
260
+ "type": "revolute",
261
+ "axis": "Y"
262
+ }
263
+ ]
264
+ }
265
+ },
266
+ {
267
+ "kind": "add-part",
268
+ "part": {
269
+ "id": "upper-arm",
270
+ "kind": "box",
271
+ "dimensions": {
272
+ "width": 50,
273
+ "height": 200,
274
+ "depth": 50
275
+ }
276
+ }
277
+ },
278
+ {
279
+ "kind": "set-joint",
280
+ "joint": {
281
+ "id": "elbow",
282
+ "body0": {
283
+ "part": "lower-arm",
284
+ "face": "top"
285
+ },
286
+ "body1": {
287
+ "part": "upper-arm"
288
+ },
289
+ "origin": {
290
+ "pivot": "child-face"
291
+ },
292
+ "motion": [
293
+ {
294
+ "id": "elbow",
295
+ "type": "revolute",
296
+ "axis": "Y"
297
+ }
298
+ ]
299
+ }
300
+ }
301
+ ]
302
+ },
303
+ {
304
+ "id": "cabinet-door",
305
+ "title": "새 피규어: 경첩 문 0~90°와 여는 클립",
306
+ "round": 1,
307
+ "passed": true,
308
+ "misses": [],
309
+ "attempts": 3,
310
+ "steps": 7,
311
+ "seconds": 5.515,
312
+ "answer": [
313
+ {
314
+ "kind": "rename",
315
+ "name": "Cabinet"
316
+ },
317
+ {
318
+ "kind": "set-detail-level",
319
+ "level": "M"
320
+ },
321
+ {
322
+ "kind": "add-part",
323
+ "part": {
324
+ "id": "cabinet-body",
325
+ "kind": "box",
326
+ "dimensions": {
327
+ "width": 800,
328
+ "height": 900,
329
+ "depth": 400
330
+ }
331
+ }
332
+ },
333
+ {
334
+ "kind": "attach",
335
+ "part": "cabinet-body",
336
+ "to": {
337
+ "plane": "mounting-plane"
338
+ }
339
+ },
340
+ {
341
+ "kind": "add-part",
342
+ "part": {
343
+ "id": "cabinet-door",
344
+ "kind": "box",
345
+ "dimensions": {
346
+ "width": 796,
347
+ "height": 896,
348
+ "depth": 20
349
+ }
350
+ }
351
+ },
352
+ {
353
+ "kind": "set-joint",
354
+ "joint": {
355
+ "id": "door-hinge",
356
+ "body0": {
357
+ "part": "cabinet-body",
358
+ "face": "front"
359
+ },
360
+ "body1": {
361
+ "part": "cabinet-door"
362
+ },
363
+ "origin": {
364
+ "pivot": "child-face"
365
+ },
366
+ "motion": [
367
+ {
368
+ "id": "door-open",
369
+ "type": "revolute",
370
+ "axis": "Y",
371
+ "lowerLimit": 0,
372
+ "upperLimit": 90,
373
+ "state": {
374
+ "id": "door-open",
375
+ "label": "Door Open"
376
+ }
377
+ }
378
+ ]
379
+ }
380
+ },
381
+ {
382
+ "kind": "set-driver",
383
+ "state": "door-open",
384
+ "clip": "open-door",
385
+ "duration": 2,
386
+ "keys": [
387
+ {
388
+ "seconds": 0,
389
+ "value": 0
390
+ },
391
+ {
392
+ "seconds": 2,
393
+ "value": 90
394
+ }
395
+ ],
396
+ "interpolation": "linear",
397
+ "loop": "hold"
398
+ }
399
+ ]
400
+ },
401
+ {
402
+ "id": "hopper",
403
+ "title": "새 피규어: 윗면이 넓은 사각 호퍼 (ADR-0100 §16.1)",
404
+ "round": 1,
405
+ "passed": true,
406
+ "misses": [],
407
+ "attempts": 1,
408
+ "steps": 5,
409
+ "seconds": 1.369,
410
+ "answer": [
411
+ {
412
+ "kind": "rename",
413
+ "name": "Hopper"
414
+ },
415
+ {
416
+ "kind": "set-detail-level",
417
+ "level": "S"
418
+ },
419
+ {
420
+ "kind": "add-part",
421
+ "part": {
422
+ "id": "hopper",
423
+ "kind": "tapered-box",
424
+ "dimensions": {
425
+ "width": 300,
426
+ "depth": 300,
427
+ "height": 600,
428
+ "topWidth": 800,
429
+ "topDepth": 800,
430
+ "round": 0,
431
+ "topRound": 0
432
+ }
433
+ }
434
+ },
435
+ {
436
+ "kind": "set-section-corner",
437
+ "part": "hopper",
438
+ "corner": 50
439
+ },
440
+ {
441
+ "kind": "attach",
442
+ "part": "hopper",
443
+ "to": {
444
+ "plane": "mounting-plane"
445
+ }
446
+ }
447
+ ]
448
+ },
449
+ {
450
+ "id": "quadruped-legs",
451
+ "title": "새 피규어: 몸통과 좌우 대칭인 다리 넷, 다리마다 무릎",
452
+ "round": 1,
453
+ "passed": false,
454
+ "misses": [
455
+ "not made: The figure could not be made. / TARGET_ABSENT: steps[8]: set-joint: joints.hip-right: thigh-copy is not a placed part. The parts at steps[8] are: body, thigh, shin."
456
+ ],
457
+ "seconds": 7.311
458
+ },
459
+ {
460
+ "id": "pipeline-run",
461
+ "title": "새 피규어: 굽힘 셋 이상인 곡선 배관과 끝 플랜지 (ADR-0100 §16.2)",
462
+ "round": 1,
463
+ "passed": false,
464
+ "misses": [
465
+ "not made: The figure could not be made. / ATTACH_FACE: steps[5]: attach: joints.flange.body0.surface: pipe has no curved surface to fasten to: flat faces only -- fasten to a face. The parts at steps[5] are: pipe, flange."
466
+ ],
467
+ "seconds": 5.418
468
+ },
469
+ {
470
+ "id": "pipe-rack",
471
+ "title": "새 피규어: 나란히 가는 곡선 배관 두 줄",
472
+ "round": 1,
473
+ "passed": false,
474
+ "misses": [
475
+ "not made: The figure could not be made. / SCHEMA: steps[2]: add-part: pipe: a pipe's dimensions are radius, wall, and its end's endRadius when it narrows. The parts at steps[2] are: none."
476
+ ],
477
+ "seconds": 3.543
478
+ },
479
+ {
480
+ "id": "tapering-bent-bar",
481
+ "title": "새 피규어: 아래는 굵고 위로 갈수록 가는 휜 막대 (ADR-0100 §16.2.9)",
482
+ "round": 1,
483
+ "passed": false,
484
+ "misses": [
485
+ "not made: The figure could not be made. / SCHEMA: steps[3]: add-part: bar: a pipe's dimensions are radius, wall, and its end's endRadius when it narrows. The parts at steps[3] are: none."
486
+ ],
487
+ "seconds": 3.961
488
+ },
489
+ {
490
+ "id": "pipe-down-into-tank",
491
+ "title": "새 피규어: 아래로 꺾여 내려가는 배관 끝에 플랜지 (ADR-0100 §16.2.7)",
492
+ "round": 1,
493
+ "passed": true,
494
+ "misses": [],
495
+ "attempts": 1,
496
+ "steps": 8,
497
+ "seconds": 2.16,
498
+ "answer": [
499
+ {
500
+ "kind": "rename",
501
+ "name": "Drop pipe"
502
+ },
503
+ {
504
+ "kind": "set-detail-level",
505
+ "level": "M"
506
+ },
507
+ {
508
+ "kind": "add-part",
509
+ "part": {
510
+ "id": "pipe",
511
+ "kind": "pipe",
512
+ "dimensions": {
513
+ "radius": 40,
514
+ "wall": 5
515
+ },
516
+ "path": [
517
+ {
518
+ "line": 1000
519
+ },
520
+ {
521
+ "bend": {
522
+ "radius": 120,
523
+ "angle": 90,
524
+ "turn": "+X"
525
+ }
526
+ },
527
+ {
528
+ "line": 800
529
+ },
530
+ {
531
+ "bend": {
532
+ "radius": 120,
533
+ "angle": 90,
534
+ "turn": "-Y"
535
+ }
536
+ },
537
+ {
538
+ "line": 500
539
+ }
540
+ ]
541
+ }
542
+ },
543
+ {
544
+ "kind": "attach",
545
+ "part": "pipe",
546
+ "to": {
547
+ "plane": "mounting-plane"
548
+ },
549
+ "gap": 0
550
+ },
551
+ {
552
+ "kind": "add-part",
553
+ "part": {
554
+ "id": "flange",
555
+ "kind": "cylinder",
556
+ "dimensions": {
557
+ "radius": 70,
558
+ "length": 20
559
+ }
560
+ }
561
+ },
562
+ {
563
+ "kind": "attach",
564
+ "part": "flange",
565
+ "to": {
566
+ "part": "pipe",
567
+ "face": "bottom"
568
+ },
569
+ "facing": "flush"
570
+ },
571
+ {
572
+ "kind": "set-material",
573
+ "target": "pipe",
574
+ "material": {
575
+ "token": "palette.pipe"
576
+ },
577
+ "palette": {
578
+ "palette.pipe": "#8a8f98"
579
+ }
580
+ },
581
+ {
582
+ "kind": "set-material",
583
+ "target": "flange",
584
+ "material": {
585
+ "token": "palette.flange"
586
+ },
587
+ "palette": {
588
+ "palette.flange": "#c9c9c9"
589
+ }
590
+ }
591
+ ]
592
+ },
593
+ {
594
+ "id": "mixer-port",
595
+ "title": "고치기: 포트 폭 두 배와 새 색, 몸통은 그대로",
596
+ "round": 1,
597
+ "passed": true,
598
+ "misses": [],
599
+ "attempts": 2,
600
+ "steps": 2,
601
+ "seconds": 1.999,
602
+ "answer": [
603
+ {
604
+ "kind": "link-dimension",
605
+ "part": "port",
606
+ "axis": "x",
607
+ "source": {
608
+ "of": "input",
609
+ "input": "port.dimension.width"
610
+ },
611
+ "times": 2
612
+ },
613
+ {
614
+ "kind": "set-material",
615
+ "target": "port",
616
+ "material": {
617
+ "token": "palette.accent"
618
+ },
619
+ "palette": {
620
+ "palette.accent": "#c94f2d"
621
+ }
622
+ }
623
+ ]
624
+ },
625
+ {
626
+ "id": "open-tote",
627
+ "title": "고치기: 상자를 위가 열린 통으로, 벽 10mm",
628
+ "round": 1,
629
+ "passed": true,
630
+ "misses": [],
631
+ "attempts": 1,
632
+ "steps": 1,
633
+ "seconds": 1.006,
634
+ "answer": [
635
+ {
636
+ "kind": "set-cavity",
637
+ "part": "bin",
638
+ "cavity": {
639
+ "wall": 10,
640
+ "start": {
641
+ "closed": 15
642
+ },
643
+ "end": "open"
644
+ }
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ "id": "pipe-extend",
650
+ "title": "고치기: 관 끝에 아래로 꺾이는 굽힘과 직선 더하기 (ADR-0100 §16.2)",
651
+ "round": 1,
652
+ "passed": false,
653
+ "misses": [
654
+ "the pipe as it was is changed",
655
+ "0 pieces added, a bend and a run asked",
656
+ "it ends heading 1, 0, 0, down asked"
657
+ ],
658
+ "attempts": 2,
659
+ "steps": 1,
660
+ "seconds": 2.487,
661
+ "answer": [
662
+ {
663
+ "kind": "set-pipe",
664
+ "part": "pipe",
665
+ "path": [
666
+ {
667
+ "line": 500
668
+ },
669
+ {
670
+ "bend": {
671
+ "radius": 120,
672
+ "angle": 90,
673
+ "turn": "+X"
674
+ }
675
+ },
676
+ {
677
+ "line": 300
678
+ }
679
+ ]
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "id": "pipe-to-duct",
685
+ "title": "고치기: 원형 관을 사각 덕트로, 경로는 그대로",
686
+ "round": 1,
687
+ "passed": false,
688
+ "misses": [
689
+ "its path changed"
690
+ ],
691
+ "attempts": 1,
692
+ "steps": 2,
693
+ "seconds": 1.293,
694
+ "answer": [
695
+ {
696
+ "kind": "remove-part",
697
+ "target": "pipe"
698
+ },
699
+ {
700
+ "kind": "add-part",
701
+ "part": {
702
+ "id": "pipe",
703
+ "kind": "duct",
704
+ "dimensions": {
705
+ "width": 120,
706
+ "depth": 80,
707
+ "round": 0,
708
+ "wall": 4
709
+ },
710
+ "path": [
711
+ {
712
+ "line": 500
713
+ },
714
+ {
715
+ "line": 120
716
+ },
717
+ {
718
+ "line": 400
719
+ }
720
+ ]
721
+ }
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "id": "pipe-to-solid-bar",
727
+ "title": "고치기: 관을 굵은 속찬 막대로, 경로는 그대로",
728
+ "round": 1,
729
+ "passed": true,
730
+ "misses": [],
731
+ "attempts": 2,
732
+ "steps": 1,
733
+ "seconds": 1.912,
734
+ "answer": [
735
+ {
736
+ "kind": "set-pipe",
737
+ "part": "pipe",
738
+ "radius": 30,
739
+ "wall": 0
740
+ }
741
+ ]
742
+ },
743
+ {
744
+ "id": "pipe-narrow",
745
+ "title": "고치기: 관이 끝으로 갈수록 가늘어지게 (ADR-0100 §16.2.9)",
746
+ "round": 1,
747
+ "passed": true,
748
+ "misses": [],
749
+ "attempts": 1,
750
+ "steps": 1,
751
+ "seconds": 1.217,
752
+ "answer": [
753
+ {
754
+ "kind": "set-pipe",
755
+ "part": "pipe",
756
+ "endRadius": 20
757
+ }
758
+ ]
759
+ },
760
+ {
761
+ "id": "pipe-turn-other-way",
762
+ "title": "고치기: 관이 반대쪽(-X)으로 꺾이게",
763
+ "round": 1,
764
+ "passed": true,
765
+ "misses": [],
766
+ "attempts": 2,
767
+ "steps": 3,
768
+ "seconds": 2.482,
769
+ "answer": [
770
+ {
771
+ "kind": "set-pipe",
772
+ "part": "pipe",
773
+ "path": [
774
+ {
775
+ "line": 500
776
+ },
777
+ {
778
+ "bend": {
779
+ "radius": 120,
780
+ "angle": 90,
781
+ "turn": "-X"
782
+ }
783
+ },
784
+ {
785
+ "line": 400
786
+ }
787
+ ]
788
+ },
789
+ {
790
+ "kind": "attach",
791
+ "part": "pipe",
792
+ "to": {
793
+ "plane": "mounting-plane"
794
+ },
795
+ "replace": true
796
+ },
797
+ {
798
+ "kind": "set-material",
799
+ "target": "pipe",
800
+ "material": {
801
+ "token": "palette.primary"
802
+ }
803
+ }
804
+ ]
805
+ },
806
+ {
807
+ "id": "box-tapered-top",
808
+ "title": "고치기: 상자 윗면을 절반 크기로 (ADR-0100 §16.1)",
809
+ "round": 1,
810
+ "passed": true,
811
+ "misses": [],
812
+ "attempts": 1,
813
+ "steps": 1,
814
+ "seconds": 0.769,
815
+ "answer": [
816
+ {
817
+ "kind": "set-section",
818
+ "part": "bin",
819
+ "top": {
820
+ "across": {
821
+ "x": 300,
822
+ "z": 200
823
+ }
824
+ }
825
+ }
826
+ ]
827
+ },
828
+ {
829
+ "id": "table-follows-width",
830
+ "title": "고치기: 보드에서 폭을 바꾸면 상판이 따라가게",
831
+ "round": 1,
832
+ "passed": false,
833
+ "misses": [
834
+ "the figure's size is not declared"
835
+ ],
836
+ "attempts": 1,
837
+ "steps": 1,
838
+ "seconds": 1.055,
839
+ "answer": [
840
+ {
841
+ "kind": "link-dimension",
842
+ "part": "top",
843
+ "axis": "x",
844
+ "source": {
845
+ "of": "input",
846
+ "input": "top.dimension.width"
847
+ }
848
+ }
849
+ ]
850
+ },
851
+ {
852
+ "id": "status-lamp",
853
+ "title": "고치기: 상태 값으로 램프 색 (데이터 바인딩)",
854
+ "round": 1,
855
+ "passed": true,
856
+ "misses": [],
857
+ "attempts": 3,
858
+ "steps": 2,
859
+ "seconds": 3.783,
860
+ "answer": [
861
+ {
862
+ "kind": "set-data-schema",
863
+ "schema": [
864
+ {
865
+ "name": "status",
866
+ "label": "status",
867
+ "kind": "text",
868
+ "values": [
869
+ "ALARM",
870
+ "NORMAL"
871
+ ]
872
+ }
873
+ ]
874
+ },
875
+ {
876
+ "kind": "set-data-binding",
877
+ "binding": {
878
+ "id": "status-to-lamp",
879
+ "accessor": "status",
880
+ "rule": "table",
881
+ "lookup": "code",
882
+ "targets": {
883
+ "parts": [
884
+ "lamp"
885
+ ]
886
+ },
887
+ "table": {
888
+ "ALARM": {
889
+ "color": "#ff0000",
890
+ "effect": {
891
+ "kind": "blink",
892
+ "hz": 2
893
+ }
894
+ },
895
+ "NORMAL": {
896
+ "color": "#00ff00"
897
+ }
898
+ }
899
+ }
900
+ }
901
+ ]
902
+ }
903
+ ]
904
+ }