-
Notifications
You must be signed in to change notification settings - Fork 0
/
llm_dataset.py
863 lines (840 loc) · 55.5 KB
/
llm_dataset.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
example_tasks = {1: "Pour the water from the bottle into the glass",
2: "Wave hi!",
3: "Do a wave!",
4: "Move the mustard to the table",
5: "Move the cheezit to the top shelf",
6: "Move the pringles to the right table",
7: "Move the cheezit to the bottom shelf",
8: "move the food to the left table",
9: "move the snacks to the right table",
10: "Pick the cup",
11: "Place the cheezit on the left table",
12: "wipe the table",
13: "Move the water bottle to the right table",
14: "Move the mug to the left table",
15: "Move the groceries from the table to the bottom shelf then wipe the left table",
16: "When the glass is in zone 2, Pour the water from the bottle into the glass",
17: "Move the mustard to the table when it is on the shelf",
18: "When the cheezit is in zone 1, Move the cheezit to the top shelf",
19: "When the pringles is on the left table, Move the pringles to the right table",
20: "Move the cheezit to the bottom shelf if it is placed in zone 1",
21: "move the food to the left table, if there is food in zone 3",
22: "When I put snacks on the left table, move the snacks to the right table",
23: "If I put the cup in zone 2, Pick the cup",
24: "Place the cheezit on the left table, if I put it in zone 4",
25: "When the water bottle is on the left table, Move the water bottle to the right table",
26: "Move the mug to the left table, when it is on the right table",
27: "When I put groceries on the left table, Move the groceries to the bottom shelf then wipe the left table",
28: "After 2 minutes, Pour the water from the bottle into the glass",
29: "After 2 minutes, Wave hi!",
30: "Do a wave after 10 minutes!",
31: "In 1 minute, Move the mustard to the table",
32: "Move the cheezit to the top shelf after 5 minutes",
33: "After 5 minutes, Move the pringles to the right table",
34: "Move the cheezit to the bottom shelf, in half a minute",
35: "After 3 minutes, move the food to the left table",
36: "In ten minutes, move the snacks to the right table",
37: "Pick the cup, after 5 minutes have passed.",
38: "Place the cheezit on the left table after one minute has passed",
39: "In 15 minutes wipe the table",
40: "After four minutes Move the water bottle to the right table",
41: "Move the mug to the left table after 3 minutes",
42: "After three minutes have passed Move the groceries from the table to the bottom shelf then wipe the left table",
43: "When the glass is in zone 2, after 2 minutes, Pour the water from the bottle into the glass",
44: "When it is on the shelf for 1 minute, Move the mustard to the table",
45: "When the cheezit is in zone 1, move the cheezit to the top shelf after 5 minutes",
46: "When the pringles has been on the left table for 5 minutes, move the pringles to the right table",
47: "Move the cheezit to the bottom shelf, if it is placed in zone 1 for half a minute",
48: "If there is food in zone 3 after 3 minutes, move the food to the left table",
49: "When I put snacks on the left table wait for ten minutes, then move the snacks to the right table",
50: "If I put the cup in zone 2, pick the cup after 5 minutes have passed.",
51: "Place the cheezit on the left table if I put it in zone 4 and one minute has passed",
52: "When the water bottle is on the left table for four minutes move the water bottle to the right table",
53: "Move the mug to the left table when it is on the right table for 3 minutes",
54: "When I put groceries on the left table, wait for three minutes to pass, then move the groceries from the table to the bottom shelf then wipe the left table"
}
example_triggers = {1: "No trigger",
2: "No trigger",
3: "No trigger",
4: "No trigger",
5: "No trigger",
6: "No trigger",
7: "No trigger",
8: "No trigger",
9: "No trigger",
10: "No trigger",
11: "No trigger",
12: "No trigger",
13: "No trigger",
14: "No trigger",
15: "No trigger",
16: "Zone trigger, zone 2",
17: "Zone trigger, shelf",
18: "Zone trigger, zone 1",
19: "Zone trigger, left table",
20: "Zone trigger, zone 1",
21: "Zone trigger, zone 3",
22: "Zone trigger, left table",
23: "Zone trigger, zone 2",
24: "Zone trigger, left table",
25: "Zone trigger, left table",
26: "Zone trigger, right table",
27: "Zone trigger, table",
28: "Time trigger, 2 minutes",
29: "Time trigger, 2 minutes",
30: "Time trigger, 10 minutes",
31: "Time trigger, 1 minutes",
32: "Time trigger, 5 minutes",
33: "Time trigger, 5 minutes",
34: "Time trigger, 0.5 minutes",
35: "Time trigger, 3 minutes",
36: "Time trigger, 10 minutes",
37: "Time trigger, 5 minutes",
38: "Time trigger, 1 minutes",
39: "Time trigger, 15 minutes",
40: "Time trigger, 4 minutes",
41: "Time trigger, 3 minutes",
42: "Time trigger, 3 minutes",
43: "Zone and time trigger, zone 2, 2 minutes",
44: "Zone and time trigger, shelf, 1 minutes",
45: "Zone and time trigger, zone 1, 5 minutes",
46: "Zone and time trigger, left table, 5 minutes",
47: "Zone and time trigger, zone 1, 0.5 minutes",
48: "Zone and time trigger, zone 3, 3 minutes",
49: "Zone and time trigger, left table, 10 minutes",
50: "Zone and time trigger, zone 2, 5 minutes",
51: "Zone and time trigger, left table, 1 minutes",
52: "Zone and time trigger, left table, 4 minutes",
53: "Zone and time trigger, right table, 3 minutes",
54: "Zone and time trigger, table, 3 minutes"
}
example_object_names = {1: ["glass", "pringles", "mustard", "bottle", "cheezit"],
2: ["glass", "pringles", "mustard", "bottle", "cheezit"],
3: ["glass", "pringles", "mustard", "bottle", "cheezit"],
4: ["glass", "pringles", "mustard", "bottle", "cheezit"],
5: ["glass", "pringles", "mustard", "bottle", "cheezit"],
6: ["glass", "pringles", "mustard", "bottle", "cheezit"],
7: ["glass", "pringles", "mustard", "bottle", "cheezit"],
8: ["glass", "pringles", "mustard", "cheezit"],
9: ["glass", "pringles", "mustard", "cheezit"],
10: ["pringles", "mustard", "glass", "bottle"],
11: ["pringles", "mustard", "bottle", "cheezit"],
12: ["glass", "pringles", "mustard", "bottle", "sponge"],
13: ["glass", "pringles", "sponge", "bottle", "cheezit"],
14: ["cup", "pringles", "cheezit"],
15: ["cup", "pringles", "cheezit", "sponge"],
16: ["glass", "pringles", "mustard", "bottle", "cheezit"],
17: ["glass", "pringles", "mustard", "bottle", "cheezit"],
18: ["glass", "pringles", "mustard", "bottle", "cheezit"],
19: ["glass", "pringles", "mustard", "bottle", "cheezit"],
20: ["glass", "pringles", "mustard", "bottle", "cheezit"],
21: ["glass", "pringles", "mustard", "cheezit"],
22: ["glass", "pringles", "mustard", "cheezit"],
23: ["pringles", "mustard", "glass", "bottle"],
24: ["pringles", "mustard", "bottle", "cheezit"],
25: ["glass", "pringles", "sponge", "bottle", "cheezit"],
26: ["cup", "pringles", "cheezit"],
27: ["cup", "pringles", "cheezit", "sponge"],
28: ["glass", "pringles", "mustard", "bottle", "cheezit"],
29: ["glass", "pringles", "mustard", "bottle", "cheezit"],
30: ["glass", "pringles", "mustard", "bottle", "cheezit"],
31: ["glass", "pringles", "mustard", "bottle", "cheezit"],
32: ["glass", "pringles", "mustard", "bottle", "cheezit"],
33: ["glass", "pringles", "mustard", "bottle", "cheezit"],
34: ["glass", "pringles", "mustard", "bottle", "cheezit"],
35: ["glass", "pringles", "mustard", "cheezit"],
36: ["glass", "pringles", "mustard", "cheezit"],
37: ["pringles", "mustard", "glass", "bottle"],
38: ["pringles", "mustard", "bottle", "cheezit"],
39: ["glass", "pringles", "mustard", "bottle", "sponge"],
40: ["glass", "pringles", "sponge", "bottle", "cheezit"],
41: ["cup", "pringles", "cheezit"],
42: ["cup", "pringles", "cheezit", "sponge"],
43: ["glass", "pringles", "mustard", "bottle", "cheezit"],
44: ["glass", "pringles", "mustard", "bottle", "cheezit"],
45: ["glass", "pringles", "mustard", "bottle", "cheezit"],
46: ["glass", "pringles", "mustard", "bottle", "cheezit"],
47: ["glass", "pringles", "mustard", "bottle", "cheezit"],
48: ["glass", "pringles", "mustard", "cheezit"],
49: ["glass", "pringles", "mustard", "cheezit"],
50: ["pringles", "mustard", "glass", "bottle"],
51: ["pringles", "mustard", "bottle", "cheezit"],
52: ["glass", "pringles", "sponge", "bottle", "cheezit"],
53: ["cup", "pringles", "cheezit"],
54: ["cup", "pringles", "cheezit", "sponge"]
}
example_locations = {1: ["table on the right", "table on the left"],
2: ["table on the right", "table on the left"],
3: ["table on the right", "table on the left"],
4: ["table on the right", "table on the left", "dish area"],
5: ["table on the right", "table on the left", "bottom shelf", "top shelf"],
6: ["bottom shelf", "top shelf", "table on the right", "table on the left"],
7: ["bottom shelf", "top shelf"],
8: ["table on the left", "table on the right"],
9: ["bottom shelf", "top shelf", "table on the left", "table on the right"],
10: ["dish area", "table"],
11: ["dish area", "table on the left"],
12: ["table on the left", "Zone 1"],
13: ["dish area", "table on the right", "table on the left"],
14: ["dish area", "table on the right", "table on the left"],
15: ["table on the right", "table on the left", "bottom shelf", "top shelf"],
16: ["table on the right", "table on the left", "zone 2"],
17: ["table on the right", "table on the left", "shelf"],
18: ["table on the right", "table on the left", "bottom shelf", "top shelf", "zone 1"],
19: ["bottom shelf", "top shelf", "table on the right", "table on the left"],
20: ["zone 1", "bottom shelf", "top shelf", "table on the left"],
21: ["table on the left", "zone 3", "table on the right"],
22: ["bottom shelf", "top shelf", "table on the left", "table on the right"],
23: ["dish area", "table", "zone 1", "zone 2"],
24: ["dish area", "table on the left", "zone 2", "zone 4"],
25: ["dish area", "table on the right", "table on the left"],
26: ["dish area", "table on the right", "table on the left"],
27: ["table on the right", "table on the left", "bottom shelf", "top shelf"],
28: ["table on the right", "table on the left"],
29: ["table on the right", "table on the left"],
30: ["table on the right", "table on the left"],
31: ["table on the right", "table on the left", "dish area"],
32: ["table on the right", "table on the left", "bottom shelf", "top shelf"],
33: ["bottom shelf", "top shelf", "table on the right", "table on the left"],
34: ["bottom shelf", "top shelf"],
35: ["table on the left", "table on the right"],
36: ["bottom shelf", "top shelf", "table on the left", "table on the right"],
37: ["dish area", "table"],
38: ["dish area", "table on the left"],
39: ["table on the left", "Zone 1"],
40: ["dish area", "table on the right", "table on the left"],
41: ["dish area", "table on the right", "table on the left"],
42: ["table on the right", "table on the left", "bottom shelf", "top shelf"],
43: ["table on the right", "table on the left", "zone 2"],
44: ["table on the right", "table on the left", "shelf"],
45: ["table on the right", "table on the left", "bottom shelf", "top shelf", "zone 1"],
46: ["bottom shelf", "top shelf", "table on the right", "table on the left"],
47: ["zone 1", "bottom shelf", "top shelf", "table on the left"],
48: ["table on the left", "zone 3", "table on the right"],
49: ["bottom shelf", "top shelf", "table on the left", "table on the right"],
50: ["dish area", "table", "zone 1", "zone 2"],
51: ["dish area", "table on the left", "zone 2", "zone 4"],
52: ["dish area", "table on the right", "table on the left"],
53: ["dish area", "table on the right", "table on the left"],
54: ["table on the right", "table on the left", "bottom shelf", "top shelf"]
}
example_relations = {
1: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right'],
2: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right'],
3: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right'],
4: ['glass is on the table on the right', 'pringles is on the table on the right', 'mustard is on the dish area',
'bottle is on the table on the right', 'cheezit is on the table on the right'],
5: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right'],
6: ['glass is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'bottle is on the table on the left',
'cheezit is on the table on the left'],
7: ['glass is on the top shelf', 'pringles is on the top shelf', 'mustard is on the top shelf',
'bottle is on the top shelf', 'cheezit is on the top shelf'],
8: ['glass is on the table on the left', 'pringles is on the table on the right',
'mustard is on the table on the right', 'cheezit is on the table on the right'],
9: ['glass is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'cheezit is on the table on the left'],
10: ['glass is on the table', 'pringles is on the table', 'mustard is on the table', 'cheezit is on the table'],
11: ['bottle is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'cheezit is on the dish area'],
12: ['bottle is on Zone 1', 'pringles is on Zone 1', 'glass is on Zone 1', 'mustard is on Zone 1',
'sponge is on the table on the left'],
13: ['bottle is on table on the left', 'pringles is on table on the left', 'glass is on table on the right',
'cheezit is on table on the right', 'sponge is on the table on the left'],
14: ['cup is on the dish area', 'pringles is on the table on the right', 'cheezit is on the table on the right'],
15: ['cup is on the bottom shelf', 'pringles is on the table on the right', 'cheezit is on the table on the right',
'sponge is on the table on the left'],
16: ['glass is on zone 2', 'pringles is on the table on the right', 'mustard is on the table on the right',
'bottle is on the table on the right', 'cheezit is on the table on the right'],
17: ['glass is on the table on the right', 'pringles is on the table on the right', 'mustard is on the shelf',
'bottle is on the table on the right', 'cheezit is on the table on the right'],
18: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right', 'cheezit is on zone 1'],
19: ['glass is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'bottle is on the table on the left',
'cheezit is on the table on the left'],
20: ['glass is on the top shelf', 'pringles is on the top shelf', 'mustard is on the top shelf',
'bottle is on the top shelf', 'cheezit is on the top shelf', 'bottle is on zone 1', 'cheezit is on zone 1'],
21: ['glass is on the table on the left', 'pringles is on the table on the right',
'mustard is on the table on the right', 'cheezit is on the table on the right', 'mustard is on zone 3',
'cheezit is on zone 3'],
22: ['glass is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'cheezit is on the table on the left'],
23: ['glass is on the table', 'glass is on zone 2', 'pringles is on the table', 'mustard is on the table',
'cheezit is on the table'],
24: ['bottle is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'cheezit is on zone 4'],
25: ['bottle is on table on the left', 'pringles is on table on the left', 'glass is on table on the right',
'cheezit is on table on the right', 'sponge is on the table on the left'],
26: ['pringles is on table on the left', 'cup is on table on the right', 'cheezit is on table on the right'],
27: ['cup is on the dish area', 'pringles is on the table on the left', 'cheezit is on the table on the left',
'sponge is on the table on the left'],
28: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right'],
29: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right'],
30: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right'],
31: ['glass is on the table on the right', 'pringles is on the table on the right', 'mustard is on the dish area',
'bottle is on the table on the right', 'cheezit is on the table on the right'],
32: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right'],
33: ['glass is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'bottle is on the table on the left',
'cheezit is on the table on the left'],
34: ['glass is on the top shelf', 'pringles is on the top shelf', 'mustard is on the top shelf',
'bottle is on the top shelf', 'cheezit is on the top shelf'],
35: ['glass is on the table on the left', 'pringles is on the table on the right',
'mustard is on the table on the right', 'cheezit is on the table on the right'],
36: ['glass is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'cheezit is on the table on the left'],
37: ['glass is on the table', 'pringles is on the table', 'mustard is on the table', 'cheezit is on the table'],
38: ['bottle is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'cheezit is on the dish area'],
39: ['bottle is on Zone 1', 'pringles is on Zone 1', 'glass is on Zone 1', 'mustard is on Zone 1',
'sponge is on the table on the left'],
40: ['bottle is on table on the left', 'pringles is on table on the left', 'glass is on table on the right',
'cheezit is on table on the right', 'sponge is on the table on the left'],
41: ['cup is on the dish area', 'pringles is on the table on the right', 'cheezit is on the table on the right'],
42: ['cup is on the bottom shelf', 'pringles is on the table on the right', 'cheezit is on the table on the right',
'sponge is on the table on the left'],
43: ['glass is on zone 2', 'pringles is on the table on the right', 'mustard is on the table on the right',
'bottle is on the table on the right', 'cheezit is on the table on the right'],
44: ['glass is on the table on the right', 'pringles is on the table on the right', 'mustard is on the shelf',
'bottle is on the table on the right', 'cheezit is on the table on the right'],
45: ['glass is on the table on the right', 'pringles is on the table on the right',
'mustard is on the table on the right', 'bottle is on the table on the right',
'cheezit is on the table on the right', 'cheezit is on zone 1'],
46: ['glass is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'bottle is on the table on the left',
'cheezit is on the table on the left'],
47: ['glass is on the top shelf', 'pringles is on the top shelf', 'mustard is on the top shelf',
'bottle is on the top shelf', 'cheezit is on the top shelf', 'bottle is on zone 1', 'cheezit is on zone 1'],
48: ['glass is on the table on the left', 'pringles is on the table on the right',
'mustard is on the table on the right', 'cheezit is on the table on the right', 'mustard is on zone 3',
'cheezit is on zone 3'],
49: ['glass is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'cheezit is on the table on the left'],
50: ['glass is on the table', 'glass is on zone 2', 'pringles is on the table', 'mustard is on the table',
'cheezit is on the table'],
51: ['bottle is on the table on the left', 'pringles is on the table on the left',
'mustard is on the table on the left', 'cheezit is on zone 4'],
52: ['bottle is on table on the left', 'pringles is on table on the left', 'glass is on table on the right',
'cheezit is on table on the right', 'sponge is on the table on the left'],
53: ['pringles is on table on the left', 'cup is on table on the right', 'cheezit is on table on the right'],
54: ['cup is on the dish area', 'pringles is on the table on the left', 'cheezit is on the table on the left',
'sponge is on the table on the left']
}
example_functions = {1: ("```python\n"
"def pour_water_to_glass(self):\n"
"\tself.pick('bottle')\n"
"\tself.pour('glass')\n"
"\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
2: ("```python\n"
"def do_wave(self):\n"
"\tself.wave()\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
3: ("```python\n"
"def do_wave(self):\n"
"\tself.wave()\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
4: ("```python\n"
"def mustard_to_table(self):\n"
"\tself.pick('mustard')\n"
"\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
5: ("```python\n"
"def cheezit_to_top_shelf(self):\n"
"\tself.pick('cheezit')\n"
"\tself.place('top shelf')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
6: ("```python\n"
"def pringles_to_right_table(self):\n"
"\tself.pick('pringles')\n"
"\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
7: ("```python\n"
"def cheezit_to_bottom_shelf(self):\n"
"\tself.pick('cheezit')\n"
"\tself.place('bottom shelf')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
8: ("```python\n"
"def food_to_left_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check if object is food\n"
"\t\tif self.check_condition(f'{object} is food', type='property', function='food_to_left_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
9: ("```python\n"
"def snacks_to_right_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check if object is snack\n"
"\t\tif self.check_condition(f'{object} is snack', type='property', function='snacks_to_right_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
10: ("```python\n"
"def pick_cup(self):\n"
"\tself.pick('glass')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
11: ("```python\n"
"def cheezit_to_left_table(self):\n"
"\tself.pick('cheezit')\n"
"\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
12: ("```python\n"
"def wipe_table(self):\n"
"\tself.pick('sponge')\n"
"\tself.wipe('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
13: ("```python\n"
"def bottle_to_right_table(self):\n"
"\tself.pick('bottle')\n"
"\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
14: ("```python\n"
"def mug_to_left_table(self):\n"
"\tself.pick('cup')\n"
"\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
15: ("```python\n"
"def groceries_to_left_table_and_wipe_left_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check if object is grocery\n"
"\t\tif self.check_condition(f'{object} is grocery', type='property', function='groceries_to_left_table_and_wipe_left_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('bottom shelf')\n"
"\tself.pick('sponge')\n"
"\tself.wipe('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
16: ("```python\n"
"def pour_water_to_glass(self):\n"
"\t# check for zone trigger on zone 2"
"\tif self.check_condition('glass is in zone 2', type='location', function='pour_water_to_glass'):\n"
"\t\tself.pick('bottle')\n"
"\t\tself.pour('glass')\n"
"\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
17: ("```python\n"
"def mustard_to_table(self):\n"
"\t# check for zone trigger on shelf"
"\tif self.check_condition('mustard is on the shelf', type='location', function='mustard_to_table'):\n"
"\t\tself.pick('mustard')\n"
"\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
18: ("```python\n"
"def cheezit_to_top_shelf(self):\n"
"\t# check for zone trigger on zone 1"
"\tif self.check_condition('cheezit is in zone 1', type='location', function='cheezit_to_top_shelf'):\n"
"\t\tself.pick('cheezit')\n"
"\t\tself.place('top shelf')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
19: ("```python\n"
"def pringles_to_right_table(self):\n"
"\t# check for zone trigger on left table"
"\tif self.check_condition('pringles is on left table', type='location', function='pringles_to_right_table'):\n"
"\t\tself.pick('pringles')\n"
"\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
20: ("```python\n"
"def cheezit_to_bottom_shelf(self):\n"
"\t# check for zone trigger on zone 1"
"\tif self.check_condition('cheezit is in zone 1', type='location', function='cheezit_to_bottom_shelf'):\n"
"\t\tself.pick('cheezit')\n"
"\t\tself.place('bottom shelf')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
21: ("```python\n"
"def food_to_left_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check for zone trigger on zone 3 and if object is food\n"
"\t\tif self.check_condition(f'{object} is in zone 3', type='location', function='food_to_left_table') and self.check_condition(f'{object} is food', type='property', function='food_to_left_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
22: ("```python\n"
"def snacks_to_right_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check for zone trigger on left table and if object is snack\n"
"\t\tif self.check_condition(f'{object} is on the left table', type='location', function='snacks_to_right_table') and self.check_condition(f'{object} is snack', type='property', function='snacks_to_right_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
23: ("```python\n"
"def pick_cup(self):\n"
"\t# check for zone trigger on zone 2"
"\tif self.check_condition('cup is in zone 2', type='location', function='pick_cup'):\n"
"\t\tself.pick('glass')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
24: ("```python\n"
"def cheezit_to_left_table(self):\n"
"\t# check for zone trigger on zone 4"
"\tif self.check_condition('cheezit is in zone 4', type='location', function='cheezit_to_left_table'):\n"
"\t\tself.pick('cheezit')\n"
"\t\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
25: ("```python\n"
"def bottle_to_right_table(self):\n"
"\t# check for zone trigger on left table"
"\tif self.check_condition('water bottle is on the left table', type='location', function='bottle_to_right_table'):\n"
"\t\tself.pick('bottle')\n"
"\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
26: ("```python\n"
"def mug_to_left_table(self):\n"
"\t# check for zone trigger on right table"
"\tif self.check_condition('mug is on the right table', type='location', function='mug_to_left_table'):\n"
"\t\tself.pick('cup')\n"
"\t\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
27: ("```python\n"
"def groceries_to_left_table_and_wipe_left_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check for zone trigger on left table and if object is grocery\n"
"\t\tif self.check_condition(f'{object} is on the left table', type='location', function='groceries_to_left_table_and_wipe_left_table') and self.check_condition(f'{object} is grocery', type='property', function='groceries_to_left_table_and_wipe_left_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('bottom shelf')\n"
"\tself.pick('sponge')\n"
"\tself.wipe('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
28: ("```python\n"
"def timed_pour_water_to_glass(self):\n"
"\t# check if 2 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'120 seconds have passed', type='time', function='timed_pour_water_to_glass'):\n"
"\t\treturn\n"
"\tself.pick('bottle')\n"
"\tself.pour('glass')\n"
"\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
29: ("```python\n"
"def timed_do_wave(self):\n"
"\t# check if 2 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'120 seconds have passed', type='time', function='timed_do_wave'):\n"
"\t\treturn\n"
"\tself.wave()\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
30: ("```python\n"
"def timed_do_wave(self):\n"
"\t# check if 10 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'600 seconds have passed', type='time', function='timed_do_wave'):\n"
"\t\treturn\n"
"\tself.wave()\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
31: ("```python\n"
"def timed_mustard_to_table(self):\n"
"\t# check if 1 minute has passed for time trigger\n"
"\tif not self.check_condition(f'60 seconds have passed', type='time', function='timed_mustard_to_table'):\n"
"\t\treturn\n"\
"\tself.pick('mustard')\n"
"\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
32: ("```python\n"
"def timed_cheezit_to_top_shelf(self):\n"
"\t# check if 5 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'300 seconds have passed', type='time', function='timed_cheezit_to_top_shelf'):\n"
"\t\treturn\n"
"\tself.pick('cheezit')\n"
"\tself.place('top shelf')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
33: ("```python\n"
"def timed_pringles_to_right_table(self):\n"
"\t# check if 5 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'300 seconds have passed', type='time', function='timed_pringles_to_right_table'):\n"
"\t\treturn\n"
"\tself.pick('pringles')\n"
"\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
34: ("```python\n"
"def timed_cheezit_to_bottom_shelf(self):\n"
"\t# check if half minute has passed for time trigger\n"
"\tif not self.check_condition(f'30 seconds have passed', type='time', function='timed_cheezit_to_bottom_shelf'):\n"
"\t\treturn\n"
"\tself.pick('cheezit')\n"
"\tself.place('bottom shelf')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
35: ("```python\n"
"def timed_food_to_left_table(self):\n"
"\t# check if 3 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'180 seconds have passed', type='time', function='timed_food_to_left_table'):\n"
"\t\treturn\n"
"\tfor object in self.object_list:\n"
"\t\t# check if object is food\n"
"\t\tif self.check_condition(f'{object} is food', type='property', function='timed_food_to_left_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
36: ("```python\n"
"def timed_snacks_to_right_table(self):\n"
"\t# check if 10 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'600 seconds have passed', type='time', function='timed_snacks_to_right_table'):\n"
"\t\treturn\n"
"\tfor object in self.object_list:\n"
"\t\t# check if object is snack\n"
"\t\tif self.check_condition(f'{object} is snack', type='property', function='timed_snacks_to_right_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
37: ("```python\n"
"def timed_pick_cup(self):\n"
"\t# check if 5 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'300 seconds have passed', type='time', function='timed_pick_cup'):\n"
"\t\treturn\n"
"\tself.pick('glass')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
38: ("```python\n"
"def timed_cheezit_to_left_table(self):\n"
"\t# check if 1 minute has passed for time trigger\n"
"\tif not self.check_condition(f'60 seconds have passed', type='time', function='timed_cheezit_to_left_table'):\n"
"\t\treturn\n"
"\tself.pick('cheezit')\n"
"\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
39: ("```python\n"
"def timed_wipe_table(self):\n"
"\t# check if 15 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'900 seconds have passed', type='time', function='timed_wipe_table'):\n"
"\t\treturn\n"
"\tself.pick('sponge')\n"
"\tself.wipe('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
40: ("```python\n"
"def timed_bottle_to_right_table(self):\n"
"\t# check if 4 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'240 seconds have passed', type='time', function='timed_bottle_to_right_table'):\n"
"\t\treturn\n"
"\tself.pick('bottle')\n"
"\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
41: ("```python\n"
"def timed_mug_to_left_table(self):\n"
"\t# check if 3 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'180 seconds have passed', type='time', function='timed_mug_to_left_table'):\n"
"\t\treturn\n"
"\tself.pick('cup')\n"
"\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
42: ("```python\n"
"def timed_groceries_to_left_table_and_wipe_left_table(self):\n"
"\t# check if 3 minutes have passed for time trigger\n"
"\tif not self.check_condition(f'180 seconds have passed', type='time', function='timed_groceries_to_left_table_and_wipe_left_table'):\n"
"\t\treturn\n"
"\tfor object in self.object_list:\n"
"\t\t# check if object is grocery\n"
"\t\tif self.check_condition(f'{object} is grocery', type='property', function='timed_groceries_to_left_table_and_wipe_left_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('bottom shelf')\n"
"\tself.pick('sponge')\n"
"\tself.wipe('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
43: ("```python\n"
"def pour_water_to_glass(self):\n"
"\t# check for glass on zone 2 for 2 minutes"
"\tif self.check_condition('glass is in zone 2 for 120 seconds', type='location and time', function='pour_water_to_glass'):\n"
"\t\tself.pick('bottle')\n"
"\t\tself.pour('glass')\n"
"\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
44: ("```python\n"
"def mustard_to_table(self):\n"
"\t# check for mustard on shelf for 1 minute"
"\tif self.check_condition('mustard is on the shelf for 60 seconds', type='location and time', function='mustard_to_table'):\n"
"\t\tself.pick('mustard')\n"
"\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
45: ("```python\n"
"def cheezit_to_top_shelf(self):\n"
"\t# check for cheezit on zone 1 for 5 minutes"
"\tif self.check_condition('cheezit is in zone 1 for 300 seconds', type='location and time', function='cheezit_to_top_shelf'):\n"
"\t\tself.pick('cheezit')\n"
"\t\tself.place('top shelf')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
46: ("```python\n"
"def pringles_to_right_table(self):\n"
"\t# check for pringles on left table for 5 minutes"
"\tif self.check_condition('pringles is on left table for 300 seconds', type='location and time', function='pringles_to_right_table'):\n"
"\t\tself.pick('pringles')\n"
"\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
47: ("```python\n"
"def cheezit_to_bottom_shelf(self):\n"
"\t# check for cheezit on zone 1 for half minute"
"\tif self.check_condition('cheezit is in zone 1 for 30 seconds', type='location and time', function='cheezit_to_bottom_shelf'):\n"
"\t\tself.pick('cheezit')\n"
"\t\tself.place('bottom shelf')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
48: ("```python\n"
"def food_to_left_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check for object on zone 3 for 3 minutes and if object is food\n"
"\t\tif self.check_condition(f'{object} is in zone 3 for 180 seconds', type='location and time', function='food_to_left_table') and self.check_condition(f'{object} is food', type='property', function='food_to_left_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
49: ("```python\n"
"def snacks_to_right_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check for object on left table for 10 minutes and if object is snack\n"
"\t\tif self.check_condition(f'{object} is on the left table for 600 seconds', type='location and time', function='snacks_to_right_table') and self.check_condition(f'{object} is snack', type='property', function='snacks_to_right_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
50: ("```python\n"
"def pick_cup(self):\n"
"\t# check for cup on zone 2 for 5 minutes"
"\tif self.check_condition('cup is in zone 2 for 300 seconds', type='location and time', function='pick_cup'):\n"
"\t\tself.pick('glass')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
51: ("```python\n"
"def cheezit_to_left_table(self):\n"
"\t# check for cheezit on zone 4 for 1 minute"
"\tif self.check_condition('cheezit is in zone 4 for 60 seconds', type='location and time', function='cheezit_to_left_table'):\n"
"\t\tself.pick('cheezit')\n"
"\t\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
52: ("```python\n"
"def bottle_to_right_table(self):\n"
"\t# check for water bottle on left table for 4 minutes"
"\tif self.check_condition('water bottle is on the left table for 240 seconds', type='location and time', function='bottle_to_right_table'):\n"
"\t\tself.pick('bottle')\n"
"\t\tself.place('table on the right')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
53: ("```python\n"
"def mug_to_left_table(self):\n"
"\t# check for mug on right table for 3 minutes"
"\tif self.check_condition('mug is on the right table for 180 seconds', type='location and time', function='mug_to_left_table'):\n"
"\t\tself.pick('cup')\n"
"\t\tself.place('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n"),
54: ("```python\n"
"def groceries_to_left_table_and_wipe_left_table(self):\n"
"\tfor object in self.object_list:\n"
"\t\t# check for object on left table for 3 minutes and if object is grocery\n"
"\t\tif self.check_condition(f'{object} is on the left table for 180 seconds', type='location', function='groceries_to_left_table_and_wipe_left_table') and self.check_condition(f'{object} is grocery', type='property', function='groceries_to_left_table_and_wipe_left_table'):\n"
"\t\t\tself.pick(object)\n"
"\t\t\tself.place('bottom shelf')\n"
"\tself.pick('sponge')\n"
"\tself.wipe('table on the left')\n"
"\tself.done()\n"
"\treturn\n"
"```\n")
}