openai / procgen
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 20% | 55% | 14% | 9%
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
cpp0% | 24% | 63% | 9% | 3%
py0% | 0% | 28% | 48% | 22%
h0% | 0% | 0% | 35% | 64%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
procgen0% | 21% | 57% | 13% | 8%
procgen-build0% | 0% | 0% | 69% | 30%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
944 84
resources.cpp
in procgen/src
940 3
coinrun.cpp
in procgen/src/games
421 28
bossfight.cpp
in procgen/src/games
402 19
dodgeball.cpp
in procgen/src/games
375 17
vecgame.cpp
in procgen/src
371 16
jumper.cpp
in procgen/src/games
366 23
starpilot.cpp
in procgen/src/games
349 15
ninja.cpp
in procgen/src/games
348 21
chaser.cpp
in procgen/src/games
332 17
climber.cpp
in procgen/src/games
280 21
caveflyer.cpp
in procgen/src/games
262 12
miner.cpp
in procgen/src/games
258 20
leaper.cpp
in procgen/src/games
244 18
mazegen.cpp
in procgen/src
234 10
plunder.cpp
in procgen/src/games
228 11
fruitbot.cpp
in procgen/src/games
227 16
env.py
in procgen
214 10
game.cpp
in procgen/src
205 9
heist.cpp
in procgen/src/games
178 12
assetgen.cpp
in procgen/src
149 9
basic-abstract-game.h
in procgen/src
140 -
entity.cpp
in procgen/src
139 4
roomgen.cpp
in procgen/src
137 6
build_qt.py
in procgen-build/procgen_build
129 4
interactive.py
in procgen
121 4
buffer.h
in procgen/src
112 14
builder.py
in procgen
108 6
maze.cpp
in procgen/src/games
106 8
bigfish.cpp
in procgen/src/games
96 7
game.h
in procgen/src
91 -
randgen.cpp
in procgen/src
89 13
setup.py
in root
81 3
grid.h
in procgen/src
60 11
vecoptions.cpp
in procgen/src
49 5
entity.h
in procgen/src
46 -
cpp-utils.h
in procgen/src
45 4
vecgame.h
in procgen/src
34 -
mazegen.h
in procgen/src
32 -
build_package.py
in procgen-build/procgen_build
31 1
24 2
randgen.h
in procgen/src
22 -
assetgen.h
in procgen/src
21 -
game-registry.h
in procgen/src
21 2
cpp-utils.cpp
in procgen/src
18 1
qt-utils.h
in procgen/src
18 2
object-ids.h
in procgen/src
16 -
common.py
in procgen-build/procgen_build
15 1
vecoptions.h
in procgen/src
15 -
roomgen.h
in procgen/src
15 -
Files With Most Units (Top 41)
File# lines# units
944 84
coinrun.cpp
in procgen/src/games
421 28
jumper.cpp
in procgen/src/games
366 23
ninja.cpp
in procgen/src/games
348 21
climber.cpp
in procgen/src/games
280 21
miner.cpp
in procgen/src/games
258 20
bossfight.cpp
in procgen/src/games
402 19
leaper.cpp
in procgen/src/games
244 18
chaser.cpp
in procgen/src/games
332 17
dodgeball.cpp
in procgen/src/games
375 17
fruitbot.cpp
in procgen/src/games
227 16
vecgame.cpp
in procgen/src
371 16
starpilot.cpp
in procgen/src/games
349 15
buffer.h
in procgen/src
112 14
randgen.cpp
in procgen/src
89 13
heist.cpp
in procgen/src/games
178 12
caveflyer.cpp
in procgen/src/games
262 12
plunder.cpp
in procgen/src/games
228 11
grid.h
in procgen/src
60 11
mazegen.cpp
in procgen/src
234 10
env.py
in procgen
214 10
assetgen.cpp
in procgen/src
149 9
game.cpp
in procgen/src
205 9
maze.cpp
in procgen/src/games
106 8
bigfish.cpp
in procgen/src/games
96 7
roomgen.cpp
in procgen/src
137 6
builder.py
in procgen
108 6
vecoptions.cpp
in procgen/src
49 5
build_qt.py
in procgen-build/procgen_build
129 4
entity.cpp
in procgen/src
139 4
cpp-utils.h
in procgen/src
45 4
interactive.py
in procgen
121 4
setup.py
in root
81 3
resources.cpp
in procgen/src
940 3
game-registry.h
in procgen/src
21 2
qt-utils.h
in procgen/src
18 2
24 2
build_package.py
in procgen-build/procgen_build
31 1
common.py
in procgen-build/procgen_build
15 1
cpp-utils.cpp
in procgen/src
18 1
coinrun_old.cpp
in procgen/src/games
2 1
Files With Long Lines (Top 22)

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

File# lines# units# long lines
944 84 14
basic-abstract-game.h
in procgen/src
140 - 6
dodgeball.cpp
in procgen/src/games
375 17 5
fruitbot.cpp
in procgen/src/games
227 16 4
miner.cpp
in procgen/src/games
258 20 4
coinrun.cpp
in procgen/src/games
421 28 3
heist.cpp
in procgen/src/games
178 12 3
starpilot.cpp
in procgen/src/games
349 15 3
build_package.py
in procgen-build/procgen_build
31 1 2
build_qt.py
in procgen-build/procgen_build
129 4 2
caveflyer.cpp
in procgen/src/games
262 12 2
jumper.cpp
in procgen/src/games
366 23 2
climber.cpp
in procgen/src/games
280 21 2
vecgame.cpp
in procgen/src
371 16 2
assetgen.h
in procgen/src
21 - 1
vecgame.h
in procgen/src
34 - 1
chaser.cpp
in procgen/src/games
332 17 1
bossfight.cpp
in procgen/src/games
402 19 1
leaper.cpp
in procgen/src/games
244 18 1
ninja.cpp
in procgen/src/games
348 21 1
game.cpp
in procgen/src
205 9 1
env.py
in procgen
214 10 1
Correlations

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

procgen/env.py x: 5 commits (all time) y: 214 lines of code procgen-build/procgen_build/build_package.py x: 7 commits (all time) y: 31 lines of code setup.py x: 9 commits (all time) y: 81 lines of code procgen-build/procgen_build/build_qt.py x: 3 commits (all time) y: 129 lines of code procgen-build/procgen_build/common.py x: 3 commits (all time) y: 15 lines of code procgen-build/setup.py x: 3 commits (all time) y: 10 lines of code procgen/builder.py x: 1 commits (all time) y: 108 lines of code procgen/interactive.py x: 4 commits (all time) y: 121 lines of code procgen/gym_registration.py x: 6 commits (all time) y: 24 lines of code procgen/src/game.cpp x: 3 commits (all time) y: 205 lines of code procgen/src/vecgame.cpp x: 5 commits (all time) y: 371 lines of code procgen/__init__.py x: 2 commits (all time) y: 8 lines of code procgen/src/basic-abstract-game.cpp x: 2 commits (all time) y: 944 lines of code procgen/src/basic-abstract-game.h x: 3 commits (all time) y: 140 lines of code procgen/src/buffer.h x: 1 commits (all time) y: 112 lines of code procgen/src/cpp-utils.h x: 2 commits (all time) y: 45 lines of code procgen/src/entity.cpp x: 2 commits (all time) y: 139 lines of code procgen/src/game.h x: 3 commits (all time) y: 91 lines of code procgen/src/games/bigfish.cpp x: 2 commits (all time) y: 96 lines of code procgen/src/games/bossfight.cpp x: 2 commits (all time) y: 402 lines of code procgen/src/games/caveflyer.cpp x: 2 commits (all time) y: 262 lines of code procgen/src/games/chaser.cpp x: 2 commits (all time) y: 332 lines of code procgen/src/games/climber.cpp x: 2 commits (all time) y: 280 lines of code procgen/src/games/coinrun.cpp x: 2 commits (all time) y: 421 lines of code procgen/src/games/dodgeball.cpp x: 2 commits (all time) y: 375 lines of code procgen/src/games/fruitbot.cpp x: 2 commits (all time) y: 227 lines of code procgen/src/games/heist.cpp x: 2 commits (all time) y: 178 lines of code procgen/src/games/jumper.cpp x: 2 commits (all time) y: 366 lines of code procgen/src/games/leaper.cpp x: 2 commits (all time) y: 244 lines of code procgen/src/games/maze.cpp x: 2 commits (all time) y: 106 lines of code procgen/src/games/miner.cpp x: 2 commits (all time) y: 258 lines of code procgen/src/games/ninja.cpp x: 2 commits (all time) y: 348 lines of code procgen/src/grid.h x: 2 commits (all time) y: 60 lines of code procgen/src/object-ids.h x: 2 commits (all time) y: 16 lines of code procgen/src/randgen.cpp x: 2 commits (all time) y: 89 lines of code procgen/src/randgen.h x: 2 commits (all time) y: 22 lines of code procgen/src/resources.cpp x: 2 commits (all time) y: 940 lines of code procgen/src/resources.h x: 2 commits (all time) y: 13 lines of code procgen/src/vecgame.h x: 2 commits (all time) y: 34 lines of code procgen-build/procgen_build/__init__.py x: 1 commits (all time) y: 1 lines of code procgen/src/assetgen.cpp x: 1 commits (all time) y: 149 lines of code procgen/src/assetgen.h x: 1 commits (all time) y: 21 lines of code procgen/src/cpp-utils.cpp x: 1 commits (all time) y: 18 lines of code procgen/src/mazegen.cpp x: 1 commits (all time) y: 234 lines of code procgen/src/mazegen.h x: 1 commits (all time) y: 32 lines of code procgen/src/roomgen.cpp x: 1 commits (all time) y: 137 lines of code procgen/src/vecoptions.cpp x: 1 commits (all time) y: 49 lines of code
944.0
lines of code
  min: 1.0
  average: 164.18
  25th percentile: 21.25
  median: 107.0
  75th percentile: 241.5
  max: 944.0
0 9.0
commits (all time)
min: 1.0 | average: 2.25 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 9.0

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

procgen/env.py x: 3 contributors (all time) y: 214 lines of code procgen-build/procgen_build/build_package.py x: 2 contributors (all time) y: 31 lines of code setup.py x: 2 contributors (all time) y: 81 lines of code procgen-build/procgen_build/build_qt.py x: 2 contributors (all time) y: 129 lines of code procgen-build/procgen_build/common.py x: 2 contributors (all time) y: 15 lines of code procgen-build/setup.py x: 2 contributors (all time) y: 10 lines of code procgen/builder.py x: 1 contributors (all time) y: 108 lines of code procgen/interactive.py x: 2 contributors (all time) y: 121 lines of code procgen/gym_registration.py x: 1 contributors (all time) y: 24 lines of code procgen/src/game.cpp x: 1 contributors (all time) y: 205 lines of code procgen/src/vecgame.cpp x: 1 contributors (all time) y: 371 lines of code procgen/__init__.py x: 1 contributors (all time) y: 8 lines of code procgen/src/basic-abstract-game.cpp x: 1 contributors (all time) y: 944 lines of code procgen/src/basic-abstract-game.h x: 1 contributors (all time) y: 140 lines of code procgen/src/buffer.h x: 1 contributors (all time) y: 112 lines of code procgen/src/cpp-utils.h x: 1 contributors (all time) y: 45 lines of code procgen/src/game.h x: 1 contributors (all time) y: 91 lines of code procgen/src/games/bigfish.cpp x: 1 contributors (all time) y: 96 lines of code procgen/src/games/bossfight.cpp x: 1 contributors (all time) y: 402 lines of code procgen/src/games/caveflyer.cpp x: 1 contributors (all time) y: 262 lines of code procgen/src/games/chaser.cpp x: 1 contributors (all time) y: 332 lines of code procgen/src/games/climber.cpp x: 1 contributors (all time) y: 280 lines of code procgen/src/games/coinrun.cpp x: 1 contributors (all time) y: 421 lines of code procgen/src/games/dodgeball.cpp x: 1 contributors (all time) y: 375 lines of code procgen/src/games/fruitbot.cpp x: 1 contributors (all time) y: 227 lines of code procgen/src/games/heist.cpp x: 1 contributors (all time) y: 178 lines of code procgen/src/games/jumper.cpp x: 1 contributors (all time) y: 366 lines of code procgen/src/games/leaper.cpp x: 1 contributors (all time) y: 244 lines of code procgen/src/games/maze.cpp x: 1 contributors (all time) y: 106 lines of code procgen/src/games/miner.cpp x: 1 contributors (all time) y: 258 lines of code procgen/src/games/ninja.cpp x: 1 contributors (all time) y: 348 lines of code procgen/src/grid.h x: 1 contributors (all time) y: 60 lines of code procgen/src/object-ids.h x: 1 contributors (all time) y: 16 lines of code procgen/src/randgen.cpp x: 1 contributors (all time) y: 89 lines of code procgen/src/randgen.h x: 1 contributors (all time) y: 22 lines of code procgen/src/resources.cpp x: 1 contributors (all time) y: 940 lines of code procgen/src/resources.h x: 1 contributors (all time) y: 13 lines of code procgen/src/vecgame.h x: 1 contributors (all time) y: 34 lines of code procgen-build/procgen_build/__init__.py x: 1 contributors (all time) y: 1 lines of code procgen/src/assetgen.cpp x: 1 contributors (all time) y: 149 lines of code procgen/src/mazegen.cpp x: 1 contributors (all time) y: 234 lines of code procgen/src/mazegen.h x: 1 contributors (all time) y: 32 lines of code procgen/src/roomgen.cpp x: 1 contributors (all time) y: 137 lines of code procgen/src/vecoptions.cpp x: 1 contributors (all time) y: 49 lines of code
944.0
lines of code
  min: 1.0
  average: 164.18
  25th percentile: 21.25
  median: 107.0
  75th percentile: 241.5
  max: 944.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.14 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | 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".