facebookresearch / OccupancyAnticipation
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 66 files with 9,027 lines of code.
    • 2 very long files (2,491 lines of code)
    • 1 long files (769 lines of code)
    • 10 medium size files (3,074 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (759 lines of code)
    • 48 very small files (1,934 lines of code)
27% | 8% | 34% | 8% | 21%
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
py31% | 9% | 38% | 9% | 11%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
occant_baselines/rl66% | 0% | 30% | 2% | <1%
habitat_extensions0% | 57% | 0% | 13% | 29%
occant_utils0% | 0% | 79% | 0% | 20%
occant_baselines/supervised0% | 0% | 78% | 0% | 21%
occant_baselines/common0% | 0% | 74% | 0% | 25%
occant_baselines/models0% | 0% | 40% | 53% | 5%
occant_baselines/generate_topdown_maps0% | 0% | 41% | 24% | 34%
occant_baselines/config0% | 0% | 84% | 0% | 15%
configs/exploration0% | 0% | 0% | 0% | 100%
configs/model_configs0% | 0% | 0% | 0% | 100%
habitat_extensions/config0% | 0% | 0% | 0% | 100%
configs/navigation0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
occant_baselines0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
occant_exp_trainer.py
in occant_baselines/rl
1486 21
ans.py
in occant_baselines/rl
1005 43
sensors.py
in habitat_extensions
769 54
policy.py
in occant_baselines/rl
449 28
occant_nav_trainer.py
in occant_baselines/rl
375 11
metrics.py
in occant_utils
342 25
policy_utils.py
in occant_baselines/rl
337 20
common.py
in occant_utils
321 26
map_update.py
in occant_baselines/supervised
294 14
rollout_storage.py
in occant_baselines/common
274 17
occant.py
in occant_baselines/models
266 23
generate_occant_gt_maps.py
in occant_baselines/generate_topdown_maps
215 10
default.py
in occant_baselines/config
201 1
measures.py
in habitat_extensions
181 14
unet.py
in occant_baselines/models
175 22
mapnet.py
in occant_baselines/models
175 9
generate_environment_layouts.py
in occant_baselines/generate_topdown_maps
126 9
planner.py
in occant_baselines/rl
102 11
exploration_dataset.py
in habitat_extensions
98 5
utils.py
in habitat_extensions
95 3
visualization.py
in occant_utils
92 2
default.py
in habitat_extensions/config
92 1
imitation.py
in occant_baselines/supervised
79 10
generate_exploration_dataset.py
in occant_utils
77 1
exploration_demo.py
in habitat_extensions
73 7
geometry_utils.py
in habitat_extensions
54 7
env_utils.py
in occant_baselines/common
54 1
gibson_train_hc2020.yaml
in configs/exploration
51 -
gibson_evaluate_hc2020.yaml
in configs/navigation
49 -
gibson_train_hc2020_fast.yaml
in configs/exploration
47 -
gibson_train_w_ar.yaml
in configs/exploration
45 -
run.py
in root
43 2
gibson_train.yaml
in configs/exploration
41 -
environments.py
in occant_baselines/common
40 7
gibson_evaluate_noisy.yaml
in configs/navigation
39 -
exploration_gibson.yaml
in habitat_extensions/config
37 -
gibson_evaluate_noisy.yaml
in configs/exploration
37 -
mp3d_evaluate_noisy.yaml
in configs/exploration
37 -
exploration_task.py
in habitat_extensions
36 4
ppo_exploration.yaml
in occant_baselines/config
35 -
gibson_evaluate_noise_free.yaml
in configs/navigation
35 -
utils.py
in occant_baselines/models
33 1
mp3d_evaluate_noise_free.yaml
in configs/exploration
33 -
gibson_evaluate_noise_free.yaml
in configs/exploration
33 -
ppo_exploration.yaml
in configs/model_configs/occant_depth
32 -
ppo_exploration_evaluate_noise_free.yaml
in configs/model_configs/occant_depth
32 -
ppo_exploration.yaml
in configs/model_configs/occant_ground_truth
32 -
ppo_exploration.yaml
in configs/model_configs/occant_rgbd
32 -
ppo_exploration.yaml
in configs/model_configs/occant_rgb
32 -
ppo_exploration.yaml
in configs/model_configs/ans_rgb
32 -
Files With Most Units (Top 20)
File# lines# units
sensors.py
in habitat_extensions
769 54
ans.py
in occant_baselines/rl
1005 43
policy.py
in occant_baselines/rl
449 28
common.py
in occant_utils
321 26
metrics.py
in occant_utils
342 25
occant.py
in occant_baselines/models
266 23
unet.py
in occant_baselines/models
175 22
occant_exp_trainer.py
in occant_baselines/rl
1486 21
policy_utils.py
in occant_baselines/rl
337 20
rollout_storage.py
in occant_baselines/common
274 17
measures.py
in habitat_extensions
181 14
map_update.py
in occant_baselines/supervised
294 14
planner.py
in occant_baselines/rl
102 11
occant_nav_trainer.py
in occant_baselines/rl
375 11
imitation.py
in occant_baselines/supervised
79 10
generate_occant_gt_maps.py
in occant_baselines/generate_topdown_maps
215 10
mapnet.py
in occant_baselines/models
175 9
generate_environment_layouts.py
in occant_baselines/generate_topdown_maps
126 9
exploration_demo.py
in habitat_extensions
73 7
geometry_utils.py
in habitat_extensions
54 7
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
env_utils.py
in occant_baselines/common
54 1 1