@things-factory/figure-service 10.1.273 → 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,1167 @@
1
+ {
2
+ "at": "2026-11-03T09:31:35.151Z",
3
+ "by": "agent:hatiolab/ChatGPT",
4
+ "model": "openai-gpt-5.4-mini",
5
+ "rounds": 1,
6
+ "passed": 11,
7
+ "total": 22,
8
+ "comparedWith": "2026-11-03T09-28-50-978Z-agent_hatiolab_ChatGPT-openai-gpt-5.4-mini.json",
9
+ "worse": [],
10
+ "better": [],
11
+ "runs": [
12
+ {
13
+ "id": "roll-press",
14
+ "title": "새 피규어: 프레임 안 두 롤러, 서로 다른 색",
15
+ "round": 1,
16
+ "passed": false,
17
+ "misses": [
18
+ "1 round parts, two rollers asked"
19
+ ],
20
+ "attempts": 2,
21
+ "steps": 10,
22
+ "seconds": 5.105,
23
+ "answer": [
24
+ {
25
+ "kind": "rename",
26
+ "name": "Roll press"
27
+ },
28
+ {
29
+ "kind": "set-detail-level",
30
+ "level": "M"
31
+ },
32
+ {
33
+ "kind": "add-part",
34
+ "part": {
35
+ "id": "frame",
36
+ "kind": "box",
37
+ "dimensions": {
38
+ "width": 1200,
39
+ "height": 1600,
40
+ "depth": 700
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "kind": "attach",
46
+ "part": "frame",
47
+ "to": {
48
+ "plane": "mounting-plane"
49
+ },
50
+ "gap": 0
51
+ },
52
+ {
53
+ "kind": "set-material",
54
+ "target": "frame",
55
+ "material": {
56
+ "token": "frame-grey"
57
+ },
58
+ "palette": {
59
+ "frame-grey": "#6b7078"
60
+ }
61
+ },
62
+ {
63
+ "kind": "add-part",
64
+ "part": {
65
+ "id": "roller",
66
+ "kind": "cylinder",
67
+ "dimensions": {
68
+ "radius": 120,
69
+ "length": 620
70
+ }
71
+ }
72
+ },
73
+ {
74
+ "kind": "attach",
75
+ "part": "roller",
76
+ "to": {
77
+ "part": "frame",
78
+ "face": "top"
79
+ },
80
+ "align": {
81
+ "x": "centre",
82
+ "z": "centre"
83
+ },
84
+ "gap": -260
85
+ },
86
+ {
87
+ "kind": "make-repeat",
88
+ "part": "roller",
89
+ "axis": "x",
90
+ "pitch": 720,
91
+ "count": 2
92
+ },
93
+ {
94
+ "kind": "set-material",
95
+ "target": "roller",
96
+ "material": {
97
+ "token": "roller-blue"
98
+ },
99
+ "palette": {
100
+ "roller-blue": "#2f6fed"
101
+ }
102
+ },
103
+ {
104
+ "kind": "set-segments",
105
+ "target": "roller",
106
+ "segments": 24
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "id": "lift-table",
112
+ "title": "새 피규어: 받침 · 기둥 · 상판을 쌓기",
113
+ "round": 1,
114
+ "passed": true,
115
+ "misses": [],
116
+ "attempts": 1,
117
+ "steps": 8,
118
+ "seconds": 2.286,
119
+ "answer": [
120
+ {
121
+ "kind": "rename",
122
+ "name": "Lift table"
123
+ },
124
+ {
125
+ "kind": "set-detail-level",
126
+ "level": "M"
127
+ },
128
+ {
129
+ "kind": "add-part",
130
+ "part": {
131
+ "id": "base",
132
+ "kind": "box",
133
+ "dimensions": {
134
+ "width": 1200,
135
+ "height": 80,
136
+ "depth": 800
137
+ }
138
+ }
139
+ },
140
+ {
141
+ "kind": "attach",
142
+ "part": "base",
143
+ "to": {
144
+ "plane": "mounting-plane"
145
+ }
146
+ },
147
+ {
148
+ "kind": "add-part",
149
+ "part": {
150
+ "id": "column",
151
+ "kind": "cylinder",
152
+ "dimensions": {
153
+ "radius": 120,
154
+ "length": 700
155
+ }
156
+ }
157
+ },
158
+ {
159
+ "kind": "attach",
160
+ "part": "column",
161
+ "to": {
162
+ "part": "base",
163
+ "face": "top"
164
+ },
165
+ "align": {
166
+ "x": "centre",
167
+ "z": "centre"
168
+ }
169
+ },
170
+ {
171
+ "kind": "add-part",
172
+ "part": {
173
+ "id": "top",
174
+ "kind": "box",
175
+ "dimensions": {
176
+ "width": 1200,
177
+ "height": 60,
178
+ "depth": 800
179
+ }
180
+ }
181
+ },
182
+ {
183
+ "kind": "attach",
184
+ "part": "top",
185
+ "to": {
186
+ "part": "column",
187
+ "face": "top"
188
+ },
189
+ "align": {
190
+ "x": "centre",
191
+ "z": "centre"
192
+ }
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "id": "elbow-flange",
198
+ "title": "새 피규어: 엘보 배관과 끝의 플랜지 (ADR-0100 §16.2)",
199
+ "round": 1,
200
+ "passed": true,
201
+ "misses": [],
202
+ "attempts": 2,
203
+ "steps": 6,
204
+ "seconds": 8.753,
205
+ "answer": [
206
+ {
207
+ "kind": "rename",
208
+ "name": "Elbow"
209
+ },
210
+ {
211
+ "kind": "set-detail-level",
212
+ "level": "M"
213
+ },
214
+ {
215
+ "kind": "add-part",
216
+ "part": {
217
+ "id": "pipe",
218
+ "kind": "pipe",
219
+ "dimensions": {
220
+ "radius": 40,
221
+ "wall": 5
222
+ },
223
+ "path": [
224
+ {
225
+ "line": 200
226
+ },
227
+ {
228
+ "bend": {
229
+ "radius": 50,
230
+ "angle": 90,
231
+ "toward": 90
232
+ }
233
+ },
234
+ {
235
+ "line": 300
236
+ }
237
+ ]
238
+ }
239
+ },
240
+ {
241
+ "kind": "attach",
242
+ "part": "pipe",
243
+ "to": {
244
+ "plane": "mounting-plane"
245
+ }
246
+ },
247
+ {
248
+ "kind": "add-part",
249
+ "part": {
250
+ "id": "flange",
251
+ "kind": "cylinder",
252
+ "dimensions": {
253
+ "radius": 55,
254
+ "length": 10
255
+ }
256
+ }
257
+ },
258
+ {
259
+ "kind": "attach",
260
+ "part": "flange",
261
+ "to": {
262
+ "part": "pipe",
263
+ "face": "right"
264
+ },
265
+ "facing": "flush"
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "id": "conveyor",
271
+ "title": "새 피규어: 프레임 위 롤러를 반복으로",
272
+ "round": 1,
273
+ "passed": true,
274
+ "misses": [],
275
+ "attempts": 1,
276
+ "steps": 6,
277
+ "seconds": 1.813,
278
+ "answer": [
279
+ {
280
+ "kind": "rename",
281
+ "name": "Conveyor"
282
+ },
283
+ {
284
+ "kind": "add-part",
285
+ "part": {
286
+ "id": "frame",
287
+ "kind": "box",
288
+ "dimensions": {
289
+ "width": 2000,
290
+ "height": 100,
291
+ "depth": 600
292
+ }
293
+ }
294
+ },
295
+ {
296
+ "kind": "attach",
297
+ "part": "frame",
298
+ "to": {
299
+ "plane": "mounting-plane"
300
+ }
301
+ },
302
+ {
303
+ "kind": "add-part",
304
+ "part": {
305
+ "id": "roller",
306
+ "kind": "cylinder",
307
+ "dimensions": {
308
+ "radius": 25,
309
+ "length": 560
310
+ }
311
+ }
312
+ },
313
+ {
314
+ "kind": "attach",
315
+ "part": "roller",
316
+ "to": {
317
+ "part": "frame",
318
+ "face": "top"
319
+ },
320
+ "facing": "flush"
321
+ },
322
+ {
323
+ "kind": "make-repeat",
324
+ "part": "roller",
325
+ "axis": "x",
326
+ "pitch": 150
327
+ }
328
+ ]
329
+ },
330
+ {
331
+ "id": "two-joint-arm",
332
+ "title": "새 피규어: 두 관절로 도는 팔",
333
+ "round": 1,
334
+ "passed": false,
335
+ "misses": [
336
+ "not made: The figure could not be made. / JOINT_SCHEMA: steps[5]: set-joint: joints.base-lower.body1: [object Object] is not a place on a part; at: 'origin' is. The parts at steps[5] are: base, lower-arm."
337
+ ],
338
+ "seconds": 8.17
339
+ },
340
+ {
341
+ "id": "cabinet-door",
342
+ "title": "새 피규어: 경첩 문 0~90°와 여는 클립",
343
+ "round": 1,
344
+ "passed": false,
345
+ "misses": [
346
+ "not made: The figure could not be made. / JOINT_SCHEMA: steps[5]: set-joint: joints.door-hinge.body0: [object Object] is not a place on a part; at: 'origin' is. The parts at steps[5] are: cabinet-body, cabinet-door."
347
+ ],
348
+ "seconds": 6.209
349
+ },
350
+ {
351
+ "id": "hopper",
352
+ "title": "새 피규어: 윗면이 넓은 사각 호퍼 (ADR-0100 §16.1)",
353
+ "round": 1,
354
+ "passed": true,
355
+ "misses": [],
356
+ "attempts": 1,
357
+ "steps": 5,
358
+ "seconds": 1.606,
359
+ "answer": [
360
+ {
361
+ "kind": "rename",
362
+ "name": "Hopper"
363
+ },
364
+ {
365
+ "kind": "set-detail-level",
366
+ "level": "M"
367
+ },
368
+ {
369
+ "kind": "add-part",
370
+ "part": {
371
+ "id": "hopper",
372
+ "kind": "tapered-box",
373
+ "dimensions": {
374
+ "width": 300,
375
+ "depth": 300,
376
+ "height": 600,
377
+ "topWidth": 800,
378
+ "topDepth": 800,
379
+ "round": 0,
380
+ "topRound": 0
381
+ }
382
+ }
383
+ },
384
+ {
385
+ "kind": "set-section-corner",
386
+ "part": "hopper",
387
+ "corner": null
388
+ },
389
+ {
390
+ "kind": "attach",
391
+ "part": "hopper",
392
+ "to": {
393
+ "plane": "mounting-plane"
394
+ },
395
+ "facing": "flush"
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "id": "quadruped-legs",
401
+ "title": "새 피규어: 몸통과 좌우 대칭인 다리 넷, 다리마다 무릎",
402
+ "round": 1,
403
+ "passed": false,
404
+ "misses": [
405
+ "0 moving parts, four legs of two joints asked"
406
+ ],
407
+ "attempts": 3,
408
+ "steps": 20,
409
+ "seconds": 11.274,
410
+ "answer": [
411
+ {
412
+ "kind": "rename",
413
+ "name": "Quadruped"
414
+ },
415
+ {
416
+ "kind": "set-detail-level",
417
+ "level": "M"
418
+ },
419
+ {
420
+ "kind": "add-part",
421
+ "part": {
422
+ "id": "body",
423
+ "kind": "box",
424
+ "dimensions": {
425
+ "width": 300,
426
+ "height": 120,
427
+ "depth": 180
428
+ }
429
+ }
430
+ },
431
+ {
432
+ "kind": "attach",
433
+ "part": "body",
434
+ "to": {
435
+ "plane": "mounting-plane"
436
+ },
437
+ "gap": 240
438
+ },
439
+ {
440
+ "kind": "add-part",
441
+ "part": {
442
+ "id": "fl-thigh",
443
+ "kind": "box",
444
+ "dimensions": {
445
+ "width": 40,
446
+ "height": 120,
447
+ "depth": 40
448
+ }
449
+ }
450
+ },
451
+ {
452
+ "kind": "attach",
453
+ "part": "fl-thigh",
454
+ "to": {
455
+ "part": "body",
456
+ "face": "bottom"
457
+ },
458
+ "align": {
459
+ "x": "min",
460
+ "z": "min"
461
+ }
462
+ },
463
+ {
464
+ "kind": "add-part",
465
+ "part": {
466
+ "id": "fl-shin",
467
+ "kind": "box",
468
+ "dimensions": {
469
+ "width": 32,
470
+ "height": 120,
471
+ "depth": 32
472
+ }
473
+ }
474
+ },
475
+ {
476
+ "kind": "attach",
477
+ "part": "fl-shin",
478
+ "to": {
479
+ "part": "fl-thigh",
480
+ "face": "bottom"
481
+ }
482
+ },
483
+ {
484
+ "kind": "add-part",
485
+ "part": {
486
+ "id": "fr-thigh",
487
+ "kind": "box",
488
+ "dimensions": {
489
+ "width": 40,
490
+ "height": 120,
491
+ "depth": 40
492
+ }
493
+ }
494
+ },
495
+ {
496
+ "kind": "attach",
497
+ "part": "fr-thigh",
498
+ "to": {
499
+ "part": "body",
500
+ "face": "bottom"
501
+ },
502
+ "align": {
503
+ "x": "max",
504
+ "z": "min"
505
+ }
506
+ },
507
+ {
508
+ "kind": "add-part",
509
+ "part": {
510
+ "id": "fr-shin",
511
+ "kind": "box",
512
+ "dimensions": {
513
+ "width": 32,
514
+ "height": 120,
515
+ "depth": 32
516
+ }
517
+ }
518
+ },
519
+ {
520
+ "kind": "attach",
521
+ "part": "fr-shin",
522
+ "to": {
523
+ "part": "fr-thigh",
524
+ "face": "bottom"
525
+ }
526
+ },
527
+ {
528
+ "kind": "add-part",
529
+ "part": {
530
+ "id": "bl-thigh",
531
+ "kind": "box",
532
+ "dimensions": {
533
+ "width": 40,
534
+ "height": 120,
535
+ "depth": 40
536
+ }
537
+ }
538
+ },
539
+ {
540
+ "kind": "attach",
541
+ "part": "bl-thigh",
542
+ "to": {
543
+ "part": "body",
544
+ "face": "bottom"
545
+ },
546
+ "align": {
547
+ "x": "min",
548
+ "z": "max"
549
+ }
550
+ },
551
+ {
552
+ "kind": "add-part",
553
+ "part": {
554
+ "id": "bl-shin",
555
+ "kind": "box",
556
+ "dimensions": {
557
+ "width": 32,
558
+ "height": 120,
559
+ "depth": 32
560
+ }
561
+ }
562
+ },
563
+ {
564
+ "kind": "attach",
565
+ "part": "bl-shin",
566
+ "to": {
567
+ "part": "bl-thigh",
568
+ "face": "bottom"
569
+ }
570
+ },
571
+ {
572
+ "kind": "add-part",
573
+ "part": {
574
+ "id": "br-thigh",
575
+ "kind": "box",
576
+ "dimensions": {
577
+ "width": 40,
578
+ "height": 120,
579
+ "depth": 40
580
+ }
581
+ }
582
+ },
583
+ {
584
+ "kind": "attach",
585
+ "part": "br-thigh",
586
+ "to": {
587
+ "part": "body",
588
+ "face": "bottom"
589
+ },
590
+ "align": {
591
+ "x": "max",
592
+ "z": "max"
593
+ }
594
+ },
595
+ {
596
+ "kind": "add-part",
597
+ "part": {
598
+ "id": "br-shin",
599
+ "kind": "box",
600
+ "dimensions": {
601
+ "width": 32,
602
+ "height": 120,
603
+ "depth": 32
604
+ }
605
+ }
606
+ },
607
+ {
608
+ "kind": "attach",
609
+ "part": "br-shin",
610
+ "to": {
611
+ "part": "br-thigh",
612
+ "face": "bottom"
613
+ }
614
+ }
615
+ ]
616
+ },
617
+ {
618
+ "id": "pipeline-run",
619
+ "title": "새 피규어: 굽힘 셋 이상인 곡선 배관과 끝 플랜지 (ADR-0100 §16.2)",
620
+ "round": 1,
621
+ "passed": true,
622
+ "misses": [],
623
+ "attempts": 2,
624
+ "steps": 6,
625
+ "seconds": 3.786,
626
+ "answer": [
627
+ {
628
+ "kind": "rename",
629
+ "name": "Pipeline"
630
+ },
631
+ {
632
+ "kind": "set-detail-level",
633
+ "level": "M"
634
+ },
635
+ {
636
+ "kind": "add-part",
637
+ "part": {
638
+ "id": "pipe",
639
+ "kind": "pipe",
640
+ "dimensions": {
641
+ "radius": 50,
642
+ "wall": 8
643
+ },
644
+ "path": [
645
+ {
646
+ "line": 1000
647
+ },
648
+ {
649
+ "bend": {
650
+ "radius": 75,
651
+ "angle": 90,
652
+ "toward": 90
653
+ }
654
+ },
655
+ {
656
+ "line": 500
657
+ },
658
+ {
659
+ "bend": {
660
+ "radius": 75,
661
+ "angle": 90,
662
+ "toward": 0
663
+ }
664
+ },
665
+ {
666
+ "line": 500
667
+ },
668
+ {
669
+ "bend": {
670
+ "radius": 75,
671
+ "angle": 90,
672
+ "toward": 270
673
+ }
674
+ },
675
+ {
676
+ "line": 300
677
+ }
678
+ ]
679
+ }
680
+ },
681
+ {
682
+ "kind": "attach",
683
+ "part": "pipe",
684
+ "to": {
685
+ "plane": "mounting-plane"
686
+ }
687
+ },
688
+ {
689
+ "kind": "add-part",
690
+ "part": {
691
+ "id": "flange",
692
+ "kind": "cylinder",
693
+ "dimensions": {
694
+ "radius": 80,
695
+ "length": 20
696
+ }
697
+ }
698
+ },
699
+ {
700
+ "kind": "attach",
701
+ "part": "flange",
702
+ "to": {
703
+ "part": "pipe",
704
+ "face": "top"
705
+ },
706
+ "facing": "flush"
707
+ }
708
+ ]
709
+ },
710
+ {
711
+ "id": "pipe-rack",
712
+ "title": "새 피규어: 나란히 가는 곡선 배관 두 줄",
713
+ "round": 1,
714
+ "passed": false,
715
+ "misses": [
716
+ "not made: The figure could not be made. / INSTANCE_SIZE_RANGE: steps[3]: declare-instance-size: size.x: the authored size 1075 mm must lie within 325…625 mm. The parts at steps[3] are: pipe."
717
+ ],
718
+ "seconds": 3.945
719
+ },
720
+ {
721
+ "id": "tapering-bent-bar",
722
+ "title": "새 피규어: 아래는 굵고 위로 갈수록 가는 휜 막대 (ADR-0100 §16.2.9)",
723
+ "round": 1,
724
+ "passed": true,
725
+ "misses": [],
726
+ "attempts": 1,
727
+ "steps": 5,
728
+ "seconds": 1.391,
729
+ "answer": [
730
+ {
731
+ "kind": "rename",
732
+ "name": "Bent bar"
733
+ },
734
+ {
735
+ "kind": "set-detail-level",
736
+ "level": "M"
737
+ },
738
+ {
739
+ "kind": "set-placement",
740
+ "placement": "floor"
741
+ },
742
+ {
743
+ "kind": "add-part",
744
+ "part": {
745
+ "id": "bar",
746
+ "kind": "pipe",
747
+ "dimensions": {
748
+ "radius": 40,
749
+ "wall": 0,
750
+ "endRadius": 20
751
+ },
752
+ "path": [
753
+ {
754
+ "line": 500
755
+ },
756
+ {
757
+ "bend": {
758
+ "radius": 120,
759
+ "angle": 90,
760
+ "toward": 90
761
+ }
762
+ },
763
+ {
764
+ "line": 500
765
+ }
766
+ ]
767
+ }
768
+ },
769
+ {
770
+ "kind": "attach",
771
+ "part": "bar",
772
+ "to": {
773
+ "plane": "mounting-plane"
774
+ }
775
+ }
776
+ ]
777
+ },
778
+ {
779
+ "id": "pipe-down-into-tank",
780
+ "title": "새 피규어: 아래로 꺾여 내려가는 배관 끝에 플랜지 (ADR-0100 §16.2.7)",
781
+ "round": 1,
782
+ "passed": false,
783
+ "misses": [
784
+ "no pipe ends heading down"
785
+ ],
786
+ "attempts": 3,
787
+ "steps": 7,
788
+ "seconds": 4.482,
789
+ "answer": [
790
+ {
791
+ "kind": "set-placement",
792
+ "placement": "floor"
793
+ },
794
+ {
795
+ "kind": "rename",
796
+ "name": "Drop pipe"
797
+ },
798
+ {
799
+ "kind": "set-detail-level",
800
+ "level": "M"
801
+ },
802
+ {
803
+ "kind": "add-part",
804
+ "part": {
805
+ "id": "pipe",
806
+ "kind": "pipe",
807
+ "dimensions": {
808
+ "radius": 50,
809
+ "wall": 5
810
+ },
811
+ "path": [
812
+ {
813
+ "line": 1000
814
+ },
815
+ {
816
+ "bend": {
817
+ "radius": 100,
818
+ "angle": 90,
819
+ "toward": 90
820
+ }
821
+ },
822
+ {
823
+ "line": 800
824
+ },
825
+ {
826
+ "bend": {
827
+ "radius": 100,
828
+ "angle": 90,
829
+ "toward": 180
830
+ }
831
+ },
832
+ {
833
+ "line": 500
834
+ }
835
+ ]
836
+ }
837
+ },
838
+ {
839
+ "kind": "attach",
840
+ "part": "pipe",
841
+ "to": {
842
+ "plane": "mounting-plane"
843
+ }
844
+ },
845
+ {
846
+ "kind": "add-part",
847
+ "part": {
848
+ "id": "flange",
849
+ "kind": "cylinder",
850
+ "dimensions": {
851
+ "radius": 75,
852
+ "length": 20
853
+ }
854
+ }
855
+ },
856
+ {
857
+ "kind": "attach",
858
+ "part": "flange",
859
+ "to": {
860
+ "part": "pipe",
861
+ "face": "bottom"
862
+ },
863
+ "facing": "flush"
864
+ }
865
+ ]
866
+ },
867
+ {
868
+ "id": "mixer-port",
869
+ "title": "고치기: 포트 폭 두 배와 새 색, 몸통은 그대로",
870
+ "round": 1,
871
+ "passed": false,
872
+ "misses": [
873
+ "port width 80, asked 160"
874
+ ],
875
+ "attempts": 2,
876
+ "steps": 2,
877
+ "seconds": 2.358,
878
+ "answer": [
879
+ {
880
+ "kind": "link-dimension",
881
+ "part": "port",
882
+ "axis": "x",
883
+ "source": {
884
+ "of": "part",
885
+ "part": "body",
886
+ "axis": "x"
887
+ },
888
+ "times": 0.5714285714285714
889
+ },
890
+ {
891
+ "kind": "set-material",
892
+ "target": "port",
893
+ "material": {
894
+ "token": "palette.accent"
895
+ },
896
+ "palette": {
897
+ "palette.accent": "#d98c2b"
898
+ }
899
+ }
900
+ ]
901
+ },
902
+ {
903
+ "id": "open-tote",
904
+ "title": "고치기: 상자를 위가 열린 통으로, 벽 10mm",
905
+ "round": 1,
906
+ "passed": false,
907
+ "misses": [
908
+ "its top is not open",
909
+ "its bottom is open too"
910
+ ],
911
+ "attempts": 1,
912
+ "steps": 1,
913
+ "seconds": 1.36,
914
+ "answer": [
915
+ {
916
+ "kind": "set-cavity",
917
+ "part": "bin",
918
+ "cavity": {
919
+ "wall": 10,
920
+ "start": "open",
921
+ "end": {
922
+ "closed": 15
923
+ }
924
+ }
925
+ }
926
+ ]
927
+ },
928
+ {
929
+ "id": "pipe-extend",
930
+ "title": "고치기: 관 끝에 아래로 꺾이는 굽힘과 직선 더하기 (ADR-0100 §16.2)",
931
+ "round": 1,
932
+ "passed": false,
933
+ "misses": [
934
+ "the pipe as it was is changed",
935
+ "1 pieces added, a bend and a run asked",
936
+ "it ends heading 0, 0, -1, down asked"
937
+ ],
938
+ "attempts": 3,
939
+ "steps": 1,
940
+ "seconds": 3.15,
941
+ "answer": [
942
+ {
943
+ "kind": "set-pipe",
944
+ "part": "pipe",
945
+ "path": [
946
+ {
947
+ "line": 500
948
+ },
949
+ {
950
+ "bend": {
951
+ "radius": 120,
952
+ "angle": 90,
953
+ "toward": 90
954
+ }
955
+ },
956
+ {
957
+ "bend": {
958
+ "radius": 120,
959
+ "angle": 90,
960
+ "toward": 180
961
+ }
962
+ },
963
+ {
964
+ "line": 300
965
+ }
966
+ ]
967
+ }
968
+ ]
969
+ },
970
+ {
971
+ "id": "pipe-to-duct",
972
+ "title": "고치기: 원형 관을 사각 덕트로, 경로는 그대로",
973
+ "round": 1,
974
+ "passed": false,
975
+ "misses": [
976
+ "not made: The figure could not be made. / SCHEMA: steps[1]: add-part: duct.pipe: duct becomes a pipe with a path and a section: a radius, or a width and a depth. The parts at steps[1] are: none."
977
+ ],
978
+ "seconds": 5.111
979
+ },
980
+ {
981
+ "id": "pipe-to-solid-bar",
982
+ "title": "고치기: 관을 굵은 속찬 막대로, 경로는 그대로",
983
+ "round": 1,
984
+ "passed": true,
985
+ "misses": [],
986
+ "attempts": 1,
987
+ "steps": 1,
988
+ "seconds": 1.074,
989
+ "answer": [
990
+ {
991
+ "kind": "set-pipe",
992
+ "part": "pipe",
993
+ "radius": 30,
994
+ "wall": 0
995
+ }
996
+ ]
997
+ },
998
+ {
999
+ "id": "pipe-narrow",
1000
+ "title": "고치기: 관이 끝으로 갈수록 가늘어지게 (ADR-0100 §16.2.9)",
1001
+ "round": 1,
1002
+ "passed": true,
1003
+ "misses": [],
1004
+ "attempts": 2,
1005
+ "steps": 1,
1006
+ "seconds": 2.383,
1007
+ "answer": [
1008
+ {
1009
+ "kind": "set-pipe",
1010
+ "part": "pipe",
1011
+ "endRadius": 20
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "id": "pipe-turn-other-way",
1017
+ "title": "고치기: 관이 반대쪽(-X)으로 꺾이게",
1018
+ "round": 1,
1019
+ "passed": false,
1020
+ "misses": [
1021
+ "it ends heading 0, 1, 0, -X asked",
1022
+ "its runs and radius are 500, 80, 120, 80, 400, kept asked"
1023
+ ],
1024
+ "attempts": 2,
1025
+ "steps": 1,
1026
+ "seconds": 3.518,
1027
+ "answer": [
1028
+ {
1029
+ "kind": "set-pipe",
1030
+ "part": "pipe",
1031
+ "path": [
1032
+ {
1033
+ "line": 500
1034
+ },
1035
+ {
1036
+ "bend": {
1037
+ "radius": 80,
1038
+ "angle": 90,
1039
+ "toward": 270
1040
+ }
1041
+ },
1042
+ {
1043
+ "line": 120
1044
+ },
1045
+ {
1046
+ "bend": {
1047
+ "radius": 80,
1048
+ "angle": 90,
1049
+ "toward": 90
1050
+ }
1051
+ },
1052
+ {
1053
+ "line": 400
1054
+ }
1055
+ ]
1056
+ }
1057
+ ]
1058
+ },
1059
+ {
1060
+ "id": "box-tapered-top",
1061
+ "title": "고치기: 상자 윗면을 절반 크기로 (ADR-0100 §16.1)",
1062
+ "round": 1,
1063
+ "passed": true,
1064
+ "misses": [],
1065
+ "attempts": 1,
1066
+ "steps": 1,
1067
+ "seconds": 0.873,
1068
+ "answer": [
1069
+ {
1070
+ "kind": "set-section",
1071
+ "part": "bin",
1072
+ "top": {
1073
+ "across": {
1074
+ "x": 300,
1075
+ "z": 200
1076
+ }
1077
+ }
1078
+ }
1079
+ ]
1080
+ },
1081
+ {
1082
+ "id": "table-follows-width",
1083
+ "title": "고치기: 보드에서 폭을 바꾸면 상판이 따라가게",
1084
+ "round": 1,
1085
+ "passed": true,
1086
+ "misses": [],
1087
+ "attempts": 3,
1088
+ "steps": 2,
1089
+ "seconds": 3.063,
1090
+ "answer": [
1091
+ {
1092
+ "kind": "declare-instance-size",
1093
+ "range": {
1094
+ "x": {
1095
+ "min": 0.000001,
1096
+ "max": 1.7976931348623157e+308
1097
+ }
1098
+ }
1099
+ },
1100
+ {
1101
+ "kind": "link-dimension",
1102
+ "part": "top",
1103
+ "axis": "x",
1104
+ "source": {
1105
+ "of": "instance",
1106
+ "axis": "x"
1107
+ }
1108
+ }
1109
+ ]
1110
+ },
1111
+ {
1112
+ "id": "status-lamp",
1113
+ "title": "고치기: 상태 값으로 램프 색 (데이터 바인딩)",
1114
+ "round": 1,
1115
+ "passed": true,
1116
+ "misses": [],
1117
+ "attempts": 1,
1118
+ "steps": 2,
1119
+ "seconds": 1.405,
1120
+ "answer": [
1121
+ {
1122
+ "kind": "set-data-schema",
1123
+ "schema": [
1124
+ {
1125
+ "name": "status",
1126
+ "kind": "text",
1127
+ "values": [
1128
+ "ALARM",
1129
+ "NORMAL"
1130
+ ],
1131
+ "default": "NORMAL"
1132
+ }
1133
+ ]
1134
+ },
1135
+ {
1136
+ "kind": "set-data-binding",
1137
+ "binding": {
1138
+ "id": "lamp-status-color",
1139
+ "accessor": "status",
1140
+ "rule": "table",
1141
+ "lookup": "code",
1142
+ "targets": {
1143
+ "parts": [
1144
+ "lamp"
1145
+ ]
1146
+ },
1147
+ "table": {
1148
+ "ALARM": {
1149
+ "color": "#ff0000",
1150
+ "effect": {
1151
+ "kind": "blink",
1152
+ "hz": 2
1153
+ }
1154
+ },
1155
+ "NORMAL": {
1156
+ "color": "#00ff00"
1157
+ }
1158
+ },
1159
+ "legend": {
1160
+ "role": "palette"
1161
+ }
1162
+ }
1163
+ }
1164
+ ]
1165
+ }
1166
+ ]
1167
+ }