openai / guided-diffusion
Unit Size

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

Intro
Learn more...
Unit Size Overall
4% | 7% | 23% | 32% | 32%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py4% | 7% | 23% | 32% | 32%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
scripts20% | 23% | 35% | 13% | 7%
guided_diffusion0% | 3% | 18% | 36% | 41%
evaluations0% | 0% | 29% | 40% | 30%
datasets0% | 0% | 0% | 56% | 43%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
123 21 0
76 12 0
62 14 0
53 12 6
45 8 0
36 1 0
35 1 0
35 2 5
33 11 2
31 7 3
30 4 3
28 6 5
28 4 4
27 1 0
25 5 2
25 8 2
24 7 3
24 1 0
24 6 2
24 8 4
23 1 0
23 1 0
22 7 2
21 1 0
21 5 1
21 4 3
21 1 12
21 1 12
20 1 0
20 1 0
20 9 3
20 1 0
20 7 1
19 2 2
19 4 4
18 2 2
18 3 2
18 1 0
18 6 4
18 1 4
17 5 2
17 1 4
17 5 2
17 1 0
17 1 0
16 10 1
16 4 0
16 4 3
16 4 4
16 1 0