facebookresearch / ContextualBanditsAttacks
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 19 files with 2,788 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (504 lines of code)
    • 4 medium size files (1,134 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (809 lines of code)
    • 8 very small files (341 lines of code)
0% | 18% | 40% | 29% | 12%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 18% | 40% | 29% | 12%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
isoexp/mab0% | 59% | 0% | 24% | 15%
isoexp0% | 0% | 50% | 30% | 18%
isoexp/linear0% | 0% | 67% | 29% | 3%
isoexp/contextual0% | 0% | 66% | 33% | <1%
Longest Files (Top 19)
File# lines# units
smab_algs.py
in isoexp/mab
504 17
linearbandit.py
in isoexp/linear
340 32
devfair_reward_attack.py
in isoexp
284 4
contextual_linucb.py
in isoexp/contextual
257 36
parse_reward_attack.py
in isoexp
253 3
main_attack_one_user.py
in isoexp
180 3
linearmab_models.py
in isoexp/linear
149 17
main_attacked_context.py
in isoexp
145 1
contextual_models.py
in isoexp/contextual
128 12
contextual_mab_algs.py
in isoexp/mab
106 11
main_mab.py
in isoexp/mab
101 -
main_mab.py
in isoexp
100 -
main_attack_reward.py
in isoexp
93 2
arms.py
in isoexp/mab
82 16
contextual_arms.py
in isoexp/mab
47 13
coldstart.py
in isoexp/linear
16 1
__init__.py
in isoexp/contextual
1 -
__init__.py
in isoexp
1 -
__init__.py
in isoexp/mab
1 -
Files With Most Units (Top 14)
File# lines# units
contextual_linucb.py
in isoexp/contextual
257 36
linearbandit.py
in isoexp/linear
340 32
linearmab_models.py
in isoexp/linear
149 17
smab_algs.py
in isoexp/mab
504 17
arms.py
in isoexp/mab
82 16
contextual_arms.py
in isoexp/mab
47 13
contextual_models.py
in isoexp/contextual
128 12
contextual_mab_algs.py
in isoexp/mab
106 11
devfair_reward_attack.py
in isoexp
284 4
main_attack_one_user.py
in isoexp
180 3
parse_reward_attack.py
in isoexp
253 3
main_attack_reward.py
in isoexp
93 2
main_attacked_context.py
in isoexp
145 1
coldstart.py
in isoexp/linear
16 1
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 34 long lines.

File# lines# units# long lines
devfair_reward_attack.py
in isoexp
284 4 13
linearbandit.py
in isoexp/linear
340 32 4
parse_reward_attack.py
in isoexp
253 3 4
contextual_linucb.py
in isoexp/contextual
257 36 3
main_attacked_context.py
in isoexp
145 1 2
linearmab_models.py
in isoexp/linear
149 17 2
main_attack_one_user.py
in isoexp
180 3 2
main_mab.py
in isoexp
100 - 1
contextual_mab_algs.py
in isoexp/mab
106 11 1
contextual_arms.py
in isoexp/mab
47 13 1
main_mab.py
in isoexp/mab
101 - 1