huggingface / alignment-handbook
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 21% | 56% | 1% | 19%
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% | 56% | 1% | 19%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scripts0% | 28% | 71% | 0% | 0%
src0% | 0% | 15% | 7% | 77%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 30 most complex units
Unit# linesMcCabe index# params
158 27 0
155 23 0
109 21 0
28 19 3
125 19 0
10 8 1
4 6 1
8 5 2
4 4 4
19 4 1
6 4 2
15 3 1
3 3 1
13 2 1
4 2 0
3 2 2
9 2 0
2 2 0
2 2 0
13 2 1
5 2 1
2 2 1
2 1 1
2 1 0
8 1 3
5 1 0
5 1 0
6 1 0
6 1 0
2 1 0