openai / improved-diffusion
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 20 files with 2,695 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (540 lines of code)
    • 4 medium size files (1,241 lines of code)
    • 0 small files (0 lines of code)
    • 15 very small files (914 lines of code)
0% | 20% | 46% | 0% | 33%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 20% | 46% | 0% | 33%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
improved_diffusion0% | 24% | 55% | 0% | 19%
scripts0% | 0% | 0% | 0% | 100%
datasets0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
gaussian_diffusion.py
in improved_diffusion
540 25
unet.py
in improved_diffusion
356 23
logger.py
in improved_diffusion
327 49
train_util.py
in improved_diffusion
295 21
script_util.py
in improved_diffusion
263 10
95 3
image_sample.py
in scripts
87 2
nn.py
in improved_diffusion
83 14
80 3
respace.py
in improved_diffusion
79 8
resample.py
in improved_diffusion
78 11
image_nll.py
in scripts
73 3
image_datasets.py
in improved_diffusion
73 5
image_train.py
in scripts
68 2
dist_util.py
in improved_diffusion
48 5
lsun_bedroom.py
in datasets
40 3
losses.py
in improved_diffusion
40 3
cifar10.py
in datasets
35 1
fp16_util.py
in improved_diffusion
34 7
__init__.py
in improved_diffusion
1 -
Files With Most Units (Top 19)
File# lines# units
logger.py
in improved_diffusion
327 49
gaussian_diffusion.py
in improved_diffusion
540 25
unet.py
in improved_diffusion
356 23
train_util.py
in improved_diffusion
295 21
nn.py
in improved_diffusion
83 14
resample.py
in improved_diffusion
78 11
script_util.py
in improved_diffusion
263 10
respace.py
in improved_diffusion
79 8
fp16_util.py
in improved_diffusion
34 7
dist_util.py
in improved_diffusion
48 5
image_datasets.py
in improved_diffusion
73 5
95 3
image_nll.py
in scripts
73 3
80 3
lsun_bedroom.py
in datasets
40 3
losses.py
in improved_diffusion
40 3
image_train.py
in scripts
68 2
image_sample.py
in scripts
87 2
cifar10.py
in datasets
35 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
Correlations

File Size vs. Commits (all time): 1 points

improved_diffusion/fp16_util.py x: 2 commits (all time) y: 34 lines of code
34.0
lines of code
  min: 34.0
  average: 34.0
  25th percentile: 34.0
  median: 34.0
  75th percentile: 34.0
  max: 34.0
0 2.0
commits (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (all time): 1 points

improved_diffusion/fp16_util.py x: 2 contributors (all time) y: 34 lines of code
34.0
lines of code
  min: 34.0
  average: 34.0
  25th percentile: 34.0
  median: 34.0
  75th percentile: 34.0
  max: 34.0
0 2.0
contributors (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".