facebookresearch / hsd3
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 54 files with 9,565 lines of code.
    • 1 very long files (1,047 lines of code)
    • 4 long files (2,832 lines of code)
    • 10 medium size files (3,589 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (774 lines of code)
    • 34 very small files (1,323 lines of code)
10% | 29% | 37% | 8% | 13%
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
py12% | 33% | 41% | 9% | 3%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
hucc/agents24% | 30% | 37% | 4% | 2%
ROOT0% | 64% | 35% | 0% | 0%
hucc/models0% | 77% | 0% | 20% | 1%
hucc/envs0% | 0% | 80% | 18% | <1%
hucc0% | 0% | 47% | 24% | 28%
config0% | 0% | 0% | 0% | 100%
config/agent0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
config/hydra/launcher0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
hsd3.py
in hucc/agents
1047 26
pretrain.py
in root
877 9
hiro.py
in hucc/agents
701 13
hsdb.py
in hucc/agents
627 13
blocks.py
in hucc/models
627 50
train.py
in root
478 8
sacmt.py
in hucc/agents
478 7
ctrlgs.py
in hucc/envs
462 19
sachrl.py
in hucc/agents
381 9
wrappers.py
in hucc/envs
377 31
thmp_vector_env.py
in hucc/envs
347 13
replaybuffer.py
in hucc
300 15
sacse.py
in hucc/agents
279 5
sac.py
in hucc/agents
244 4
diayn.py
in hucc/agents
243 5
agent.py
in hucc/agents
183 22
bandits.py
in hucc/models
169 28
render.py
in hucc
155 9
goal_spaces.py
in hucc/envs
135 4
features.py
in hucc/envs
132 15
utils.py
in hucc
83 5
humanoid_pretrain.yaml
in config
76 -
walker_pretrain.yaml
in config
76 -
utils.py
in hucc/agents
72 5
walker_diaync_pretrain.yaml
in config
70 -
hashcount.py
in hucc
65 10
humanoid_hsd3.yaml
in config
64 -
humanoid_sd.yaml
in config
62 -
walker_hsdb.yaml
in config
62 -
walker_hsd3.yaml
in config
58 -
walker_sd.yaml
in config
56 -
walker_hiro.yaml
in config
54 -
common.yaml
in config
50 -
walker_diaync_hrl.yaml
in config
40 -
walker_se.yaml
in config
38 -
hsd3.yaml
in config/agent
37 -
humanoid_sac.yaml
in config
37 -
hiro.yaml
in config/agent
35 -
hsdb.yaml
in config/agent
34 -
__init__.py
in hucc/agents
32 4
walker_sac.yaml
in config
31 -
spaces.py
in hucc
26 2
sachrl.yaml
in config/agent
20 -
sacmt.yaml
in config/agent
19 -
sacse.yaml
in config/agent
18 -
sac.yaml
in config/agent
17 -
extract_diaync_policy.py
in scripts
17 -
mujoco.yaml
in config
15 -
diayn.yaml
in config/agent
15 -
__init__.py
in hucc/envs
14 -
Files With Most Units (Top 20)
File# lines# units
blocks.py
in hucc/models
627 50
wrappers.py
in hucc/envs
377 31
bandits.py
in hucc/models
169 28
hsd3.py
in hucc/agents
1047 26
agent.py
in hucc/agents
183 22
ctrlgs.py
in hucc/envs
462 19
replaybuffer.py
in hucc
300 15
features.py
in hucc/envs
132 15
hsdb.py
in hucc/agents
627 13
hiro.py
in hucc/agents
701 13
thmp_vector_env.py
in hucc/envs
347 13
hashcount.py
in hucc
65 10
pretrain.py
in root
877 9
render.py
in hucc
155 9
sachrl.py
in hucc/agents
381 9
train.py
in root
478 8
sacmt.py
in hucc/agents
478 7
utils.py
in hucc/agents
72 5
sacse.py
in hucc/agents
279 5
diayn.py
in hucc/agents
243 5
Files With Long Lines (Top 9)

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

File# lines# units# long lines
sacmt.py
in hucc/agents
478 7 2
hiro.py
in hucc/agents
701 13 2
pretrain.py
in root
877 9 1
train.py
in root
478 8 1
render.py
in hucc
155 9 1
sachrl.py
in hucc/agents
381 9 1
sac.py
in hucc/agents
244 4 1
sacse.py
in hucc/agents
279 5 1
diayn.py
in hucc/agents
243 5 1