-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqOutput.py
941 lines (935 loc) · 7.69 KB
/
qOutput.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
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
# _______ _ _ __
# |__ __| (_) (_) /_ |
# | |_ __ __ _ _ _ __ _ _ __ __ _ | |
# | | '__/ _` | | '_ \| | '_ \ / _` | | |
# | | | | (_| | | | | | | | | | (_| | | |
# |_|_| \__,_|_|_| |_|_|_| |_|\__, | |_|
# __/ |
# |___/
trainingWeights1 = """ccopy_reg
_reconstructor
p0
(cinfrastructure
Counter
p1
c__builtin__
dict
p2
(dp3
g0
(cfeatures
HighCount
p4
c__builtin__
object
p5
Ntp6
Rp7
F0.6174386838611166
sg0
(cfeatures
Illegality
p8
g5
Ntp9
Rp10
(dp11
S'checker'
p12
g0
(cinfrastructure
Checker
p13
g5
Ntp14
Rp15
(dp16
S'basicSuitConstraint'
p17
g0
(cconstraints
BasicSuitConstraint
p18
g5
Ntp19
Rp20
sS'wildValueConstraint'
p21
g0
(cconstraints
WildValueConstraint
p22
g5
Ntp23
Rp24
(dp25
S'wildValue'
p26
NsbsS'wildSuitEffect'
p27
g0
(cconstraints
WildSuitEffect
p28
g5
Ntp29
Rp30
(dp31
S'wildSuit'
p32
NsbsS'basicValueConstraint'
p33
g0
(cconstraints
BasicValueConstraint
p34
g5
Ntp35
Rp36
(dp37
S'greater'
p38
I00
sbsS'lastCard'
p39
g0
(cinfrastructure
Card
p40
c__builtin__
tuple
p41
(I5
S'C'
p42
tp43
tp44
Rp45
sS'poisonDistanceConstraint'
p46
g0
(cconstraints
PoisonDistanceConstraint
p47
g5
Ntp48
Rp49
(dp50
S'dist'
p51
I2
sbsbsbF-2.7505157649024397
sg0
(cfeatures
SizeofHand
p52
g5
Ntp53
Rp54
F-0.5992959987767437
sg0
(cfeatures
LowCount
p55
g5
Ntp56
Rp57
F-1.7250777577720307
stp58
Rp59
."""
trainingWeights3 = """ccopy_reg
_reconstructor
p0
(cinfrastructure
Counter
p1
c__builtin__
dict
p2
(dp3
g0
(cfeatures
ScrewCount
p4
c__builtin__
object
p5
Ntp6
Rp7
F1.6473560034928671
sg0
(cfeatures
LowCount
p8
g5
Ntp9
Rp10
F-1.3158833741767906
sg0
(cfeatures
SizeofHand
p11
g5
Ntp12
Rp13
F-0.32733421851661887
sg0
(cfeatures
SkipCount
p14
g5
Ntp15
Rp16
F0.027942894393546573
sg0
(cfeatures
Illegality
p17
g5
Ntp18
Rp19
(dp20
S'checker'
p21
g0
(cinfrastructure
Checker
p22
g5
Ntp23
Rp24
(dp25
S'basicSuitConstraint'
p26
g0
(cconstraints
BasicSuitConstraint
p27
g5
Ntp28
Rp29
sS'wildValueConstraint'
p30
g0
(cconstraints
WildValueConstraint
p31
g5
Ntp32
Rp33
(dp34
S'wildValue'
p35
I5
sbsS'wildSuitEffect'
p36
g0
(cconstraints
WildSuitEffect
p37
g5
Ntp38
Rp39
(dp40
S'wildSuit'
p41
S'H'
p42
sbsS'basicValueConstraint'
p43
g0
(cconstraints
BasicValueConstraint
p44
g5
Ntp45
Rp46
(dp47
S'greater'
p48
I01
sbsS'lastCard'
p49
g0
(cinfrastructure
Card
p50
c__builtin__
tuple
p51
(I8
S'D'
p52
tp53
tp54
Rp55
sS'poisonDistanceConstraint'
p56
g0
(cconstraints
PoisonDistanceConstraint
p57
g5
Ntp58
Rp59
(dp60
S'dist'
p61
I1
sbsbsbF-4.308369646382535
sg0
(cfeatures
PoisonCount
p62
g5
Ntp63
Rp64
F-1.7709785147403345
sg0
(cfeatures
WildValue
p65
g5
Ntp66
Rp67
F0.1735160742112743
sg0
(cfeatures
PlayScrew
p68
g5
Ntp69
Rp70
F0.717297257382895
sg0
(cfeatures
HighCount
p71
g5
Ntp72
Rp73
F0.1567009419668808
sg0
(cfeatures
WildSuit
p74
g5
Ntp75
Rp76
F0.6840761134438798
sg0
(cfeatures
MajorityPercent
p77
g5
Ntp78
Rp79
F10.248997036390408
sg0
(cfeatures
PlaySkip
p80
g5
Ntp81
Rp82
F0.008189420449433361
stp83
Rp84
."""
trainingWeights4 = """ccopy_reg
_reconstructor
p0
(cinfrastructure
Counter
p1
c__builtin__
dict
p2
(dp3
g0
(cfeatures
WildValue
p4
c__builtin__
object
p5
Ntp6
Rp7
F0.2762608406555087
sg0
(cfeatures
LowCount
p8
g5
Ntp9
Rp10
F-0.5168784397553295
sg0
(cfeatures
SizeofHand
p11
g5
Ntp12
Rp13
F0.32525531897413673
sg0
(cfeatures
SkipCount
p14
g5
Ntp15
Rp16
F0.2860999766584647
sg0
(cfeatures
MajorityPercent
p17
g5
Ntp18
Rp19
F9.065419762116063
sg0
(cfeatures
PoisonCount
p20
g5
Ntp21
Rp22
F-0.050800443775496314
sg0
(cfeatures
ScrewCount
p23
g5
Ntp24
Rp25
F1.9219830863496148
sg0
(cfeatures
PlayScrew
p26
g5
Ntp27
Rp28
F0.8912441620257413
sg0
(cfeatures
HighCount
p29
g5
Ntp30
Rp31
F-0.10727388657245995
sg0
(cfeatures
WildSuit
p32
g5
Ntp33
Rp34
F0.3580904107887499
sg0
(cfeatures
Illegality
p35
g5
Ntp36
Rp37
(dp38
S'checker'
p39
g0
(cinfrastructure
Checker
p40
g5
Ntp41
Rp42
(dp43
S'basicSuitConstraint'
p44
g0
(cconstraints
BasicSuitConstraint
p45
g5
Ntp46
Rp47
sS'wildValueConstraint'
p48
g0
(cconstraints
WildValueConstraint
p49
g5
Ntp50
Rp51
(dp52
S'wildValue'
p53
I6
sbsS'wildSuitEffect'
p54
g0
(cconstraints
WildSuitEffect
p55
g5
Ntp56
Rp57
(dp58
S'wildSuit'
p59
S'D'
p60
sbsS'basicValueConstraint'
p61
g0
(cconstraints
BasicValueConstraint
p62
g5
Ntp63
Rp64
(dp65
S'greater'
p66
I00
sbsS'lastCard'
p67
g0
(cinfrastructure
Card
p68
c__builtin__
tuple
p69
(I10
S'H'
p70
tp71
tp72
Rp73
sS'poisonDistanceConstraint'
p74
g0
(cconstraints
PoisonDistanceConstraint
p75
g5
Ntp76
Rp77
(dp78
S'dist'
p79
I2
sbsbsbF-4.28566116649466
sg0
(cfeatures
PlaySkip
p80
g5
Ntp81
Rp82
F0.4388908994196137
stp83
Rp84
."""
trainingWeights5= """ccopy_reg
_reconstructor
p0
(cinfrastructure
Counter
p1
c__builtin__
dict
p2
(dp3
g0
(cfeatures
LowCount
p4
c__builtin__
object
p5
Ntp6
Rp7
F-1.346855128760125
sg0
(cfeatures
PlaySkip
p8
g5
Ntp9
Rp10
F0.7961914366865559
sg0
(cfeatures
SkipCount
p11
g5
Ntp12
Rp13
F1.2491596280577204
sg0
(cfeatures
WildValue
p14
g5
Ntp15
Rp16
F0.6100447302503361
sg0
(cfeatures
SizeofHand
p17
g5
Ntp18
Rp19
F-1.0046090371412753
sg0
(cfeatures
PoisonCount
p20
g5
Ntp21
Rp22
F-0.263259565304264
sg0
(cfeatures
PlayScrew
p23
g5
Ntp24
Rp25
F1.8175785975319978
sg0
(cfeatures
ScrewCount
p26
g5
Ntp27
Rp28
F2.5684877557323844
sg0
(cfeatures
WildSuit
p29
g5
Ntp30
Rp31
F2.1109529905870166
sg0
(cfeatures
Illegality
p32
g5
Ntp33
Rp34
(dp35
S'checker'
p36
g0
(cinfrastructure
Checker
p37
g5
Ntp38
Rp39
(dp40
S'basicSuitConstraint'
p41
g0
(cconstraints
BasicSuitConstraint
p42
g5
Ntp43
Rp44
sS'wildValueConstraint'
p45
g0
(cconstraints
WildValueConstraint
p46
g5
Ntp47
Rp48
(dp49
S'wildValue'
p50
I8
sbsS'wildSuitEffect'
p51
g0
(cconstraints
WildSuitEffect
p52
g5
Ntp53
Rp54
(dp55
S'wildSuit'
p56
S'H'
p57
sbsS'basicValueConstraint'
p58
g0
(cconstraints
BasicValueConstraint
p59
g5
Ntp60
Rp61
(dp62
S'greater'
p63
I00
sbsS'lastCard'
p64
g0
(cinfrastructure
Card
p65
c__builtin__
tuple
p66
(I7
S'D'
p67
tp68
tp69
Rp70
sS'poisonDistanceConstraint'
p71
g0
(cconstraints
PoisonDistanceConstraint
p72
g5
Ntp73
Rp74
(dp75
S'dist'
p76
NsbsbsbF-4.314917237179734
sg0
(cfeatures
MajorityPercent
p77
g5
Ntp78
Rp79
F6.704210089015127
sg0
(cfeatures
HighCount
p80
g5
Ntp81
Rp82
F0.9516719687249258
stp83
Rp84
."""
trainingWeights7 = """ccopy_reg
_reconstructor
p0
(cinfrastructure
Counter
p1
c__builtin__
dict
p2
(dp3
g0
(cfeatures
SizeofHand
p4
c__builtin__
object
p5
Ntp6
Rp7
F-0.929793350800886
sg0
(cfeatures
SkipCount
p8
g5
Ntp9
Rp10
F0.5673584547936055
sg0
(cfeatures
ScrewCount
p11
g5
Ntp12
Rp13
F2.8671908998545628
sg0
(cfeatures
LowCount
p14
g5
Ntp15
Rp16
F-1.5673406886246886
sg0
(cfeatures
Illegality
p17
g5
Ntp18
Rp19
(dp20
S'checker'
p21
g0
(cinfrastructure
Checker
p22
g5
Ntp23
Rp24
(dp25
S'basicSuitConstraint'
p26
g0
(cconstraints
BasicSuitConstraint
p27
g5
Ntp28
Rp29
sS'wildValueConstraint'
p30
g0
(cconstraints
WildValueConstraint
p31
g5
Ntp32
Rp33
(dp34
S'wildValue'
p35
I3
sbsS'wildSuitEffect'
p36
g0
(cconstraints
WildSuitEffect
p37
g5
Ntp38
Rp39
(dp40
S'wildSuit'
p41
S'S'
p42
sbsS'basicValueConstraint'
p43
g0
(cconstraints
BasicValueConstraint
p44
g5
Ntp45
Rp46
(dp47
S'greater'
p48
I00
sbsS'lastCard'
p49
g0
(cinfrastructure
Card
p50
c__builtin__
tuple
p51
(I5
S'C'
p52
tp53
tp54
Rp55
sS'poisonDistanceConstraint'
p56
g0
(cconstraints
PoisonDistanceConstraint
p57
g5
Ntp58
Rp59
(dp60
S'dist'
p61
NsbsbsbF-4.425698426036343
sg0
(cfeatures
WildValue
p62
g5
Ntp63
Rp64
F1.2595647745755219
sg0
(cfeatures
WildSuit
p65
g5
Ntp66
Rp67
F0.39250565166365875
sg0
(cfeatures
PlaySkip
p68
g5
Ntp69
Rp70
F0.2174039752322672
sg0
(cfeatures
PlayScrew
p71
g5
Ntp72
Rp73
F0.41111595592467465
sg0
(cfeatures
PoisonCount
p74
g5
Ntp75
Rp76
F-1.4280516466224702
sg0
(cfeatures
HighCount
p77
g5
Ntp78
Rp79
F0.9601224141546162
sg0
(cfeatures
MajorityPercent
p80
g5
Ntp81
Rp82
F9.513367781035239
stp83
Rp84
.
"""