openai / safety-gym
Unit Size

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

Intro
Learn more...
Unit Size Overall
20% | 21% | 18% | 21% | 17%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py20% | 21% | 18% | 21% | 17%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
safety_gym20% | 21% | 18% | 21% | 17%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
145 23 1
135 3 1
80 39 1
76 31 5
70 41 1
55 46 1
46 12 2
42 5 2
40 14 1
36 14 2
35 4 3
25 5 2
22 7 1
20 9 1
20 6 1
19 2 3
19 4 2
18 3 1
18 2 2
18 3 5
17 11 1
16 2 6
15 5 2
14 4 4
14 3 1
14 1 1
13 4 1
12 4 2
12 6 1
11 3 1
11 1 4
11 3 6
10 3 3
10 3 6
9 3 3
9 4 1
9 3 1
8 1 3
8 1 2
7 2 2
7 2 2
7 2 2
7 3 1
6 1 1
6 1 1
5 4 1
5 1 2
5 2 2
4 1 3
4 1 1