forked from pcyin/NL2code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhs.test_data.decode_results.txt
More file actions
3213 lines (2703 loc) · 130 KB
/
hs.test_data.decode_results.txt
File metadata and controls
3213 lines (2703 loc) · 130 KB
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
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
------------------------------------------------------------
example_id: 599
intent:
NAME_BEGIN Archmage NAME_END ATK_BEGIN 4 ATK_END DEF_BEGIN 7 DEF_END COST_BEGIN 6 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Spell Damage +1 DESC_END
canonicalized reference:
class Archmage(MinionCard):
def __init__(self):
super().__init__('Archmage', 6, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON
)
def create_minion(self, player):
return Minion(4, 7, spell_damage=1)
canonicalized prediction:
class Archmage(MinionCard):
def __init__(self):
super().__init__('Archmage', 6, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON
)
def create_minion(self, player):
return Minion(4, 7, spell_damage=1)
reference code for bleu calculation:
class Archmage(MinionCard):
def __init__(self):
super().__init__("Archmage", 6, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(4, 7, spell_damage=1)
predicted code for bleu calculation:
class Archmage(MinionCard):
def __init__(self):
super().__init__('Archmage', 6, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON
)
def create_minion(self, player):
return Minion(4, 7, spell_damage=1)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 600
intent:
NAME_BEGIN Booty Bay Bodyguard NAME_END ATK_BEGIN 5 ATK_END DEF_BEGIN 4 DEF_END COST_BEGIN 5 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Taunt DESC_END
canonicalized reference:
class BootyBayBodyguard(MinionCard):
def __init__(self):
super().__init__('Booty Bay Bodyguard', 5, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(5, 4, taunt=True)
canonicalized prediction:
class BootyBayBodyguardBodyguard(MinionCard):
def __init__(self):
super().__init__('Booty Bay Bodyguard', 5, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(5, 4, taunt=True)
reference code for bleu calculation:
class BootyBayBodyguard(MinionCard):
def __init__(self):
super().__init__("Booty Bay Bodyguard", 5, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(5, 4, taunt=True)
predicted code for bleu calculation:
class BootyBayBodyguardBodyguard(MinionCard):
def __init__(self):
super().__init__('Booty Bay Bodyguard', 5, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(5, 4, taunt=True)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 601
intent:
NAME_BEGIN Darkscale Healer NAME_END ATK_BEGIN 4 ATK_END DEF_BEGIN 5 DEF_END COST_BEGIN 5 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Battlecry : Restore 2 Health to all friendly characters . DESC_END
canonicalized reference:
class DarkscaleHealer(MinionCard):
def __init__(self):
super().__init__('Darkscale Healer', 5, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, battlecry=Battlecry(Heal(2),
CharacterSelector()))
def create_minion(self, player):
return Minion(4, 5)
canonicalized prediction:
class DarkscaleHealer(MinionCard):
def __init__(self):
super().__init__('Darkscale Healer', 4, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, battlecry=Battlecry(Heal(2),
CharacterSelector(players=BothPlayer(), picker=UserPicker())))
def create_minion(self, player):
return Minion(4, 5)
reference code for bleu calculation:
class DarkscaleHealer(MinionCard):
def __init__(self):
super().__init__("Darkscale Healer", 5, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, battlecry=Battlecry(Heal(2), CharacterSelector()))
def create_minion(self, player):
return Minion(4, 5)
predicted code for bleu calculation:
class DarkscaleHealer(MinionCard):
def __init__(self):
super().__init__('Darkscale Healer', 4, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, battlecry=Battlecry(Heal(2),
CharacterSelector(players=BothPlayer(), picker=UserPicker())))
def create_minion(self, player):
return Minion(4, 5)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 602
intent:
NAME_BEGIN Fiery War Axe NAME_END ATK_BEGIN 3 ATK_END DEF_BEGIN -1 DEF_END COST_BEGIN 2 COST_END DUR_BEGIN 2 DUR_END TYPE_BEGIN Weapon TYPE_END PLAYER_CLS_BEGIN Warrior PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Free RARITY_END DESC_BEGIN NIL DESC_END
canonicalized reference:
class FieryWarAxe(WeaponCard):
def __init__(self):
super().__init__('Fiery War Axe', 2, CHARACTER_CLASS.WARRIOR,
CARD_RARITY.FREE)
def create_weapon(self, player):
return Weapon(3, 2)
canonicalized prediction:
class FieryWarAxe(WeaponCard):
def __init__(self):
super().__init__('Fiery War Axe', 3, CHARACTER_CLASS.WARRIOR,
CARD_RARITY.FREE)
def create_weapon(self, player):
return Weapon(3, 2)
reference code for bleu calculation:
class FieryWarAxe(WeaponCard):
def __init__(self):
super().__init__("Fiery War Axe", 2, CHARACTER_CLASS.WARRIOR, CARD_RARITY.FREE)
def create_weapon(self, player):
return Weapon(3, 2)
predicted code for bleu calculation:
class FieryWarAxe(WeaponCard):
def __init__(self):
super().__init__('Fiery War Axe', 3, CHARACTER_CLASS.WARRIOR,
CARD_RARITY.FREE)
def create_weapon(self, player):
return Weapon(3, 2)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 603
intent:
NAME_BEGIN Frostwolf Warlord NAME_END ATK_BEGIN 4 ATK_END DEF_BEGIN 4 DEF_END COST_BEGIN 5 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Battlecry : Gain +1/+1 for each other friendly minion on the battlefield . DESC_END
canonicalized reference:
class FrostwolfWarlord(MinionCard):
def __init__(self):
super().__init__('Frostwolf Warlord', 5, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, battlecry=Battlecry(Give([Buff(ChangeAttack
(Count(MinionSelector()))), Buff(ChangeHealth(Count(
MinionSelector())))]), SelfSelector()))
def create_minion(self, player):
return Minion(4, 4)
canonicalized prediction:
class FrostwolfWarlord(MinionCard):
def __init__(self):
super().__init__('Frostwolf Warlord', 5, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, battlecry=Battlecry(Give(Buff(ChangeAttack(
Count(MinionSelector(MinionHason(), BothPlayer()))))), Buff(
ChangeHealth(Count(MinionSelector(MinionHason(), BothPlayer()))))))
def create_minion(self, player):
return Minion(4, 4)
reference code for bleu calculation:
class FrostwolfWarlord(MinionCard):
def __init__(self):
super().__init__("Frostwolf Warlord", 5, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, battlecry=Battlecry(Give([Buff(ChangeAttack(Count(MinionSelector()))), Buff(ChangeHealth(Count(MinionSelector())))]), SelfSelector()))
def create_minion(self, player):
return Minion(4, 4)
predicted code for bleu calculation:
class FrostwolfWarlord(MinionCard):
def __init__(self):
super().__init__('Frostwolf Warlord', 5, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, battlecry=Battlecry(Give(Buff(ChangeAttack(
Count(MinionSelector(MinionHason(), BothPlayer()))))), Buff(
ChangeHealth(Count(MinionSelector(MinionHason(), BothPlayer()))))))
def create_minion(self, player):
return Minion(4, 4)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 604
intent:
NAME_BEGIN Hellfire NAME_END ATK_BEGIN -1 ATK_END DEF_BEGIN -1 DEF_END COST_BEGIN 4 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Spell TYPE_END PLAYER_CLS_BEGIN Warlock PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Free RARITY_END DESC_BEGIN Deal $ 3 damage to ALL characters . DESC_END
canonicalized reference:
class Hellfire(SpellCard):
def __init__(self):
super().__init__('Hellfire', 4, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.FREE)
def use(self, player, game):
super().use(player, game)
targets = copy.copy(game.other_player.minions)
targets.extend(game.current_player.minions)
targets.append(game.other_player.hero)
targets.append(game.current_player.hero)
for minion in targets:
minion.damage(player.effective_spell_damage(3), self)
canonicalized prediction:
class Hellfire(SpellCard):
def __init__(self):
super().__init__('Hellfire', 4, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.FREE, target_func=hearthbreaker.targeting.
find_spell_target)
def use(self, player, game):
super().use(player, game)
self.target.damage(player.effective_spell_damage(3), self)
reference code for bleu calculation:
class Hellfire(SpellCard):
def __init__(self):
super().__init__("Hellfire", 4, CHARACTER_CLASS.WARLOCK, CARD_RARITY.FREE)
def use(self, player, game):
super().use(player, game)
targets = copy.copy(game.other_player.minions)
targets.extend(game.current_player.minions)
targets.append(game.other_player.hero)
targets.append(game.current_player.hero)
for minion in targets:
minion.damage(player.effective_spell_damage(3), self)
predicted code for bleu calculation:
class Hellfire(SpellCard):
def __init__(self):
super().__init__('Hellfire', 4, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.FREE, target_func=hearthbreaker.targeting.
find_spell_target)
def use(self, player, game):
super().use(player, game)
self.target.damage(player.effective_spell_damage(3), self)
pred_shorter_than_ref: True
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 605
intent:
NAME_BEGIN Innervate NAME_END ATK_BEGIN -1 ATK_END DEF_BEGIN -1 DEF_END COST_BEGIN 0 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Spell TYPE_END PLAYER_CLS_BEGIN Druid PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Free RARITY_END DESC_BEGIN Gain 2 Mana Crystals this turn only . DESC_END
canonicalized reference:
class Innervate(SpellCard):
def __init__(self):
super().__init__('Innervate', 0, CHARACTER_CLASS.DRUID, CARD_RARITY
.FREE)
def use(self, player, game):
super().use(player, game)
if player.mana < 8:
player.mana += 2
else:
player.mana = 10
canonicalized prediction:
class Innervate(SpellCard):
def __init__(self):
super().__init__('Innervate', 0, CHARACTER_CLASS.DRUID, CARD_RARITY
.FREE)
def use(self, player, game):
super().use(player, game)
self.target.add_buff(BuffUntil(ChangeHealth(2), WeaponSelector(),
TurnEnded()))
player.draw()
reference code for bleu calculation:
class Innervate(SpellCard):
def __init__(self):
super().__init__("Innervate", 0, CHARACTER_CLASS.DRUID, CARD_RARITY.FREE)
def use(self, player, game):
super().use(player, game)
if player.mana < 8:
player.mana += 2
else:
player.mana = 10
predicted code for bleu calculation:
class Innervate(SpellCard):
def __init__(self):
super().__init__('Innervate', 0, CHARACTER_CLASS.DRUID, CARD_RARITY
.FREE)
def use(self, player, game):
super().use(player, game)
self.target.add_buff(BuffUntil(ChangeHealth(2), WeaponSelector(),
TurnEnded()))
player.draw()
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 606
intent:
NAME_BEGIN Magma Rager NAME_END ATK_BEGIN 5 ATK_END DEF_BEGIN 1 DEF_END COST_BEGIN 3 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Free RARITY_END DESC_BEGIN NIL DESC_END
canonicalized reference:
class MagmaRager(MinionCard):
def __init__(self):
super().__init__('Magma Rager', 3, CHARACTER_CLASS.ALL, CARD_RARITY
.FREE)
def create_minion(self, player):
return Minion(5, 1)
canonicalized prediction:
class MagmaRager(MinionCard):
def __init__(self):
super().__init__('Magma Rager', 5, CHARACTER_CLASS.ALL, CARD_RARITY
.FREE)
def create_minion(self, player):
return Minion(5, 1)
reference code for bleu calculation:
class MagmaRager(MinionCard):
def __init__(self):
super().__init__("Magma Rager", 3, CHARACTER_CLASS.ALL, CARD_RARITY.FREE)
def create_minion(self, player):
return Minion(5, 1)
predicted code for bleu calculation:
class MagmaRager(MinionCard):
def __init__(self):
super().__init__('Magma Rager', 5, CHARACTER_CLASS.ALL, CARD_RARITY
.FREE)
def create_minion(self, player):
return Minion(5, 1)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 607
intent:
NAME_BEGIN Mortal Coil NAME_END ATK_BEGIN -1 ATK_END DEF_BEGIN -1 DEF_END COST_BEGIN 1 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Spell TYPE_END PLAYER_CLS_BEGIN Warlock PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Deal $ 1 damage to a minion . If that kills it , draw a card . DESC_END
canonicalized reference:
class MortalCoil(SpellCard):
def __init__(self):
super().__init__('Mortal Coil', 1, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.
find_minion_spell_target)
def use(self, player, game):
super().use(player, game)
if self.target.health <= player.effective_spell_damage(1
) and not self.target.divine_shield:
self.target.damage(player.effective_spell_damage(1), self)
player.draw()
else:
self.target.damage(player.effective_spell_damage(1), self)
canonicalized prediction:
class MortalCoil(SpellCard):
def __init__(self):
super().__init__('Mortal Coil', 1, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.
find_minion_spell_target)
def use(self, player, game):
super().use(player, game)
self.target.silence()
reference code for bleu calculation:
class MortalCoil(SpellCard):
def __init__(self):
super().__init__("Mortal Coil", 1, CHARACTER_CLASS.WARLOCK, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_minion_spell_target)
def use(self, player, game):
super().use(player, game)
if self.target.health <= player.effective_spell_damage(1) and not self.target.divine_shield:
self.target.damage(player.effective_spell_damage(1), self)
player.draw()
else:
self.target.damage(player.effective_spell_damage(1), self)
predicted code for bleu calculation:
class MortalCoil(SpellCard):
def __init__(self):
super().__init__('Mortal Coil', 1, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.
find_minion_spell_target)
def use(self, player, game):
super().use(player, game)
self.target.silence()
pred_shorter_than_ref: True
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 608
intent:
NAME_BEGIN Polymorph NAME_END ATK_BEGIN -1 ATK_END DEF_BEGIN -1 DEF_END COST_BEGIN 4 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Spell TYPE_END PLAYER_CLS_BEGIN Mage PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Free RARITY_END DESC_BEGIN Transform a minion into a 1/1 Sheep . DESC_END
canonicalized reference:
class Polymorph(SpellCard):
def __init__(self):
super().__init__('Polymorph', 4, CHARACTER_CLASS.MAGE, CARD_RARITY.
FREE, target_func=hearthbreaker.targeting.find_minion_spell_target)
def use(self, player, game):
super().use(player, game)
from hearthbreaker.cards.minions.mage import Sheep
sheep = Sheep()
minion = sheep.create_minion(None)
minion.card = sheep
self.target.replace(minion)
canonicalized prediction:
class Polymorph(SpellCard):
def __init__(self):
super().__init__('Polymorph', 4, CHARACTER_CLASS.MAGE, CARD_RARITY.
FREE, target_func=hearthbreaker.targeting.find_minion_spell_target)
def use(self, player, game):
super().use(player, game)
self.target.check_delayed()
reference code for bleu calculation:
class Polymorph(SpellCard):
def __init__(self):
super().__init__("Polymorph", 4, CHARACTER_CLASS.MAGE, CARD_RARITY.FREE, target_func=hearthbreaker.targeting.find_minion_spell_target)
def use(self, player, game):
super().use(player, game)
from hearthbreaker.cards.minions.mage import Sheep
sheep = Sheep()
minion = sheep.create_minion(None)
minion.card = sheep
self.target.replace(minion)
predicted code for bleu calculation:
class Polymorph(SpellCard):
def __init__(self):
super().__init__('Polymorph', 4, CHARACTER_CLASS.MAGE, CARD_RARITY.
FREE, target_func=hearthbreaker.targeting.find_minion_spell_target)
def use(self, player, game):
super().use(player, game)
self.target.check_delayed()
pred_shorter_than_ref: True
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 609
intent:
NAME_BEGIN Searing Totem NAME_END ATK_BEGIN 1 ATK_END DEF_BEGIN 1 DEF_END COST_BEGIN 1 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Shaman PLAYER_CLS_END RACE_BEGIN Totem RACE_END RARITY_BEGIN Free RARITY_END DESC_BEGIN NIL DESC_END
canonicalized reference:
class SearingTotem(MinionCard):
def __init__(self):
super().__init__('Searing Totem', 1, CHARACTER_CLASS.SHAMAN,
CARD_RARITY.FREE, False, MINION_TYPE.TOTEM)
def create_minion(self, player):
return Minion(1, 1)
canonicalized prediction:
class SearingTotem(MinionCard):
def __init__(self):
super().__init__('Searing Totem', 1, CHARACTER_CLASS.SHAMAN,
CARD_RARITY.FREE, False, MINION_TYPE.TOTEM)
def create_minion(self, player):
return Minion(1, 1)
reference code for bleu calculation:
class SearingTotem(MinionCard):
def __init__(self):
super().__init__("Searing Totem", 1, CHARACTER_CLASS.SHAMAN, CARD_RARITY.FREE, False, MINION_TYPE.TOTEM)
def create_minion(self, player):
return Minion(1, 1)
predicted code for bleu calculation:
class SearingTotem(MinionCard):
def __init__(self):
super().__init__('Searing Totem', 1, CHARACTER_CLASS.SHAMAN,
CARD_RARITY.FREE, False, MINION_TYPE.TOTEM)
def create_minion(self, player):
return Minion(1, 1)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 610
intent:
NAME_BEGIN Silverback Patriarch NAME_END ATK_BEGIN 1 ATK_END DEF_BEGIN 4 DEF_END COST_BEGIN 3 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN Beast RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Taunt DESC_END
canonicalized reference:
class SilverbackPatriarch(MinionCard):
def __init__(self):
super().__init__('Silverback Patriarch', 3, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.BEAST)
def create_minion(self, player):
return Minion(1, 4, taunt=True)
canonicalized prediction:
class SilverbackPatriarch(MinionCard):
def __init__(self):
super().__init__('Silverback Patriarch', 3, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.BEAST)
def create_minion(self, player):
return Minion(1, 4, taunt=True)
reference code for bleu calculation:
class SilverbackPatriarch(MinionCard):
def __init__(self):
super().__init__("Silverback Patriarch", 3, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.BEAST)
def create_minion(self, player):
return Minion(1, 4, taunt=True)
predicted code for bleu calculation:
class SilverbackPatriarch(MinionCard):
def __init__(self):
super().__init__('Silverback Patriarch', 3, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.BEAST)
def create_minion(self, player):
return Minion(1, 4, taunt=True)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 611
intent:
NAME_BEGIN Stormwind Knight NAME_END ATK_BEGIN 2 ATK_END DEF_BEGIN 5 DEF_END COST_BEGIN 4 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Charge DESC_END
canonicalized reference:
class StormwindKnight(MinionCard):
def __init__(self):
super().__init__('Stormwind Knight', 4, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(2, 5, charge=True)
canonicalized prediction:
class StormwindKnight(MinionCard):
def __init__(self):
super().__init__('Stormwind Knight', 4, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(2, 5, charge=True)
reference code for bleu calculation:
class StormwindKnight(MinionCard):
def __init__(self):
super().__init__("Stormwind Knight", 4, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(2, 5, charge=True)
predicted code for bleu calculation:
class StormwindKnight(MinionCard):
def __init__(self):
super().__init__('Stormwind Knight', 4, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(2, 5, charge=True)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 612
intent:
NAME_BEGIN Voodoo Doctor NAME_END ATK_BEGIN 2 ATK_END DEF_BEGIN 1 DEF_END COST_BEGIN 1 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Free RARITY_END DESC_BEGIN Battlecry : Restore 2 Health . DESC_END
canonicalized reference:
class VoodooDoctor(MinionCard):
def __init__(self):
super().__init__('Voodoo Doctor', 1, CHARACTER_CLASS.ALL,
CARD_RARITY.FREE, battlecry=Battlecry(Heal(2),
CharacterSelector(players=BothPlayer(), picker=UserPicker())))
def create_minion(self, player):
return Minion(2, 1)
canonicalized prediction:
class VoodooDoctor(MinionCard):
def __init__(self):
super().__init__('Voodoo Doctor', 1, CHARACTER_CLASS.ALL,
CARD_RARITY.FREE, battlecry=Battlecry(Heal(2),
CharacterSelector(players=BothPlayer(), picker=UserPicker())))
def create_minion(self, player):
return Minion(2, 1)
reference code for bleu calculation:
class VoodooDoctor(MinionCard):
def __init__(self):
super().__init__("Voodoo Doctor", 1, CHARACTER_CLASS.ALL, CARD_RARITY.FREE, battlecry=Battlecry(Heal(2), CharacterSelector(players=BothPlayer(), picker=UserPicker())))
def create_minion(self, player):
return Minion(2, 1)
predicted code for bleu calculation:
class VoodooDoctor(MinionCard):
def __init__(self):
super().__init__('Voodoo Doctor', 1, CHARACTER_CLASS.ALL,
CARD_RARITY.FREE, battlecry=Battlecry(Heal(2),
CharacterSelector(players=BothPlayer(), picker=UserPicker())))
def create_minion(self, player):
return Minion(2, 1)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 613
intent:
NAME_BEGIN Wrath of Air Totem NAME_END ATK_BEGIN 0 ATK_END DEF_BEGIN 2 DEF_END COST_BEGIN 1 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Shaman PLAYER_CLS_END RACE_BEGIN Totem RACE_END RARITY_BEGIN Free RARITY_END DESC_BEGIN Spell Damage +1 DESC_END
canonicalized reference:
class WrathOfAirTotem(MinionCard):
def __init__(self):
super().__init__('Wrath of Air Totem', 1, CHARACTER_CLASS.SHAMAN,
CARD_RARITY.FREE, False, MINION_TYPE.TOTEM)
def create_minion(self, player):
return Minion(0, 2, spell_damage=1)
canonicalized prediction:
class WrathOfAirTotem(MinionCard):
def __init__(self):
super().__init__('Wrath of Air Totem', 1, CHARACTER_CLASS.SHAMAN,
CARD_RARITY.FREE, False, MINION_TYPE.TOTEM)
def create_minion(self, player):
return Minion(0, 2, spell_damage=1)
reference code for bleu calculation:
class WrathOfAirTotem(MinionCard):
def __init__(self):
super().__init__("Wrath of Air Totem", 1, CHARACTER_CLASS.SHAMAN, CARD_RARITY.FREE, False, MINION_TYPE.TOTEM)
def create_minion(self, player):
return Minion(0, 2, spell_damage=1)
predicted code for bleu calculation:
class WrathOfAirTotem(MinionCard):
def __init__(self):
super().__init__('Wrath of Air Totem', 1, CHARACTER_CLASS.SHAMAN,
CARD_RARITY.FREE, False, MINION_TYPE.TOTEM)
def create_minion(self, player):
return Minion(0, 2, spell_damage=1)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 614
intent:
NAME_BEGIN Astral Communion NAME_END ATK_BEGIN -1 ATK_END DEF_BEGIN -1 DEF_END COST_BEGIN 4 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Spell TYPE_END PLAYER_CLS_BEGIN Druid PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Epic RARITY_END DESC_BEGIN Gain 10 Mana Crystals . Discard your hand . DESC_END
canonicalized reference:
class AstralCommunion(SpellCard):
def __init__(self):
super().__init__('Astral Communion', 4, CHARACTER_CLASS.DRUID,
CARD_RARITY.EPIC)
def use(self, player, game):
super().use(player, game)
for card in player.hand:
card.unattach()
player.trigger('card_discarded', card)
player.hand = []
player.max_mana = 10
player.mana = 10
canonicalized prediction:
class AstralCommunionCommunion(SpellCard):
def __init__(self):
super().__init__('Astral Communion', 4, CHARACTER_CLASS.DRUID,
CARD_RARITY.EPIC)
def use(self, player, game):
super().use(player, game)
if player.max_mana < 10:
player.max_mana += 1
reference code for bleu calculation:
class AstralCommunion(SpellCard):
def __init__(self):
super().__init__("Astral Communion", 4, CHARACTER_CLASS.DRUID, CARD_RARITY.EPIC)
def use(self, player, game):
super().use(player, game)
for card in player.hand:
card.unattach()
player.trigger("card_discarded", card)
player.hand = []
player.max_mana = 10
player.mana = 10
predicted code for bleu calculation:
class AstralCommunionCommunion(SpellCard):
def __init__(self):
super().__init__('Astral Communion', 4, CHARACTER_CLASS.DRUID,
CARD_RARITY.EPIC)
def use(self, player, game):
super().use(player, game)
if player.max_mana < 10:
player.max_mana += 1
pred_shorter_than_ref: True
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 615
intent:
NAME_BEGIN Annoy-o-Tron NAME_END ATK_BEGIN 1 ATK_END DEF_BEGIN 2 DEF_END COST_BEGIN 2 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN Mech RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Taunt NL Divine Shield DESC_END
canonicalized reference:
class AnnoyoTron(MinionCard):
def __init__(self):
super().__init__('Annoy-o-Tron', 2, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.MECH)
def create_minion(self, player):
return Minion(1, 2, divine_shield=True, taunt=True)
canonicalized prediction:
class Annoy-o-Tron(MinionCard):
def __init__(self):
super().__init__('Annoy-o-Tron', 2, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.MECH)
def create_minion(self, player):
return Minion(1, 2, divine_shield=True, taunt=False)
reference code for bleu calculation:
class AnnoyoTron(MinionCard):
def __init__(self):
super().__init__("Annoy-o-Tron", 2, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.MECH)
def create_minion(self, player):
return Minion(1, 2, divine_shield=True, taunt=True)
predicted code for bleu calculation:
class Annoy-o-Tron(MinionCard):
def __init__(self):
super().__init__('Annoy-o-Tron', 2, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.MECH)
def create_minion(self, player):
return Minion(1, 2, divine_shield=True, taunt=False)
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 616
intent:
NAME_BEGIN Burly Rockjaw Trogg NAME_END ATK_BEGIN 3 ATK_END DEF_BEGIN 5 DEF_END COST_BEGIN 4 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Whenever your opponent casts a spell , gain +2 Attack . DESC_END
canonicalized reference:
class BurlyRockjawTrogg(MinionCard):
def __init__(self):
super().__init__('Burly Rockjaw Trogg', 4, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(3, 5, effects=[Effect(SpellCast(player=EnemyPlayer()),
ActionTag(Give(ChangeAttack(2)), SelfSelector()))])
canonicalized prediction:
class BurlyRockjawTrogg(MinionCard):
def __init__(self):
super().__init__('Burly Rockjaw Trogg', 4, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(3, 5, effects=[Effect(SpellCast(player=EnemyPlayer()),
ActionTag(Give(ChangeAttack(1)), SelfSelector()))])
reference code for bleu calculation:
class BurlyRockjawTrogg(MinionCard):
def __init__(self):
super().__init__("Burly Rockjaw Trogg", 4, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(3, 5, effects=[Effect(SpellCast(player=EnemyPlayer()), ActionTag(Give(ChangeAttack(2)), SelfSelector()))])
predicted code for bleu calculation:
class BurlyRockjawTrogg(MinionCard):
def __init__(self):
super().__init__('Burly Rockjaw Trogg', 4, CHARACTER_CLASS.ALL,
CARD_RARITY.COMMON)
def create_minion(self, player):
return Minion(3, 5, effects=[Effect(SpellCast(player=EnemyPlayer()),
ActionTag(Give(ChangeAttack(1)), SelfSelector()))])
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 617
intent:
NAME_BEGIN Cogmaster 's Wrench NAME_END ATK_BEGIN 1 ATK_END DEF_BEGIN -1 DEF_END COST_BEGIN 3 COST_END DUR_BEGIN 3 DUR_END TYPE_BEGIN Weapon TYPE_END PLAYER_CLS_BEGIN Rogue PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Epic RARITY_END DESC_BEGIN Has +2 Attack while you have a Mech . DESC_END
canonicalized reference:
class CogmastersWrench(WeaponCard):
def __init__(self):
super().__init__("Cogmaster's Wrench", 3, CHARACTER_CLASS.ROGUE,
CARD_RARITY.EPIC)
def create_weapon(self, player):
return Weapon(1, 3, buffs=[Buff(ChangeAttack(2), GreaterThan(Count(
MinionSelector(IsType(MINION_TYPE.MECH))), value=0))])
canonicalized prediction:
class CogmasterWrenchWrench(WeaponCard):
def __init__(self):
super().__init__("Gallywix's Wrench Wrench", 3, CHARACTER_CLASS.
ROGUE, CARD_RARITY.EPIC)
def create_weapon(self, player):
return Weapon(1, 3, auras=[Aura(ChangeAttack(2), SelfSelector())])
reference code for bleu calculation:
class CogmastersWrench(WeaponCard):
def __init__(self):
super().__init__("Cogmaster's Wrench", 3, CHARACTER_CLASS.ROGUE, CARD_RARITY.EPIC)
def create_weapon(self, player):
return Weapon(1, 3, buffs=[Buff(ChangeAttack(2), GreaterThan(Count(MinionSelector(IsType(MINION_TYPE.MECH))), value=0))])
predicted code for bleu calculation:
class CogmasterWrenchWrench(WeaponCard):
def __init__(self):
super().__init__("Gallywix's Wrench Wrench", 3, CHARACTER_CLASS.
ROGUE, CARD_RARITY.EPIC)
def create_weapon(self, player):
return Weapon(1, 3, auras=[Aura(ChangeAttack(2), SelfSelector())])
pred_shorter_than_ref: True
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 618
intent:
NAME_BEGIN Echo of Medivh NAME_END ATK_BEGIN -1 ATK_END DEF_BEGIN -1 DEF_END COST_BEGIN 4 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Spell TYPE_END PLAYER_CLS_BEGIN Mage PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Epic RARITY_END DESC_BEGIN Put a copy of each friendly minion into your hand . DESC_END
canonicalized reference:
class EchoOfMedivh(SpellCard):
def __init__(self):
super().__init__('Echo of Medivh', 4, CHARACTER_CLASS.MAGE,
CARD_RARITY.EPIC)
def use(self, player, game):
super().use(player, game)
for minion in sorted(copy.copy(player.minions), key=lambda minion:
minion.born):
if len(player.hand) < 10:
player.hand.append(minion.card)
canonicalized prediction:
class EchoofMedivh(SpellCard):
def __init__(self):
super().__init__('Echo of Medivh', 4, CHARACTER_CLASS.MAGE,
CARD_RARITY.EPIC)
def use(self, player, game):
return super().can_use(player, game) and len(player.minions) < 7
def use(self, player, game):
super().use(player, game)
for target in copy.copy(player.minions):
minion_card.add_buff(Buff(ManaChange(-3)))
reference code for bleu calculation:
class EchoOfMedivh(SpellCard):
def __init__(self):
super().__init__("Echo of Medivh", 4, CHARACTER_CLASS.MAGE, CARD_RARITY.EPIC)
def use(self, player, game):
super().use(player, game)
for minion in sorted(copy.copy(player.minions), key=lambda minion: minion.born):
if len(player.hand) < 10:
player.hand.append(minion.card)
predicted code for bleu calculation:
class EchoofMedivh(SpellCard):
def __init__(self):
super().__init__('Echo of Medivh', 4, CHARACTER_CLASS.MAGE,
CARD_RARITY.EPIC)
def use(self, player, game):
return super().can_use(player, game) and len(player.minions) < 7
def use(self, player, game):
super().use(player, game)
for target in copy.copy(player.minions):
minion_card.add_buff(Buff(ManaChange(-3)))
pred_shorter_than_ref: False
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 619
intent:
NAME_BEGIN Floating Watcher NAME_END ATK_BEGIN 4 ATK_END DEF_BEGIN 4 DEF_END COST_BEGIN 5 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Warlock PLAYER_CLS_END RACE_BEGIN Demon RACE_END RARITY_BEGIN Common RARITY_END DESC_BEGIN Whenever your hero takes damage on your turn , gain +2/+2 . DESC_END
canonicalized reference:
class FloatingWatcher(MinionCard):
def __init__(self):
super().__init__('Floating Watcher', 5, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.DEMON)
def create_minion(self, player):
return Minion(4, 4, effects=[Effect(CharacterDamaged(And(IsHero(),
OwnersTurn())), ActionTag(Give([Buff(ChangeAttack(2)), Buff(
ChangeHealth(2))]), SelfSelector()))])
canonicalized prediction:
class FloatingWatcher(MinionCard):
def __init__(self):
super().__init__('Floating Watcher', 5, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.DEMON)
def create_minion(self, player):
return Minion(4, 4, effects=[Effect(TurnEnded(), ActionTag(Give(
ChangeAttack(2)), SelfSelector()))])
reference code for bleu calculation:
class FloatingWatcher(MinionCard):
def __init__(self):
super().__init__("Floating Watcher", 5, CHARACTER_CLASS.WARLOCK, CARD_RARITY.COMMON, minion_type=MINION_TYPE.DEMON)
def create_minion(self, player):
return Minion(4, 4, effects=[Effect(CharacterDamaged(And(IsHero(), OwnersTurn())), ActionTag(Give([Buff(ChangeAttack(2)), Buff(ChangeHealth(2))]), SelfSelector()))])
predicted code for bleu calculation:
class FloatingWatcher(MinionCard):
def __init__(self):
super().__init__('Floating Watcher', 5, CHARACTER_CLASS.WARLOCK,
CARD_RARITY.COMMON, minion_type=MINION_TYPE.DEMON)
def create_minion(self, player):
return Minion(4, 4, effects=[Effect(TurnEnded(), ActionTag(Give(
ChangeAttack(2)), SelfSelector()))])
pred_shorter_than_ref: True
weired: False
------------------------------------------------------------
------------------------------------------------------------
example_id: 620
intent:
NAME_BEGIN Gnomish Experimenter NAME_END ATK_BEGIN 3 ATK_END DEF_BEGIN 2 DEF_END COST_BEGIN 3 COST_END DUR_BEGIN -1 DUR_END TYPE_BEGIN Minion TYPE_END PLAYER_CLS_BEGIN Neutral PLAYER_CLS_END RACE_BEGIN NIL RACE_END RARITY_BEGIN Rare RARITY_END DESC_BEGIN Battlecry : Draw a card . If it 's a minion , transform it into a Chicken . DESC_END
canonicalized reference:
class GnomishExperimenter(MinionCard):
def __init__(self):
super().__init__('Gnomish Experimenter', 3, CHARACTER_CLASS.ALL,
CARD_RARITY.RARE, battlecry=(Battlecry(Draw(), PlayerSelector()
), Battlecry(Transform(GnomishChicken()), LastDrawnSelector(),
Matches(LastDrawnSelector(), IsMinion()))))
def create_minion(self, player):
return Minion(3, 2)
canonicalized prediction:
class GnomishExperimenter(MinionCard):
def __init__(self):
super().__init__('Gnomish Experimenter', 3, CHARACTER_CLASS.ALL,
CARD_RARITY.RARE, battlecry=Battlecry(Draw(), PlayerSelector()))
def create_minion(self, player):
return Minion(3, 2)
reference code for bleu calculation:
class GnomishExperimenter(MinionCard):
def __init__(self):
super().__init__("Gnomish Experimenter", 3, CHARACTER_CLASS.ALL, CARD_RARITY.RARE, battlecry=(Battlecry(Draw(), PlayerSelector()), Battlecry(Transform(GnomishChicken()), LastDrawnSelector(), Matches(LastDrawnSelector(), IsMinion()))))