openai / Video-Pre-Training
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 22 files with 2,820 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (889 lines of code)
    • 10 small files (1,511 lines of code)
    • 9 very small files (420 lines of code)
0% | 0% | 31% | 53% | 14%
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% | 0% | 31% | 53% | 14%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 0% | 40% | 48% | 11%
ROOT0% | 0% | 0% | 72% | 27%
Longest Files (Top 22)
File# lines# units
xf.py
in lib
366 32
policy.py
in lib
314 28
util.py
in lib
209 13
misc.py
in lib
189 17
167 32
157 27
157 2
153 16
150 7
agent.py
in root
144 9
142 6
136 18
116 11
88 6
86 2
66 4
57 6
42 5
29 6
mlp.py
in lib
26 3
25 1
1 -
Files With Most Units (Top 21)
File# lines# units
167 32
xf.py
in lib
366 32
policy.py
in lib
314 28
157 27
136 18
misc.py
in lib
189 17
153 16
util.py
in lib
209 13
116 11
agent.py
in root
144 9
150 7
142 6
29 6
88 6
57 6
42 5
66 4
mlp.py
in lib
26 3
86 2
157 2
25 1
Files With Long Lines (Top 11)

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

File# lines# units# long lines
misc.py
in lib
189 17 3
142 6 2
157 2 2
86 2 1
agent.py
in root
144 9 1
167 32 1
153 16 1
157 27 1
xf.py
in lib
366 32 1
88 6 1
57 6 1
Correlations

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

data_loader.py x: 4 commits (all time) y: 142 lines of code agent.py x: 9 commits (all time) y: 144 lines of code behavioural_cloning.py x: 2 commits (all time) y: 86 lines of code lib/policy.py x: 5 commits (all time) y: 314 lines of code run_inverse_dynamics_model.py x: 5 commits (all time) y: 157 lines of code inverse_dynamics_model.py x: 2 commits (all time) y: 57 lines of code lib/action_mapping.py x: 3 commits (all time) y: 153 lines of code run_agent.py x: 5 commits (all time) y: 25 lines of code lib/__init__.py x: 1 commits (all time) y: 1 lines of code lib/action_head.py x: 1 commits (all time) y: 157 lines of code lib/actions.py x: 1 commits (all time) y: 116 lines of code lib/impala_cnn.py x: 1 commits (all time) y: 150 lines of code lib/masked_attention.py x: 1 commits (all time) y: 88 lines of code lib/minecraft_util.py x: 1 commits (all time) y: 66 lines of code lib/misc.py x: 1 commits (all time) y: 189 lines of code lib/mlp.py x: 1 commits (all time) y: 26 lines of code lib/normalize_ewma.py x: 1 commits (all time) y: 42 lines of code lib/scaled_mse_head.py x: 1 commits (all time) y: 29 lines of code lib/torch_util.py x: 1 commits (all time) y: 136 lines of code lib/tree_util.py x: 1 commits (all time) y: 167 lines of code lib/util.py x: 1 commits (all time) y: 209 lines of code lib/xf.py x: 1 commits (all time) y: 366 lines of code
366.0
lines of code
  min: 1.0
  average: 128.18
  25th percentile: 53.25
  median: 139.0
  75th percentile: 159.5
  max: 366.0
0 9.0
commits (all time)
min: 1.0 | average: 2.23 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.25 | max: 9.0

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

data_loader.py x: 2 contributors (all time) y: 142 lines of code agent.py x: 3 contributors (all time) y: 144 lines of code behavioural_cloning.py x: 1 contributors (all time) y: 86 lines of code lib/policy.py x: 2 contributors (all time) y: 314 lines of code run_inverse_dynamics_model.py x: 1 contributors (all time) y: 157 lines of code inverse_dynamics_model.py x: 1 contributors (all time) y: 57 lines of code lib/action_mapping.py x: 2 contributors (all time) y: 153 lines of code run_agent.py x: 3 contributors (all time) y: 25 lines of code lib/__init__.py x: 1 contributors (all time) y: 1 lines of code lib/actions.py x: 1 contributors (all time) y: 116 lines of code lib/impala_cnn.py x: 1 contributors (all time) y: 150 lines of code lib/masked_attention.py x: 1 contributors (all time) y: 88 lines of code lib/minecraft_util.py x: 1 contributors (all time) y: 66 lines of code lib/misc.py x: 1 contributors (all time) y: 189 lines of code lib/mlp.py x: 1 contributors (all time) y: 26 lines of code lib/normalize_ewma.py x: 1 contributors (all time) y: 42 lines of code lib/scaled_mse_head.py x: 1 contributors (all time) y: 29 lines of code lib/torch_util.py x: 1 contributors (all time) y: 136 lines of code lib/tree_util.py x: 1 contributors (all time) y: 167 lines of code lib/util.py x: 1 contributors (all time) y: 209 lines of code lib/xf.py x: 1 contributors (all time) y: 366 lines of code
366.0
lines of code
  min: 1.0
  average: 128.18
  25th percentile: 53.25
  median: 139.0
  75th percentile: 159.5
  max: 366.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.32 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.25 | max: 3.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".