openai / safety-gym
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 21% | 21% | 5% | 52%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
py0% | 21% | 21% | 5% | 52%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
safety_gym0% | 21% | 21% | 5% | 52%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
55 46 1
70 41 1
80 39 1
76 31 5
145 23 1
36 14 2
40 14 1
46 12 2
17 11 1
20 9 1
22 7 1
12 6 1
20 6 1
15 5 2
25 5 2
42 5 2
5 4 1
14 4 4
12 4 2
9 4 1
35 4 3
13 4 1
19 4 2
18 3 1
9 3 3
135 3 1
11 3 1
14 3 1
10 3 3
9 3 1
7 3 1
18 3 5
11 3 6
10 3 6
4 3 1
16 2 6
7 2 2
5 2 2
19 2 3
7 2 2
3 2 1
3 2 1
3 2 1
3 2 1
3 2 1
3 2 1
3 2 2
7 2 2
18 2 2
3 1 1