openai / lm-human-preferences
Unit Size

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

Intro
Learn more...
Unit Size Overall
4% | 14% | 24% | 22% | 33%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py4% | 14% | 24% | 22% | 33%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
lm_human_preferences4% | 15% | 19% | 24% | 35%
ROOT0% | 0% | 87% | 0% | 12%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
109 10 8
85 9 7
81 14 1
69 8 9
59 8 11
58 5 1
49 1 0
47 5 10
47 1 0
45 4 2
43 4 6
37 10 2
36 16 3
33 14 2
27 2 1
26 9 9
25 1 2
24 4 1
24 6 1
23 6 2
23 9 3
22 6 0
21 3 6
21 6 8
20 1 7
20 6 1
20 8 1
18 4 4
17 9 1
17 6 4
17 5 2
17 5 2
17 6 5
16 2 4
16 1 3
16 5 7
15 7 2
15 1 2
15 5 4
15 3 3
14 2 6
13 4 6
13 2 6
13 4 4
13 1 0
13 1 9
12 3 0
12 3 2
12 1 3
12 9 1