huggingface / trl
Unit Size

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

Intro
Learn more...
Unit Size Overall
22% | 14% | 23% | 18% | 20%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py22% | 14% | 23% | 18% | 20%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
trl16% | 13% | 26% | 20% | 23%
scripts74% | 18% | 2% | 4% | <1%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
592 14 3
300 32 1
249 32 1
186 36 5
165 54 4
124 38 1
112 40 4
111 15 2
103 34 4
102 13 3
90 2 3
87 23 5
86 29 4
86 31 4
83 11 1
70 9 2
68 12 3
68 10 2
66 17 3
62 18 3
57 16 1
57 13 0
57 9 2
57 24 5
56 14 3
54 13 5
53 25 3
52 10 3
52 13 5
49 18 2
47 18 1
47 10 4
43 3 3
43 14 1
42 20 1
42 11 3
42 29 1
41 12 3
41 5 4
39 20 0
38 9 5
38 19 5
37 11 3
37 5 4
37 5 4
37 5 4
36 2 1
36 2 1
36 2 7
36 4 2