facebookresearch / simmc
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 41 files with 5,587 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,363 lines of code)
    • 6 medium size files (1,705 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,350 lines of code)
    • 23 very small files (1,169 lines of code)
0% | 24% | 30% | 24% | 20%
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% | 24% | 30% | 24% | 20%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
mm_action_prediction/tools0% | 34% | 11% | 30% | 23%
mm_dst/gpt2_dst/scripts0% | 67% | 25% | 0% | 6%
mm_action_prediction/models0% | 0% | 66% | 0% | 33%
mm_action_prediction/loaders0% | 0% | 67% | 22% | 10%
mm_action_prediction0% | 0% | 46% | 53% | 0%
mm_dst/gpt2_dst/utils0% | 0% | 0% | 100% | 0%
mm_dst/utils0% | 0% | 0% | 100% | 0%
mm_action_prediction/models/encoders0% | 0% | 0% | 0% | 100%
Longest Files (Top 41)
File# lines# units
extract_actions.py
in mm_action_prediction/tools
764 18
run_language_modeling.py
in mm_dst/gpt2_dst/scripts
599 14
loader_simmc.py
in mm_action_prediction/loaders
412 16
decoder.py
in mm_action_prediction/models
357 6
build_multimodal_inputs.py
in mm_action_prediction/tools
250 5
action_executor.py
in mm_action_prediction/models
232 3
run_generation.py
in mm_dst/gpt2_dst/scripts
228 7
options.py
in mm_action_prediction
226 1
action_evaluation.py
in mm_action_prediction/tools
178 2
data_support.py
in mm_action_prediction/tools
171 14
convert.py
in mm_dst/gpt2_dst/utils
162 4
eval_simmc_agent.py
in mm_action_prediction
150 2
loader_base.py
in mm_action_prediction/loaders
136 12
extract_actions_fashion.py
in mm_action_prediction/tools
117 3
evaluate_dst.py
in mm_dst/utils
112 7
extract_attribute_vocabulary.py
in mm_action_prediction/tools
110 2
response_evaluation.py
in mm_action_prediction/tools
109 3
train_simmc_agent.py
in mm_action_prediction
105 -
carousel_embedder.py
in mm_action_prediction/models
98 5
retrieval_evaluation.py
in mm_action_prediction/tools
94 2
assistant.py
in mm_action_prediction/models
83 2
embed_fashion_assets.py
in mm_action_prediction/tools
78 1
memory_network.py
in mm_action_prediction/models/encoders
77 3
embed_furniture_assets.py
in mm_action_prediction/tools
75 1
weight_init.py
in mm_action_prediction/tools
72 1
support.py
in mm_action_prediction/tools
68 7
rnn_support.py
in mm_action_prediction/tools
65 3
user_memory_embedder.py
in mm_action_prediction/models
58 3
loader_vocabulary.py
in mm_action_prediction/loaders
58 10
extract_vocabulary.py
in mm_action_prediction/tools
55 1
history_agnostic.py
in mm_action_prediction/models/encoders
55 2
hierarchical_recurrent.py
in mm_action_prediction/models/encoders
45 2
preprocess_input.py
in mm_dst/gpt2_dst/scripts
38 -
tf_idf_encoder.py
in mm_action_prediction/models/encoders
24 2
evaluate.py
in mm_dst/gpt2_dst/scripts
21 -
torch_support.py
in mm_action_prediction/tools
20 3
positional_encoding.py
in mm_action_prediction/models
20 2
__init__.py
in mm_action_prediction/models
19 -
self_attention.py
in mm_action_prediction/models
19 2
__init__.py
in mm_action_prediction/models/encoders
19 1
__init__.py
in mm_action_prediction/loaders
8 -
Files With Most Units (Top 20)
File# lines# units
extract_actions.py
in mm_action_prediction/tools
764 18
loader_simmc.py
in mm_action_prediction/loaders
412 16
run_language_modeling.py
in mm_dst/gpt2_dst/scripts
599 14
data_support.py
in mm_action_prediction/tools
171 14
loader_base.py
in mm_action_prediction/loaders
136 12
loader_vocabulary.py
in mm_action_prediction/loaders
58 10
run_generation.py
in mm_dst/gpt2_dst/scripts
228 7
evaluate_dst.py
in mm_dst/utils
112 7
support.py
in mm_action_prediction/tools
68 7
decoder.py
in mm_action_prediction/models
357 6
build_multimodal_inputs.py
in mm_action_prediction/tools
250 5
carousel_embedder.py
in mm_action_prediction/models
98 5
convert.py
in mm_dst/gpt2_dst/utils
162 4
extract_actions_fashion.py
in mm_action_prediction/tools
117 3
response_evaluation.py
in mm_action_prediction/tools
109 3
torch_support.py
in mm_action_prediction/tools
20 3
rnn_support.py
in mm_action_prediction/tools
65 3
user_memory_embedder.py
in mm_action_prediction/models
58 3
action_executor.py
in mm_action_prediction/models
232 3
memory_network.py
in mm_action_prediction/models/encoders
77 3
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 8 long lines.

File# lines# units# long lines
run_language_modeling.py
in mm_dst/gpt2_dst/scripts
599 14 7
run_generation.py
in mm_dst/gpt2_dst/scripts
228 7 1