-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_pylint_log.txt
5379 lines (5346 loc) · 357 KB
/
main_pylint_log.txt
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
************* Module setup
W: 34, 0: FIXME revert when done uploading the first version to PyPI (fixme)
C: 39, 0: Wrong continued indentation (add 2 spaces).
version=version,
^ | (bad-continuation)
C: 40, 0: Wrong continued indentation (add 2 spaces).
description="SMPyBandits: Open-Source Python package for Single- and Multi-Players multi-armed Bandits algorithms.",
^ | (bad-continuation)
C: 41, 0: Wrong continued indentation (add 2 spaces).
long_description=long_description,
^ | (bad-continuation)
C: 42, 0: Wrong continued indentation (add 2 spaces).
author="Lilian Besson",
^ | (bad-continuation)
C: 43, 0: Wrong continued indentation (add 2 spaces).
author_email="naereen AT crans DOT org".replace(" AT ", "@").replace(" DOT ", "."),
^ | (bad-continuation)
C: 44, 0: Wrong continued indentation (add 2 spaces).
url="https://github.com/SMPyBandits/SMPyBandits/",
^ | (bad-continuation)
C: 45, 0: Wrong continued indentation (add 2 spaces).
download_url="https://github.com/SMPyBandits/SMPyBandits/releases/",
^ | (bad-continuation)
C: 46, 0: Wrong continued indentation (add 2 spaces).
license="MIT",
^ | (bad-continuation)
C: 47, 0: Wrong continued indentation (add 2 spaces).
platforms=["GNU/Linux"],
^ | (bad-continuation)
C: 48, 0: Wrong continued indentation (add 2 spaces).
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
^ | (bad-continuation)
C: 49, 0: Wrong continued indentation (add 2 spaces).
classifiers=[
^ | (bad-continuation)
C: 63, 0: Wrong continued indentation (add 2 spaces).
keywords="multi-arm-bandits simulations learning-theory centralized-algorithms decentralized-algorithms cognitive-radio",
^ | (bad-continuation)
C: 64, 0: Wrong continued indentation (add 2 spaces).
# py_modules=["SMPyBandits"],
^ | (bad-continuation)
C: 65, 0: Wrong continued indentation (add 2 spaces).
packages=[
^ | (bad-continuation)
C: 73, 0: Wrong continued indentation (add 2 spaces).
install_requires=[
^ | (bad-continuation)
C: 82, 0: Wrong continued indentation (add 2 spaces).
extras_require={
^ | (bad-continuation)
C: 96, 0: Wrong continued indentation (add 2 spaces).
package_data={
^ | (bad-continuation)
C:102, 0: Wrong continued indentation (add 2 spaces).
project_urls={ # Optional
^ | (bad-continuation)
C:106, 0: Wrong continued indentation (add 5 spaces).
)
^ | (bad-continuation)
W: 14, 0: Redefining built-in 'open' (redefined-builtin)
W: 12, 0: Unused find_packages imported from setuptools (unused-import)
C: 14, 0: standard import "from codecs import open" should be placed before "from setuptools import setup, find_packages" (wrong-import-order)
C: 15, 0: standard import "from os import path" should be placed before "from setuptools import setup, find_packages" (wrong-import-order)
************* Module conf
C:286, 0: Wrong hanging indentation (remove 4 spaces).
# 'url_resolver': lambda url: github_doc_root + url,
| ^ (bad-continuation)
C:288, 0: Wrong hanging indentation (remove 4 spaces).
'enable_math': True,
| ^ (bad-continuation)
C:289, 0: Wrong hanging indentation (remove 4 spaces).
'enable_inline_math': True,
| ^ (bad-continuation)
W:144, 0: Redefining built-in 'copyright' (redefined-builtin)
C:231, 8: Missing function docstring (missing-docstring)
W:231,35: Unused argument 'pagename' (unused-argument)
W:231,45: Unused argument 'templatename' (unused-argument)
W:231,68: Unused argument 'doctree' (unused-argument)
C:250, 8: Missing function docstring (missing-docstring)
C:254, 8: Missing function docstring (missing-docstring)
E:284, 4: function already defined line 254 (function-redefined)
C:284, 4: Missing function docstring (missing-docstring)
W:222, 8: Unused import sphinxcontrib.googleanalytics (unused-import)
C:229, 8: Imports from package sphinx are not grouped (ungrouped-imports)
************* Module BlackBox_Bayesian_Optimization_for_Bandit_problems
C: 9, 0: Trailing whitespace (trailing-whitespace)
C: 11, 0: Trailing whitespace (trailing-whitespace)
C: 13, 0: Trailing whitespace (trailing-whitespace)
C: 15, 0: Trailing whitespace (trailing-whitespace)
C: 88, 0: Trailing whitespace (trailing-whitespace)
C: 90, 0: Trailing whitespace (trailing-whitespace)
C: 92, 0: Trailing whitespace (trailing-whitespace)
C: 95, 0: Trailing whitespace (trailing-whitespace)
C:131, 0: Wrong hanging indentation (remove 4 spaces).
list(range(nbArms)) # Categorical dimensions: arm index!
| ^ (bad-continuation)
C:133, 0: Wrong continued indentation (add 13 spaces).
est(),
^ | (bad-continuation)
C:134, 0: Wrong continued indentation (add 13 spaces).
acq_optimizer="sampling",
^ | (bad-continuation)
C:135, 0: Wrong continued indentation (add 13 spaces).
n_random_starts=3 * nbArms # Sure ?
^ | (bad-continuation)
C:136, 0: Wrong continued indentation (add 16 spaces).
)
^ | (bad-continuation)
C:153, 0: Trailing whitespace (trailing-whitespace)
C:156, 0: Trailing whitespace (trailing-whitespace)
C:164, 0: Trailing whitespace (trailing-whitespace)
C:171, 0: Wrong continued indentation (remove 1 space).
):
|^ (bad-continuation)
C:227, 0: Trailing whitespace (trailing-whitespace)
C:229, 0: Trailing whitespace (trailing-whitespace)
C:237, 0: Trailing whitespace (trailing-whitespace)
C:256, 0: No space allowed after bracket
ENVIRONMENTS = [ [Gaussian(mu, sigma=0.2) for mu in means] ]
^ (bad-whitespace)
C:256, 0: No space allowed before bracket
ENVIRONMENTS = [ [Gaussian(mu, sigma=0.2) for mu in means] ]
^ (bad-whitespace)
C:278, 0: Wrong hanging indentation (remove 4 spaces).
# --- Naive algorithms
| ^ (bad-continuation)
C:279, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:283, 0: Wrong hanging indentation (remove 4 spaces).
# --- Our algorithm, with two Unsupervised Learning algorithms
| ^ (bad-continuation)
C:284, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:288, 0: Wrong hanging indentation (remove 4 spaces).
# --- Basic UCB1 algorithm
| ^ (bad-continuation)
C:289, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:293, 0: Wrong hanging indentation (remove 4 spaces).
# --- Thompson sampling algorithm
| ^ (bad-continuation)
C:294, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:298, 0: Wrong hanging indentation (remove 4 spaces).
# --- klUCB algorithm, with Gaussian klucb function
| ^ (bad-continuation)
C:299, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:333, 0: Trailing whitespace (trailing-whitespace)
C:387, 0: No space allowed after bracket
ENVIRONMENTS = [ [Gaussian(mu, sigma=0.25) for mu in means] ]
^ (bad-whitespace)
C:387, 0: No space allowed before bracket
ENVIRONMENTS = [ [Gaussian(mu, sigma=0.25) for mu in means] ]
^ (bad-whitespace)
C:394, 0: Wrong hanging indentation (remove 4 spaces).
# --- Our algorithm, with two Unsupervised Learning algorithms
| ^ (bad-continuation)
C:395, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:399, 0: Wrong hanging indentation (remove 4 spaces).
# --- Basic UCB1 algorithm
| ^ (bad-continuation)
C:400, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:404, 0: Wrong hanging indentation (remove 4 spaces).
# --- Thompson sampling algorithm
| ^ (bad-continuation)
C:405, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:409, 0: Wrong hanging indentation (remove 4 spaces).
# --- klUCB algorithm, with Gaussian klucb function
| ^ (bad-continuation)
C:410, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:444, 0: Trailing whitespace (trailing-whitespace)
C:467, 0: Trailing whitespace (trailing-whitespace)
C:483, 0: No space allowed after bracket
ENVIRONMENTS = [ [Bernoulli(mu) for mu in means] ]
^ (bad-whitespace)
C:483, 0: No space allowed before bracket
ENVIRONMENTS = [ [Bernoulli(mu) for mu in means] ]
^ (bad-whitespace)
C:492, 0: Wrong hanging indentation (remove 4 spaces).
# --- Our algorithm, with two Unsupervised Learning algorithms
| ^ (bad-continuation)
C:493, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:497, 0: Wrong hanging indentation (remove 4 spaces).
# --- Basic UCB1 algorithm
| ^ (bad-continuation)
C:498, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:502, 0: Wrong hanging indentation (remove 4 spaces).
# --- Thompson sampling algorithm
| ^ (bad-continuation)
C:503, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:507, 0: Wrong hanging indentation (remove 4 spaces).
# --- klUCB algorithm, with Bernoulli klucb function
| ^ (bad-continuation)
C:509, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:543, 0: Trailing whitespace (trailing-whitespace)
C:562, 0: Trailing whitespace (trailing-whitespace)
C:567, 0: Trailing whitespace (trailing-whitespace)
C:569, 0: Trailing whitespace (trailing-whitespace)
C:571, 0: Trailing whitespace (trailing-whitespace)
C:576, 0: Trailing whitespace (trailing-whitespace)
C:586, 0: Trailing whitespace (trailing-whitespace)
C:588, 0: Trailing whitespace (trailing-whitespace)
C: 1, 0: Missing module docstring (missing-docstring)
E: 30, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 31, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 32, 0: Undefined variable 'get_ipython' (undefined-variable)
C: 38, 0: Import "from SMPyBandits.Environment import MAB" should be placed at the top of the module (wrong-import-position)
C: 46, 0: Import "from SMPyBandits.Arms import Gaussian" should be placed at the top of the module (wrong-import-position)
W: 53, 0: __future__ import is not the first non docstring statement (misplaced-future)
C: 53, 0: Import "from __future__ import print_function" should be placed at the top of the module (wrong-import-position)
C: 54, 0: Import "from IPython.core import page" should be placed at the top of the module (wrong-import-position)
C: 55, 0: Missing function docstring (missing-docstring)
E: 66, 0: Undefined variable 'get_ipython' (undefined-variable)
C:101, 0: Import "from skopt.learning import RandomForestRegressor" should be placed at the top of the module (wrong-import-position)
E:115, 0: Undefined variable 'get_ipython' (undefined-variable)
C:123, 0: Import "from skopt import Optimizer" should be placed at the top of the module (wrong-import-position)
C:129, 0: Missing function docstring (missing-docstring)
E:148, 0: Undefined variable 'get_ipython' (undefined-variable)
E:213, 0: Undefined variable 'get_ipython' (undefined-variable)
E:222, 0: Undefined variable 'get_ipython' (undefined-variable)
C:243, 0: Import "from SMPyBandits.Environment import Evaluator" should be placed at the top of the module (wrong-import-position)
C:262, 0: Import "from SMPyBandits.Policies import EmpiricalMeans, UCB, Thompson, klUCB" should be placed at the top of the module (wrong-import-position)
C:263, 0: Import "from SMPyBandits.Policies import klucb_mapping, klucbGauss as _klucbGauss" should be placed at the top of the module (wrong-import-position)
W:267,21: Unused argument 'precision' (unused-argument)
C:339, 0: Import "from SMPyBandits.Environment import tqdm" should be placed at the top of the module (wrong-import-position)
E:345, 0: Undefined variable 'get_ipython' (undefined-variable)
W:354,12: Redefining name 'evaluation' from outer scope (line 329) (redefined-outer-name)
C:354, 0: Missing function docstring (missing-docstring)
E:365, 0: Undefined variable 'get_ipython' (undefined-variable)
E:450, 0: Undefined variable 'get_ipython' (undefined-variable)
C:473, 0: Import "from SMPyBandits.Arms import Bernoulli" should be placed at the top of the module (wrong-import-position)
E:549, 0: Undefined variable 'get_ipython' (undefined-variable)
W:339, 0: Unused tqdm imported from SMPyBandits.Environment (unused-import)
C: 53, 0: standard import "from __future__ import print_function" should be placed before "import numpy as np" (wrong-import-order)
C:243, 0: Imports from package SMPyBandits are not grouped (ungrouped-imports)
************* Module Easily_creating_MAB_problems
C: 43, 0: Trailing whitespace (trailing-whitespace)
C:109, 0: Trailing whitespace (trailing-whitespace)
C:111, 0: Trailing whitespace (trailing-whitespace)
C:143, 0: Trailing whitespace (trailing-whitespace)
C:172, 0: Trailing whitespace (trailing-whitespace)
C:179, 0: Trailing whitespace (trailing-whitespace)
C:242, 0: Trailing whitespace (trailing-whitespace)
C:257, 0: Trailing whitespace (trailing-whitespace)
C:273, 0: No space allowed after bracket
M_E = MAB({ "arm_type": ExponentialFromMean, "params": [0.1, 0.5, 0.9]})
^ (bad-whitespace)
C:309, 0: Trailing whitespace (trailing-whitespace)
C:311, 0: Trailing whitespace (trailing-whitespace)
C:312, 0: Trailing whitespace (trailing-whitespace)
C:315, 0: Trailing whitespace (trailing-whitespace)
C:344, 0: Trailing whitespace (trailing-whitespace)
C:364, 0: Trailing whitespace (trailing-whitespace)
C:397, 0: Trailing whitespace (trailing-whitespace)
C: 1, 0: Missing module docstring (missing-docstring)
E: 14, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 15, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 16, 0: Undefined variable 'get_ipython' (undefined-variable)
C: 22, 0: Import "from SMPyBandits.Environment import MAB" should be placed at the top of the module (wrong-import-position)
W: 30, 0: Wildcard import SMPyBandits.Arms (wildcard-import)
C: 30, 0: Import "from SMPyBandits.Arms import *" should be placed at the top of the module (wrong-import-position)
W: 32, 0: Statement seems to have no effect (pointless-statement)
C: 38, 0: Import "import matplotlib as mpl" should be placed at the top of the module (wrong-import-position)
W:130, 0: Statement seems to have no effect (pointless-statement)
C:136, 0: Missing function docstring (missing-docstring)
W:162, 0: Statement seems to have no effect (pointless-statement)
C:185, 0: Import "import numpy as np" should be placed at the top of the module (wrong-import-position)
C:186, 0: Import "from scipy.special import erf" should be placed at the top of the module (wrong-import-position)
W:225, 0: Statement seems to have no effect (pointless-statement)
W:237, 0: Statement seems to have no effect (pointless-statement)
W:289, 0: Expression "UniformArm(0, 1).lower_amplitude" is assigned to nothing (expression-not-assigned)
W:290, 0: Expression "UniformArm(0, 0.1).lower_amplitude" is assigned to nothing (expression-not-assigned)
W:291, 0: Expression "UniformArm(0.4, 0.5).lower_amplitude" is assigned to nothing (expression-not-assigned)
W:292, 0: Expression "UniformArm(0.8, 0.9).lower_amplitude" is assigned to nothing (expression-not-assigned)
W: 30, 0: Unused import json from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import mapping_ARM_TYPE from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import shuffled from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import uniformMeans from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import uniformMeansWithSparsity from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import randomMeans from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import randomMeansWithGapBetweenMbestMworst from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import randomMeansWithSparsity from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import randomMeansWithSparsity2 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import array_from_str from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import list_from_str from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import tuple_from_str from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import optimal_selection_probabilities from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import geometricChangePoints from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import continuouslyVaryingMeans from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import randomContinuouslyVaryingMeans from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import shuffle from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import copy from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Binomial from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import UnboundedPoisson from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_0_1 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_0_2 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_0_5 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_0_10 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_0_100 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_m1_1 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_m2_2 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_m5_5 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_m10_10 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import Gaussian_m100_100 from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import UnboundedGaussian from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import UnboundedExponential from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import UnboundedGamma from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import DiscreteArm from wildcard import (unused-wildcard-import)
W: 30, 0: Unused import testmod from wildcard import (unused-wildcard-import)
************* Module Do_we_even_need_UCB
C: 10, 0: Trailing whitespace (trailing-whitespace)
C: 13, 0: Trailing whitespace (trailing-whitespace)
C: 19, 0: Trailing whitespace (trailing-whitespace)
C: 22, 0: Trailing whitespace (trailing-whitespace)
C: 24, 0: Trailing whitespace (trailing-whitespace)
C: 97, 0: Trailing whitespace (trailing-whitespace)
C: 99, 0: Trailing whitespace (trailing-whitespace)
C:112, 0: Trailing whitespace (trailing-whitespace)
C:154, 0: Wrong hanging indentation (remove 4 spaces).
{ # A very easy problem, but it is used in a lot of articles
| ^ (bad-continuation)
C:158, 0: Wrong hanging indentation (remove 4 spaces).
{ # An other problem, best arm = last, with three groups: very bad arms (0.01, 0.02), middle arms (0.3 - 0.6) and very good arms (0.78, 0.8, 0.82)
| ^ (bad-continuation)
C:162, 0: Wrong hanging indentation (remove 4 spaces).
{ # A very hard problem, as used in [Cappé et al, 2012]
| ^ (bad-continuation)
C:177, 0: Wrong hanging indentation (remove 4 spaces).
# --- UCB1 algorithm
| ^ (bad-continuation)
C:178, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:182, 0: Wrong hanging indentation (remove 4 spaces).
# --- UCB alpha algorithm with alpha=1/2
| ^ (bad-continuation)
C:183, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:189, 0: Wrong hanging indentation (remove 4 spaces).
# --- EmpiricalMeans algorithm
| ^ (bad-continuation)
C:190, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:258, 0: Trailing whitespace (trailing-whitespace)
C:270, 0: Trailing whitespace (trailing-whitespace)
C:282, 0: Trailing whitespace (trailing-whitespace)
C:293, 0: Trailing whitespace (trailing-whitespace)
C:295, 0: Trailing whitespace (trailing-whitespace)
C: 1, 0: Missing module docstring (missing-docstring)
W: 71, 0: __future__ import is not the first non docstring statement (misplaced-future)
C: 73, 0: Missing function docstring (missing-docstring)
E: 84, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 92, 0: Undefined variable 'get_ipython' (undefined-variable)
E:119, 0: Undefined variable 'get_ipython' (undefined-variable)
E:125, 0: Undefined variable 'get_ipython' (undefined-variable)
W:215, 0: Statement seems to have no effect (pointless-statement)
W:247,12: Redefining name 'evaluation' from outer scope (line 225) (redefined-outer-name)
W:247,24: Redefining name 'envId' from outer scope (line 235) (redefined-outer-name)
C:247, 0: Missing function docstring (missing-docstring)
W: 58, 0: Unused IndexPolicy imported from SMPyBandits.Policies.IndexPolicy (unused-import)
C: 71, 0: standard import "from __future__ import print_function" should be placed before "from SMPyBandits.Environment import Evaluator, tqdm" (wrong-import-order)
************* Module Example_of_a_small_Multi-Player_Simulation__with_Centralized_Algorithms
C: 9, 0: Trailing whitespace (trailing-whitespace)
C:108, 0: Trailing whitespace (trailing-whitespace)
C:112, 0: Trailing whitespace (trailing-whitespace)
C:119, 0: Wrong hanging indentation (remove 4 spaces).
{ # Scenario 1 from [Komiyama, Honda, Nakagawa, 2016, arXiv 1506.00779]
| ^ (bad-continuation)
C:123, 0: Wrong hanging indentation (remove 4 spaces).
{ # Classical scenario
| ^ (bad-continuation)
C:124, 0: Wrong hanging indentation (remove 1 space).
"arm_type": Bernoulli,
|^ (bad-continuation)
C:125, 0: Wrong hanging indentation (remove 1 space).
"params": [0.1, 0.3, 0.5, 0.7, 0.9]
|^ (bad-continuation)
C:127, 0: Wrong hanging indentation (remove 4 spaces).
{ # Harder scenario
| ^ (bad-continuation)
C:128, 0: Wrong hanging indentation (remove 1 space).
"arm_type": Bernoulli,
|^ (bad-continuation)
C:129, 0: Wrong hanging indentation (remove 1 space).
"params": [0.005, 0.01, 0.015, 0.84, 0.85]
|^ (bad-continuation)
C:136, 0: Trailing whitespace (trailing-whitespace)
C:138, 0: Trailing whitespace (trailing-whitespace)
C: 1, 0: Missing module docstring (missing-docstring)
E: 15, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 16, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 17, 0: Undefined variable 'get_ipython' (undefined-variable)
C: 24, 0: Import "from SMPyBandits.Environment import EvaluatorMultiPlayers, tqdm" should be placed at the top of the module (wrong-import-position)
C: 33, 0: Import "from SMPyBandits.Arms import Bernoulli" should be placed at the top of the module (wrong-import-position)
W: 42, 0: Wildcard import SMPyBandits.Policies (wildcard-import)
C: 42, 0: Import "from SMPyBandits.Policies import *" should be placed at the top of the module (wrong-import-position)
W: 43, 0: Wildcard import SMPyBandits.PoliciesMultiPlayers (wildcard-import)
C: 43, 0: Import "from SMPyBandits.PoliciesMultiPlayers import *" should be placed at the top of the module (wrong-import-position)
W: 50, 0: __future__ import is not the first non docstring statement (misplaced-future)
C: 50, 0: Import "from __future__ import print_function" should be placed at the top of the module (wrong-import-position)
C: 51, 0: Import "from IPython.core import page" should be placed at the top of the module (wrong-import-position)
C: 52, 0: Missing function docstring (missing-docstring)
E: 65, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 73, 0: Undefined variable 'get_ipython' (undefined-variable)
C: 82, 0: Import "from SMPyBandits.Environment.CollisionModels import onlyUniqUserGetsReward" should be placed at the top of the module (wrong-import-position)
E: 84, 0: Undefined variable 'get_ipython' (undefined-variable)
W:146, 0: Statement seems to have no effect (pointless-statement)
W:154, 0: Statement seems to have no effect (pointless-statement)
W:163, 0: Statement seems to have no effect (pointless-statement)
W:166, 0: Statement seems to have no effect (pointless-statement)
W:167, 0: Statement seems to have no effect (pointless-statement)
E:199, 0: Undefined variable 'get_ipython' (undefined-variable)
E:208, 0: Undefined variable 'get_ipython' (undefined-variable)
W:217,12: Redefining name 'evaluation' from outer scope (line 252) (redefined-outer-name)
W:217,24: Redefining name 'envId' from outer scope (line 299) (redefined-outer-name)
C:217, 0: Missing function docstring (missing-docstring)
C:241, 0: Import "import matplotlib as mpl" should be placed at the top of the module (wrong-import-position)
E:251,32: Undefined variable 'evs' (undefined-variable)
E:252,17: Undefined variable 'evaluators' (undefined-variable)
E:262,32: Undefined variable 'evs' (undefined-variable)
E:263,17: Undefined variable 'evaluators' (undefined-variable)
E:273,32: Undefined variable 'evs' (undefined-variable)
E:274,17: Undefined variable 'evaluators' (undefined-variable)
W:284,17: Redefining name 'e0' from outer scope (line 300) (redefined-outer-name)
W:284,21: Redefining name 'eothers' from outer scope (line 300) (redefined-outer-name)
W:284,30: Redefining name 'envId' from outer scope (line 299) (redefined-outer-name)
C:284, 0: Missing function docstring (missing-docstring)
E:300,17: Undefined variable 'evaluators' (undefined-variable)
E:300,39: Undefined variable 'evaluators' (undefined-variable)
W: 24, 0: Unused EvaluatorMultiPlayers imported from SMPyBandits.Environment (unused-import)
W: 42, 0: Unused import klucb_mapping from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BasePolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BaseWrapperPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Beta from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Gamma from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Gauss from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedBeta from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Uniform from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UniformOnSome from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import TakeFixedArm from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import TakeRandomFixedArm from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonGreedy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonFirst from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonDecreasingMEGA from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonExpDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EmpiricalMeans from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_KnownGap from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_RandomStop from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_FixedBudget from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_SPRT from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_BAI from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DeltaUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Softmax from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftmaxDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftMix from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftmaxWithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3Decreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3SoftMix from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3WithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3ELM from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3PlusPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ProbabilityPursuit from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BoltzmannGumbel from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Hedge from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import HedgeDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import HedgeWithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBmin from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBplus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBrandomInit from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBimproved from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBV from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBVtuned from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SparseUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SparseklUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SparseWrapper from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import CPUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MOSS from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MOSSH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MOSSAnytime from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MOSSExperimental from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedThompson from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BayesUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBloglog from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBHPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBPlusPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBswitch from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBswitchAnytime from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DMED from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DMEDPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import IMED from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OCUCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import AOCUCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OCUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBdagger from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OSSB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import GaussianOSSB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SparseOSSB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OSSB_DecreasingRate from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OSSB_AutoDecreasingRate from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BESA from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_sq from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_bq from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_h from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_lb from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_t from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoost_bq_h_lb from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoost_bq_h_lb_t from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoost_bq_h_lb_t_sq from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoost from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoostEpsilon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import AdBandits from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Aggregator from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import CORRAL from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import LearnExp from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import GenericAggregation from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ApproximatedFHGittins from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SlidingWindowRestart from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWR_UCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWR_UCBalpha from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWR_klUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWUCBPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedUCBPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import LM_DSEE from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWHash_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import CUSUM_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import PHT_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import GaussianGLR_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BernoulliGLR_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SubGaussianGLR_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3R from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3RPlusPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Monitored_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OracleSequentiallyRestartPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import AdSwitch from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DoublingTrickWrapper from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__arithmetic from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__geometric from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__exponential from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__exponential_fast from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__exponential_slow from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__exponential_generic from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import breakpoints from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_geometric from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_exponential from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_sqrti from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_i13 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_i23 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_i12_logi12 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_i_by_logi from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import WrapRange from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MusicalChair from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import optimalT0 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MusicalChairNoSensing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SIC_MMAB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SIC_MMAB_UCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SIC_MMAB_klUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import TrekkingTSN from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MEGA from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import with_proba from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import jit from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbBern from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbExp from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbGauss from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbPoisson from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbGamma from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import Selfish from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import CentralizedFixed from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import CentralizedCycling from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import OracleNotFair from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import OracleFair from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRand from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRandRand from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoEst from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoEstPlus from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoLearn from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoLearnEst from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoLearnExp3 from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import binary_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import ternary_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import generic_ternary_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import make_generic_ternary_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import generic_continuous_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import make_generic_continuous_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRandSticky from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRandRotating from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRandALOHA from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoCentralized from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopM from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMCautious from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMExtraCautious from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMOld from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopM from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMCautious from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMExtraCautious from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMOld from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMEst from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMEstPlus from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMEst from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMEstPlus from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import EstimateM from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import threshold_on_t_with_horizon from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import threshold_on_t_doubling_trick from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import threshold_on_t from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import ALOHA from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import tnext_beta from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import tnext_log from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import Scenario1 from wildcard import (unused-wildcard-import)
C: 50, 0: standard import "from __future__ import print_function" should be placed before "from SMPyBandits.Environment import EvaluatorMultiPlayers, tqdm" (wrong-import-order)
C: 82, 0: Imports from package SMPyBandits are not grouped (ungrouped-imports)
************* Module Example_of_a_small_Multi-Player_Simulation__with_rhoRand_and_Selfish_Algorithms
C: 9, 0: Trailing whitespace (trailing-whitespace)
C:114, 0: Trailing whitespace (trailing-whitespace)
C:118, 0: Trailing whitespace (trailing-whitespace)
C:125, 0: Wrong hanging indentation (remove 4 spaces).
{ # Scenario 1 from [Komiyama, Honda, Nakagawa, 2016, arXiv 1506.00779]
| ^ (bad-continuation)
C:129, 0: Wrong hanging indentation (remove 4 spaces).
{ # Classical scenario
| ^ (bad-continuation)
C:130, 0: Wrong hanging indentation (remove 1 space).
"arm_type": Bernoulli,
|^ (bad-continuation)
C:131, 0: Wrong hanging indentation (remove 1 space).
"params": [0.1, 0.3, 0.5, 0.7, 0.9]
|^ (bad-continuation)
C:133, 0: Wrong hanging indentation (remove 4 spaces).
{ # Harder scenario
| ^ (bad-continuation)
C:134, 0: Wrong hanging indentation (remove 1 space).
"arm_type": Bernoulli,
|^ (bad-continuation)
C:135, 0: Wrong hanging indentation (remove 1 space).
"params": [0.005, 0.01, 0.015, 0.84, 0.85]
|^ (bad-continuation)
C:142, 0: Trailing whitespace (trailing-whitespace)
C:144, 0: Trailing whitespace (trailing-whitespace)
C: 1, 0: Missing module docstring (missing-docstring)
E: 15, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 16, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 17, 0: Undefined variable 'get_ipython' (undefined-variable)
C: 24, 0: Import "from SMPyBandits.Environment import EvaluatorMultiPlayers, tqdm" should be placed at the top of the module (wrong-import-position)
C: 33, 0: Import "from SMPyBandits.Arms import Bernoulli" should be placed at the top of the module (wrong-import-position)
W: 42, 0: Wildcard import SMPyBandits.Policies (wildcard-import)
C: 42, 0: Import "from SMPyBandits.Policies import *" should be placed at the top of the module (wrong-import-position)
W: 43, 0: Wildcard import SMPyBandits.PoliciesMultiPlayers (wildcard-import)
C: 43, 0: Import "from SMPyBandits.PoliciesMultiPlayers import *" should be placed at the top of the module (wrong-import-position)
W: 50, 0: __future__ import is not the first non docstring statement (misplaced-future)
C: 50, 0: Import "from __future__ import print_function" should be placed at the top of the module (wrong-import-position)
C: 51, 0: Import "from IPython.core import page" should be placed at the top of the module (wrong-import-position)
C: 52, 0: Missing function docstring (missing-docstring)
E: 65, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 73, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 79, 0: Undefined variable 'get_ipython' (undefined-variable)
C: 88, 0: Import "from SMPyBandits.Environment.CollisionModels import onlyUniqUserGetsReward" should be placed at the top of the module (wrong-import-position)
E: 90, 0: Undefined variable 'get_ipython' (undefined-variable)
W:154, 0: Statement seems to have no effect (pointless-statement)
W:167, 0: Statement seems to have no effect (pointless-statement)
W:176, 0: Statement seems to have no effect (pointless-statement)
W:177, 0: Statement seems to have no effect (pointless-statement)
W:180, 0: Statement seems to have no effect (pointless-statement)
E:212, 0: Undefined variable 'get_ipython' (undefined-variable)
E:221, 0: Undefined variable 'get_ipython' (undefined-variable)
W:230,12: Redefining name 'evaluation' from outer scope (line 265) (redefined-outer-name)
W:230,24: Redefining name 'envId' from outer scope (line 312) (redefined-outer-name)
C:230, 0: Missing function docstring (missing-docstring)
C:254, 0: Import "import matplotlib as mpl" should be placed at the top of the module (wrong-import-position)
E:264,32: Undefined variable 'evs' (undefined-variable)
E:265,17: Undefined variable 'evaluators' (undefined-variable)
E:275,32: Undefined variable 'evs' (undefined-variable)
E:276,17: Undefined variable 'evaluators' (undefined-variable)
E:286,32: Undefined variable 'evs' (undefined-variable)
E:287,17: Undefined variable 'evaluators' (undefined-variable)
W:297,17: Redefining name 'e0' from outer scope (line 313) (redefined-outer-name)
W:297,21: Redefining name 'eothers' from outer scope (line 313) (redefined-outer-name)
W:297,30: Redefining name 'envId' from outer scope (line 312) (redefined-outer-name)
C:297, 0: Missing function docstring (missing-docstring)
E:313,17: Undefined variable 'evaluators' (undefined-variable)
E:313,39: Undefined variable 'evaluators' (undefined-variable)
W: 24, 0: Unused EvaluatorMultiPlayers imported from SMPyBandits.Environment (unused-import)
W: 42, 0: Unused import klucb_mapping from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BasePolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BaseWrapperPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Beta from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Gamma from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Gauss from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedBeta from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Uniform from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UniformOnSome from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import TakeFixedArm from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import TakeRandomFixedArm from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonGreedy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonFirst from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonDecreasingMEGA from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonExpDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EmpiricalMeans from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_KnownGap from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_RandomStop from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_FixedBudget from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_SPRT from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_BAI from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DeltaUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Softmax from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftmaxDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftMix from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftmaxWithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3Decreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3SoftMix from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3WithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3ELM from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3PlusPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ProbabilityPursuit from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BoltzmannGumbel from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Hedge from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import HedgeDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import HedgeWithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBmin from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBplus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBrandomInit from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBimproved from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBV from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBVtuned from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SparseUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SparseklUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SparseWrapper from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import CPUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MOSS from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MOSSH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MOSSAnytime from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MOSSExperimental from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedThompson from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BayesUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBloglog from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBHPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBPlusPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBswitch from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klUCBswitchAnytime from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DMED from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DMEDPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import IMED from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OCUCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import AOCUCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OCUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBdagger from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OSSB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import GaussianOSSB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SparseOSSB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OSSB_DecreasingRate from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OSSB_AutoDecreasingRate from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BESA from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_sq from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_bq from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_h from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_lb from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB_t from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoost_bq_h_lb from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoost_bq_h_lb_t from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoost_bq_h_lb_t_sq from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoost from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBoostEpsilon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import AdBandits from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Aggregator from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import CORRAL from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import LearnExp from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import GenericAggregation from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ApproximatedFHGittins from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SlidingWindowRestart from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWR_UCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWR_UCBalpha from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWR_klUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWUCBPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedUCBPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import LM_DSEE from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SWHash_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import CUSUM_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import PHT_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import GaussianGLR_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BernoulliGLR_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SubGaussianGLR_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3R from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3RPlusPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Monitored_IndexPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import OracleSequentiallyRestartPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import AdSwitch from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DoublingTrickWrapper from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__arithmetic from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__geometric from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__exponential from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__exponential_fast from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__exponential_slow from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import next_horizon__exponential_generic from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import breakpoints from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_geometric from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_exponential from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_sqrti from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_i13 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_i23 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_i12_logi12 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Ti_intermediate_i_by_logi from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import WrapRange from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MusicalChair from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import optimalT0 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MusicalChairNoSensing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SIC_MMAB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SIC_MMAB_UCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SIC_MMAB_klUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import TrekkingTSN from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import MEGA from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import with_proba from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import jit from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbBern from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbExp from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbGauss from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbPoisson from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import klucbGamma from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import CentralizedFixed from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import CentralizedCycling from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import OracleNotFair from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import OracleFair from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import CentralizedMultiplePlay from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import CentralizedIMP from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRandRand from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoEst from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoEstPlus from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoLearn from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoLearnEst from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoLearnExp3 from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import binary_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import ternary_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import generic_ternary_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import make_generic_ternary_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import generic_continuous_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import make_generic_continuous_feedback from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRandSticky from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRandRotating from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoRandALOHA from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import rhoCentralized from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopM from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMCautious from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMExtraCautious from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMOld from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopM from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMCautious from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMExtraCautious from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMOld from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMEst from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import RandTopMEstPlus from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMEst from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import MCTopMEstPlus from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import EstimateM from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import threshold_on_t_with_horizon from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import threshold_on_t_doubling_trick from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import threshold_on_t from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import ALOHA from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import tnext_beta from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import tnext_log from wildcard import (unused-wildcard-import)
W: 43, 0: Unused import Scenario1 from wildcard import (unused-wildcard-import)
C: 50, 0: standard import "from __future__ import print_function" should be placed before "from SMPyBandits.Environment import EvaluatorMultiPlayers, tqdm" (wrong-import-order)
C: 88, 0: Imports from package SMPyBandits are not grouped (ungrouped-imports)
************* Module Example_of_a_small_Single-Player_Simulation
C: 9, 0: Trailing whitespace (trailing-whitespace)
C: 98, 0: Wrong hanging indentation (remove 4 spaces).
{ # A very easy problem, but it is used in a lot of articles
| ^ (bad-continuation)
C:102, 0: Wrong hanging indentation (remove 4 spaces).
{ # An other problem, best arm = last, with three groups: very bad arms (0.01, 0.02), middle arms (0.3 - 0.6) and very good arms (0.78, 0.8, 0.82)
| ^ (bad-continuation)
C:106, 0: Wrong hanging indentation (remove 4 spaces).
{ # A very hard problem, as used in [Cappé et al, 2012]
| ^ (bad-continuation)
C:120, 0: Wrong hanging indentation (remove 4 spaces).
# --- UCB1 algorithm
| ^ (bad-continuation)
C:121, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:127, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:133, 0: Wrong hanging indentation (remove 4 spaces).
# --- Thompson algorithm
| ^ (bad-continuation)
C:134, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:138, 0: Wrong hanging indentation (remove 4 spaces).
# --- KL algorithms, here only klUCB
| ^ (bad-continuation)
C:139, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C:143, 0: Wrong hanging indentation (remove 4 spaces).
# --- BayesUCB algorithm
| ^ (bad-continuation)
C:144, 0: Wrong hanging indentation (remove 4 spaces).
{
| ^ (bad-continuation)
C: 1, 0: Missing module docstring (missing-docstring)
E: 15, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 16, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 17, 0: Undefined variable 'get_ipython' (undefined-variable)
C: 24, 0: Import "from SMPyBandits.Environment import Evaluator, tqdm" should be placed at the top of the module (wrong-import-position)
C: 33, 0: Import "from SMPyBandits.Arms import Bernoulli" should be placed at the top of the module (wrong-import-position)
W: 42, 0: Wildcard import SMPyBandits.Policies (wildcard-import)
C: 42, 0: Import "from SMPyBandits.Policies import *" should be placed at the top of the module (wrong-import-position)
W: 51, 0: __future__ import is not the first non docstring statement (misplaced-future)
C: 51, 0: Import "from __future__ import print_function" should be placed at the top of the module (wrong-import-position)
C: 52, 0: Import "from IPython.core import page" should be placed at the top of the module (wrong-import-position)
C: 53, 0: Missing function docstring (missing-docstring)
E: 64, 0: Undefined variable 'get_ipython' (undefined-variable)
E: 72, 0: Undefined variable 'get_ipython' (undefined-variable)
W:169, 0: Statement seems to have no effect (pointless-statement)
W:198,12: Redefining name 'evaluation' from outer scope (line 178) (redefined-outer-name)
W:198,24: Redefining name 'envId' from outer scope (line 187) (redefined-outer-name)
C:198, 0: Missing function docstring (missing-docstring)
W:209, 0: Statement seems to have no effect (pointless-statement)
C:215, 0: Import "import matplotlib as mpl" should be placed at the top of the module (wrong-import-position)
E:225, 0: Assigning to function call which doesn't return (assignment-from-no-return)
W: 42, 0: Unused import klucb_mapping from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BasePolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BaseWrapperPolicy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Beta from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Gamma from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Gauss from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DiscountedBeta from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Uniform from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UniformOnSome from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import TakeFixedArm from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import TakeRandomFixedArm from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonGreedy from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonFirst from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonDecreasingMEGA from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EpsilonExpDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import EmpiricalMeans from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_KnownGap from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_RandomStop from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_FixedBudget from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_SPRT from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ETC_BAI from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import DeltaUCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Softmax from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftmaxDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftMix from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import SoftmaxWithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3 from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3Decreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3SoftMix from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3WithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3ELM from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Exp3PlusPlus from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import ProbabilityPursuit from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import BoltzmannGumbel from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import Hedge from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import HedgeDecreasing from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import HedgeWithHorizon from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCB from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBH from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBmin from wildcard import (unused-wildcard-import)
W: 42, 0: Unused import UCBplus from wildcard import (unused-wildcard-import)