facebookresearch / lightweight-inference-compilation
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 30 files with 2,195 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,048 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (376 lines of code)
    • 25 very small files (771 lines of code)
0% | 0% | 47% | 17% | 35%
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% | 0% | 49% | 17% | 32%
cfg0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/lic/ppl/experimental/inference_compilation0% | 0% | 96% | 0% | 3%
src/lic/ppl/world0% | 0% | 44% | 21% | 33%
src/lic/ppl/inference0% | 0% | 48% | 34% | 17%
src/lic/ppl/inference/proposer0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/lic/ppl/model0% | 0% | 0% | 0% | 100%
src/lic/ppl0% | 0% | 0% | 0% | 100%
src/lic/ppl/experimental0% | 0% | 0% | 0% | 100%
src/lic0% | 0% | 0% | 0% | 100%
Longest Files (Top 30)
File# lines# units
ic_infer.py
in src/lic/ppl/experimental/inference_compilation
398 13
world.py
in src/lic/ppl/world
389 42
abstract_mh_infer.py
in src/lic/ppl/inference
261 8
variable.py
in src/lic/ppl/world
191 12
abstract_infer.py
in src/lic/ppl/inference
185 11
diff_stack.py
in src/lic/ppl/world
90 17
utils.py
in src/lic/ppl/world
89 13
abstract_single_site_single_step_proposer.py
in src/lic/ppl/inference/proposer
83 3
cfg
setup.cfg
in root
59 -
setup.py
in root
51 -
monte_carlo_samples.py
in src/lic/ppl/inference
51 9
world_vars.py
in src/lic/ppl/world
42 11
diff.py
in src/lic/ppl/world
40 13
statistical_model.py
in src/lic/ppl/model
34 3
utils.py
in src/lic/ppl/model
33 2
abstract_single_site_proposer.py
in src/lic/ppl/inference/proposer
33 4
__init__.py
in src/lic/ppl/world
28 -
monte_carlo_samples_data.py
in src/lic/ppl/inference
24 1
single_site_ancestral_proposer.py
in src/lic/ppl/inference/proposer
23 1
utils.py
in src/lic/ppl/inference
20 1
toml
pyproject.toml
in root
16 -
rv_identifier.py
in src/lic/ppl/model
16 3
__init__.py
in src/lic/ppl/model
13 -
utils.py
in src/lic/ppl/experimental/inference_compilation
12 1
__init__.py
in src/lic/ppl
9 -
__init__.py
in src/lic/ppl/experimental
1 -
__init__.py
in src/lic/ppl/experimental/inference_compilation
1 -
__init__.py
in src/lic/ppl/inference
1 -
__init__.py
in src/lic/ppl/inference/proposer
1 -
__init__.py
in src/lic
1 -
Files With Most Units (Top 19)
File# lines# units
world.py
in src/lic/ppl/world
389 42
diff_stack.py
in src/lic/ppl/world
90 17
ic_infer.py
in src/lic/ppl/experimental/inference_compilation
398 13
utils.py
in src/lic/ppl/world
89 13
diff.py
in src/lic/ppl/world
40 13
variable.py
in src/lic/ppl/world
191 12
world_vars.py
in src/lic/ppl/world
42 11
abstract_infer.py
in src/lic/ppl/inference
185 11
monte_carlo_samples.py
in src/lic/ppl/inference
51 9
abstract_mh_infer.py
in src/lic/ppl/inference
261 8
abstract_single_site_proposer.py
in src/lic/ppl/inference/proposer
33 4
statistical_model.py
in src/lic/ppl/model
34 3
rv_identifier.py
in src/lic/ppl/model
16 3
abstract_single_site_single_step_proposer.py
in src/lic/ppl/inference/proposer
83 3
utils.py
in src/lic/ppl/model
33 2
utils.py
in src/lic/ppl/experimental/inference_compilation
12 1
single_site_ancestral_proposer.py
in src/lic/ppl/inference/proposer
23 1
monte_carlo_samples_data.py
in src/lic/ppl/inference
24 1
utils.py
in src/lic/ppl/inference
20 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines