openai / safety-starter-agents
Unit Size

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

Intro
Learn more...
Unit Size Overall
29% | 10% | 15% | 19% | 23%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py29% | 10% | 15% | 19% | 23%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
safe_rl34% | 6% | 8% | 21% | 27%
scripts0% | 33% | 58% | 8% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
241 47 2
208 27 4
87 12 2
71 26 11
38 5 6
33 8 2
29 7 2
29 19 4
24 1 0
23 1 6
22 7 1
21 11 3
21 2 9
18 7 4
18 13 1
17 4 4
17 5 16
16 4 2
15 1 6
14 5 4
14 7 5
14 1 6
14 5 4
14 4 3
13 1 3
13 1 6
12 4 3
12 1 6
12 3 2
12 1 1
12 2 9
11 4 2
11 4 1
11 3 2
11 1 5
10 1 5
10 3 2
10 6 2
10 3 1
9 1 5
9 1 7
9 4 3
9 1 1
9 1 1
9 1 1
9 1 1
9 1 1
9 1 3
8 1 4
8 1 2